Commit Graph
5282 Commits
Author SHA1 Message Date
chengyongru 25ed91ffeb refactor: drop unreferenced dead code
Every removed symbol has no reference anywhere in the tree (Python AST and
TypeScript identifier scans over all tracked files, including tests, docs,
WebUI/TUI clients, and JSON/YAML data):

- nanobot/webui/settings_api.py: four aliases with no importer and no
  in-module use; the helpers that tests still import stay.
- nanobot/sdk/types.py: snapshot_from_payload had no caller since session
  restore moved to snapshot_from_session.
- nanobot/session/jsonl_migration.py: INTRODUCED_VERSION and
  LAST_SUPPORTED_RELEASE_LINE duplicated the module docstring.
- nanobot/providers/transcription.py: StepFunTranscriptionProvider._DEFAULT_URL
  was superseded by _resolve_stepfun_asr_url.
- nanobot/channels/whatsapp_agent/protocol.py: CODE_MISSING_AUTH is neither
  exported nor compared; validation still checks the wire value 190.
- webui/src/lib/canonical-run-snapshot.ts: canonicalRunSnapshot had no caller.
- webui/src/components/icons/product-icons.tsx: SendIcon and RunningTaskIcon
  are not rendered anywhere.
- webui/src/components/thread/AgentActivityCluster.tsx: drop an unused
  isAgentActivityMember re-export and its import.
- webui: drop the unused micromark-util-decode-string dependency.

