aico-cli 2.0.36 → 2.0.38

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.
@@ -0,0 +1,128 @@
1
+ {
2
+ "sandbox": {
3
+ "enabled": true,
4
+ "autoAllowBashIfSandboxed": true,
5
+ "network": {
6
+ "allowedDomains": [],
7
+ "deniedDomains": [],
8
+ "allowLocalBinding": false,
9
+ "allowUnixSockets": [],
10
+ "allowAllUnixSockets": false
11
+ },
12
+ "filesystem": {
13
+ "denyRead": [
14
+ "~/.ssh",
15
+ "~/.aws",
16
+ "~/.gcp"
17
+ ],
18
+ "allowWrite": [
19
+ ".",
20
+ "/dev/stdout",
21
+ "/dev/stderr",
22
+ "/dev/null",
23
+ "/dev/tty",
24
+ "/dev/dtracehelper",
25
+ "/dev/autofs_nowait",
26
+ "/tmp/codebuddy",
27
+ "/private/tmp/codebuddy",
28
+ "~/.npm/_logs",
29
+ "~/.codebuddy/debug",
30
+ "~/.codebuddy/statsig"
31
+ ],
32
+ "denyWrite": []
33
+ },
34
+ "excludedCommands": [],
35
+ "allowUnsandboxedCommands": true,
36
+ "enableWeakerNestedSandbox": false
37
+ },
38
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
39
+ "includeCoAuthoredBy": false,
40
+ "permissions": {
41
+ "allow": [
42
+ "Bash",
43
+ "LS",
44
+ "Read",
45
+ "Agent",
46
+ "Write",
47
+ "Edit",
48
+ "MultiEdit",
49
+ "Glob",
50
+ "Grep",
51
+ "WebFetch",
52
+ "WebSearch",
53
+ "TodoWrite",
54
+ "NotebookRead",
55
+ "NotebookEdit",
56
+ "mcp__intention-coding",
57
+ "mcp__context7",
58
+ "mcp__open-websearch",
59
+ "mcp__chrome-devtools"
60
+ ],
61
+ "deny": []
62
+ },
63
+ "hooks": {
64
+ "PreToolUse": [
65
+ {
66
+ "matcher": "Edit|Write",
67
+ "hooks": [
68
+ {
69
+ "type": "command",
70
+ "command": "npx tsx ~/.codebuddy/hooks/scripts/PreToolUse/pre-tool-use.ts",
71
+ "timeout": 10
72
+ }
73
+ ]
74
+ }
75
+ ],
76
+ "PostToolUse": [
77
+ {
78
+ "matcher": "Edit|Write",
79
+ "hooks": [
80
+ {
81
+ "type": "command",
82
+ "command": "npx tsx ~/.codebuddy/hooks/scripts/PostToolUse/post-tool-use.ts",
83
+ "timeout": 10
84
+ }
85
+ ]
86
+ }
87
+ ],
88
+ "UserPromptSubmit": [
89
+ {
90
+ "hooks": [
91
+ {
92
+ "type": "command",
93
+ "command": "npx tsx ~/.codebuddy/hooks/scripts/UserPromptSubmit/user-prompt-submit.ts",
94
+ "timeout": 10
95
+ }
96
+ ]
97
+ }
98
+ ],
99
+ "Notification": [
100
+ {
101
+ "hooks": [
102
+ {
103
+ "type": "command",
104
+ "command": "npx tsx ~/.codebuddy/hooks/scripts/Notification/notification.ts",
105
+ "timeout": 10
106
+ }
107
+ ]
108
+ }
109
+ ],
110
+ "Stop": [
111
+ {
112
+ "hooks": [
113
+ {
114
+ "type": "command",
115
+ "command": "npx tsx ~/.codebuddy/hooks/scripts/Stop/stop.ts",
116
+ "timeout": 10
117
+ }
118
+ ]
119
+ }
120
+ ]
121
+ },
122
+ "statusLine": {
123
+ "type": "command",
124
+ "command": "~/.codebuddy/ccline/ccline",
125
+ "padding": 0
126
+ },
127
+ "enterpriseEndpoint": "https://e.cnpc.com.cn/"
128
+ }
@@ -38,19 +38,19 @@
38
38
  "hooks": [
39
39
  {
40
40
  "type": "command",
41
- "command": "node -e \"require('child_process').execSync('npx tsx ' + require('path').join(require('os').homedir(), '.claude/hooks/scripts/PreToolUse/pre-tool-use.ts'), {stdio: 'inherit'})\"",
41
+ "command": "npx tsx ~/.claude/hooks/scripts/PreToolUse/pre-tool-use.ts",
42
42
  "timeout": 10
43
43
  }
44
44
  ]
45
45
  }
46
46
  ],
47
- "PostToolUse":[
47
+ "PostToolUse": [
48
48
  {
49
49
  "matcher": "Edit|Write",
50
50
  "hooks": [
51
51
  {
52
52
  "type": "command",
53
- "command": "node -e \"require('child_process').execSync('npx tsx ' + require('path').join(require('os').homedir(), '.claude/hooks/scripts/PostToolUse/post-tool-use.ts'), {stdio: 'inherit'})\"",
53
+ "command": "npx tsx ~/.claude/hooks/scripts/PostToolUse/post-tool-use.ts",
54
54
  "timeout": 10
55
55
  }
56
56
  ]
@@ -61,7 +61,7 @@
61
61
  "hooks": [
62
62
  {
63
63
  "type": "command",
64
- "command": "node -e \"require('child_process').execSync('npx tsx ' + require('path').join(require('os').homedir(), '.claude/hooks/scripts/UserPromptSubmit/user-prompt-submit.ts'), {stdio: 'inherit'})\"",
64
+ "command": "npx tsx ~/.claude/hooks/scripts/UserPromptSubmit/user-prompt-submit.ts",
65
65
  "timeout": 10
66
66
  }
67
67
  ]
@@ -72,7 +72,7 @@
72
72
  "hooks": [
73
73
  {
74
74
  "type": "command",
75
- "command": "node -e \"require('child_process').execSync('npx tsx ' + require('path').join(require('os').homedir(), '.claude/hooks/scripts/Notification/notification.ts'), {stdio: 'inherit'})\"",
75
+ "command": "npx tsx ~/.claude/hooks/scripts/Notification/notification.ts",
76
76
  "timeout": 10
77
77
  }
78
78
  ]
@@ -83,7 +83,7 @@
83
83
  "hooks": [
84
84
  {
85
85
  "type": "command",
86
- "command": "node -e \"require('child_process').execSync('npx tsx ' + require('path').join(require('os').homedir(), '.claude/hooks/scripts/Stop/stop.ts'), {stdio: 'inherit'})\"",
86
+ "command": "npx tsx ~/.claude/hooks/scripts/Stop/stop.ts",
87
87
  "timeout": 10
88
88
  }
89
89
  ]
@@ -95,4 +95,4 @@
95
95
  "command": "~/.claude/ccline/ccline",
96
96
  "padding": 0
97
97
  }
98
- }
98
+ }