Skip to content

fix(agent): restore ACP streaming and external CLI integration - #6808

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/fix-acp-external-agents
Nov 11, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/fix-acp-external-agents

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Give streamed ACP text and committed history the same model-part identity, so the committed text only appends a suffix the client has yet to receive.
  • Use the desktop Host Root by default and admit account-private temporary workspaces. Resolve directory aliases when resuming an ACP session.
  • Accept Claude Code's session-scoped command_lifecycle events before initialization. On macOS, let Antigravity use the signed-in account's CLI profile while it runs in the existing private workspace copy.
  • Install a private PreToolUse hook when Maka launches an enabled Antigravity runtime, and remove it when the invocation closes. Record toolSummary against the native conversation and step in the original execution log. The watch stream and history both derive the activity title from that tool observation.

Refs #6713

Verification

  • Lody 0.111.1 local ACP client with maka acp discovered the fixture model, streamed ["LODY_", "MAKA_OK"], cancelled a turn, and loaded ["LODY_MAKA_OK"] after reconnecting through the system temporary-directory alias. The Lody cloud UI was outside this check.
  • Claude Code 2.1.322 and Codex CLI 0.167.1 completed turns through Maka using local Anthropic Messages and OpenAI Responses fixtures.
  • Antigravity 1.5.5 used the current macOS account and Claude Sonnet. The run_command title appeared while the command was running and replayed after reconnecting. The original execution log had ACTIVE, the annotation for the same step, then DONE. The hook was removed and the title remained available in history and watch replay after disabling Antigravity and restarting the Host.
  • Focused ACP, workspace, external executor, tool-history and macOS socket tests passed locally, including the external-job stop and original-transcript recovery tests. Generated SDK contracts, TypeScript and format checks passed.

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

OpenAI Codex implemented the changes and ran the local verification.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected checks pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@M4n5ter
M4n5ter merged commit 0711d30 into rust-preview Nov 11, 2026
1 check passed
@M4n5ter
M4n5ter deleted the codex/fix-acp-external-agents branch November 11, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant