@nathapp/nax 0.69.7 → 0.69.9
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/README.md +12 -6
- package/dist/nax.js +327 -286
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,7 +83,6 @@ See [docs/](docs/) for full guides on configuration, test strategies, monorepo s
|
|
|
83
83
|
| [`nax precheck`](docs/guides/cli-reference.md#nax-precheck) | Validate project readiness |
|
|
84
84
|
| [`nax status`](docs/guides/cli-reference.md#nax-status) | Show live run progress |
|
|
85
85
|
| [`nax logs`](docs/guides/cli-reference.md#nax-logs) | Stream or query run logs |
|
|
86
|
-
| [`nax diagnose`](docs/guides/cli-reference.md#nax-diagnose) | Analyze failures, suggest fixes |
|
|
87
86
|
| [`nax generate`](docs/guides/cli-reference.md#nax-generate) | Generate `.nax/` files for all packages in a monorepo |
|
|
88
87
|
| [`nax prompts`](docs/guides/cli-reference.md#nax-prompts) | Print prompt snapshots for debugging |
|
|
89
88
|
| [`nax runs`](docs/guides/cli-reference.md#nax-runs) | List recorded run metadata |
|
|
@@ -100,10 +99,15 @@ For full flag details, see the [CLI Reference](docs/guides/cli-reference.md).
|
|
|
100
99
|
```json
|
|
101
100
|
{
|
|
102
101
|
"execution": {
|
|
103
|
-
"testStrategy": "three-session-tdd", // How to write tests (see Test Strategies)
|
|
104
102
|
"maxIterations": 5,
|
|
105
|
-
"
|
|
106
|
-
"
|
|
103
|
+
"permissionProfile": "unrestricted", // "unrestricted" | "safe" | "scoped"
|
|
104
|
+
"storyIsolation": "shared" // "shared" | "worktree"
|
|
105
|
+
},
|
|
106
|
+
"tdd": {
|
|
107
|
+
"strategy": "auto" // How to write tests (see Test Strategies)
|
|
108
|
+
},
|
|
109
|
+
"routing": {
|
|
110
|
+
"strategy": "keyword" // "keyword" | "llm"
|
|
107
111
|
},
|
|
108
112
|
"quality": {
|
|
109
113
|
"commands": {
|
|
@@ -113,7 +117,9 @@ For full flag details, see the [CLI Reference](docs/guides/cli-reference.md).
|
|
|
113
117
|
}
|
|
114
118
|
},
|
|
115
119
|
"hooks": {
|
|
116
|
-
"
|
|
120
|
+
"hooks": {
|
|
121
|
+
"on-all-stories-complete": { "command": "npm run build" } // Fire after all stories pass
|
|
122
|
+
}
|
|
117
123
|
}
|
|
118
124
|
}
|
|
119
125
|
```
|
|
@@ -166,7 +172,7 @@ See [Monorepo Guide](docs/guides/monorepo.md).
|
|
|
166
172
|
|
|
167
173
|
### Hooks
|
|
168
174
|
|
|
169
|
-
Lifecycle hooks fire at key points (
|
|
175
|
+
Lifecycle hooks fire at key points (`on-start`, `on-story-complete`, `on-all-stories-complete`, `on-complete`, `on-final-regression-fail`, and more). Use them to trigger deployments, send notifications, or integrate with external systems.
|
|
170
176
|
|
|
171
177
|
See [Hooks Guide](docs/guides/hooks.md).
|
|
172
178
|
|