@nathapp/nax 0.82.0-canary.7 → 0.82.0
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/CHANGELOG.md +76 -0
- package/README.md +24 -1
- package/dist/nax.js +108161 -106451
- package/package.json +35 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nax",
|
|
3
|
-
"version": "0.82.0
|
|
3
|
+
"version": "0.82.0",
|
|
4
4
|
"description": "AI Coding Agent Orchestrator — loops until done",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"prepare": "git config core.hooksPath .githooks",
|
|
11
11
|
"dev": "bun run bin/nax.ts",
|
|
12
|
-
"build": "bun build bin/nax.ts --outdir dist --target bun --external \"@nathapp/nax-ai\" --define \"GIT_COMMIT=\\\"$(git rev-parse --short HEAD)\\\"\"",
|
|
12
|
+
"build": "bun build bin/nax.ts --outdir dist --target bun --external \"@nathapp/nax-ai\" --external \"@anthropic-ai/sandbox-runtime\" --define \"GIT_COMMIT=\\\"$(git rev-parse --short HEAD)\\\"\"",
|
|
13
13
|
"typecheck": "bun x tsc --noEmit && bun x tsc --noEmit -p tsconfig.test.json",
|
|
14
|
-
"lint": "bun
|
|
14
|
+
"lint": "bun run lint:biome && bun run lint:checks",
|
|
15
|
+
"lint:biome": "bun scripts/quiet-run.ts bun x biome check --error-on-warnings --diagnostic-level=warn src/ bin/ test/ scripts/",
|
|
16
|
+
"lint:checks": "bun run check:no-real-global-nax && bun run check:feature-dir-ssot && bun run check:alias-internals && bun run check:import-cycles && bun run check:nax-error && bun run check:logger-storyid && bun run check:log-format-layering && bun run check:file-sizes && bun run check:no-control-bytes && bun run check:review-prompts && bun run check:nax-ai-imports && bun run check:sandbox-imports && bun run check:git-spawn-env && bun run check:bundle-externals && bun run check:op-tool-capability && bun run check:nax-artifacts-untracked && bun run check:story-workdir-access && bun run check:package-frame-derivation && bun run check:config-profile-threading && bun run check:dispatch-field-forwarding && bun run check:bash-dispatch-ask && bun run check:test-satellites",
|
|
15
17
|
"lint:json": "bun x biome check --error-on-warnings src/ bin/ test/ scripts/ --reporter json && bun run check:nax-error 1>&2 && bun run check:logger-storyid 1>&2",
|
|
16
18
|
"lint:fix": "bun x biome check --write src/ bin/ test/ scripts/",
|
|
17
19
|
"check:no-real-global-nax": "bun run scripts/check-no-real-global-nax.ts",
|
|
@@ -29,10 +31,18 @@
|
|
|
29
31
|
"check:no-control-bytes": "bun run scripts/check-no-control-bytes.ts",
|
|
30
32
|
"check:review-prompts": "bun run scripts/check-review-prompts-generated.ts",
|
|
31
33
|
"check:nax-ai-imports": "bun run scripts/check-nax-ai-imports.ts",
|
|
34
|
+
"check:sandbox-imports": "bun run scripts/check-sandbox-imports.ts",
|
|
35
|
+
"check:git-spawn-env": "bun run scripts/check-git-spawn-env.ts",
|
|
32
36
|
"check:bundle-externals": "bun run scripts/check-bundle-externals.ts",
|
|
33
37
|
"check:op-tool-capability": "bun run scripts/check-op-tool-capability.ts",
|
|
34
38
|
"check:op-tool-capability:update": "bun run scripts/check-op-tool-capability.ts --update-baseline",
|
|
35
|
-
"check:
|
|
39
|
+
"check:nax-artifacts-untracked": "bun run scripts/check-nax-artifacts-untracked.ts",
|
|
40
|
+
"check:story-workdir-access": "bun run scripts/check-story-workdir-access.ts",
|
|
41
|
+
"check:package-frame-derivation": "bun run scripts/check-package-frame-derivation.ts",
|
|
42
|
+
"check:config-profile-threading": "bun run scripts/check-config-profile-threading.ts",
|
|
43
|
+
"check:dispatch-field-forwarding": "bun run scripts/check-dispatch-field-forwarding.ts",
|
|
44
|
+
"check:bash-dispatch-ask": "bun run scripts/check-bash-dispatch-ask.ts",
|
|
45
|
+
"check:rules-drift": "bun scripts/quiet-run.ts bun run scripts/check-rules-drift.ts",
|
|
36
46
|
"gen:review-prompts": "bun run scripts/generate-review-prompts.ts",
|
|
37
47
|
"release": "bun scripts/release.ts",
|
|
38
48
|
"test": "AGENT=1 bun run scripts/run-tests.ts",
|
|
@@ -49,39 +59,44 @@
|
|
|
49
59
|
"test:coverage:report": "bun run scripts/check-coverage.ts --report",
|
|
50
60
|
"test:coverage:update": "bun run scripts/check-coverage.ts --update-baseline",
|
|
51
61
|
"test:coverage:list": "bun run scripts/check-coverage.ts --list",
|
|
52
|
-
"report:test-
|
|
53
|
-
"
|
|
54
|
-
"check:
|
|
55
|
-
"check:
|
|
56
|
-
"check:
|
|
57
|
-
"check:
|
|
58
|
-
"check:
|
|
59
|
-
"check:
|
|
60
|
-
"check:test-as-unknown-as": "bun run scripts/check-test-as-unknown-as.ts",
|
|
62
|
+
"report:test-consolidation": "bun run scripts/report-test-consolidation.ts",
|
|
63
|
+
"check:test-mocks": "bun scripts/quiet-run.ts bun scripts/check-inline-test-mocks.ts --strict",
|
|
64
|
+
"check:dispatch-context": "bun scripts/quiet-run.ts bash scripts/check-dispatch-context.sh",
|
|
65
|
+
"check:naxconfig-cast": "bun scripts/quiet-run.ts bash scripts/check-no-silent-naxconfig-cast.sh",
|
|
66
|
+
"check:runtime-cleanup": "bun scripts/quiet-run.ts bash scripts/check-runtime-cleanup.sh",
|
|
67
|
+
"check:adapter-no-config-import": "bun scripts/quiet-run.ts bash scripts/check-adapter-no-config-import.sh",
|
|
68
|
+
"check:permission-mode-ssot": "bun scripts/quiet-run.ts bun run scripts/check-permission-mode-ssot.ts",
|
|
69
|
+
"check:worktree-id-ssot": "bun scripts/quiet-run.ts bun run scripts/check-worktree-id-ssot.ts",
|
|
70
|
+
"check:test-as-unknown-as": "bun scripts/quiet-run.ts bun run scripts/check-test-as-unknown-as.ts",
|
|
61
71
|
"check:test-as-unknown-as:update": "bun run scripts/check-test-as-unknown-as.ts --update-baseline",
|
|
62
|
-
"check:test-escape-hatches": "bun run scripts/check-test-escape-hatches.ts",
|
|
72
|
+
"check:test-escape-hatches": "bun scripts/quiet-run.ts bun run scripts/check-test-escape-hatches.ts",
|
|
63
73
|
"check:test-escape-hatches:update": "bun run scripts/check-test-escape-hatches.ts --update-baseline",
|
|
64
|
-
"check:
|
|
65
|
-
"check:
|
|
74
|
+
"check:test-satellites": "bun scripts/quiet-run.ts bun run scripts/check-test-satellites.ts",
|
|
75
|
+
"check:test-satellites:update": "bun run scripts/check-test-satellites.ts --update-baseline",
|
|
76
|
+
"check:gate-reachability": "bun scripts/quiet-run.ts bun run scripts/check-gate-reachability.ts",
|
|
77
|
+
"check:all-without-biome": "bun scripts/quiet-run.ts bun run --silent lint:checks && bun run --silent check:test-mocks && bun run --silent check:dispatch-context && bun run --silent check:naxconfig-cast && bun run --silent check:runtime-cleanup && bun run --silent check:adapter-no-config-import && bun run --silent check:permission-mode-ssot && bun run --silent check:worktree-id-ssot && bun run --silent check:test-as-unknown-as && bun run --silent check:test-escape-hatches && bun run --silent check:rules-drift && bun run --silent check:gate-reachability",
|
|
78
|
+
"check:all": "bun run --silent lint:biome && bun run --silent check:all-without-biome",
|
|
66
79
|
"prepublishOnly": "bun run build",
|
|
67
80
|
"test:full": "FULL=1 NAX_PRECHECK=1 bun test test/ --timeout=60000",
|
|
68
81
|
"spec:lint": "bun run scripts/spec-lint.ts"
|
|
69
82
|
},
|
|
70
83
|
"dependencies": {
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
84
|
+
"@anthropic-ai/sandbox-runtime": "0.0.77",
|
|
85
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
86
|
+
"@nathapp/nax-ai": "0.1.16",
|
|
73
87
|
"chalk": "^5.6.2",
|
|
74
88
|
"commander": "^13.1.0",
|
|
75
89
|
"ink": "^6.7.0",
|
|
76
90
|
"ink-spinner": "^5.0.0",
|
|
77
|
-
"ink-testing-library": "^4.0.0",
|
|
78
91
|
"react": "^19.2.4",
|
|
79
92
|
"zod": "^4.3.6"
|
|
80
93
|
},
|
|
81
94
|
"devDependencies": {
|
|
82
95
|
"@biomejs/biome": "2.5.10",
|
|
83
96
|
"@types/bun": "^1.3.8",
|
|
84
|
-
"react
|
|
97
|
+
"@types/react": "^19.2.14",
|
|
98
|
+
"ink-testing-library": "^4.0.0",
|
|
99
|
+
"react-devtools-core": "file:./stubs/react-devtools-core",
|
|
85
100
|
"typescript": "^7.0.2"
|
|
86
101
|
},
|
|
87
102
|
"license": "MIT",
|