feat: auto-allow webfetch and external_directory permissions
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)
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)
|
||||
? await loadMcpConfigs()
|
||||
: { servers: {} };
|
||||
|
||||
Reference in New Issue
Block a user