@shakecodeslikecray/whiterose 0.2.5 → 0.2.6
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/index.js +4 -23
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -4346,7 +4346,7 @@ ${chalk.red(" \u255A\u2550\u2550\u255D\u255A\u2550\u2550\u255D \u255A\u2550\u255
|
|
|
4346
4346
|
${chalk.dim(` "I've been staring at your code for a long time."`)}
|
|
4347
4347
|
`;
|
|
4348
4348
|
var program = new Command();
|
|
4349
|
-
program.name("whiterose").description("AI-powered bug hunter that uses your existing LLM subscription").version("0.2.
|
|
4349
|
+
program.name("whiterose").description("AI-powered bug hunter that uses your existing LLM subscription").version("0.2.6").hook("preAction", () => {
|
|
4350
4350
|
const args = process.argv.slice(2);
|
|
4351
4351
|
if (!args.includes("--help") && !args.includes("-h") && args.length > 0) {
|
|
4352
4352
|
console.log(BANNER);
|
|
@@ -4438,31 +4438,12 @@ async function showInteractiveWizard() {
|
|
|
4438
4438
|
} else {
|
|
4439
4439
|
process.chdir(targetPath);
|
|
4440
4440
|
}
|
|
4441
|
-
const scanDepth = await p3.select({
|
|
4442
|
-
message: "Scan depth",
|
|
4443
|
-
options: [
|
|
4444
|
-
{
|
|
4445
|
-
value: "quick",
|
|
4446
|
-
label: "Quick scan",
|
|
4447
|
-
hint: "faster, incremental changes only"
|
|
4448
|
-
},
|
|
4449
|
-
{
|
|
4450
|
-
value: "deep",
|
|
4451
|
-
label: "Deep scan",
|
|
4452
|
-
hint: "thorough, full codebase analysis (recommended)"
|
|
4453
|
-
}
|
|
4454
|
-
],
|
|
4455
|
-
initialValue: "deep"
|
|
4456
|
-
});
|
|
4457
|
-
if (p3.isCancel(scanDepth)) {
|
|
4458
|
-
p3.cancel("Cancelled.");
|
|
4459
|
-
process.exit(0);
|
|
4460
|
-
}
|
|
4461
4441
|
console.log();
|
|
4462
|
-
p3.log.step("Starting scan...");
|
|
4442
|
+
p3.log.step("Starting bug hunt (thorough scan)...");
|
|
4463
4443
|
console.log();
|
|
4464
4444
|
await scanCommand([], {
|
|
4465
|
-
full:
|
|
4445
|
+
full: true,
|
|
4446
|
+
// Always thorough for bug hunting
|
|
4466
4447
|
json: false,
|
|
4467
4448
|
sarif: false,
|
|
4468
4449
|
provider: selectedProvider,
|