@parcha/agentrun-dsl 0.1.0-beta.4 → 0.1.0-beta.41

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 (93) hide show
  1. package/README.md +167 -23
  2. package/dist/author-references.d.ts +8 -0
  3. package/dist/author-references.js +8 -0
  4. package/dist/author.d.ts +13 -5
  5. package/dist/author.js +47 -18
  6. package/dist/authoring.js +2 -2
  7. package/dist/cli.js +17 -12
  8. package/dist/code-exec.d.ts +6 -0
  9. package/dist/code-exec.js +126 -0
  10. package/dist/decision-provider.d.ts +165 -0
  11. package/dist/decision-provider.js +238 -0
  12. package/dist/decision-receipts.d.ts +159 -0
  13. package/dist/decision-receipts.js +93 -0
  14. package/dist/dry-run.d.ts +45 -2
  15. package/dist/dry-run.js +159 -26
  16. package/dist/evidence.d.ts +19 -0
  17. package/dist/evidence.js +62 -0
  18. package/dist/graph.d.ts +169 -0
  19. package/dist/graph.js +433 -0
  20. package/dist/index.d.ts +19 -11
  21. package/dist/index.js +14 -9
  22. package/dist/inspection.d.ts +5 -0
  23. package/dist/inspection.js +16 -3
  24. package/dist/job.d.ts +14 -0
  25. package/dist/job.js +5 -0
  26. package/dist/long-timer.d.ts +7 -0
  27. package/dist/long-timer.js +22 -0
  28. package/dist/observer-snapshot.d.ts +3 -0
  29. package/dist/observer-snapshot.js +46 -0
  30. package/dist/predicates.d.ts +32 -0
  31. package/dist/predicates.js +61 -0
  32. package/dist/recovery/binding.d.ts +10 -0
  33. package/dist/recovery/binding.js +43 -0
  34. package/dist/recovery/call-key.d.ts +9 -0
  35. package/dist/recovery/call-key.js +17 -0
  36. package/dist/recovery/canonical-hash.d.ts +7 -0
  37. package/dist/recovery/canonical-hash.js +22 -0
  38. package/dist/recovery/driver.d.ts +235 -0
  39. package/dist/recovery/driver.js +1333 -0
  40. package/dist/recovery/errors.d.ts +31 -0
  41. package/dist/recovery/errors.js +51 -0
  42. package/dist/recovery/execution-path.d.ts +53 -0
  43. package/dist/recovery/execution-path.js +167 -0
  44. package/dist/recovery/file-store.d.ts +7 -0
  45. package/dist/recovery/file-store.js +131 -0
  46. package/dist/recovery/frozen-snapshot.d.ts +274 -0
  47. package/dist/recovery/frozen-snapshot.js +187 -0
  48. package/dist/recovery/handoff-receipts.d.ts +7 -0
  49. package/dist/recovery/handoff-receipts.js +10 -0
  50. package/dist/recovery/index.d.ts +14 -0
  51. package/dist/recovery/index.js +13 -0
  52. package/dist/recovery/item-state.d.ts +48 -0
  53. package/dist/recovery/item-state.js +89 -0
  54. package/dist/recovery/journal.d.ts +28 -0
  55. package/dist/recovery/journal.js +139 -0
  56. package/dist/recovery/memory-store.d.ts +4 -0
  57. package/dist/recovery/memory-store.js +20 -0
  58. package/dist/recovery/store.d.ts +105 -0
  59. package/dist/recovery/store.js +6 -0
  60. package/dist/recovery/testing/conformance.d.ts +4 -0
  61. package/dist/recovery/testing/conformance.js +268 -0
  62. package/dist/recovery/testing/crash-points.d.ts +18 -0
  63. package/dist/recovery/testing/crash-points.js +43 -0
  64. package/dist/recovery/testing/crash-sweep.d.ts +65 -0
  65. package/dist/recovery/testing/crash-sweep.js +146 -0
  66. package/dist/recovery/testing/index.d.ts +3 -0
  67. package/dist/recovery/testing/index.js +4 -0
  68. package/dist/recovery/testing/preload.d.ts +1 -0
  69. package/dist/recovery/testing/preload.js +3 -0
  70. package/dist/recovery/transport-facts.d.ts +23 -0
  71. package/dist/recovery/transport-facts.js +46 -0
  72. package/dist/recovery/with-recovery.d.ts +50 -0
  73. package/dist/recovery/with-recovery.js +144 -0
  74. package/dist/submit-envelope.d.ts +9 -0
  75. package/dist/submit-envelope.js +40 -0
  76. package/dist/system-one.d.ts +40 -2
  77. package/dist/system-one.js +141 -6
  78. package/dist/testing/decision-provider.d.ts +32 -0
  79. package/dist/testing/decision-provider.js +183 -0
  80. package/dist/testing/index.d.ts +1 -0
  81. package/dist/testing/index.js +2 -0
  82. package/dist/vocabulary.d.ts +31 -3
  83. package/dist/vocabulary.js +46 -14
  84. package/dist/workflow-shape.d.ts +7 -0
  85. package/dist/workflow-shape.js +112 -68
  86. package/dist/workflow.d.ts +362 -29
  87. package/dist/workflow.js +1844 -430
  88. package/package.json +27 -4
  89. package/schema/workflow.schema.json +551 -12
  90. package/skills/author/SKILL.md +6 -1
  91. package/skills/author/references/jev-decisions.md +69 -12
  92. package/skills/author/references/language.md +41 -24
  93. package/skills/author/references/sdk-authoring.md +2 -0
