Repository navigation
Description
The workflow
I maintain bb-zcode, a community provider plugin that runs the ZCode coding CLI inside bb through the provider bridge (SDK 0.6.49, bb 0.46.1). The CLI delegates several host features to whoever launched it via reverse RPCs: when a user asks the agent to drive a browser, schedule work, or use an interactive app surface, the CLI sends a host request to its host process and expects it to execute.
What happens today
The provider bridge protocol has no channel for this. Verified against SDK 0.6.49:
BRIDGE_REQUEST_METHODSis the complete bb→bridge surface (18 methods:initialize,model/list,provider/health|usage|installation/*,thread/*,turn/*,skills/configure) — there is no host-service category.- The bridge→bb direction carries thread deltas and tool-call payloads (
item/tool/callviadecodeToolCallResponsePayload), which serve dynamic tools, not host services. - The main SDK does ship a desktop browser host (
ExperimentalDesktopBrowsersArea,BrowserCommandSchema,browser.find/reload/focusLocation, …), but those APIs are reachable only from plugin UI/webview contexts, not from a provider bridge worker.
So the plugin must reject the CLI's host requests. The concrete ports (names from the CLI's public protocol):
interaction/browserList/interaction/browserExecute— full browser automation commands.automation/*(5 methods) andoffPeak/*— scheduling and off-peak work.bot/channel/reply— topic/channel resources.mcp/ui*(16 methods) — MCP Apps / generated UI (sampling, app instances, page tools).
We currently fail these with an actionable error pointing at the vendor's desktop app (bb-zcode v0.9.1): the features work there, but not in bb.
What you would expect
A host-service channel in the provider bridge protocol, negotiated in the initialize handshake, so a bridge worker can forward the CLI's host requests to bb and return results. Two shapes that would work for us:
- A bridge→bb request family (e.g.
host/servicecarrying{service, method, params}) plus handshake capabilities advertising which services the host provides (browser,scheduler,ui), or - An extension point where the plugin server (full
BbPluginApiaccess) can register host handlers that the bridge worker reaches through existing plumbing, similar to howskills/configureflows.
For browser control specifically, exposing the existing desktop browser host through such a channel would let any provider bridge drive browsers inside bb threads. We are happy to pilot an experimental design with bb-zcode and report back with fixture tests.
Context and alternatives
- Workaround today: users run these features in the vendor's desktop app; the plugin rejects the ports with a clear message (see our capability audit and roadmap note).
- Alternative we ruled out for now: the plugin launching and driving its own browser via CDP. It bypasses bb entirely, duplicates the desktop browser host, and raises permission/lifecycle questions that are better solved once inside bb.
- This affects every provider bridge wrapping an agent CLI with host-delegated features (browser use, schedulers, app UI), which is increasingly common.
Checks
- I searched open and closed issues for the same request.
Activity
docs: track upstream host-service request get-bb/bb#6008 in the roadmap
bb-slop-cop commentedon Oct 21, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied missing classifications:
providers,pluginsThis requests a new provider-bridge capability rather than a defect in existing behavior. Priority is Medium because the reported limitation has a workaround and affects a subset of integrations; effort is High because it requires protocol/API design and host-service lifecycle and permission decisions. Comparable provider-extension requests use the same classification pattern.
No existing classifications were present; all applied values were verified, including the final Type. No reproduction report or pull request: this is a feature requiring architecture decisions, not a simple bug fix.