fix(acp): route Zed thoughts to reasoning callbacks#18578
Conversation
3483b95 to
5109465
Compare
5109465 to
5a100df
Compare
|
Merged via #19139 — all 7 of your commits were cherry-picked onto current main with authorship preserved (rebase-merged, so your per-commit history is intact in the tree). Why salvage instead of merging this directly: the branch had drifted far enough behind main that a naive GitHub merge would have silently reverted two recent fixes ( Thanks for the rendering overhaul — the Zed context indicator and per-tool polish are a huge quality-of-life win. |
|
Hey @HenkDz, thanks for the work here. Before we pull this in we'd like to clarify a few things about the scope: 1. Scope / title mismatch. The PR title is
Could you either split this into smaller focused PRs or update the description so each commit's intent, the specific Zed symptom it addresses, and a before/after is called out? Right now the title undersells the change and the 2.
3. 4. Per-commit screenshots. You included one screenshot in the PR body but it's not clear which of the seven changes it demonstrates. Ideally we'd see a Zed before/after per major change — at minimum: (a) thought pane showing real reasoning vs kawaii strings, (b) context indicator populated, (c) history replay showing tool calls, (d) one of the polished tool completions. We like the direction and commit 1 is a clean fix on its own. We just want to merge this understanding the full scope. I've closed our salvage PR (#19143) in the meantime — we'll pick this back up once the above is clarified. Thanks! |
|
Thanks for the detailed review — that’s fair feedback. First, agreed on the scope/title mismatch. The original title was accurate for commit 1, but the PR grew into a broader ACP/Zed rendering polish pass. In hindsight I should have either split it or renamed/described it as:
Scope / intent by commit1. Symptom: Zed’s thought/reasoning pane was getting Hermes UI spinner/thinking strings instead of actual provider reasoning. Intent: disable the generic This is the small standalone correctness fix. 2. Symptoms:
Intent:
3. Symptom: many common Hermes tools return structured JSON that was technically correct but bad UX in Zed — large raw blobs, noisy key dumps, and unreadable completions. Intent: extend the rendering polish so Zed shows human-readable starts/completions for the tools most likely to appear in normal agent sessions. That said, your concern is valid: some entries in The tools I directly targeted/tested were the core Zed/dev-loop tools: For the platform-specific integrations ( 4–7. Compact starts, fenced output, scheduled replay Symptoms:
Intent:
On
|




Summary
stream_delta_callbackand avoid re-sendingfinal_responseafter streaming/steerand/queueTest Plan
scripts/run_tests.sh tests/acp/test_server.py tests/acp/test_events.py -qpython -m py_compile acp_adapter/server.py tests/acp/test_server.py