@ycodium-ai/agent-claude 0.2.3114 → 0.2.3120

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -22790,11 +22790,20 @@ function claudeUsesOfficialChannel(env2) {
22790
22790
  return false;
22791
22791
  }
22792
22792
  }
22793
- var ALLOWLIST_MODE_TOOLS = ["Read", "Edit", "Bash"];
22793
+ var ALLOWLIST_MODE_TOOLS = [
22794
+ "Read",
22795
+ "Glob",
22796
+ "Grep",
22797
+ "Edit",
22798
+ "MultiEdit",
22799
+ "Write",
22800
+ "NotebookEdit",
22801
+ "Bash"
22802
+ ];
22794
22803
  function claudeSdkPermission(rules, mode) {
22795
22804
  if (mode !== "auto") return { mode, allow: rules.read };
22796
22805
  if (rules.officialChannel) return { mode, allow: [...rules.read, ...rules.hostMcp] };
22797
- return { mode: "default", allow: [...rules.read, ...rules.hostMcp, ...ALLOWLIST_MODE_TOOLS] };
22806
+ return { mode: "dontAsk", allow: [...rules.read, ...rules.hostMcp, ...ALLOWLIST_MODE_TOOLS] };
22798
22807
  }
22799
22808
 
22800
22809
  // src/adapter/permissionMode.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-claude",
3
- "version": "0.2.3114",
3
+ "version": "0.2.3120",
4
4
  "description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -24,7 +24,7 @@
24
24
  "@types/node": "24.12.4",
25
25
  "esbuild": "0.28.1",
26
26
  "vite-plus": "0.2.2",
27
- "@ycodium-ai/plugin-api": "0.2.3114",
27
+ "@ycodium-ai/plugin-api": "0.2.3120",
28
28
  "ycodium-composer-tokens": "0.0.0",
29
29
  "ycodium-executor-testing": "0.0.0",
30
30
  "ycodium-jsonl-stream": "0.0.0"