Commit Graph
107 Commits
Author SHA1 Message Date
chengyongru 6bf604d43c fix(tui): make Markdown links clickable (#5829)
* fix(tui): make Markdown links clickable

* docs(tui): sync OpenTUI relinking version
2026-09-22 13:20:13 +08:00
chengyongru 2fb1659398 fix(tui): keep input responsive during agent output (#5791) 2026-09-16 16:41:31 +08:00
Xubin Ren d8efb852da build: bundle native TUI in platform wheels 2026-09-16 02:38:34 +08:00
Xubin Ren d24ae06117 fix(release): verify TUI materials before tagging 2026-09-16 01:30:47 +08:00
chengyongru 7d845046e0 perf(tui): coalesce and cancel usage refreshes 2026-09-09 13:04:45 +08:00
chengyongru b7fc4146e0 feat(tui): add /usage context and token charts 2026-09-09 13:04:45 +08:00
Xubin Ren 9a594f74ff fix(cli): isolate Desktop compatibility probes [skip ci]
An older terminal can ignore the protocol probe flag and consume inherited gateway credentials or terminal input. Scrub its TUI environment and close stdin before probing, then pass only the selected Desktop resolver metadata to the compatible client.

Validate the complete ready frame before opening mutation gates, not just its identity metadata. Add failing-before regressions and scope the existing recovery test process stub so real lease cleanup remains testable without changing runtime ownership.
2026-09-08 10:04:15 +08:00
Xubin Ren 48e7c4f697 feat(cli): attach terminal clients to the selected Desktop [skip ci]
NAN-104 requires terminal chat and browser attachment without granting a client ownership of Desktop's gateway. Resolve bounded short-lived credentials over authenticated current-user IPC, pin both Desktop and gateway identities, and reject replacement instances or incompatible clients before any mutation.

Reuse the existing TUI artifact resolver behind a narrow Desktop-only entrypoint, keep credentials out of argv/environment/files, and preserve Python-mode reconnect and gateway leases. Add protocol, real-gateway, and anonymous IPC regression coverage; matching native-host and Windows acceptance remain release gates.
2026-09-08 10:04:15 +08:00
chengyongru b581a496a6 fix(ui): surface model retry status (NAN-34) (#5504) 2026-09-07 15:12:39 +08:00
chengyongru 5eb9039f0e fix(tui): show context window usage in footer (#5679)
* fix(tui): show context window usage in footer

* refactor(tui): simplify context footer usage
2026-09-06 19:48:16 +08:00
chengyongru 192e2e90dc refactor(events): unify scoped runtime notifications across clients (#5670)
* refactor(events): unify scoped runtime notifications across clients

* style(tests): sort auto-compaction event imports

* refactor(events): scope connections and remove retry callback plumbing

* docs: remove runtime notification design write-up

* refactor(bus): route operation events through the message bus

* fix(channels): isolate outbound sends by destination

* style(events): group shared notification imports

* refactor(events): converge runtime and hook delivery on MessageBus

* test(events): migrate fixtures to unified message bus
2026-09-06 02:11:19 +08:00
chengyongru 63cc5f270d refactor: remove unused internal helpers and state (#5667)
* refactor: remove unused internal helpers and state

* test(tui): await deferred submissions before reconnect attach
2026-09-05 22:09:12 +08:00
chengyongru 5229989f28 feat: make context compaction visible in channels (#5656)
* feat: surface context compaction lifecycle

* fix: complete and simplify context compaction notifications
2026-09-05 20:21:54 +08:00
Xubin Ren 455533169d fix(tui): distinguish fenced code blocks
Give retained Markdown code blocks a quiet theme-aware rail and fixed content gap while preserving OpenTUI's in-place streaming renderer. Keep the rail decorative so copied code remains unchanged.
2026-09-05 00:32:27 +08:00
Xubin Ren ba9f40090f fix(tui): inherit markdown foreground colors
Pass the active transcript foreground into retained Markdown renderables so unhighlighted fenced code remains visible on light terminal backgrounds. Update existing renderables during theme changes and cover the history hydration path that exposed the regression.
2026-09-05 00:32:27 +08:00
Xubin Ren cb13a15780 fix(tui): preserve streamed code on completion 2026-09-05 00:32:27 +08:00
chengyongru eebe3ca292 fix(tui): preserve input typed after submit 2026-09-01 16:21:18 +08:00
chengyongru 6d6d58d329 style(tui): simplify runtime header controls 2026-08-31 17:03:24 +08:00
chengyongru e69159cdae style(tui): replace header dots with spacing 2026-08-31 17:03:24 +08:00
Kail Tian 1c1b13a3a9 fix(tui): preserve cursor position on Windows exit 2026-08-30 12:17:40 +08:00
Xubin Ren 7fc90ca6aa feat(cli): make nanobot launch the terminal agent 2026-08-29 11:26:50 +08:00
chengyongru 559b2d2e5d test(tui): avoid clipboard status race 2026-08-28 17:14:39 +08:00
chengyongru a339966543 fix(tui): preserve full UI in Herdr panes 2026-08-28 16:36:07 +08:00
chengyongru 4d204ba077 feat(tui): support pasting clipboard images (#5563)
* feat(tui): support pasting clipboard images

* fix(tui): keep image placeholders atomic

* fix(tui): reconcile duplicate image placeholders

* fix(tui): retain highlighted image placeholders

* fix(tui): preserve image placeholder layout

* fix(tui): keep image display state local

* fix(tui): reject images in commands
2026-08-27 20:37:43 +08:00
chengyongru 3a62b0b744 fix(tui): surface chat connection failures (#5543)
* fix(tui): surface chat connection failures

* fix(tui): keep connection copy implementation-agnostic

* test(tui): avoid millisecond timing boundary

* fix(tui): use gateway health for connection status

* fix(tui): use product-level readiness copy
2026-08-27 11:37:30 +08:00
chengyongru 3ee3791626 refactor(tui): clarify active composer actions (#5538)
* fix(tui): queue busy submissions on Enter

* fix(tui): remove Tab queue shortcut

* refactor(tui): clarify active composer actions

* refactor(tui): simplify active composer hint
2026-08-26 00:46:31 +08:00
chengyongru c83ed041ea fix(tui): prevent unmatched skill completion from queuing 2026-08-25 23:11:24 +08:00
chengyongru b218d3e7f8 feat(tui): autocomplete skill references 2026-08-25 23:11:24 +08:00
Kail Tian e427c9eeae style(tui): keep short transcripts and composer top-aligned 2026-08-25 16:21:44 +08:00
chengyongru 8bb3828487 fix(tui): preserve usage telemetry fields 2026-08-25 01:04:25 +08:00
chengyongru 7f288a49fc fix(tui): preserve shell after Ctrl+C (#5502) 2026-08-24 14:32:48 +08:00
Xubin Ren baa0233377 fix(tui): preserve draft scope until first message 2026-08-24 10:40:16 +08:00
Xubin Ren 8344066696 style(tui): frame recovery decisions 2026-08-24 00:58:04 +08:00
Xubin Ren 5accc903a0 refactor(tui): simplify session rows 2026-08-24 00:58:04 +08:00
Xubin Ren 1f0771c555 feat(tui): refine session status navigation 2026-08-24 00:58:04 +08:00
Xubin Ren 2850114eab feat(tui): surface session activity states 2026-08-24 00:58:04 +08:00
Xubin Ren 7e66375f59 fix(tui): clarify interrupted task actions 2026-08-24 00:58:04 +08:00
Xubin Ren 58a1cc48d8 fix(tui): allow switching active sessions 2026-08-24 00:58:04 +08:00
Xubin Ren 12029f8812 feat(runtime): add user-controlled turn recovery 2026-08-24 00:58:04 +08:00
chengyongru 961b1fdd7d refactor: remove remaining dead code 2026-08-23 19:08:00 +08:00
chengyongru dd993b4f70 fix(tui): bound Markdown math preprocessing 2026-08-22 01:46:12 +08:00
chengyongru cbe4316e4b perf(tui): avoid repeated LaTeX scans 2026-08-22 01:46:12 +08:00
chengyongru 375185210b feat(tui): render LaTeX as Unicode 2026-08-22 01:46:12 +08:00
chengyongru 9bc9b94732 chore(tui): remove redundant picker comment 2026-08-21 18:23:04 +08:00
chengyongru 4561c748f6 fix(tui): preserve keyboard picker selection 2026-08-21 18:23:04 +08:00
chengyongru 252ea18e88 fix(tui): clarify input cache telemetry 2026-08-21 17:47:52 +08:00
chengyongru e9ac83d03f fix(tui): reduce redundant runtime chrome 2026-08-21 17:11:01 +08:00
chengyongru 26764f2423 feat(tui): add /detach command (#5461)
* feat(tui): add detach command

* fix(tui): print exact detached gateway stop command
2026-08-21 15:50:07 +08:00
chengyongru 415df576b4 feat(tui): print resume command on exit 2026-08-20 17:20:36 +08:00
chengyongru 2b491340d8 fix(tui): keep context view concise 2026-08-20 15:25:54 +08:00