Skip to content

Delete the vendored built-in provider brand-icon map after plugin-icon soak #1723

Closed

Description

@ymichael

apps/app/src/lib/provider-icon.ts keeps a vendored BUILT_IN_BRAND_ICONS map (codex/claude-code/pi/acp-cursor) plus the vendored SVG components. Since #1640 the first-party provider plugins register the same marks through app.slots.experimental_providerIcon, so the map is only a fallback for (a) the window before plugin frontends boot and (b) a disabled/failed provider plugin — built-ins must keep rendering real brand marks, never the generic glyph or a black-on-black <img> logo.

The comment block in the file states the graduation condition explicitly: "It graduates to dead code — deletable along with the vendored SVG components — once the plugin icons have soaked and a disabled provider plugin no longer leaves its provider in the picker."

Task, once soak criteria are met:

  • Delete BUILT_IN_BRAND_ICONS and the vendored SVG components it references in apps/app/src/components/icons/ (Claude/OpenAi/Pi/Cursor marks; check KNOWN_ACP_BRAND_ICONS consumers before touching the ACP ones).
  • Verify the boot window and disabled-plugin cases still render acceptably (no generic glyph for built-ins, no black-on-black logo).
  • Note: fully replacing the per-provider tinting also needs a tint/color field on PluginProviderIconRegistration or a theme hook (acp-cursor's light/dark pair can't be expressed without one) — that part is tracked with the deferred getProviderIconColorClass plan item.

Surfaced during #1640 final validation; deliberate scheduled-expiry debt.

AGENT GENERATED: by Claude Fable 5

Activity

  1. self-assigned this
    on Aug 17, 2026
  2. added a commit that references this issue on Aug 17, 2026
    3e50636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions