Skip to content

feat(web): show sessions' agents and model names as T3 lists them - #106

Merged
vkpdeveloper merged 2 commits into
mainfrom
feat/session-agents
Nov 25, 2026
Merged

vkpdeveloper merged 2 commits into
mainfrom
feat/session-agents

Conversation

@vkpdeveloper

@vkpdeveloper vkpdeveloper commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Sessions in the VM panel showed T3's raw IDs, such as claudeAgent · claude-opus-5-5. VM cards didn't show which agents a VM was running.

The overview now gives each session an agent (its T3 name and which logo it has) and the model's name. Both come from the agent list the VMs last reported, so they work while a VM sleeps. A model its agent doesn't list keeps its ID. An agent without a logo in VM Bridge, such as Pi, shows its first letter.

  • Session rows: the agent's logo, then Claude · Claude Opus 5.5.
  • VM cards: each agent with a session on the VM appears once, as logos next to the session count.

These logos have no tile behind them (a new bare option on AgentLogo), so they sit side by side rather than overlapping. The Accounts and Usage pages keep their tiles.

Checked with bun run check (552 pass, including a new overview test) and a throwaway bridge where one VM runs Claude and Codex and another runs only Claude:

Desktop Phone

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
vmbridge Skipped Skipped Nov 25, 2026 10:30pm UTC

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Walkthrough

The session overview now reports agent kind and name instead of provider identity. It resolves model slugs to reported model names when available. The web UI displays agents in VM cards and session details.

Changes: Session agent overview

Layer / File(s) Summary
Agent contract and overview resolution
packages/contracts/src/index.ts, apps/server/src/gateway/agents.ts, apps/server/src/admin.ts, apps/server/test/sessions.test.ts
VmSession now carries a nullable SessionAgent. Admin.overview() resolves agent details from hub reports and uses a reported model name when available. The integration test covers configured model names, unlisted model IDs, and an agent without a configured provider.
Agent display in VM and session views
apps/web/src/Canvas.tsx
VM cards show deduplicated agent avatars. Session details show the agent name and model instead of the provider and model.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Pre-merge checks: Passed 2

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "feat(web): show sessions' agents and model names as T3 lists them" matches the main change. The PR shows each session's agent logo and name, plus the model name, in the web Canvas, using th…
Full details: Title check

Explanation

The title "feat(web): show sessions' agents and model names as T3 lists them" matches the main change. The PR shows each session's agent logo and name, plus the model name, in the web Canvas, using the agent list last reported by each VM. The title names the web scope and the core feature. The title does not mention the server, contracts, or VM card changes. Those are supporting parts of the same feature, so the title is still accurate.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@vkpdeveloper
vkpdeveloper merged commit 6c630fc into main Nov 25, 2026
3 checks passed
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