diff --git a/README.md b/README.md index 244ee0fcf..599cd24df 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,8 @@ nanobot This opens the native terminal client with the launch directory as its workspace. It shares saved conversations and the local gateway with the WebUI. The explicit `nanobot agent` form remains available for compatibility. - Type `/` to discover commands, `/sessions` to switch conversations, or `@` to mention an app, MCP server, or saved session. +- Paste clipboard images with `Ctrl+V` or `Alt+V`, and use `$` to complete skill references. +- Use `/diff` to inspect file changes, `/context` to inspect session context, or `/branch` to continue from a completed reply in a new session. - Press `Enter` to send. While nanobot is working, `Enter` sends now and `Tab` sends after the current response. Press `Shift+Enter` to add a newline (`Ctrl+J` works in terminals that cannot distinguish modified Enter keys). - Use `/detach` to leave the current task running, or start with `nanobot gateway --background` when nanobot should stay online after all local clients exit. @@ -254,10 +256,14 @@ Prefer your own infrastructure? Follow the [deployment guide](./docs/deployment. ## ๐ WebUI -The WebUI ships **inside the published wheel** with no separate frontend build. It is the browser workbench for persistent topics, temporary chats, visible agent activity, workspace controls, Apps, Skills, Automations, and settings. +The WebUI ships **inside the published wheel** with no separate frontend build. It is the browser workbench for persistent topics, temporary chats, visible agent activity, workspace controls, Apps, Skills, Automations, and settings. Start it with `nanobot webui`. + +The screenshots below use example conversations, illustrative token counts, and paused schedules.
-
+
+
+
+
+
+
+
+
+
+
+
@@ -278,7 +326,7 @@ See the [WebUI guide](./docs/webui.md) for LAN access, background operation, wor
๐ nanobot stays lightweight by centering everything around a small agent loop: messages come in from chat apps, the LLM decides when tools are needed, and memory or skills are pulled in only as context instead of becoming a heavy orchestration layer. That keeps the core path readable and easy to extend, while still letting you add channels, tools, memory, and deployment options without turning the system into a monolith.
-## ๐ Docs
+## Docs
Browse the [repo docs](./docs/README.md) for the latest features and GitHub development version, or visit [nanobot.wiki](https://nanobot.wiki/docs/latest/getting-started/nanobot-overview) for the stable release documentation.
@@ -311,11 +359,12 @@ The Agency Release turns nanobot from a durable workbench into an agent runtime
## Recent Updates
-- **2026-07-24** Guided first-run setup, inline subagents, and model switching from the composer.
-- **2026-07-23** Grok OAuth with hosted X Search, live image settings, and clearer fallback models.
-- **2026-07-22** Parallel Search, live configuration reloads, richer app discovery, and a smoother mobile WebUI.
-- **2026-07-21** Codex fast mode, visible skill references, safer configuration saves, and sturdier task cleanup.
-- **2026-07-20** Cleaner code blocks and copy actions, self-contained channels, and steadier QQ reconnects.
+- **2026-09-05** ๐ง Visible context-compaction progress in the WebUI, terminal, and chat channels.
+- **2026-09-04** ๐ WebUI context usage and cache reuse shown by conversation round.
+- **2026-08-29** ๐ฅ๏ธ `nanobot` opens the native terminal agent by default.
+- **2026-08-27** ๐ Clipboard image attachments in the native terminal.
+- **2026-08-19** ๐ Session mentions let agents read and message other saved conversations.
+- **2026-08-12** ๐ฅ๏ธ A WebUI workbench with grouped conversation panes and adjustable layouts.
For older updates, see the [release archive](./docs/release-archive.md) or [GitHub releases](https://github.com/HKUDS/nanobot/releases).
diff --git a/docs/release-archive.md b/docs/release-archive.md
index d17a78acb..2caf7ec9d 100644
--- a/docs/release-archive.md
+++ b/docs/release-archive.md
@@ -6,6 +6,50 @@ For tagged releases, see [GitHub Releases](https://github.com/HKUDS/nanobot/rele
## Highlights
+- **2026-09-07** ๐ WeCom media uploads use the SDK API; CI runs tests in parallel and skips unrelated jobs.
+- **2026-09-06** ๐ Context-window usage in the terminal footer and consistent runtime notifications across clients.
+- **2026-09-05** ๐ง Visible context-compaction progress in the WebUI, terminal, and chat channels.
+- **2026-09-04** ๐ WebUI context usage and cache reuse shown by conversation round.
+- **2026-09-03** ๐ Matrix SAS verification fixes, fallback handling for raised provider errors, and recovery from stale WebUI stream state after reconnects.
+- **2026-09-02** ๐ง First-run model setup in the WebUI, improved preset creation and activation, and cleanup of unsaved pane sessions.
+- **2026-09-01** ๐ Terminal drafts typed after submission are preserved; Dream avoids duplicate profile context and gateway listener checks handle platform differences.
+- **2026-08-31** ๐ฌ Rich Telegram streaming previews, cumulative memory summaries, and simpler terminal headers.
+- **2026-08-30** ๐ฌ Email fetches headers before message bodies, DingTalk drains inbound work on shutdown, and reasoning streams close on cancellation.
+- **2026-08-29** ๐ฅ๏ธ The `nanobot` command opens the native terminal agent; OAuth model catalogs are discovered online, with Grok 4.6 subscription support.
+- **2026-08-28** ๐ฅ๏ธ The full terminal UI remains available inside Herdr panes.
+- **2026-08-27** ๐ Clipboard image attachments in the native terminal, smoother paged history, and a model-picker shortcut to settings.
+- **2026-08-26** ๐ MCP readiness retries before turns, stable Codex prompt-cache routing, and detection of rapid same-size file rewrites.
+- **2026-08-25** ๐งฐ Skill-reference completion in the terminal, document retrieval on demand, and waiting for shell sessions without repeated polling.
+- **2026-08-24** ๐ Visible session activity and recovery controls in the terminal, preserved shell state after Ctrl+C, and ordered WebUI follow-ups.
+- **2026-08-23** ๐ฅ๏ธ Named nanobot processes, separate WebUI answer and reasoning sections, and refreshed maintainer and contributor credits.
+- **2026-08-22** ๐ฌ Unified WebUI turn activity, LaTeX rendered as Unicode in the terminal, and retirement of disabled Dream and heartbeat jobs.
+- **2026-08-21** ๐ง DeepSeek V4 vision, terminal `/detach` to keep work running, and retries before switching to a fallback provider.
+- **2026-08-20** ๐ฅ๏ธ New terminal chats use the launch workspace, exit prints a resume command, and standard SOCKS5 proxies are supported.
+- **2026-08-19** ๐ Session mentions let agents read and message other saved conversations, with fixes for transcript retention and invalid compaction summaries.
+- **2026-08-18** โก Faster terminal startup, refreshed expired gateway credentials, and recovery from stalled Telegram polling.
+- **2026-08-17** ๐ฅ๏ธ Native terminal UI with a shared gateway, session navigation, slash commands, and queued follow-ups.
+- **2026-08-16** ๐ OrcaRouter gateway support, atomic model-preset renames, and ordered WebUI mutation replay after reconnects.
+- **2026-08-15** โฐ Cron persistence-failure recovery and replay guards, grouped-tab range selection, and clearer model-preset names.
+- **2026-08-14** ๐๏ธ Dragging topics into and out of pane groups, a native workspace folder picker, and session-file concurrency fixes.
+- **2026-08-13** ๐ DeepSeek V4 Pro Responses support, Gemini tool-history compatibility across model switches, and persisted Weixin QR-login credentials.
+- **2026-08-12** ๐ฅ๏ธ A WebUI workbench with grouped conversation panes and adjustable layouts.
+- **2026-08-11** ๐ฑ Mobile home-screen installation through PWA support, portable Agent Plugins, and visible MCP connection failures.
+- **2026-08-10** ๐ Browser OAuth for remote MCP servers, forced Weixin QR-login fixes, and improved WebUI recovery states.
+- **2026-08-09** ๐๏ธ WebUI guidance for voice input's HTTPS requirement and expanded user-path test coverage.
+- **2026-08-08** โณ Temporary chats in the WebUI, with explicit expiry guidance and cleanup of session-owned shell processes.
+- **2026-08-07** ๐๏ธ Responsive model-preset details, clearer preset deletion controls, and Weixin login and streaming fixes.
+- **2026-08-06** ๐ Drag sessions into composer mentions, save sidebar ordering, and load the WebUI with a smaller initial payload.
+- **2026-08-05** โ๏ธ Provider-native request switches, separate Mattermost thread/channel policies, and outbound WhatsApp media detection.
+- **2026-08-04** ๐ Trusted-proxy authentication, public WebSocket URL configuration, and linked session references.
+- **2026-08-03** ๐ Eden AI gateway support, faster saved-session loading, and fixes for IME input and local-trigger message display.
+- **2026-08-01** ๐ DeepSeek Responses API support, Weixin recovery after session expiry, and explicit provider namespace handling.
+- **2026-07-31** ๐ฌ Slack thread opener isolation, WebUI scroll-position preservation, and timezone data on all platforms.
+- **2026-07-30** ๐งฉ Skills marketplace with SkillHub, remote Codex OAuth login, and preserved reasoning state for Responses providers.
+- **2026-07-29** ๐ฌ WebUI message-delivery status, media references in memory consolidation, and UTF-8 input handling on PowerShell 5.
+- **2026-07-28** ๐งฐ Actionable startup diagnostics and WebUI recovery, SDK host integration hooks, and improved streaming scroll behavior.
+- **2026-07-27** ๐ง Dream model preset overrides and history-integrity fixes; DingTalk sender mentions and an option to disable private chats.
+- **2026-07-26** ๐ฅ๏ธ Fresh desktop installs open the WebUI; channel tool hints are enabled by default, with mobile overflow and file-diff display fixes.
+- **2026-07-25** ๐ Released [v0.3.0 โ The Agency Release](https://github.com/HKUDS/nanobot/releases/tag/v0.3.0), with guided WebUI setup, inline subagents, per-session model presets, and live configuration reloads.
- **2026-07-24** ๐งญ Guided first-run setup, inline subagents, and model switching from the composer.
- **2026-07-23** ๐ Grok OAuth with hosted X Search, live image settings, and clearer fallback models.
- **2026-07-22** ๐ Parallel Search, live configuration reloads, richer app discovery, and a smoother mobile WebUI.
@@ -35,6 +79,7 @@ For tagged releases, see [GitHub Releases](https://github.com/HKUDS/nanobot/rele
- **2026-06-27** ๐ Collision-safe sessions, safer shells, Neonize WhatsApp.
- **2026-06-25** ๐๏ธ Thinking controls, MiMo voice input, opt-in Telegram rich messages.
- **2026-06-24** ๐ Kimi Coding and OpenCode, steadier reasoning and Anthropic tool calls.
+- **2026-06-23** ๐ Added v0.2.2 release news and aligned release announcement dates.
- **2026-06-22** ๐ Released **v0.2.2** โ **The Durability Release** makes nanobot sturdier for daily agent work: segmented WebUI transcripts, first-class Python SDK runtime controls, automation management, richer search/STT providers, and stronger gateway/session/provider reliability. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.2.2) for details.
- **2026-06-21** ๐งฐ Python SDK runtime controls, optional Keenable key, cleaner run hooks.
- **2026-06-20** ๐ฌ Telegram rich messages, safer SDK concurrency, smoother Quick Start.
@@ -45,18 +90,19 @@ For tagged releases, see [GitHub Releases](https://github.com/HKUDS/nanobot/rele
- **2026-06-15** ๐ฑ Mobile WebUI polish, optional file tools, real API usage.
- **2026-06-14** ๐ผ๏ธ Themed cover, partner links, stronger Codex image streaming.
- **2026-06-13** ๐๏ธ Session-bound automations, sturdier WhatsApp, faster WebUI startup.
-
- **2026-06-12** ๐ฌ Slack allowlisted channels can require mentions.
- **2026-06-11** โ๏ธ Fenced-code message splitting.
- **2026-06-10** ๐ Segmented transcripts, Exa/Bocha search, StepFun/SiliconFlow ASR.
- **2026-06-09** ๐๏ธ Shared voice input, more STT providers, TeX and email polish.
- **2026-06-08** ๐งฎ Token heatmap fix, safer MCP HTTP probing, docs cleanup.
+- **2026-06-07** ๐ฌ WhatsApp recognizes group mentions that use LID identifiers.
- **2026-06-06** ๐งฐ SDK MCP cleanup, removable OpenAI image defaults.
- **2026-06-05** ๐ผ๏ธ Azure AAD, custom image providers, `/skill`, steadier pairing.
- **2026-06-04** ๐ MCP reconnects, `uv pip` install fallback, QQ pairing.
- **2026-06-03** ๐ง Hidden-history recovery, quieter email progress handling.
- **2026-06-02** ๐ฌ Email attachments, Napcat QQ, Volcengine search, simpler Dream.
- **2026-06-01** ๐ Released **v0.2.1** โ **The Workbench Release** turns the packaged WebUI into a daily agent workbench: clearer Thought/response timelines, live file-edit activity, project workspaces, model and context controls, steadier sustained goals, CLI Apps + MCP extensions, and broader provider/channel support. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.2.1) for details.
+- **2026-05-31** โฐ Heartbeat skips empty or completed-only task lists; Matrix SAS verification and WebUI code-block language fallback fixes.
- **2026-05-30** ๐ Safer Matrix verification, bounded media downloads, clearer WebUI model timeline.
- **2026-05-29** ๐งฉ Extension registry, context-window tuning, document extraction controls.
- **2026-05-28** ๐๏ธ Project workspaces, access controls, steadier goals and streaming.
diff --git a/docs/webui.md b/docs/webui.md
index 369791de6..745396949 100644
--- a/docs/webui.md
+++ b/docs/webui.md
@@ -2,9 +2,14 @@
-The WebUI is nanobot's browser workbench for persistent topics, temporary
-chats, visible agent activity, workspace controls, Apps, skill discovery,
-settings, and Automations in one place.
+The WebUI is nanobot's browser workbench for persistent topics, grouped
+conversation panes, temporary chats, visible agent activity, workspace controls,
+Apps, skill discovery, settings, and Automations in one place. It shares the
+gateway and saved sessions with the native terminal client.
+
+For a visual tour, see the [README feature gallery](../README.md#-webui).
+This guide follows the current source tree; some features are newer than the
+published release.
The published `nanobot-ai` wheel already includes the WebUI bundle. You only need
the `webui/` source directory when you are changing the frontend itself.
@@ -78,7 +83,9 @@ This path avoids hand-editing `config.json` for normal setup. Use the reference
| Area | Use it for |
|---|---|
| Topics | Start persistent topics or temporary chats; switch, search, reorder, fork, or delete persistent topics |
+| Conversation groups | Arrange up to four independent topics in one workbench with resizable panes |
| Agent activity | See thinking, tool calls, file edits with diffs, command output, and generated artifacts in context |
+| Context usage | Inspect current context size, per-round token and cache usage, and compaction progress |
| Workspace | Pick the project workspace before asking for file or shell work |
| Access | Choose the access mode for local capabilities allowed by your gateway configuration |
| Composer | Send text, images, voice input, slash commands, and `@` mentions for topics, Apps, or MCP presets |
@@ -99,19 +106,51 @@ Drag a topic within its current sidebar group to keep frequently used work in
your preferred order. Drag a topic from the sidebar into the composer when you
want to reference it in the next message instead of switching to it.
-The message timeline shows both user-visible replies and agent activity. Long
-tool or reasoning sections can be expanded when you need the details.
+### Conversation groups and panes
+
+Open a topic's sidebar action menu and choose **Create group** to turn it into
+a conversation group. Use **Add pane** in the workbench header to start another
+topic alongside it. A group holds up to four panes. To bring in an existing
+topic, drag it onto the group or use **Move to** in its action menu.
+
+Use **Pane layout** to choose columns, rows, a grid, BSP, or a main pane with a
+stack. Drag a divider to resize panes. Each pane has its own conversation;
+select one to direct the shared composer to that topic. Group membership and
+layout persist across refreshes. Grouping topics does not merge their histories.
+
+To bring another topic's work into a conversation, select it from the `@` menu
+or drag it from the sidebar into the composer. The agent can read the selected
+session and exchange messages with other saved sessions. See [Composer](#composer)
+for the distinction between an attached reference and plain text.
+
+### Activity and context usage
+
+The message timeline shows replies and agent activity. Expand the **Worked for**
+section to inspect the reasoning and tool activity for a completed turn.
When the agent writes or edits files, the activity item shows the target path,
-status, changed line counts, and, when available, a unified diff. Use **View
-diff** to expand the change; large diffs may hide unchanged lines or truncate the
-inline preview. Use **Open file** from a file edit to open the read-only file
-preview panel.
+status, and changed line counts. Choose **Settings โ Appearance โ File edit
+display** to control the detail: **Summary** shows the change summary, **Diff**
+shows available unified patches inline, and **Collapsed diff** lets you expand
+them with **View diff**. Large diffs may hide unchanged lines or truncate the
+inline preview. Select the filename in the activity row to open the read-only
+file preview panel.
File previews follow the active topic's access mode. Restricted workspace access
previews only files under the selected workspace. Full Access can preview files
outside the workspace when that access mode is allowed by the gateway.
+Open the context indicator beside the composer model badge to see how much of
+the model's context window is in use. The **Recent rounds** chart shows input
+tokens for each logical model round, including tool-call rounds. Hover or focus
+a bar for input tokens, output tokens, generation time, and the KV cache hit
+rate when reported. Provider usage may be estimated or unavailable; these
+figures are not a billing statement.
+
+When nanobot compacts context, the timeline shows its progress and outcome.
+The compacted summary keeps earlier work available while recent messages remain
+in context. See [Memory](./memory.md) for compaction and Dream consolidation.
+
## Temporary Chats
Use a temporary chat for a conversation that should not be added to nanobot's
diff --git a/images/nanobot-apps.png b/images/nanobot-apps.png
new file mode 100644
index 000000000..c41b97557
Binary files /dev/null and b/images/nanobot-apps.png differ
diff --git a/images/nanobot-automations.png b/images/nanobot-automations.png
new file mode 100644
index 000000000..1e3f7f4e0
Binary files /dev/null and b/images/nanobot-automations.png differ
diff --git a/images/nanobot-context.png b/images/nanobot-context.png
new file mode 100644
index 000000000..1ff0b1725
Binary files /dev/null and b/images/nanobot-context.png differ
diff --git a/images/nanobot-workbench.png b/images/nanobot-workbench.png
new file mode 100644
index 000000000..69fff50f6
Binary files /dev/null and b/images/nanobot-workbench.png differ
diff --git a/images/nanobot_webui-source.png b/images/nanobot_webui-source.png
new file mode 100644
index 000000000..9ee721c3d
Binary files /dev/null and b/images/nanobot_webui-source.png differ
diff --git a/images/nanobot_webui.png b/images/nanobot_webui.png
index 31ddf5bee..95cae46d4 100644
Binary files a/images/nanobot_webui.png and b/images/nanobot_webui.png differ