Add Claude Code provider support across server, contracts, and web#530
Add Claude Code provider support across server, contracts, and web#530projectashik wants to merge 4 commits intopingdotgg:mainfrom
Conversation
- add Claude adapter/service and register it alongside Codex - extend provider/runtime schemas, health checks, and orchestration flow for Claude - update web settings/session logic to handle Claude as a selectable provider - expand tests to cover Claude provider registry and runtime ingestion
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Default legacy settings snapshots to empty custom model arrays - Guard chat settings accessors against undefined custom model lists - Add regression test for loading persisted settings without Claude models
- Ignore stale turn-complete events unless they match the current turn - Emit `session.state.changed` only for the active turn to prevent false transitions - Mark `hasConversation` on process exit only when resume cursor matches session
- add ClaudeAdapter lifecycle tests for stale exit and resumability behavior - parameterize auth status parsing messages by provider context - verify Claude health checks report Claude-specific auth guidance
|
they have their own pr and are awating antrhopic's permission to merge #179 |
|
closing this for now because it does not follow our contribution guidelines: for ui changes, please include clear before/after screenshots, and a short video if the change depends on motion or interaction details. feel free to update the pr with that context and reopen it. |
Note
Add Claude Code provider support by implementing
ClaudeAdapter.makeClaudeAdapterLiveand wiring provider selection, health checks, models, and UI across server, contracts, and webIntroduce a full Claude CLI adapter with session and turn streaming, register
claudein the provider registry and orchestration types, add Claude health checks and status parsing, define Claude models and defaults in contracts, and expose Claude selection and custom models in the web UI. Key entry points: ClaudeAdapter.ts, ProviderAdapterRegistry.ts, ProviderHealth.ts, and model.ts.📍Where to Start
Start with the Claude provider implementation in
makeClaudeAdapterLivein ClaudeAdapter.ts, then follow registration in ProviderAdapterRegistry.ts and health checks in ProviderHealth.ts.Macroscope summarized 9bea35f.