You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Route browser-use through the infer daemon's extension connection #1400
Once the daemon owns the extension connection, every browser tool call reaches the browser through it. Today whichever infer process binds port 52789 first owns the extension, the others retry the listen, and the desktop app relays browser_command to each child CLI on port 52790. With one browser and many threads, the daemon routes and serializes the commands.
Acceptance Criteria
browser_command lines from session workers are routed to the extension connection and each browser_result goes back to the worker by id
Commands from different threads are serialized, because there is one browser
infer chat and a standalone infer headless with browser_use.backend: extension reach the extension as daemon clients through the ExtensionRequest seam, and start infer daemon when none is running
Only the daemon binds the extension port. The listen retry and port takeover in the bridge are removed
Browser tool errors keep their wording (no extension connected, timed out, failed to )
Tests cover routing by id, serialization across two threads and the no-extension error
The agent hit the job's time limit before finishing, so it was stopped to salvage its work. Its committed changes were pushed; the draft pull request is linked above.
Resuming. BashOutput stays blocked, so I'll re-run the gate in the foreground instead - task itself is allow-listed - to capture why precommit:run exited 201 so fast.
…hitespace.\n+ every frame except `browser_result` is relayed to its thread's worker (see `internal/sessions`). A \ninternal/protocols/agui/README.md:21: trailing whitespace.\n+ `browser_command` a client posts, and a session worker's `browser_command` line the registry routes, are both \ninternal/protocols/agui/README.md:22: trailing whitespace.\n+ driven through the extension connection by `Relay`, serialized because there is one browser. \ninternal/protocols/agui/README.md:24: trailing whitespace.\n+ `ExtensionRequest` seam, and its dials reach the extension through the daemon, which is started on demand, so \ninternal/protocols/agui/README.md:25: trailing whitespace.\n+ the browser context never imports this package. \ninternal/sessions/README.md:18: trailing whitespace.\n+- **Forwarded frames** - `user_message`, `interrupt`, `user_question_response` and `computer_use_control` go \ninternal/sessions/README.md:19: trailing whitespace.\n+ to the client's thread unchanged. A `user_message` relaunches a thread whose worker exited. \ninternal/sessions/README.md:20: trailing whitespace.\n+- **Browser commands** - a `browser_command` line on a worker's stdout routes through the `BrowserRelay` \ninternal/sessions/README.md:21: trailing whitespace.\n+ (`RouteBrowser`, the binding's extension connection) and the `browser_result` carrying the command's `id` goes \ninternal/sessions/README.md:22: trailing whitespace.\n+ back to that worker's stdin, so the worker's Browser tools resolve without binding a port. Commands serialize \ninternal/sessions/README.md:23: trailing whitespace.\n+ across threads, because one browser serves them, and the thread's clients never see the frames. \n::error title=Task 'precommit:run' failed::exit status 2\ntask: Failed to run task \"precommit:run\": exit status 2",
"rejected": false,
"success": false,
"tool_name": "Bash"
}
}
Activity
feat(daemon): host the AG-UI WebSocket binding and supervise session …
edenreich commentedon Sep 29, 2026
@infer can you work on this? use /ponytail:ponytail /domain-driven-design /clean-code /clean-architecture /go /go-concurrency
inference-gateway-maintainer commentedon Sep 29, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#1413
The agent hit the job's time limit before finishing, so it was stopped to salvage its work. Its committed changes were pushed; the draft pull request is linked above.
Resuming. BashOutput stays blocked, so I'll re-run the gate in the foreground instead -
taskitself is allow-listed - to capture whyprecommit:runexited 201 so fast.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 38m 32sTokens: 22,661,106 in · 127,060 out · 22,788,166 total (123 requests)
Tool calls: 164 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
fix: resolve #1400
inference-gateway-releaser commentedon Sep 30, 2026
🎉 This issue has been resolved in version 0.219.0 🎉
The release is available on:
Your semantic-release bot 📦🚀