Skip to content

Add create_live_view action to manage_browsers - #273

Closed
masnwilliams wants to merge 3 commits into
mainfrom
hypeship/manage-browsers-live-view
Closed

masnwilliams wants to merge 3 commits into
mainfrom
hypeship/manage-browsers-live-view

Conversation

@masnwilliams

@masnwilliams masnwilliams commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds a create_live_view action to manage_browsers. It calls POST /browsers/{id_or_name}/live_view (client.browsers.liveView.create) and returns a live view URL scoped to read-only or control access.

  • New optional params live_view_scope (read | control, API default read) and live_view_ttl_seconds (1 to 31,536,000; omit to keep the URL valid until the browser is deleted). They are only accepted with create_live_view; other actions reject them the same way creation-only params are rejected.
  • The response is the API object (url, scope, expires_at when set) plus a short note that the URL opens only the live view and cannot be revoked before it expires.
  • The request is sent with maxRetries: 0, since a retry after a lost response would mint a second URL that can't be revoked.
  • The tool and session_id descriptions list the new action.

This extends the existing browser tool instead of adding a new one, so the tool list is unchanged.

Bumps @onkernel/sdk to 0.148.0, the first release with browsers.liveView.create.

Testing

  • New tests: scope and TTL pass through and the URL is returned; omitted params send an empty body; session_id is required; live view params are rejected on other actions.
  • bun test (1193 tests) and tsc --noEmit pass on 0.148.0.
  • Prettier passes on the changed files.

@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
mcp Ready Ready Preview Nov 12, 2026 8:13pm UTC

@socket-security

socket-security Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​onkernel/​sdk@​0.141.0 ⏵ 0.148.076 -5100100 +199 +1100

View full report

@masnwilliams

Copy link
Copy Markdown
Collaborator Author

Superseded by #262, the coverage bot's 0.148.0 update, which adds the same create_live_view action to manage_browsers.

This branch was successfully deployed

1 active deployment
Preview — d897db3d Deployed Nov 12, 2026 by vercel[bot]
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