Skip to content

feat(site/src): add built-in Browser tab for agent-browser - #27910

Draft
ibetitsmike wants to merge 4 commits into
mainfrom
mike/agent-browser-native-tab
Draft

feat(site/src): add built-in Browser tab for agent-browser#27910
ibetitsmike wants to merge 4 commits into
mainfrom
mike/agent-browser-native-tab

Conversation

@ibetitsmike

Copy link
Copy Markdown
Collaborator

Adds a built-in Browser tab to the Agents page right panel, alongside the built-in Terminal and Desktop tabs, when the chat's bound agent has an app with the well-known slug agent-browser. The tab shows only while the app is embeddable and its health is healthy (or disabled, for templates without a healthcheck), so it appears and disappears live as the daemon comes up or goes down. The iframe stays mounted across tab switches to preserve session state.

To avoid duplicates, the generic Add Tab menu and persisted workspace-app tabs now exclude the agent-browser app. No backend changes; detection uses the existing coder_app slug and healthcheck signals already present in the workspace data model. The workspace watch handler compares the agent app fields the chat UI consumes, so health transitions propagate without re-render churn on every heartbeat.

Mux created this PR on Mike's behalf.

@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 8745625488

ℹ️ 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".

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