Commit Graph
2824 Commits
Author SHA1 Message Date
chengyongru 82e50e2c91 fix(memory): avoid duplicate summary injection 2026-08-19 18:40:20 +08:00
chengyongru 93f71b61a0 fix(memory): reject tool-call-only consolidation 2026-08-19 18:40:20 +08:00
chengyongru 12a4a8c04c fix(memory): preserve idle consolidation boundaries 2026-08-19 18:40:20 +08:00
chengyongru 7335f71c5a perf(memory): reuse session context for idle compaction 2026-08-19 18:40:20 +08:00
chengyongru 2e9c9781e6 fix(webui): detach without waiting for gateway shutdown 2026-08-19 16:34:07 +08:00
Lanre Shittu 242f417370 fix(mattermost): ignore system posts
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com>
2026-08-19 10:31:14 +08:00
chengyongru 9e046815bc fix(webui): assign readable session handles 2026-08-19 01:15:56 +08:00
chengyongru 251a1ccd40 refactor: simplify cross-session messaging 2026-08-19 01:15:56 +08:00
chengyongru 0e184965e8 feat(webui): add lightweight session messaging via mentions 2026-08-19 01:15:56 +08:00
chengyongru df14259717 perf(tui): reduce cold-start latency 2026-08-18 16:28:46 +08:00
chengyongru 369a3443eb fix(gateway): allow Windows launcher PID handoff 2026-08-18 11:51:14 +08:00
Xubin Ren 99d5fa2908 fix(gateway): preserve runtime identity compatibility 2026-08-18 03:21:00 +08:00
Xubin Ren 19ad1adfe7 fix(gateway): stabilize process identities 2026-08-18 03:21:00 +08:00
chengyongru 2b4a04fb71 fix(telegram): serialize application teardown 2026-08-18 00:41:57 +08:00
Xubin Ren 8a928592c5 fix(telegram): wait for application readiness 2026-08-18 00:41:57 +08:00
QQQ300kuai 302015fde5 fix(telegram): keep lifecycle state consistent during polling recovery
- Fail outbound sends while the app is rebuilding instead of returning quietly, so ChannelManager retries and logs the failure instead of counting the message as delivered
- Close the bot's HTTPX pools during teardown: Application.shutdown() skips them when initialize() never finished, leaking one pool per startup retry
- Propagate terminal startup errors (rejected token, bad proxy, bound webhook port) and clear the running flag instead of retrying forever while the channel still reports itself healthy
- Restrict startup retries to NetworkError/TimedOut, the exceptions HTTPXRequest wraps every httpx failure into
- Scrub the rejected-token failure so PTB's token-bearing message never reaches the log
2026-08-18 00:41:57 +08:00
QQQ300kuai cc05fe6ed0 fix(telegram): recover from silently stalled polling
- Wrap the getUpdates request pool to record completed round trips, since a healthy long poll completes one every ~10s even with no traffic
- Replace the idle keep-alive loop with a supervisor that tears down and rebuilds the application (including its HTTPX pools) when no round trip completes for 120s
- Retry failed startups with exponential backoff so the bot self-heals once the network path recovers
- Give up immediately on InvalidToken since a rejected token is a config error that retries cannot fix
- Tear down the freshly built app when stop() lands mid-startup so the supervisor never leaks a running application
- Bridge python-telegram-bot and httpx stdlib logging into loguru so polling failures are visible in nanobot logs
2026-08-18 00:41:57 +08:00
Xubin Ren b17f227eb9 fix(release): package TUI compliance materials 2026-08-17 20:56:10 +08:00
Xubin Ren a3536e68c1 fix(runtime): preserve Windows process handles 2026-08-17 20:56:10 +08:00
Xubin Ren dc3e3c1a2a fix(gateway): prevent lifecycle races 2026-08-17 20:56:10 +08:00
Xubin Ren c671acd6a8 fix(gateway): preserve shared runtime identity 2026-08-17 20:56:10 +08:00
Xubin Ren d6847b0107 fix(runtime): recover orphaned gateway clients 2026-08-17 20:56:10 +08:00
Xubin Ren eafc0bc6eb fix(gateway): serialize shared runtime lifecycle 2026-08-17 20:56:10 +08:00
Xubin Ren 7384fbfffc fix(packaging): keep source clients in lockstep 2026-08-17 20:56:10 +08:00
Xubin Ren 089df021d1 fix(runtime): keep process probes host-safe 2026-08-17 20:56:10 +08:00
Xubin Ren 2545cae110 fix(runtime): scope Windows process termination 2026-08-17 20:56:10 +08:00
Xubin Ren 05acd79466 fix(gateway): probe Windows clients safely 2026-08-17 20:56:10 +08:00
Xubin Ren e84aa07bcc test(cli): isolate WebUI interrupt polling 2026-08-17 20:56:10 +08:00
Xubin Ren 79d51be71f feat(tui): integrate with Herdr host 2026-08-17 20:56:10 +08:00
Xubin Ren 783d381710 feat(tui): replace footer hints with model telemetry 2026-08-17 20:56:10 +08:00
Xubin Ren c320d08dfe feat(tui): run bang commands through the gateway 2026-08-17 20:56:10 +08:00
Xubin Ren cd6a11b3c5 fix(gateway): harden shared client lifecycle 2026-08-17 20:56:10 +08:00
Xubin Ren 19be5be1c0 refactor(gateway): scope foreground registration 2026-08-17 20:56:10 +08:00
Xubin Ren 014eab5f6a fix(gateway): register foreground instances 2026-08-17 20:56:10 +08:00
Xubin Ren a700697583 fix(cli): canonicalize default gateway identity 2026-08-17 20:56:10 +08:00
Xubin Ren b8333a2d7e fix(cli): make gateway persistence explicit 2026-08-17 20:56:10 +08:00
Xubin Ren 74c11e5d28 fix(cli): share on-demand gateway lifecycle 2026-08-17 20:56:10 +08:00
Xubin Ren 03d982023a feat(tui): add clickable runtime controls 2026-08-17 20:56:10 +08:00
Xubin Ren ed796332fe refactor(tui): retire the direct session default 2026-08-17 20:56:10 +08:00
Xubin Ren 9e47d8106c fix(tui): synchronize shared session clients 2026-08-17 20:56:10 +08:00
Xubin Ren 2f78f7fbc5 feat(tui): make follow-up queue explicit 2026-08-17 20:56:10 +08:00
Xubin Ren 4391bbf4da feat(tui): add agent interaction workflows 2026-08-17 20:56:10 +08:00
Xubin Ren e77eed76c9 fix(tui): track canonical model presets 2026-08-17 20:56:10 +08:00
Xubin Ren 9514b9b909 fix(tui): require the native interactive client 2026-08-17 20:56:10 +08:00
Xubin Ren 6301c0ab57 feat(tui): unify session history and context 2026-08-17 20:56:10 +08:00
Xubin Ren 14c5607e5e fix(tui): enforce supported platform boundaries 2026-08-17 20:56:10 +08:00
Xubin Ren 35f2d086b0 fix(tui): harden themes and platform coverage 2026-08-17 20:56:10 +08:00
Xubin RenandBingxi Zhao 347583d3f7 fix(tui): preserve gateway and cache boundaries
Only reuse the exact managed config/workspace instance so CLI overrides cannot silently attach to another gateway. Revalidate cached release sidecars before execution and recover from corrupted cache entries.

Co-authored-by: Bingxi Zhao <150592536+pancacake@users.noreply.github.com>
2026-08-17 20:56:10 +08:00
ce070c832d feat(cli): add native TypeScript terminal UI
Rebuild the terminal client on OpenTUI while keeping the Python gateway as the single agent, session, tool, and memory runtime. Preserve a classic prompt fallback and publish version-matched native sidecars for supported platforms.

Co-authored-by: Bingxi Zhao <150592536+pancacake@users.noreply.github.com>
Co-authored-by: chengyongru <2755839590@qq.com>
2026-08-17 20:56:10 +08:00
chengyongru c27b1f14c3 fix(webui): preserve mutation order after reconnect 2026-08-16 21:40:14 +08:00