feat(webui): complete bang commands and literal output (NAN-291) (#6173)

* feat(webui): complete direct bang shell commands

Reuse the gateway user-shell side channel, retain failed drafts without reconnect replay, and preserve literal output across live delivery and history. Highlight the bang prefix before and after sending.

NAN-291

* fix(clients): preserve literal shell output through display metadata
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-26 23:35:26 +08:00
1 parent f23a6d1485
commit 7e5dcb79e0
43 files changed
+805 -100

No files matched your search

+1
View File
@@ -1053,6 +1053,7 @@ export function projectThreadEvent(
: undefined;
const projected = {
content: event.text,
...(event.render_as === "text" ? { renderAs: event.render_as } : {}),
...(media?.length ? { media } : {}),
...(latencyMs !== undefined ? { latencyMs } : {}),
...(event.source ? { source: event.source } : {}),