Commit Graph
5300 Commits
Author SHA1 Message Date
chengyongru d35b755fc2 fix(webui): keep activity header stable when toggling (#6664)
* fix(webui): keep activity header stable when toggling

* fix(webui): keep activity spacing compact
2026-11-14 17:04:52 +08:00
chengyongruandNabil Abu-Hadba 13279f4f2b fix: remove retired OpenAI image models from options (#6663)
Co-authored-by: Nabil Abu-Hadba <nabilabuhadba@gmail.com>
2026-11-14 16:15:09 +08:00
Xubin Renandchengyongru 96c48c96bf Add trusted PyPI publishing for approved releases (#6642)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-14 14:54:23 +08:00
Xubin Ren 4e36dcc7c6 fix(webui): honor live reduced-motion changes in activity preview 2026-11-14 14:37:30 +08:00
Xubin Ren 83ad917d6b feat(webui): show the latest activity in collapsed turns 2026-11-14 14:37:30 +08:00
chengyongru 5e9810c1ad fix(webui): scope remote health checks to visible demand (#6657)
* fix(webui): scope remote health checks to visible demand

* fix(webui): simplify demand-driven health polling
2026-11-14 00:32:10 +08:00
chengyongru ce3f36983d feat(webui): stabilize session transitions and goal presentation
Keep the composer stable during interruptible session changes. Move active and blocked goals into the header with localized gallery previews, and preserve focus when overlays close. Include the reviewed navigation, layout and accessibility fixes.
2026-11-13 23:37:07 +08:00
chengyongru e65bec9a6e feat(cli): allow isolated WebUI dev ports 2026-11-13 23:37:07 +08:00
chengyongru e2c4727dc8 fix(webui): disambiguate easing utilities 2026-11-13 22:42:51 +08:00
chengyongru de9cce45b4 fix(webui): clarify command session activity 2026-11-13 22:30:27 +08:00
chengyongru c80ae65746 fix(webui): soften welcome mark hover outline 2026-11-13 22:06:53 +08:00
chengyongru b944748f52 fix(webui): align quoted message corner radius 2026-11-13 21:52:10 +08:00
chengyongru 3f65a8f86c fix(models): route image input by preset capability (#6651)
* fix(providers): preserve images across retries and recovery

Remove destructive text-only retries and validate tool image media at the boundary. Keep image identity across native transport preparation and compaction, and stop incomplete fallback or continuation without replaying tools.

Resolves NAN-442

* fix(models): route image input by preset capability

Replace the expanded image recovery and tool-format changes with an explicit supportsImages preset setting, capability-aware fallback selection, and an Image input switch in model settings. Keep original messages on retry and fail on actual non-transient image errors.

* docs(models): introduce image input settings positively

* test(agent): align image request fixtures with preset routing

Cover successful image requests and direct validation errors when attributing model responses. Configure the image-capability check for the existing text-only provider mocks so governance and override-reuse tests exercise their scripted primary/fallback paths.
2026-11-13 18:16:58 +08:00
chengyongru 6a24b17629 feat(webui): refresh the empty chat welcome (#6650)
* feat(webui): refresh the empty chat welcome

* fix(webui): keep empty chat accessible in split panes

* chore(webui): remove unused fixture test id
2026-11-13 17:12:18 +08:00
Xubin Ren 90d69e7a11 refactor(exec): share the sandbox launch path with settings checks (#6645)
* refactor(exec): share the sandbox launch path with settings checks

* refactor(sandbox): remove duplicate platform and path bookkeeping
2026-11-13 15:29:01 +08:00
Xubin Ren 0f5e56edd4 refactor(execution): share bounded HTTP redirects (#6637) 2026-11-13 14:55:07 +08:00
chengyongru c7a1eb910d fix(webui): prevent single-dollar math from crossing code spans (#6646) 2026-11-13 14:04:05 +08:00
chengyongruandxiong-wei1 8cce73465b fix(tools): validate arguments with jsonschema without coercion (#6648)
Co-authored-by: xiong-wei1 <2318942410@qq.com>
2026-11-13 13:32:12 +08:00
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