Bot browsing on a remote machine can't be watched: the machine's screen takes the browser's place
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start in src/components/bot-panel/ComputerTab.tsx and src/components/ComputerPanel.tsx, tracing how the machine screen and browser panel are selected for a bot running on a paired server. Check the browser stream client and the stated panel behavior for guidance. Done means a bot with browsing enabled can view its live browser from the server's page while retaining access to the machine screen.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
A bot that browses on a remote machine (a paired server of your own, or My Cloud) keeps browsing, but the panel never shows it: the machine's screen takes the browser's place.
On This computer the Computer tab shows the bot's live browser — the page, its tab strip (LocalBrowserSection, src/components/bot-panel/LocalBrowser.tsx) — because the page is this computer's. On the server's page it shows that machine's screen instead, and the Browser tab is not in the tab row either.
Where the panel decides:
src/components/bot-panel/ComputerTab.tsx:314—ownScreen = !local || cloudOwned || current === "vm", withlocal = isLocalHost(runsOnHost(...))(:187,:304).runsOnHostreadsotherServerfrom the desktop (src/lib/other-server.ts), so a window on a paired server comes out askind: "vps",localis false, and the screen renders in place of the browser section.src/components/ComputerPanel.tsx:275-278— the Browser tab exists only when the bot's computer is"browser"or the stored view for that bot says browser;src/lib/computer-panel-view.tsresolves any other stored view to"computer", and the stored view is per origin, so a Browser tab chosen on This computer does not exist on the server's origin.- The bot's browser still mounts on whichever server runs the turn. It is gated only on
features.browser,bot.browser !== false,bot.computer !== "off"and not the person's own Chrome (server/host/browser.ts:316,:404), and it is streamed at/api/bots/<id>/browser(src/lib/browser-stream-client.ts), so the server's page could render it.
So the browsing is real — its tool lines appear in the chat — but there is no live view of it.
Verified
- DOM test against the real
ComputerPanel: a bot withcomputer: "local"andfeatures.browseron has nocomputer-panel-tabs-tab-browserand no browser panel;computer: "browser"shows both. (Temporary test, deleted after the run.) computerPanelTabs({ browser: false })→["computer"];resolveComputerPanelView("browser", { browser: false })→"computer".runsOnHost({ cloudHome: false, otherServer: "box-1", platform: "darwin" })→{ kind: "vps" }, whichisLocalHostrejects, soownScreenis true.
Steps to reproduce
- Pair a server of your own (or move a bot to My Cloud) and leave its browsing on.
- Set the bot's computer to that machine, not "Browser only".
- Open the bot's Computer tab with the window on the server: no Browser tab (unless it was chosen earlier on that origin), and the machine's screen where This computer shows the bot's live browser.
- Give the bot a task that browses: it works — browser tool lines land in the chat — but the page is nowhere in the panel.
Version
0.2.17
Platform
macOS
Engine
No response
Logs or screenshots
Expected: a bot's browser is watchable wherever the bot runs.
Fix direction, not a decision: render the bot's browser section above the machine's screen whenever
`bot.browser !== false` and a browser is open (the stream route is the current origin's, so it already
works from the server's page), or keep the Browser tab in the row for every bot with browsing on
instead of only `computer === "browser"` ones.
- Ngôn ngữ chính
- TypeScript
- Star
- 277
- Fork
- 27
- Merge trung bình
- 2 giờ 47 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DuskBotAI/duskbot
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Maintainer thường phản hồi trong vòng 1 ngày
-
After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 pageĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
install.sh --tailscale replaces whatever the host already serves on tailnet port 443Có thể đã có người làm @viniciusbregoli đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DuskBotAI/duskbot
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vercel-labs/ui#865 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
outline/outline#14638 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
wayfinder:grilling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
patricktree/cup#484 ·
-
bot:ai-assisted component:platform-js status:untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
midnightntwrk/platform-js#69 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày