ademczuk
0743463b88
fix(webchat): suppress NO_REPLY token in chat transcript rendering ( #32183 )
...
* fix(types): resolve pre-existing TS errors in agent-components and pairing-store
- agent-components.ts: normalizeDiscordAllowList returns {allowAll, ids, names},
not an array — use ids.values().next().value instead of [0] indexing
- pairing-store.ts: add non-null assertions for stat after cache-miss guard
(resolveAllowFromReadCacheOrMissing returns early when stat is null)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix(webchat): suppress NO_REPLY token in chat transcript rendering
Filter assistant NO_REPLY-only entries from chat.history responses at
the gateway API boundary and add client-side defense-in-depth guards in
the UI chat controller so internal silent tokens never render as visible
chat bubbles.
Two-layer fix:
1. Gateway: extractAssistantTextForSilentCheck + isSilentReplyText
filter in sanitizeChatHistoryMessages (entry.text takes precedence
over entry.content to avoid dropping messages with real text)
2. UI: isAssistantSilentReply + isSilentReplyStream guards on all 5
message insertion points in handleChatEvent and loadChatHistory
Fixes #32015
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix(webchat): align isAssistantSilentReply text/content precedence with gateway
* webchat: tighten NO_REPLY transcript and delta filtering
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com >
2026-03-02 16:39:08 -06:00
..
2026-03-02 19:57:33 +00:00
2026-03-02 19:57:33 +00:00
2026-03-02 16:39:08 -06:00
2026-02-15 19:08:47 +00:00
2026-02-24 03:52:49 +00:00
2026-02-24 03:33:37 +00:00
2026-02-27 12:16:36 +05:30
2026-02-01 10:03:47 +09:00
2026-03-02 14:36:41 +00:00
2026-02-22 08:40:49 +01:00
2026-02-22 08:57:01 +01:00
2026-02-22 18:55:44 +01:00
2026-02-22 18:55:44 +01:00
2026-02-23 20:40:44 +00:00
2026-03-02 00:27:44 +00:00
2026-03-02 11:28:27 -08:00
2026-03-02 11:28:27 -08:00
2026-02-19 15:51:22 +01:00
2026-03-01 10:58:21 -06:00
2026-03-02 04:03:04 +00:00
2026-02-24 18:50:53 -05:00
2026-02-24 01:07:25 -05:00
2026-02-21 23:32:32 +00:00
2026-02-16 14:59:31 +00:00
2026-02-21 19:26:04 +01:00
2026-02-21 19:26:04 +01:00
2026-03-01 20:49:45 -08:00
2026-03-01 20:49:45 -08:00
2026-02-22 11:34:50 +00:00
2026-03-02 21:55:01 +00:00
2026-03-02 21:55:01 +00:00
2026-03-02 21:55:01 +00:00
2026-02-19 14:30:15 +01:00
2026-02-22 08:45:48 +01:00
2026-02-16 03:50:39 +01:00
2026-02-27 23:58:51 -08:00
2026-02-27 23:58:51 -08:00
2026-03-02 16:18:12 +00:00
2026-03-02 16:18:12 +00:00
2026-03-02 16:18:12 +00:00
2026-02-22 08:35:32 +01:00
2026-03-02 16:06:48 +00:00
2026-03-02 16:18:12 +00:00
2026-02-22 20:04:51 +00:00
2026-03-02 11:28:27 -08:00
2026-03-02 11:28:27 -08:00
2026-02-26 15:08:50 +01:00
2026-03-02 00:26:36 +00:00
2026-03-02 00:26:36 +00:00
2026-02-19 10:00:41 +01:00
2026-02-26 03:54:37 +01:00
2026-03-02 07:13:10 +00:00
2026-03-02 00:42:22 +00:00
2026-02-23 11:47:27 +05:30
2026-03-02 00:15:34 +00:00
2026-02-27 01:21:45 +01:00
2026-03-02 21:58:35 +00:00
2026-02-22 17:11:54 +00:00
2026-02-22 10:18:05 +01:00
2026-03-02 14:36:41 +00:00
2026-02-26 12:41:23 +00:00
2026-02-26 12:41:23 +00:00
2026-02-22 20:04:51 +00:00
2026-02-21 13:36:23 +01:00
2026-02-23 19:47:29 +00:00
2026-02-15 13:24:37 +00:00
2026-02-21 13:36:23 +01:00
2026-02-18 01:34:35 +00:00
2026-02-09 00:21:54 -08:00
2026-02-23 00:19:05 +00:00
2026-02-23 00:03:56 +00:00
2026-02-19 15:29:23 +01:00
2026-02-27 12:16:36 +05:30
2026-03-01 20:49:45 -08:00
2026-03-02 12:55:47 +00:00
2026-03-02 00:26:36 +00:00
2026-02-24 03:05:58 +00:00
2026-02-26 22:01:16 +01:00
2026-03-02 21:31:36 +00:00
2026-03-02 01:12:53 +00:00
2026-03-02 19:57:33 +00:00
2026-03-02 01:12:53 +00:00
2026-02-01 10:03:47 +09:00
2026-01-20 07:37:01 +00:00
2026-02-24 01:16:53 +00:00
2026-02-22 11:29:31 +00:00
2026-02-24 01:16:53 +00:00
2026-02-23 13:57:34 +00:00
2026-02-23 13:57:34 +00:00
2026-02-23 13:57:34 +00:00
2026-03-02 16:37:45 +00:00
2026-03-02 16:37:45 +00:00
2026-02-22 18:55:44 +01:00
2026-02-20 05:12:05 +00:00
2026-02-20 05:12:05 +00:00
2026-02-21 19:47:22 +01:00
2026-02-21 19:47:22 +01:00
2026-03-02 15:55:32 +00:00
2026-03-02 15:55:32 +00:00
2026-02-18 01:34:35 +00:00
2026-02-24 04:06:03 +00:00
2026-02-18 22:11:56 +00:00
2026-02-18 01:34:35 +00:00
2026-03-02 20:27:49 +00:00
2026-03-02 20:27:49 +00:00
2026-02-22 17:11:36 +01:00
2026-02-16 16:42:28 +00:00
2026-02-28 14:53:19 -08:00
2026-03-02 09:27:41 -06:00
2026-01-30 03:16:21 +01:00
2026-02-22 08:28:50 +00:00
2026-01-31 16:19:20 +09:00
2026-03-02 14:36:41 +00:00
2026-03-02 16:48:00 +00:00
2026-03-02 18:16:14 +00:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-27 12:16:36 +05:30
2026-02-22 20:04:51 +00:00
2026-02-23 14:07:16 -05:00
2026-01-31 16:19:20 +09:00
2026-01-19 10:08:29 +00:00
2026-02-28 11:18:01 +05:30
2026-03-02 00:27:44 +00:00
2026-01-31 16:19:20 +09:00
2026-03-02 16:24:06 +00:00
2026-02-18 01:34:35 +00:00
2026-03-02 22:29:18 +00:00
2026-02-16 00:18:26 +00:00
2026-02-26 21:03:28 +01:00
2026-02-26 21:03:28 +01:00
2026-02-24 01:57:11 +00:00
2026-02-24 01:57:11 +00:00
2026-03-02 16:37:45 +00:00
2026-01-31 16:19:20 +09:00
2026-02-22 13:17:25 +01:00
2026-02-22 13:17:25 +01:00
2026-02-23 20:40:44 +00:00
2026-02-20 19:41:51 -08:00
2026-02-26 11:00:09 +01:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-03-02 19:57:33 +00:00
2026-02-24 00:59:52 +00:00
2026-02-24 01:16:53 +00:00
2026-02-23 05:43:43 +00:00
2026-03-02 16:47:00 +00:00
2026-03-02 21:58:35 +00:00
2026-03-02 18:07:03 +00:00
2026-03-02 21:31:36 +00:00
2026-03-02 18:07:03 +00:00
2026-03-02 21:31:36 +00:00
2026-03-02 18:07:03 +00:00
2026-03-02 22:29:04 +00:00
2026-02-22 20:04:51 +00:00
2026-02-22 20:04:51 +00:00
2026-02-24 00:31:58 +00:00
2026-03-02 16:39:08 -06:00
2026-02-22 11:48:46 +00:00
2026-03-02 18:00:11 +00:00
2026-03-02 17:41:51 +00:00
2026-02-16 14:59:31 +00:00
2026-02-22 11:48:46 +00:00
2026-02-24 00:59:52 +00:00
2026-03-02 19:57:33 +00:00
2026-03-02 21:23:20 +00:00
2026-02-24 00:31:58 +00:00
2026-03-02 21:31:36 +00:00
2026-03-02 01:12:53 +00:00
2026-03-02 18:16:14 +00:00
2026-02-26 14:47:22 +00:00
2026-03-02 00:26:36 +00:00
2026-02-24 01:16:53 +00:00
2026-03-02 22:29:04 +00:00
2026-02-22 11:31:42 +00:00
2026-02-24 15:02:52 +00:00
2026-02-22 23:55:59 -06:00
2026-02-18 17:01:22 +00:00
2026-02-22 07:44:57 +00:00
2026-03-02 05:20:19 +00:00
2026-03-02 19:57:33 +00:00
2026-02-26 13:32:58 +01:00
2026-03-02 19:57:33 +00:00
2026-03-02 07:13:10 +00:00
2026-02-24 03:33:30 +00:00
2026-02-13 20:42:24 +01:00
2026-02-22 17:11:54 +00:00
2026-02-19 02:48:08 -08:00
2026-03-02 00:42:22 +00:00
2026-03-02 01:12:53 +00:00
2026-03-02 01:12:53 +00:00
2026-02-19 09:22:16 +00:00
2026-02-26 14:11:04 +01:00
2026-03-02 16:24:06 +00:00
2026-02-22 07:44:57 +00:00
2026-03-02 22:29:04 +00:00
2026-02-16 14:59:31 +00:00
2026-02-16 14:59:31 +00:00
2026-02-16 14:59:31 +00:00
2026-02-16 14:59:31 +00:00
2026-03-02 07:13:10 +00:00
2026-03-02 04:38:50 -05:00
2026-02-24 04:12:25 +00:00
2026-02-16 14:59:31 +00:00