Merge branch 'allow-external-read-webfetch-hooks'
This commit is contained in:
@@ -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)
|
const mcpResult = (pluginConfig.claude_code?.mcp ?? true)
|
||||||
? await loadMcpConfigs()
|
? await loadMcpConfigs()
|
||||||
: { servers: {} };
|
: { servers: {} };
|
||||||
|
|||||||
Reference in New Issue
Block a user