/** * openlore orient command * * CLI surface for the orient tool (also exposed through the MCP server). Given * a task, returns the relevant functions, callers, spec sections, and insertion * points — as JSON (for tooling) or a human-readable summary. * * With no task it prints a short session-start primer instead of erroring, so * the SessionStart hook written by `openlore install` * (`npx --yes openlore orient --json`) is a no-op that injects useful context * rather than failing on every session start. */ import { Command } from 'commander'; import { readStdin } from '../../utils/stdin.js'; export { readStdin }; /** * The project an implicit (cwd) orient serves: the nearest ancestor that already has an * index, else the enclosing git work tree's root, else the start directory. Agent hooks run * from wherever the agent's shell is; from `/src` a plain cwd would report "no index" * and start a second build that writes `src/.openlore`. The walk never crosses a `.git` * boundary, so a nested repository is never served its parent's index. */ export declare function implicitOrientRoot(start: string): string; export declare const orientCommand: Command; //# sourceMappingURL=orient.d.ts.map