codeprobe-scanner 1.0.0 → 1.0.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.
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { spawn } = require('child_process');
4
+ const path = require('path');
5
+
6
+ // Get the package root directory
7
+ const packageRoot = path.resolve(__dirname, '..');
8
+
9
+ // Run bun with the CLI
10
+ const args = process.argv.slice(2);
11
+ const child = spawn('bun', ['run', path.join(packageRoot, 'src/cli-server.ts'), ...args], {
12
+ stdio: 'inherit',
13
+ shell: true,
14
+ });
15
+
16
+ child.on('exit', (code) => {
17
+ process.exit(code);
18
+ });
@@ -88,4 +88,4 @@ if [ ! -f "$PACKAGE_ROOT/package.json" ]; then
88
88
  fi
89
89
 
90
90
  # Run CodeProbe CLI
91
- "$BUN_BIN" run "$PACKAGE_ROOT/src/cli/index.ts" scan "$@"
91
+ "$BUN_BIN" run "$PACKAGE_ROOT/src/cli-server.ts" "$@"
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "codeprobe-scanner",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Automated vulnerability scanner with exploit verification and video evidence",
5
5
  "type": "module",
6
6
  "bin": {
7
- "codeprobe": "bin/install-and-run.sh"
7
+ "codeprobe": "bin/codeprobe.js"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"