docs(webui): mention file edit previews in guide

This commit is contained in:
chengyongru
2026-07-09 10:42:43 +08:00
committed by Xubin Ren
parent 7685a89dcc
commit 0b9ca744c2
+7 -1
View File
@@ -8,7 +8,7 @@ Automations.
- a local browser workbench - a local browser workbench
- one persistent chat session - one persistent chat session
- a visible timeline of agent messages, tool calls, and file activity - a visible timeline of agent messages, tool calls, and file edit diffs
- a gateway-backed WebSocket connection - a gateway-backed WebSocket connection
## When to use this ## When to use this
@@ -37,6 +37,12 @@ nanobot webui
The launcher checks setup, enables the local WebSocket channel after The launcher checks setup, enables the local WebSocket channel after
confirmation, starts the gateway, and opens the browser. confirmation, starts the gateway, and opens the browser.
When nanobot edits a file, the WebUI activity timeline can show the changed
line counts, a unified diff, and an **Open file** action for a read-only
preview. File previews use the chat's current workspace access mode: restricted
access stays inside the selected workspace, while Full Access can preview files
outside the workspace when the gateway allows it.
## Production notes ## Production notes
- Use `nanobot webui --background` when you do not want to keep a terminal open. - Use `nanobot webui --background` when you do not want to keep a terminal open.