mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-05 12:12:00 +08:00
Compare commits
1 Commits
@sveltejs/
...
opencode-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9571736279 |
5
.changeset/fuzzy-dancers-deny.md
Normal file
5
.changeset/fuzzy-dancers-deny.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@sveltejs/opencode': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: remove restrictive permissions from subagent
|
||||||
@@ -81,12 +81,7 @@ export const svelte_plugin: Plugin = async (ctx) => {
|
|||||||
prompt: agent_data.prompt,
|
prompt: agent_data.prompt,
|
||||||
description: agent_data.description,
|
description: agent_data.description,
|
||||||
permission: {
|
permission: {
|
||||||
bash: 'ask',
|
[`${svelte_mcp_name}_*`]: 'allow',
|
||||||
edit: 'allow',
|
|
||||||
webfetch: 'ask',
|
|
||||||
},
|
|
||||||
tools: {
|
|
||||||
[`${svelte_mcp_name}_*`]: true,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user