pentesting 0.73.5 → 0.73.7

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.
@@ -3,8 +3,8 @@ import {
3
3
  clearWorkspace,
4
4
  loadState,
5
5
  saveState
6
- } from "./chunk-EIPVHHPI.js";
7
- import "./chunk-I52SWXYV.js";
6
+ } from "./chunk-FJ7PENUK.js";
7
+ import "./chunk-KAUE3MSR.js";
8
8
  export {
9
9
  StateSerializer,
10
10
  clearWorkspace,
@@ -12,7 +12,7 @@ import {
12
12
  hasProcess,
13
13
  logEvent,
14
14
  setProcess
15
- } from "./chunk-I52SWXYV.js";
15
+ } from "./chunk-KAUE3MSR.js";
16
16
  export {
17
17
  clearAllProcesses,
18
18
  deleteProcess,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.73.5",
3
+ "version": "0.73.7",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -17,24 +17,26 @@
17
17
  "dev": "npm run build && node dist/main.js",
18
18
  "dev:tsx": "tsx src/platform/tui/main.tsx",
19
19
  "build": "NODE_OPTIONS='--max-old-space-size=4096' tsup",
20
- "start": "node dist/main.js",
20
+ "start": "npm run docker:start --",
21
+ "start:local": "node dist/main.js",
21
22
  "test": "sh -c 'mkdir -p .vitest; TMPDIR=.vitest npx vitest run \"$@\"; status=$?; rm -rf .vitest .pentesting; exit $status' --",
22
23
  "test:watch": "vitest",
23
24
  "lint": "tsc --noEmit",
24
- "verify": "npm run test && npm run build",
25
+ "verify": "npm run lint && npm run test && npm run build",
25
26
  "verify:docker": "npm run docker:local && bash test.sh",
26
- "check": "npm run verify && npm run verify:docker",
27
+ "check": "docker system prune -af --volumes && TMPDIR=/tmp npm run test && npm run build && npm run docker:local && bash test.sh",
27
28
  "check:ci": "npm run verify && npm run verify:docker",
28
29
  "check:clean": "docker system prune -af --volumes && npm run check:ci",
29
- "prepublishOnly": "npm run build",
30
+ "prepublishOnly": "npm run verify",
30
31
  "docker:build": "docker buildx build -f Dockerfile.base --platform linux/amd64,linux/arm64 -t agnusdei1207/pentesting-base:latest --push .",
31
32
  "release": "npm run release:patch && npm run release:docker",
32
33
  "publish:token": "npm publish --access public",
33
34
  "release:patch": "npm version patch && npm run build && npm run publish:token",
34
35
  "release:minor": "npm version minor && npm run build && npm run publish:token",
35
36
  "release:major": "npm version major && npm run build && npm run publish:token",
36
- "docker:local": "docker build -f Dockerfile -t agnusdei1207/pentesting:latest .",
37
- "release:docker": "docker buildx build --no-cache -f Dockerfile --platform linux/amd64,linux/arm64 -t agnusdei1207/pentesting:latest --push ."
37
+ "docker:local": "docker buildx build --load -f Dockerfile -t agnusdei1207/pentesting:latest .",
38
+ "docker:start": "npm run docker:local && docker run -it --rm -e PENTEST_API_KEY -e PENTEST_BASE_URL -e PENTEST_MODEL -e SEARCH_API_KEY -e SEARCH_API_URL -e PENTEST_SCOPE_MODE -e PENTEST_APPROVAL_MODE -e PENTEST_TOR agnusdei1207/pentesting:latest",
39
+ "release:docker": "bash scripts/docker-build-release.sh"
38
40
  },
39
41
  "repository": {
40
42
  "type": "git",
@@ -42,7 +44,7 @@
42
44
  },
43
45
  "homepage": "https://agnusdei1207.github.io/brainscience/pentesting",
44
46
  "bugs": {
45
- "url": "https://agnusdei1207.github.io/brainscience/pentesting"
47
+ "url": "https://github.com/agnusdei1207"
46
48
  },
47
49
  "keywords": [
48
50
  "penetration-testing",