diff --git a/LifeOS/install/LIFEOS/PULSE/modules/telegram.ts b/LifeOS/install/LIFEOS/PULSE/modules/telegram.ts index 708730b7d..faceff3b0 100644 --- a/LifeOS/install/LIFEOS/PULSE/modules/telegram.ts +++ b/LifeOS/install/LIFEOS/PULSE/modules/telegram.ts @@ -847,10 +847,10 @@ export async function startTelegram(config: TelegramConfig): Promise { : String(input) if (cmd.includes("31337") || cmd.includes("/notify")) { log("warn", "canUseTool blocked /notify curl from SDK subprocess", { cmd: cmd.slice(0, 200) }) - return { result: "deny", reason: "Telegram mode: /notify and port 31337 are blocked. Voice is delivered via Telegram sendVoice, not the desktop speaker." } + return { behavior: "deny", message: "Telegram mode: /notify and port 31337 are blocked. Voice is delivered via Telegram sendVoice, not the desktop speaker." } } } - return { result: "allow" } + return { behavior: "allow", updatedInput: (input as Record) ?? {} } }, systemPrompt: { type: "preset",