X Tutup
Skip to content

feat: implement AI Bridge client table column#22228

Merged
jakehwll merged 8 commits intomainfrom
jakehwll/22144-aibridge-client-information
Feb 24, 2026
Merged

feat: implement AI Bridge client table column#22228
jakehwll merged 8 commits intomainfrom
jakehwll/22144-aibridge-client-information

Conversation

@jakehwll
Copy link
Contributor

@jakehwll jakehwll commented Feb 21, 2026

Closes #22144

Add client information column to AI Bridge request logs, showing which coding tool initiated each request with matching icons.

  • Added Client column to request logs table header and row, displaying client name with icon badge
  • Created AIBridgeClientIcon component mapping backend client constants to their icons (Claude Code, Codex, Kilo Code, Roo Code, Zed, Cursor, GitHub Copilot) (ref.)
  • Moved AIBridgeModelIcon and AIBridgeProviderIcon into icons/ subdirectory and clean up props.classNameclassName prop
  • Added new static icons: github-copilot.svg, kilo-code.svg, roo-code.svg with entries in icons.json and externalImages.ts
  • Sorted externalImages.ts map alphabetically
Name Preview
GitHub Copilot image 11
Claude PREVIEW_CLAUDE
Codex CLI PREVIEW_CODEX
Cursor PREVIEW_CURSOR
KiloCode PREVIEW_KILO_CODE
Roo Code PREVIEW_ROO_CODE
Zed PREVIEW_ZED

@jakehwll jakehwll marked this pull request as ready for review February 21, 2026 10:21
@jakehwll jakehwll requested review from jaaydenh and pawbana February 21, 2026 10:21
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f1f9a87675

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jakehwll jakehwll changed the title feat: implement <AIBridgeClientIcon /> feat: implement AI Bridge client table column Feb 21, 2026
Copy link
Contributor Author

jakehwll commented Feb 21, 2026

Copy link
Contributor

@pawbana pawbana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (although I don't feel confident approving frontend changers, I've mostly just manually checked if it works/looks ok)

const iconClassName = "flex-shrink-0";
// This should be kept in sync with the client names in
// the AI Bridge bridge.go file.
// https://github.com/coder/aibridge/blob/main/bridge.go#L31-L32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we move aibridge inside coder/coder we should definitely look to having types generated for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're looking at a generated types similar to API Keys. Watch this space for future improvements 🙂

@jakehwll jakehwll merged commit adcdbfd into main Feb 24, 2026
28 of 29 checks passed
@jakehwll jakehwll deleted the jakehwll/22144-aibridge-client-information branch February 24, 2026 15:39
@github-actions github-actions bot locked and limited conversation to collaborators Feb 24, 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.

feat: add client information to interceptions page

4 participants

X Tutup