vibefortress 0.1.52 → 0.1.54
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/.claude-plugin/plugin.json +1 -1
- package/dist/MANIFEST.sha256 +5 -5
- package/dist/cli.js +33 -2
- package/dist/hook.js +158 -97
- package/dist/panel.html +1 -1
- package/dist/release.json +10 -10
- package/dist/release.sig +1 -1
- package/dist/server.js +213 -152
- package/package.json +1 -1
- /package/dist/rules/{vibefort.yaml → vibefortress.yaml} +0 -0
package/dist/MANIFEST.sha256
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
43acc2492adebae8e98d838a0f0b4b6e8e1d12073385b67306c123287a6051ad THIRD_PARTY_LICENSES.txt
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
cb454e01aa8690db6a4589c97d9d683b866d93fae4163b516951ae1cc27774a8 rules/
|
|
2
|
+
b776555c47f536a28f2b7ed1e0794c0e9286020ebe7202bb55d8bbfa057a25f5 cli.js
|
|
3
|
+
4eeb85a1259ab5d46edbbec33edf3e712b0d5426d5ce201eeead34ccfc2ae173 hook.js
|
|
4
|
+
1139bc695cb606040ae3dca7d63fe4087de593c36a1c8a4683ec3b461b8cbbbb panel.html
|
|
5
|
+
cb454e01aa8690db6a4589c97d9d683b866d93fae4163b516951ae1cc27774a8 rules/vibefortress.yaml
|
|
6
6
|
86821fb93d339d54a9a5a1488128ec2bb313d04ec0213a6b88a58f9d6e94068c scanners.lock.json
|
|
7
|
-
|
|
7
|
+
61ac3a9bc20cfe6d0d119cf715971eb683c44ad3ddeb389c2302c381275af2c7 server.js
|
package/dist/cli.js
CHANGED
|
@@ -448,6 +448,37 @@ var init_run = __esm({
|
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
450
|
|
|
451
|
+
// src/legacy.ts
|
|
452
|
+
var OLD = "VIBEFORT_";
|
|
453
|
+
var NEW = "VIBEFORTRESS_";
|
|
454
|
+
var warned = /* @__PURE__ */ new Set();
|
|
455
|
+
var warn = (m) => {
|
|
456
|
+
if (!warned.has(m)) {
|
|
457
|
+
warned.add(m);
|
|
458
|
+
try {
|
|
459
|
+
process.stderr.write(`Vibe Fortress: ${m}
|
|
460
|
+
`);
|
|
461
|
+
} catch {
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
function applyLegacyEnv(env = process.env) {
|
|
466
|
+
const used = [];
|
|
467
|
+
for (const k of Object.keys(env)) {
|
|
468
|
+
if (!k.startsWith(OLD)) continue;
|
|
469
|
+
const next = NEW + k.slice(OLD.length);
|
|
470
|
+
if (env[next] === void 0 || env[next] === "") {
|
|
471
|
+
env[next] = env[k];
|
|
472
|
+
used.push(k);
|
|
473
|
+
warn(`${k} is deprecated and will stop working in the next release; rename it to ${next}.`);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
return used;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// src/legacy-env.ts
|
|
480
|
+
applyLegacyEnv();
|
|
481
|
+
|
|
451
482
|
// src/cli/index.ts
|
|
452
483
|
import { spawnSync as spawnSync2 } from "node:child_process";
|
|
453
484
|
import { existsSync as existsSync4, readFileSync as readFileSync3 } from "node:fs";
|
|
@@ -519,8 +550,8 @@ async function main(argv) {
|
|
|
519
550
|
console.error("vibefortress: server.js is missing from this install.");
|
|
520
551
|
return 1;
|
|
521
552
|
}
|
|
522
|
-
process.env.
|
|
523
|
-
process.env.
|
|
553
|
+
process.env.VIBEFORTRESS_ENTRY = cmd;
|
|
554
|
+
process.env.VIBEFORTRESS_COLLECT_ARGS = JSON.stringify(rest);
|
|
524
555
|
await import(pathToFileURL(entry).href);
|
|
525
556
|
return -1;
|
|
526
557
|
}
|