Unverified 提交 1516181e authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Update permissions & use haiku (#2539)

#skip-bb <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2539" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
上级 3d942916
...@@ -193,7 +193,6 @@ tool requests and determine their safety level. Be conservative - when in doubt, ...@@ -193,7 +193,6 @@ tool requests and determine their safety level. Be conservative - when in doubt,
1. **Repository operations**: 1. **Repository operations**:
- gh repo fork (forking repositories) - gh repo fork (forking repositories)
- gh repo clone (cloning - generally safe but uses network)
### RED (Dangerous - Block) ### RED (Dangerous - Block)
......
...@@ -87,7 +87,7 @@ Analyze this request and provide your safety assessment. Respond with ONLY a JSO ...@@ -87,7 +87,7 @@ Analyze this request and provide your safety assessment. Respond with ONLY a JSO
claude_path, claude_path,
"--print", "--print",
"--output-format", "text", "--output-format", "text",
"--model", "sonnet", "--model", "haiku",
"--no-session-persistence", "--no-session-persistence",
prompt prompt
], ],
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
"Read(/tmp/**)", "Read(/tmp/**)",
"Write(/tmp/)", "Write(/tmp/)",
"Write(/tmp/**)", "Write(/tmp/**)",
"Bash(mkdir)",
"Bash(cat /tmp/*)", "Bash(cat /tmp/*)",
"Bash(head /tmp/*)", "Bash(head /tmp/*)",
"Bash(tail /tmp/*)", "Bash(tail /tmp/*)",
...@@ -49,6 +51,7 @@ ...@@ -49,6 +51,7 @@
"Bash(npm install:*)", "Bash(npm install:*)",
"Bash(npm update:*)", "Bash(npm update:*)",
"Bash(npm ls:*)", "Bash(npm ls:*)",
"Bash(npm view:*)",
"Bash(DEBUG=pw:browser npm run e2e:*)", "Bash(DEBUG=pw:browser npm run e2e:*)",
"Bash(PLAYWRIGHT_HTML_OPEN=never npm run e2e:*)", "Bash(PLAYWRIGHT_HTML_OPEN=never npm run e2e:*)",
"Bash(DEBUG=pw:browser PLAYWRIGHT_HTML_OPEN=never npm run e2e:*)", "Bash(DEBUG=pw:browser PLAYWRIGHT_HTML_OPEN=never npm run e2e:*)",
...@@ -117,7 +120,6 @@ ...@@ -117,7 +120,6 @@
"Bash(chmod:*)", "Bash(chmod:*)",
"Bash(python3:*)",
"Bash(pytest:*)", "Bash(pytest:*)",
"Bash(python -m pytest:*)" "Bash(python -m pytest:*)"
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论