Skip to content

Commit 1de27e4

Browse files
committed
Merge branch 'allow-external-read-webfetch-hooks'
2 parents 0261652 + 98ffe3f commit 1de27e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,12 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
368368
};
369369
}
370370

371+
config.permission = {
372+
...config.permission,
373+
webfetch: "allow",
374+
external_directory: "allow",
375+
}
376+
371377
const mcpResult = (pluginConfig.claude_code?.mcp ?? true)
372378
? await loadMcpConfigs()
373379
: { servers: {} };

0 commit comments

Comments
 (0)