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.

16 lines 915 B
/** What is known about a root's trust. `known: false` means the file could not say. */ export interface ClaudeTrust { known: boolean; trusted: boolean; } /** Whether the CLI trusts `root`. Unknown when the config is missing or not understood. */ export declare function readClaudeTrust(root: string, path?: string): Promise<ClaudeTrust>; /** * Record that the CLI can trust `root` (#1493): the exact record the CLI itself writes * when the user accepts its dialog, so the dialog never fires. Everything else in the * config — other projects, top-level settings, the entry's own sibling fields — is * preserved. A missing file is created; an existing file that does not parse is refused * with a throw rather than overwritten, since the file is the CLI's, not ours. */ export declare function writeClaudeTrust(root: string, path?: string): Promise<void>; //# sourceMappingURL=claude-trust.d.ts.map