@miphamai/cli 0.7.1 → 0.7.2
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/package.json +1 -1
- package/src/core/permission.ts +3 -2
package/package.json
CHANGED
package/src/core/permission.ts
CHANGED
|
@@ -170,8 +170,9 @@ export class PermissionSystem {
|
|
|
170
170
|
: 'ask'
|
|
171
171
|
|
|
172
172
|
case 'auto':
|
|
173
|
-
//
|
|
174
|
-
|
|
173
|
+
// Safety checks handled by hook layer (PreToolUse hooks).
|
|
174
|
+
// Bypass the static permission system so hooks are the sole gate.
|
|
175
|
+
return 'bypass'
|
|
175
176
|
|
|
176
177
|
case 'dontAsk':
|
|
177
178
|
// Only allowlisted tools free (already handled above); everything else requires approval
|