trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
12 lines • 661 B
TypeScript
/** Published package version (from package.json at repo root). */
export declare function cliVersion(): string;
/** Walk up from path (or cwd) and return the nearest Trellis repo root, if any. */
export declare function findRepoRoot(pathOpt?: string): string | undefined;
/**
* Resolve a Trellis repo root from an explicit path or cwd.
* Walks up parent directories when the starting path is inside a repo
* (e.g. packages/opencode under a monorepo root with .trellis).
*/
export declare function resolveRepoRoot(pathOpt?: string): string;
export declare function failNotRepo(start: string, pathOpt?: string): never;
//# sourceMappingURL=repo-path.d.ts.map