@nathapp/nax 0.83.1 → 0.83.3

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/nax.js +24308 -22307
  2. package/package.json +39 -32
package/package.json CHANGED
@@ -1,46 +1,48 @@
1
1
  {
2
2
  "name": "@nathapp/nax",
3
- "version": "0.83.1",
3
+ "version": "0.83.3",
4
4
  "description": "AI Coding Agent Orchestrator — loops until done",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "nax": "./dist/nax.js"
8
8
  },
9
9
  "scripts": {
10
- "prepare": "git config core.hooksPath .githooks",
11
10
  "dev": "bun run bin/nax.ts",
12
11
  "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
12
  "typecheck": "bun x tsc --noEmit && bun x tsc --noEmit -p tsconfig.test.json",
14
13
  "lint": "bun run lint:biome && bun run lint:checks",
15
14
  "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:complexity && 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
+ "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:complexity && 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 && bun run check:nax-ai-pin && bun run check:package-boundaries && bun run check:usage-vocabulary",
17
16
  "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",
18
17
  "lint:fix": "bun x biome check --write src/ bin/ test/ scripts/",
19
- "check:no-real-global-nax": "bun run scripts/check-no-real-global-nax.ts",
20
- "check:feature-dir-ssot": "bun run scripts/check-feature-dir-ssot.ts",
18
+ "check:no-real-global-nax": "bun run ../repo-tooling/scripts/check-no-real-global-nax.ts",
19
+ "check:feature-dir-ssot": "bun run ../repo-tooling/scripts/check-feature-dir-ssot.ts",
21
20
  "check:alias-internals": "bun run scripts/check-alias-internals.ts",
22
- "check:import-cycles": "bun run scripts/check-import-cycles.ts",
23
- "check:import-cycles:update": "bun run scripts/check-import-cycles.ts --update-baseline",
24
- "check:nax-error": "bun run scripts/check-nax-error.ts",
25
- "check:nax-error:update": "bun run scripts/check-nax-error.ts --update-baseline",
21
+ "check:import-cycles": "bun run ../repo-tooling/scripts/check-import-cycles.ts",
22
+ "check:import-cycles:update": "bun run ../repo-tooling/scripts/check-import-cycles.ts --update-baseline",
23
+ "check:package-boundaries": "bun run scripts/check-package-boundaries.ts",
24
+ "check:usage-vocabulary": "bun run scripts/check-usage-vocabulary.ts",
25
+ "check:nax-error": "bun run ../repo-tooling/scripts/check-nax-error.ts",
26
+ "check:nax-error:update": "bun run ../repo-tooling/scripts/check-nax-error.ts --update-baseline",
26
27
  "check:logger-storyid": "bun run scripts/check-logger-storyid.ts",
27
28
  "check:logger-storyid:update": "bun run scripts/check-logger-storyid.ts --update-baseline",
28
29
  "check:log-format-layering": "bun run scripts/check-log-format-layering.ts",
29
- "check:file-sizes": "bun run scripts/check-file-sizes.ts",
30
- "check:file-sizes:update": "bun run scripts/check-file-sizes.ts --update-baseline",
31
- "check:complexity": "bun run scripts/check-complexity.ts",
32
- "check:complexity:update": "bun run scripts/check-complexity.ts --update-baseline",
33
- "check:no-control-bytes": "bun run scripts/check-no-control-bytes.ts",
30
+ "check:file-sizes": "bun run ../repo-tooling/scripts/check-file-sizes.ts",
31
+ "check:file-sizes:update": "bun run ../repo-tooling/scripts/check-file-sizes.ts --update-baseline",
32
+ "check:complexity": "bun run ../repo-tooling/scripts/check-complexity.ts",
33
+ "check:complexity:update": "bun run ../repo-tooling/scripts/check-complexity.ts --update-baseline",
34
+ "check:no-control-bytes": "bun run ../repo-tooling/scripts/check-no-control-bytes.ts",
34
35
  "check:review-prompts": "bun run scripts/check-review-prompts-generated.ts",
35
- "check:nax-ai-imports": "bun run scripts/check-nax-ai-imports.ts",
36
- "check:sandbox-imports": "bun run scripts/check-sandbox-imports.ts",
37
- "check:git-spawn-env": "bun run scripts/check-git-spawn-env.ts",
36
+ "check:nax-ai-imports": "bun run ../repo-tooling/scripts/check-nax-ai-imports.ts",
37
+ "check:nax-ai-pin": "bun run scripts/check-nax-ai-pin.ts",
38
+ "check:sandbox-imports": "bun run ../repo-tooling/scripts/check-sandbox-imports.ts",
39
+ "check:git-spawn-env": "bun run ../repo-tooling/scripts/check-git-spawn-env.ts",
38
40
  "check:bundle-externals": "bun run scripts/check-bundle-externals.ts",
39
41
  "check:op-tool-capability": "bun run scripts/check-op-tool-capability.ts",
40
42
  "check:op-tool-capability:update": "bun run scripts/check-op-tool-capability.ts --update-baseline",
41
43
  "check:nax-artifacts-untracked": "bun run scripts/check-nax-artifacts-untracked.ts",
42
44
  "check:story-workdir-access": "bun run scripts/check-story-workdir-access.ts",
43
- "check:package-frame-derivation": "bun run scripts/check-package-frame-derivation.ts",
45
+ "check:package-frame-derivation": "bun run ../repo-tooling/scripts/check-package-frame-derivation.ts",
44
46
  "check:config-profile-threading": "bun run scripts/check-config-profile-threading.ts",
45
47
  "check:dispatch-field-forwarding": "bun run scripts/check-dispatch-field-forwarding.ts",
46
48
  "check:bash-dispatch-ask": "bun run scripts/check-bash-dispatch-ask.ts",
@@ -57,24 +59,24 @@
57
59
  "test:integration": "bun test ./test/integration/ --timeout=60000",
58
60
  "test:ui": "bun test ./test/ui/ --timeout=60000",
59
61
  "test:e2e": "timeout -k 5s 180s bun test test/e2e/ --timeout=60000",
60
- "test:coverage": "bun run scripts/check-coverage.ts",
61
- "test:coverage:report": "bun run scripts/check-coverage.ts --report",
62
- "test:coverage:update": "bun run scripts/check-coverage.ts --update-baseline",
63
- "test:coverage:list": "bun run scripts/check-coverage.ts --list",
64
- "report:test-consolidation": "bun run scripts/report-test-consolidation.ts",
62
+ "test:coverage": "bun run ../repo-tooling/scripts/check-coverage.ts",
63
+ "test:coverage:report": "bun run ../repo-tooling/scripts/check-coverage.ts --report",
64
+ "test:coverage:update": "bun run ../repo-tooling/scripts/check-coverage.ts --update-baseline",
65
+ "test:coverage:list": "bun run ../repo-tooling/scripts/check-coverage.ts --list",
66
+ "report:test-consolidation": "bun run ../repo-tooling/scripts/report-test-consolidation.ts",
65
67
  "check:test-mocks": "bun scripts/quiet-run.ts bun scripts/check-inline-test-mocks.ts --strict",
66
68
  "check:dispatch-context": "bun scripts/quiet-run.ts bash scripts/check-dispatch-context.sh",
67
69
  "check:naxconfig-cast": "bun scripts/quiet-run.ts bash scripts/check-no-silent-naxconfig-cast.sh",
68
70
  "check:runtime-cleanup": "bun scripts/quiet-run.ts bash scripts/check-runtime-cleanup.sh",
69
71
  "check:adapter-no-config-import": "bun scripts/quiet-run.ts bash scripts/check-adapter-no-config-import.sh",
70
- "check:permission-mode-ssot": "bun scripts/quiet-run.ts bun run scripts/check-permission-mode-ssot.ts",
72
+ "check:permission-mode-ssot": "bun scripts/quiet-run.ts bun run ../repo-tooling/scripts/check-permission-mode-ssot.ts",
71
73
  "check:worktree-id-ssot": "bun scripts/quiet-run.ts bun run scripts/check-worktree-id-ssot.ts",
72
- "check:test-as-unknown-as": "bun scripts/quiet-run.ts bun run scripts/check-test-as-unknown-as.ts",
73
- "check:test-as-unknown-as:update": "bun run scripts/check-test-as-unknown-as.ts --update-baseline",
74
- "check:test-escape-hatches": "bun scripts/quiet-run.ts bun run scripts/check-test-escape-hatches.ts",
75
- "check:test-escape-hatches:update": "bun run scripts/check-test-escape-hatches.ts --update-baseline",
76
- "check:test-satellites": "bun scripts/quiet-run.ts bun run scripts/check-test-satellites.ts",
77
- "check:test-satellites:update": "bun run scripts/check-test-satellites.ts --update-baseline",
74
+ "check:test-as-unknown-as": "bun scripts/quiet-run.ts bun run ../repo-tooling/scripts/check-test-as-unknown-as.ts",
75
+ "check:test-as-unknown-as:update": "bun run ../repo-tooling/scripts/check-test-as-unknown-as.ts --update-baseline",
76
+ "check:test-escape-hatches": "bun scripts/quiet-run.ts bun run ../repo-tooling/scripts/check-test-escape-hatches.ts",
77
+ "check:test-escape-hatches:update": "bun run ../repo-tooling/scripts/check-test-escape-hatches.ts --update-baseline",
78
+ "check:test-satellites": "bun scripts/quiet-run.ts bun run ../repo-tooling/scripts/check-test-satellites.ts",
79
+ "check:test-satellites:update": "bun run ../repo-tooling/scripts/check-test-satellites.ts --update-baseline",
78
80
  "check:gate-reachability": "bun scripts/quiet-run.ts bun run scripts/check-gate-reachability.ts",
79
81
  "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",
80
82
  "check:all": "bun run --silent lint:biome && bun run --silent check:all-without-biome",
@@ -96,10 +98,14 @@
96
98
  "devDependencies": {
97
99
  "@biomejs/biome": "2.5.10",
98
100
  "@types/bun": "^1.3.8",
101
+ "bun-types": "^1.3.9",
99
102
  "@types/react": "^19.2.14",
100
103
  "ink-testing-library": "^4.0.0",
101
104
  "react-devtools-core": "file:./stubs/react-devtools-core",
102
- "typescript": "^7.0.2"
105
+ "typescript": "^7.0.2",
106
+ "@nathapp/nax-agent": "workspace:*",
107
+ "@nathapp/nax-repo-tooling": "workspace:*",
108
+ "@nathapp/nax-test-kit": "workspace:*"
103
109
  },
104
110
  "license": "MIT",
105
111
  "author": "William Khoo",
@@ -117,7 +123,8 @@
117
123
  ],
118
124
  "repository": {
119
125
  "type": "git",
120
- "url": "https://github.com/nathapp-io/nax.git"
126
+ "url": "https://github.com/nathapp-io/nax.git",
127
+ "directory": "packages/nax"
121
128
  },
122
129
  "homepage": "https://github.com/nathapp-io/nax",
123
130
  "bugs": {