blun-king-cli 5.2.0 → 5.2.1
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/blun-cli.js +2 -8
- package/package.json +1 -1
package/blun-cli.js
CHANGED
|
@@ -2595,14 +2595,8 @@ async function main() {
|
|
|
2595
2595
|
}
|
|
2596
2596
|
|
|
2597
2597
|
if (!process.argv.includes("--no-workdir-prompt") && !process.argv.includes("--trust")) {
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
if (fs.existsSync(trustFile)) {
|
|
2601
|
-
try { trustedDirs = JSON.parse(fs.readFileSync(trustFile, "utf8")); } catch(e) {}
|
|
2602
|
-
}
|
|
2603
|
-
var isTrusted = trustedDirs.includes(process.cwd());
|
|
2604
|
-
|
|
2605
|
-
if (!isTrusted) {
|
|
2598
|
+
// Always ask — like Claude Code (every session)
|
|
2599
|
+
{
|
|
2606
2600
|
console.log("");
|
|
2607
2601
|
console.log(C.yellow + C.bold + " Quick safety check:" + C.reset);
|
|
2608
2602
|
console.log(C.gray + " Is " + C.brightWhite + process.cwd() + C.gray + " a project you trust?" + C.reset);
|