@astrasyncai/verification-gateway 4.1.0 → 4.2.0
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/bin/astrasync-guard.js +87 -0
- package/dist/bin/astrasync.js +88 -1
- package/dist/codex/index.js +11 -0
- package/dist/codex/index.js.map +1 -1
- package/dist/codex/index.mjs +11 -0
- package/dist/codex/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/codex/index.mjs
CHANGED
|
@@ -5287,6 +5287,17 @@ function uninstallClaudeHooks(settingsPath, marker2 = ASTRASYNC_HOOK_MARKER) {
|
|
|
5287
5287
|
writeSettings(settingsPath, settings);
|
|
5288
5288
|
return true;
|
|
5289
5289
|
}
|
|
5290
|
+
var PERMISSION_DENY_PATHS = [
|
|
5291
|
+
"**/.claude/settings.json",
|
|
5292
|
+
"**/.claude/settings.local.json",
|
|
5293
|
+
"~/.claude/settings.json",
|
|
5294
|
+
"~/.claude/settings.local.json",
|
|
5295
|
+
"**/.astrasync/**",
|
|
5296
|
+
"~/.astrasync/**"
|
|
5297
|
+
];
|
|
5298
|
+
var GUARD_PERMISSION_DENY_RULES = PERMISSION_DENY_PATHS.map(
|
|
5299
|
+
(p) => `Edit(${p})`
|
|
5300
|
+
);
|
|
5290
5301
|
|
|
5291
5302
|
// src/codex/settings-installer.ts
|
|
5292
5303
|
var ASTRASYNC_CODEX_HOOK_MARKER = "astrasync-codex-hook";
|