From bf28b3e71101784091dfdbb5d302d36f380c962e Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 16 Jan 2026 10:47:20 +0900 Subject: [PATCH] fix: ensure Sisyphus agent has call_omo_agent disabled The tools restriction was defined in sisyphus.ts but not enforced in config-handler.ts like other agents (orchestrator-sisyphus, Prometheus). Added explicit tools setting to guarantee call_omo_agent is disabled. --- src/plugin-handlers/config-handler.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/plugin-handlers/config-handler.ts b/src/plugin-handlers/config-handler.ts index 185fca712..fbd290997 100644 --- a/src/plugin-handlers/config-handler.ts +++ b/src/plugin-handlers/config-handler.ts @@ -144,6 +144,7 @@ export function createConfigHandler(deps: ConfigHandlerDeps) { librarian?: { tools?: Record }; "multimodal-looker"?: { tools?: Record }; "orchestrator-sisyphus"?: { tools?: Record }; + Sisyphus?: { tools?: Record }; }; const configAgent = config.agent as AgentConfig | undefined; @@ -310,6 +311,12 @@ export function createConfigHandler(deps: ConfigHandlerDeps) { call_omo_agent: false, }; } + if (agentResult.Sisyphus) { + agentResult.Sisyphus.tools = { + ...agentResult.Sisyphus.tools, + call_omo_agent: false, + }; + } if (agentResult["Prometheus (Planner)"]) { (agentResult["Prometheus (Planner)"] as { tools?: Record }).tools = { ...(agentResult["Prometheus (Planner)"] as { tools?: Record }).tools,