sdd-engine 0.1.0 → 0.1.1
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 +14 -1
- package/dist/engine/cli.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,7 +20,16 @@ npm install -g sdd-engine
|
|
|
20
20
|
sdd setup # downloads the browser the engine drives, once
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
If the global install fails with `EACCES`, your user cannot write to npm's
|
|
24
|
+
global folder. That is the default on Linux with the system Node and on the
|
|
25
|
+
official Docker image. Run it with `npx` instead, which needs no install:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx sdd-engine setup
|
|
29
|
+
npx sdd-engine --help
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Needs Node 20.11 or later, and the [Claude Code](https://claude.com/claude-code)
|
|
24
33
|
CLI installed and logged in. The engine calls models through `claude -p`, so a
|
|
25
34
|
run is billed to whatever that CLI is logged in with.
|
|
26
35
|
|
|
@@ -154,6 +163,10 @@ Chosen by environment variable, with defaults:
|
|
|
154
163
|
|
|
155
164
|
## Develop
|
|
156
165
|
|
|
166
|
+
Working on the engine itself needs Node 22.18 or later, because the tests and
|
|
167
|
+
the example app are TypeScript that Node runs directly. The published command
|
|
168
|
+
is compiled and runs on Node 20.11 or later.
|
|
169
|
+
|
|
157
170
|
```bash
|
|
158
171
|
npm install
|
|
159
172
|
npm run typecheck
|
package/dist/engine/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ is ever reached.
|
|
|
37
37
|
Exit codes: 0 report written, 1 runs failed or the engine hit an error (the
|
|
38
38
|
report says which), 2 bad arguments, 3 budget reached.
|
|
39
39
|
|
|
40
|
-
Needs: Node
|
|
40
|
+
Needs: Node 20.11 or later, the browser from "sdd setup", and the claude CLI
|
|
41
41
|
logged in.`;
|
|
42
42
|
async function version() {
|
|
43
43
|
// package.json sits one level above this file in the source tree and two
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sdd-engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Simulation Driven Development engine: simulated visitors use a local app and score it against thresholds",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"LICENSE"
|
|
19
19
|
],
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=20.11"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"prebuild": "node -e \"import('node:fs').then(fs => fs.rmSync('dist', { recursive: true, force: true }))\"",
|