Skip to content

🙌 OpenHands: AI-Driven Development

45.9 KB
Raw Blame

F27 — Workspace tools: terminal, browser, planner, tasks and usage

The conversation's right-hand drawer holds the agent's workspace tools: a read-only Terminal that mirrors the agent's shell commands, a Browser tab that shows the agent browser tool's last screenshot, a Planner that renders .agents_tmp/PLAN.md (or starts a planning helper), a Task List that mirrors the agent's task_tracker, and a Usage tab with the context meter, a manual "Compact context" action and token/cost totals. Around them sit the composer's context-window ring, the chat header's Overview column (peek, pinnable rows, secondary drawer), and two client tools the agent can call to drive the UI: canvas_ui_control (open a tab or a file) and launch_child_conversation.

Source: src/components/features/terminal/, src/hooks/use-terminal.ts, src/components/features/browser/, src/routes/browser-tab.tsx, src/routes/planner-tab.tsx, src/components/features/conversation/conversation-tabs/conversation-planner-build-bar.tsx, src/hooks/use-handle-plan-click.ts, src/hooks/use-handle-build-plan-click.ts, src/routes/task-list-tab.tsx, src/routes/usage-tab.tsx, src/components/features/conversation/usage-panel/, src/components/features/chat/components/context-window-meter.tsx, src/components/features/conversation/conversation-overview-*.tsx, src/services/canvas-ui.ts, src/api/canvas-ui-client-tool.ts, src/services/child-conversation-launch.ts, src/components/features/conversation-panel/ (info modals).

