automata-cli 0.6.0-develop.232 → 0.6.0-develop.241

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/README.md +11 -1
  2. package/package.json +15 -9
package/README.md CHANGED
@@ -137,7 +137,11 @@ One tick of the autonomous loop: answer the open issues whose newest message fro
137
137
 
138
138
  ### Prerequisites
139
139
 
140
- - Node.js LTS (20+)
140
+ - Node.js `^22.13.0 || ^24.0.0 || >=26.0.0` — npm and the tests are the narrow constraint here, not the CLI.
141
+ The **published** floor is 22.12 (`engines.node`, set by `commander` and `ink`), but the dev toolchain is stricter:
142
+ `eslint@10` needs `^20.19.0 || ^22.13.0 || >=24` and `vitest@5` needs `^22.12.0 || ^24.0.0 || >=26.0.0`, so their
143
+ intersection excludes Node 22.12, 23 and 25. Node 24 LTS is what CI runs and the safe choice.
144
+ See [docs/maintenance.md](docs/maintenance.md).
141
145
  - npm
142
146
 
143
147
  ### Setup
@@ -165,9 +169,15 @@ git submodule update --init --recursive
165
169
  | `npm run lint` | Lint source files with ESLint |
166
170
  | `npm run typecheck` | Type-check with tsc (no emit) |
167
171
  | `npm run format` | Check formatting with Prettier |
172
+ | `npm run audit:prod` | Audit the dependencies that ship — also runs via `prepublishOnly`, so an advisory blocks publishing |
173
+ | `npm run audit:all` | Audit the whole tree, dev toolchain included (advisory only) |
168
174
 
169
175
  Agent plugins are vendored as a submodule and registered with Claude Code — see [docs/plugins.md](docs/plugins.md).
170
176
 
177
+ ### Maintenance
178
+
179
+ Dependency-refresh policy, the supported Node.js floor, what the publish-time audit gate blocks on, and the standing upgrade exceptions are documented in [docs/maintenance.md](docs/maintenance.md).
180
+
171
181
  ## License
172
182
 
173
183
  [MIT](LICENSE)
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "automata-cli",
3
- "version": "0.6.0-develop.232",
3
+ "version": "0.6.0-develop.241",
4
4
  "description": "Automata CLI tool",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=22.12.0"
8
+ },
6
9
  "bin": {
7
10
  "automata": "./dist/index.js"
8
11
  },
@@ -15,6 +18,9 @@
15
18
  "lint": "eslint src/",
16
19
  "typecheck": "tsc --noEmit",
17
20
  "format": "prettier --check src/",
21
+ "audit:prod": "npm audit --omit=dev",
22
+ "audit:all": "npm audit",
23
+ "prepublishOnly": "npm run audit:prod",
18
24
  "test": "npm run build && vitest run tests/unit",
19
25
  "test:unit": "vitest run tests/unit",
20
26
  "test:integration": "npm run build && vitest run tests/integration"
@@ -25,20 +31,20 @@
25
31
  },
26
32
  "license": "MIT",
27
33
  "dependencies": {
28
- "commander": "^14.0.3",
29
- "ink": "^6.8.0",
30
- "react": "^19.2.4"
34
+ "commander": "^15.0.0",
35
+ "ink": "^7.1.1",
36
+ "react": "^19.3.0"
31
37
  },
32
38
  "devDependencies": {
33
39
  "@eslint/js": "^10.0.1",
34
40
  "@types/node": "^25.5.0",
35
- "@types/react": "^19.2.14",
36
- "eslint": "^10.1.0",
41
+ "@types/react": "^19.3.0",
42
+ "eslint": "^10.10.0",
37
43
  "ink-testing-library": "^4.0.0",
38
- "prettier": "^3.8.1",
44
+ "prettier": "^3.9.6",
39
45
  "tsup": "^8.5.1",
40
46
  "typescript": "^5.9.3",
41
- "typescript-eslint": "^8.57.2",
42
- "vitest": "^4.1.2"
47
+ "typescript-eslint": "^8.70.0",
48
+ "vitest": "^5.0.0"
43
49
  }
44
50
  }