低资源占用,灵活个人助手
为nanobot打分
给出您宝贵的评分:
相关产品
手机端可长按图片保存,分享到朋友圈 / 社群
使用 nanobot,你可以:
nanobot 是超轻量级个人 AI 智能体,资源占用极低、部署灵活,专注轻量交互、日程管理、信息查询等个人任务,适配多平台。
用户评论 (0)
2026年02月06日
2026年02月06日
2026年03月17日
2026年02月04日
2026年04月07日
2026年02月06日
2026年02月03日
2026年11月03日
2026年10月26日
2026年10月23日
2026年10月21日
2026年10月16日
2026年10月07日
2026年10月06日
v0.4.0
2026年10月28日
🐈 nanobot v0.4.0 makes everyday work easier to continue — with durable conversation history, a more capable workbench, and a clearer path to the next update.
Keep moving. The gateway now stores model history and browser transcripts in SQLite, imports existing conversations, and coordinates updates around saved state. Stable and opt-in Preview releases share one update flow, with explicit confirmation before installation and restart.
The browser workbench is easier to navigate and connect: complete prompt-history navigation, remote instances, clearer delegated-task details, richer attachments, and more consistent mobile controls. The terminal gains Mermaid diagram viewing and target-specific native bundles. Both clients continue to use the same Python gateway.
This release also makes installation ownership explicit. Supported managed installations can update and recover the program through the app; other installations receive instructions for their original package manager or deployment. Recovery does not mean restoring an old copy of your chats. Please read the upgrade notes before replacing an existing installation.
Highlights
- One update flow, with your confirmation — Check releases in Settings → About, choose whether to receive Preview updates, review the exact version, and confirm installation and restart. Supported official-installer and POSIX uv environments can use the in-app flow once the public release has verified approval proof.
- Recovery that protects current data — Installer-managed updates can attempt repair and, when safe, restore the original program and service. Configuration and conversations are not automatically replaced with an older backup. Installation owners outside that flow keep their own repair route.
- Durable conversation history — SQLite brings model history and WebUI display history under gateway ownership. Existing JSONL history is imported with source backups retained. Paging, live-output reconciliation, queued follow-ups and goal continuation receive reliability fixes.
- A clearer browser workbench — Navigate the full prompt history with bounded loading, search loaded messages and session handles, rename topics inline, and archive topics in batches. Delegated tasks have clearer run state and detail views.
- Your workbench, on the right host — Connect to existing remote instances with explicit host identity, pairing and reconnect feedback. Update instructions identify the gateway computer, rather than assuming it is the device displaying the page.
- Richer files and a better small-screen experience — Local-file and video attachments, image thumbnails, file cards, Markdown source views, reading-size controls, and touch and theme improvements. External websites open in the browser instead of an arbitrary embedded preview.
- Diagrams in the terminal — View, zoom, pan and copy Mermaid diagrams without leaving the conversation. Platform wheels contain the matching native TUI and built WebUI; supported wheel installations need neither Bun nor a first-launch TUI download.
- More control over models and integrations — Searchable providers, explicit API choices, per-preset request overrides, shared proxy choices, Linear and WhatsApp Agent Platform channels, QQ QR setup, and DeepSeek Search. Scheduled jobs can be edited, enabled and disabled in place, with recent runs available for inspection.
- A fix for Windows idle memory growth — Process-status polling now reuses native type and API bindings on Python versions before 3.14, while keeping live process checks and handle cleanup.
Upgrade Notes
- Distribution availability. The verified v0.4.0 packages are available in this GitHub Release and on PyPI. In-app automatic installation is not enabled for this release yet: it requires verified release approval proof and the applicable public release sources. Publishing these files does not enroll users in Preview or start an update.
- Upgrade v0.3.5 through its original installation method first. That release does not contain this new in-app updater. Run the installer, package manager or container replacement on the gateway computer under its original OS account. Existing installations are not silently converted into official-installer environments. Follow the installation-owner instructions, including recorded extras, constraints and custom options.
- Stop shared writers and back up the complete instance. Finish active work, stop all nanobot processes using the environment or data, and back up the selected configuration directory and workspace together. Include authentication, sessions and WebUI state. Do not copy only a live SQLite database file. After upgrading, use the original launcher, check the running version, open older conversations, write a new message and verify another restart.
- SQLite changes the downgrade procedure. JSONL import remains available throughout 0.4.x; older JSONL-only installations must pass through an import-capable release before 0.5.0. Keep imported source backups and the old WebUI directory. Older versions cannot read new SQLite display history. A downgrade requires a stopped-writer backup-restoration procedure that accounts for messages created since the backup; it is not an automatic data rollback. See Session Storage.
- An update can restart the gateway. Confirming installation can interrupt running tasks. Turning Preview off saves the subscription but does not downgrade an installed Preview. Recovery cannot guarantee service restoration after permanent storage damage, incompatible data writes, or loss of both recovery processes. Missing or unverifiable public assets must not be treated as a successful install. See Updating nanobot.
- Fresh official-installer instances stay in the background. Their normal WebUI launcher starts a persistent instance. Closing the terminal or browser does not stop it; use
nanobot gateway stopwith the same configuration and workspace selectors. Existing unrecorded installations retain their original lifecycle. Local macOS WebUI sessions can show a Dock icon;--no-docksuppresses it. - Review migrated configuration before saving. Legacy proxy conversion remains supported in 0.4.x. The old OpenAI
apiType/api_typeselector is converted toapiin 0.4.0 and the immediately following release; save the current format during that window. See Configuration. - Platform requirements remain explicit. Python 3.11+ is required. Native wheels target macOS 13+ arm64/x64, glibc 2.17+ Linux arm64/x64, and Windows x64; x64 requires SSE4.2. Windows ARM64 and musl Linux do not have native wheels. Chinese terminal diagrams require suitable installed fonts: Heiti SC on macOS, Noto Sans CJK on Linux, or Microsoft YaHei on Windows. Diagram source remains accessible if rendering is unavailable.
- Keep container data volumes and reconnect clients. Replace the container through its deployment owner; do not upgrade packages inside a running container. Reconnect or reload WebUI/TUI clients after upgrading the intended gateway, and follow any client/host compatibility guidance shown.
Community
Thank you to everyone who contributed code, reviewed changes, reported problems, supplied reproductions and tested nanobot in everyday use. Clear bug reports and useful use cases remain important contributions. We want the agent to stay small and inspectable while becoming easier to rely on for daily work.
What's Changed
- docs: refresh README WebUI screenshots by @chengyongru in #5789
- fix(tui): keep input responsive during agent output by @chengyongru in #5791
- fix(cron): reject past one-time schedules in the cron tool by @FanouZeng-TT in #5762
- fix(cron): reject conflicting schedule fields by @FanouZeng-TT in #5766
- fix(memory): preserve full consolidation input by @dajiaohuang in #5379
- fix(api): require boolean stream values by @FanouZeng-TT in #5765
- fix(agent): serialize and batch per-session messages by @chengyongru in #5792
- fix(channels): drop compaction notices on channels without an in-place affordance by @AlfredChaos in #5799
- fix(webui): hide model details until AI setup is complete by @Re-bin in #5802
- feat(discord): add replyToMessage parity with Telegram by @ZedingZhang in #5800
- fix(webui): show all channels when only WebUI is enabled by @chengyongru in #5810
- fix(agent): run explicit recovery continuations by @chengyongru in #5812
- feat(channels): add native Linear agent channel by @chengyongru in #5495
- feat(webui): polish provider setup and unify settings controls by @Re-bin in #5816
- chore: remove CLAUDE.md by @chengyongru in #5818
- fix(agent): discard stopped follow-up recovery journal by @yu-xin-c in #5809
- fix(webui): remove intermediate answer footer gap by @chengyongru in #5814
- refactor: remove expired write_stdin compatibility by @chengyongru in #5822
- refactor(webui): unify live and replay event projection by @chengyongru in #5819
- feat(webui): show persisted fallback preset on replies by @Re-bin in #5827
- fix(agent): remove local context tail truncation by @chengyongru in #5820
- docs: refresh v0.3.5 release information by @chengyongru in #5828
- refactor(webui): remove legacy message projection by @chengyongru in #5823
- test(agent): fix response-source CI contract by @chengyongru in #5835
- fix(webui): make OAuth reauthentication actionable by @Re-bin in #5836
- fix(agent): respect temporary chat privacy in tool execution by @Re-bin in #5841
- fix(webui): prevent mobile sidebar tooltip and double-tap navigation by @Re-bin in #5839
- fix(webui): retain temporary chats across navigation by @Re-bin in #5837
- fix: improve log reliability and request correlation by @chengyongru in #5840
- fix(tui): make Markdown links clickable by @chengyongru in #5829
- fix(webui): clarify queued guidance delivery by @chengyongru in #5844
- Remove queued send hint by @chengyongru in #5860
- fix(webui): wrap Markdown table content by @chengyongru in #5862
- feat(webui): streamline contextual message controls by @chengyongru in #5831
- fix(exec): invoke quoted Windows executable without arguments by @Xalzeroph in #5868
- fix(tools): handle boolean JSON subschemas during argument validation by @KailBug in #5859
- fix(files): decode BOM-marked text correctly by @Xalzeroph in #5867
- fix(tools): keep searches scoped and results resumable by @chengyongru in #5876
- fix: isolate maintenance-session compaction notifications by @chengyongru in #5874
- refactor(tools): build grep context pages incrementally by @chengyongru in #5877
- refactor(utils): dedupe atomic JSONL write helper (Closes #5290) by @Frank-zhu0404 in #5873
- fix(agent): log mid-turn injected messages by @chengyongru in #5878
- docs: correct context compaction behavior and document /compact by @chengyongru in #5882
- fix(webui): clear stale restart prompt after reconnect by @chengyongru in #5813
- fix(agent): preserve state for required Codex compaction by @chengyongru in #5883
- feat(linear): improve native agent UX by @chengyongru in #5871
- fix(providers): preserve image inputs for deepseek-flash by @KailBug in #5886
- refactor(dingtalk): use streaming media downloads in tests and runtime by @chengyongru in #5889
- fix(cli): reuse WebUI model discovery in onboarding by @chengyongru in #5888
- refactor(tools): remove unused global file state compatibility by @chengyongru in #5893
- refactor(api): use typed application state consistently by @chengyongru in #5892
- refactor(webui): clear turns only through the owner registry by @chengyongru in #5891
- fix(webui): require handshake headers for Full Access eligibility by @chengyongru in #5890
- fix(cli): explain session storage conflicts before startup by @chengyongru in #5887
- feat(webui): unify session file and website previews by @Re-bin in #5847
- feat(webui): invite returning users to star nanobot by @chengyongru in #5895
- fix(providers): backfill missing reasoning history for deepseek-flash by @KailBug in #5894
- fix(tools): keep read_file progressing on oversized lines by @FanouZeng-TT in #5824
- refactor: remove unused helpers and internal exports by @chengyongru in #5897
- feat(webui): add completion notification sound by @0717lee in #5602
- fix(webui): allow custom context window token budgets by @chengyongru in #5901
- fix(agent): report background task failures by @yu-xin-c in #5431
- fix(discord): clean up reaction state on stop by @yu-xin-c in #5807
- fix(matrix): reply to the room-level user event that started the turn by @michaelxer in #5292
- perf(webui): improve chat refresh and mobile interactions by @chengyongru in #5904
- fix(webui): keep global page URLs clean and defer chat mounting by @chengyongru in #5905
- feat(webui): localize agent activity by @ZhouJ-sh in #5367
- test: consolidate redundant coverage across the test suite by @chengyongru in #5907
- fix(webui): preserve composer drafts across navigation and reloads by @chengyongru in #5912
- feat(linear): manage member access and simplify workspace connections by @Re-bin in #5919
- fix(mcp): load all pages of server tools before registration by @KailBug in #5916
- fix(providers): preserve optional tool parameters in Responses requests by @chengyongru in #5938
- fix(providers): stop Responses streams at terminal events by @chengyongru in #5937
- fix(weixin): silence polling request logs by @Shizoqua in #5936
- fix(webui): unblock earlier-history pagination and show retry states by @chengyongru in #5934
- feat(webui): polish the GitHub star invitation by @Re-bin in #5944
- fix(providers): expose GPT-6 Sol and Luna in Codex model discovery by @bingqilinweimaotai in #5940
- fix(tui): restore saved session history from canonical events by @chengyongru in #5950
- feat(tools): use installed ripgrep for native file search by @chengyongru in #5948
- fix(tokens): warm fallback tokenizer in background by @chengyongru in #5861
- docs: refresh contributors and preserve historical credits by @chengyongru in #5951
- fix(webui): restore Codex title generation and diagnose API failures by @chengyongru in #5952
- fix(web): propagate web_fetch failures as structured tool errors by @KailBug in #5949
- fix(tui): keep unknown terminal themes readable by @chengyongru in #5958
- fix(tui): animate status with unknown terminal theme by @chengyongru in #5959
- fix(tui): align controls and header with transcript by @chengyongru in #5964
- fix(tui): keep overflow picker choices reachable by @chengyongru in #5966
- fix(agent): require subagent consolidator at construction by @chengyongru in #5969
- refactor(tui): organize source by feature boundaries by @chengyongru in #5975
- fix(my): scope subagent snapshots to the current session by @chengyongru in #5976
- fix(providers): honor configured fallbacks on "insufficient credits" by @CarmeloCampos in #5968
- Correct misleading Taiwanese WebUI messages by @PeterDaveHello in #5982
- fix(tui): accept goal requests during active turns by @chengyongru in #5981
- fix(tools): preserve PATH for argument-vector commands by @chengyongru in #5986
- fix(codex): avoid release-pinned model catalog filtering by @Fatih0234 in #5984
- fix: stop sending context compaction notifications by @wzrayyy in #5780
- fix(cli): avoid duplicate WebUI config announcement by @chengyongru in #5988
- fix(webui): stop repairing completed Markdown by @chengyongru in #5989
- fix(webui): keep completed turns terminal across late events by @chengyongru in #5991
- docs: streamline project instructions and engineering constraints by @chengyongru in #5996
- refactor: remove unused runtime and WebUI helpers by @chengyongru in #5999
- feat(webui): connect to existing remote nanobot instances by @Re-bin in #5941
- fix(webui): preserve TeX formula boundaries in streaming Markdown by @chengyongru in #5990
- fix(agent): preserve explicitly empty tool registries by @KailBug in #5994
- fix(cron): preserve pending actions until store save succeeds by @yu-xin-c in #5933
- fix(exec): enforce session hard timeouts without polling by @KailBug in #5957
- fix(linear): reject stale member access updates after reauthorization by @KDB-Wind in #5997
- fix(agent): clear stale failure state when resuming runner iterations by @KailBug in #5995
- fix(tools): preserve valid JSON Schema union arguments by @KailBug in #5918
- fix(webui): prevent Windows manifest read/replace races by @chengyongru in #6016
- fix(tools): preserve separator whitespace in inline replacements by @KailBug in #5796
- fix(tools): preserve indentation in newline-terminated fallback edits by @KailBug in #5795
- fix: 创建文件时保留原始换行,避免 Windows 重复回车 by @2gg-bit in #5925
- refactor(session): decouple history tools from WebUI replay by @chengyongru in #6017
- fix(telegram): keep link URLs intact when rendering Markdown to HTML by @Bdysj in #5960
- fix(slack): keep full text of button messages beyond 3000 chars by @Bdysj in #5961
- fix: 保留 Telegram 命令的换行参数和邮箱内容 by @2gg-bit in #5931
- fix: 邮件正文字符集未知时回退解码,避免中断收件轮询 by @2gg-bit in #5928
- fix: 通知评估器拒绝非布尔值,避免将字符串 false 视为通知许可 by @2gg-bit in #5927
- fix(cron): reject non-positive every_seconds intervals by @Bdysj in #5962
- fix(providers): sum compound durations in 'try again in' retry hints by @Bdysj in #5963
- fix: 执行 null 参数的类型和枚举校验 by @2gg-bit in #5965
- fix: 避免网页抓取将大小写不同的 URL 误判为重复请求 by @2gg-bit in #5926
- fix(webui): provide iOS PWA top-edge color surface by @Re-bin in #5942
- fix(tools): scope recursive directory ignores to listed root by @RaycarlLei in #5793
- fix(api): return 400 for invalid multimodal field types by @FanouZeng-TT in #5763
- feat(webui): mobile keyboard input and streaming send by @morandot in #5640
- fix(webui): hide unavailable website preview actions by @Re-bin in #6021
- fix(webui): keep touch navigation visible above the keyboard by @Re-bin in #6022
- fix(webui): enlarge preview controls on touch devices by @Re-bin in #6023
- fix(cli-apps): preserve XDG_RUNTIME_DIR for desktop CLIs by @KevinAndrewDong in #6030
- fix(webui): keep edit diffs visible and distinguish file creation by @chengyongru in #6049
- fix(webui): keep composer palettes inside the mobile viewport by @Re-bin in #6052
- fix(webui): fit session search above the mobile keyboard by @Re-bin in #6053
- fix(webui): avoid automatic zoom when focusing mobile text fields by @Re-bin in #6055
- fix(webui): make sidebar actions discoverable on touch devices by @Re-bin in #6056
- fix(webui): restore sidebar menu focus on Escape by @Re-bin in #6058
- fix(webui): restore sidebar focus after submenu Escape by @Re-bin in #6059
- fix(providers): preserve temperature for compatible reasoning models by @qingshungLI in #6005
- docs(memory): correct Git layout and history search example by @Excelius-Wang in #6054
- fix(webui): dismiss mobile sidebar on current topic selection by @Re-bin in #6061
- feat(subagent): add session-owned task messaging and cancellation by @chengyongru in #5985
- fix(webui): restore CJK line height and refine text wrapping by @chengyongru in #6073
- fix(documents): read cells beyond declared XLSX dimensions by @takiAA in #6060
- feat(webui): unify icons and refine interaction feedback by @chengyongru in #6074
- fix(mcp): let streamable HTTP read timeout cover tool_timeout by @maxmilian in #6066
- fix(webui): fit wide equations and refine math spacing by @chengyongru in #6075
- test: isolate Star invitation state and stabilize late-result waits by @chengyongru in #6076
- feat(webui): show commit and prefill bug report diagnostics by @chengyongru in #6080
- feat(webui): choose the chat for scheduled tasks by @Re-bin in #6057
- refactor(ui): replace middle-dot separators with clearer hierarchy by @chengyongru in #6087
- feat(webui): add catalog loading skeletons by @chengyongru in #6092
- fix(webui): improve destructive contrast in dark mode by @Wenyan0315 in #6095
- fix(tui): prioritize slash command name matches by @chengyongru in #6098
- fix(webui): render CJK bold labels before Latin text by @chengyongru in #6099
- feat(providers): share Responses backend with Codex WebSocket continuation by @chengyongru in #6096
- fix(webui): upload TUI and WebUI attachments over binary HTTP by @chengyongru in #5980
- ci: reduce test runtime while preserving coverage by @chengyongru in #6101
- fix(webui): correct SkillHub skill detail links by @Re-bin in #6102
- feat(webui): add a column directory picker and streamline composer actions by @chengyongru in #6089
- fix(providers): prepare inline image batches and recover Codex transport by @chengyongru in #6107
- fix(commands): keep slash-prefixed paths in normal chat by @Re-bin in #6108
- feat(qq): show the agent the message a user quoted by @GZY-SUPER-HACKER in #6007
- fix(webui): keep CJK prose outside bold URL links by @chengyongru in #6115
- fix(webui): simplify existing copy across all locales by @chengyongru in #6116
- docs(agents): add interface copywriting guidance by @chengyongru in #6117
- chore(linear): format Chinese locale JSON by @chengyongru in #6119
- feat(models): declare request APIs for providers and presets by @chengyongru in #5204
- fix(whatsapp): normalize neonize timestamps before replay filtering by @jipeng6036-del in #6127
- docs: refresh stale runtime comments and docstrings by @chengyongru in #6129
- feat(cli): add --home instance directory selector by @chengyongru in #6128
- docs: remove manual paragraph line wraps by @chengyongru in #6131
- test: align test names with current assertions by @chengyongru in #6130
- fix(security): pin validated DNS for bytes hostnames by @wkdddd in #6069
- fix(deepseek): map minimal reasoning effort to low by @ZedingZhang in #6132
- fix(webui): clarify Chinese temporary chat tooltip by @chengyongru in #6144
- feat(webui): improve model and provider settings UX by @chengyongru in #6145
- fix(agent): report current workspace access before tool use by @Re-bin in #6113
- fix(webui): support WSL browser launch and clearer startup output by @chengyongru in #6150
- fix(channels): remove retired outbound metadata compatibility by @chengyongru in #6169
- refactor(command): declare session queue policy at registration by @chengyongru in #6170
- fix(providers): honor disabled thinking for supported GLM models by @KailBug in #6155
- fix(providers): preserve disabled reasoning for MiMo Responses by @KailBug in #6156
- test(providers): separate EOF checks from stream timing by @chengyongru in #6174
- fix(webui): allow switching Default permissions back to Full Access by @chengyongru in #6175
- fix(image): use standalone Codex Images API by @chengyongru in #6177
- feat(models): add per-preset request overrides by @Re-bin in #6159
- fix(webui): place web proxy with web access settings by @Re-bin in #6161
- fix(webui): keep settings restarts out of chat history by @Re-bin in #6162
- fix(feishu): restore assistant creation and pairing recovery by @Re-bin in #6157
- refactor(agent): compose image tools in application runtimes by @chengyongru in #6172
- feat(images): reuse named connections and image request settings by @Re-bin in #6160
- feat(skills): explain nanobot usage from bundled documentation by @chengyongru in #6176
- refactor: isolate runtime contracts and enforce import boundaries by @chengyongru in #6166
- fix(documents): preserve empty PPTX table columns by @maxazure in #6181
- refactor(webui): separate presentation views and expand component gallery by @chengyongru in #6179
- refactor(tools): streamline built-in tool descriptions by @chengyongru in #6201
- refactor: remove unused internal code and styles by @chengyongru in #6193
- refactor: deduplicate durable writes and file-edit path resolution by @chengyongru in #6204
- fix(webui): prevent equation tags from overlapping formulas by @chengyongru in #6205
- refactor(transcription): share JSON request retries by @chengyongru in #6206
- refactor(webui): remove session list previews and timestamps by @chengyongru in #6189
- fix(webui): require double tildes for strikethrough by @chengyongru in #6207
- fix(webui): send same-origin cookies with uploads by @DKlaper in #6198
- fix(webui): restore and synchronize live activity sheen by @chengyongru in #6209
- perf(webui): stream bounded file diff previews by @chengyongru in #6208
- fix(providers): preserve supported Kimi K3 reasoning efforts by @KailBug in #6210
- fix(webui): remove subtask polling and load error UI by @chengyongru in #6212
- feat(webui): expand MCP service presets by @chengyongru in #6216
- fix(webui): give media gallery components distinct examples by @chengyongru in #6190
- perf(agent): reuse skill discovery within each prompt by @chengyongru in #6217
- fix(skills): bind plugin snapshots to approved content by @chengyongru in #6225
- fix(exec): reject shell paths with unresolved home directories by @chengyongru in #6222
- fix(session): serialize compaction with active turns by @chengyongru in #6221
- perf(agent): skip transcript snapshots without run hooks by @chengyongru in #6218
- fix(sdk): validate imported messages before session changes by @chengyongru in #6219
- perf(providers): estimate missing usage outside the event loop by @chengyongru in #6220
- fix(gateway): retain tasks for staged signal shutdown by @chengyongru in #6223
- fix(ui): keep theme text and selections readable by @chengyongru in #6226
- fix(agent): make tool error guidance neutral by @chengyongru in #6227
- fix(agent): trim redundant system prompt context by @chengyongru in #6233
- fix(exec): filter terminal control sequences from shell output by @chengyongru in #6235
- refactor(skills): shorten built-in skill descriptions by @chengyongru in #6236
- fix(cli): set SPT_NOENV only on Linux by @cristianchiriac in #6232
- feat(provider): langfuse tracing for codex by @akinolur in #5520
- fix(cli): reject misplaced gateway instance selectors by @chengyongru in #6229
- fix(webui): keep sheet close focus rings keyboard-only by @chengyongru in #6239
- fix(webui): avoid blocking the gateway on skill loading by @chengyongru in #6241
- fix(webui): reconcile turns after reconnect by @chengyongru in #6211
- perf(agent): prepare prompts outside the event loop by @chengyongru in #6224
- fix(webui): resume queued prompts after turn completion by @chengyongru in #6242
- fix(webui): space other tasks from following messages by @chengyongru in #6243
- fix(shell): separate wait, idle, and runtime limits by @chengyongru in #6228
- fix(webui): load history for running sessions by @chengyongru in #6245
- fix(webui): preserve custom shell runtime editing by @chengyongru in #6244
- refactor(webui): centralize client run lifecycle state by @chengyongru in #6246
- refactor(settings): preserve domain controller objects by @chengyongru in #6249
- perf(webui): avoid subtree style invalidation while typing by @chengyongru in #6250
- refactor(providers): remove duplicate chat response parsers by @chengyongru in #6248
- refactor(cli): use Questionary for onboarding selection by @chengyongru in #6251
- fix(webui): preserve sidebar state after failed initial fetch by @Oxygen56 in #6009
- Require dulwich>=0.24.0:
GitStore.diff_commitsusesporcelain.diffby @hazelxue in #6252 - fix: preserve subtask request attribution after restart by @chengyongru in #6247
- refactor(session): centralize state ownership in SQLite by @chengyongru in #5943
- fix(webui): hide recovery notice while resumed tasks run by @chengyongru in #6255
- fix(webui): hide provider models past OpenAI shutdown_date by @gianfrancodemarco in #5979
- fix(consolidation): trigger compaction from reported usage, not just tiktoken estimates by @Muzhen2000 in #6260
- fix(channels): retain scheduled results across pre-send outages by @Re-bin in #6266
- docs(automations): keep Markdown paragraphs on one line by @chengyongru in #6272
- fix(webui): use file-type icons in file change activity by @chengyongru in #6257
- fix(webui): keep CLI Apps reads off the event loop by @chengyongru in #6275
- feat(webui): preview Markdown files with a source toggle by @Re-bin in #6274
- fix(webui): align mention overlay spacing with the native caret by @chengyongru in #6277
- refactor(agent): deduplicate model request preparation by @chengyongru in #6278
- fix(webui): preserve list semantics around links by @chengyongru in #6276
- fix(webui): keep search activity summaries on one line by @chengyongru in #6281
- feat(webui): rename sidebar topics inline by @chengyongru in #6279
- test: replace false-green checks with behavioral coverage by @chengyongru in #6282
- feat(channels): add WhatsApp Agent Platform channel by @CarmeloCampos in #6152
- fix(media): keep Unicode upload names within the filesystem byte limit by @shoaibulhaque in #6253
- fix(web): handle case-insensitive image media types by @fhgffy in #6197
- fix(documents): skip chart-only sheets when reading XLSX files by @lux-liang in #6097
- fix: preserve XLSX grep cell locators with literal tabs by @rudycelekli in #6183
- fix(documents): preserve complete PDF pages across reads by @takiAA in #6093
- fix(webui): make full chat navigation scrollable and efficient by @Re-bin in #6293
- fix(telegram): detect remote media types with queries by @gianfrancodemarco in #6124
- fix(telegram): render tilde and longer code fences as code by @huiq777 in #5911
- fix(napcat): keep a message whose image declares a non-numeric file_size by @Lesereingrape in #5914
- fix(email): exclude attached messages from body extraction by @fhgffy in #6186
- fix(deepseek): align model capabilities with the official API by @chengyongru in #6283
- fix(session): preserve Unicode separators during JSONL migration by @GoldArowana in #6292
- fix(email): preserve attachments with colliding filenames by @fhgffy in #6184
- fix(agent): preserve separators in streamed inline reasoning by @ningyixi in #6270
- fix(providers): preserve the first SSE event with a leading UTF-8 BOM by @pei711 in #6050
- fix(tools): accept integral JSON numbers for integer parameters by @shoaibulhaque in #6254
- fix: use JSON equality for enum validation by @KennyMcSimpson in #6013
- fix(mcp): prevent credential leakage in discovery error logs by @wkdddd in #6067
- fix(mcp): connect to servers without tool capabilities by @pei711 in #6019
- fix(mcp): discover all resource and prompt pages by @pei711 in #6018
- fix(cron): keep pending interval runs across gateway restarts by @Hugo-DDT in #6167
- fix(cron): preserve schedules edited during execution by @fhgffy in #6071
- docs: make user guidance easier to follow by @chengyongru in #6297
- fix(webui): keep unbranded app initials readable by @chengyongru in #6295
- fix(webui): restore symmetry of the settings gear by @chengyongru in #6298
- fix(session): prevent consumed follow-ups from replaying after restart by @chengyongru in #6299
- fix(docker): make first-run Compose services usable by @LuckVd in #6171
- perf(webui): reuse versioned history navigation snapshots by @chengyongru in #6301
- fix(webui): show route-aligned skeletons from first paint by @chengyongru in #6303
- feat(tools): add DeepSeek Search as a web_search provider by @morandot in #6294
- fix(webui): isolate transcript replay from live observers by @chengyongru in #6306
- feat(webui): render Mermaid diagrams with Pele by @chengyongru in #6302
- test(webui): await rendered canonical reconciliation by @chengyongru in #6307
- fix(webui): merge consecutive waiting messages by @chengyongru in #6309
- fix(webui): align provider parameter row typography by @chengyongru in #6310
- fix(webui): recognize typed session handles as references by @chengyongru in #6311
- fix(webui): make browser notification failures actionable by @Re-bin in #6158
- perf(ci): shorten WebUI feedback latency by @chengyongru in #6326
- fix(webui): restore full-project typechecking by @chengyongru in #6327
- fix(webui): add spring feedback at the history boundary by @chengyongru in #6322
- feat(webui): add reading text size preferences by @chengyongru in #6325
- fix(webui): localize the component gallery by @chengyongru in #6330
- fix(webui): keep zoomed Mermaid images sharp by @chengyongru in #6332
- fix(webui): hide exhausted history hints at rest by @chengyongru in #6334
- test(webui): synchronize touch composer typography snapshots by @chengyongru in #6335
- feat(tui): render Mermaid diagrams as terminal images by @chengyongru in #6320
- feat(qq): add QR scan connection for QQ bots by @bingqilinweimaotai in #6333
- fix(webui): show skeleton while conversation history loads by @chengyongru in #6338
- fix(agent): skip subagent sessions during idle compaction by @chengyongru in #6339
- fix(webui): recover model failures and align chat controls by @Re-bin in #6329
- fix(webui): stabilize transcript while typing multiline drafts by @chengyongru in #6354
- fix(gateway): request graceful Windows shutdown by @chengyongru in #6353
- fix(webui): stabilize earlier-history loading and reclaim space by @chengyongru in #6349
- ci: reduce Python test overhead and Windows latency by @chengyongru in #6357
- test(webui): respect history top-edge tolerance by @chengyongru in #6362
- refactor(session): unify model and display history storage by @chengyongru in #6336
- fix(webui): render cross-session inputs as left-aligned bubbles by @chengyongru in #6369
- fix(webui): preserve answer checkpoints and stream order by @chengyongru in #6368
- feat(update): integrate managed installs and recoverable in-app updates by @Re-bin in #6168
- fix(webui): synchronize neutral Ring sidebar activity indicators by @chengyongru in #6371
- fix(webui): keep version checks on the gateway event loop by @chengyongru in #6376
- ci: scope native acceptance and bind release candidate artifacts by @chengyongru in #6378
- fix(webui): remove Mermaid preparation status text by @chengyongru in #6380
- fix(webui): admit history without dropping live output by @chengyongru in #6373
- fix(webui): preserve cross-session provenance at display persistence by @chengyongru in #6379
- fix(webui): parse CJK emphasis at delimiter boundaries by @chengyongru in #6381
- fix(qq): clarify QR binding states and setup actions by @chengyongru in #6340
- fix(agent): finalize stopped turns without checkpoints by @chengyongru in #6382
- fix(exec): yield long-running commands by default by @chengyongru in #6385
- fix(webui): save settings when editing completes by @chengyongru in #6384
- feat(webui): configure idle compaction timeout by @chengyongru in #6383
- fix(ci): classify known test fixtures by validation consumers by @chengyongru in #6387
- fix(webui): preserve file edit stats and left-truncate long paths by @chengyongru in #6388
- fix(compaction): align native lifecycle and reconcile replay notices by @chengyongru in #6386
- fix(webui): restore messages after batched visibility changes by @chengyongru in #6390
- feat(network): centralize proxy settings and add MCP routing by @chengyongru in #6372
- feat(webui): distinguish context compaction reasons by @chengyongru in #6389
- refactor(webui): use native link actions and remove website previews by @chengyongru in #6391
- fix(webui): offer restart in installed channel rows by @chengyongru in #6392
- test: remove unreachable cases and strengthen weak assertions by @chengyongru in #6394
- fix(webui): keep restored waiting messages manual by @chengyongru in #6393
- feat(attachments): support local files and video attachments by @chengyongru in #6321
- fix(webui): clarify OAuth callback instructions across locales by @Re-bin in #6396
- fix(webui): check for updates only after opening About by @chengyongru in #6397
- fix(webui): preserve dollar prefix in skill references by @chengyongru in #6398
- fix(webui): refine sidebar icon consistency and spacing by @chengyongru in #6400
- ci: isolate Test Suite runs by revision by @chengyongru in #6402
- perf(webui): animate segmented indicator without layout by @chengyongru in #6403
- fix(mcp): remove Figma remote preset and open management by @chengyongru in #6399
- fix(webui): keep missing pasted paths silent by @chengyongru in #6408
- fix(web): report ambiguous ddgs failures as unavailable by @chengyongru in #6409
- ci: reuse isolated pip seeds and parallelize native acceptance by @chengyongru in #6395
- fix(tui): submit prompts with Kitty keypad Enter by @dajiaohuang in #6025
- feat(providers): add MiniMax-M3.1-Flash and avoid reasoning_split=false by @SaladDay in #6360
- feat(webui): add a compact composer workspace toolbar by @chengyongru in #6256
- fix(webui): simplify workspace picker icon by @chengyongru in #6415
- fix(providers): use reasoning_text for DeepSeek Responses reasoning replay by @Hugo-DDT in #6414
- fix(webui): keep Apps search within active filter by @chengyongru in #6416
- fix(webui): share sidebar and Composer run state by @chengyongru in #6337
- fix(webui): remove goal halo and redundant detail header by @chengyongru in #6417
- fix(providers): support Kimi K3.1 Pro request parameters by @chengyongru in #6418
- feat(webui): refine composer action feedback by @chengyongru in #6419
- fix(webui): show renamed topic titles in @ mentions by @chengyongru in #6413
- fix(agent): preserve goal continuation lifecycle by @chengyongru in #6420
- fix(webui): tighten mobile chat layout and soften transcript edges by @chengyongru in #6429
- fix(webui): keep MCP connection rows compact by @chengyongru in #6431
- perf(webui): avoid history drafts for turn-end metadata by @chengyongru in #6430
- perf(webui): avoid redundant math layout setup by @chengyongru in #6433
- perf(sdk): reuse consecutive effective model overrides by @chengyongru in #6434
- fix(api): route each session_id to its own chat by @ljluestc in #5838
- perf(tui): shrink standalone builds and target native bindings by @chengyongru in #6432
- perf(webui): defer non-chat startup interfaces by @chengyongru in #6435
- fix(agent): don't resume abandoned work after max_iterations by @er-s-an in #6346
- fix(diagrams): upgrade Pele to 1.9.0 with measured rich text by @chengyongru in #6437
- fix(webui): separate file cards from media previews by @Re-bin in #6425
- feat(webui): show image attachments as composer thumbnails by @Re-bin in #6436
- fix(web): require ddgs 9.16.1 search fixes by @chengyongru in #6442
- fix: recover oversized pending file reads after compaction by @ZhouJ-sh in #5880
- fix: decode nested JSON tool arguments by schema by @uuzzrm in #5314
- fix(agent): recheck idle expiry after acquiring session lock by @leninworld in #6421
- feat(cron): update scheduled tasks in place by @david-dev666 in #6345
- feat(cron): enable and disable jobs from the tool by @david-dev666 in #6313
- feat(cron): expose recent run history to the agent by @david-dev666 in #6319
- fix(webui): remove extra frames from activity logos by @Re-bin in #6449
- style(webui): refine composer surface and workspace hover by @chengyongru in #6444
- feat(webui): smooth theme changes and sun-moon transitions by @chengyongru in #6450
- fix(webui): send waiting messages with empty Enter by @chengyongru in #6451
- fix(webui): refresh pairing prompts on gateway changes by @chengyongru in #6401
- feat(webui): search loaded message text in Ctrl+K by @chengyongru in #6453
- fix(webui): unify skill and session link highlighting by @chengyongru in #6454
- fix(tui): use canonical session handles by @chengyongru in #6455
- feat(webui): refine appearance and add custom reading sizes by @Re-bin in #6456
- feat(webui): refine attachment galleries and file cards by @chengyongru in #6457
- fix(webui): place permission hover hint below its control by @chengyongru in #6458
- fix(webui): crossfade theme changes as one page by @chengyongru in #6459
- chore(webui): remove live preview badge from reading settings by @chengyongru in #6466
- fix(webui): move appearance help to hints and smooth theme preview by @chengyongru in #6467
- feat(webui): keep delegated work within reach by @chengyongru in #6443
- fix(media): accept data URLs that capitalize the base64 token by @rudycelekli in #6464
- chore(webui): remove subtask message status by @chengyongru in #6469
- fix(webui): keep permission hints clear of existing-session drafts by @chengyongru in #6470
- fix(webui): simplify selected theme indicator by @chengyongru in #6472
- docs: align runtime references with current behavior by @chengyongru in #6471
- fix(webui): match slash command highlighting to skills by @chengyongru in #6473
- refactor: remove verified unused internals by @chengyongru in #6460
- feat(webui): complete bang commands and literal output by @chengyongru in #6173
- fix(webui): keep subtask details reachable in long results by @chengyongru in #6478
- feat(webui): add compact batch archive actions by @chengyongru in #6476
- fix(webui): check explicit file links before enabling previews by @chengyongru in #6483
- feat(webui): unify mention candidate display by @chengyongru in #6489
- test(webui): trim redundant browser coverage by @chengyongru in #6492
- fix(webui): align chat links with edit filename colors by @chengyongru in #6484
- fix(webui): simplify retry status copy by @chengyongru in #6491
- fix(webui): show context and reasoning for all presets by @chengyongru in #6490
- fix(webui): open subtask details from task content by @chengyongru in #6487
- fix(utils): preserve exact newlines in atomic text writes by @notoufa in #6475
- fix(webui): stabilize interaction tests and tooltip dismissal by @chengyongru in #6495
- fix(webui): remove ellipses from sending labels by @chengyongru in #6496
- fix(agent): preserve streamed replies after model failures by @chengyongru in #6494
- fix(webui): preserve wrapping in numbered code blocks by @chengyongru in #6501
- fix(webui): keep Dock taps working after touch drags by @chengyongru in #6502
- docs: clarify contribution policy and issue author credit by @chengyongru in #6503
- fix(websocket): abort disconnected HTTP handshakes before sending by @chengyongru in #6348
- fix(webui): retain history touch gestures across message replacement by @chengyongru in #6500
- fix(runtime): stop Windows identity polling memory leak by @chengyongru, co-authored by @snailak, in #6507
- chore(skills): remove obsolete update-setup skill by @chengyongru in #6508
- chore(release): prepare 0.4.0 by @Re-bin in #6504
- fix(build): fetch locked WebUI packages from npm registry by @Re-bin in #6510
New Contributors
- @FanouZeng-TT made their first contribution in #5762
- @AlfredChaos made their first contribution in #5799
- @ZedingZhang made their first contribution in #5800
- @Xalzeroph made their first contribution in #5868
- @Frank-zhu0404 made their first contribution in #5873
- @0717lee made their first contribution in #5602
- @CarmeloCampos made their first contribution in #5968
- @Fatih0234 made their first contribution in #5984
- @2gg-bit made their first contribution in #5925
- @Bdysj made their first contribution in #5960
- @RaycarlLei made their first contribution in #5793
- @KevinAndrewDong made their first contribution in #6030
- @qingshungLI made their first contribution in #6005
- @Excelius-Wang made their first contribution in #6054
- @takiAA made their first contribution in #6060
- @Wenyan0315 made their first contribution in #6095
- @GZY-SUPER-HACKER made their first contribution in #6007
- @jipeng6036-del made their first contribution in #6127
- @wkdddd made their first contribution in #6069
- @maxazure made their first contribution in #6181
- @DKlaper made their first contribution in #6198
- @cristianchiriac made their first contribution in #6232
- @hazelxue made their first contribution in #6252
- @gianfrancodemarco made their first contribution in #5979
- @Muzhen2000 made their first contribution in #6260
- @shoaibulhaque made their first contribution in #6253
- @fhgffy made their first contribution in #6197
- @lux-liang made their first contribution in #6097
- @rudycelekli made their first contribution in #6183
- @huiq777 made their first contribution in #5911
- @Lesereingrape made their first contribution in #5914
- @GoldArowana made their first contribution in #6292
- @ningyixi made their first contribution in #6270
- @pei711 made their first contribution in #6050
- @KennyMcSimpson made their first contribution in #6013
- @Hugo-DDT made their first contribution in #6167
- @LuckVd made their first contribution in #6171
- @SaladDay made their first contribution in #6360
- @ljluestc made their first contribution in #5838
- @er-s-an made their first contribution in #6346
- @uuzzrm made their first contribution in #5314
- @leninworld made their first contribution in #6421
- @david-dev666 made their first contribution in #6345
- @notoufa made their first contribution in #6475
Full Changelog: v0.3.5...v0.4.0
详细ChangeLogv0.3.5
2026年09月16日
🐈 nanobot v0.3.5 brings the workbench to the terminal — and makes conversations easier to continue across the browser, terminal, and chat apps.
The headline is one agent, more places to work. Run nanobot for the native terminal client or nanobot webui for the browser. Both use the same gateway and saved WebSocket conversations. Terminal sessions can be resumed, forked, inspected, and detached without building a separate agent runtime.
The browser workbench has grown around real multitasking: grouped conversation panes, temporary chats, persistent sidebar ordering, session mentions, a skills marketplace, portable Agent Plugins, and browser OAuth for remote MCP servers. Automations now have task and calendar views, clearer scheduling controls, and per-run replies. Mobile composition, settings, context charts, app logos, and branded mentions received another round of focused polish.
The other story is continuity you can inspect. Context usage and compaction are visible, interrupted work has clearer recovery controls, and session history is more durable across pagination, reconnects, and upgrades. This release also tightens attachment, process, workspace, and email-authentication boundaries. Please read the upgrade notes before replacing an existing installation.
Highlights
- A native terminal workbench — Start with
nanobot, switch sessions, paste supported clipboard images, complete app and skill references, inspect context and file diffs, queue follow-ups, and use/detachto leave the gateway running. - Browser conversations side by side — Arrange up to four topics in resizable groups, keep sidebar ordering, drag saved sessions into mentions, and use temporary chats when you do not want a persistent topic.
- Automations that are easier to manage — Switch between task and calendar views, inspect run replies, and adjust schedules with clearer controls. Editing a job preserves pending executions; deleting one no longer leaves navigation blocked.
- Visible context and steadier long sessions — Per-round token/cache charts, context-compaction progress, paged history search, cumulative summaries, and file-read deduplication scoped to the actual model context.
- Apps and skills with clearer identities — SkillHub discovery, portable Agent Plugins, remote MCP OAuth and token refresh, visible connection failures, and consistent app logos and brand names in chat.
- A better small-screen experience — Home-screen installation through PWA support, narrower composer controls, draggable context sheets, touch-friendly chart details, and settings navigation that matches its opening direction.
- Broader model and search choices — DeepSeek Responses and V4 vision support, Eden AI and OrcaRouter gateways, AnySearch, online OAuth model catalogs, and more resilient provider fallback and Responses-history handling.
- More reliable channels and runtime boundaries — Rich Telegram streaming, improved Feishu onboarding, safer QQ attachments, trusted email authentication results, optional macOS Seatbelt isolation, and fewer leaked credentials in subprocess environments.
- Embedding and operations — SDK host integration hooks, explicit Desktop attachment, gateway readiness reporting, and checked, version-matched terminal distributions.
Upgrade Notes
- Back up configuration, workspaces, and session storage; stop old processes first. Session JSONL files now live under the configuration directory's
sessions/<workspace-id>/tree. The first upgraded start migrates existing workspace sessions after verifying the copy. Do not let old and new versions write the same workspace concurrently. Before downgrading, stop nanobot and usenanobot sessions restore-workspace --config <config.json> --workspace <workspace>; the command refuses to overwrite a different existing file. See the session storage and rollback guide. - Email verification requires an explicit receiver trust anchor. If
verifySpforverifyDkimis enabled, configurechannels.email.trustedAuthservIdsusing the exact identity confirmed by your receiving mail service. That service must remove forged headers claiming its identity and provide one consolidated authentication-results header. Existing verified Email configurations without this field will not start. Keep Email disabled until configured; do not disable verification as a workaround. Follow the Email upgrade guide. - Plain
nanobotopens the native terminal UI. Usenanobot --classicfor the Python prompt ornanobot -m "Hello!"for one-shot usage. Platform wheels include both the WebUI and the matching TUI, so first TUI launch needs neither Bun nor a GitHub download. Supported wheels target macOS 13+ arm64/x64, glibc 2.17+ Linux arm64/x64, and Windows x64. Other platforms and source-distribution builds can use the classic prompt or WebUI; editable source development uses Bun. - The last attached client owns the on-demand gateway lifetime. Closing the last interactive WebUI/TUI launcher stops that gateway. Use
/detachin the terminal ornanobot gateway --backgroundfor work that must continue without a client. - Remote project selection uses paths on the nanobot host. It requires Restricted access. It does not select a directory from the browser device, and remote clients cannot enable Full Access.
- The gateway health response is more informative.
/healthcan return HTTP 503 when its enabled WebSocket channel is not running. It does not certify model, MCP, or other channel connectivity; update monitoring that previously assumed every live process returned 200. - Recheck concurrency and timeout limits.
NANOBOT_MAX_CONCURRENT_REQUESTSis unlimited unless set to a positive integer; configure an explicit cap if your deployment needs one. Subagent concurrency defaults to four and excess work waits for capacity. The oldagents.defaults.failOnToolErrorfield andNANOBOT_LLM_TIMEOUT_Sare no longer used. Model streams, including internal tasks, useNANOBOT_STREAM_IDLE_TIMEOUT_S(90 seconds by default), renewed by each event rather than a fixed total-duration timeout.
Community
Thank you to everyone who contributed code, reviewed changes, reported regressions, and tested nanobot in everyday work. Since v0.3.0, the release includes 402 merged PRs and 45 first-time contributors. The goal remains a small, inspectable agent whose conversations and work can move with you.
What's Changed
- docs(readme): clarify WebUI, gateway, and CLI quick starts by @Re-bin in #5082
- chore: defer compatibility cleanup to v0.3.1 by @Re-bin in #5083
- Smooth WebUI streaming with state-driven viewport motion by @chengyongru in #4696
- feat: open WebUI after fresh desktop install by @chengyongru in #5085
- fix(skills): tolerate null requires/bins/env in skill metadata by @santhreal in #5086
- fix(memory): skip non-dict history.jsonl lines when reading by @santhreal in #5090
- fix(session): coerce null session metadata to empty dict by @santhreal in #5091
- fix(webui): restore file edit diff display by @chengyongru in #5096
- feat(channels): enable tool hints by default by @chengyongru in #5097
- fix(feishu): tolerate null text fields when extracting post content by @santhreal in #5093
- fix(triggers): coerce string lastRunAtMs when loading local triggers by @santhreal in #5092
- fix(feishu): tolerate null multi_url and list fields in card extract by @santhreal in #5089
- fix(triggers): treat null runHistory as empty when loading triggers by @santhreal in #5087
- fix(agent): preserve pending message runtime context by @yu-xin-c in #5084
- fix(webui): prevent long messages from widening mobile thread by @chengyongru in #5100
- fix(heartbeat): route unified sessions to last channel by @yu-xin-c in #4928
- feat(exec): allow extra bwrap bind roots by @yu-xin-c in #4625
- fix(pairing): treat null approved/pending maps as empty by @santhreal in #5088
- fix(channels): ignore confirmations after connect cancellation by @KDB-Wind in #5069
- fix(mcp): normalize local schema refs by @amplifierplus in #5057
- fix(agent): preserve output across length recovery by @chengyongru in #5056
- fix(memory): progress past completed no-op Dream batches by @shixi-li in #5054
- feat(agent): make idle compaction scan interval configurable by @khmylov in #5036
- feat(dingtalk): gate private chats and mention sender in group replies by @lmzopq in #4446
- fix(cli): support Codex OAuth in Quick Start by @chengyongru in #4939
- fix(image): pass aspect ratio and size to Gemini Flash image models by @stupidloud in #4656
- fix(security): harden generated image URL downloads by @Re-bin in #5095
- refactor(agent): remove dead lifecycle scaffolding by @chengyongru in #5105
- chore: remove expired v0.3.1 compatibility shims by @chengyongru in #5106
- feat(memory): restore Dream model preset override by @chengyongru in #5107
- fix(memory): preserve unprocessed dream history by @yu-xin-c in #5099
- docs: improve README discoverability by @chengyongru in #5109
- fix(webui): stabilize repeated model preset rows by @chengyongru in #5113
- fix(memory): preserve Dream input integrity by @chengyongru in #5114
- fix(webui): soften model selector emphasis by @chengyongru in #5119
- fix(webui): prevent composer resize scroll jitter by @chengyongru in #5121
- docs: improve README landing page by @chengyongru in #5123
- refactor(core): remove redundant runtime scaffolding by @chengyongru in #5127
- fix(webui): rank skill autocomplete results by @chengyongru in #5128
- docs(readme): add one-click deployment section by @Re-bin in #5129
- docs: move README title above introduction by @chengyongru in #5132
- fix(agent): read document attachments on demand by @chengyongru in #5122
- feat(sdk): add host integration extension points by @chengyongru in #5111
- fix(agent): prevent gateway crash when stopping active tasks by @chengyongru in #5134
- fix(webui): reconcile chats after browser resume by @chengyongru in #5130
- fix(webui): keep composer stable while scrolling by @chengyongru in #5137
- fix(webui): keep streaming tail visible by @chengyongru in #5140
- feat(config): add actionable startup diagnostics and WebUI recovery by @chengyongru in #5110
- fix(webui): open threads at latest message by @chengyongru in #5142
- fix(webui): animate reasoning drawer transitions by @chengyongru in #5143
- fix(ci): scope PR path detection to head changes by @chengyongru in #5144
- fix(ci): stabilize and speed up CI by @chengyongru in #5145
- fix(memory): expose media references to session consolidation by @chengyongru in #5157
- refactor: enforce BasedPyright strict type checking by @chengyongru in #5158
- fix(shell): preserve UTF-8 native input on PowerShell 5 by @ZhouJ-sh in #5160
- feat(webui): track optimistic message delivery status by @chengyongru in #5162
- feat(webui): add skill marketplaces and management by @Re-bin in #5116
- fix(webui): avoid false microphone silence errors by @chengyongru in #5165
- fix(webui): prevent redundant thread and media reloads by @chengyongru in #5164
- fix(session): preserve history during idle compaction by @chengyongru in #5167
- refactor(session): separate persistence behind SessionStore by @chengyongru in #5170
- refactor(cli): split commands into focused modules by @chengyongru in #5175
- feat(webui): support remote Codex OAuth login by @chengyongru in #5174
- fix(webui): preserve automation source on streamed replies by @chengyongru in #4822
- fix(gitstore): return real git object ids instead of hex-of-hex by @ATECHPCS in #5126
- fix(webui): drop malformed token-usage day keys by @KDB-Wind in #5146
- fix(session): tolerate invalid idle-compaction timestamps by @KDB-Wind in #5117
- fix(pairing): keep approvals across transient store read failures by @KDB-Wind in #5147
- fix(agent): release idle session locks by @yu-xin-c in #5151
- fix(exec): bound buffered session output by @yu-xin-c in #5150
- fix(agent): route finish_reason='length' with blank content to length recovery by @Solaris-star in #5136
- feat: preserve Responses reasoning state and compact context by @chengyongru in #5172
- fix(config): install timezone data on all platforms by @shixi-li in #5189
- fix(webui): preserve user scroll ownership near tail by @chengyongru in #5193
- fix(slack): scope channel thread openers to their own session by @pblocz in #5192
- fix(weixin): recover refreshed state after session expiry by @chengyongru in #5196
- feat(providers): support DeepSeek Responses API by @chengyongru in #5197
- fix(session): tolerate malformed persisted session summary by @KDB-Wind in #5201
- fix(exec): preserve wait targets across response truncation by @KDB-Wind in #5200
- refactor(cli): narrow Pyright suppressions by @KDB-Wind in #5199
- fix(cron): preserve manual run completion state by @yu-xin-c in #5183
- fix(memory): handle non-string timestamp and missing role in raw_archive by @santhreal in #5153
- fix(providers): require api_base before local provider wins on keyword match by @NearlCrews in #3732
- refactor(webui): reuse sidebar selection highlight by @Re-bin in #5209
- perf(webui): accelerate JSONL session list and thread loading by @chengyongru in #5194
- fix(webui): show timestamps for replayed messages by @chengyongru in #5217
- fix(image): send Gemini Flash hints via generationConfig.imageConfig by @arcdrake22 in #5216
- Register correct MIME types for static assets on Windows by @amkile in #5191
- fix(webui): remove unused bot identity settings by @chengyongru in #5225
- fix(plugins): use uv when pip is unavailable by @KDB-Wind in #5213
- fix(webui): dismiss mobile keyboard after send by @chengyongru in #5226
- fix(gateway): close agent resources deterministically on stop by @arcdrake22 in #5215
- fix(cron): validate expression syntax in _validate_schedule_for_add by @amir-rezaei in #5141
- feat(providers): add Eden AI as an OpenAI-compatible gateway provider by @MVS-source in #4861
- fix(webui): stabilize thread during IME input by @chengyongru in #5229
- fix(webui): show actual local trigger messages by @chengyongru in #5228
- docs(providers): add ModelScope (魔搭) section by @Krislu1221 in #5038
- fix(webui): complete i18n audit by @chengyongru in #5227
- fix(providers): keep DeepSeek reasoning items wire-valid by @arcdrake22 in #5214
- feat(session): add cross-session search and mentions by @Re-bin in #5211
- fix(anthropic): support Opus 5 effort controls by @chengyongru in #5236
- feat(webui): add integrated Vite dev mode by @chengyongru in #5239
- fix(webui): refine inline token highlights by @chengyongru in #5241
- fix(commands): reject malformed slash commands by @chengyongru in #5242
- fix(webui): align automation metadata with timestamps by @chengyongru in #5243
- refactor(webui): unify floating controls by @Re-bin in #5240
- fix(webui): align timestamp tooltip styles by @chengyongru in #5245
- fix(webui): render markdown in prompt rail previews by @chengyongru in #5244
- fix(telegram): keep fenced code intact when language has special chars by @santhreal in #5222
- feat(webui): support trusted proxy bootstrap auth by @concertypin in #5210
- fix(wecom): fall back when filename sanitization strips everything by @santhreal in #5223
- feat(mattermost): separate group policy for threads and expose in WebUI by @goodtiding5 in #5233
- refactor(session): remove request-scoped access grants by @chengyongru in #5238
- fix(webui): feather clipped activity edges by @chengyongru in #5250
- refactor(webui): improve visual consistency by @chengyongru in #5249
- fix(whatsapp): detect outbound media content before dispatch by @chengyongru in #5203
- feat: add provider-native request switches by @chengyongru in #5254
- perf(webui): reduce cold-start payload by @chengyongru in #5262
- fix(webui): tighten interactive motion by @chengyongru in #5267
- fix(matrix): send non-empty POST body on room join for Continuwuity compatibility by @orrinwitt in #5248
- feat(webui): drag sidebar sessions by @Re-bin in #5261
- fix(session): preserve proactive channel delivery during session retention trimming by @ziuus in #5272
- fix(memory): archive short idle sessions for Dream by @chengyongru in #5280
- feat(webui): expand model preset editor inline by @Re-bin in #5277
- fix(webui): keep activity text crisp while fading edges by @chengyongru in #5281
- fix: modernize dependency recovery guidance by @chengyongru in #5282
- refactor(webui): remove legacy session messages route by @chengyongru in #5284
- fix(webui): preserve newly created topic route by @chengyongru in #5285
- fix(weixin): harden protocol delivery, streaming, and login by @chengyongru in #5263
- fix(channels): preserve global progress defaults by @chengyongru in #5287
- fix(webui): prevent image hover clipping by @chengyongru in #5294
- refactor: remove verified dead code by @chengyongru in #5296
- feat(webui): add temporary chat mode by @Re-bin in #5252
- fix(webui): explain HTTPS requirement for voice input by @chengyongru in #5304
- test: strengthen user-path coverage and CI gates by @chengyongru in #5308
- docs: refresh WebUI user guidance by @chengyongru in #5312
- fix(mcp): clean up failed HTTP connections by @chengyongru in #5313
- fix(weixin): honor forced QR login by @KDB-Wind in #5310
- fix(webui): improve UX recovery and empty states by @chengyongru in #5315
- fix(webui): move mutations to authenticated WebSocket requests by @chengyongru in #5317
- refactor(webui): extract deterministic event projection helpers by @chengyongru in #5318
- refactor(agent): replace reflective runtime state access by @chengyongru in #5319
- refactor(webui): make gateway own settings services by @chengyongru in #5321
- fix(files): reject no-op edits by @chengyongru in #5325
- feat(mcp): add browser OAuth for remote servers by @chengyongru in #5316
- refactor(webui): split settings backend by domain by @chengyongru in #5323
- refactor(webui): split settings frontend by domain by @chengyongru in #5330
- test(webui): await lazy settings import deterministically by @chengyongru in #5332
- fix(webui): soften form control focus rings by @chengyongru in #5326
- fix(providers): preserve nanobot tools with OpenRouter server tools by @chengyongru in #5335
- feat(plugins): integrate Agent Plugins with CLI Apps by @Re-bin in #5288
- feat(webui): PWA support by @morandot in #5336
- fix(webui): surface MCP runtime connection failures by @chengyongru in #5331
- fix(matrix): isolate thread sessions by @yu-xin-c in #5286
- fix(tools): reject non-finite number parameters by @wesleyzhangwq in #5265
- fix(providers): stop writing API keys into process os.environ by @LHMQ878 in #5269
- fix(skills): make weather workflow Windows-safe by @KailBug in #5303
- fix(cli): stop leaking API keys to CLI app subprocesses by @LHMQ878 in #5270
- fix(exec): terminate one-shot process trees on cleanup by @yorkhellen in #5346
- feat(webui): add tabbed pane workbench by @chengyongru in #5322
- fix(webui): restore session drag and harden frontend loading by @chengyongru in #5351
- refactor: move MCP lifecycle out of AgentLoop by @chengyongru in #5343
- feat(webui): add MCP management dialog by @chengyongru in #5355
- fix(security): harden WebUI caches and CLI app subprocesses by @Re-bin in #5359
- fix(session): store session history outside the agent workspace by @lmzopq in #5279
- fix(tools): treat redirection and grouping delimiters in ExecTool path guard by @santhreal in #5218
- feat(providers): support DeepSeek V4 Pro Responses by @chengyongru in #5362
- fix(docker): restore capabilities for privilege drop by @yu-xin-c in #5320
- fix(web): keep credential-bearing URLs away from the remote Jina reader by @shixi-li in #5258
- fix(exec): guard bare and named-user home paths by @yorkhellen in #5329
- fix(gemini): preserve imported tool calls with signature fallback by @arcdrake22 in #5230
- fix(weixin): persist QR-login token to config.json on connect by @aiguozhi123456 in #5361
- [Security]
exec.allowPatternsshell-chain bypass allows unintended command execution by @abhinavaditya811 in #5345 - fix(webui): restore transcript-only session history by @Re-bin in #5384
- feat(webui): add native workspace folder picker by @Re-bin in #5381
- fix(session): serialize canonical file access by @chengyongru in #5383
- fix(session): restore state when file-cap archive fails by @dajiaohuang in #5380
- feat(webui): polish sidebar and session transitions by @chengyongru in #5393
- feat(webui): refine conversation groups and shared shapes by @Re-bin in #5395
- fix(anthropic): treat stream idle timeout as inactivity only, not total time by @shen0122 in #5392
- fix(webui): preserve range selection and turn timing by @Re-bin in #5397
- fix(webui): clarify model preset display names by @Re-bin in #5399
- fix(cron): keep scheduler alive when job-store persistence fails by @rickererer in #5376
- fix(agent): bound per-session file state lifecycle by @yu-xin-c in #5370
- fix(plugins): revalidate cached skill roots after package changes by @yu-xin-c in #5369
- fix(webui): hide assistant actions until turn end by @ZhouJ-sh in #5371
- feat(providers): add OrcaRouter as a named gateway provider by @XiaoHuo888-hue in #5328
- refactor(models): unify preset names by @Re-bin in #5400
- fix(webui): make mutations reconnect-safe by @chengyongru in #5401
- feat(cli): add native TypeScript terminal UI by @Re-bin in #5406
- fix(telegram): recover from silently stalled polling by @QQQ300kuai in #5156
- fix(gateway): stabilize process identities by @Re-bin in #5416
- fix(gateway): allow Windows launcher PID handoff by @chengyongru in #5418
- perf(tui): reduce cold-start and exit latency by @chengyongru in #5424
- fix(tui): keep composer visible and focused by @chengyongru in #5427
- fix(tui): refresh expired API credentials by @chengyongru in #5432
- feat(webui): add lightweight cross-session messaging by @chengyongru in #5358
- test(exec): wait deterministically for truncation output by @chengyongru in #5433
- fix(mattermost): ignore system posts by @Shizoqua in #5434
- fix(webui): return promptly after Ctrl-C by @chengyongru in #5438
- perf(memory): reuse conversation prefix for local compaction by @chengyongru in #5440
- fix(tui): expose /exit in command menu by @KailBug in #5443
- feat(tui): start fresh chats in launch workspace by @chengyongru in #5448
- fix(tui): keep navigation commands in Herdr panes by @chengyongru in #5449
- fix(tui): prevent local gateway startup stalls by @chengyongru in #5450
- fix(tui): keep context view concise by @chengyongru in #5451
- fix(deps): support only standard socks5:// proxies by @chengyongru in #5439
- feat(tui): print resume command on exit by @chengyongru in #5452
- fix(provider): retry Codex server_error by @akinolur in #5455
- fix(agent): keep default prompt paths relative by @chengyongru in #5460
- fix(providers): report Responses cached tokens by @chengyongru in #5462
- feat(tui): add /detach command by @chengyongru in #5461
- fix(matrix): interpolate error log context by @Shizoqua in #5458
- fix(providers): retry before falling back by @chengyongru in #5422
- fix(webui): refine model preset badge state and interactions by @chengyongru in #5465
- fix(tui): reduce redundant runtime chrome by @chengyongru in #5466
- fix(tui): clarify input cache telemetry by @chengyongru in #5468
- fix(tui): preserve keyboard picker selection by @chengyongru in #5470
- feat(providers): support DeepSeek V4 Flash Vision by @chengyongru in #5474
- fix(webui): keep iOS PWA controls inside safe area by @chengyongru in #5477
- fix(slack): validate file downloads across redirects by @KDB-Wind in #5414
- feat(tui): render LaTeX as Unicode by @chengyongru in #5476
- fix(dream): advance cursor when tool errors were recovered, and report why a run did not complete by @flobo3 in #5442
- fix(cron): retire persisted heartbeat/dream system jobs when disabled by @aiguozhi123456 in #5407
- feat(webui): unify turn observability by @Re-bin in #5486
- docs: refresh team and contributor credits by @Re-bin in #5488
- refactor: remove remaining dead code by @chengyongru in #5475
- feat(cli): expose nanobot process identities by @Re-bin in #5492
- fix(webui): keep answer text outside reasoning shell by @chengyongru in #5491
- feat(runtime): add user-controlled turn recovery by @Re-bin in #5420
- fix(tui): avoid saving empty sessions by @Re-bin in #5499
- fix(codex): reuse TLS contexts across requests by @chengyongru in #5500
- fix(exec): disable command guard in full access by @chengyongru in #5501
- fix(tui): preserve shell after Ctrl+C by @chengyongru in #5502
- fix(webui): preserve causal message order (NAN-29) by @chengyongru in #5503
- fix(agent): time out no-tools model requests by @chrischen-coder in #5496
- test(exec): remove Windows process timing races by @chengyongru in #5517
- refactor(providers): define typed LLM usage contract by @chengyongru in #5480
- feat(usage): add unified provider usage backend by @chengyongru in #5481
- fix(agent): honor selected project workspace by @Re-bin in #5506
- fix(usage): record provider stream timing by @chengyongru in #5518
- fix(agent): let subagents recover from tool errors by @chengyongru in #5523
- fix(agent): wait for exec sessions without polling by @chengyongru in #5526
- feat: add demand-driven document retrieval by @chengyongru in #5525
- style(tui): keep short transcripts and composer top-aligned by @KailBug in #5530
- fix(agent): wait for background subagents only at turn exit by @chengyongru in #5529
- fix(tools): keep find_files scans responsive by @chengyongru in #5533
- feat(tui): autocomplete skill references by @chengyongru in #5534
- refactor(tui): clarify active composer actions by @chengyongru in #5538
- fix(provider): stabilize Codex prompt cache routing by @chengyongru in #5540
- fix(webui): project generated titles onto per-chat sessions under unifiedSession by @zpljd258 in #5528
- fix(gateway): retry MCP readiness before turns by @chengyongru in #5535
- refactor(agent): make run usage explicit by @chengyongru in #5546
- refactor(agent): remove loop iteration state by @chengyongru in #5549
- fix(gitstore): detect rapid same-size rewrites by @Wsp030914 in #5473
- refactor(agent): make checkpoint recovery ownership explicit by @chengyongru in #5552
- fix(session): clarify read_session query semantics by @bingqilinweimaotai in #5551
- refactor(agent): reduce loop and runner parameter plumbing by @chengyongru in #5554
- refactor(webui): isolate websocket application orchestration by @chengyongru in #5548
- fix(gateway): recover degraded WebSocket listener by @chengyongru in #5544
- fix(webui): compact single-pane chat header by @Re-bin in #5519
- refactor(agent): remove duplicate progress streaming path by @chengyongru in #5555
- fix(tui): surface chat connection failures by @chengyongru in #5543
- fix(agent): complete native reasoning lifecycle by @chengyongru in #5556
- refactor(agent): load MyTool through tool loader by @chengyongru in #5558
- refactor(agent): decouple loop from message tool state by @chengyongru in #5559
- fix: queue concurrent subagents by @chengyongru in #5566
- feat(tui): support pasting clipboard images by @chengyongru in #5563
- refactor(memory): decouple archival from provider state by @chengyongru in #5565
- fix(agent): default request concurrency to unlimited by @chengyongru in #5572
- refactor(memory): remove consolidation ratio by @chengyongru in #5575
- refactor(agent): extract tool execution boundary by @chengyongru in #5569
- fix(tui): preserve full UI in Herdr panes by @chengyongru in #5577
- test(tui): avoid clipboard status race on Windows by @chengyongru in #5578
- feat(cli): make nanobot the default agent command by @Re-bin in #5560
- fix(webui): preserve named pane groups by @Re-bin in #5591
- fix(webui): hide SkillHub install counts by @Re-bin in #5595
- feat(providers): discover OAuth model catalogs online by @Re-bin in #5596
- fix(cli): stream gateway logs in WebUI launcher by @Re-bin in #5599
- fix(tui): preserve cursor position on Windows exit by @KailBug in #5581
- fix(agent): close native reasoning on cancellation by @KDB-Wind in #5600
- fix(agent): bound session message rate-limit state by @yu-xin-c in #5594
- fix(agent): add retry hint to raised tool exceptions by @Oxygen56 in #5588
- fix(cron): sanitize persisted origin metadata by @Oxygen56 in #5587
- perf(email): fetch headers before body, use UID SEARCH to skip re-fetch by @tilladam in #5489
- fix(dingtalk): drain inbound background tasks by @yu-xin-c in #5464
- refactor(agent): defer transcript assembly to runner by @chengyongru in #5608
- refactor(agent): make memory summaries cumulative by @chengyongru in #5610
- docs(tools): clarify edit_file selector exclusivity by @dajiaohuang in #5598
- style(tui): simplify the runtime header by @chengyongru in #5618
- refactor(agent): unify runner request fitting by @chengyongru in #5612
- fix(telegram): upgrade streaming preview to rich in place at stream end by @nolanchic in #5531
- fix(websocket): stop treating SO_ACCEPTCONN as portable in listener health check by @Krislu1221 in #5617
- fix(tui): preserve input typed after submit by @chengyongru in #5621
- fix(dream): stop duplicating SOUL/USER/MEMORY into the Dream prompt by @DannyYTL in #5622
- fix(agent): release completed task groups by @yu-xin-c in #5430
- fix(webui): delete unpersisted pane sessions by @KailBug in #5624
- feat(webui): guide first-run AI setup by @Re-bin in #5625
- refactor(agent): let runner own context compaction by @chengyongru in #5568
- fix(webui): align native sidebar controls by @Re-bin in #5636
- fix(channels): bound origin reply fingerprint cache by @Shizoqua in #5634
- fix(provider): preserve Codex prompt cache affinity by @chengyongru in #5632
- fix(sdk): preserve queued events on stream close by @Shizoqua in #5635
- fix(tool_hints): respect max_length for plain (non-path/non-command) tool values by @loseintwilight in #5629
- fix(agent): observe session reply timeout task failures by @pengpengyi92 in #5515
- fix(webui): clear stale stream state after Gateway reconnect by @Oxygen56 in #5514
- fix(signal): honor wildcard in inbound allowlists by @Wsp030914 in #5472
- fix(providers): apply fallback policy to raised errors by @KDB-Wind in #5413
- fix(matrix): complete Element SAS request flow by @dajiaohuang in #5385
- fix(webui): show language names only in their native form by @chengyongru in #5646
- fix(matrix): propagate stream delivery failures by @Shizoqua in #5637
- fix(channels): preserve indentation across message splits by @pengpengyi92 in #5334
- fix(webui): preserve Hero model preset during chat creation by @chengyongru in #5650
- fix(webui): keep every concurrently loaded channel locale registered by @yaoruiquan in #5651
- feat(webui): visualize context usage by logical round by @chengyongru in #5649
- fix(websocket): isolate slow clients from outbound fanout by @chengyongru in #5655
- refactor(webui): extract outbound wire encoding by @chengyongru in #5657
- fix: stabilize session labels, TUI streaming, and pairing prompts by @Re-bin in #5639
- feat: make context compaction visible in channels by @chengyongru in #5656
- refactor(agent): remove context block budget override by @chengyongru in #5668
- refactor: remove unused internal helpers and state by @chengyongru in #5667
- fix(cli): skip WebUI bundle check in dev mode by @chengyongru in #5671
- test: remove obsolete nonexistence checks by @chengyongru in #5672
- refactor(events): unify scoped runtime notifications across clients by @chengyongru in #5670
- fix(tui): show context window usage in footer by @chengyongru in #5679
- ci: parallelize tests and filter unrelated jobs by @chengyongru in #5680
- fix(wecom): use SDK media upload API by @chengyongru in #5683
- test: stabilize flaky and environment-dependent tests by @KDB-Wind in #5677
- docs: refresh README with current WebUI feature gallery by @chengyongru in #5684
- fix(webui): resume incomplete model setup in the browser by @chengyongru in #5685
- fix(ui): surface model retry status (NAN-34) by @chengyongru in #5504
- fix(memory): invalidate provider state after idle compaction by @chengyongru in #5688
- fix(webui): keep working timer consistent across first output by @chengyongru in #5689
- docs: unify personal agent installation with quick start by @chengyongru in #5690
- feat(cli): add attach-only Desktop target selection by @Re-bin in #5676
- fix(webui): preserve multiline dollar math with attached delimiters by @chengyongru in #5691
- docs: clarify gateway health and WebSocket readiness by @shakewingo in #5687
- feat(web-search): add AnySearch provider (key-optional, anonymous quota) by @cleverLucky in #5607
- fix: use summary checkpoints for all compaction triggers by @chengyongru in #5694
- fix(exec): resolve relative working_dir from workspace by @BenWituka in #5682
- fix(agent): keep tool results stable across replay by @chengyongru in #5695
- test(webui): require explicit opt-in for title generation by @zpljd258 in #5648
- fix(webui): keep queued prompts scoped across session switches by @chengyongru in #5700
- feat(tg): add support for streaming rich messages by @wzrayyy in #5614
- fix(webui): use styled tooltips for model presets and activity previews by @chengyongru in #5701
- fix(tools): support recursive glob filters in file searches by @n1uz1 in #5692
- fix(codex): refresh model catalog for Astra by @Re-bin in #5709
- fix(webui): preserve less-than comparisons in streaming math by @chengyongru in #5712
- fix(webui): prevent italic activity labels from clipping by @chengyongru in #5713
- feat(tui): add /usage context and token charts by @chengyongru in #5705
- fix(webui): keep edit diffs outside reasoning folds by @chengyongru in #5714
- fix(webui): refresh skill suggestions when opening the picker by @Re-bin in #5716
- perf(webui): reduce repeated work and bound history rendering by @chengyongru in #5703
- fix(webui): preserve project when creating a topic from its menu by @chengyongru in #5717
- feat(exec): add a macOS Seatbelt sandbox backend by @LuckTerence in #5628
- feat(providers): send x-opencode-session header for OpenCode session by @GUTYL in #5662
- feat(webui): expand and organize settings with autosave by @chengyongru in #5704
- fix(exec): preserve UTF-8 across streaming output chunks by @gary23w in #5708
- fix(tg): route /compact and /evaluator-prompt to the command router by @Naster17 in #5707
- fix(mcp): refresh expired OAuth tokens automatically by @chengyongru in #5573
- fix(telegram): adapt command spellings within the channel by @Naster17 in #5711
- feat(webui): refine sidebar hierarchy and selection feedback by @chengyongru in #5722
- fix(webui): align chat elements and fix prompt rail grouping by @chengyongru in #5725
- fix(webui): align standalone page widths with conversations by @Re-bin in #5723
- fix(discord): update the compaction notice in place instead of sending a second message by @L4XB in #5720
- fix: stream internal model calls with idle timeouts by @chengyongru in #5730
- feat(tg): collapse context compaction notices into one edited message by @Naster17 in #5706
- feat(webui): improve setup flows across chat channels (NAN-112) by @chengyongru in #5356
- refactor(webui): split channel setup responsibilities by @chengyongru in #5733
- perf(webui): cache public favicon requests by @chengyongru in #5736
- fix(memory): clarify Dream prompt write permissions by @chengyongru in #5734
- fix(email): disable intermediate progress delivery by @chengyongru in #5737
- feat(webui): simplify automation management and unify disclosure motion by @Re-bin in #5740
- fix(webui): omit binary data from tool progress by @chengyongru in #5741
- fix(webui): restore navigation after automation deletion by @Re-bin in #5742
- chore: remove core agent line count script by @chengyongru in #5744
- fix(provider): clean up replayed items before sending them to providers by @kkkhoo in #5613
- fix(webui): make large history replay incremental and cached by @chengyongru in #5745
- perf(webui): reduce long-text streaming refresh overhead by @chengyongru in #5738
- fix(webui): make headless login self-explanatory by @chengyongru in #5735
- fix(webui): simplify settings catalog controls and headings by @Re-bin in #5743
- fix(webui): unify app logos and brand mentions by @Re-bin in #5754
- fix(webui): improve mobile composer and settings navigation by @Re-bin in #5755
- fix(webui): streamline the connection screen by @chengyongru in #5758
- fix(webui): support remote project paths and honor picker capabilities by @chengyongru in #5673
- test(security): keep proxy-clearing fixtures hermetic on hosts with OS-level proxies by @fszcd in #5756
- fix(webui): keep Markdown table source inline in file previews by @chengyongru in #5759
- fix(webui): adapt chat toolbar to available width by @chengyongru in #5760
- fix(cron): preserve pending runs when editing automation details by @beemines in #5751
- fix(cron): defer timer rearming while jobs execute by @Kuang-xianxin in #5686
- fix(tools): preserve edit line boundaries and unify success summaries by @KailBug in #5761
- perf: reduce streaming text processing and classic CLI redraws by @chengyongru in #5728
- fix(memory): recover archive tool calls before raw fallback by @chengyongru in #5774
- fix(qq): protect inbound attachment downloads from SSRF by @KDB-Wind in #5697
- fix(feishu): use /page/cli verification URL for QR onboarding by @hammerhoundai in #5768
- fix(session): search older pages of persisted conversation history by @beemines in #5757
- fix(email): require trusted authentication results by @Re-bin in #5778
- fix(tools): scope file-read dedup to model context by @chengyongru in #5775
- fix(providers): preserve assistant content with tool calls by @wzrayyy in #5783
- refactor(webui): animate segmented control indicator by @chengyongru in #5786
- chore(release): prepare v0.3.5 by @Re-bin in #5785
- build: bundle native TUI in platform wheels by @Re-bin in #5787
New Contributors
- @shixi-li made their first contribution in #5054
- @khmylov made their first contribution in #5036
- @stupidloud made their first contribution in #4656
- @ATECHPCS made their first contribution in #5126
- @Solaris-star made their first contribution in #5136
- @arcdrake22 made their first contribution in #5216
- @amkile made their first contribution in #5191
- @amir-rezaei made their first contribution in #5141
- @MVS-source made their first contribution in #4861
- @concertypin made their first contribution in #5210
- @orrinwitt made their first contribution in #5248
- @ziuus made their first contribution in #5272
- @wesleyzhangwq made their first contribution in #5265
- @LHMQ878 made their first contribution in #5269
- @KailBug made their first contribution in #5303
- @abhinavaditya811 made their first contribution in #5345
- @shen0122 made their first contribution in #5392
- @rickererer made their first contribution in #5376
- @XiaoHuo888-hue made their first contribution in #5328
- @QQQ300kuai made their first contribution in #5156
- @Shizoqua made their first contribution in #5434
- @akinolur made their first contribution in #5455
- @chrischen-coder made their first contribution in #5496
- @Wsp030914 made their first contribution in #5473
- @Oxygen56 made their first contribution in #5588
- @tilladam made their first contribution in #5489
- @nolanchic made their first contribution in #5531
- @DannyYTL made their first contribution in #5622
- @loseintwilight made their first contribution in #5629
- @pengpengyi92 made their first contribution in #5515
- @yaoruiquan made their first contribution in #5651
- @shakewingo made their first contribution in #5687
- @cleverLucky made their first contribution in #5607
- @BenWituka made their first contribution in #5682
- @n1uz1 made their first contribution in #5692
- @LuckTerence made their first contribution in #5628
- @GUTYL made their first contribution in #5662
- @gary23w made their first contribution in #5708
- @Naster17 made their first contribution in #5707
- @L4XB made their first contribution in #5720
- @kkkhoo made their first contribution in #5613
- @fszcd made their first contribution in #5756
- @beemines made their first contribution in #5751
- @Kuang-xianxin made their first contribution in #5686
- @hammerhoundai made their first contribution in #5768
Full Changelog: v0.3.0...v0.3.5
详细ChangeLogv0.3.0
2026年07月25日
🐈 nanobot v0.3.0 is here: 260 PRs merged and 38 new contributors. The agent gained agency.
The fastest way to experience the release is one command:
nanobot webuiIt prepares the local WebUI, starts the gateway, and opens the browser workbench. On a fresh install, guided setup helps you choose a provider and configure access without beginning in a JSON file. The published package already includes the WebUI, so there is no separate frontend build.
The product story is a WebUI that now feels like the front door to nanobot. Chats read as topics; documents, quoted follow-ups, multimodal tool results, file diffs, code previews, and model fallback are visible in the conversation. Model presets can be switched from the composer, native desktop hosts can open a system folder picker, settings work better across narrow screens and dark mode, and the interface now includes Brazilian Portuguese plus substantially improved Traditional Chinese.
Underneath that experience is agency with boundaries. nanobot can consult inline subagents, carry explicitly authorized work through verification, route turn state through a clearer runtime context, and switch model presets per session. Long-running behavior is deliberate: /goal opts a task into sustained execution, while ordinary conversations remain ordinary conversations.
The foundation is a runtime built for real deployment. Configuration can reload without tearing down the process, channels have clearer package boundaries, gateway restart and shutdown paths are sturdier, and Docker and Render deployment are easier to reproduce. Provider-scoped proxies, OpenCode, Kimi Coding, Grok OAuth with hosted X Search, Parallel Search, Serper, Mattermost, and the native Neonize WhatsApp channel broaden where nanobot can run and what it can reach.
Highlights
- One command to the workbench -
nanobot webuiprepares the local channel, starts the gateway, opens the browser, and leads first-time users into guided setup. - A stronger browser workbench - Topic-style chats, composer model switching, quoted follow-ups, document attachments, native folder selection, responsive settings, and clearer fallback state.
- Agent coordination without core sprawl - Inline subagents can consult inside the active task, authorized work can continue through verification, and typed runtime context keeps provider-owned state out of ad hoc loop logic.
- Explicit long-running goals - Sustained execution is gated behind
/goal, with clearer permission, cancellation, timeout, heartbeat, and local-trigger behavior. - Files and tool activity you can inspect - Syntax-highlighted previews, live file-edit diffs, better code-copy behavior, structured tool errors, richer MCP artifacts, and preserved multimodal tool output.
- A more operational runtime - Live configuration reloads, bounded session and exec state, safer restart/shutdown, cleaner cancellation ownership, more reliable scheduled work, and faster CI.
- Broader providers and search - OpenCode Zen/Go, Kimi Coding, Grok OAuth, provider-scoped proxies, Copilot Enterprise overrides, Parallel Search, Serper, and steadier authentication fallback.
- Channels as maintainable extensions - Native Neonize WhatsApp, Mattermost, improved Feishu/Telegram/Discord/Matrix/QQ behavior, optional channel dependencies, and clearer setup flows.
- Security tightened at the edges - Chained-command allowlist bypasses are blocked, SSRF checks pin validated DNS, credentials are redacted from MCP URLs, remote API binds require authentication, and attachment ingress is constrained.
- Documentation and delivery caught up - Workflow-oriented docs, an automation guide, one-click Render deployment, stronger Docker controls, community-maintained project language, and a refreshed SVG identity.
Upgrade Notes
- WhatsApp now uses Neonize instead of the old Node.js/Baileys bridge. Remove
bridgeUrlandbridgeToken, runnanobot plugins enable whatsapp, and link the account again withnanobot channels login whatsapp. The old bridge authentication data is not reused.allowFromentries should use the sender ID without a leading+. - Sustained goals are now explicit. Use
/goalwhen a task should keep working across continuation turns. Normal chats no longer inherit long-running goal behavior implicitly. - Remote exposure requires authentication. Configurations that bind the API or WebUI gateway beyond loopback must provide the corresponding API or Web token. Localhost setup continues to use the guided short-lived token flow.
Community
Thank you to everyone who shaped v0.3.0: 260 merged PRs, 38 first-time contributors, and a month of careful review across the agent core, WebUI, providers, channels, security, documentation, and deployment. The Agency Release is not about making nanobot act without limits. It is about giving a small, inspectable agent the coordination, evidence, and operational discipline to finish more of the work you intentionally hand it.
What's Changed
- docs: add v0.2.2 release news by @Re-bin in #4461
- fix: skip sendRichMessage when streaming preview exists (#4470) by @axelray-dev in #4472
- fix(providers): dedupe tool_use ids to prevent Anthropic 400s by @tedyyan in #4444
- chore: bump to node 24 by @dvejmz in #4460
- feat(providers): add OpenCode Zen and OpenCode Go providers by @zpljd258 in #4476
- fix(webui): prevent iOS Safari composer zoom by @chengyongru in #4471
- docs: document runtime environment variables by @chengyongru in #4462
- fix(gateway): handle lifecycle edge cases by @chengyongru in #4447
- fix(pairing): normalize sender IDs to str in the pairing store by @waelantar in #4433
- feat(provider): add kimi_coding provider for Kimi Coding Plan by @zpljd258 in #4464
- Fix raw tags in reasoning output by @ZhouJ-sh in #4466
- fix(config): preserve dream cron when saving config by @yorkhellen in #4478
- fix(web): pass proxy to DDGS client for DuckDuckGo search by @hyoukadev in #4484
- fix: exclude archived keys in heartbeat & fallback missing session timestamps by @HengWeiBin in #4468
- fix(webui): keep multi-file apply_patch edits by @chengyongru in #4487
- fix(webui): restore code block copy fallback by @chengyongru in #4509
- test: speed up test suite by @chengyongru in #4507
- fix: add rich_messages config to disable sendRichMessage for Telegram Web (#4488) by @axelray-dev in #4489
- fix(tools): gate MCP resource and prompt registration behind enabledTools by @michaelxer in #4436
- fix(dingtalk): preserve richText formatting and set HTTP client timeout by @maxmilian in #4501
- fix(cli): show search engines (incl. Keenable) in onboard wizard by @IlyaGusev in #4438
- fix(webui): WebM→WAV conversion for Xiaomi MiMo ASR transcription by @zpljd258 in #4493
- fix: advance dream cursor when Dream is disabled to prevent prompt bloat (#4242) by @axelray-dev in #4481
- fix: allow custom provider to configure thinking style (#4429) by @axelray-dev in #4482
- fix: make subagent fail_on_tool_error configurable (#4198) by @axelray-dev in #4485
- docs: clarify heartbeat versus cron delivery by @chengyongru in #4543
- test: harden webui and gateway checks by @chengyongru in #4535
- fix: change exec login-shell default from true to false (#4518) by @axelray-dev in #4525
- fix(session): remove message time replay prefixes by @chengyongru in #4540
- fix(agent): gate microcompaction on context pressure by @chengyongru in #4238
- refactor(whatsapp): replace bridge with neonize by @chengyongru in #4537
- fix(exec): prevent allowPatterns bypass via chained commands by @axelray-dev in #4526
- test: fix flaky test_keeps_n_most_recent due to identical mtimes by @primit1v0 in #4523
- fix: deduplicate tool call IDs in non-stream parser (#4059) by @axelray-dev in #4530
- fix: include _stream_id in stream delta coalescing key (#4063) by @axelray-dev in #4531
- fix: validate content block type in Anthropic assistant blocks (#4060) by @axelray-dev in #4532
- fix: prevent session key collision on disk (#4057) by @axelray-dev in #4533
- fix(cron): guard public APIs against unavailable store by @yorkhellen in #4564
- fix(webui): clear stuck streaming after reconnect and improve stop reliability by @axelray-dev in #4565
- feat(mcp): deliver image content from MCP tools as artifacts by @codedragoncom in #4542
- fix(session): repair corrupt legacy-stem files in list_sessions by @axelray-dev in #4566
- fix(agent): harden tool-call path against malformed relay responses by @m11y in #4569
- fix(context): make replay message cap internal by @chengyongru in #4582
- refactor(session): return RetentionResult instead of bare tuple by @axelray-dev in #4574
- feat(webui): refine prompt rail minimap by @Re-bin in #4600
- fix(streaming): skip non-file-edit tools in apply_final_call_ids to prevent id corruption by @axelray-dev in #4596
- fix(install): skip wizard without an interactive terminal by @chengyongru in #4602
- fix(restart): add explicit restart mode by @chengyongru in #4607
- feat(providers): support GitHub Copilot endpoint overrides for enterprise/GHE by @04cb in #4598
- feat(whatsapp): send read receipts (blue double-check) for incoming messages by @franciscomaestre in #4601
- feat(providers): support provider-scoped proxy config by @chengyongru in #4578
- test(exec): cover bwrap sandbox mounts by @yu-xin-c in #4577
- fix(weixin): stream LLM calls + buffer reply delivery to dodge non-stream relay bug by @m11y in #4567
- fix(mcp): redact credentials from URLs before logging by @weijun-xia in #4584
- fix(cli): allow oauth login to be/set main provider by @hamb1y in #4573
- fix(webui): keep idle compaction out of session recency by @chengyongru in #4609
- refactor(webui): derive provider model catalog kind by @chengyongru in #4613
- refactor(tools): use structured tool error results by @chengyongru in #4610
- feat(api): require api_key when binding to all interfaces (parity with WS gateway) by @dajiaohuang in #4548
- feat(webui): add dollar skill shortcuts by @chengyongru in #4284
- fix(cron): tolerate unsupported directory fsync by @chengyongru in #4617
- refactor(bus): type outbound runtime events by @chengyongru in #4590
- feat(trigger): add session-bound local triggers by @chengyongru in #4591
- fix(trigger): cap local trigger audit records by @Re-bin in #4642
- fix(exec): return early when session command exits by @chengyongru in #4643
- test(cron): cover stale instance mutation consistency by @yu-xin-c in #4633
- test: cover runner blocked tool-call finish reasons by @yu-xin-c in #4630
- fix(webui): hide subagent backfill payloads by @chengyongru in #4641
- fix(agent): avoid tool compaction echo loops by @chengyongru in #4647
- fix(trigger): keep local worker alive on turn cancel by @chengyongru in #4644
- feat(memory): add workspace Dream prompt override by @chengyongru in #4491
- fix(providers): update Anthropic default model to claude-sonnet-4-6 by @bingqilinweimaotai in #4687
- fix: omit temperature for sonnet 5 by @hamb1y in #4685
- Add optional Nanobot plugin controls by @chengyongru in #4396
- feat(cli): add safe WebUI first-run launcher by @Re-bin in #4688
- fix(config): serialize model presets as camelCase by @Yuxin-Lou in #4692
- fix(mcp): contain malformed tool results by @Yuxin-Lou in #4666
- fix(copilot): guard token refresh with asyncio.Lock to prevent race condition by @axelray-dev in #4684
- fix(pairing): restore durable atomic writes by @yorkhellen in #4653
- fix(dingtalk): stop stream task on shutdown by @chengyongru in #4646
- fix(gateway): handle Windows stop fallback by @Raccoon-njuse in #4690
- fix(providers): standardize oauth_cli_kit error messages across CLI and WebUI by @axelray-dev in #4698
- fix: normalize text tool call markup by @hamb1y in #4662
- fix: isolate matrix stream buffers by @hamb1y in #4659
- fix: resolve builtin skill reads by @hamb1y in #4658
- fix(exec): default Windows commands to PowerShell and allow shell parameter by @dajiaohuang in #4545
- feat(web-search): add Serper.dev (Google Search API) provider by @franciscomaestre in #4406
- fix: limit long MCP-derived tool names by @thomya in #4700
- fix(webui): keep chat viewport and composer inside narrow viewports, fixes #4693 by @hata33 in #4694
- fix(dream): ground memory audit records in the real git diff by @goodtiding5 in #4673
- feat: support canonical opencode provider by @hamb1y in #4686
- feat(feishu): add new session divider by @chengyongru in #4763
- feat: add Mattermost channel support by @goodtiding5 in #4459
- fix(cli): print response text when streaming fails in interactive mode by @goodtiding5 in #4654
- fix(gateway): self-heal state file PID on server startup by @dajiaohuang in #4547
- fix(gateway): resolve config path for state refresh by @Re-bin in #4770
- fix: pin validated dns for ssrf checks by @hamb1y in #4671
- feat(cli): support multiline input via Alt+Enter by @m11y in #4614
- chore: remove unused dead code by @chengyongru in #4824
- fix(webui): show generic tool arguments in activity by @chengyongru in #4821
- refactor(webui): drive slash commands from lifecycle metadata by @chengyongru in #4766
- fix: require api key for serve by @hamb1y in #4669
- Fix missing aiohttp slack dependency in pyproject.toml by @alekwo in #4830
- fix(webui): keep prompt rail out of narrow chat columns by @chengyongru in #4831
- Feature: non-interactive config refresh with 'nanobot onboard --refresh' by @alekwo in #4852
- docs: improve search entry pages by @chengyongru in #4850
- fix(webui): gate bootstrap API token issuance by @chengyongru in #4849
- refactor(agent): extract turn hook assembly by @chengyongru in #4848
- fix(webui): restore localhost bootstrap API tokens by @chengyongru in #4856
- feat(webui): add file edit diff progress view by @chengyongru in #4828
- fix(matrix): preserve mxc markdown image sources by @chengyongru in #4859
- Add Dockerfile arg to override optional Python dependencies to install at build time by @dvejmz in #4857
- refactor(agent): establish turn/runtime context foundation by @chengyongru in #4868
- docs: add automation guide by @chengyongru in #4865
- fix(webui): sync package-lock.json to resolve docker build failure by @SIDD-KIDD in #4863
- fix(sandbox): add Red Hat certificate path support for Node by @luojiaaoo in #4845
- fix(cli): handle CSI-u Shift+Enter instead of dumping raw escapes by @m11y in #4832
- fix(webui): bind landing first message to created chat by @sidkang in #4836
- fix(shell): reap zombie processes on all subprocess exit paths by @macroadster in #4840
- feat(webui): highlight file previews and diffs by @chengyongru in #4877
- feat(webui): guide queued prompt with second Enter by @chengyongru in #4876
- fix(tools): enforce exact edit_file line hints by @chengyongru in #4635
- fix(dream): skip no-op periodic commit attempts by @alekwo in #4873
- fix(mcp): keep transport cleanup in owner tasks by @flyzstu in #4843
- refactor(agent): gate sustained goals behind explicit /goal by @chengyongru in #4844
- fix(webui): allow remote workspace access reduction by @Re-bin in #4892
- fix(heartbeat): rewrite prompt to execute tasks instead of reporting by @wzrayyy in #4896
- fix(discord): route unauthorized DMs to pairing by @chengyongru in #4899
- fix(memory): prune encoded Dream sessions by @chengyongru in #4900
- feat(webui): add guided setup flows by @Re-bin in #4855
- fix(cli): restore enter before webui prompts by @Re-bin in #4903
- fix(gateway): harden health endpoint exposure by @Re-bin in #4906
- fix: align optional dependency contracts by @chengyongru in #4907
- fix(dream): filter non-Dream history commits by @chengyongru in #4905
- fix(codex): align OAuth defaults and setup docs by @chengyongru in #4910
- docs: remove broken Star History embed by @chengyongru in #4912
- docs: update recent changes through July 12 by @chengyongru in #4913
- feat(webui): add Brazilian Portuguese (pt-BR) locale by @bill-kopp-ai-dev in #4914
- fix(dream): ignore line-ending-only memory diffs by @bingqilinweimaotai in #4909
- fix(telegram): HTML parse_mode for stream overflow chunks by @asif786ka in #4839
- fix(shell): decode UTF-16 process output on Windows by @adabarbulescu in #4917
- docs: reorganize documentation around user workflows by @chengyongru in #4916
- feat(webui): support document attachments with ingress safeguards by @chengyongru in #4771
- refactor(webui): centralize native runtime access by @chengyongru in #4769
- fix(agent): add wall-clock timeout for streaming LLM requests by @wingkwong in #4902
- fix: catch asyncio CancelledError in close_mcp shutdown by @bjoshuanoah in #4842
- fix: install timezone data on Windows by @chengyongru in #4921
- chore(codex): identify failing request stage by @chengyongru in #4929
- feat(webui): add copy action to user messages by @chengyongru in #4930
- fix(webui): sync package-lock.json for qrcode dependency by @3L1AS in #4927
- fix: standardize --config help text across CLI commands by @rbankole in #4932
- test: speed up CI and harden the suite by @chengyongru in #4936
- feat(webui): highlight slash commands and app mentions by @chengyongru in #4933
- fix(restart): deliver completion after channel reconnects by @chengyongru in #4931
- fix(heartbeat): make response evaluation more configurable by @wzrayyy in #4915
- fix(cli): point onboarding to the WebUI launcher by @chengyongru in #4938
- fix(webui): validate inferred file paths before preview by @chengyongru in #4935
- fix(webui): correct activity timer duration by @chengyongru in #4649
- fix(providers): honor Codex proxy config consistently by @chengyongru in #4943
- fix(gateway): stop channels before draining tasks by @chengyongru in #4944
- docs(readme): reflect community maintenance by @Re-bin in #4950
- feat(webui): support native folder picker bridges by @Re-bin in #4953
- fix(providers): omit temperature for Moonshot Kimi K2.5/K2.6 by @bingqilinweimaotai in #4967
- Improve zh-TW Traditional Chinese locale by @PeterDaveHello in #4958
- fix(utils): handle empty commit messages in CommitInfo.format by @santhreal in #4973
- fix(utils): coerce Tavily usage counters to int by @santhreal in #4972
- fix(utils): avoid hang in split_message when max_len <= 0 by @santhreal in #4971
- fix(exec): isolate exec session managers by @yu-xin-c in #4862
- fix: preserve real cancellation in MCP paths by @adabarbulescu in #4960
- fix(session): bound the in-memory session cache by @KDB-Wind in #4957
- (fix docker) Harden default Docker Compose security by @Yuxin-Lou in #4955
- feat: add Kimi K3 support by @bingqilinweimaotai in #4966
- fix(cron): dual-case keys when loading jobs.json by @santhreal in #4974
- feat: add one-click deploy to render support by @Ho1yShif in #4937
- fix(agent): guide recovery from oversized tool results by @chengyongru in #4925
- fix(triggers): coerce null ms fields when loading local triggers by @santhreal in #4986
- fix(gitstore): resolve staged paths relative to workspace by @kuchazi-yy in #4979
- fix(cli-apps): decode subprocess output as UTF-8 by @kuchazi-yy in #4976
- fix(providers): fail over across provider failure domains by @chengyongru in #4904
- fix(whatsapp): allow group ids in allowFrom by @chengyongru in #4834
- fix(triggers): reject deliveries to disabled channels by @kuchazi-yy in #4990
- refactor(channels): make built-in channels self-contained by @chengyongru in #4908
- fix(webui): resolve Windows package manager shims by @chengyongru in #4994
- fix(webui): show copy action on every assistant message by @chengyongru in #5001
- style(webui): simplify Markdown code blocks by @chengyongru in #5002
- fix(channels): complete dependency manifest migration by @chengyongru in #4995
- docs(ollama): document tool prompt cache diagnostics by @chengyongru in #4998
- fix(qq): add exponential backoff to WebSocket reconnect loop by @gola in #4768
- refactor(agent): unify internal turn lifecycle by @chengyongru in #4993
- fix(session): tolerate unsupported directory fsync by @amplifierplus in #5004
- fix: stop masking runtime failures by @chengyongru in #5011
- fix(cron): coerce null runHistory ms fields from jobs.json by @santhreal in #4985
- fix(runner): narrow BaseException catch to Exception in tool execution by @axelray-dev in #4816
- fix(session): cap messages at persistence boundary by @KDB-Wind in #4956
- fix(exec): terminate active session process trees on shutdown by @KDB-Wind in #4978
- fix(security): validate each shell segment against exec.allowPatterns by @michaelxer in #4562
- fix(files): reject oversized reads before loading by @amplifierplus in #5014
- fix(webui): keep Markdown table diffs inline by @chengyongru in #5015
- fix(webui): prioritize skill names in autocomplete by @chengyongru in #5016
- fix(config): write config.json atomically via temp+replace by @santhreal in #4984
- fix(transcription): resolve ${VAR} env refs in transcription api_key/api_base by @benlenarts in #4989
- feat(providers): support Codex fast mode by @chengyongru in #5019
- fix(cron): coerce string schedule/state ms fields from jobs.json by @santhreal in #4983
- fix(providers): sanitize UTF-16 surrogates at provider request boundary by @Krislu1221 in #4952
- feat(webui): highlight skill references in sent messages by @chengyongru in #5020
- Feat/modelscope provider support by @yrk111222 in #4965
- docs(security): recommend env-var references over plaintext API keys by @cms19859230182-lang in #5010
- fix: quarantine invalid tool results by @hamb1y in #4663
- fix(providers): add Qwen model-level thinking style mapping by @cms19859230182-lang in #5023
- feat(webui): show pin indicators for pinned chats by @chengyongru in #5025
- feat(config): watch runtime configuration changes by @chengyongru in #5026
- fix(webui): detect Chrome voice recording support by @chengyongru in #5027
- style(webui): clarify surface hierarchy by @chengyongru in #5029
- fix(webui): improve mobile composer layout by @chengyongru in #5030
- fix(subagent): cascade exec session termination on /stop by @yorkhellen in #5021
- fix(webui): avoid mobile welcome composer overlap by @chengyongru in #5031
- fix(agent): preserve agent-owned state in project workspaces by @chengyongru in #4945
- feat(webui): polish agent output and app discovery by @Re-bin in #4963
- fix(webui): deliver late subagent results as new turns by @chengyongru in #4992
- feat(agent): make model presets session-scoped by @chengyongru in #4866
- feat(providers): add xAI Grok OAuth with capability-gated X Search by @chengyongru in #5035
- feat(image): apply generation settings live by @Re-bin in #4964
- fix(agent): deliver non-streamed finalization responses by @chengyongru in #5049
- docs: explain slow optional dependency installs by @chengyongru in #5048
- feat(xai): surface hosted X Search activity by @chengyongru in #5050
- fix(feishu): keep fenced markdown tables out of card tables by @santhreal in #5046
- fix(slack): keep fenced markdown tables intact in _to_mrkdwn by @santhreal in #5045
- fix(pairing): treat null approved channel lists as empty by @santhreal in #5044
- fix(cron): skip null runHistory elements when loading jobs.json by @santhreal in #5043
- fix: add one second to retry after delays by @wzrayyy in #4959
- fix(telegram): expose proxy setup in WebUI by @chengyongru in #5033
- fix(providers): fall back on authentication errors by @chengyongru in #5052
- fix(session): fall back to legacy paths in metadata reads by @axelray-dev in #4941
- chore: pin migration TODOs to v0.2.4 by @chengyongru in #5053
- feat(webui): indicate per-turn model fallback by @chengyongru in #5017
- fix(documents): preserve DOCX table content by @Re-bin in #5039
- style(webui): unify settings and dark mode surfaces by @chengyongru in #5058
- fix(webui): polish responsive layouts and settings search by @chengyongru in #5060
- fix(webui): keep composer model badge in sync by @Re-bin in #5067
- fix(session): tolerate files removed during listing by @KDB-Wind in #5068
- fix(exec): retain stale sessions after cleanup failure by @KDB-Wind in #5066
- fix(telegram): advance markdown split on long single-line fences by @santhreal in #5055
- fix(exec): extract absolute paths after equals sign in shell guard by @axelray-dev in #4594
- fix(webui): allow media directory access when restrictToWorkspace is enabled by @cms19859230182-lang in #5065
- feat(webui): simplify model preset settings by @chengyongru in #5061
- test(agent): use python3 in ExecTool workspace scope tests by @flyzstu in #5064
- feat(webui): present chats as topics by @chengyongru in #5070
- feat(webui): add Parallel Search MCP preset by @georgeatparallel in #5047
- fix: preserve pending message runtime context by @hamb1y in #4665
- fix(webui): show quoted context after follow-up send by @chengyongru in #5071
- Revert "fix: preserve pending message runtime context" by @chengyongru in #5072
- feat(webui): switch model presets from the composer by @chengyongru in #5077
- fix(webui): honor custom gateway port with Vite by @chengyongru in #5076
- fix(providers): preserve multimodal tool outputs by @Re-bin in #5073
- feat(agent): support inline subagent consultation by @Re-bin in #5074
- feat(agent): carry authorized tasks through verification by @Re-bin in #5075
- feat: launch first-time setup in webui by @chengyongru in #5078
- Add nanobot logo (SVG) by @d1ago in #5079
- feat(brand): migrate README and WebUI assets to SVG by @chengyongru in #5080
- chore(release): prepare v0.3.0 by @Re-bin in #5081
New Contributors
- @tedyyan made their first contribution in #4444
- @dvejmz made their first contribution in #4460
- @ZhouJ-sh made their first contribution in #4466
- @hyoukadev made their first contribution in #4484
- @maxmilian made their first contribution in #4501
- @codedragoncom made their first contribution in #4542
- @m11y made their first contribution in #4569
- @weijun-xia made their first contribution in #4584
- @dajiaohuang made their first contribution in #4548
- @bingqilinweimaotai made their first contribution in #4687
- @Raccoon-njuse made their first contribution in #4690
- @thomya made their first contribution in #4700
- @hata33 made their first contribution in #4694
- @goodtiding5 made their first contribution in #4673
- @SIDD-KIDD made their first contribution in #4863
- @luojiaaoo made their first contribution in #4845
- @sidkang made their first contribution in #4836
- @flyzstu made their first contribution in #4843
- @wzrayyy made their first contribution in #4896
- @bill-kopp-ai-dev made their first contribution in #4914
- @asif786ka made their first contribution in #4839
- @adabarbulescu made their first contribution in #4917
- @wingkwong made their first contribution in #4902
- @bjoshuanoah made their first contribution in #4842
- @3L1AS made their first contribution in #4927
- @rbankole made their first contribution in #4932
- @PeterDaveHello made their first contribution in #4958
- @santhreal made their first contribution in #4973
- @KDB-Wind made their first contribution in #4957
- @Ho1yShif made their first contribution in #4937
- @kuchazi-yy made their first contribution in #4979
- @gola made their first contribution in #4768
- @amplifierplus made their first contribution in #5004
- @Krislu1221 made their first contribution in #4952
- @yrk111222 made their first contribution in #4965
- @cms19859230182-lang made their first contribution in #5010
- @georgeatparallel made their first contribution in #5047
- @d1ago made their first contribution in #5079
Full Changelog: v0.2.2...v0.3.0
详细ChangeLogv0.2.2
2026年06月23日
🐈 nanobot v0.2.2 is here — 140 PRs merged, 21 new contributors. The agent got sturdier!
The headline is durability. WebUI conversations now survive more of real life: transcripts are segmented instead of living in one fragile file, forked chats preserve replies more reliably, active turns scroll and replay more predictably, startup paths block less, and gateway shutdown is much calmer. Long sessions, stale providers, slow routes, broken config files, malformed history, stream stalls, and empty provider responses all got less likely to derail the work.
The second story is nanobot becoming a real Python runtime. The SDK is no longer just a thin convenience layer around the agent loop: concurrent run() calls are isolated, hooks are cleaner, MCP lifecycle handling is safer, runtime controls are broader, and the docs now teach the SDK from first principles. If you want to embed nanobot inside your own application, v0.2.2 is the first release where that path feels intentional.
The third story is the workbench getting broader and easier to live in. The WebUI gained automation management, prompt navigation, token usage visibility, mobile polish, better update checks, richer activity timing, and a faster settings surface. The ecosystem expanded with Firecrawl as a keyless Web Data app, Exa / Bocha / Keenable / Volcengine search, more transcription providers, custom image generation, better Mistral and Kimi handling, and many channel fixes across Telegram, Feishu, WhatsApp, Slack, Email, QQ, DingTalk, and more.
Highlights
-
More durable WebUI sessions — Segmented transcript storage keeps large conversations readable without throwing away old turns, fork/replay paths preserve assistant replies more reliably, session deletion cleans up legacy files, refreshes no longer revive stale content, and active turns stay anchored while the model works. The WebUI also got prompt navigation, better mobile layout, clearer activity durations, token usage rendering, safer startup fetches, and on-demand version checks.
-
Python SDK as a first-class runtime — The SDK now has safer concurrent
run()behavior, explicit runtime controls, cleaner per-run hook handling, better MCP cleanup, improved facade lifecycle behavior, and more beginner-friendly documentation. This makes nanobot easier to embed in scripts, services, evaluations, and custom agent products. -
Gateway and onboarding polish — The gateway gained background/service controls, cleaner foreground shutdown, safer Ctrl+C behavior, and better MCP stdio cleanup. The onboarding flow was simplified around provider-first Quick Start, more neutral provider selection, safer WebUI setup, rollback on WebSocket failure, and better keyboard navigation.
-
Search, speech, and provider coverage — Web search now covers Firecrawl, Exa, Bocha, Keenable, and Volcengine paths; transcription expanded with shared voice input plus OpenRouter, StepFun, SiliconFlow, Xiaomi MiMo, and AssemblyAI support. Providers got better Mistral reasoning handling, Kimi K2.7 thinking, OpenAI-compatible query/body controls, custom image generation, OpenAI image edits, safer Anthropic tool IDs, and stronger retry/fallback behavior.
-
Reliability hardening across the agent core — Recent-history context is token-capped, idle auto-compact is on by default, Dream explains empty runs, malformed history is skipped, history cursors stay monotonic, tool schema estimates are cached, unknown builtin tool parameters are rejected, provider fallback logs the primary error, and stream stalls can retry or fall back without returning a truncated answer.
-
Channels that behave more like real apps — Telegram gained richer message support with safer fallback detection; Feishu got streaming recovery, WebSocket card reading, table extraction, lazy SDK loading, and QR login; WhatsApp got read receipts, forwarded-message handling, and LID mapping; Slack allowlisted channels can require mentions; Email gained attachments and IMAP post-actions; QQ / Napcat, DingTalk, Weixin, Matrix, and others received targeted fixes.
-
Security and workspace boundaries — Unsafe MCP HTTP URLs are rejected before probing, local provider endpoints bypass env proxies while cloud endpoints still respect them, workspace write policy is clearer, git commands work from workspace subdirectories without relaxing path guards, bwrap gets a sane
HOME, and stripped image inputs no longer leak misleading local paths.
Community
Huge thanks to everyone who shipped v0.2.2 — 140 PRs, 21 first-time contributors, and a lot of careful review work. This release is less about one big switch and more about making nanobot dependable enough to keep open every day: steadier sessions, cleaner extension points, broader providers, and fewer sharp edges when real work gets long.
What's Changed
- Refactor WebUI runtime state onto event bus by @chengyongru in #4135
- feat(dingtalk): add group_user_isolation to separate sessions per use… by @lmzopq in #4016
- feat(search): add Volcengine web search provider by @Re-bin in #4141
- fix(webui): sort Chats group among projects by recency by @chengyongru in #4151
- Fix WebUI refresh location routing by @chengyongru in #4150
- fix: Support fallback copy for WebUI replies by @chengyongru in #4149
- fix(memory): serialize cursor allocation in append_history (#4081) by @04cb in #4147
- feat(channels): Add Napcat (QQ) channel by @chengyongru in #4146
- feat(webui): add prompt rail and polish links by @Re-bin in #4156
- fix(runner): prevent read_file offload loop by @jiehaoZ in #4155
- refactor: split WebUI gateway dependencies by @chengyongru in #4115
- fix(webui): bound startup fetch waits by @chengyongru in #4157
- feat(email): add file attachment support to email channel by @chengyongru in #4162
- refactor(dream): replace two-phase Dream class with simple cron + process_direct by @chengyongru in #3990
- fix(session): reset out-of-range last_consolidated to recover hidden history (#4066) by @04cb in #4169
- fix(email): skip progress messages to prevent empty emails after tool calls by @nblondiau in #4165
- fix: restore top-level import order by @chengyongru in #4174
- fix(qq): send pairing codes for unauthorized C2C users by @yorkhellen in #4180
- fix(mcp): reconnect terminated sessions by @chengyongru in #4171
- feat(webui): add new chat keyboard shortcut by @chengyongru in #4185
- test: improve deterministic unit test coverage by @chengyongru in #4189
- fix(cli): fall back to uv pip when pip is unavailable by @axelray-dev in #4164
- Add run-level agent hook lifecycle by @chengyongru in #4176
- feat(provider): Add support for Azure AAD based Auth for Azure OpenAI provider by @kunalk16 in #4126
- fix(feishu): strip leading bot mention before commands by @Re-bin in #4184
- feat(image): support custom image generation provider by @axelray-dev in #4187
- Fix DM pairing for Weixin and Telegram by @chengyongru in #4197
- fix(webui): persist user messages for refresh by @chengyongru in #4201
- feat(command): add /skill slash command to list enabled skills by @Endeavour-Yuan in #3968
- fix(sdk): close MCP connections from Nanobot facade by @axelray-dev in #4216
- fix(providers): allow dropping default OpenAI image params via null extraBody by @04cb in #4209
- feat(desktop): polish desktop shell and shared WebUI surfaces by @Re-bin in #4195
- fix(whatsapp): handle LID group mentions by @danielphang in #2663
- fix: preserve empty-string reasoning_content instead of coercing to None by @michaelxer in #4227
- Fix token usage heatmap rendering by @chengyongru in #4248
- docs: remove nightly branch guidance by @chengyongru in #4245
- fix(mcp): reject unsafe HTTP URLs before probe by @yu-xin-c in #4123
- feat(transcription): add shared voice input support by @Re-bin in #4232
- feat(providers): add extra_query config for OpenAI-compatible providers by @axelray-dev in #4217
- feat(transcription): configurable STT model + OpenRouter transcription provider by @breitburg in #4113
- feat(transcription): add Xiaomi MiMo ASR provider (mimo-v2.5-asr) by @zpljd258 in #4175
- feat(transcription): add AssemblyAI as transcription provider by @franciscomaestre in #4224
- Improve tool call validation strictness by @chengyongru in #4190
- fix(webui): render TeX math delimiters by @chengyongru in #4252
- feat(email): add configurable IMAP post-actions for processed messages by @chengyongru in #4258
- docs: make onboarding friendlier for beginners by @chengyongru in #4177
- feat(webui): add assistant reply fork-from-here by @Bayern4ever-dot in #4208
- fix(tools): keep apply_patch additions line-separated by @yu-xin-c in #4266
- fix(providers): use max_completion_tokens for GPT-5/o-series models (#4261) by @04cb in #4268
- fix(agent): finalize max-iteration turns without tools by @chengyongru in #4269
- Add Exa web search provider by @erikmackinnon in #4213
- feat(asr): add StepFun ASR SSE transcription provider by @morandot in #4260
- fix(sandbox): set HOME inside bwrap by @primit1v0 in #4239
- search: add Bocha web search provider by @morandot in #4182
- fix(websocket): Fix bug in webui where session content is dropped by @Syoc in #4267
- fix(feishu): lazy-load lark SDK during gateway startup by @chengyongru in #4277
- Fail fast on invalid config files by @chengyongru in #4275
- Scope prompt recent history by session by @chengyongru in #4274
- feat(exec): add pathPrepend config by @chengyongru in #4273
- fix(providers): allow retry and fallback on stream stalled timeout by @aiguozhi123456 in #4272
- refactor(webui): on-demand version check in Settings > About by @JiajunBernoulli in #4255
- feat(webui): segment transcript storage by @Re-bin in #4278
- feat(transcription): add SiliconFlow as transcription provider by @morandot in #4281
- fix(utils): make split_message fenced-code-block-aware by @axelray-dev in #4257
- feat(slack): add groupRequireMention to scope allowlist channels to @mentions by @brendanlevy in #4289
- feat: support multiple custom OpenAI-compatible providers by @JagoWang in #3239
- fix(session): prevent orphaned tool results from being persisted to history (#4006) by @tangtaizong666 in #4306
- feat(bridge): WhatsApp forwarded message detection, startup guard, and contact handling by @franciscomaestre in #4226
- feat(cron): bind scheduled automations to sessions by @chengyongru in #4299
- chore(repo): remove desktop app from core repo by @Re-bin in #4294
- Break tool config schema import cycle by @chengyongru in #4314
- Fix WebUI startup blocking on slow gateway routes by @chengyongru in #4327
- fix(memory): summarize full session tail during idle compaction (#4264) by @tangtaizong666 in #4326
- fix(cli): use configured bot_icon in agent interactive banner (#4262) by @04cb in #4335
- fix(providers): widen omit_temperature to cover opus-4-8 and fable by @axelray-dev in #4334
- Fix Codex image SSE handling by @cypggs in #4332
- docs: add Kimi and MiniMax partner links by @oriengy in #4295
- docs(readme): link Kimi partner banner by @Re-bin in #4338
- fix(webui): localize update check copy by @chengyongru in #4331
- docs(readme): add themed cover image by @Re-bin in #4341
- Improve WebUI mobile responsiveness by @chengyongru in #4339
- Add tools.file.enable to toggle built-in filesystem tools by @niradler in #4138
- fix(runner): ignore empty injected payloads by @yu-xin-c in #4337
- fix(memory): ignore malformed history entries by @yu-xin-c in #4315
- fix(api): forward real LLM usage in /v1/chat/completions response by @michaelxer in #4310
- fix(session): keep auto compact suffix on user turn by @chengyongru in #4348
- fix(agent): refresh goal continuation context by @chengyongru in #4359
- fix(webui): override wsUrl with local LAN IP when on dev server port 5173 by @HengWeiBin in #4364
- chore: ignore bridge/node_modules by @franciscomaestre in #4355
- fix(providers): enable thinking for Kimi K2.7 models by @Re-bin in #4361
- fix(api): avoid duplicate user turn on empty-response retry (#4079) by @04cb in #4358
- fix(providers): validate stream idle timeout config by @yu-xin-c in #4363
- fix(context): cap recent-history digest by tokens, not characters by @waelantar in #4352
- Explain empty Dream runs by @chengyongru in #4369
- Enable idle auto-compact by default by @chengyongru in #4370
- Fix macOS installer for externally managed Python by @chengyongru in #4368
- docs: use pipe pattern for curl installer commands by @HaisamAbbas in #4365
- feat(webui): add automation management view by @chengyongru in #4330
- fix: silence unroutable cli progress noise by @chengyongru in #4386
- fix: log primary model error before fallback by @chengyongru in #4385
- fix: recover failed Feishu streaming updates by @chengyongru in #4381
- fix: allow git commands in workspace subdirectories by @HaisamAbbas in #4380
- fix(providers): disable proxy for local endpoints, respect env proxy for cloud by @michaelxer in #4367
- fix(anthropic): sanitize tool_use/tool_result IDs to API pattern by @franciscomaestre in #4356
- Fix my tool model preset switching by @chengyongru in #4347
- fix(webui): correct activity duration display by @chengyongru in #4283
- fix(session): preserve user turns in replay-window history by @Re-bin in #4349
- Clarify filesystem workspace write policy by @chengyongru in #4202
- feat(bridge): send read receipts (blue ticks) for incoming WhatsApp messages by @franciscomaestre in #4354
- feat(providers): better Mistral support by @La-Volpe in #4351
- feat(web): add Keenable search provider by @IlyaGusev in #4350
- feat(feishu): add QR scan-to-create bot CLI login feishu command by @bllackhu in #4391
- ci: skip docs-only changes by @chengyongru in #4400
- feat(webui): make Firecrawl a keyless Web Data app by @Re-bin in #4403
- fix(fallback): treat empty API choices as fallbackable error, 将 API 返回空 choices 视为可 fallback 的错误 (#4287) by @yonghuname in #4288
- [codex] fix MCP malformed progress notifications by @yu-xin-c in #4372
- fix(providers): use non-descriptive placeholder when stripping images by @michaelxer in #4401
- fix(feishu): support reading WebSocket rendered card content by @JiajunBernoulli in #4342
- fix: support OpenAI image reference edits by @sbyinin in #4394
- fix(session): delete_session also removes legacy path files to prevent history revival by @yorkhellen in #4246
- fix: set httpx timeout for streamableHttp transport by @lucndm in #4230
- feat(whatsapp): seed LID->phone mappings on startup by @franciscomaestre in #4407
- fix(memory): keep history cursor monotonic by @yu-xin-c in #4256
- perf(tokens): cache tool schema estimates by @yu-xin-c in #4428
- fix(telegram): narrow rich capability error detection and fix misleading log by @zpljd258 in #4423
- fix(tools): reject unknown builtin parameters by @yu-xin-c in #4343
- feat(web): allow Keenable search without an API key by @IlyaGusev in #4405
- fix(sdk): isolate per-run hooks for concurrent run() calls by @michaelxer in #4425
- feat(sdk): expand Python SDK runtime controls by @Re-bin in #4296
- docs(readme): update news through 2026-06-20 by @Re-bin in #4432
- Improve onboard wizard setup flow by @chengyongru in #4395
- feat(gateway): add background and service controls by @xcosmosbox in #1854
- fix(webui): avoid slow settings route refreshes by @chengyongru in #4398
- chore(config): default context window to 200k by @chengyongru in #4448
- fix: close MCP stdio transports from agent task by @Re-bin in #4450
- fix(webui): stabilize sent turn layout and dev reloads by @Re-bin in #4451
- chore(release): prepare v0.2.2 by @Re-bin in #4445
- fix(webui): follow active turn output after send by @Re-bin in #4453
- fix: stabilize gateway shutdown and webui fork replay by @Re-bin in #4454
- fix(gateway): tolerate cancelled channel tasks during shutdown by @Re-bin in #4456
New Contributors
- @lmzopq made their first contribution in #4016
- @nblondiau made their first contribution in #4165
- @michaelxer made their first contribution in #4227
- @breitburg made their first contribution in #4113
- @zpljd258 made their first contribution in #4175
- @Bayern4ever-dot made their first contribution in #4208
- @erikmackinnon made their first contribution in #4213
- @primit1v0 made their first contribution in #4239
- @Syoc made their first contribution in #4267
- @brendanlevy made their first contribution in #4289
- @JagoWang made their first contribution in #3239
- @tangtaizong666 made their first contribution in #4306
- @oriengy made their first contribution in #4295
- @niradler made their first contribution in #4138
- @waelantar made their first contribution in #4352
- @La-Volpe made their first contribution in #4351
- @IlyaGusev made their first contribution in #4350
- @bllackhu made their first contribution in #4391
- @yonghuname made their first contribution in #4288
- @sbyinin made their first contribution in #4394
- @lucndm made their first contribution in #4230
Full Changelog: v0.2.1...v0.2.2
详细ChangeLogv0.2.1
2026年06月01日
🐈 nanobot v0.2.1 is here — 84 PRs merged, 17 new contributors. The agent got a real workbench.
The headline is the WebUI becoming the place where work actually happens. The chat surface is smoother, faster, and easier to trust: live file edits show up as activity, tool traces render more cleanly, source links get readable favicons, markdown and code blocks behave better, new chats survive refreshes, and Thought / response ordering now matches the model's real turn structure. Settings, sidebar controls, model switching, context-window control, slash commands, project workspaces, and access modes all moved closer to a single coherent control surface.
The second story is long-running work getting more durable. Sustained goals no longer trip the runner, goal iteration budget is higher, session locks prevent overlapping turns from stepping on each other, AutoCompact and consolidation races were fixed, heartbeat moved onto cron, and session archive retention got several data-loss fixes. In practice, this means fewer mysterious interruptions, fewer duplicate archives, and a much better chance that a long agent workflow keeps its thread of intent.
The third story is nanobot becoming easier to plug into real stacks. CLI Apps and MCP now share a more unified extension path; preset setup and capability mentions make tools easier to discover; the extension registry gives integrations a first-class home. Provider coverage expanded across Ant Ling, Skywork, Novita, Step Plan, StepFun, Zhipu image generation, OpenAI/Codex image generation, Ollama image generation, and richer OpenAI-compatible configuration. Channels also grew with Signal, Telegram webhook mode, Discord model slash commands, Matrix verification fixes, and safer Weixin / Teams / Matrix behavior.
Highlights
-
WebUI as a daily workbench — The WebUI is no longer just a packaged chat surface. It now has better activity rendering, live file edit visibility, cleaner source links, stronger markdown/code rendering, improved sidebar performance, project workspaces, access controls, context-window settings, model controls, slash command actions, and a more polished native-host feel. The final Thought / response ordering fix makes streamed agent work read in the order it actually happened. (#3877, #3899, #3906, #3951, #3953, #3987, #4007, #4045, #4108, #4121, #4137)
-
Long-running agent stability — Goal mode and multi-turn work got sturdier: sustained goals keep the runner alive, goal iteration budget is extended,
process_directnow has per-session locking, streaming/session concurrency bugs were tightened, AutoCompact and consolidator races were fixed, and archive retention now avoids duplicate archives and message loss. (#3881, #3999, #4041, #4104, #4127, #4129) -
CLI Apps, MCP, and extension workflows — CLI Apps landed as a way to connect CLI-native tools, then got unified with MCP concepts through preset setup, capability mentions, stale install recovery, registry logos, and an extension registry source. The result is a clearer path from "I have a useful local tool" to "nanobot can invoke it in a workflow." (#3963, #3979, #3991, #4046)
-
More providers, richer model routing — The provider surface widened with Ant Ling, Skywork, Novita, Step Plan, OpenAI API type selection,
extraBody, and multiple image-generation providers including StepFun, OpenAI/Codex, Ollama, and Zhipu. Several follow-up fixes preserve tool-call IDs, improve quota/billing errors, handle provider transport edge cases, and keep thinking/reasoning controls honest across OpenAI-compatible routes. (#3900, #3910, #3916, #3927, #3946, #3954, #3971, #3974, #3984, #3988, #4048) -
Channels and deployment polish — Signal support, Telegram webhook mode, Discord model slash commands, Docker/WebUI deployment fixes, and clearer secret/deployment docs make nanobot easier to run outside a local terminal. Gateway cold start also dropped dramatically, from seconds to sub-second territory. (#3872, #3918, #3935, #3996, #4031)
-
Security and reliability hardening — WebSocket token issuance now requires auth, redirect targets are validated before web fetches, IPv6-mapped IPv4 addresses are normalized in SSRF checks, Teams replies trust service URLs, Matrix inbound media downloads are bounded, and shell/exec behavior was tightened on Windows and URL-heavy commands. (#3928, #3933, #4051, #4086, #4103, #4106, #4047)
-
Internationalization and docs — The WebUI locale set was filled out across zh-TW, ja, and remaining keys, the README positioning and news section were refreshed, multi-language doc links were surfaced, local provider setup is easier to find, and
AGENTS.mdgives coding agents a clearer way into the repo. (#3930, #3962, #3964, #4131)
Community
Huge thanks to everyone who shipped v0.2.1 — 84 PRs, 29 contributors, and a warm welcome to 17 first-time contributors. This release feels less like one big feature drop and more like nanobot becoming something you can keep open all day: steadier, clearer, and much easier to extend.
What's Changed
- fix(providers): recognize Chinese rate-limit marker '访问量过大' as transient error by @chengyongru in #3864
- fix docker build and webui by @huanglei214 in #3872
- docs(configuration): expand secrets section with more examples by @olgagaga in #3866
- docs(deployment): match docker run gateway example to docker-compose.yml (refs #3873) by @voidborne-d in #3874
- fix(agent): resolve race between AutoCompact and Consolidator by @chengyongru in #3881
- fix(cli): buffer reasoning tokens to avoid one-token-per-line display by @li-yazhou in #3878
- feat(webui+agent): optimize streaming, activity rendering, and runtime sync by @Re-bin in #3877
- fix(webui): preserve single newlines in markdown rendering by @chengyongru in #3889
- feat(cli): add Model Preset wizard to onboard by @chengyongru in #3890
- feat(webui): add live file edit activity by @Re-bin in #3899
- feat(providers): add Ant Ling support by @Re-bin in #3900
- refactor(image-generation): introduce provider registry by @chengyongru in #3893
- docs: surface local provider setup in README by @yanalialiuk in #3912
- feat(webui): upgrade settings and sidebar controls by @Re-bin in #3906
- fix(webui): accept end/error phases in tool trace rendering by @HengWeiBin in #3894
- feat(image-generation): add StepFun (阶跃星辰) provider support by @morandot in #3910
- feat(providers): add Skywork first-level support by @Re-bin in #3916
- perf: optimize gateway cold start from ~4.6s to ~480ms by @chengyongru in #3918
- fix(exec): detach stdin for shell commands by @Re-bin in #3922
- fix(providers): update Skywork APIFree agent endpoint by @morandot in #3917
- docs(readme): add multi-language doc site links by @chengyongru in #3930
- feat(signal): add Signal channel support by @chengyongru in #3935
- fix(provider): deduplicate streaming tool_call_ids for parallel calls by @chengyongru in #3943
- fix(webui): keep new chat during session refresh by @boogieLing in #3944
- fix(weixin): prevent silent message drops from poll exceptions, expired tokens, and ret=-2 by @chengyongru in #3684
- fix(providers): inject OpenRouter
reasoning.effortfor thinking models (follow-up to #3851) by @olgagaga in #3867 - Fix shell guard false positives on URL commands by @HaisamAbbas in #3933
- feat(tools): optimize coding workflows by @Re-bin in #3923
- feat: add Novita AI provider by @Alex-yang00 in #3927
- feat(webui): refine collapsible sidebar by @Re-bin in #3951
- feat(webui): improve sidebar performance by @Re-bin in #3953
- fix: drop redundant reasoning_effort for Kimi thinking models by @agbocsardi in #3940
- fix(webui): avoid misleading file edit counters by @Re-bin in #3957
- refactor(apply_patch): remove deprecated patch mode, keep edits-only by @chengyongru in #3960
- feat(image-generation): add OpenAI and Codex provider support by @ZegWe in #3954
- Add Ollama image generation support by @HaisamAbbas in #3946
- fix: dedupe Responses replay item ids by @Yuxin-Lou in #3961
- Unify image provider HTTP handling and document Gemini image base URLs by @HaisamAbbas in #3929
- chore: fill zh-TW and ja locale keys by @yu-xin-c in #3962
- [security] fix(web): validate redirect targets before fetching by @Hinotoi-agent in #3928
- chore: fill remaining WebUI locale keys by @yu-xin-c in #3964
- feat(cli): add CLI Apps for CLI-Anything integrations by @Re-bin in #3963
- test(cli): cover CLI Apps on Windows CI by @Re-bin in #3965
- feat: Add Zhipu (智谱) image generation provider by @JiajunBernoulli in #3971
- fix: uncap exec config timeout and normalize transcription apiBase (#3595, #3637) by @04cb in #3967
- docs: use xiaomi_mimo provider for MiMo token plan by @honjiaxuan in #3972
- feat(spawn): allow per-subagent sampling temperature (#3969) by @04cb in #3975
- feat(mcp): add preset setup and capability mentions by @Re-bin in #3979
- fix(provider): preserve OpenAI-compatible tool call ids by @Yuxin-Lou in #3984
- feat(webui): improve slash command actions by @Re-bin in #3987
- feat(providers): add OpenAI API type and extra body configuration by @outlook84 in #3974
- fix(agent): propagate maxConcurrentSubagents config to SubagentManager by @Felix8568 in #3978
- feat(providers): add Step Plan support by @morandot in #3988
- feat(apps): unify CLI apps and MCP by @Re-bin in #3991
- fix(agent): prevent runner from exiting while sustained goal is active by @chengyongru in #3999
- fix(web): update Kagi search API integration by @agbocsardi in #4004
- feat(telegram): add webhook mode by @outlook84 in #3996
- chore: enable WebUI ESLint by @yu-xin-c in #3981
- fix(provider): handle blank Codex transport errors by @ehs208 in #4009
- fix(provider): honor NANOBOT_STREAM_IDLE_TIMEOUT_S in Codex provider by @yeounhyeok in #4018
- feature: Add Discord model slash command by @hamb1y in #4031
- refactor(heartbeat): migrate heartbeat service to cron-based auto-registration by @chengyongru in #4023
- Fix session, goal, streaming, and context-budget bugs by @hamb1y in #4041
- feat(webui): add project workspaces and access controls by @Re-bin in #4007
- feat(webui): add context window setting by @Re-bin in #4045
- feat(channels): add document extraction toggle by @boogieLing in #4049
- fix(providers): surface clear arrearage warning to user on quota/billing errors (#3006) by @04cb in #4048
- [security] fix(msteams): trust service URLs before replies by @Hinotoi-agent in #4047
- feat(apps): add nanobot extension registry by @Re-bin in #4046
- fix(exec): bypass cmd.exe for multi-line python -c commands on Windows by @chengyongru in #4051
- [security] fix(matrix): bound inbound media downloads by @Hinotoi-agent in #4106
- fix(security): normalize IPv6-mapped IPv4 addresses in SSRF checks by @yorkhellen in #4086
- fix: coerce typeless Anthropic content blocks + add Dream enable toggle (#3993, #3885) by @04cb in #4054
- feat(webui): refine output timeline and model controls by @Re-bin in #4108
- fix(agent): acquire per-session lock in process_direct (#4080) by @04cb in #4104
- fix(matrix): handle SAS device verification by @mytechdream in #4110
- fix(heartbeat): skip empty HEARTBEAT.md and fail closed on delivery (#4111) by @04cb in #4114
- Require auth for WebSocket token issuance by @hamb1y in #4103
- fix(webui): handle undefined language in code blocks by @Flinn-X in #4117
- feat(webui): polish chat rendering and host runtime by @Re-bin in #4121
- fix(agent): extend sustained goal iteration budget by @Re-bin in #4127
- fix(webui): preserve Thought/response ordering by @Re-bin in #4137
- docs: add AGENTS.md for Codex by @jiehaoZ in #4131
- fix(session): prevent duplicate archive and message loss in enforce_file_cap by @yorkhellen in #4129
New Contributors
- @huanglei214 made their first contribution in #3872
- @voidborne-d made their first contribution in #3874
- @li-yazhou made their first contribution in #3878
- @HengWeiBin made their first contribution in #3894
- @HaisamAbbas made their first contribution in #3933
- @Alex-yang00 made their first contribution in #3927
- @agbocsardi made their first contribution in #3940
- @ZegWe made their first contribution in #3954
- @Yuxin-Lou made their first contribution in #3961
- @yu-xin-c made their first contribution in #3962
- @outlook84 made their first contribution in #3974
- @Felix8568 made their first contribution in #3978
- @ehs208 made their first contribution in #4009
- @yeounhyeok made their first contribution in #4018
- @hamb1y made their first contribution in #4031
- @mytechdream made their first contribution in #4110
- @jiehaoZ made their first contribution in #4131
Full Changelog: v0.2.0...v0.2.1
详细ChangeLogv0.2.0
2026年05月16日
🐈 nanobot v0.2.0 is here 🎉 — 105 PRs merged, 20 new contributors. The agent learned to hold a goal.
The headline is /goal. Mark a thread as a sustained objective with long_task, and the active goal stays pinned in Runtime Context every turn — surviving compaction, surviving long tool chains, surviving the model's own forgetfulness — until you call complete_goal. The wall-clock timeout widens automatically while a goal is active; streaming requests fall back to an idle timeout instead of a hard wall, so a model that's still thinking doesn't get killed mid-thought.
The second story is the WebUI growing up. After several releases as a source-only preview, it now ships inside the wheel — pip install nanobot-ai and you have it. Settings and BYOK got a full redesign, the slash palette is localized, LAN access is gated by a token, reasoning streams live to the chat, and a brand-new image-generation tool turns "draw me X" into an inline preview without leaving the conversation.
The third story is the engine room. The agent loop got a real refactor — AgentLoop.from_config() for clean embedding, _process_message rewritten as a functional state machine, archived summary moved into the system prompt for KV cache stability, tools converted to a self-describing plugin architecture, ask_user and GlobTool retired in favor of cleaner replacements. Five new providers (AWS Bedrock Converse, NVIDIA NIM, LongCat, Atomic Chat, MiMo) join the lineup with fallback_models as a safety net so a single flaky endpoint can't take a turn down. Plus four [security] fixes — SSRF, media path confinement, softer workspace boundaries — and chat-native pairing so DM approvals finally happen in the chat instead of in a config file.
Highlights
-
/goaland long-running tasks — agent with a memory of why — The newlong_tasktool, paired with/goalandcomplete_goal, marks a thread as a sustained objective. The active goal is mirrored in Runtime Context every turn so the agent stays anchored even after compaction, the WebUI surfaces the goal in the chat header, and the LLM wall timeout is automatically widened while a goal is active so longer reasoning passes don't get killed mid-thought. Core agents and subagents both honor the longer budget; streaming requests fall back to an idle timeout instead of a hard wall clock so a model that's still emitting tokens won't be prematurely cut off. (#3788, #3855) -
Image generation, end to end — A new image-generation tool plus a WebUI image mode let you go from prompt to picture without leaving the chat. Generated images render inline with rounded previews; replay-window and dedup paths were tightened so images don't double-deliver across long sessions, and the consolidation pass now respects the replay window when hiding history. (#3695, #3687)
-
WebUI shipped in the wheel + a year's worth of polish —
pip install nanobot-ainow bundles the WebUI: enable the WebSocket channel, runnanobot gateway, open the browser. Nocd webui && bun run buildrequired. After several releases under a "preview" label, the WebUI is now a packaged surface. Inside it: redesigned settings and BYOK flow (including BYOK web search), localized slash palette, model preset badge that stays in sync across slash commands and config reloads, streamed reasoning rendered live, image previews, LAN access gated bytokenIssueSecret, default-to-new-chat on load, scroll preservation on settings return, acrypto.randomUUIDshim for non-secure-context LAN use, and dropped eager markdown preload to cut first-paint cost. (#3653, #3661, #3703, #3709, #3656, #3658, #3733, #3759, #3782) -
Five new providers and a fallback safety net — Native AWS Bedrock Converse lands as a first-class provider (#3574), with a follow-up that preserves Bedrock tool config across history (#3758). NVIDIA NIM (#3707), LongCat via OpenAI-compatible routing (#3114), Atomic Chat as a local OpenAI-compatible target (#3750), and MiMo with proper thinking-control wiring (#3734, #3851) round out the lineup. On top of the wider stack,
fallback_modelslets you list secondary models that take over when the primary fails (#3756), DeepSeek reasoning history is back-filled instead of dropped (#3616, #3560), Codex prompt cache keys stabilized (#3793), and Anthropic auto-falls back to streaming on long-request errors (#3579). -
Model presets and runtime switching —
ModelPresetConfiglets you name model + provider bundles in config and swap between them at runtime via/model(or the WebUI badge). Presets sync across slash commands, config reloads, and settings changes, so the model badge always matches what the next turn will hit. (#3714) -
Core refactor — a cleaner agent loop, a smaller surface —
AgentLoop.from_config()centralizes loop assembly so embedders stop reaching into private internals (#3708)._process_messagewas rewritten as a functional state machine with explicit transitions instead of nested branches (#3715). The archived conversation summary moved into the system prompt to keep KV caches stable across compactions (#3711). Tools became a self-describing plugin architecture (#3729).ask_userwas removed in favor of structuredmessage-tool choices (#3757), andGlobToolwas retired in favor ofread_fileglob support (#3841). Vulture- and coverage-verified dead code was excised (#3755, #3719). Logging now preserves tracebacks and carries channel context (#3651, #3678). RuffFrules are fully enforced in CI (#3672), and the agent test suite was expanded and restructured (#3766). NewCLAUDE.mdand.agent/guides give AI contributors a stable on-ramp (#3534, #3860). -
Pairing, DM approvals, and security hardening — Chat-native pairing (#3774) lets you approve DMs from inside chat instead of editing config. On the safety front: SSRF blocked in DingTalk outbound media (#3569), Feishu downloaded-media filenames confined to safe paths (#3789), local media attachments confined for the message tool (#3842), SSRF guard recovery softened so a transient miss doesn't poison subsequent turns (#3635), and workspace boundary violations get a retry-throttled soft warning instead of crashing the loop (#3614). Telegram silently ignores unauthorized senders instead of leaking error responses (#3629).
-
Memory, dream, and session durability — Cron
jobs.jsongained atomic writes with corrupt-store detection (#3606). Dream cursor only advances on completed batches (#3631) and restores correctly with memory state on resume (#3660). Replay-window hidden history is now properly consolidated (#3687). Workspace and tool-state changes survive restarts more reliably end-to-end. -
Channel and platform fixes — Feishu group threads honor reply chains and topic isolation (#3547, #3704, #3747, #3775), Matrix skips pre-startup events and stops the sync loop on irrecoverable auth (#3575, #3578), WhatsApp voice messages download cleanly (#3607), Wecom preserves real filenames (#3751), Telegram quiets unauthorized senders (#3629), and Weixin raises on send failures so messages don't silently drop (#3659). On Windows: UNC path support in shell extraction (#3764). On the CLI: surrogate code points sanitized before the message bus (#3697), retry-wait messages no longer garble interactive output (#3705, #3609), and
nanobot provider logoutlands as a proper command (#3612). -
Smaller things you'll feel — Configurable
bot_name/bot_icon(#3730), configurabletoolHintMaxLength(#3641), real SSE streaming restored on the OpenAI-compatible API (#3677), Whisper transcription retries on transient failures (#3646), sequential MCP server connects to stop CPU spin (#3640), MCP HTTP probe before connect (#3740), Brave search backoff under rate limits (#3840),sender_idin Runtime Context for user-aware responses (#3549), runtime context appended after user content for cache stability (#3844),origin_message_idoutbound deduplication (#3561), and a Python SDKRunResultthat finally exposestools_usedandmessages(#3620).
Community
Heartfelt thanks to everyone who shipped v0.2.0 — 105 PRs, 33 contributors, and a huge welcome to 20 first-time contributors. Every review, patch, and bug report helped; this release is a shared win. 🎉
What's Changed
- fix(feishu): streaming card and tool hint respect reply_to_message in groups by @04cb in #3543
- Revert "fix(feishu): streaming card and tool hint respect reply_to_message in groups" by @Re-bin in #3548
- fix(feishu): respect reply_to_message for group threads by @boogieLing in #3547
- fix(agent): respect configured max iterations for subagents by @boogieLing in #3532
- feat(provider): add native AWS Bedrock Converse support by @Re-bin in #3574
- feat(skill): add nanobot upgrade wizard skill by @chengyongru in #3539
- bugfix(#3751): ReadFileTool says "File unchanged since last read:" across different sessions by @LZDQ in #3576
- refactor: replace try-except blocks with contextlib.suppress for cleaner error handling across multiple files by @JackLuguibin in #3566
- fix(matrix): skip events received before bot startup by @coldxiangyu163 in #3575
- fix(matrix): don't send empty room messages from blank progress callbacks by @halldorjanetzko in #3573
- [security] fix(dingtalk): block SSRF in outbound media fetches by @Hinotoi-agent in #3569
- fix(matrix): correct allow_room_mentions default type by @spinvettle in #3563
- fix: API stream lifecycle for tool-backed requests by @boogieLing in #3555
- feat(context): Add sender_id to LLM runtime context for user-aware responses by @yorkhellen in #3549
- fix: origin_message_id support and outbound deduplication by @tongtianli03-code in #3561
- fix: adjust DeepSeek reasoning mode check condition by @JiajunBernoulli in #3560
- fix(web_fetch): sanitize URL to strip markdown backticks and quotes before validation by @XJPeng12 in #3528
- fix: strip partial think tags in streaming output by @hongshunanhai in #3577
- fix(matrix): stop sync loop on irrecoverable auth errors by @coldxiangyu163 in #3578
- fix(anthropic): auto-fallback to stream on long-request error by @coldxiangyu163 in #3579
- fix(helpers): restore tiktoken fallback in estimate_prompt_tokens_chain by @yorkhellen in #3582
- feat(provider): add LongCat via OpenAI-compatible backend by @morandot in #3114
- fix: allow_patterns take priority over deny_patterns in ExecTool by @chengyongru in #3594
- Improve beta WebUI turn completion and chat isolation by @ramonpaolo in #3583
- fix(cli): stop provider retry messages garbling interactive output by @04cb in #3609
- fix(cron): atomic write for jobs.json + don't silently overwrite corrupt store by @hussein1362 in #3606
- fix(runner): soft workspace boundary with retry throttle by @Re-bin in #3614
- fix(agent): prevent safety guard false positives and streamed message drop by @chengyongru in #3613
- fix(bridge): support WhatsApp voice message download by @yorkhellen in #3607
- feat(cli): add provider logout command by @chengyongru in #3612
- fix: backfill DeepSeek reasoning_content history instead of dropping it (#3554, #3584) by @04cb in #3616
- feat(agent): limit concurrent subagent execution by @chengyongru in #3634
- fix: only advance dream_cursor on completed batches to prevent silent loss by @JiajunBernoulli in #3631
- fix: return absolute path for downloaded Feishu media files by @futurist in #3632
- fix(telegram): ignore unauthorized users silently by @kaseru in #3629
- fix(sdk): populate RunResult.tools_used and RunResult.messages by @chengyongru in #3620
- fix(agent): soften SSRF guard recovery by @Re-bin in #3635
- refactor(logging): preserve tracebacks and add channel context by @chengyongru in #3651
- fix(agent): gate provider progress deltas for non-streaming channels by @boogieLing in #3645
- feat(config): add toolHintMaxLength to control tool hint truncation by @chengyongru in #3641
- fix: use sequential MCP server connections to prevent CPU spin by @chengyongru in #3640
- fix(transcription): retry Whisper calls on transient failures by @chengyongru in #3646
- feat(webui): polish chat layout and titles by @Re-bin in #3653
- fix(webui): allow LAN access when host is 0.0.0.0 by @chengyongru in #3656
- fix(webui): require token_issue_secret for LAN bootstrap with frontend auth by @chengyongru in #3658
- fix(weixin): raise exceptions on message send failure to prevent silent loss by @chengyongru in #3659
- feat(webui): polish chat UX and slash commands by @Re-bin in #3661
- fix(dream): restore cursor with memory state by @Jefsky in #3660
- refactor(logging): preserve tracebacks in remaining except blocks by @chengyongru in #3678
- chore(ci): Enable full ruff -F (all F rules) checks and fix related errors by @yorkhellen in #3672
- fix(api): remove enable_compression to restore real SSE streaming by @zhw415876999-prog in #3677
- fix(onboard): allow empty strings and falsy values in input fields by @chengyongru in #3691
- feat: add image generation tool and WebUI mode by @Re-bin in #3695
- fix(memory): consolidate history hidden by replay window by @Re-bin in #3687
- feat(webui): redesign settings and BYOK configuration by @Re-bin in #3703
- fix(cli): sanitize surrogate code points before entering message bus by @chengyongru in #3697
- fix(feishu): send all messages to topic when in thread by @yorkhellen in #3704
- fix: log errors in silent exception handlers (matrix + weixin channels) by @vystartasv in #3664
- fix(cli): handle retry-wait messages in interactive mode by @eugenechae in #3705
- docs: add CLAUDE.md and .agent/ guides for AI contributors by @chengyongru in #3534
- feat(webui): add BYOK web search settings by @Re-bin in #3709
- fix(agent): persist _last_summary across restarts with used sentinel by @chengyongru in #3685
- Revert "fix(agent): persist _last_summary across restarts with used sentinel" by @Re-bin in #3710
- refactor: introduce AgentLoop.from_config() to centralize loop assembly by @chengyongru in #3708
- refactor(loop): convert _process_message to functional state machine by @chengyongru in #3715
- fix(utils): remove unreachable dead code in find_legal_message_start by @chengyongru in #3719
- fix(agent): move archived summary into system prompt for KV cache stability by @chengyongru in #3711
- feat: add NVIDIA NIM provider support by @barreler126 in #3707
- feat(cli): make bot name and icon configurable (#3650) by @pixan-ai in #3730
- fix(providers): wire MiMo to thinking_type to allow disabling reasoning (#3585) by @pixan-ai in #3734
- fix(webui): shim crypto.randomUUID for non-secure contexts by @NearlCrews in #3733
- fix(wecom): preserve real filename from SDK when payload omits name (#3737) by @04cb in #3751
- refactor(tools): plugin architecture with self-describing tools by @chengyongru in #3729
- fix(providers): set supports_max_completion_tokens for VolcEngine providers by @AlbertWang688 in #3738
- feat(feishu): add topic_isolation config switch by @yorkhellen in #3747
- feat(config): add ModelPresetConfig and runtime preset switching by @chengyongru in #3714
- chore: remove dead code (vulture + coverage verified) by @chengyongru in #3755
- fix(provider): preserve Bedrock tool config for history by @Re-bin in #3758
- refactor(agent): remove ask_user tool by @chengyongru in #3757
- fix(webui): default to new chat on load and preserve scroll on settings return by @XJPeng12 in #3759
- test(agent): expand coverage and refactor test structure by @chengyongru in #3766
- feat(reason): display model reasoning content during streaming by @Flinn-X in #3655
- feat(runner): model failover with fallback_models by @chengyongru in #3756
- fix(mcp): probe HTTP port before connecting to prevent event-loop crash by @chengyongru in #3740
- fix(feishu): register no-op handlers for bot member events by @chengyongru in #3775
- fix(agent): persist shortcut commands without polluting LLM context by @chengyongru in #3779
- [security] fix(feishu): confine downloaded media filenames by @Hinotoi-agent in #3789
- feat(pairing): chat-native DM sender approval by @chengyongru in #3774
- fix(shell): support UNC paths in Windows path extraction by @JiajunBernoulli in #3764
- fix: clear media_paths after successful voice transcription by @tamvicky in #3752
- refactor(tools): remove GlobTool by @chengyongru in #3841
- [security] fix(message): confine local media attachments by @Hinotoi-agent in #3842
- perf(agent): append runtime context after user content for cache stability by @chengyongru in #3844
- fix(web): back off Brave search rate limits by @boogieLing in #3840
- fix(codex): stabilize prompt cache key by @boogieLing in #3793
- feat(goal): /goal command & long-running tasks (long_task) by @Re-bin in #3788
- fix(webui): remove eager markdown preload by @yorkhellen in #3782
- feat: add Atomic Chat as OpenAI-compatible local LLM provider by @yanalialiuk in #3750
- docs(contributing): warn that
ruff formatpredates the codebase by @olgagaga in #3850 - fix(agent): align LLM wall timeout with sustained goals for agents by @Re-bin in #3855
- fix(exec): allow format in URL parameters while still blocking the format command by @Endeavour-Yuan in #3853
- docs: update CLAUDE.md to reflect current codebase by @chengyongru in #3860
- fix(agent): remove duplicate runtime context injection in mid-turn drain by @chengyongru in #3859
- fix(providers): wire MiMo thinking control on gateway providers (#3845) by @olgagaga in #3851
New Contributors
- @LZDQ made their first contribution in #3576
- @halldorjanetzko made their first contribution in #3573
- @Hinotoi-agent made their first contribution in #3569
- @spinvettle made their first contribution in #3563
- @tongtianli03-code made their first contribution in #3561
- @hongshunanhai made their first contribution in #3577
- @futurist made their first contribution in #3632
- @kaseru made their first contribution in #3629
- @Jefsky made their first contribution in #3660
- @zhw415876999-prog made their first contribution in #3677
- @vystartasv made their first contribution in #3664
- @eugenechae made their first contribution in #3705
- @barreler126 made their first contribution in #3707
- @NearlCrews made their first contribution in #3733
- @AlbertWang688 made their first contribution in #3738
- @Flinn-X made their first contribution in #3655
- @tamvicky made their first contribution in #3752
- @yanalialiuk made their first contribution in #3750
- @olgagaga made their first contribution in #3850
- @Endeavour-Yuan made their first contribution in #3853
Full Changelog: v0.1.5.post3...v0.2.0
详细ChangeLogv0.1.5.post3
2026年04月29日
🐈 nanobot v0.1.5.post3 is here 🎉 — 57 PRs merged, 12 new contributors. The agent learned to talk in threads.
If v0.1.5.post2 was about reach and polish, v0.1.5.post3 is about conversations becoming first-class citizens of their platform. Feishu group topics get isolated sessions. Discord threads inherit parent allowlists and keep their own context. Telegram can render inline keyboard choices. MSTeams prunes stale conversation references so outbound messages stop failing silently. And across all channels, sendProgress and sendToolHints can now be overridden per channel — quiet the noisy ones, keep the verbose ones. Underneath, DeepSeek-V4 is supported end to end: thinking mode and legacy session compatibility ship together, with follow-up fixes for incomplete reasoning history and non-string message content so long threads stay stable. A new ask_user tool lets the agent pause and ask you to choose mid-task. Olostep and Hugging Face joined the provider lineup, and a pair of timeout env vars (NANOBOT_LLM_TIMEOUT_S and NANOBOT_OPENAI_COMPAT_TIMEOUT_S) keep hung requests from holding your session hostage. The WebUI continued to evolve — image uploads, video rendering, ask-user choices, model settings — but remains source-preview only, not bundled into the wheel.
Highlights
-
Threads everywhere — Feishu, Discord, Slack, MSTeams — Each channel grew up this release. Feishu group topics now isolate sessions so messages in one topic don't leak into another; streaming cards and tool hints follow the original topic. Discord threads inherit their parent channel's
allowChannelsand get session isolation, which also means slash commands respect the allowlist. Slack stopped losing thread context on proactive replies. MSTeams conversation references gained TTL-based pruning (refTtlDays), auto-cleanup for Web Chat refs, and a touch interval to keep active refs alive. The theme is consistent: conversations belong to their thread, not to the channel at large. (#3449, #3397, #3440, #3462, #3475, #3447, #3487) -
Per-channel progress and interaction controls —
sendProgressandsendToolHintsused to be global on-or-off switches. Now you can place them inside any individual channel config to override the global default — keep Telegram quiet while WebSocket stays verbose. The agent also learned to ask users structured questions mid-task via the newask_usertool: in WebUI these render as buttons, in other channels they fall back to text. Telegram got inline keyboards (inline_keyboards: true) for renderingmessagetool button choices. The/history [n]command lets you review recent messages without scrolling. (#3487, #2791, #3398, #3454, #3466) -
DeepSeek-V4 and the wider provider stack — This release makes DeepSeek-V4 a first-class target: thinking mode and legacy session compatibility land in one go (#3420), so you can point the agent at V4 without abandoning older conversations. Real-world transcripts exposed two gaps that got dedicated follow-ups — truncated or incomplete reasoning history (#3453) and heterogeneous (non-string) message content (#3458) — so tool-heavy sessions don’t fall over mid-run. On top of that, Hugging Face Inference Providers arrived as a first-class provider (#3496), Olostep joined web search (#3505), OpenAI-compatible endpoints gained
extraBodyfor vLLM guided decoding and friends (#3491), and the timeout pairNANOBOT_LLM_TIMEOUT_S/NANOBOT_OPENAI_COMPAT_TIMEOUT_Ssplit outer turn limits from inner HTTP bounds (#3428, #3478). GitHub Copilot routes GPT-5 and o-series models correctly (#3380); Gemini routing picks upreasoning_effort="none"and Gemma (#3515). -
Memory and session hardening —
consolidationRatio(0.1–0.95) lets you tune how aggressively token-triggered consolidation compresses context.maxMessages(default 120) caps the replay window without touching persistence. History.jsonl gained atomic writes with fsync and directory sync, closing the last data-loss window on unexpected shutdowns. A raw_archive bloat path and several stuck-consolidation edges were sealed. Sessions now fsync on graceful shutdown. The result: memory is both more tunable and more durable. (#3285, #3482, #3508, #3369, #3412, #3415, #3459) -
macOS LaunchAgent and deployment — A new
docs/deployment.mdsection walks through deployingnanobot gatewayas a macOS LaunchAgent — plist,launchctl bootstrap/enable/kickstart, log paths, and the inevitable port-conflict gotcha when you forget to stop a manual gateway. Useful for anyone who wants the agent online at login without keeping a terminal open. (#3441) -
Security and reliability fixes — A shell injection vector via
path_appendon non-Windows platforms was closed. Workspace directory violations now stop the agent loop instead of logging a warning.resolve_config_env_varsstopped stripping excluded fields. Anthropic image_url blocks inside tool_result content get converted correctly. MCP capability names are sanitized for model API compatibility. Windows MCP stdio launchers avoid WinError 193. Structured tool-event payloads give channels richer progress data. Document parsers lazy-import to cut cold-start time. Twenty-odd smaller fixes across providers, channels, and the agent loop round out the release. (#3366, #3493, #3383, #3387, #3470, #3379, #3399, #3423)
Community
Heartfelt thanks to everyone who shipped v0.1.5.post3 — 57 PRs, 27 contributors, and a huge welcome to 12 first-time contributors. Every review, patch, and bug report helped; this release is a shared win. 🎉
What's Changed
- feat(transcription): add language parameter for Whisper STT by @chengyongru in #3375
- fix: normalize DashScope reasoning_effort (minimal vs minimum) by @hlgone in #3374
- fix(cli): respect sys.stdout.isatty() in commands.py by @knightconnorp in #3370
- fix(session): fsync sessions on graceful shutdown to prevent data loss by @hussein1362 in #3369
- fix(providers): support GPT-5 models on GitHub Copilot backend by @gongpx20069 in #3380
- fix(mcp): avoid WinError 193 for Windows stdio launchers by @lahuman in #3379
- fix(agent): prevent duplicate responses when sub-agents complete concurrently by @chengyongru in #3385
- fix(anthropic): convert image_url blocks inside tool_result content by @tetratorus in #3387
- fix(config): preserve excluded fields in resolve_config_env_vars by @saimonventura in #3383
- feat(webui): image attachments — composer + signed media pipeline by @Re-bin in #3393
- feat(telegram): add inline keyboard buttons by @gthieleb in #3398
- feat(agent): emit structured tool-event payloads via on_progress by @pblocz in #3399
- fix(agent): prevent history.jsonl bloat from raw_archive and stuck consolidation by @chengyongru in #3412
- fix(agent): bound remaining memory/history pollution paths by @Re-bin in #3415
- fix(provider): support DeepSeek V4 thinking mode and legacy session compatibility by @Re-bin in #3420
- fix(anthropic): omit temperature for opus-4-7 (#3417) by @04cb in #3418
- perf(document): lazy-import heavy document parsers by @mvanhorn in #3423
- feat(channels): add video support for Telegram and WebSocket by @Re-bin in #3429
- feat(webui): render video media attachments by @Re-bin in #3430
- fix(agent): add LLM request timeout to prevent session lock starvation by @yorkhellen in #3428
- docs: add macOS LaunchAgent setup for gateway by @choiking in #3441
- feat(agent): add ask user tool by @lzmjlrt in #2791
- fix(msteams): send threaded replies via replyToId by @chengyongru in #3447
- feat(feishu): thread-scoped sessions, reply_in_thread, non-blocking reaction by @chengyongru in #3449
- fix(providers): disable HTTP keepalive for local/LAN endpoints by @hussein1362 in #3444
- fix(heartbeat): inject delivered messages into channel session for reply continuity by @hussein1362 in #3391
- fix(provider): gate reasoning-to-content fallback behind spec flag by @chengyongru in #3446
- feat(memory): make consolidate ratio configurable by @chengyongru in #3285
- fix(security): prevent shell injection via path_append on non-Windows platforms by @yorkhellen in #3366
- fix(provider): handle incomplete DeepSeek reasoning history by @Re-bin in #3453
- feat(webui): add ask-user choices and model settings by @Re-bin in #3454
- fix(slack): preserve thread context for proactive replies by @Re-bin in #3462
- fix(agent): expose session timestamps in model context by @Re-bin in #3463
- fix(mcp): sanitize MCP capability names for model API compatibility by @chengyongru in #3470
- fix(slack): polish threaded replies and proactive delivery by @Re-bin in #3475
- fix(agent): resolve relative media paths in MessageTool by @chengyongru in #3471
- fix(agent): subagent announces from threaded callers route to channel session, not the originating thread by @mt-huerta in #3465
- fix(provider): normalize DeepSeek non-string message content by @boogieLing in #3458
- 修复:自动清理未支持或已过期的 MSTeams 会话引用,避免通知发送失败 Fixes: #3433 by @zhuzhh in #3440
- feat(session): enforce replay/file-cap invariants for history lifecycle by @boogieLing in #3459
- fix(discord): full thread support with session isolation and allowlist enforcement by @Lbin91 in #3397
- fix(provider): bound OpenAI-compatible request timeouts by @boogieLing in #3478
- fix(heartbeat): prevent internal reasoning leaks and finalization fallback in delivery by @hussein1362 in #3389
- feat(command): add /history command to review recent session messages by @LeoFYH in #3466
- fix(codex): stream progress deltas to channels by @boogieLing in #3480
- feat(config): wire max_messages into session history replay by @hussein1362 in #3482
- feat(providers): add Hugging Face inference provider by @chengyongru in #3496
- The agent loop should be stopped when workspace directory restrictions are violated by @lvqiushi in #3493
- fix(channels): send telegram attachments with named file path by @Seym0n in #3489
- feat(web-tools): Improve to allow bypassing Cloudflare captchas by @Mizarka in #3382
- feat(providers): add extra_body config for OpenAI-compatible endpoints by @hussein1362 in #3491
- fix(feishu): Fix done emoji addition and on-it emoji removal before task actually ends by @BarclayII in #3502
- feat(web_search): add olostep provider by @chengyongru in #3505
- Fix reasoning_effort="none" handling and add gemma to Gemini routing by @masterlyj in #3515
- fix: sanitize Matrix user_id for Windows-safe store file names by @JiajunBernoulli in #3510
- feat(channels): support per-channel progress controls by @boogieLing in #3487
- fix(memory): ensure atomic write for history.jsonl by @yorkhellen in #3508
New Contributors
- @knightconnorp made their first contribution in #3370
- @tetratorus made their first contribution in #3387
- @saimonventura made their first contribution in #3383
- @gthieleb made their first contribution in #3398
- @pblocz made their first contribution in #3399
- @mvanhorn made their first contribution in #3423
- @choiking made their first contribution in #3441
- @mt-huerta made their first contribution in #3465
- @zhuzhh made their first contribution in #3440
- @Seym0n made their first contribution in #3489
- @Mizarka made their first contribution in #3382
- @BarclayII made their first contribution in #3502
Full Changelog: v0.1.5.post2...v0.1.5.post3
详细ChangeLogv0.1.5.post2
2026年04月22日
🐈 nanobot v0.1.5.post2 is here 🎉 — 67 PRs merged, 12 new contributors. The agent's world got bigger and steadier.
If v0.1.5.post1 was about the agent learning to manage itself, v0.1.5.post2 is about reach and polish. Windows and Python 3.14 joined the supported matrix. The read_file tool learned to understand DOCX, XLSX, and PPTX. Microsoft Teams arrived as a channel. The OpenAI-compatible API started streaming via SSE. And beneath all of that, ~50 smaller fixes across cron, memory, retry, session files, and provider quirks kept turning "it works" into "it's solid." A dedicated browser UI also started taking shape in the repo — source preview for now.
Highlights
-
Windows + Python 3.14 — first-class support — A full CI matrix covering Windows runners and Python 3.14 landed, along with install markers and runtime fixes for the quirks those platforms expose. If you've been running nanobot on WSL because "Windows didn't quite work," you can stop. (#3194)
-
Office documents, natively readable — The
read_filetool now extracts text from DOCX, XLSX, and PPTX — tables and grouped shapes included, workbook handles closed safely. Combined with the earlier PDF support, the agent can open whatever format your colleague just emailed you without bouncing through a converter. (#3336, #3269, #3353) -
OpenAI-compatible API — SSE streaming —
/v1/chat/completionsnow emits SSE chunks whenstream=true, wiring up the existingon_stream/on_stream_endcallbacks. Any client built for the OpenAI API — LangChain, LlamaIndex, your own frontend — gets live deltas from nanobot instead of waiting for the whole response. The endpoint also stopped terminating streams with a success marker after a backend failure, so errors surface honestly. (#3222, #3262) -
Microsoft Teams, MiniMax thinking, LM Studio, MyTool — Microsoft Teams joined the channel roster. MiniMax got a dedicated Anthropic-style thinking endpoint plus a
reasoning_effort→reasoning_splitmapping fix. LM Studio is now supported via nullable API keys for local servers that don't expect one. The new MyTool lets the agent introspect its own runtime configuration — and hides sensitive nested config fields incheckoutput so self-inspection doesn't leak secrets. (#3197, #3160, #3363, #3186, #3177, #3261) -
Reliability — the unglamorous half of a release — Session files now use atomic writes with corrupt-file repair, so a bad shutdown no longer eats your history. Memory cursor recovery handles non-integer corruption. Auto-compact skips sessions with active tasks and unifies summary injection across consolidation paths. Providers gain a circuit breaker for Responses API fallback and recognize ZhiPu 1302 rate limits. Cron stops leaking intermediate progress, its tool schema works with OpenAI Codex/Responses, and retry heartbeats no longer spill into user channels. Subagent follow-ups persist in session history. Half of these you'll never notice — which is exactly the point. (#3312, #3340, #3081, #3304, #3302, #3356, #3320, #3295, #3229, #3242)
-
Channels — quieter and sharper — Telegram gained mid-stream splitting for long replies and better markdown rendering for modern LLM output. Discord stopped treating bot-to-bot messages as self-loops and added channel-based allow-lists. Email deduplicates SPF/DKIM-rejected messages to stop log spam and ignores self-sent mailbox messages. WeCom parses mixed inbound messages correctly. Each individually small; together they mean fewer "why did my bot do that" moments. (#3329, #3355, #3280, #3171, #3325, #3228, #3161)
-
WebUI — early preview, source only — A dedicated
webui/has landed in the repo with a WebSocket chat flow, i18n locale switcher, Apple-inspired typography with CJK support, and live dark-mode code-block theming. The underlying WebSocket channel also learned to multiplex multiplechat_ids over a single connection. Heads up: this is source-preview only — the WebUI is intentionally not bundled into the published wheel yet. If you want to try it, clone the repo and run it fromwebui/. A packaged release will follow once the UX settles. (#3310, #3272, #3314, #3306)
Community
v0.1.5.post2 is what a release looks like when the foundation is done and people start finishing things. A Windows CI matrix from @JiajunBernoulli. Native Office document extraction from @aiguozhi123456. Session atomic writes from the same author, catching a real data-loss edge case. A Telegram mid-stream split that makes long replies actually readable. Twelve new contributors, and a lot of returning ones quietly landing the things that were on everyone's wish list. The agent runs on Windows. It reads your documents. It keeps its history even when the power blinks. And there's a UI taking shape in webui/ for whoever wants to peek. That's a post release doing post-release work — and then some.
What's Changed
- fix(agent): skip auto-compact for sessions with active agent tasks by @chengyongru in #3085
- fix(provider): recover trailing assistant as user to prevent Zhipu 1214 by @chengyongru in #3086
- fix(log): remove noisy no-op logs from auto-compact by @chengyongru in #3094
- fix(log): only log auto-compact when messages are actually archived by @chengyongru in #3099
- refactor(context): deduplicate system prompt by @chengyongru in #3162
- fix(channel.wecom): inbound mixed msg parse by @dzydzydzy7 in #3161
- fix(providers): guard chat_with_retry against explicit None max_tokens (#3102) by @04cb in #3157
- fix(cron): respect deliver flag when agent produces output by @chengyongru in #3168
- feat(provider): add MiniMax Anthropic endpoint for thinking mode 添加minimax的思考模式 by @Aisht669 in #3160
- fix(discord): remove duplicate channel_id assignment in message handler by @LeoFYH in #3178
- Add support for nullable API keys and LM Studio by @sohamb117 in #3186
- fix(memory): handle missing cursor key in history entries by @JiajunBernoulli in #3195
- feat(msteams): add Microsoft Teams channel by @chengyongru in #3197
- fix(skills): use yaml.safe_load for frontmatter parsing to handle multiline descriptions by @yanghan-cyber in #3141
- fix(status): correct context percentage and sync consolidator by @chengyongru in #3209
- fix(api): prevent upload filename collisions and reject unsupported image URLs by @mohamed-elkholy95 in #3187
- perf(tools): cache ToolRegistry.get_definitions() between mutations by @chengyongru in #3210
- feat(agent): add MyTool for runtime self-inspection by @chengyongru in #3177
- feat(api): afeat(api): add SSE streaming for /v1/chat/completions by @wanghesong2019 in #3222
- feat: add channel-based filtering for Discord by @Lbin91 in #3171
- feat(dream): git-based section age annotations for memory staleness by @chengyongru in #3212
- fix: pass apiBase from config to transcription providers (Groq & OpenAI) by @chengyongru in #3237
- feat(windows): Windows + Python 3.14 support — CI matrix, install markers, runtime fixes by @JiajunBernoulli in #3194
- fix(agent): preserve user message to prevent GLM error 1214 by @chengyongru in #3233
- fix(email): ignore self-sent mailbox messages by @yorkhellen in #3228
- fix(exec): pass allowed_env_keys to exec tool calls in subagents by @mcampo in #3238
- fix(docs): update channel plugin build backend to hatchling by @JiajunBernoulli in #3192
- fix(memory): fall back to raw_archive on LLM error response by @chengyongru in #3248
- fix: guard tool execution against non-compliant API gateway injection #3220 by @subalkum in #3225
- fix: make cron tool schema require message for add action by @sicnuyudidi in #3163
- fix(api): avoid success-style SSE termination after backend failure by @shaun0927 in #3262
- fix(my-tool): hide sensitive nested config fields in check output by @shaun0927 in #3261
- fix(utils): extract PPTX table cells and grouped shape text (#3250) by @04cb in #3269
- fix(loop): persist subagent follow-up events in session history by @xzq-xu in #3242
- fix(agent): stop leaking provider retry heartbeats to user channels by @SamZhu19921116 in #3229
- feat(websocket): multiplex multiple chat_ids over a single connection by @Re-bin in #3272
- refactor(templates): separate identity and SOUL responsibilities by @chengyongru in #3275
- feat(wizard): add Channel Common, API Server menus and constraint validation by @chengyongru in #3273
- feat: add issue templates by @chengyongru in #3287
- fix: prevent GitStore from creating nested repos and overwriting .gitignore by @longle325 in #3289
- fix: harden cron tool contract by @yeyitech in #3125
- fix(config): return provider default api base in config resolution by @morandot in #3112
- fix(cli): respect sys.stdout.isatty() in stream renderer (#3265) by @pixan-ai in #3271
- docs: refactor README into a docs-first landing page by @Re-bin in #3306
- fix: unify summary injection strategy between token consolidation and auto-compact by @JiajunBernoulli in #3304
- fix(providers): add circuit breaker for Responses API fallback by @chengyongru in #3302
- feat(webui): add initial browser UI with websocket chat and i18n by @Re-bin in #3310
- fix(cron): drop top-level oneOf so OpenAI Codex/Responses accept tool schema by @coldxiangyu163 in #3295
- fix(discord): allow bot-to-bot messaging, only drop self-loops (#3217) by @pixan-ai in #3280
- fix(session): prevent data loss with atomic writes and corrupt-file repair by @aiguozhi123456 in #3312
- style(webui): improve typography and code block rendering by @chengyongru in #3314
- fix: suppress intermediate progress output in cron jobs by @chengyongru in #3320
- fix(agent): align subagent result session key with main agent for mid-turn injection by @chengyongru in #3321
- fix(email): deduplicate SPF/DKIM-rejected emails to stop log spam by @chengyongru in #3325
- feat(telegram): mid-stream split in send_delta by @chengyongru in #3329
- fix(utils): strip malformed think tags and harmony channel markers by @hlgone in #3327
- fix(loop): preserve partial context when /stop cancels a task by @hussein1362 in #3299
- fix(anthropic): strip trailing assistant messages to prevent prefill error by @hussein1362 in #3297
- fix(mcp): retry once on transient connection errors by @hussein1362 in #3338
- agent: use ContextVar for tool routing context by @chengyongru in #3345
- fix(memory): harden cursor recovery against non-integer corruption by @MuataSr in #3340
- fix(retry): recognize ZhiPu 1302 rate-limit error for retry by @chengyongru in #3356
- fix(telegram): improve markdown rendering for modern LLM output by @hussein1362 in #3355
- fix(commands): intercept non-priority commands during active turn by @chengyongru in #3359
- fix(utils/document): use try/finally in _extract_xlsx to ensure workbook is always closed by @XJPeng12 in #3353
- feat(read_file): add DOCX, XLSX, PPTX office document support by @aiguozhi123456 in #3336
- Fix/minimax reasoning split by @lahuman in #3363
New Contributors
- @dzydzydzy7 made their first contribution in #3161
- @Aisht669 made their first contribution in #3160
- @sohamb117 made their first contribution in #3186
- @Lbin91 made their first contribution in #3171
- @mcampo made their first contribution in #3238
- @sicnuyudidi made their first contribution in #3163
- @SamZhu19921116 made their first contribution in #3229
- @longle325 made their first contribution in #3289
- @hlgone made their first contribution in #3327
- @hussein1362 made their first contribution in #3299
- @MuataSr made their first contribution in #3340
- @lahuman made their first contribution in #3363
Full Changelog: v0.1.5.post1...v0.1.5.post2
详细ChangeLogv0.1.5.post1
2026年04月15日
🐈 nanobot v0.1.5.post1 is here 🎉 — 80 PRs merged, 25 new contributors. The agent learned to manage itself.
If v0.1.5 was about making the building livable, v0.1.5.post1 is about the building learning to take care of itself. The agent now compresses its own context before it gets too long, injects follow-up messages mid-turn instead of making you wait, discovers reusable skills from its own workflows, and opens a WebSocket so anything can talk to it. Meanwhile, 40+ bug fixes across cron, memory, retry, and channels turned "it works most of the time" into "it works."
Highlights
-
Mid-turn injection — follow-ups don't wait in line — If you send another message while the agent is still working, it no longer queues behind a lock. The follow-up gets injected into the active turn, and on streaming channels the reply continues in the same live response. This makes long tool-call chains feel interactive instead of one-way. Edge-case draining on error paths was hardened in a follow-up pass. (#3042, #3110)
-
Dream learns skills, not just facts — Dream's consolidation flow can now recognize repeated workflows and promote them into standalone workspace skills under
skills/. Combined withdisabledSkillsconfig for excluding skills you don't want, the agent's skill surface is now something that grows organically and stays manageable. (#3048, #2959) -
Auto compact — the agent manages its own context — Sessions no longer grow until they hit the wall. Auto compact watches for idle periods, then proactively summarizes older context while preserving recent live messages — so when you come back, the agent remembers what matters without dragging along everything that doesn't. This isn't the old "nuke the session" approach; it's surgical compression that keeps the conversation feeling continuous. Pair it with
idleCompactAfterMinutesin config for fine-grained control. (#3007, #3081, #3093) -
WebSocket channel — connect anything — A new
websocketchannel runs a WebSocket server with streaming (delta+stream_endevents), token-based auth (static or issued), per-connection sessions, and TLS support. Web apps, CLIs, Chrome extensions, scripts — anything that can open a socket can now talk to the agent in real time. (#2964) -
Channels got deeper — Telegram gained location sharing. Discord got streaming replies and proxy support. Feishu added done-emoji lifecycle, inline tool hints, and Lark global domain config. QQ and WeCom received full media support. Slack's
messagetool now resolves#channel_nameand@userto real IDs. The API endpoint accepts file uploads via JSON base64 and multipart, with automatic document extraction (PDF, DOCX, XLSX, PPTX) across all channels. And retry amplification — where a failed send would trigger cascading retries — was fixed across every channel. (#2910, #2939, #2960, #2993, #3046, #3044, #3138, #2938, #3053) -
Providers — adaptive thinking and Kimi — Anthropic's
adaptivereasoning mode landed, letting Claude decide when and how much to think. Kimi thinking-capable models (kimi-k2.5,k2.6-code-preview) now get automaticextra_body.thinkinginjection viareasoningEffort. StepFun Plan API reasoning fields fall back correctly. Non-Claude providers get proper role alternation enforcement. And tool-call arguments are normalized for strict providers that reject malformed JSON. (#2882, #3124, #2903, #2637, #3154) -
MCP, tools, and search — MCP resources and prompts are now exposed as read-only tools — the agent can query them directly. Multiple MCP servers connect in isolated tasks instead of racing each other. The notebook editing tool arrived. Kagi joined the web search provider lineup. And the exec tool got tighter: Windows support landed,
allowed_env_keyslets you selectively forward env vars, internal state files are write-protected, andworking_diroutside the workspace is rejected. (#2907, #3019, #3017, #2945, #2893, #2962, #3061) -
Cron stopped dropping jobs — Four separate cron fixes addressed reentrant store reloads during job execution, fixed-interval tasks duplicating due to concurrent store replacement, job config not reloading, and manual run state not being preserved. If you rely on scheduled tasks, this release is the one where they become boring. (#3038, #3034, #2895, #2930)
Community
Welcome to our 25 new contributors who made their first contribution in this release: @Bahtya, @LeoFYH, @xwind, @Xerxes-cn, @BalorLC3, @invictus-z, @zijiefang, @kronk307, @stutiredboy, @SHLE1, @RohitDayanand, @justforyoudear, @XJPeng12, @linziyanleo, @chenyahui, @JonasGao, @weitongtong, @danielphang, @mterhar, @ramonpaolo, @nikube, @yeyitech, @ravs-cyberrock, @samyzhh, and @razzh7.
v0.1.5.post1 reflects something we keep seeing in the commit log: the best contributions aren't always the flashiest ones. A cron race condition caught by @weitongtong. A retry amplification loop spotted by @Bahtya. A channel error path that silently swallowed messages, fixed by @yanghan-cyber. These are the changes that make an agent trustworthy — not because it can do more, but because it stops doing things wrong. 80 PRs later, nanobot is quieter, steadier, and a little more grown-up. That's worth celebrating.
Full Changelog: v0.1.5...v0.1.5.post1
What's Changed
- fix(matrix): correct e2eeEnabled camelCase alias mapping by @Bahtya in #2877
- fix(filesystem): correct write success message from bytes to characters by @LeoFYH in #2865
- fix: Matrix e2eeEnabled config alias and cron job name parameter (#2851, #2680) by @04cb in #2855
- ci: add ruff lint check for unused imports and variables by @JiajunBernoulli in #2847
- fix(docker): Windows CRLF breaks entrypoint.sh by @flobo3 in #2883
- fix(cli): sanitize surrogate characters in prompt history by @Bahtya in #2869
- fix(feishu): resolve mentions data and ensure access token initializationDev by @xwind in #2885
- fix(runner): silent retry on empty response before finalization by @Re-bin in #2889
- feat(agent): tool hint enhancement by @chengyongru in #2884
- feat(memory):dream enhancement (#2887) by @chengyongru in #2891
- fix(cron): fix not reload job config by @Xerxes-cn in #2895
- feat(anthropic): add adaptive thinking mode by @BalorLC3 in #2882
- docs: fix channel plugin guide — require Pydantic config model by @invictus-z in #2850
- fix(memory): prevent potential loss of compressed session history by @LingaoM in #2890
- fix(memory): add timestamp and cap to recent history injection by @Re-bin in #2906
- feat(mcp): expose MCP resources and prompts as read-only tools by @Re-bin in #2907
- chore: update .gitignore to include additional project-specific, build, test, and environment files by @JackLuguibin in #2862
- fix(provider): fallback to reasoning field for StepFun Plan API by @zijiefang in #2903
- fix(exec): add Windows support for shell command execution by @Re-bin in #2893
- feat(agent): prompt behavior directives, tool descriptions, and loop robustness by @Re-bin in #2912
- feat(telegram): add location/geo support by @kronk307 in #2910
- feat: telegram support stream edit interval by @stutiredboy in #2919
- fix(tool-hint): fold paths in exec commands and deduplicate by formatted string by @chengyongru in #2926
- fix(cron): Concurrency issues by @Xerxes-cn in #2930
- refactor(hook): add reraise flag to AgentHook and remove _LoopHookChain by @LingaoM in #2918
- Fix version mismatch: use importlib.metadata as single source of truth by @Bahtya in #2860
- fix(discord): enable streaming replies to avoid empty final response by @SHLE1 in #2939
- fix(status): use consistent divisor for token count display by @LeoFYH in #2951
- fix(dingtalk): #2696 by @RohitDayanand in #2948
- fix(exec): forward complete Windows env to subprocesses by @justforyoudear in #2941
- feat: unified session across channels via config toggle (closes #2798) by @wanghesong2019 in #2900
- fix(helpers): ensure assistant message content is never None by @pixan-ai in #2748
- fix(cli): remove default green style from Enabled column in tables by @XJPeng12 in #2936
- fix(providers): enforce role alternation for non-Claude providers by @linziyanleo in #2637
- feat(channels): add WebSocket server channel by @chengyongru in #2964
- fix(agent): deliver LLM errors to streaming channels and avoid polluting session context by @yanghan-cyber in #2963
- feat(exec): support allowed_env_keys to pass specified env vars to su… by @chenyahui in #2962
- feat(channel): add proxy support for Discord channel by @JonasGao in #2960
- fix: strip blocks from Gemma 4 and similar models by @chengyongru in #2991
- feat(feishu): streaming resuming, inline tool hints, and done emoji by @chengyongru in #2993
- fix(memory): harden consolidation with try/except on token estimation and chunk size cap by @franciscomaestre in #2978
- fix(agent): Avoid truncate_text name shadowing by @yorkhellen in #2997
- feat(cron): 添加 CronService.update_job 方法 by @weitongtong in #3005
- fix(utils): anchor unclosed think-tag regex to string start (#3004) by @04cb in #3020
- feat(agent): auto compact — proactive session compression by @chengyongru in #3007
- fix(cron): 修复固定间隔任务因 store 并发替换导致的重复执行 by @weitongtong in #3034
- fix(cron): guard _load_store against reentrant reload during job execution by @danielphang in #3038
- feat: Add Kagi search by @mterhar in #2945
- fix(mcp): support multiple MCP servers by connecting each in isolated… by @Qinnnnnn in #3019
- feat(tool): improve file editing and add notebook tool by @Re-bin in #3017
- fix(feishu): improve voice message download with detailed logging by @chengyongru in #3041
- feat(agent): mid-turn message injection for responsive follow-ups by @chengyongru in #3042
- feat(channels): Add full media support for QQ and WeCom channels by @chengyongru in #3044
- fix(agent): preserve tool results on fatal error to prevent orphan tool_calls (#2943) by @04cb in #3045
- feat(channels/feishu): add domain config for Lark global support by @chengyongru in #3046
- feat(skills): add disabled_skills config to exclude skills from loading by @chenyahui in #2959
- fix(shell): tighten exec safety guards (#2989, #2826) by @04cb in #3061
- feat(agent): integrate skill discovery into Dream by @chengyongru in #3048
- fix(retry): strip images in-place to prevent repeated error-retry cycles by @yanghan-cyber in #3060
- fix(channels): prevent retry amplification and silent message loss across channels by @Bahtya in #3053
- fix(provider): clarify local 502 recovery hints by @haosenwang1018 in #3075
- fix(mcp): hint on stdio protocol pollution by @haosenwang1018 in #3079
- fix: improve tool call parameter validation and error messages by @ramonpaolo in #2859
- fix(agent): persist user message before running turn loop by @nikube in #3076
- fix(agent): skip auto-compact for sessions with active agent tasks by @chengyongru in #3081
- fix(provider): recover trailing assistant as user to prevent Zhipu 1214 by @chengyongru in #3082
- docs(provider): clarify responses api routing by @haosenwang1018 in #3089
- fix(log): remove noisy no-op logs from auto-compact by @chengyongru in #3093
- fix(agent): drain injection queue on error/edge-case exit paths by @chengyongru in #3110
- fix(web): serialize duckduckgo search calls by @yeyitech in #3128
- test(loop): cover /stop checkpoint recovery by @yeyitech in #3130
- feat: add HTTP health endpoint on gateway port by @ravs-cyberrock in #2625
- fix(feishu): remove resuming and add streaming card fallback by @chengyongru in #3133
- feat(slack): resolve named message targets by @yeyitech in #3138
- feat(api): support file uploads via JSON base64 and multipart/form-data by @dividduang in #2938
- fix: handle dict config in is_allowed() and _validate_allow_from() by @samyzhh in #3153
- fix: normalize tool-call arguments for strict providers by @Michael-lhh in #3154
- feat: show active task count in /status output by @aiguozhi123456 in #3149
- fix: add retry termination notification to interaction channel by @aiguozhi123456 in #3150
- feat(provider): enable Kimi thinking via extra_body for k2.5 and k2.6 by @razzh7 in #3124
New Contributors
- @Bahtya made their first contribution in #2877
- @LeoFYH made their first contribution in #2865
- @xwind made their first contribution in #2885
- @Xerxes-cn made their first contribution in #2895
- @BalorLC3 made their first contribution in #2882
- @invictus-z made their first contribution in #2850
- @zijiefang made their first contribution in #2903
- @kronk307 made their first contribution in #2910
- @stutiredboy made their first contribution in #2919
- @SHLE1 made their first contribution in #2939
- @RohitDayanand made their first contribution in #2948
- @justforyoudear made their first contribution in #2941
- @XJPeng12 made their first contribution in #2936
- @linziyanleo made their first contribution in #2637
- @chenyahui made their first contribution in #2962
- @JonasGao made their first contribution in #2960
- @weitongtong made their first contribution in #3005
- @danielphang made their first contribution in #3038
- @mterhar made their first contribution in #2945
- @ramonpaolo made their first contribution in #2859
- @nikube made their first contribution in #3076
- @yeyitech made their first contribution in #3128
- @ravs-cyberrock made their first contribution in #2625
- @samyzhh made their first contribution in #3153
- @razzh7 made their first contribution in #3124
Full Changelog: v0.1.5...v0.1.5.post1
详细ChangeLogv0.1.5
2026年04月06日
🐈 nanobot v0.1.5 is here 🎉 — 66 PRs merged, 27 new contributors, and the first release with its own home.
We're excited to announce that nanobot now has an official website at nanobot.wiki, with multilingual documentation in English, Chinese, Japanese, Korean, Spanish, and French. Building it reminded us why we do this: nanobot has always belonged to the open-source community, and a proper home — one that speaks your language — felt overdue. Every doc page, every translation, every example is open and contribution-ready. That's not going to change.
Now, about the release itself. If v0.1.4.post6 was about decomposing the foundation, v0.1.5 is about making the building livable. The agent can now run for hours without losing its mind. Memory got a proper architecture. And running nanobot in production went from "possible" to "comfortable." This is the release where nanobot stops being a prototype and starts being infrastructure.
Highlights
-
Long-running tasks got more reliable — Long-running tasks received a ground-up reliability pass. The runtime now handles
CancelledErrorwithout orphaning subprocesses, retry classification uses structured error metadata instead of regex-on-error-text (so a 429 quota exhaustion stops immediately while a rate limit waits and retries), SDK-level auto-retries were disabled to prevent request amplification, and Azure retries no longer double-dip. If your agent runs cron jobs, orchestrates tools overnight, or handles bursty traffic — this is the release that makes those sessions stick. (#2733, #2762, #2759, #2761, #2765) -
Memory got an architecture — meet Dream — The new two-stage memory system separates live conversation history from consolidated long-term knowledge. Dream runs as a background consolidation pass — think of it as the agent sleeping on what it learned — backed by git-versioned storage so every memory state is recoverable. Legacy
HISTORY.mdfiles migrate automatically. Jinja2 templating arrived alongside Dream, giving you control over how the agent shapes its responses and memory summaries. This isn't a feature bolted on — it's the memory system nanobot should have had from day one. (#2717, #2779, and 10+ follow-up hardening commits) -
Running nanobot in production got real —
execcalls are now sandboxed viabwrapand containers run as non-root by default. The exec tool no longer leaks host environment variables to the LLM. API port binds to localhost by default. Config secrets support${VAR}interpolation so you never have to hardcode a key again. A newnanobot-apiDocker service gives you an isolated OpenAI-compatible endpoint out of the box. WhatsApp bridge gained automatic local auth. These aren't glamorous changes — they're the reason you'll sleep through the night after deploying. (#1940, #2831, #2830, #2841, #2715) -
Three new providers, and GPT-5 is ready — GPT-5 model family support landed with proper temperature handling. Xiaomi MiMo joined for on-device inference fans. Baidu Qianfan arrived for the Chinese ecosystem. Dashscope and ModelArk got proper thinking parameter control. And
reasoning_content(chain-of-thought from DeepSeek-R1, Kimi, MiMo) is now visible and preserved through the full message pipeline. nanobot keeps meeting users wherever their models are. (#2788, #2495, #2811, #2840, #2770) -
Channels kept getting better — Email now extracts attachments with MIME filtering and filename sanitization. WhatsApp gained voice transcription via Groq/OpenAI Whisper. Feishu auto-removes reactions after processing and supports video downloads. Telegram renders tool hints as collapsible blockquotes, supports DM threads, and splits oversized streamed replies. WeChat multimodal alignment continued. Langfuse integration landed for production observability. And
/statusnow shows web search provider usage alongside cache hit rates. (#2815, #2530, #2812, #2810, #2793, #2520, #2659, #2832, #2703) -
Developer experience, quietly — Built-in
grepandglobtools give the agent native code search. The Tool class was refactored with proper JSON Schema for parameters. The Python SDK facade enables programmatic per-session isolation. The CLI gained--configfor multi-instance setups. Web search was unified underWebToolsConfigwith toggle controls. And the test suite grew to 1,142 tests, all green. (#2754, #2780, #2653, #2740, #2643)
Community
Welcome to our 27 new contributors who made their first contribution in this release.
v0.1.5 is shaped by a simple conviction: an AI agent framework earns trust not by adding features, but by being the kind of software you'd run unattended on a Friday night. Memory that doesn't forget. Retries that don't amplify. Sandboxes that don't leak. Every contributor who hardened a boundary, caught a race condition, or added a test — you made nanobot more trustworthy today than it was yesterday. That's the only metric that matters.
Full Changelog: v0.1.4.post6...v0.1.5
What's Changed
- fix(skill-creator): Fix grammar in SKILL.md: 'another the agent' by @quanmou in #2586
- feat: add OpenAI-compatible API by @goxofy in #1362
- feat(agent): add CompositeHook for composable lifecycle hooks by @sontianye in #2615
- feat: add Python SDK facade and per-session isolation by @Re-bin in #2653
- fix: three minor user-facing fixes (#2651, #2566, #2579) by @04cb in #2656
- fix: Prevent ExecTool registration in Subagent when exec_config.enable is False by @yorkhellen in #2648
- feat(channel): matrix/discord enhancement by @chengyongru in #2673
- Feat(WeiXin): WeXin multimodal capabilities and align with version 2.1.1 by @xcosmosbox in #2614
- fix(test): fix flaky test_fixed_session_requests_are_serialized by @chengyongru in #2676
- fix: restore GitHub Copilot auth flow by @RongLei-intel in #2668
- fix(agent): message tool incorrectly replies to original chat when targeting different chat_id by @WormW in #2474
- fix: ExecTool to block root directory paths when restrict_to_workspace is enabled by @yorkhellen in #2683
- fix(providers): only apply cache_control for Claude models on OpenRouter by @Tejas1Koli in #2687
- feat(provider): show cache hit rate in /status (#2645) by @chengyongru in #2703
- feat(cron): add deliver parameter to support silent jobs by @xgzlucario in #2718
- chore(provider): Use OpenAI Responses API for Azure OpenAI Provider by @kunalk16 in #2661
- test(matrix): skip cleanly when optional deps are missing by @haosenwang1018 in #2741
- feat(cli): add --config option to channels login and status commands by @masterlyj in #2740
- feat: harden agent runtime for long-running tasks by @Re-bin in #2733
- feat(channel): channel enhancement by @chengyongru in #2769
- fix: restore Weixin typing indicator by @cypggs in #2646
- feat(provider): add Xiaomi MiMo LLM support by @LingaoM in #2495
- feat(provider): support reasoning_content in OpenAI compat provider by @LingaoM in #2770
- fix(restart): send completion notice after channel is ready and unify… by @imfondof in #2745
- feat: unify web tool config under WebToolsConfig + add web tool toggle controls by @Shiniese in #2643
- fix: Support media directory access when
restrict_to_workspaceis enabled by @Shiniese in #2743 - fix: Retry-After was ignored, causing premature retries (now honors header/json hints) by @pikaxinge in #2761
- fix: stop retry amplification (12→4 requests) by disabling SDK auto-retries by @pikaxinge in #2759
- feat(memory): two-stage memory system with Dream consolidation by @chengyongru in #2717
- feat: integrate Jinja2 templating for agent responses and memory cons… by @JackLuguibin in #2779
- fix(security): add ssrfWhitelist config to unblock Tailscale/CGNAT (#2669) by @04cb in #2715
- refactor: streamline Tool class methods and improve type handling by @JackLuguibin in #2780
- fix(provider): restore reasoning_content and extra_content in message… by @LingaoM in #2786
- feat(providers): add GPT-5 model family support by @friday-james in #2788
- perf(cache): stabilize tool prefix caching under MCP tool churn by @pikaxinge in #2722
- fix(docker): rewrite github ssh git deps to https for npm build by @Wenzhang-Chen in #1700
- feat(agent): add built-in grep and glob search tools by @Re-bin in #2754
- fix(cli): prevent spinner ANSI escape codes from being printed verbatim by @chengyongru in #2809
- feat(telegram): render tool hints as expandable blockquotes by @chengyongru in #2810
- feat(provider): add Qianfan provider support by @chengyongru in #2811
- feat(feishu): auto-remove reaction after processing and support video download by @chengyongru in #2812
- fix: stop leaking reasoning_content to stream output by @chengyongru in #2817
- fix(dream): allow LLM to retry on tool errors by @chengyongru in #2824
- fix(web-search): fix Jina search request format and restore DuckDuckGo fallback by @KimGLee in #2808
- Fix: add asyncio timeout guard for DuckDuckGo search by @hoaresky in #2805
- fix(telegram): support threads in DMs by @IlyaSemenov in #2793
- refactor(agent): streamline hook method calls and enhance error logging by @JackLuguibin in #2794
- feat: sandbox exec calls with bwrap and run container as non-root (minimally fixes #1873) by @kinchahoy in #1940
- chore: add codespell support (config, workflow to detect/not fix) and make it fix a few typos by @yarikoptic in #121
- security: prevent exec tool from leaking process env vars by @benlenarts in #2831
- docs: another two places for renaming assitant to agent by @qixinbo in #2835
- expand /status to show web search provider usage limits (#2820) by @wanghesong2019 in #2832
- security: support ${VAR} env var interpolation for config secrets by @benlenarts in #2830
- fix(shell): kill subprocess on CancelledError to prevent orphan proce… by @LingaoM in #2765
- fix(feishu): match bot's own open_id in _is_bot_mentioned to prevent … by @yq612 in #2719
- feat(provider): 添加 Langfuse 观测平台的集成支持 by @lang07123 in #2659
- fix(matrix): fix e2ee authentication by @limdingwen in #2596
- feat(whatsapp): add voice message transcription via OpenAI/Groq Whisper by @franciscomaestre in #2530
- fix(whatsapp): detect phone vs LID by JID suffix, not field name by @franciscomaestre in #2531
- Fix cron reminder notifications being suppressed by @mrbob-git in #2449
- fix(telegram): split oversized final streamed replies by @Michael-lhh in #2520
- feat(email): add attachment extraction support by @benlenarts in #2815
- feat(agent): Adjust thinking method for Dashscope and Modelark by @power88 in #2840
- feat(docker): add nanobot-api service with isolated workspace by @dividduang in #2841
- fix: make app-layer retry classification structured (408/409/timeout/connection) by @pikaxinge in #2762
- fix(status): use correct AgentLoop attribute for web search config by @yanghan-cyber in #2844
New Contributors
- @quanmou made their first contribution in #2586
- @goxofy made their first contribution in #1362
- @sontianye made their first contribution in #2615
- @RongLei-intel made their first contribution in #2668
- @WormW made their first contribution in #2474
- @Tejas1Koli made their first contribution in #2687
- @masterlyj made their first contribution in #2740
- @cypggs made their first contribution in #2646
- @LingaoM made their first contribution in #2495
- @imfondof made their first contribution in #2745
- @Shiniese made their first contribution in #2643
- @friday-james made their first contribution in #2788
- @Wenzhang-Chen made their first contribution in #1700
- @hoaresky made their first contribution in #2805
- @IlyaSemenov made their first contribution in #2793
- @kinchahoy made their first contribution in #1940
- @yarikoptic made their first contribution in #121
- @qixinbo made their first contribution in #2835
- @wanghesong2019 made their first contribution in #2832
- @yq612 made their first contribution in #2719
- @lang07123 made their first contribution in #2659
- @limdingwen made their first contribution in #2596
- @franciscomaestre made their first contribution in #2530
- @mrbob-git made their first contribution in #2449
- @power88 made their first contribution in #2840
- @dividduang made their first contribution in #2841
- @yanghan-cyber made their first contribution in #2844
Full Changelog: v0.1.4.post6...v0.1.5
详细ChangeLog