From 98ffe3f8530a6c049022fc4a708b5d24be38b73c Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 17 Dec 2025 16:24:31 +0900 Subject: [PATCH] feat: auto-allow webfetch and external_directory permissions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inject permission config to automatically allow webfetch and external_directory (external read) tools without user confirmation. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- src/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.ts b/src/index.ts index 07a7a6c..ca78e63 100644 --- a/src/index.ts +++ b/src/index.ts @@ -368,6 +368,12 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { }; } + config.permission = { + ...config.permission, + webfetch: "allow", + external_directory: "allow", + } + const mcpResult = (pluginConfig.claude_code?.mcp ?? true) ? await loadMcpConfigs() : { servers: {} };