-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
232 lines (232 loc) · 10.5 KB
/
Copy pathpackage.json
File metadata and controls
232 lines (232 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
{
"name": "@defconxt/nerf",
"version": "1.40.7",
"description": "NERF (New Experimental Research Foundation): AI Security Engineering Platform — https://nerf.dev",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/defconxt/NERF.git"
},
"homepage": "https://nerf.dev",
"bugs": {
"url": "https://github.com/defconxt/NERF/issues"
},
"type": "module",
"workspaces": [
"packages/*"
],
"bin": {
"nerf": "dist/loader.js"
},
"files": [
"dist",
"!dist/**/*.map",
"!dist/web/standalone",
"!dist/tests",
"!dist/__tests__",
"packages/pi-ai/dist",
"!packages/pi-ai/dist/**/*.map",
"!packages/pi-ai/dist/**/*.test.*",
"!packages/pi-ai/dist/**/__tests__",
"packages/pi-ai/package.json",
"packages/pi-ai/bedrock-provider.*",
"packages/pi-ai/oauth.*",
"packages/pi-agent-core/dist",
"!packages/pi-agent-core/dist/**/*.map",
"!packages/pi-agent-core/dist/**/*.test.*",
"!packages/pi-agent-core/dist/**/__tests__",
"packages/pi-agent-core/package.json",
"packages/pi-coding-agent/dist",
"!packages/pi-coding-agent/dist/**/*.map",
"!packages/pi-coding-agent/dist/**/*.test.*",
"!packages/pi-coding-agent/dist/**/__tests__",
"packages/pi-coding-agent/package.json",
"packages/pi-tui/dist",
"!packages/pi-tui/dist/**/*.map",
"!packages/pi-tui/dist/**/*.test.*",
"!packages/pi-tui/dist/**/__tests__",
"packages/pi-tui/package.json",
"packages/native/dist",
"!packages/native/dist/**/*.map",
"packages/native/package.json",
"packages/daemon/package.json",
"packages/mcp-server/package.json",
"packages/mcp-server/README.md",
"packages/rpc-client/package.json",
"packages/packages-bundle.js",
"pkg",
"dist/resources",
"cli/lib",
"knowledge",
"data",
"hooks",
"mappings",
"completions",
"scripts/postinstall.js",
"scripts/link-workspace-packages.cjs",
"scripts/ensure-workspace-builds.cjs",
"package.json",
"README.md"
],
"piConfig": {
"name": "nerf",
"configDir": ".nerf"
},
"engines": {
"node": ">=22.0.0"
},
"packageManager": "npm@10.9.3",
"scripts": {
"build:pi-tui": "npm run build -w @nerf/pi-tui",
"build:pi-ai": "npm run build -w @nerf/pi-ai",
"build:pi-agent-core": "npm run build -w @nerf/pi-agent-core",
"build:pi-coding-agent": "npm run build -w @nerf/pi-coding-agent",
"build:native-pkg": "npm run build -w @nerf/native",
"build:pi": "npm run build:native-pkg && npm run build:pi-tui && npm run build:pi-ai && npm run build:pi-agent-core && npm run build:pi-coding-agent",
"build": "npm run build:pi && tsc && npm run copy-resources && node scripts/build-web-if-stale.cjs",
"stage:web-host": "node scripts/stage-web-standalone.cjs",
"build:web-host": "npm --prefix web run build && npm run stage:web-host",
"copy-resources": "node scripts/copy-resources.cjs",
"test:compile": "node scripts/compile-tests.mjs",
"test:unit": "npm run test:compile && node --import ./scripts/dist-test-resolve.mjs --experimental-test-isolation=process --test-reporter=./scripts/test-reporter-compact.mjs --test 'dist-test/src/tests/*.test.js' 'dist-test/src/resources/extensions/nerf-engine/tests/*.test.js' 'dist-test/src/resources/extensions/nerf-engine/tests/*.test.mjs' 'dist-test/src/resources/extensions/shared/tests/*.test.js' 'dist-test/src/resources/extensions/claude-code-cli/tests/*.test.js' 'dist-test/src/resources/extensions/github-sync/tests/*.test.js' 'dist-test/src/resources/extensions/universal-config/tests/*.test.js' 'dist-test/src/resources/extensions/voice/tests/*.test.js'",
"test:packages": "node --test packages/pi-coding-agent/dist/core/*.test.js",
"test:marketplace": "NERF_TEST_CLONE_MARKETPLACES=1 node --import ./src/resources/extensions/nerf-engine/tests/resolve-ts.mjs --experimental-strip-types --test src/resources/extensions/nerf-engine/tests/claude-import-tui.test.ts src/resources/extensions/nerf-engine/tests/plugin-importer-live.test.ts src/tests/marketplace-discovery.test.ts",
"test:coverage": "c8 --reporter=text --reporter=lcov --exclude='src/resources/extensions/nerf-engine/tests/**' --exclude='src/tests/**' --exclude='scripts/**' --exclude='native/**' --exclude='node_modules/**' --check-coverage --statements=40 --lines=40 --branches=20 --functions=20 node --import ./src/resources/extensions/nerf-engine/tests/resolve-ts.mjs --experimental-strip-types --experimental-test-isolation=process --test src/resources/extensions/nerf-engine/tests/*.test.ts src/resources/extensions/nerf-engine/tests/*.test.mjs src/tests/*.test.ts src/resources/extensions/shared/tests/*.test.ts",
"test:integration": "node --import ./src/resources/extensions/nerf-engine/tests/resolve-ts.mjs --experimental-strip-types --test 'src/tests/integration/*.test.ts' 'src/resources/extensions/nerf-engine/tests/integration/*.test.ts' 'src/resources/extensions/async-jobs/*.test.ts' 'src/resources/extensions/browser-tools/tests/*.test.mjs'",
"pretest": "npm run typecheck:extensions",
"test": "npm run test:unit && npm run test:vitest && npm run test:integration",
"test:all": "npm run test:unit && npm run test:vitest && npm run test:nerf && npm run test:packages && npm run test:integration",
"test:smoke": "node --experimental-strip-types tests/smoke/run.ts",
"test:fixtures": "node --experimental-strip-types tests/fixtures/run.ts",
"test:fixtures:record": "NERF_FIXTURE_MODE=record node --experimental-strip-types tests/fixtures/record.ts",
"test:live": "NERF_LIVE_TESTS=1 node --experimental-strip-types tests/live/run.ts",
"test:capability": "bash tests/capability-validation/run.sh",
"test:browser-tools": "node --test src/resources/extensions/browser-tools/tests/browser-tools-unit.test.cjs src/resources/extensions/browser-tools/tests/browser-tools-integration.test.mjs",
"test:vitest": "vitest run --config cli/vitest.config.js --reporter=dot",
"test:nerf": "node --test 'src/tests/nerf/*.test.js'",
"test:native": "node --test packages/native/src/__tests__/grep.test.mjs",
"test:secret-scan": "node --import ./src/resources/extensions/nerf-engine/tests/resolve-ts.mjs --experimental-strip-types --test src/tests/secret-scan.test.ts",
"secret-scan": "bash scripts/secret-scan.sh",
"secret-scan:install-hook": "bash scripts/install-hooks.sh",
"build:native": "node native/scripts/build.js",
"build:native:dev": "node native/scripts/build.js --dev",
"benchmark:native": "node native/benchmarks/native-hot-paths.mjs",
"dev": "node scripts/dev.js",
"nerf": "node scripts/dev-cli.js",
"nerf:web": "npm run build:pi && npm run copy-resources && node scripts/build-web-if-stale.cjs && node scripts/dev-cli.js --web",
"nerf:web:stop": "node scripts/dev-cli.js web stop",
"nerf:web:stop:all": "node scripts/dev-cli.js web stop all",
"postinstall": "node scripts/link-workspace-packages.cjs && node scripts/ensure-workspace-builds.cjs && node scripts/postinstall.js",
"pi:install-global": "node scripts/install-pi-global.js",
"pi:uninstall-global": "node scripts/uninstall-pi-global.js",
"sync-pkg-version": "node scripts/sync-pkg-version.cjs",
"sync-platform-versions": "node native/scripts/sync-platform-versions.cjs",
"validate-pack": "node scripts/validate-pack.js",
"typecheck:extensions": "tsc --noEmit --project tsconfig.extensions.json",
"pipeline:version-stamp": "node scripts/version-stamp.mjs",
"release:changelog": "node scripts/generate-changelog.mjs",
"release:bump": "node scripts/bump-version.mjs",
"release:update-changelog": "node scripts/update-changelog.mjs",
"docker:build-sandbox": "docker build -f docker/Dockerfile.sandbox -t ghcr.io/defconxt/nerf .",
"prepublishOnly": "npm run sync-pkg-version && npm run sync-platform-versions && ([ \"$CI\" = 'true' ] || git diff --exit-code || (echo 'ERROR: version sync changed files — commit them before publishing' && exit 1)) && npm run build && npm run typecheck:extensions && npm run validate-pack",
"test:live-regression": "node --experimental-strip-types tests/live-regression/run.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.81.0",
"@anthropic-ai/vertex-sdk": "^0.14.4",
"@aws-sdk/client-bedrock-runtime": "^3.1021.0",
"@clack/prompts": "^1.2.0",
"@extism/extism": "^2.0.0-rc13",
"@google/genai": "^1.40.0",
"@mariozechner/jiti": "^2.6.2",
"@mistralai/mistralai": "^2.1.2",
"@modelcontextprotocol/sdk": "^1.29.0",
"@octokit/rest": "^22.0.1",
"@silvia-odwyer/photon-node": "^0.3.4",
"@sinclair/typebox": "^0.34.41",
"@smithy/node-http-handler": "^4.5.1",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"better-sqlite3": "^12.8.0",
"chalk": "^5.6.2",
"chokidar": "^5.0.0",
"diff": "^8.0.2",
"discord.js": "^14.26.0",
"extract-zip": "^2.0.1",
"file-type": "^21.1.1",
"get-east-asian-width": "^1.3.0",
"glob": "^13.0.1",
"hosted-git-info": "^9.0.2",
"ignore": "^7.0.5",
"marked": "^15.0.12",
"mime-types": "^3.0.1",
"minimatch": "^10.2.5",
"openai": "^6.26.0",
"picocolors": "^1.1.1",
"playwright": "^1.59.0",
"proper-lockfile": "^4.1.2",
"proxy-agent": "^6.5.0",
"sharp": "^0.34.5",
"strip-ansi": "^7.1.0",
"undici": "^7.24.2",
"ws": "^8.19.0",
"yaml": "^2.8.2"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/mime-types": "^2.1.4",
"@types/node": "^24.12.0",
"c8": "^11.0.0",
"esbuild": "^0.25.12",
"jiti": "^2.6.1",
"typescript": "^5.4.0",
"vitest": "^4.1.2"
},
"optionalDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.89",
"@nerf-build/engine-darwin-arm64": ">=2.10.2",
"@nerf-build/engine-darwin-x64": ">=2.10.2",
"@nerf-build/engine-linux-arm64-gnu": ">=2.10.2",
"@nerf-build/engine-linux-x64-gnu": ">=2.10.2",
"@nerf-build/engine-win32-x64-msvc": ">=2.10.2",
"fsevents": "~2.3.3",
"koffi": "^2.9.0"
},
"overrides": {
"gaxios": "7.1.4",
"discord.js": {
"undici": "6.24.1"
},
"lodash": "^4.18.0"
},
"pi": {
"extensions": [
"./dist/resources/extensions/nerf/index.js"
],
"skills": [
"./dist/resources/skills"
]
},
"keywords": [
"security",
"pentest",
"red-team",
"blue-team",
"incident-response",
"threat-intelligence",
"osint",
"detection-engineering",
"sigma",
"compliance",
"sast",
"ai-agent",
"llm",
"cli",
"security-tool",
"vulnerability-scanner",
"forensics",
"purple-team",
"devsecops",
"nerf"
]
}