Part of #495.
Wire one provider end to end so the estimate for the rest is real.
Two things this spike answers:
- exact headless invocation per CLI (claude-code has
-p; codex/gemini TBD)
- whether tool-calls round-trip through the CLI, or we keep tools on our side and use the CLI for generation only
Gated on Rom's go on #495.
Part of #495.
Wire one provider end to end so the estimate for the rest is real.
discover.ts: probe PATH for the claude-code CLI via the local runner, resolve to an absolute path, read--version. Candidate model like Traycer (path / custom / bundled).cli/claude-codeProviderAdapter in ai-sdk: spawn the CLI in headless/print mode (claude -p), map generate/stream to its stdin/stdout, register underAiRegistryascli/claude-code.cli/claude-coderuns a subtask with no API key set.Two things this spike answers:
-p; codex/gemini TBD)Gated on Rom's go on #495.