Teknium
10e2b6226d
fix(cli,acp): collect the owner's guarded-model confirmation on the classic chat view and ACP
...
Maintainer ruling: model-switch confirmation is unified across every surface, as on main.
501ea6c4d91 made the owner refuse a guarded target (cost / data policy / large context) with
status=confirmation_required and a one-time token, but PreparedMutations turned that into
"Model not switched: ... this client cannot collect yet" on both native surfaces.
- PreparedMutations.apply(confirm=...) takes the surface's prompt. Yes re-sends the same retained
mutation once with payload.confirm=<token> (new request id, kept under the original key so an
ambiguous reply to the confirmed send retries that exact request); no answers status=cancelled
and nothing is re-sent. No prompt (non-interactive) stays a refusal carrying the guard text, and a
confirmed send refused again (a turn or another switch landed first) is reported, never re-asked.
- Classic CLI chat view: /model asks with main's _confirm_expensive_model_switch wording and
choices (Switch anyway once / Cancel; 1/2, y/n aliases) on the composer; only when stdin is a TTY.
The status bar follows the applied model.
- ACP: set_session_model and a typed /model ask through request_permission (the mechanism
approvals use) with Switch anyway / Cancel; deny, dismissal or a lost editor keeps the model;
a declined set_session_model fails with model_switch_cancelled so the editor's picker reverts.
- New catalog key cli.model.confirm_choice_prompt in every locale.
Live (real gateway, fake HOME, loopback stub, model.switch_context_confirm_tokens=1): on
r6-integ-a `hermes chat --resume` + `/model local-stub-b` printed the guard text and "Model not
switched"; see RESULTS.md for the after run.
Review: https://github.com/NousResearch/hermes-agent/pull/106742#issuecomment-6067585232
2026-10-08 21:33:56 -07:00
..
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 20:37:24 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:08:58 -07:00
2026-10-06 06:22:29 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 06:15:58 -07:00
2026-10-08 12:07:01 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 04:36:02 -07:00
2026-10-06 06:22:29 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 03:44:49 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 14:19:47 -05:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:41:27 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:35 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 12:09:24 -07:00
2026-10-06 14:22:13 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 02:29:54 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-27 18:19:17 +05:30
2026-10-06 14:22:13 -07:00
2026-10-07 10:57:34 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-02 22:47:50 -04:00
2026-10-08 17:22:54 +02:00
2026-10-05 10:20:42 -05:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-10-08 04:11:24 -07:00
2026-10-08 04:11:24 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 14:16:18 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 14:16:18 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 14:16:18 -07:00
2026-10-06 12:50:31 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 07:11:29 +05:30
2026-10-03 17:41:14 -04:00
2026-09-29 20:34:45 +05:30
2026-10-07 17:09:40 -07:00
2026-10-08 12:09:24 -07:00
2026-09-28 02:00:41 -07:00
2026-09-28 14:16:18 -07:00
2026-10-08 19:09:50 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:35 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:08:59 -07:00
2026-10-08 19:08:59 -07:00
2026-10-08 12:09:24 -07:00
2026-09-28 04:04:23 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-09-30 23:10:24 -05:00
2026-10-08 17:22:54 +02:00
2026-10-03 19:51:54 +05:30
2026-10-05 13:18:19 +05:30
2026-10-06 03:44:49 -07:00
2026-10-06 06:22:28 -07:00
2026-10-03 21:15:17 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:20:18 +05:30
2026-10-04 00:08:20 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 15:00:21 -05:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:33:56 -07:00
2026-10-08 19:09:38 -07:00
2026-10-08 19:09:39 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:24:39 -07:00
2026-10-03 21:57:13 -04:00
2026-10-08 21:33:56 -07:00
2026-09-28 13:30:57 -07:00
2026-10-06 21:58:29 -07:00
2026-10-08 19:08:58 -07:00
2026-10-06 14:24:39 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 09:10:28 -07:00
2026-10-08 19:08:58 -07:00
2026-10-07 10:57:34 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 06:18:39 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-03 20:44:07 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-01 04:50:26 -05:00
2026-10-06 12:28:00 -04:00
2026-10-08 17:22:54 +02:00
2026-10-07 17:21:31 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:35 -07:00
2026-10-08 19:09:32 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-03 16:31:23 +05:30
2026-10-07 11:19:10 +05:30
2026-10-08 19:09:32 -07:00
2026-09-28 03:37:09 -07:00
2026-09-28 03:37:09 -07:00
2026-10-06 15:15:06 -04:00
2026-10-08 12:54:46 -07:00
2026-10-07 11:19:10 +05:30
2026-10-08 17:22:54 +02:00
2026-10-06 16:21:16 -07:00
2026-10-08 12:09:24 -07:00
2026-09-28 12:24:52 -05:00
2026-10-06 03:44:49 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 21:58:23 -07:00
2026-10-06 04:36:02 -07:00
2026-10-06 14:23:00 -04:00
2026-10-06 05:44:21 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-03 23:05:48 -07:00
2026-09-29 15:45:52 +05:30
2026-10-08 12:41:27 -07:00
2026-10-07 10:57:35 -07:00
2026-10-08 19:09:42 -07:00
2026-10-08 13:03:23 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-05 16:06:32 -07:00
2026-10-02 04:39:28 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:57:23 -05:00
2026-09-28 05:37:55 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 18:04:50 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-10-03 22:32:13 -04:00
2026-10-05 23:33:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:09:34 -07:00
2026-10-07 17:12:40 -04:00
2026-10-06 17:22:46 -04:00
2026-10-08 00:18:12 +05:30
2026-10-04 00:10:54 +05:30
2026-10-06 23:14:10 +05:30
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 04:07:30 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 01:01:14 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 04:12:02 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 11:10:43 -07:00
2026-10-08 04:12:02 -07:00
2026-10-03 10:15:11 -07:00
2026-10-08 03:40:04 -07:00
2026-10-07 16:57:01 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 16:01:10 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-05 17:11:30 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 11:10:43 -07:00
2026-10-08 12:09:24 -07:00
2026-10-01 16:22:28 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-02 01:29:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:35 -07:00
2026-09-28 04:04:23 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 11:27:35 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-05 16:42:57 -05:00
2026-10-08 17:22:54 +02:00
2026-09-28 12:43:03 -07:00
2026-10-06 14:24:24 -07:00
2026-09-27 03:41:42 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 12:09:24 -07:00
2026-10-06 16:21:16 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 03:34:07 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-05 12:37:47 +05:30
2026-10-08 10:18:00 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:24:24 -07:00
2026-09-27 20:49:04 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:09:00 -07:00
2026-10-07 19:22:43 +05:30
2026-10-06 14:24:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-02 02:58:18 +05:30
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-09-28 14:16:18 -07:00
2026-10-07 17:13:11 -04:00
2026-09-28 21:02:35 -04:00
2026-10-08 17:22:54 +02:00
2026-10-01 22:35:29 -07:00
2026-09-28 10:21:41 -07:00
2026-09-29 15:28:19 -05:00
2026-10-08 17:22:54 +02:00
2026-09-27 07:43:23 -05:00
2026-10-06 14:24:24 -07:00
2026-09-28 19:02:20 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-09-28 14:16:18 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 12:08:49 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 21:58:27 -07:00
2026-10-02 18:06:40 +00:00
2026-09-27 14:09:15 -05:00
2026-10-08 17:22:54 +02:00
2026-10-06 04:36:02 -07:00
2026-10-07 06:15:58 -07:00
2026-10-07 06:15:58 -07:00
2026-10-07 10:57:35 -07:00
2026-10-06 04:36:02 -07:00
2026-10-06 06:21:10 -07:00
2026-10-06 03:44:49 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 06:15:58 -07:00
2026-10-08 12:09:24 -07:00
2026-10-06 06:27:57 -07:00
2026-10-07 04:39:00 -07:00
2026-10-06 03:44:49 -07:00
2026-10-07 06:15:58 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 06:15:58 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 06:22:28 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 06:18:39 -07:00
2026-10-06 03:44:49 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 03:44:49 -07:00
2026-10-07 23:07:43 -07:00
2026-09-28 05:33:25 -07:00
2026-10-07 04:39:00 -07:00
2026-10-08 17:22:54 +02:00
2026-09-27 14:09:15 -05:00
2026-10-06 03:44:49 -07:00
2026-10-06 14:23:00 -04:00
2026-10-08 17:22:54 +02:00
2026-10-06 04:36:02 -07:00
2026-10-07 07:18:58 -07:00
2026-10-06 12:50:31 -07:00
2026-10-06 11:15:27 -04:00
2026-10-07 17:13:11 -04:00
2026-10-08 17:22:54 +02:00
2026-10-06 12:59:08 -05:00
2026-10-08 12:09:24 -07:00
2026-10-07 10:57:34 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:24:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 17:22:54 +02:00
2026-10-03 19:51:54 +05:30
2026-10-08 12:09:24 -07:00
2026-10-08 12:09:24 -07:00
2026-10-06 04:36:02 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 21:52:50 -05:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:09:42 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00