package/package.json CHANGED
@@ -1,21 +1,41 @@
1
1
  {
2
2
  "name": "@parcha/agentrun-dsl",
3
- "version": "0.1.0-beta.4",
3
+ "version": "0.1.0-beta.41",
4
4
  "description": "Composable, typed workflows for agents",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "bin": {
8
- "agentrun": "./dist/cli.js"
8
+ "agentrun-dsl": "./dist/cli.js"
9
9
  },
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
13
  "import": "./dist/index.js"
14
14
  },
15
+ "./graph": {
16
+ "types": "./dist/graph.d.ts",
17
+ "import": "./dist/graph.js"
18
+ },
15
19
  "./demo": {
16
20
  "types": "./dist/demo.d.ts",
17
21
  "import": "./dist/demo.js"
18
22
  },
23
+ "./author-references": {
24
+ "types": "./dist/author-references.d.ts",
25
+ "import": "./dist/author-references.js"
26
+ },
27
+ "./recovery": {
28
+ "types": "./dist/recovery/index.d.ts",
29
+ "import": "./dist/recovery/index.js"
30
+ },
31
+ "./recovery/testing": {
32
+ "types": "./dist/recovery/testing/index.d.ts",
33
+ "import": "./dist/recovery/testing/index.js"
34
+ },
35
+ "./testing": {
36
+ "types": "./dist/testing/index.d.ts",
37
+ "import": "./dist/testing/index.js"
38
+ },
19
39
  "./schema": "./schema/workflow.schema.json"
20
40
  },
21
41
  "files": [
@@ -27,7 +47,7 @@
27
47
  "skills"
28
48
  ],
29
49
  "engines": {
30
- "node": ">=22.19.0"
50
+ "node": ">=24.22.3"
31
51
  },
32
52
  "scripts": {
33
53
  "build": "tsc -p tsconfig.json",
@@ -35,7 +55,10 @@
35
55
  "test": "node --test test/*.test.mjs"
36
56
  },
37
57
  "dependencies": {
38
- "typebox": "1.3.7"
58
+ "typebox": "1.3.27"
59
+ },
60
+ "devDependencies": {
61
+ "esbuild": "0.28.2"
39
62
  },
40
63
  "repository": {
41
64
  "type": "git",