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.
13 lines • 768 B
TypeScript
import type { DashboardContext } from '../dashboard/rpc-serve.js';
/**
* Wire the dashboard's capabilities for a test that calls an RPC directly.
*
* There is one dashboard host and it wires every capability (D3), so an RPC reads its context as
* simply there — a missing field is a wiring bug, and it throws. That makes this the one place a
* test says what the host would have wired, with only the parts it cares about overridden.
*
* It sticks until the next call, where Telefunc's request context used to evaporate at the next
* macrotask (F3) — so a test no longer has to call this immediately before the RPC under test.
*/
export declare function provideTestContext(over?: Partial<DashboardContext>): void;
//# sourceMappingURL=test-context.d.ts.map