mirror of
https://github.com/zeronsh/comet.git
synced 2026-11-16 18:57:19 +00:00
* ACP harness: Grok Build, slash commands, tool output + inline diffs Adds an Agent Client Protocol (v1) harness over the shared JSON-RPC stdio client (promoted from codex/rpc.rs), with xAI's Grok Build as the first registered agent. Slash commands advertised by ACP agents surface in a composer popup (file-mention pattern, new ListCommands RPC), and tool results now carry capped output text and inline diffs end-to-end (AgentEvent → doc parts → TS mirror → expandable transcript chips). Decision record in docs/research/acp.md; claude/codex keep their custom adapters (settings passthrough, installed-CLI coupling, steering semantics). Demo media under docs/media/acp/ (fake-acp.sh fixture rig). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * ACP follow-up: wire session config options, restyle tool detail blocks Model + reasoning now apply through session/set_config_option against the session's advertised configOptions (category model / thought_level, matched to advertised value ids, skipped when current, never fatal). Grok gets its real Low/Medium/High effort ladder in the picker and registry descriptor. Detail blocks read like the changes pane now: full-width add/del washes in the diff hues, brighter mono output text, and a chevron tile affordance on expandable chips matching the group header. Demo media re-captured. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Tool details: render diffs with the changes-pane component, outputs as code blocks The chip detail blocks are no longer hand-rolled capped line rows. Diffs go through changes::render_file_body — hunk headers, dual line-number gutters, accent bars, row washes, and synchronous syntax tokens (payloads are doc-capped, so no background pass needed) — built from the inline ToolDiff via similar's grouped_ops with 3 context lines. Outputs render as a code block: verbatim mono lines with indentation intact, 24-line counted-tail cap. Fold heights stay analytic via changes::body_height. Fixture demo content upgraded to a real rust hunk + cargo output; media re-captured. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Tool details: fold the detail into the chip's card, unbroken guide rail An expandable chip is now one card: the chip row is the card's header and the output/diff body sits under a hairline inside the same border, instead of a separate card floating below. The guide rail is drawn by the chip column with no fixed height, so it stretches past open details — expanding a tool no longer breaks the rail. Heights stay analytic (chip + separator + body). Media re-captured. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: wing-anara <wing@anara.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| acp-grok-demo.mp4 | ||
| s1-slash.png | ||
| s2-run.png | ||
| s3-group.png | ||
| s4-details.png | ||