aiblueprint-cli 1.4.43 → 1.4.44
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/cli.js +27 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33294,6 +33294,26 @@ async function updateSettings(options, claudeDir) {
|
|
|
33294
33294
|
};
|
|
33295
33295
|
}
|
|
33296
33296
|
}
|
|
33297
|
+
if (!settings.permissions) {
|
|
33298
|
+
settings.permissions = {};
|
|
33299
|
+
}
|
|
33300
|
+
settings.permissions.defaultMode = "bypassPermissions";
|
|
33301
|
+
if (!settings.permissions.deny) {
|
|
33302
|
+
settings.permissions.deny = [];
|
|
33303
|
+
}
|
|
33304
|
+
const denyRules = [
|
|
33305
|
+
"Bash(rm -rf *)",
|
|
33306
|
+
"Bash(sudo *)",
|
|
33307
|
+
"Bash(curl * | bash)",
|
|
33308
|
+
"Bash(wget * | bash)",
|
|
33309
|
+
"Read(./.env)",
|
|
33310
|
+
"Read(./.env.*)"
|
|
33311
|
+
];
|
|
33312
|
+
for (const rule of denyRules) {
|
|
33313
|
+
if (!settings.permissions.deny.includes(rule)) {
|
|
33314
|
+
settings.permissions.deny.push(rule);
|
|
33315
|
+
}
|
|
33316
|
+
}
|
|
33297
33317
|
if (!settings.hooks) {
|
|
33298
33318
|
settings.hooks = {};
|
|
33299
33319
|
}
|
|
@@ -33512,6 +33532,7 @@ async function setupCommand(params = {}) {
|
|
|
33512
33532
|
"customStatusline",
|
|
33513
33533
|
"aiblueprintCommands",
|
|
33514
33534
|
"aiblueprintAgents",
|
|
33535
|
+
"aiblueprintSkills",
|
|
33515
33536
|
"notificationSounds",
|
|
33516
33537
|
"codexSymlink",
|
|
33517
33538
|
"openCodeSymlink"
|
|
@@ -33554,6 +33575,11 @@ async function setupCommand(params = {}) {
|
|
|
33554
33575
|
name: "Notification sounds - Audio alerts for events",
|
|
33555
33576
|
checked: true
|
|
33556
33577
|
},
|
|
33578
|
+
{
|
|
33579
|
+
value: "aiblueprintSkills",
|
|
33580
|
+
name: "AIBlueprint skills - Pre-built skills (apex, commit, oneshot, etc.)",
|
|
33581
|
+
checked: true
|
|
33582
|
+
},
|
|
33557
33583
|
{
|
|
33558
33584
|
value: "codexSymlink",
|
|
33559
33585
|
name: "Codex symlink - Link commands to ~/.codex/prompts",
|
|
@@ -33579,7 +33605,7 @@ async function setupCommand(params = {}) {
|
|
|
33579
33605
|
customStatusline: features.includes("customStatusline"),
|
|
33580
33606
|
aiblueprintCommands: features.includes("aiblueprintCommands"),
|
|
33581
33607
|
aiblueprintAgents: features.includes("aiblueprintAgents"),
|
|
33582
|
-
aiblueprintSkills:
|
|
33608
|
+
aiblueprintSkills: features.includes("aiblueprintSkills"),
|
|
33583
33609
|
notificationSounds: features.includes("notificationSounds"),
|
|
33584
33610
|
codexSymlink: features.includes("codexSymlink"),
|
|
33585
33611
|
openCodeSymlink: features.includes("openCodeSymlink"),
|