@cobia/pi-onward 0.1.2 → 0.3.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cobia/pi-onward",
3
- "version": "0.1.2",
4
- "description": "Keep a pi run going after it ends in an error or an empty reply: user-written rules decide whether to send a visible message or silently resend, with per-rule budgets, backoff and a same-error stop.",
3
+ "version": "0.3.0",
4
+ "description": "pi 出错或空回停止时,按规则自动续跑",
5
5
  "keywords": [
6
6
  "pi",
7
7
  "pi-package",
@@ -25,12 +25,14 @@
25
25
  },
26
26
  "files": [
27
27
  "src/",
28
- "example.json"
28
+ "example.json",
29
+ "onward.schema.json"
29
30
  ],
30
31
  "scripts": {
31
32
  "test": "node scripts/run-tests.mjs",
32
33
  "typecheck": "node node_modules/typescript/bin/tsc --noEmit",
33
34
  "check:extension": "node scripts/check-extension.mjs",
35
+ "gen:schema": "node --import tsx scripts/generate-schema.ts",
34
36
  "check": "npm run check:biome && npm run typecheck && npm test && npm run check:extension",
35
37
  "prepublishOnly": "npm run check",
36
38
  "lint": "node scripts/biome-check.mjs --lint",
@@ -42,7 +44,7 @@
42
44
  "@earendil-works/pi-tui": "*"
43
45
  },
44
46
  "devDependencies": {
45
- "@biomejs/biome": "^2.6.3",
47
+ "@biomejs/biome": "^2.6.4",
46
48
  "@earendil-works/pi-coding-agent": "^1.4.0",
47
49
  "@earendil-works/pi-tui": "^1.4.0",
48
50
  "@types/node": "^22.20.5",