/** * Host storage directory (layer A). * * `getHostStorageDir()` returns the root under which tmux-pilot stores its OWN * state — tracker records (`tracker.ts`), archived subagent sessions * (`session-archive.ts`), per-agent config scoping for teardown * (`subagent-teardown.ts`), and the pi `HostAdapter.configDir` * (`host/pi/adapter.ts`). It is deliberately SEPARATE from a harness's * child-template config dir (layer B, resolved per-role) so that a per-role * config-dir override never relocates tmux-pilot's own records/archives/scoping. * * The default is pi's config dir (`PI_CODING_AGENT_DIR ?? ~/.pi/agent`): host * storage lives where the parent pi process's state lives. B's DEFAULT base * happens to be the same path, but the two are now separately named so an * override only touches B. * * Host-neutral: no pi package imports (enforced by * `test/host-import-boundary.test.ts`). */ /** * tmux-pilot's own storage root (layer A). Defaults to `~/.pi/agent` when * `PI_CODING_AGENT_DIR` is unset. */ export declare function getHostStorageDir(): string; //# sourceMappingURL=host-storage.d.ts.map