Val Alexander
c5ea6134d0
feat(ui): add chat infrastructure modules (slice 1/3 of dashboard-v2) (#41497)
* feat(ui): add chat infrastructure modules (slice 1 of dashboard-v2)
New self-contained chat modules extracted from dashboard-v2-structure:
- chat/slash-commands.ts: slash command definitions and completions
- chat/slash-command-executor.ts: execute slash commands via gateway RPC
- chat/slash-command-executor.node.test.ts: test coverage
- chat/speech.ts: speech-to-text (STT) support
- chat/input-history.ts: per-session input history navigation
- chat/pinned-messages.ts: pinned message management
- chat/deleted-messages.ts: deleted message tracking
- chat/export.ts: shared exportChatMarkdown helper
- chat-export.ts: re-export shim for backwards compat
Gateway fix:
- Restore usage/cost stripping in chat.history sanitization
- Add test coverage for sanitization behavior
These modules are additive and tree-shaken — no existing code
imports them yet. They will be wired in subsequent slices.
* Update ui/src/ui/chat/export.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* fix(ui): address review feedback on chat infra slice
- export.ts: handle array content blocks (Claude API format) instead
of silently exporting empty strings
- slash-command-executor.ts: restrict /kill all to current session's
subagent subtree instead of all sessions globally
- slash-command-executor.ts: only count truly aborted runs (check
aborted !== false) in /kill summary
* fix: scope /kill <id> to current session subtree and preserve usage.cost in chat.history
- Restrict /kill <id> matching to only subagents belonging to the current
session's agent subtree (P1 review feedback)
- Preserve nested usage.cost in chat.history sanitization so cost badges
remain available (P2 review feedback)
* fix(ui): tighten slash kill scoping
* fix(ui): support legacy slash kill scopes
* fix(ci): repair pr branch checks
* Gateway: harden chat abort and export
* UI: align slash commands with session tree scope
* UI: resolve session aliases for slash command lookups
* Update .gitignore
* Cron: use shared nested lane resolver
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-03-12 03:48:58 -04:00
..
2026-03-12 11:05:09 +08:00
2026-03-12 03:28:22 -04:00
2026-03-12 03:15:17 -04:00
2026-03-12 01:04:31 -04:00
2026-03-12 11:32:04 +11:00
2026-03-12 01:43:27 +00:00
2026-03-12 02:55:31 +00:00
2026-03-12 03:48:58 -04:00
2026-03-09 08:15:35 -07:00
2026-03-12 03:01:19 -04:00
2026-03-12 01:38:39 +00:00
2026-03-12 03:13:46 +01:00
2026-03-12 03:48:58 -04:00
2026-03-08 19:07:28 +03:00
2026-03-12 02:27:35 -04:00
2026-03-12 03:33:50 -04:00
2026-03-10 23:40:10 +00:00
2026-03-10 01:40:15 +03:00
2026-03-07 16:50:35 +00:00
2026-03-11 22:28:34 +00:00
2026-03-08 05:12:48 +00:00
2026-03-11 22:51:34 +00:00
2026-03-12 01:34:35 +01:00
2026-03-08 02:16:03 +00:00
2026-03-11 23:15:48 +05:30
2026-03-12 02:46:29 +00:00
2026-03-10 22:18:04 +00:00
2026-03-09 06:09:33 +00:00
2026-03-08 02:16:03 +00:00
2026-03-06 11:21:03 -05:00
2026-03-11 01:31:06 -04:00
2026-03-10 13:54:23 +08:00
2026-03-09 04:19:03 +01:00
2026-03-08 00:05:24 +00:00
2026-03-07 23:35:55 +00:00
2026-03-11 00:07:47 +00:00
2026-03-12 13:14:17 +05:30
2026-03-11 19:53:07 -04:00
2026-03-11 01:43:06 +00:00
2026-03-11 20:11:51 +00:00
2026-03-12 02:59:42 -04:00
2026-03-05 20:05:59 -06:00
2026-03-07 23:31:25 +00:00
2026-03-12 11:32:04 +11:00
2026-03-12 01:38:39 +00:00
2026-03-08 17:57:46 -07:00
2026-03-08 02:55:15 +00:00
2026-03-08 16:07:04 -07:00
2026-03-08 16:07:04 -07:00
2026-03-09 19:14:08 -04:00
2026-03-08 19:10:48 +03:00
2026-03-11 23:29:53 +00:00