Commit Graph
5400 Commits
Author SHA1 Message Date
nanobot beccb382df deploy: match Unknown-channel warnings by pipeline format
Agent tool-call echoes also hit this journal and can contain the literal
string; require '| WARNING | - | Unknown channel:' to avoid false
positives in the channel check.

(cherry picked from commit 4c0a1c2812)
2026-11-22 19:00:13 +08:00
nanobot 84d8e6069f deploy: channel-dependency gate + post-restart channel check
2026-09-03 incident: a silently-failed pip install (Tsinghua mirror
transient) left the gateway WebSocket-only for 3.5 days while /health
stayed green. New gates:
- dep gate: verify venv imports (telegram, websockets) BEFORE restart;
  abort without touching the service on failure, one reinstall attempt
  Tsinghua -> PyPI (explicit package names; 'telegram' on PyPI is squat)
- channel check: post-restart journal must have no 'Unknown channel'
  and 'Channels enabled:' must list every required channel, else
  auto-rollback (also applied on rollback path)

(cherry picked from commit d8fc220c8b)
2026-11-22 19:00:13 +08:00
nanobot fa2c33636a fix(deploy): bypass proxy in health checks
Loopback health checks inherited http_proxy from /etc/environment and
were routed through v2rayA, failing spuriously (2026-08-28 incident).

(cherry picked from commit aabad78df9)
2026-11-22 19:00:13 +08:00
nanobot d75c4c7cfd feat: add deploy/rollback supervisor script
Git-checkout-based deployment with health checks and automatic rollback.
Usage: deploy.sh <commit> | deploy.sh rollback | deploy.sh status

