SivanCola
5e03e03eaf
feat(agent): light/balanced/delivery role settings with unified tools / 角色设定与统一工具面
Problem:
Work modes (economy/full/delivery) mixed token surface trimming, delivery
gates, and UI labels. Economy forced connect_tool_source schema growth;
switching modes rebuilt controllers and busted prompt-cache prefixes.
Skill profiles could hide tools from the model surface.
Fix:
- Introduce AgentPreset (light|balanced|delivery) + TaskPolicy host floors
for plan route, verification, and independent review.
- Share one provider-visible core surface across presets; optional tools
dispatch only through use_capability (retire connect_tool_source boot).
- Switch role settings in place without controller rebuild (CLI /preset,
desktop, ACP agent_preset; legacy work_mode/tokenMode dual-write one version).
- Emit turn_phase and completion_summary events; wire desktop/CLI UI.
- Keep skill profiles diagnostic-only; dual-write agent_preset on tabs/branch meta.
- Docs, i18n, golden surfaces, and regression matrix updated.
Verification:
- go test ./internal/boot ./internal/agent ./internal/cli ./internal/acp
./internal/control ./internal/skill ./internal/agentpreset ./internal/taskpolicy
- desktop role-setting smoke tests
2026-08-11 09:25:13 +08:00
..
2026-06-30 10:34:27 +08:00
2026-08-11 01:30:26 +08:00
2026-08-09 01:22:17 +08:00
2026-07-18 01:11:36 +08:00
2026-06-02 19:32:40 -07:00
2026-08-11 09:25:13 +08:00
2026-08-11 09:25:13 +08:00
2026-08-09 22:30:29 +08:00
2026-08-09 22:30:29 +08:00
2026-08-08 02:29:40 +08:00
2026-08-08 02:29:40 +08:00
2026-07-05 22:24:48 +08:00
2026-07-21 02:52:04 +00:00
2026-06-01 07:24:42 -07:00
2026-05-31 22:29:18 -07:00
2026-06-17 00:59:36 +08:00
2026-08-11 09:25:13 +08:00
2026-08-11 09:25:13 +08:00
2026-08-11 09:25:13 +08:00
2026-08-08 15:04:54 +08:00
2026-08-08 15:04:54 +08:00
2026-08-07 17:15:00 +08:00
2026-06-02 01:45:30 -07:00
2026-06-02 01:45:30 -07:00
2026-06-01 07:24:42 -07:00
2026-06-01 07:24:42 -07:00
2026-08-04 13:20:08 +08:00
2026-08-08 02:29:40 +08:00
2026-08-08 02:29:40 +08:00
2026-08-08 02:29:40 +08:00
2026-08-08 18:07:58 +08:00
2026-08-08 18:07:58 +08:00
2026-08-08 18:07:58 +08:00
2026-08-08 18:07:58 +08:00
2026-08-08 02:29:40 +08:00
2026-08-08 02:29:40 +08:00
2026-06-02 19:32:40 -07:00
2026-08-11 01:30:26 +08:00
2026-08-11 09:25:13 +08:00
2026-08-11 09:25:13 +08:00
2026-07-15 11:18:45 +08:00
2026-08-08 16:31:47 +08:00
2026-08-08 16:01:33 +08:00
2026-08-08 17:30:38 +08:00
2026-08-08 16:01:33 +08:00
2026-08-08 16:01:33 +08:00
2026-05-30 05:08:46 -07:00
2026-08-03 01:14:37 +08:00
2026-08-02 23:43:21 +08:00
2026-06-01 01:50:34 -07:00
2026-08-10 01:59:34 +08:00
2026-08-10 01:59:34 +08:00
2026-06-24 23:16:05 +08:00
2026-06-24 23:16:05 +08:00
2026-06-04 19:41:16 -07:00
2026-07-15 11:35:13 +08:00
2026-07-15 11:35:13 +08:00
2026-08-08 15:04:54 +08:00
2026-08-08 15:04:54 +08:00
2026-08-07 16:53:51 +08:00
2026-08-07 16:53:51 +08:00
2026-08-04 02:42:27 +08:00
2026-08-08 20:45:34 -07:00
2026-08-08 20:45:34 -07:00
2026-06-07 17:20:14 +08:00
2026-08-02 23:43:21 +08:00
2026-06-17 00:59:36 +08:00
2026-08-11 01:30:26 +08:00
2026-08-11 01:30:26 +08:00
2026-07-18 22:18:44 +08:00
2026-07-18 22:18:44 +08:00
2026-08-10 09:18:55 -07:00
2026-08-10 09:18:55 -07:00
2026-07-15 11:18:45 +08:00
2026-07-15 11:18:45 +08:00
2026-07-18 01:11:36 +08:00
2026-07-18 01:11:36 +08:00
2026-08-08 02:29:40 +08:00
2026-08-08 02:29:40 +08:00
2026-07-19 20:46:58 +08:00
2026-08-01 00:09:15 +08:00
2026-08-01 00:09:15 +08:00
2026-08-11 09:25:13 +08:00
2026-08-11 09:25:13 +08:00