Skip to content

feat(site): show known ACP subagent client icons - #31571

Merged
hugodutka merged 1 commit into
mainfrom
feat/acp-subagent-client-icons
Oct 30, 2026
Merged

hugodutka merged 1 commit into
mainfrom
feat/acp-subagent-client-icons

Conversation

@hugodutka

Copy link
Copy Markdown
Collaborator

Show client icons in ACP spawn, wait, message, and interrupt cards using case-insensitive harness ID heuristics first, then the display name. Recognize Claude Code, Codex, and 18 other clients with existing icons, and retain the generic bot for unrecognized harnesses.

Closes https://linear.app/codercom/issue/CODAGT-1508/show-client-icons-for-known-acp-subagents

Implementation decisions and review evidence
  • Read harness IDs consistently from results, lifecycle arguments, or nested spawn agent.harness_id. Display-name fallback also uses the existing session descriptor when a streaming result omits it.
  • Use the theme-aware ExternalImage primitive for the existing local assets. Keep ACP heuristics separate from AI Bridge's exact-label mapping to avoid changing AI Bridge's matching or fallback behavior.
  • Bound short names (Amp, Pi, Zed) to avoid matching ordinary words. Longer names deliberately use substring heuristics, as requested.
  • Verified the matching, ID precedence, and unknown-client tests fail under deliberately broken implementations before restoring them. All 41 targeted unit tests and all 23 ACP browser stories pass, along with frontend formatting, Biome checks, full frontend lint/type checks, and punctuation lint.
  • Visually checked all 20 icons in dark and light themes, plus display-name fallback, ID precedence, pending spawn, unknown client, completed, keyboard-focus, and mobile stories. All branded assets loaded at 16px. The mobile transcript clips some body text; that area is unchanged by this PR and baseline rendering was not compared.
  • Completed the FE1 through FE10 audit and all eight frontend-deep-review roles with no remaining blocking or should-fix findings. Documentation self-check found no required prose change for this presentation-only update to the unsafe ACP experiment.

Generated with Coder Agents for @hugodutka.

@linear-code

linear-code Bot commented Oct 30, 2026

Copy link
Copy Markdown

CODAGT-1508

@hugodutka
hugodutka marked this pull request as ready for review October 30, 2026 13:50
@hugodutka
hugodutka requested a review from a team as a code owner October 30, 2026 13:50
@hugodutka
hugodutka merged commit b159585 into main Oct 30, 2026
69 of 71 checks passed
@hugodutka
hugodutka deleted the feat/acp-subagent-client-icons branch October 30, 2026 14:53
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants