@tangle-network/agent-runtime 0.327.0 → 0.329.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.
Files changed (54) hide show
  1. package/dist/{activation-DfhOPF9_.js → activation-BfHpXIo0.js} +2 -2
  2. package/dist/{activation-DfhOPF9_.js.map → activation-BfHpXIo0.js.map} +1 -1
  3. package/dist/{activation-D4kme3Oh.d.ts → activation-CQo8-ir9.d.ts} +2 -2
  4. package/dist/agent.d.ts +1 -1
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-Cd0KpYoT.js → coordination-driver-DsxFmzhm.js} +369 -25
  7. package/dist/coordination-driver-DsxFmzhm.js.map +1 -0
  8. package/dist/{delegate-C6qiH8ti.js → delegate-C-E2pUey.js} +2 -2
  9. package/dist/{delegate-C6qiH8ti.js.map → delegate-C-E2pUey.js.map} +1 -1
  10. package/dist/durable.d.ts +1 -1
  11. package/dist/durable.js +3 -3
  12. package/dist/{graph-7DxUifPo.js → graph-BamfOWzd.js} +13 -6
  13. package/dist/graph-BamfOWzd.js.map +1 -0
  14. package/dist/{improvement-cycle-sd7Y_buy.js → improvement-cycle-BWcUsIgg.js} +3 -3
  15. package/dist/{improvement-cycle-sd7Y_buy.js.map → improvement-cycle-BWcUsIgg.js.map} +1 -1
  16. package/dist/index.d.ts +4 -4
  17. package/dist/index.js +7 -7
  18. package/dist/intelligence.d.ts +2 -2
  19. package/dist/intelligence.js +3 -3
  20. package/dist/kernel.d.ts +2 -2
  21. package/dist/kernel.js +8 -8
  22. package/dist/{loop-runner-bin-DLiEuQAt.js → loop-runner-bin-CVZ5S19W.js} +3 -3
  23. package/dist/{loop-runner-bin-DLiEuQAt.js.map → loop-runner-bin-CVZ5S19W.js.map} +1 -1
  24. package/dist/{loop-runner-bin-DKkrGTge.d.ts → loop-runner-bin-U00bzVay.d.ts} +2 -2
  25. package/dist/loop-runner-bin.d.ts +1 -1
  26. package/dist/loop-runner-bin.js +1 -1
  27. package/dist/mcp/bin.js +3 -3
  28. package/dist/mcp/index.d.ts +2 -2
  29. package/dist/mcp/index.js +4 -4
  30. package/dist/{openai-tools-BTq7nLhg.d.ts → openai-tools-DnA8exP6.d.ts} +2 -2
  31. package/dist/profiles.d.ts +1 -1
  32. package/dist/{provision-supervisor-BCpumw87.js → provision-supervisor-mpEy_KWu.js} +3 -3
  33. package/dist/{provision-supervisor-BCpumw87.js.map → provision-supervisor-mpEy_KWu.js.map} +1 -1
  34. package/dist/{runtime-CfBB9gRz.js → runtime-VteVmwAw.js} +8 -8
  35. package/dist/{runtime-CfBB9gRz.js.map → runtime-VteVmwAw.js.map} +1 -1
  36. package/dist/{search-executor-BgMpZuhl.js → search-executor-eTeXrpkP.js} +2 -2
  37. package/dist/{search-executor-BgMpZuhl.js.map → search-executor-eTeXrpkP.js.map} +1 -1
  38. package/dist/{server-vyi-BhWC.js → server-BGQv06nN.js} +3 -3
  39. package/dist/{server-vyi-BhWC.js.map → server-BGQv06nN.js.map} +1 -1
  40. package/dist/{supervise-Bso1hco7.js → supervise-BIIbQhg7.js} +232 -32
  41. package/dist/supervise-BIIbQhg7.js.map +1 -0
  42. package/dist/{supervisor-hIpqcCJr.js → supervisor-U76PdEPD.js} +31 -6
  43. package/dist/supervisor-U76PdEPD.js.map +1 -0
  44. package/dist/testing.d.ts +1 -1
  45. package/dist/testing.js +12 -12
  46. package/dist/tui/index.d.ts +1 -1
  47. package/dist/tui/index.js +1 -1
  48. package/dist/{types-loG2Pvmj.d.ts → types-B6IAL5Q7.d.ts} +201 -8
  49. package/package.json +1 -1
  50. package/skills/agent-graphs/references/authoring.md +12 -1
  51. package/dist/coordination-driver-Cd0KpYoT.js.map +0 -1
  52. package/dist/graph-7DxUifPo.js.map +0 -1
  53. package/dist/supervise-Bso1hco7.js.map +0 -1
  54. package/dist/supervisor-hIpqcCJr.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-runtime",
3
- "version": "0.327.0",
3
+ "version": "0.329.0",
4
4
  "description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.",
5
5
  "homepage": "https://github.com/tangle-network/agent-runtime#readme",
6
6
  "repository": {
@@ -33,9 +33,20 @@ Analysis traversal caps limit propagated findings; they do not stop the whole ru
33
33
  Use the deliverable check or an appropriate execution limit to terminate work.
34
34
  Analyst execution consumes the same shared budget as other workers.
35
35
 
36
+ Map edges fan out over a list that exists only at run time.
37
+ When the source node settles, the runtime reads the array at the edge's JSON pointer in its result and runs the item node once per element, with the element as its task, or runs the edge's graph per element the way `run_graph` does.
38
+ The join node then receives `{ results, failures }` in item order.
39
+ The driver spends no turn on items or the join and must not spawn them; item and join nodes are reachable only through their map edge.
40
+ `concurrency` throttles the items and never refuses one.
41
+ A list longer than `maxItems`, a pointer that does not select an array, or a `concurrency` above the run's worker slots is refused before any item runs, with a ledger row and a driver wake.
42
+ `onItemFailure: 'all-or-refuse'` starts no item after a failure and refuses the join with the failures listed; `'settled-subset'` runs every item and joins the delivered results beside the failures.
43
+ Each item reserves `itemBudget` from the shared budget.
44
+ Map state is process-local: a restarted run does not re-expand a map whose source settled before the restart.
45
+
36
46
  ## Check the result
37
47
 
38
- Inspect delivered, stripped, empty, and unpropagated edge records and their byte counts.
48
+ Inspect delivered, stripped, empty, unpropagated, and failed edge records and their byte counts.
49
+ A map edge records one expansion row, one row per item with its index, and one join row.
39
50
  Read exhausted edges even when execution ended through completion, budget, or cancellation rather than a thrown error.
40
51
  Check journal records when recovery or auditability is part of the task.
41
52
  Preserve run, profile, directive, and artifact identity so a resumed or measured run cannot silently change its inputs.