The shared Chromium, Xvfb and Xpra runtime could remain alive indefinitely
after chats stopped using it. Suspend it after one hour of inactivity by
default, preserving saved tab URLs and the shared sign-in profile. Protect
running and paused owners, subordinate parent tasks, connected viewers,
browser calls and downloads; passive polling must not restart the runtime
or extend its lifetime.
Add Stop internal browser to Browser Settings, release the runtime on
global plugin disable, and clean stale display directories only when no
live owner or process reference remains. Document the global timeout,
opt-out and loss of unsaved page state on suspension.
Validation: 206 focused tests and 20 real-Chromium security tests passed.
Live Docker checks verified periodic and manual shutdown from 13 child
processes to zero, download protection, tab/cookie recovery, the WebUI
control and CSRF rejection. The reported GPU busy-loop was not reproduced;
this change bounds idle lifetime without changing graphics flags.
Refs #1892, #2029.
Let profiles allow individual operations across all 12 bundled multi-action
tools, such as reading files without allowing writes or listing scheduled
tasks without allowing deletion.
Share action contracts across runtime policy, Agent Editor, text prompts,
and native schemas. Preserve existing whole-tool policies and legacy memory
IDs; only explicit permission edits persist the editor's projection.
Check aliases, defaults, browser batches, reset flags, and parallel
operations at execution. Apply action permissions to automatic browser
context and skill hints.
Validation: 742 focused tests passed. Live Docker checks verified allowed
reads, denied writes through native/legacy/parallel dispatch, blocked
scheduler deletion, and editor save/reload.
Move the browser context extension from system_prompt to message_loop_prompts_after and write open-tab listing and last-interacted page content into loop extras so the system prompt stays cache-stable across turns. Preserve the profile tool-policy gate before any runtime access.
Minify browser tool JSON in agent history and keep JSON beautification plugin-local in the WebUI tool handler for display only while copy, speak, and result parsing stay on the raw text. Document missing tool arguments in the browser skill and the call_subordinate, code_execution_remote, computer_use_remote, and office_artifact prompts, and update Browser plugin DOX contracts.
Add focused browser tool output tests and update tool policy coverage for the moved extension. Verified 33 targeted tests in the framework runtime and a live evaluate, extras injection, and minified history check on the mirrored core instance.