Framework-dispatched code (Typer commands, pydantic validators, pytest hooks
and fixtures, channel runtime classes, ast visitor hooks) was excluded from
the scans, so the change removes only code nothing references.
2026-11-12 22:54:51 +08:00
chengyongru eb8546c321 perf(subagent): read saved task history by loaded turns (#6634) 2026-11-12 21:37:08 +08:00
chengyongru 1196698ecb refactor(telegram): derive command regexes from the alias map 2026-11-12 21:11:54 +08:00
chengyongru f94f245dca refactor(agent): clarify run-local input and checkpoint ownership 2026-11-12 20:31:24 +08:00
chengyongru e6b23c7356 feat(webui): show the full token-usage picture in settings (#6638) 2026-11-12 18:13:06 +08:00
chengyongru b49218b6a3 fix(webui): avoid phantom reasoning on empty streams 2026-11-12 17:34:07 +08:00
chengyongru c3403e6a6f fix(webui): reorder appearance settings and trim preview 2026-11-12 17:23:14 +08:00
chengyongru 0ce10533d3 fix(webui): preserve session caches during history revalidation (#6636) 2026-11-12 16:08:48 +08:00
chengyongru 1046a37be1 fix(webui): correlate chat requests and cancel stale reconnects (#6617)
* fix(webui): correlate chat requests and cancel stale reconnects

* refactor(webui): remove chat request capability negotiation

* docs(webui): clarify version pairing and cover HTTP startup

* test(webui): focus lifecycle coverage and clarify support policy
2026-11-12 14:44:38 +08:00
chengyongru 9f7ae6fb7b fix(subagent): discourage duplicate delegated work 2026-11-12 11:47:53 +08:00
Xubin Renandchengyongru 8607b6445c refactor(exec): centralize process-tree lifecycle (#6623)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-12 11:44:48 +08:00
chengyongru c37af82e3f fix(webui): keep completed subagent results with loaded prompts (#6630) 2026-11-12 10:34:57 +08:00
Xubin Renandchengyongru e6b0aec2a8 refactor(sessions)!: retire the global shared session (#6621)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-12 09:55:55 +08:00
chengyongru 28d73b6942 perf(webui): streamline model preset saves (#6631)
* perf(webui): streamline model preset saves

* fix(webui): type optional settings usage payload
2026-11-11 22:02:42 +08:00
chengyongru 3c61bcfdf0 fix(webui): preserve oversized turn history with record pagination (#6586) 2026-11-11 17:32:47 +08:00
Xubin Renandchengyongru 5c1083df7f refactor(config)!: retire the old OpenAI API selector (#6615)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-11 17:07:18 +08:00
chengyongru e3a1af2ed3 fix(webui): add a close control to the expanded context panel (#6629) 2026-11-11 17:06:45 +08:00
chengyongru 27f1a836b5 fix(webui): settle interrupted turns before replaying follow-ups 2026-11-11 15:07:23 +08:00
chengyongru 05b66de6e6 fix(agent): preserve whitespace across streamed continuations 2026-11-11 14:04:45 +08:00
chengyongru 394a78e82d fix(sessions): preserve cross-session input ownership and history (#6613)
* fix(webui): reconcile cross-session history by message ID

* fix(sessions): preserve target authority and input ownership

Resolve cross-session follow-ups through the target route, carry stable input IDs through admission and recovery, and associate live and replayed answers with the inputs actually consumed.

Keep ordinary input scope isolation and omit historical anomaly repair. Resolves NAN-430.

* fix(sessions): complete input identity integration across boundaries

Carry input identity explicitly in projected input events, keep runner annotations out of public history, and reuse the canonical WebUI session parser during recovery.

Type validated recovery metadata and align existing channel and subagent regressions with explicit response ownership. All nine failed compatibility cases and adjacent recovery coverage pass in a focused 58-test run.

* fix(sessions): unify input recording and block remote commands

* fix(webui): keep input ownership checks page-bounded

Look up referenced inputs through the existing identity index before invoking transcript backfill. Complete pages no longer scan the full prompt history, including answers whose inputs live on earlier pages.

Cover cold-cache pagination and cross-turn ownership in existing regressions. Focused pagination, replay and follow-up recovery checks: 88 passed.

* fix(webui): preserve response ownership during history replay

* fix: resolve strict typing in response replay

* fix: preserve continuation ownership during recovery

* test: diagnose stuck gateway asyncio shutdown

* test: retain gateway thread stack diagnostics

* test(webui): stabilize native autoscroll browser setup
2026-11-11 10:46:44 +08:00
chengyongru 0ce335bf12 fix(gateway): avoid restarting stopped systemd services 2026-11-10 23:47:23 +08:00
chengyongru 62c05e7f7e test(ci): isolate flaky scenarios and retain failure diagnostics (#6622)
* test(ci): isolate HTTP stubs and retain failure diagnostics

* test(agent): scope compaction watchdogs to each phase

* test(webui): isolate settings skeleton scenarios

* test(webui): await rendered rail content before scroll checks
2026-11-10 13:53:51 +08:00
Xubin Ren 220d5e6970 refactor(api)!: remove the standalone API server (#6614) 2026-11-10 10:46:14 +08:00
chengyongruandovo-agentx 5c72ced2fe fix(webui): respect middle-click autoscroll (#6612)
* fix(webui): respect middle-click autoscroll

Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>

* fix(webui): arbitrate scrolling from actual viewport movement

Remove the middle-button gesture model. Attribute actual viewport movement at
the camera write boundary so native scrolling yields ownership without
predicting browser gesture state or nested scroll targets. Exclude layout
clamping, preserve application navigation, and reconcile pending scrolls before
geometry, animation, or history-anchor writes can overwrite them.

Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>

---------

Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>
2026-11-09 18:34:48 +08:00
chengyongruandPatrick Veverka 86c98c8cf2 fix(render): invoke entrypoint in deployment command
Co-authored-by: Patrick Veverka <296341601+patrickatrender@users.noreply.github.com>
2026-11-09 15:19:28 +08:00
chengyongru bbbc5329bb fix(webui): preserve pasted paths when attachment detection fails (#6610) 2026-11-09 14:07:15 +08:00
chengyongruandzhang-li-cs 82cc42aee7 fix(feishu): receive files attached to rich-text messages (#6604)
Co-authored-by: zhang-li-cs <zhang_li_cs@yeah.net>
2026-11-09 14:06:30 +08:00
chengyongruandchengyongru 9257383bec refactor: remove unreachable internal code paths
Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
2026-11-09 13:38:39 +08:00
chengyongru 4212ad726d fix(webui): retain system context graph after compaction (#6608) 2026-11-09 13:20:46 +08:00
chengyongru d789e1bfc7 fix: preserve delivery failures across channel boundaries 2026-11-09 11:41:57 +08:00
chengyongru f62dfe0ee8 fix(webui): show latest button for hidden content (#6605)
* fix(webui): show latest button for hidden content

* fix(webui): preserve latest navigation after focus scroll
2026-11-09 10:56:26 +08:00
chengyongruandpxbfeiniao c5f2ce5089 fix(agent): keep session worker alive when resetting idle chat
Avoid cancelling the caller when /new runs on the session worker, while preserving its task and queue ownership. Continue cancelling other session work normally.

Co-authored-by: pxbfeiniao <32089198+pxbfeiniao@users.noreply.github.com>
2026-11-09 00:24:41 +08:00
Xubin Ren 1e2dc02fa2 test(webui): capture native theme crossfades at readiness 2026-11-08 16:32:20 +08:00
Xubin Ren 44d567e37c fix(webui): name the gateway sandbox launcher in setup guidance 2026-11-08 14:29:46 +08:00
Xubin Ren f5e5bd6ea0 feat(webui): guide sandbox launcher recovery from chat 2026-11-08 14:29:46 +08:00
Xubin Ren 16250540d3 fix(sandbox): resolve saved environment paths during validation 2026-11-08 14:29:46 +08:00
Xubin Ren fb159257cb fix(settings): validate host canary integrity across sandbox backends 2026-11-08 14:29:46 +08:00
Xubin Ren a666948509 fix(settings): align sandbox loading layouts for old and new hosts 2026-11-08 14:29:46 +08:00
Xubin Ren 5130f42901 test(settings): assert platform-specific override rejections 2026-11-08 14:29:46 +08:00
Xubin Ren 0984940a21 test(exec): distinguish installed launchers from namespace support 2026-11-08 14:29:46 +08:00
Xubin Ren 89c1bb1eac docs(settings): state disposable sandbox probe scope 2026-11-08 14:29:46 +08:00
Xubin Ren ff08961efe fix(settings): explain inherited file restrictions when disabling sandbox 2026-11-08 14:29:46 +08:00
Xubin Ren 5b84b78cac feat(settings): check sandbox launchers and configure protected paths 2026-11-08 14:29:46 +08:00
Xubin Ren f158779c60 test(exec): restrict launcher simulation to Unix 2026-11-08 14:29:46 +08:00
Xubin Ren 7b38d3c814 test(exec): capture nonstandard sandbox launcher behavior 2026-11-08 14:29:46 +08:00
Xubin Ren 5888791dc3 style(webui): remove decorative ambient glow 2026-11-07 23:19:32 +08:00
Xubin Ren 3d4d630c0a fix(webui): refine night cat with a fitted cap 2026-11-07 23:19:32 +08:00
Xubin Ren 9673c1ea8f fix(webui): restore permission focus before immediate Escape teardown 2026-11-07 23:19:32 +08:00
Xubin Ren 9c583d7924 test(webui): model context sidebar exit in shell integration 2026-11-07 23:19:32 +08:00
Xubin Ren e8544a79a6 feat(webui): refine day-night themes and interaction continuity 2026-11-07 23:19:32 +08:00