Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-runtime/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 25a09dd3ec hive-runtime, hive-agent: clear the ACP picker's pending model on a refusal
When an ACP agent answered session/set_config_option with an error,
choose() only logged it, so the session's current value never moved and
offered_pickers() kept treating the refused model as pending: the picker
showed the refused model as current and hid the effort picker.

hive-runtime now keeps the refused value per category on Choices, exposed
as Choice::refused, set on the RPC error and cleared when the agent next
accepts a value for that category. offered_pickers() treats a refused
value as not settable, so the picker shows the session's actual model and
its effort levels.

The fake ACP agent gains REFUSE, which errors the first
session/set_config_option to that value.

Refs #4832 (ACP half only)
2026-09-30 14:54:39 +02:00
..
acp hive-runtime, hive-agent: clear the ACP picker's pending model on a refusal 2026-09-30 14:54:39 +02:00
claude.rs hive-runtime, hive-agent: model/effort picker for ACP agents from configOptions 2026-09-30 10:53:53 +02:00
lib.rs hive-runtime, hive-agent: model/effort picker for ACP agents from configOptions 2026-09-30 10:53:53 +02:00
spec.rs hive-runtime: shared runtime crate with claude and acp backends 2026-09-29 22:29:36 +02:00