Skip to content

feat(web): framework icons for agent sessions - #654

Merged
JeremyFunk merged 3 commits into
mainfrom
feat/agent-session-vendor-icons
Aug 27, 2026
Merged

feat(web): framework icons for agent sessions#654
JeremyFunk merged 3 commits into
mainfrom
feat/agent-session-vendor-icons

Conversation

@JeremyFunk

@JeremyFunk JeremyFunk commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

The agent sessions UI shows only a text label for the detected framework (maple_ai.vendor.id). This adds framework-specific icons:

  • New brand icon components (Anthropic, OpenAI, Vercel, Microsoft) following the existing currentColor icon conventions; Google and the Maple mark reuse existing components.
  • vendorIcon() mapping in apps/web/src/lib/agent-sessions/vendor-icon.ts, beside the existing vendorLabel(). Vendors without a verified logo geometry (and the unknown:* buckets) deliberately fall back to the generic chat glyph rather than an approximated mark.
  • Icons rendered in the sessions list identity lane and the session detail header.
  • The /lab/agent-session fixture now stamps vendorId so the icon path is exercisable without a warehouse.

Verified: scoped apps/web typecheck green; agent-session vitest suites pass (312 tests), including a new test for the icon mapping fallback behavior.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The list rows and the session header named the emitting framework in
words only. Put its brand mark beside the name, from a vendor id ->
icon map next to the existing label map.

Only frameworks whose logo can be drawn faithfully get a mark; the rest
fall back to the generic glyph on purpose — an approximated logo names
the wrong company, the fallback just declines to name one.
@JeremyFunk

Copy link
Copy Markdown
Collaborator Author

Extended coverage in b1b4e07: langchain, crewai, pydantic_ai, smolagents (Hugging Face), spring_ai, haystack, and effect_ai now carry real marks sourced from simple-icons (CC0) path geometry, and claude_agent_sdk switched from the Anthropic wordmark glyph to the Claude spark. Still on the generic fallback for lack of verifiable geometry: dspy, eve, flue, litellm, llamaindex, mastra, agno, strands, and the unknown:* buckets.

@JeremyFunk
JeremyFunk merged commit c3e39b5 into main Aug 27, 2026
33 checks passed
@JeremyFunk
JeremyFunk deleted the feat/agent-session-vendor-icons branch August 27, 2026 18:56
@github-actions

Copy link
Copy Markdown

🍁 Maple PR preview

Warning

Preview cleanup could not be confirmed. The Alchemy teardown outcome was skipped.

Final commit dfacbe7 · View workflow run

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