(cherry picked from commit 4176122d26)
2026-11-22 19:00:13 +08:00
chengyongru 843dc20121 fix(webui): underline focused sidebar titles instead of boxing the row (#6750) 2026-11-22 17:32:41 +08:00
chengyongru b65c3ac7fa fix(webui): let users turn off failed channels (#6748) 2026-11-22 14:00:14 +08:00
Xubin Ren 0dc8679edc ci: publish accepted releases to PyPI in one click 2026-11-21 20:11:34 +08:00
Xubin Ren 5f1df63d4e chore: prepare v0.4.2 2026-11-21 17:56:38 +08:00
Xubin Ren 372dca37b6 fix(webui): preserve focus when reopening the model picker 2026-11-21 17:35:35 +08:00
chengyongru bc690f0394 fix(webui): align settings sidebar footer rows 2026-11-20 23:35:48 +08:00
chengyongru 6057ce59e5 refactor(webui): colocate composer palette and automation calendar styles 2026-11-20 23:35:38 +08:00
chengyongru 09384cab26 feat(webui): collapse long user messages exceeding half viewport height (#6739) 2026-11-20 22:36:30 +08:00
chengyongru db0306b404 feat(webui): redesign goal island as floating vibrancy platter (#6737) 2026-11-20 18:43:34 +08:00
chengyongru 16e573fe18 feat(webui): refine composer slash, skill, and mention palettes (#6738) 2026-11-20 18:24:19 +08:00
chengyongru cd75dbfaac fix(chat): preserve routing for side-channel command replies (#6736) 2026-11-20 16:47:07 +08:00
chengyongru 3e9024ea04 fix(webui): restore keyboard focus after pointer use (#6735)
* fix(webui): restore focus rings for file and image shortcuts

* test(webui): wait for the welcome composer before opening model options
2026-11-20 16:12:24 +08:00
chengyongruandhoufukude 341fd37c0c fix(webui): prevent sign-in autofill in channel credentials (#6733)
Co-authored-by: houfukude <houfukude@gmail.com>
2026-11-20 16:11:25 +08:00
chengyongru c6fd1b3ecb fix(webui): gate focus indicators on keyboard navigation modality (#6734) 2026-11-20 15:55:03 +08:00
chengyongru cb95277098 fix(webui): confirm linked automation deletion in untimed toast (#6731)
* fix(webui): confirm linked automation deletion in untimed toast

* feat(webui): add linked automation dropdown and session exclude in delete toast

* style(webui): align toast automation dropdown and refine visual polish
2026-11-20 15:05:23 +08:00
chengyongru 7935176eb7 fix(webui): theme the custom reasoning effort picker (#6730) 2026-11-20 13:02:44 +08:00
chengyongru 51fa1a7f74 refactor: remove unreachable code and redundant tests (#6729)
* refactor: prune unreachable runtime and WebUI paths

* test: drop duplicate cases and assertions for obsolete selectors
2026-11-20 11:11:00 +08:00
chengyongru b9b491e74c fix(webui): hide live activity timer on narrow screens 2026-11-20 00:46:21 +08:00
chengyongru 5537bdabd3 refactor(webui): separate gateway mutations and UI state (#6727) 2026-11-19 22:22:51 +08:00
chengyongru ce12bfdd0d fix(webui): open the preset for blocked image input (#6724) 2026-11-19 18:39:00 +08:00
chengyongru 607de63fb4 docs: improve readability and remove internal technical details from user docs (#6725)
* docs: improve readability and remove internal technical details from user docs

* docs: expand user-doc cleanup to remote instances, deployment, providers, MCP presets, my-tool, and add concept diagrams

* docs: streamline root README and SECURITY guide for readability

* docs: move Why nanobot before Start Here and highlight lightweight footprint and WebUI
2026-11-19 16:48:17 +08:00
chengyongru 2ca8b72eea fix(webui): use live turns for queued messages (#6726) 2026-11-19 16:27:45 +08:00
chengyongruandMark Zhang 085521823e fix(security): reject malformed hostnames before DNS resolution (#6716)
Reject control characters before parsing and whitespace in the parsed hostname before resolving the destination.

Co-authored-by: Mark Zhang <122280878+atlasmarkz@users.noreply.github.com>
2026-11-19 16:12:35 +08:00
chengyongru 094bac0dc3 fix(webui): reconcile running turns on reconnect (#6715)
* fix(webui): reconcile running turns on reconnect

* test(webui): verify only the current turn-sync policy
2026-11-19 16:08:20 +08:00
chengyongru b453de9cf6 feat(webui): show when the agent picks up queued messages (#6719) 2026-11-19 16:03:16 +08:00
chengyongru 3025a01cf0 fix(session): replay user images from stored attachments (#6720) 2026-11-19 15:53:57 +08:00
chengyongru 488b657ee1 feat(agent): identify response inputs on model request start (#6721) 2026-11-19 15:07:22 +08:00
chengyongru 32bba3a16c fix(webui): anchor floating surface animations (#6722)
* fix(webui): anchor floating surface animations

* test(webui): assert the dispatched file menu click coordinate
2026-11-19 15:05:42 +08:00
chengyongru eb82ab84cc fix(webui): skip confirmation for undoable topic deletion (#6723)
* fix(webui): skip confirmation for undoable topic deletion

* refactor(webui): rely on gateway for linked automation confirmation
2026-11-19 15:05:00 +08:00
chengyongru f9052884ba fix(session): preserve literal assistant replies in history (#6717)
<87817976+master1018@users.noreply.github.com>
2026-11-19 14:38:04 +08:00
chengyongru d7e30b403e perf(webui): avoid redundant diff bundle assets (#6711) 2026-11-19 00:10:38 +08:00
chengyongru 995f9e36c1 fix(webui): restore startup flow while keeping recovery batching (#6712)
* fix(webui): restore startup flow while keeping recovery batching

Keep the two restart recovery scans from #6708. Withdraw the browser preload and launcher changes until they can be measured independently against the Windows first-send regression.

* fix(webui): skip graph layout measurement in reduced motion

A zero-duration shared layout still measured the panel while the 500-node graph was mounting. Disable the shared-layout link in reduced motion and start the browser budget after the initial graph paints. Keep the existing 150ms limit and all 500 node checks.
2026-11-18 23:40:49 +08:00
chengyongru cab49a1c66 feat(webui): expand long drafts and refine chat scrollbars (#6709)
* feat(webui): expand long drafts and refine chat scrollbars

* test(webui): synchronize browser setup and isolate locale cases

* test(webui): wait for the About fixture before measuring layout
2026-11-18 23:28:36 +08:00
chengyongru db430df3f6 fix(webui): style focus after sidebar topic rename (#6710) 2026-11-18 22:56:37 +08:00
chengyongru 273582916b perf(webui): batch startup recovery and authenticate before React (#6708) 2026-11-18 22:47:44 +08:00
Xubin Ren 9652302324 fix(webui): allow public WebSocket URLs with existing SSH 2026-11-18 20:15:13 +08:00
Xubin Ren 1180ef9db9 docs(webui): clarify Python requirements for existing SSH 2026-11-18 20:15:13 +08:00
Xubin Ren 098d854339 fix(webui): ignore SSH banners when detecting missing Python 2026-11-18 20:15:13 +08:00
Xubin Ren 413b9a1074 fix(webui): recognize missing Python from Windows sshd exit 1 2026-11-18 20:15:13 +08:00
Xubin Ren b18ca98aff fix(webui): run SSH probes on Windows hosts with python 2026-11-18 20:15:13 +08:00
Xubin Ren 307b3bce82 fix(webui): allow SSH quick pairing behind HTTPS proxies 2026-11-18 20:15:13 +08:00
chengyongru d1e1d7bc5e fix(webui): keep the reasoning slider visible while levels load (#6707) 2026-11-18 18:28:01 +08:00
chengyongru f6f49ccca5 fix(webui): scroll search and archive with sidebar topics (#6706) 2026-11-18 17:46:55 +08:00
chengyongru 7e04670461 fix(webui): round Codex speed controls to match the reasoning slider (#6703) 2026-11-18 16:44:27 +08:00
chengyongru 74d070f699 feat(memory): add progressive wiki and drain Dream history (#4477) 2026-11-18 16:28:43 +08:00
chengyongru 9ccf3b6214 fix(webui): make action feedback easier to notice (#6702)
* fix(webui): make action feedback easier to notice

* fix(webui): preserve undo and report confirmed action results

* refactor(webui): trim toast preview and redundant coverage

* test(webui): advance the undo window for the last topic deletion
2026-11-18 16:10:02 +08:00