owenloop 0.5.3 → 0.5.4

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 (38) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +6 -2
  3. package/dist/packages/work/src/agent/brief.d.ts +6 -0
  4. package/dist/packages/work/src/agent/brief.js +46 -2
  5. package/dist/packages/work/src/agent/loop.js +3 -0
  6. package/dist/packages/work/src/exec/loop.js +153 -9
  7. package/dist/packages/work/src/harness/child-env.js +8 -0
  8. package/dist/packages/work/src/harness/claude.js +18 -5
  9. package/dist/packages/work/src/harness/codex.js +7 -0
  10. package/dist/packages/work/src/harness/contract.d.ts +22 -3
  11. package/dist/packages/work/src/harness/contract.js +22 -3
  12. package/dist/packages/work/src/settings/settings.d.ts +12 -4
  13. package/dist/packages/work/src/settings/settings.js +14 -11
  14. package/dist/src/cli.js +203 -6
  15. package/dist/src/config-dir.d.ts +62 -0
  16. package/dist/src/config-dir.js +87 -0
  17. package/dist/src/crypto/trust-roots.d.ts +8 -4
  18. package/dist/src/crypto/trust-roots.js +18 -12
  19. package/dist/src/defs.js +57 -16
  20. package/dist/src/engine.js +25 -3
  21. package/dist/src/hub.d.ts +5 -1
  22. package/dist/src/hub.js +7 -8
  23. package/dist/src/paths.d.ts +47 -4
  24. package/dist/src/paths.js +36 -5
  25. package/dist/src/work-settings.d.ts +8 -5
  26. package/dist/src/work-settings.js +15 -12
  27. package/docs/authoring.md +40 -13
  28. package/docs/bundles.md +9 -0
  29. package/docs/cli.md +121 -24
  30. package/docs/crypto.md +8 -8
  31. package/docs/design.md +20 -2
  32. package/docs/embedding.md +5 -4
  33. package/docs/wire-contracts.md +3 -2
  34. package/package.json +1 -1
  35. package/plugins/claude-code/plugin/.claude-plugin/plugin.json +1 -1
  36. package/plugins/claude-code/plugin/.mcp.json +1 -1
  37. package/plugins/codex/plugins/owenloop/.codex-plugin/plugin.json +1 -1
  38. package/plugins/codex/plugins/owenloop/.mcp.json +1 -1
package/docs/embedding.md CHANGED
@@ -92,10 +92,11 @@ to — see deep tick below), `defDigest` (identifies the definition snapshot to
92
92
  resolve instructions from), `consumes` (the captured green inputs), `owes`
93
93
  (the owed outputs + their accumulated reason threads), plus
94
94
  `inputs`/`outputs`/`workdir`/`model`/`worker`/`spec`/`x`/`cause`. `workdir` may
95
- be authored as a literal `workdir:` or resolved from a consumed artifact by a
96
- step's `workdirFrom:`; the order field and wire shape are the same either way.
97
- If the consumed value cannot resolve to a non-empty string, `engine.tick()`
98
- returns a `workdir-unresolved` deferral and emits no order. It carries
95
+ be authored as a literal `workdir:` or resolved by a step's `workdirFrom:` from
96
+ either a consumed artifact or a declared input; the order field and wire shape
97
+ are the same in all three cases. If the resolved value cannot become a non-empty
98
+ string — including while a named input is still owed — `engine.tick()` returns a
99
+ `workdir-unresolved` deferral and emits no order. It carries
99
100
  no authored prompt or command text — those resolve through `resolver` by
100
101
  digest (next section). A consumer rejecting an upstream artifact is just
101
102
  `engine.reject(wf, path, by, text)`; the forward cascade and stall liveness
@@ -296,8 +296,9 @@ Required fields are `run`, `workflow`, `step`, `key`, `defDigest`, `inputs`,
296
296
 
297
297
  Optional fields are `index`, `workdir`, `model`, `worker`, `judge`, `spec`, `x`,
298
298
  `consumedFingerprint`, `consumesProof`, and `cause`. `workdir` may be authored
299
- as a literal `workdir:` or resolved by the engine from a consumed artifact's
300
- `workdirFrom:` value; the Order wire shape remains unchanged.
299
+ as a literal `workdir:` or resolved by the engine from a step's `workdirFrom:`,
300
+ whose stem names either a consumed artifact or a declared input; the Order wire
301
+ shape remains unchanged. No proof field covers `workdir` in any case.
301
302
 
302
303
  `defDigest` is a non-empty opaque reference. `inputs` and `outputs` are string
303
304
  arrays. `consumes` is an open artifact-path map; `spec` and `x` are opaque
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owenloop",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Deterministic rails for agentic workflows. Declare steps and dependencies; the engine guarantees order, redoes what changes invalidate, and stops what keeps failing — instead of hoping the agent follows through.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "typicalday",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owenloop",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Claude Code driver for owenloop — cross-harness shift and conduct skills driven by the owenloop CLI, plus one hub control-plane MCP server backing an author skill and a fallback worker, for conducting and authoring workflows against your hosted owenloop server.",
5
5
  "author": {
6
6
  "name": "Typical Day"
@@ -7,7 +7,7 @@
7
7
  "mcp"
8
8
  ],
9
9
  "env": {
10
- "OWENLOOP_PLUGIN_VERSION": "0.5.3"
10
+ "OWENLOOP_PLUGIN_VERSION": "0.5.4"
11
11
  }
12
12
  }
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owenloop",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Codex plugin for the owenloop workflow engine.",
5
5
  "skills": "./skills/",
6
6
  "mcpServers": "./.mcp.json"
@@ -6,7 +6,7 @@
6
6
  "mcp"
7
7
  ],
8
8
  "env": {
9
- "OWENLOOP_PLUGIN_VERSION": "0.5.3"
9
+ "OWENLOOP_PLUGIN_VERSION": "0.5.4"
10
10
  },
11
11
  "env_vars": [
12
12
  "HOME",