@keygraph/shannon 2.0.0-beta.1 → 2.0.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +9 -9
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -475,7 +475,7 @@ async function setup() {
475
475
  saveConfig(config);
476
476
  const configPath = path.join(SHANNON_HOME$1, "config.toml");
477
477
  p.log.success(`Configuration saved to ${configPath}`);
478
- p.outro("Run `npx @keygraph/shannon start` to begin a scan.");
478
+ p.outro("Run `npx @keygraph/shannon@beta start` to begin a scan.");
479
479
  }
480
480
  async function setupProvider(provider) {
481
481
  switch (provider) {
@@ -752,7 +752,7 @@ function loadTOML() {
752
752
  } catch (err) {
753
753
  const message = err instanceof Error ? err.message : String(err);
754
754
  console.error(`\nFailed to parse ${configPath}: ${message}`);
755
- console.error(`\nRun 'npx @keygraph/shannon setup' to reconfigure.\n`);
755
+ console.error(`\nRun 'npx @keygraph/shannon@beta setup' to reconfigure.\n`);
756
756
  process.exit(1);
757
757
  }
758
758
  }
@@ -982,7 +982,7 @@ function validateCredentials() {
982
982
  return {
983
983
  valid: false,
984
984
  mode: "api-key",
985
- error: getMode() === "local" ? `No credentials found. Set ANTHROPIC_API_KEY in .env or export it.` : `Authentication not configured. Export variables or run 'npx @keygraph/shannon setup'.`
985
+ error: getMode() === "local" ? `No credentials found. Set ANTHROPIC_API_KEY in .env or export it.` : `Authentication not configured. Export variables or run 'npx @keygraph/shannon@beta setup'.`
986
986
  };
987
987
  }
988
988
  //#endregion
@@ -1216,7 +1216,7 @@ function printDebugHint(containerName) {
1216
1216
  console.log("");
1217
1217
  }
1218
1218
  function printInfo(args, workspace, workflowId, repoPath, workspacesDir) {
1219
- const logsCmd = isLocal() ? `./shannon logs ${workspace}` : `npx @keygraph/shannon logs ${workspace}`;
1219
+ const logsCmd = isLocal() ? `./shannon logs ${workspace}` : `npx @keygraph/shannon@beta logs ${workspace}`;
1220
1220
  const reportsPath = path.join(workspacesDir, workspace);
1221
1221
  console.log(` Target: ${args.url}`);
1222
1222
  console.log(` Repository: ${repoPath}`);
@@ -1300,7 +1300,7 @@ async function uninstall() {
1300
1300
  force: true
1301
1301
  });
1302
1302
  p.log.success("All Shannon data has been removed.");
1303
- p.outro("Shannon has been uninstalled. Run `npx @keygraph/shannon setup` to start fresh.");
1303
+ p.outro("Shannon has been uninstalled. Run `npx @keygraph/shannon@beta setup` to start fresh.");
1304
1304
  }
1305
1305
  //#endregion
1306
1306
  //#region src/commands/workspaces.ts
@@ -1374,7 +1374,7 @@ function getVersion() {
1374
1374
  }
1375
1375
  function showHelp() {
1376
1376
  const mode = getMode();
1377
- const prefix = mode === "local" ? "./shannon" : "npx @keygraph/shannon";
1377
+ const prefix = mode === "local" ? "./shannon" : "npx @keygraph/shannon@beta";
1378
1378
  console.log(`
1379
1379
  Shannon - AI Penetration Testing Framework
1380
1380
 
@@ -1465,13 +1465,13 @@ function parseStartArgs(argv) {
1465
1465
  break;
1466
1466
  default:
1467
1467
  console.error(`Unknown option: ${arg}`);
1468
- console.error(`Run "${getMode() === "local" ? "./shannon" : "npx @keygraph/shannon"} help" for usage`);
1468
+ console.error(`Run "${getMode() === "local" ? "./shannon" : "npx @keygraph/shannon@beta"} help" for usage`);
1469
1469
  process.exit(1);
1470
1470
  }
1471
1471
  }
1472
1472
  if (!url || !repo) {
1473
1473
  console.error("ERROR: --url and --repo are required");
1474
- console.error(`Usage: ${getMode() === "local" ? "./shannon" : "npx @keygraph/shannon"} start -u <url> -r <path>`);
1474
+ console.error(`Usage: ${getMode() === "local" ? "./shannon" : "npx @keygraph/shannon@beta"} start -u <url> -r <path>`);
1475
1475
  process.exit(1);
1476
1476
  }
1477
1477
  return {
@@ -1501,7 +1501,7 @@ switch (command) {
1501
1501
  const workspaceId = args[1];
1502
1502
  if (!workspaceId) {
1503
1503
  console.error("ERROR: Workspace ID is required");
1504
- console.error(`Usage: ${getMode() === "local" ? "./shannon" : "npx @keygraph/shannon"} logs <workspace>`);
1504
+ console.error(`Usage: ${getMode() === "local" ? "./shannon" : "npx @keygraph/shannon@beta"} logs <workspace>`);
1505
1505
  process.exit(1);
1506
1506
  }
1507
1507
  logs(workspaceId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keygraph/shannon",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.2",
4
4
  "description": "Shannon - Autonomous white-box AI pentester for web applications and APIs by Keygraph",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",