MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / writeAiConfig

Method writeAiConfig

src/workspaces/cli-adapter.ts:233–233  ·  view source on GitHub ↗

* Read/write the workspace's per-CLI AI-provider override. The launcher * dispatches uniformly; each adapter renders the shared `WorkspaceAiCred` * into (and parses it out of) its own native config files. An empty cred * resets — the adapter deletes its config so the CLI falls back to globa

(cwd: string, cred: WorkspaceAiCred)

Source from the content-addressed store, hash-verified

231 * Absent on adapters with no configurable provider (shell).
232 */
233 writeAiConfig?(cwd: string, cred: WorkspaceAiCred): Promise<void>;
234 readAiConfig?(cwd: string): Promise<WorkspaceAiCred | null>;
235
236 // ── Transcript detection (used only when capabilities.transcriptDiscovery === 'fs-watch')

Callers 3

createWorkspaceRoutesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected