Andrew Chen
0411869503
fix(computer-use): block destructive key combos in hyphen notation
...
`_canon_key_combo` (the `_BLOCKED_KEY_COMBOS` gate in
`handle_computer_use`) split key strings on `+` only, but the cua-driver
backend's `_parse_key_combo` splits on both `+` and `-`. So a model could
issue `{"action":"key","keys":"ctrl-alt-delete"}` (or `alt-f4`,
`cmd-shift-q`): the gate saw a single unknown token and let it through
while the backend executed the real destructive shortcut.
Split the gate on both `+` and `-` so it canonicalizes combos the same
way the backend does. Non-destructive hyphen combos (`cmd-c`) and the
literal `-` zoom key (`cmd+-`) are unaffected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-29 11:09:08 -07:00
..
2026-07-26 20:58:52 -07:00
2026-07-24 15:55:08 -07:00
2026-07-28 13:09:17 +00:00
2026-07-28 11:52:44 -07:00
2026-07-24 23:09:02 -07:00
2026-07-27 14:32:05 -07:00
2026-07-23 19:45:54 -07:00
2026-07-27 14:32:05 -07:00
2026-07-27 14:32:05 -07:00
2026-07-28 14:17:45 -07:00
2026-07-28 14:07:21 -07:00
2026-07-29 10:14:11 -07:00
2026-07-26 18:28:20 -07:00
2026-07-26 17:46:55 -07:00
2026-07-26 17:46:55 -07:00
2026-07-28 11:57:37 -07:00
2026-07-21 12:04:47 -07:00
2026-07-29 10:06:27 -07:00
2026-07-23 08:11:58 -07:00
2026-07-29 11:09:08 -07:00
2026-07-24 13:37:04 +10:00
2026-07-28 11:52:47 -07:00
2026-07-23 11:55:17 -07:00
2026-07-23 07:33:36 -07:00
2026-07-26 17:13:52 -07:00
2026-07-27 11:53:48 -04:00
2026-07-26 18:02:04 -07:00
2026-07-22 12:13:01 -05:00
2026-07-26 08:26:09 -07:00
2026-07-26 20:58:39 -07:00
2026-07-24 11:45:57 -07:00
2026-07-24 09:49:00 -07:00
2026-07-28 22:41:32 -07:00
2026-07-24 18:54:45 +00:00
2026-07-23 07:33:36 -07:00
2026-07-22 12:13:01 -05:00
2026-07-26 20:58:43 -07:00
2026-07-23 07:33:36 -07:00
2026-07-24 17:10:39 -07:00
2026-07-28 00:14:19 +05:30
2026-07-26 16:27:52 -07:00
2026-07-28 22:40:33 -07:00
2026-07-24 23:09:02 -07:00
2026-07-28 11:53:36 -07:00
2026-07-21 12:43:27 -07:00
2026-07-28 14:31:24 -07:00
2026-07-21 12:42:33 -07:00
2026-07-28 00:53:16 -05:00
2026-07-21 12:43:00 -07:00
2026-07-21 12:42:33 -07:00
2026-07-21 12:42:33 -07:00
2026-07-21 12:43:27 -07:00
2026-07-24 15:47:12 -07:00
2026-07-21 19:54:40 -05:00
2026-07-28 15:02:52 -07:00
2026-07-21 12:42:33 -07:00
2026-07-24 15:58:01 -07:00
2026-07-22 12:13:01 -05:00
2026-07-24 15:59:02 -07:00
2026-07-24 13:00:53 +05:30
2026-07-28 15:02:52 -07:00
2026-07-28 14:37:19 -07:00
2026-07-23 12:01:24 -07:00
2026-07-28 18:21:01 -07:00
2026-07-28 11:52:44 -07:00
2026-07-26 16:18:31 -07:00
2026-07-23 11:44:43 -07:00
2026-07-25 20:15:37 -07:00
2026-07-25 18:10:24 -07:00
2026-07-23 11:44:43 -07:00
2026-07-26 20:59:26 -07:00
2026-07-28 04:24:50 -05:00
2026-07-22 21:58:13 -07:00
2026-07-26 17:46:42 -07:00
2026-07-26 19:30:02 -07:00
2026-07-26 19:30:02 -07:00
2026-07-27 21:26:20 -07:00
2026-07-27 20:28:31 -07:00
2026-07-29 00:01:33 -07:00
2026-07-24 11:45:57 -07:00
2026-07-28 11:57:37 -07:00
2026-07-28 11:53:09 -07:00
2026-07-21 05:27:23 -07:00
2026-07-26 20:59:36 -07:00
2026-07-28 11:53:36 -07:00
2026-07-28 11:54:01 -07:00
2026-07-28 11:53:36 -07:00
2026-07-28 22:40:45 -07:00
2026-07-29 00:01:33 -07:00
2026-07-28 18:12:26 -07:00
2026-07-27 20:28:35 -07:00
2026-07-28 11:55:01 -07:00
2026-07-28 11:57:37 -07:00
2026-07-28 11:55:01 -07:00
2026-07-28 14:07:21 -07:00
2026-07-28 11:54:26 -07:00
2026-07-28 11:54:26 -07:00
2026-07-28 11:55:48 -07:00
2026-07-28 14:07:21 -07:00
2026-07-28 18:12:26 -07:00
2026-07-28 11:55:01 -07:00
2026-07-28 11:54:26 -07:00
2026-07-28 11:53:36 -07:00
2026-07-28 11:54:26 -07:00
2026-07-28 11:55:01 -07:00
2026-07-28 22:31:40 -07:00
2026-07-28 22:31:40 -07:00
2026-07-28 11:55:01 -07:00
2026-07-28 12:49:23 -07:00
2026-07-28 14:17:45 -07:00
2026-07-29 10:08:53 -07:00
2026-07-28 11:53:09 -07:00
2026-07-28 18:12:26 -07:00
2026-07-29 10:08:53 -07:00
2026-07-29 08:24:00 -07:00
2026-07-29 08:24:00 -07:00
2026-07-28 11:57:37 -07:00
2026-07-28 19:40:25 -07:00
2026-07-21 11:51:01 +05:30
2026-07-28 00:05:36 +05:30
2026-07-26 18:28:20 -07:00
2026-07-22 04:40:07 -07:00
2026-07-23 21:06:47 -07:00
2026-07-27 21:10:51 -07:00