Teknium
90c84c6dba
fix(gateway): unblock update subprocess on recognized-command bypass
...
When the gateway intercepts a pending /update prompt and the user sends
a recognized slash command (/new, /help, ...), the command now dispatches
normally AND the detached update subprocess is unblocked by writing a
blank .update_response. _gateway_prompt reads '' → strips → returns the
prompt's default (typically a safe 'n' / skip), so the update process
exits cleanly instead of blocking on stdin until the 30-minute watcher
timeout.
Also clears _update_prompt_pending[session_key] on this path so stray
future input for the same session isn't re-intercepted.
Extends PR #15849 with tests for the new cancel-write + a regression
test pinning the legacy behavior of unrecognized /foo slash commands
still being consumed as the response.
2026-04-26 18:39:44 -07:00
..
2026-04-24 03:33:29 -07:00
2026-04-20 05:15:54 -07:00
2026-04-26 08:45:44 -07:00
2026-04-21 00:50:58 -07:00
2026-04-20 04:16:13 -07:00
2026-04-25 18:40:35 -07:00
2026-04-24 15:22:19 -07:00
2026-04-24 05:35:43 -07:00
2026-04-24 16:04:37 -07:00
2026-04-26 18:21:29 -07:00
2026-04-19 01:48:42 -07:00
2026-04-26 12:29:02 -07:00
2026-04-24 03:10:52 -07:00
2026-04-23 19:38:33 -05:00
2026-04-24 02:55:43 -07:00
2026-04-24 02:55:43 -07:00
2026-04-24 02:55:43 -07:00
2026-04-24 15:20:05 -07:00
2026-04-22 11:59:39 -07:00
2026-04-17 19:26:53 -07:00
2026-04-24 03:04:42 -07:00
2026-04-17 04:08:42 -07:00
2026-04-17 04:59:03 -07:00
2026-04-17 05:48:26 -07:00
2026-04-19 18:12:55 -07:00
2026-04-23 15:11:56 -07:00
2026-04-17 06:46:52 -07:00
2026-04-24 03:33:29 -07:00
2026-04-19 11:08:10 -07:00
2026-04-17 04:17:56 -07:00
2026-04-17 20:25:48 -07:00
2026-04-24 03:10:52 -07:00
2026-04-26 18:33:35 -07:00
2026-04-20 00:57:53 -07:00
2026-04-17 01:05:09 -07:00
2026-04-19 18:12:55 -07:00
2026-04-17 19:04:11 -07:00
2026-04-17 19:04:11 -07:00
2026-04-22 18:06:22 -07:00
2026-04-23 13:59:29 -07:00
2026-04-17 01:05:09 -07:00
2026-04-22 16:23:21 -07:00
2026-04-21 01:33:10 -07:00
2026-04-16 20:43:41 -07:00
2026-04-25 07:17:03 +05:30
2026-04-17 01:05:09 -07:00
2026-04-26 18:20:17 -07:00
2026-04-26 18:31:24 -07:00
2026-04-18 19:32:26 -07:00
2026-04-19 03:03:57 -07:00
2026-04-24 03:02:03 -07:00
2026-04-24 14:31:04 -07:00
2026-04-17 15:31:14 -07:00
2026-04-26 11:55:09 -07:00
2026-04-25 18:01:31 -07:00
2026-04-21 13:33:02 -07:00
2026-04-26 18:21:29 -07:00
2026-04-17 21:17:33 -07:00
2026-04-18 17:40:34 -07:00
2026-04-25 08:21:14 -07:00
2026-04-26 05:47:37 -07:00
2026-04-24 16:04:37 -07:00
2026-04-23 15:07:06 -07:00
2026-04-26 07:15:23 -07:00
2026-04-18 18:53:31 -07:00
2026-04-25 08:21:14 -07:00
2026-04-26 18:39:44 -07:00
2026-04-25 18:47:53 -07:00
2026-04-21 18:52:26 -05:00
2026-04-25 18:01:31 -07:00
2026-04-25 18:01:31 -07:00
2026-04-19 03:03:57 -07:00
2026-04-23 05:15:52 -07:00
2026-04-17 15:18:23 -07:00
2026-04-20 03:10:19 -07:00
2026-04-26 13:02:51 -07:00
2026-04-21 00:54:46 -07:00
2026-04-26 12:51:53 -07:00
2026-04-21 01:33:10 -07:00
2026-04-26 12:35:16 -07:00
2026-04-26 18:25:41 -07:00
2026-04-26 12:23:20 -07:00
2026-04-26 18:33:35 -07:00
2026-04-17 01:05:09 -07:00
2026-04-26 11:56:23 -07:00
2026-04-23 15:07:06 -07:00
2026-04-18 04:17:18 -07:00
2026-04-26 17:26:37 -07:00
2026-04-19 22:46:47 -07:00
2026-04-20 05:10:23 -07:00
2026-04-17 14:27:26 -07:00
2026-04-21 03:06:56 -07:00
2026-04-20 00:10:22 -07:00
2026-04-24 14:31:04 -07:00
2026-04-21 06:23:09 -07:00
2026-04-19 00:09:38 -07:00
2026-04-24 07:55:55 -07:00
2026-04-22 16:23:21 -07:00
2026-04-26 18:39:44 -07:00
2026-04-21 01:56:35 -07:00
2026-04-26 18:33:35 -07:00
2026-04-26 05:52:05 -07:00
2026-04-19 22:36:00 -07:00
2026-04-19 05:18:19 -07:00
2026-04-19 22:45:08 -07:00
2026-04-17 19:03:29 -07:00
2026-04-17 06:50:36 -07:00
2026-04-20 20:49:32 -07:00
2026-04-20 11:56:19 -07:00