Repository navigation
feat(agents-api): integrate Claude Code into the V1 Docker runtime - #698
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude Code can now execute in the V1 Docker Runtime beside the daemon and local workspace, while Core remains independently deployed. Public clients use the existing Session, Files and Artifacts interfaces. The pinned native SDK owns execution; preparation, cancellation, resource management and file operations reuse the existing contracts.
The adapter protects provider credentials and native history, resumes the same native Session after reconnect/restart, and refuses missing history instead of silently starting again. A small qualified engine profile separates public admission from advertised Runtime capabilities. The Docker nested-sandbox option supplies only the native procfs/init prerequisite; native sandbox fallback and weaker isolation remain disabled. The deployment guide documents the minimal registration path for additional engines.
Validation:
make checkpassed with a dedicated Agents API test database;make openapiregenerated the contract.Limits: this qualifies the Claude hosted text/native-tools profile, not full upstream compatibility. Hosted function/MCP combinations, multi-agent, structured output and user-managed enrollment remain gaps. Real acceptance used Kimi K3, not an Anthropic Claude model. Missing history fails closed but currently follows the shared preparation timeout; a pending pre-Turn cancellation conflicts. Faster error feedback is deferred.
Task/evidence: CLAUDE-V1-INTEGRATION-001 in the Feishu board;
~/.parsar/remediation/20260919/claude-v1/on zju_a100_2. The protocol pin and Codex/native versions are unchanged. No product cutover, new loop, scheduler, framework or unrelated backlog work.