UNPKG

framework

Version:

The (AI) Framework: turnkey, zero-config AI orchestration that wraps a coding-agent CLI (Claude Code) as a black box and takes you from an idea to a running app. Vite for AI.

17 lines 994 B
/** * The composite key scheme for the daemon runtime's per-project state (#736): `<projectKey>::<agentId>`, * or the bare project key for a project-scoped entry (a fallback agent with no worktree, a project's * preview). Built and parsed only here -- three call sites used to hand-roll the encoding, the prefix * match and the split separately -- and shared by the agent runtime and the preview runtime, which both * key their state this way. */ /** Encode a run/preview key: project-scoped when `agentId` is absent, else run-scoped. */ export declare const scopedKey: (projectKey: string, agentId?: string) => string; /** The two halves of a {@link scopedKey}. */ export declare function parseScopedKey(key: string): { projectKey: string; agentId?: string; }; /** Whether a {@link scopedKey} belongs to a project (its own entry, or one of its agents). */ export declare const keyBelongsTo: (key: string, projectKey: string) => boolean; //# sourceMappingURL=runtime-keys.d.ts.map