From d369b8cb8b7e500552b7251d99d64287bae400de Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Mar 2026 06:01:13 +0000 Subject: [PATCH] Drop input_preview from iMessage permission prompt Brings the prompt closer to the compact format telegram/discord use. The description field already summarizes what the tool will do; the raw input dump made the text wall-of-texty on a phone screen. --- external_plugins/imessage/server.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/external_plugins/imessage/server.ts b/external_plugins/imessage/server.ts index 11df501..a0a8449 100644 --- a/external_plugins/imessage/server.ts +++ b/external_plugins/imessage/server.ts @@ -530,16 +530,14 @@ mcp.setNotificationHandler( request_id: z.string(), tool_name: z.string(), description: z.string(), - input_preview: z.string(), }), }), async ({ params }) => { - const { request_id, tool_name, description, input_preview } = params + const { request_id, tool_name, description } = params const access = loadAccess() const text = `🔐 Permission request [${request_id}]\n` + - `${tool_name}: ${description}\n` + - `${input_preview}\n\n` + + `${tool_name}: ${description}\n\n` + `Reply "yes ${request_id}" to allow or "no ${request_id}" to deny.` // allowFrom holds handle IDs, not chat GUIDs — resolve via qChatsForHandle. // Include SELF addresses so the owner's self-chat gets the prompt even