Sub-features

  • F27.terminal-empty: with the runtime active and no command run yet, the Terminal tab reads "No terminal output yet. Commands run by the agent will appear here."
  • F27.terminal-waiting: while the runtime is starting or the conversation is in an error state, the Terminal tab reads "Waiting for runtime to start..."; a paused (stopped) conversation shows the empty message instead, by design.
  • F27.terminal-output: the agent's commands appear as $ <command> followed by their output; typing into the terminal does nothing (stdin is disabled).
  • F27.terminal-history-reload: after a page reload the earlier commands and output are still shown (issue #17566).
  • F27.terminal-live-append: a command the agent runs while the page is open is appended live.
  • F27.browser-empty: before any browsing the URL bar reads "No URL loaded", "Open in New Tab" is a disabled button, and the body reads "No page loaded yet. Ask OpenHands to open a URL. Example: "Open https://example.com"".
  • F27.browser-screenshot: after the agent's browser tool ran, the tab shows the last screenshot under a bar with its URL and an enabled "Open in New Tab" link.
  • F27.planner-empty: with no plan the Planner reads "There is currently no plan for this repo" with an enabled "Create a plan" button; the drawer's "Build ⌘↩" button is disabled.
  • F27.planner-create: "Create a plan" toasts "Planning agent initialized", switches the composer to plan mode ("Let’s work on a plan") and disables itself, also after a reload.
  • F27.planner-plan: when the workspace has .agents_tmp/PLAN.md, the Planner renders it as Markdown (links underlined in the theme's link colour) with an enabled "Build ⌘↩" bar.
  • F27.planner-build: "Build ⌘↩" sends "Execute the plan based on the .agents_tmp/PLAN.md file." to the agent.
  • F27.tasklist: the Task List tab appears only once the agent used task_tracker; it lists each task with its status icon and highlights the in-progress one; the drawer's tabs menu opens it too.
  • F27.usage-metrics: the Usage tab shows the context meter ("X% used (Y% left)", tokens / window), Token Usage (Input, Cache Hit, Cache Write, Output, Total) and Total Cost. Above 70% fill, the meter label and bar use the warning feedback role; above 90%, its label uses error feedback and its bar uses status error. Text reaches 4.5:1 against the raised Usage surface and fills reach 3:1 against the track in all five themes.
  • F27.usage-empty: before any metrics arrive the Usage tab reads "No metrics data available".
  • F27.usage-compact: "Compact context" (agent idle) toasts "Context compaction started" then "Context compacted" (or "…freed N tokens"), and the agent server records a Condensation; the (i) tooltip explains it. Above 70% fill, "Context is filling up — compacting frees space" uses the theme warning feedback color.
  • F27.usage-provider-balance: the provider balance card shows only when the agent server reports a balance (OpenRouter); otherwise it is absent without an error message.
  • F27.composer-context-meter: the composer's context ring opens a popover with the fill label, a Compact context button, tokens and a Usage item; the bar or Usage item opens the Usage tab; Escape (focus returns to the ring) or an outside click closes it.
  • F27.overview-peek: while the drawer is open, hovering the chat header (i) button shows a peek of the Overview rows (with the drawer closed there is no peek; clicking opens the column).
  • F27.overview-pin: the Overview "..." menu pins and unpins rows (Workspace, Git parts); an unpinned row stays hidden after a reload.
  • F27.overview-changes-link: the Overview Changes row closes the Overview and opens the drawer on Commits.
  • F27.overview-menu-open: the Overview "..." menu's Git > Commits item opens the drawer on Commits with Uncommitted collapsed; Git > Changes opens Commits with Uncommitted expanded; both close the Overview.
  • F27.overview-identity: the Overview's Workspace row shows the attached folder's basename (None without a workspace), and once the workspace's origin is a GitHub remote the Git block adds an owner/repo link to the repository and a branch link.
  • F27.overview-drawer: Overview menu > Pull Requests opens the secondary drawer with a close button; without a git repository it reads "Connect a git repository to view pull requests and issues".
  • F27.canvas-ui-open-tab: the agent's canvas_ui_control open_tab opens the drawer on the requested tab (files, browser, terminal, planner, tasklist), and the choice persists like a user tab click.
  • F27.canvas-ui-navigate-file: canvas_ui_control navigate_to_file (and clicking a file path in chat) opens Files with that file selected.
  • F27.canvas-ui-phone: at phone width an agent open_tab makes the requested tab visible on /conversations/<id>/panel.
  • F27.launch-child: the agent's launch_child_conversation (local) toasts "Launched a local child conversation" with an Open link; the child runs, and the launch result ([child-conversation] {"status":"launched",…} with the child id) is posted back to the parent agent as a user message. The child launches from the parent's recorded agent profile (its tools, prompt and secret scope) with the parent's current LLM, not from the active profile, so its launched_agent_profile matches the parent's; a default parent's child runs the active LLM.
  • F27.info-modals-phone: the composer + menu's Skills, Hooks and Agent Tools & Metadata modals fit a 390 px viewport (issue #17562); content is covered by F07.
  • F27.plugins-modal: a conversation started with plugins offers a plugins item that lists active-plugin-<name> rows.
  • F27.phone: at 390 px the panel route shows the Usage, Task List and Planner tabs without overflow, and the tab row stays visible.

How to get to it (user POV)

  • Conversation header panel button (right-panel-toggle, aria "Show panel"), then a drawer tab: conversation-tab-files, -commits, -tasklist (only after the agent used task_tracker), -planner, -terminal, -browser, -usage. Clicking the active tab closes the drawer (F08).
  • Drawer tabs menu: the "..." in tabs-pane-header, then conversation-tabs-menu-open-<tab> (also pin/unpin, F08).
  • Direct URL /conversations/<id> (drawer closed after load) or /conversations/<id>/panel (full-width drawer with Back at 1024 px or narrower, the phone entry, F07.panel-route; wider, it redirects to /conversations/<id> with the drawer open).
  • Composer context ring (context-window-meter) > Usage or bar; conversation "..." > Display Usage and Cost (F07.display-cost).
  • Chat header (i) (conversation-overview-toggle): hover for the peek, click for the Overview column and its "..." menu.
  • Composer + (chat-plus-button) > Show Available Skills / Hooks / Agent Tools & Metadata (also in the conversation "..." menu, F07).
  • The agent itself: canvas_ui_control (open a tab or file), launch_child_conversation, and file-path links in its messages (markdown-file-path-link).

Driving it with control-openhands

Preconditions:

  • Baseline state (launched, doctored, onboard --skip done) and control-openhands llm preset deepseek (every populated state needs real agent turns).

  • Desktop viewport unless a bullet says phone.

  • F27.browser-screenshot needs a real agent browser tool and working Chromium. Inspect Agent Tools & Metadata and attempt the actual operation before declaring it blocked: a preload log or the separate verification-browser inventory alone does not establish absence. The 2026-10-17 supported runtime exposes genuine browser_* tools and completed a local HTTP screenshot operation.

  • F27.plugins-modal needs a conversation started with at least one plugin (the menu item is hidden otherwise).

  • F27.terminal-waiting needs a conversation in the error state: arrange one with a profile whose key is invalid (no model cost; see the bullet).

  • F27.usage-provider-balance (card shown) needs an OpenRouter key; with DeepSeek only the hidden case is checkable.

  • F27.overview-identity needs a repo with a GitHub origin, its own so the shared qa-repo of F08 keeps none: control-openhands fixture git-repo --name qa-f27-repo --remote https://github.com/qa-example/qa-f27-repo.git (--remote only sets origin, also when the repo already exists, which the output reports as remoteChanged; no model is needed for the rows).

  • Empty tools (F27.terminal-empty, F27.browser-empty, F27.planner-empty). Run control-openhands conversation start --prompt "Reply with only the word OK. Do not run any tools." --wait --timeout 240 (note the id as <quiet-id>), then control-openhands browser click 'testid=right-panel-toggle', control-openhands browser click 'testid=conversation-tab-terminal' and control-openhands browser wait-text 'No terminal output yet' --timeout 10000. Then control-openhands browser click 'testid=conversation-tab-browser', control-openhands browser text 'testid=browser-chrome-url' (No URL loaded), control-openhands browser count 'testid=browser-chrome-open-external' (0), control-openhands browser eval "[...document.querySelectorAll('[data-testid=browser-chrome-bar] button')].map(b=>[b.disabled,b.getAttribute('aria-label')])" ([[true,"Open in New Tab"]]) and control-openhands browser wait-text 'No page loaded yet' --timeout 5000. Then control-openhands browser click 'testid=conversation-tab-planner', control-openhands browser wait-text 'There is currently no plan for this repo' --timeout 10000, control-openhands browser enabled 'role=button[name="Create a plan"]' (true) and control-openhands browser enabled 'testid=planner-tab-build-button' (false). The tab bar has no conversation-tab-tasklist. Screenshot with control-openhands browser screenshot --feature F27.browser-empty --name empty.

  • Usage totals (F27.usage-metrics, F27.usage-provider-balance). In <quiet-id> run control-openhands browser click 'testid=conversation-tab-usage', control-openhands browser text 'testid=usage-panel' and control-openhands browser attr 'testid=context-meter-bar' style. The text reads Context Window, 1% used (99% left), <tokens> / 1,000,000, Compact context, Token Usage, Input, Cache Hit, Cache Write, Output, Total and Total Cost $0.00…; the bar style is width: <percent>%. control-openhands browser count 'testid=provider-balance-card' is 0 with DeepSeek (the GET /api/llm/balance 404 is expected). Screenshot with control-openhands browser screenshot --feature F27.usage-metrics --name usage.

  • Warning and danger fill (F27.usage-metrics, F27.usage-compact). Arrange a small-context profile: control-openhands llm set --profile qa-small --model deepseek/deepseek-flash --api-key-env DEEPSEEK_API_KEY --no-activate --no-validate, then in its LLM editor's All tab fill testid=sdk-settings-llm.max_input_tokens with 17700 and Save (the Agent Server refuses windows below 16,384). Send /model qa-small from Home with Reply with only the word OK. Do not run any tools. (about 12,200 tokens, 69%), then control-openhands conversation send <id> --prompt "Reply with only the word OK. Do not run any tools. Ignore this filler: qa0 qa1 … qa499" for about 77%, and the same with qb0 … qb1199 for about 99%. Open conversation-tab-usage and screenshot it per theme (F16). Expected: above 70% the label and bar use the theme warning color, above 90% the danger color, each label at least 4.5:1 against the panel. /model also activates qa-small: re-activate deepseek-flash and delete qa-small afterwards.

  • Compact context (F27.usage-compact). With the agent idle run control-openhands browser tooltip 'testid=compact-context-info' (Summarizes older messages to free context space while keeping recent details.), control-openhands browser mouse-click 1300 700 (closes the tooltip), control-openhands browser click 'testid=compact-context-button' --observe '[data-testid=compact-context-button]' --observe-ms 4000, then control-openhands browser toasts --history (a plain browser toasts right after the click often lists only the first toast: the second lands about 2.5 s later) and control-openhands conversation events <quiet-id> --last 4. The last two history toasts are Context compaction started and Context compacted (a short history frees nothing, so no token count); the events include CondensationRequest and Condensation.

  • Composer context ring (F27.composer-context-meter). Run control-openhands browser click 'testid=conversation-tab-files', control-openhands browser click 'testid=context-window-meter' and control-openhands browser text 'testid=context-window-meter-popover' (Context Window, 1% used (99% left), Compact context, 11.7k / 1.0M-style tokens, Usage). control-openhands browser click 'testid=context-window-plan-usage' then control-openhands browser count 'testid=usage-panel' is 1 and the popover count is 0. Reopen the ring and control-openhands browser click 'testid=context-window-meter-bar-button' opens Usage the same way. Reopen it, control-openhands browser click 'testid=context-window-compact-button' and, a few seconds later, control-openhands browser toasts --history ends with Context compaction started, then Context compacted; the popover stays open. control-openhands browser press Escape closes it (control-openhands browser count 'testid=context-window-meter-popover' is 0) and returns focus to the ring (control-openhands browser eval "document.activeElement.dataset.testid" is context-window-meter). Reopen it with control-openhands browser click 'testid=context-window-meter'; control-openhands browser mouse-click 600 400 closes it too (0).

  • Agent-driven tools (F27.terminal-output, F27.canvas-ui-open-tab). Run control-openhands conversation start --prompt "Do these steps in order, in the workspace only. 1) Use the task_tracker tool to set exactly three tasks: 'qa-one' status done, 'qa-two' status in_progress, 'qa-three' status todo. 2) Run the shell command: echo QA_TERM_MARK_1 3) Create the file .agents_tmp/PLAN.md with the content '# QA Plan' followed by a bullet list of three items: alpha, beta, gamma. 4) Call the canvas_ui_control tool with command open_tab and tab terminal. Then reply DONE." --wait --timeout 300 (note <tools-id>). The drawer was closed; the agent's tool call opened it: control-openhands browser attr 'testid=right-panel-toggle' aria-pressed is true and control-openhands browser text 'testid=tabs-pane-header' starts with Terminal. control-openhands browser text '.xterm-rows' shows $ echo QA_TERM_MARK_1, QA_TERM_MARK_1 and the PLAN.md command with its output. control-openhands browser click '.xterm-screen', control-openhands browser press KeyZ and control-openhands browser press Enter change neither the rows nor the event list (conversation events <tools-id> --last 1). control-openhands conversation events <tools-id> --kinds ActionEvent,ObservationEvent,MessageEvent shows open_tab with Tool call dispatched to client.

  • Terminal after reload (F27.terminal-history-reload, F27.terminal-live-append). Before clicking any other tab in <tools-id> (a user tab click is persisted and would mask the next check), run control-openhands browser reload, control-openhands browser click 'testid=right-panel-toggle', control-openhands browser text 'testid=tabs-pane-header' (read now for F27.canvas-ui-open-tab below; it starts with Terminal, so the drawer is already on Terminal: do not click conversation-tab-terminal, because clicking the active tab closes the drawer) and control-openhands browser text '.xterm-rows'. Expected: the earlier commands are still listed. Known failure (#17566 reproduces, 2026-10-06): the text is empty and the tab reads "No terminal output yet" while the chat still lists the actions. Live append is checked after the Build step below.

  • Agent tab survives reload (F27.canvas-ui-open-tab). The tabs-pane-header text read in the reload step above (right after right-panel-toggle) starts with Terminal, the agent's last choice: src/services/canvas-ui.ts saves the tab per conversation like a user click (#18045), and control-openhands browser eval "JSON.parse(localStorage.getItem('conversation-state-<tools-id>')).selectedTab" is terminal (browser screenshot --feature F27.canvas-ui-open-tab --name reload-reopens-terminal). For contrast, control-openhands browser click 'testid=conversation-tab-usage', control-openhands browser reload, control-openhands browser click 'testid=right-panel-toggle': a user-clicked tab is restored (Usage).

  • Task List (F27.tasklist). In <tools-id> run control-openhands browser click 'testid=conversation-tab-tasklist', control-openhands browser wait '[data-active="true"] >> has-text=qa-two' --timeout 10000 (the rows render a moment after the click; an immediate count reads 0), control-openhands browser count '[data-active="true"] >> has-text=qa-two' (1) and control-openhands browser count '[data-active="false"] >> has-text=qa-three' (1); screenshot with control-openhands browser screenshot --feature F27.tasklist --name tasks (done/in-progress/todo icons). Menu entry: control-openhands browser click 'testid=tabs-pane-header >> testid=ellipsis-button' then control-openhands browser click 'testid=conversation-tabs-menu-open-tasklist'; the header starts with Task List.

  • Plan and Build (F27.planner-plan, F27.planner-build). In <tools-id> run control-openhands browser click 'testid=conversation-tab-planner' and control-openhands browser snapshot 'testid=app-route': it ends with heading "QA Plan" [level=1] and a list alpha, beta, gamma; control-openhands browser enabled 'testid=planner-tab-build-button' is true. Links in the plan stay readable: append See [QA docs](https://example.com/qa) for the verification page. to the workspace's .agents_tmp/PLAN.md (arrange), reload and reopen Planner; the link ([role=tabpanel] >> a[href="https://example.com/qa"]) is underlined before hover, rgb(0, 90, 153) at 6.48:1 on the Light+ panel and rgb(0, 90, 136) at 6.08:1 on Solarized Light (F16.color-theme; browser screenshot 'testid=app-route' --feature F27.planner-plan --name plan-link), and the phone panel page shows it too. Run control-openhands browser click 'testid=planner-tab-build-button', then control-openhands browser count 'testid=user-message >> has-text=Execute the plan based on the .agents_tmp/PLAN.md file.' (1) and control-openhands conversation wait <tools-id> --timeout 240; the agent reads PLAN.md and answers. Live append (F27.terminal-live-append): control-openhands browser click 'testid=conversation-tab-terminal' and control-openhands browser text '.xterm-rows' now show the new $ cat .agents_tmp/PLAN.md block and its output (but not the pre-reload history).

  • Create a plan (F27.planner-create). In <quiet-id> (no plan yet) run control-openhands browser goto /conversations/<quiet-id> and control-openhands browser click 'testid=right-panel-toggle' (the browser is on <tools-id>, and a fresh load has the drawer closed; it reopens on the tab last chosen there, Usage after the context-ring bullet (its Usage item and bar save usage): if that is already Planner, skip the next click, which would close the drawer), then control-openhands browser click 'testid=conversation-tab-planner', control-openhands browser click 'role=button[name="Create a plan"]', then control-openhands browser toasts (Planning agent initialized) and control-openhands browser enabled 'role=button[name="Create a plan"]' (false). The composer placeholder is Let’s work on a plan (browser screenshot --feature F27.planner-create --name after-create). After control-openhands browser reload and reopening Planner the button stays disabled, and control-openhands api GET /api/conversations/<quiet-id> lists one sub_conversation_ids entry (the helper; it is not in the sidebar list).

  • Open a file from the agent (F27.canvas-ui-navigate-file). On /conversations/<tools-id> (control-openhands browser goto /conversations/<tools-id>; Create a plan left <quiet-id>, and --stay sends into the open page) run control-openhands conversation start --stay --prompt "Call the canvas_ui_control tool with command navigate_to_file and path .agents_tmp/PLAN.md, then reply OK." --wait --timeout 200, then control-openhands browser count 'testid=file-quick-row-item-.agents_tmp/PLAN.md' (1) and control-openhands browser text 'testid=files-tab-content' (Rich, Plain, QA Plan, alpha…). Chat link entry: control-openhands browser click 'testid=right-panel-toggle' (closes the drawer), control-openhands browser click 'testid=markdown-file-path-link >> nth=0', then control-openhands browser attr 'testid=right-panel-toggle' aria-pressed is true with the same file selected.

  • Launch a child (F27.launch-child). On /conversations/<tools-id> (code mode, not a plan-mode conversation) run control-openhands conversation start --stay --prompt "Call the launch_child_conversation tool with target local, isolation shared and task 'Reply with only the word PONG. Do not run any tools.' Then reply OK." and poll control-openhands browser toasts every few seconds: one toast reads Launched a local child conversation Open. Take the child id from control-openhands conversation events <tools-id> --kinds MessageEvent (the [child-conversation] {"status":"launched",…,"conversation_id":"<child-id>"…} message), then control-openhands conversation wait <child-id> --timeout 120 (finished) and control-openhands conversation events <child-id> --kinds MessageEvent (agent PONG). control-openhands browser count 'testid=conversation-card >> has-text=PONG' is 1.

  • Overview (F27.overview-peek, F27.overview-pin, F27.overview-changes-link, F27.overview-drawer). On /conversations/<quiet-id> (control-openhands browser goto /conversations/<quiet-id>; Launch a child left <tools-id>) run control-openhands browser click 'testid=right-panel-toggle' (the peek exists only while the drawer is open; a fresh page load has it closed), control-openhands browser hover 'testid=conversation-overview-toggle' and control-openhands browser text 'testid=conversation-overview-peek' (Overview, Changes, +0, -0, Workspace, None). control-openhands browser click 'testid=conversation-overview-toggle'; control-openhands browser attr 'testid=conversation-overview-toggle' aria-pressed is true and right-panel-toggle is false. Pin: control-openhands browser click 'testid=conversation-overview-ellipsis', control-openhands browser click 'testid=conversation-overview-menu-pin-workspace'; control-openhands browser count 'testid=conversation-overview-workspace' is 0 and the pin button's aria-pressed is false; after control-openhands browser reload and browser click 'testid=conversation-overview-toggle' the count is still 0. Re-pin the same way (count 1). Git parts work the same: conversation-overview-menu-pin-git-changes hides testid=conversation-overview-diffs (count 0, also after a reload) and a second click restores it. Close the menu with control-openhands browser press Escape: control-openhands browser count 'testid=conversation-overview-context-menu' is 0, control-openhands browser eval "document.activeElement.dataset.testid" is conversation-overview-ellipsis and testid=conversation-overview-panel still counts 1 (a second click on the ellipsis closes the menu too). Changes: control-openhands browser click 'testid=conversation-overview-diffs'; the overview panel count is 0, right-panel-toggle is pressed and tabs-pane-header starts with Commits. Drawer: reopen the Overview, control-openhands browser click 'testid=conversation-overview-ellipsis', control-openhands browser click 'testid=conversation-overview-menu-open-git-pull_requests', control-openhands browser text 'testid=conversation-overview-drawer' (Pull Requests / Connect a git repository to view pull requests and issues), then control-openhands browser click 'testid=conversation-overview-drawer-close' and control-openhands browser wait 'testid=conversation-overview-drawer' --state hidden --timeout 5000 (an immediate visible still reads true during the slide-out animation).

  • Overview menu opens Commits (F27.overview-menu-open). On /conversations/<tools-id> (it has an uncommitted .agents_tmp/PLAN.md; control-openhands browser goto /conversations/<tools-id>, since the Overview bullet is on <quiet-id>) run control-openhands browser reload, control-openhands browser click 'testid=conversation-overview-toggle', control-openhands browser click 'testid=conversation-overview-ellipsis' and control-openhands browser click 'testid=conversation-overview-menu-open-git-commits': control-openhands browser count 'testid=conversation-overview-panel' is 0, tabs-pane-header starts with Commits and control-openhands browser attr 'testid=uncommitted-changes-row-toggle' aria-expanded is false. Repeat with conversation-overview-menu-open-git-changes: same tab, aria-expanded true and control-openhands browser count 'testid=uncommitted-changes-row-content' 1 (the .agents_tmp/PLAN.md row). Screenshot with control-openhands browser screenshot --feature F27.overview-menu-open --name changes.

  • Workspace and repository identity (F27.overview-identity). Run control-openhands conversation start --workspace qa-f27-repo --prompt "List the files in this folder with ls. Do nothing else." --wait --timeout 240 (note <repo-id>) and, staying on the page it leaves open, control-openhands browser click 'testid=conversation-overview-toggle', control-openhands browser wait 'testid=conversation-overview-git-repo' --timeout 20000, control-openhands browser text 'testid=conversation-overview-workspace' (Workspace, qa-f27-repo: the folder's basename, not its path), control-openhands browser text 'testid=conversation-overview-git-repo' (qa-example/qa-f27-repo), control-openhands browser attr 'testid=conversation-overview-git-repo' href (https://github.com/qa-example/qa-f27-repo), control-openhands browser text 'testid=conversation-overview-git-branch' (main; control-openhands browser attr 'testid=conversation-overview-git-branch' href is https://github.com/qa-example/qa-f27-repo/tree/main) and control-openhands browser snapshot 'testid=conversation-overview-panel': Changes +0 -0, the repo and branch links, the Commits and Pull Requests items, then Workspace qa-f27-repo. control-openhands browser screenshot --feature F27.overview-identity --name repo-rows. The repo and branch rows come from a git probe the page runs while the conversation is active: without an LLM key the conversation ends in error, and after control-openhands browser reload and control-openhands browser click 'testid=conversation-overview-toggle' the panel lists only Workspace qa-f27-repo (control-openhands browser count 'testid=conversation-overview-git-repo' is 0; see Gotchas), so read the rows before any reload. With a key the conversation finishes and the rows survive a reload: after browser reload, the toggle and browser wait 'testid=conversation-overview-git-repo' --timeout 20000, the count is 1, and control-openhands browser text 'testid=agent-message >> nth=-1' still shows the reply (driven 2026-10-08 with the prompt List the files in this folder with ls. Do nothing else., reply The folder contains: README.md src).

  • Native browser screenshot (F27.browser-screenshot). First inspect Agent Tools & Metadata → Available Tools for browser_navigate and browser_get_state; close the metadata dialog. Use an ordinary Code conversation with the configured low-cost model, not a planner helper. Get this owned run's ingress URL with control-openhands status | jq -r .baseUrl, then run control-openhands conversation start --stay --prompt "Call browser_navigate to <owned-ingress-url>/ then browser_get_state with include_screenshot=true. Reply only browser-ok. Do not click, type, inspect files, run commands or call other tools." --wait --timeout 180. Verify the actual ActionEvent arguments and presence/length of ObservationEvent screenshot data without dumping its base64. Open Browser and expect its actual screenshot, browser-chrome-url holding the navigated URL and browser-chrome-open-external count 1. Do not reload between the live navigation and readback; this does not prove browser-history restoration. External HTTPS may fail on the agent Chromium's CA trust even while local HTTP works; report that separately from tool availability.

  • Info modals at phone width (F27.info-modals-phone). Run control-openhands browser viewport phone; for each of skills/skills-modal, hooks/hooks-modal, agent-tools/system-message-modal: control-openhands browser click 'testid=chat-plus-button', control-openhands browser click 'testid=show-skills-button', control-openhands browser wait 'testid=skills-modal' --timeout 10000, control-openhands browser bbox 'testid=skills-modal', control-openhands browser screenshot --feature F27.info-modals-phone --name skills, control-openhands browser click 'testid=close-skills-modal' (substitute the names). Each box is 351 px wide at x 19.5 with insideViewport true and pageHorizontalOverflow false.

  • Agent tab at phone width (F27.canvas-ui-phone). Still at phone width on /conversations/<id>, run control-openhands conversation start --stay --prompt "Call the canvas_ui_control tool with command open_tab and tab terminal, then reply OK." --wait --timeout 200, then control-openhands browser url (it ends /conversations/<id>/panel), control-openhands browser count 'testid=tabs-pane-header' (1) and control-openhands browser attr 'role=tab[name="Terminal"]' aria-selected (true). The panel page has no right-panel-toggle. Screenshot with control-openhands browser screenshot --feature F27.canvas-ui-phone --name panel-terminal.

  • Phone panel tabs (F27.phone). At phone width run control-openhands browser goto /conversations/<tools-id>/panel; tabs that do not fit the 390 px row move into the tabs menu (with Commits active, as the Overview menu bullet leaves it, Usage is not in the row and conversation-tab-usage does not exist), so open Usage with control-openhands browser click 'testid=tabs-pane-header >> testid=ellipsis-button' and control-openhands browser click 'testid=conversation-tabs-menu-open-usage', then control-openhands browser bbox 'testid=usage-panel' (390 wide, insideViewport true, no overflow) and control-openhands browser screenshot --feature F27.phone --name usage. Then control-openhands browser click 'testid=conversation-tab-planner', control-openhands browser bbox 'testid=conversation-tab-planner' and control-openhands browser bbox 'testid=planner-tab-build-button': the tab row stays inside the viewport (the Planner tab at y 5.5, insideViewport true) and the Build bar sits below the 39 px top bar (Build at y 49.5); screenshot with control-openhands browser screenshot --feature F27.phone --name planner. Return with control-openhands browser viewport desktop; the app replaces /panel with /conversations/<tools-id>.

  • Terminal waiting (F27.terminal-waiting). Arrange an errored conversation without model cost: echo sk-qa-invalid > $OH_VERIFY_RUN/private/qa-bad.key, control-openhands llm set --profile qa-bad --model deepseek/deepseek-flash --api-key-file $OH_VERIFY_RUN/private/qa-bad.key --no-validate (activates it), then control-openhands conversation start --prompt "Reply OK." --wait --timeout 120 (status error, the chat shows the authentication error). Run control-openhands browser click 'testid=right-panel-toggle', control-openhands browser click 'testid=conversation-tab-terminal' and control-openhands browser wait-text 'Waiting for runtime to start' --timeout 10000; screenshot with control-openhands browser screenshot --feature F27.terminal-waiting --name error. Restore with control-openhands llm preset deepseek --api-key-file <key file> (re-activates deepseek-flash) and control-openhands api DELETE /api/profiles/qa-bad --write. For contrast, a conversation paused with F07's Stop Runtime (conversation status paused, composer Stopped) shows "No terminal output yet": PAUSED is not in RUNTIME_INACTIVE_STATES.

  • State not reached (F27.usage-empty). A new conversation's metrics arrive before the drawer can be opened (the Usage tab shows Loading..., then numbers); even the errored conversation above shows all-zero totals, not the empty state; and control-openhands service stop agent-server replaces the page with "Manage backends". "No metrics data available" was not observed.

Regression check (F27.composer-context-meter, phone-usage-row):

control-openhands browser viewport phone
control-openhands conversation start --prompt 'Reply only OK. Do not run tools.' --wait --timeout 180
control-openhands browser click 'testid=context-window-meter'
control-openhands browser click 'testid=context-window-plan-usage'
control-openhands browser eval 'new Promise(r=>setTimeout(r,1000))'
control-openhands browser screenshot --feature F27.composer-context-meter --name phone-row-proof
control-openhands assert --field value --equals true -- browser eval 'location.pathname.endsWith("/panel") && document.querySelector("[data-testid=usage-panel]") !== null'

Regression check (F27.composer-context-meter, phone-usage-bar):

control-openhands browser viewport phone
control-openhands conversation start --prompt 'Reply only OK. Do not run tools.' --wait --timeout 180
control-openhands browser click 'testid=context-window-meter'
control-openhands browser click 'testid=context-window-meter-bar-button'
control-openhands browser eval 'new Promise(r=>setTimeout(r,1000))'
control-openhands browser screenshot --feature F27.composer-context-meter --name phone-bar-proof
control-openhands assert --field value --equals true -- browser eval 'location.pathname.endsWith("/panel") && document.querySelector("[data-testid=usage-panel]") !== null'

Gotchas

  • At phone width the header Overview control currently reveals no content (known failure #16792, reproduced 2026-10-17; F07.overview-toggle). Use the panel tabs menu to arrange a Commits check; this does not verify the missing Overview entry point.

  • After a reload the Task List (and tab bar entry) appears only once history has loaded; wait about 2 s before counting [data-active="true"] rows.

  • [data-active] is also used by sidebar conversation cards: always combine it with has-text=<task title>.

  • browser click --observe takes a plain CSS selector ('[data-testid=compact-context-button]'); the testid= form fails with a querySelectorAll SyntaxError.

  • "Create a plan" leaves that conversation in plan mode: the next composer message goes to the planner helper, which has no launch_child_conversation or canvas_ui_control. Use a separate conversation for client-tool prompts.

  • The child-launch toast's Open link animates; browser click on it times out with "element is not stable". Read the child id from the parent's [child-conversation] message instead.

  • GET …/file/download?path=…/.agents_tmp/PLAN.md 404 and GET /api/llm/balance 404 are expected app-origin errors (no plan yet; no balance endpoint). Count them in browser errors --app-only but do not report them.

  • Escape closes the composer context popover and the Overview "..." menu and returns focus to the trigger (#18044); an outside click, or a second click on the trigger, closes them too.

  • The Overview column is 28 px narrower than its content (scrollWidth 296, clientWidth 268). After some clicks inside it, Playwright's scroll-into-view shifts it and the card looks cut off on the left; browser reload restores it before taking screenshots.

  • The agent may summarize a client-tool action with its own title (for example "Launch local child conversation to reply PONG") instead of "Launching a child conversation"; assert the toast and events, not the chat title.

  • The Overview peek appears only while the drawer is open (canPeekOnHover needs isRightPanelShown); a browser goto or reload starts with the drawer closed.

  • The Overview's repo and branch rows depend on a bash probe (useLocalGitInfo) that runs only while the conversation's status is idle, running, waiting for confirmation or finished and the agent is not in error. Right after conversation start the probe has run and its result stays cached on the page, but on an errored conversation a reload hides the rows again, and conversation pause does not apply to an errored conversation. Read the rows before any goto or reload.

  • At phone width (and in a narrow drawer) the tab row shows only the tabs that fit; the rest are reachable only through the tabs menu (conversation-tabs-menu-open-<tab>), and which tabs fit depends on the active tab's label width.

  • Each instance's agent server keeps its terminal sessions' tmux sockets (one openhands-<random hex> per terminal session) in its own TMUX_TMPDIR (launch: /tmp/ohv-tmux-<hash>; a plain agent-canvas: <state>/tmux, which the launcher creates), so another instance stopping cannot reset this one's terminal. After this run's own restart, echo QA_TERM_MARK_2 ran once with its output and no reset (2026-10-17); a reset row is a finding.

  • Agent Tools & Metadata remembers the last tab (it reopens on Available Tools).

  • The Overview menu opens only Pull Requests (conversation-overview-menu-open-git-pull_requests); its testids are conversation-overview-menu-open-* and -pin-* for workspace and the Git rows only.

  • Known open issues: terminal history after reload (#17566) still fails (reproduced 2026-10-06); info modals at phone width (#17562) pass.

  • Agent tab requests (open_tab, navigate_to_file, chat file links) are saved per conversation like a user tab click (#18045): after the agent opens Terminal or a file and the page reloads, the drawer starts closed and the panel toggle reopens it on that tab; clicking that tab then closes the drawer. At phone width they navigate to /conversations/<id>/panel.

  • Known issue #17774 (F27.planner-empty F27.planner-plan): Planner reads on a native Windows local backend reject drive-letter/mixed-separator workspace paths with Conversation file path must stay inside the workspace before a download request. Recheck both a scratch workspace and an opened drive-letter workspace, with and without .agents_tmp/PLAN.md; this run lacks a Windows local Agent Server.

  • Known issue #17198 (F27.terminal-output): Native Windows desktop agents intermittently return [Command finished execution with no output] for real file-listing/terminal commands and retry them. Recheck with the affected Windows installer/runtime, project agent definitions and an exact command/workspace; no deterministic pattern or backend trace is provided, and this run has no Windows desktop runtime. The backend counterpart is OpenHands/software-agent-sdk#4963.

  • Known issue #16551 (F27.browser-screenshot): On native Windows, the browser tool chooses system Chrome over installed Playwright Chromium and times out before returning state/screenshots. Recheck default browser selection and an explicit executable-path control on a Windows host with both browsers and the reported browser_use runtime; the verification Chromium itself is a different tool. This native Windows branch requires the affected Windows host; working Local model/browser credentials do not supply that OS.

  • Known issue #16581 (F27.terminal-output): A module-scoped terminal command index can suppress output in a second simultaneously mounted Terminal and reset the first when either unmounts. The report describes a future split-panel/embedded concurrent mount rather than a supported standalone entry point. Recheck in a host that actually mounts two independent Canvas Terminal consumers with real command histories; the current harness has one Terminal route and no such host fixture.

  • Known issue #17384 (F27.launch-child): A file-based delegated subagent using a saved profile/provider connection can fail with HTTP 401 while the top-level conversation succeeds, because encrypted provider credentials are not decrypted in that backend factory path. Recheck a reviewed .agents/agents/ worker, encrypted provider connection and saved profile using a real key, comparing parent and worker authentication. This is a delegated SDK subagent path, distinct from the client-tool child-launch recipe; neither a dummy key nor an unencrypted profile proves it.

  • Known issue OpenHands/software-agent-sdk#5533 (F27.terminal-output): A slow interactive Bash startup can make the first terminal command return early with empty output and a false successful exit code. Recheck both standalone and pooled tmux using a private .bashrc with sleep 0.4, then a bounded sleep 2 first command and its real observation. The shell fixture can be arranged, but the mapped agent-command/Terminal path cannot run here without a model key.

  • Known issue OpenHands/software-agent-sdk#5322 (F27.terminal-output): The default tmux pane pool or Windows terminal can let git log -p start an interactive pager, so the next agent command receives stale paged output instead of its own result. Recheck a reviewed large git fixture, a real installed pager and a follow-up marker command on each affected terminal backend. The fixture is arrangeable, but the mapped agent-tool path needs a model key (and the Windows half needs Windows).

  • Known issue #17383 (F27.browser-screenshot; dependency counterpart OpenHands/software-agent-sdk#5152): unlocked dependency resolution can silently remove the agent's browser tools. The actual 2026-10-12 pinned runtime resolves browser-use 0.11.13, mcp 1.30.0 and fastmcp 3.4.8; its genuine BrowserToolExecutor constructs successfully. That narrowly fails to reproduce the SDK report's specified mcp 2.x import failure. Fresh constructor recheck on 2026-10-16 at b34ac59, using the actual Agent Server 1.55.0 interpreter and private HOME, again resolves browser-use 0.11.13, mcp 1.30.0 and fastmcp 3.4.8 and constructs successfully; no browser operation or model was run. On 2026-10-17 the supported 1.55.1 runtime completed genuine browser_navigate and browser_get_state(include_screenshot=true) against the owned HTTP ingress and rendered its screenshot/URL. This does not test the report's unlocked mcp 2 import combination; construction alone remains insufficient.

  • Browser availability also depends on OpenHands/software-agent-sdk#5899 (F27.browser-screenshot; canonical tool-selection note in F13): a Chromium installed only under PLAYWRIGHT_BROWSERS_PATH is missed by the agent-tool probe. Recheck the real browser-tool operation on a host with only that custom cache and no standard browser, default cache or PATH executable. Do not remove a user's installed Chrome to manufacture the topology; an executor constructor or the separate verification browser is not a successful agent browser operation.

  • Known issue OpenHands/software-agent-sdk#5835 (F27.overview-identity): the local Overview Git probe uses conversation-scoped Bash execution; an idle-eviction pass can kill scoped work without a final output. Recheck a disposable short-idle-TTL server while a genuine Canvas Git probe is still executing, with independently observed command lifetime and the eventual output/result. The report's standalone asynchronous sleep reproduction is supporting backend evidence, not proof of a Terminal-tab command, which uses the agent event stream instead.

  • Known issue #18546 (F27.usage-metrics): in Solarized Light the Usage panel's primary text measures 3.68:1 and its muted text (percentage, token count, Cache rows) 2.61:1 on the raised panel surface, below 4.5:1; the other four themes pass.