palmier 0.9.14 → 0.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/claude.js +2 -2
- package/dist/agents/codex.js +1 -2
- package/dist/agents/gemini.js +1 -1
- package/package.json +1 -1
package/dist/agents/claude.js
CHANGED
|
@@ -12,10 +12,10 @@ export class ClaudeAgent {
|
|
|
12
12
|
const prompt = followupPrompt ?? getAgentInstructions(task, yolo || !this.supportsPermissions);
|
|
13
13
|
const args = ["--permission-mode", yolo ? "bypassPermissions" : "acceptEdits", "-p"];
|
|
14
14
|
if (!yolo) {
|
|
15
|
-
args.push("--allowedTools", "WebFetch");
|
|
15
|
+
args.push("--allowedTools", "Bash(curl)", "WebFetch");
|
|
16
16
|
const allPerms = [...(task.frontmatter.permissions ?? []), ...(extraPermissions ?? [])];
|
|
17
17
|
for (const p of allPerms) {
|
|
18
|
-
args.push(
|
|
18
|
+
args.push(p.name);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
if (followupPrompt) {
|
package/dist/agents/codex.js
CHANGED
|
@@ -14,8 +14,7 @@ export class CodexAgent {
|
|
|
14
14
|
if (!yolo) {
|
|
15
15
|
const allPerms = [...(task.frontmatter.permissions ?? []), ...(extraPermissions ?? [])];
|
|
16
16
|
for (const p of allPerms) {
|
|
17
|
-
args.push("--config");
|
|
18
|
-
args.push(`apps.${p.name}.default_tools_approval_mode="approve"`);
|
|
17
|
+
args.push("--config", `apps.${p.name}.default_tools_approval_mode="approve"`);
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
if (followupPrompt) {
|
package/dist/agents/gemini.js
CHANGED
|
@@ -29,7 +29,7 @@ export class GeminiAgent {
|
|
|
29
29
|
const args = ["--approval-mode", yolo ? "yolo" : "auto_edit"];
|
|
30
30
|
const files = [];
|
|
31
31
|
if (!yolo) {
|
|
32
|
-
const tools = ["run_shell_command", "web_fetch"];
|
|
32
|
+
const tools = ["run_shell_command(curl)", "web_fetch"];
|
|
33
33
|
const allPerms = [...(task.frontmatter.permissions ?? []), ...(extraPermissions ?? [])];
|
|
34
34
|
for (const p of allPerms) {
|
|
35
35
|
tools.push(p.name);
|