@demlik/tea 0.12.0 → 0.13.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 (152) hide show
  1. package/dist/agent/index.d.ts +6 -5
  2. package/dist/agent/index.js +11 -11
  3. package/dist/authed-call/index.d.ts +3 -2
  4. package/dist/authed-call/index.js +7 -7
  5. package/dist/await-terminal/index.d.ts +3 -2
  6. package/dist/await-terminal/index.js +2 -2
  7. package/dist/batch-window/index.d.ts +4 -3
  8. package/dist/batch-window/index.js +3 -3
  9. package/dist/cache/index.d.ts +3 -2
  10. package/dist/cache/index.js +4 -4
  11. package/dist/chart/index.d.ts +4 -3
  12. package/dist/chart/index.js +2 -2
  13. package/dist/chart/inspect/index.d.ts +5 -4
  14. package/dist/chart/inspect/index.js +3 -3
  15. package/dist/chart/inspect/react.d.ts +6 -5
  16. package/dist/chart/inspect/react.js +5 -5
  17. package/dist/chart/lane/index.d.ts +7 -6
  18. package/dist/chart/lane/index.js +6 -6
  19. package/dist/chart/lane/react.d.ts +6 -5
  20. package/dist/chart/lane/react.js +7 -7
  21. package/dist/chart/report/index.d.ts +5 -4
  22. package/dist/chart/report/index.js +4 -4
  23. package/dist/{chunk-ZF6WDK2D.js → chunk-3I52QZZ5.js} +7 -7
  24. package/dist/{chunk-ZF6WDK2D.js.map → chunk-3I52QZZ5.js.map} +1 -1
  25. package/dist/{chunk-ZD6PNZBK.js → chunk-3ZAFFRRB.js} +3 -3
  26. package/dist/{chunk-ZD6PNZBK.js.map → chunk-3ZAFFRRB.js.map} +1 -1
  27. package/dist/{chunk-4KTWLPL5.js → chunk-4EQZ76JC.js} +3 -3
  28. package/dist/{chunk-4KTWLPL5.js.map → chunk-4EQZ76JC.js.map} +1 -1
  29. package/dist/{chunk-EUF7XOEE.js → chunk-4KLG43GY.js} +6 -6
  30. package/dist/{chunk-EUF7XOEE.js.map → chunk-4KLG43GY.js.map} +1 -1
  31. package/dist/{chunk-JER5O7PQ.js → chunk-7FRZ2CT2.js} +15 -7
  32. package/dist/chunk-7FRZ2CT2.js.map +1 -0
  33. package/dist/{chunk-ZCL7SCBK.js → chunk-CIQG5L42.js} +5 -5
  34. package/dist/{chunk-ZCL7SCBK.js.map → chunk-CIQG5L42.js.map} +1 -1
  35. package/dist/{chunk-TP5UPGLY.js → chunk-CLM6ERNO.js} +3 -3
  36. package/dist/{chunk-TP5UPGLY.js.map → chunk-CLM6ERNO.js.map} +1 -1
  37. package/dist/{chunk-ND3DH6KM.js → chunk-COS5MSTO.js} +3 -3
  38. package/dist/{chunk-ND3DH6KM.js.map → chunk-COS5MSTO.js.map} +1 -1
  39. package/dist/{chunk-JP5D6GSL.js → chunk-CRPZJVD2.js} +4 -4
  40. package/dist/{chunk-JP5D6GSL.js.map → chunk-CRPZJVD2.js.map} +1 -1
  41. package/dist/{chunk-SUST46KO.js → chunk-D62FDQKE.js} +3 -3
  42. package/dist/{chunk-SUST46KO.js.map → chunk-D62FDQKE.js.map} +1 -1
  43. package/dist/{chunk-JGVL3WPL.js → chunk-DGE4PV4A.js} +3 -3
  44. package/dist/{chunk-JGVL3WPL.js.map → chunk-DGE4PV4A.js.map} +1 -1
  45. package/dist/{chunk-WLGO64WC.js → chunk-DMYGQB4O.js} +4 -4
  46. package/dist/{chunk-WLGO64WC.js.map → chunk-DMYGQB4O.js.map} +1 -1
  47. package/dist/{chunk-A56OR5RF.js → chunk-L57ZOT5K.js} +3 -3
  48. package/dist/{chunk-A56OR5RF.js.map → chunk-L57ZOT5K.js.map} +1 -1
  49. package/dist/{chunk-5KJKJOFC.js → chunk-NR7BU22N.js} +3 -3
  50. package/dist/{chunk-5KJKJOFC.js.map → chunk-NR7BU22N.js.map} +1 -1
  51. package/dist/{chunk-7V4EVLZA.js → chunk-O4MVQTEJ.js} +4 -4
  52. package/dist/{chunk-7V4EVLZA.js.map → chunk-O4MVQTEJ.js.map} +1 -1
  53. package/dist/{chunk-B5VXOFMZ.js → chunk-OOYD44JI.js} +54 -3
  54. package/dist/chunk-OOYD44JI.js.map +1 -0
  55. package/dist/{chunk-7SVIRMC6.js → chunk-RH5EFRVJ.js} +3 -3
  56. package/dist/{chunk-7SVIRMC6.js.map → chunk-RH5EFRVJ.js.map} +1 -1
  57. package/dist/{chunk-3JU6657S.js → chunk-VYFAZN3F.js} +3 -3
  58. package/dist/{chunk-3JU6657S.js.map → chunk-VYFAZN3F.js.map} +1 -1
  59. package/dist/chunk-XGELA764.js +163 -0
  60. package/dist/chunk-XGELA764.js.map +1 -0
  61. package/dist/{chunk-I5OV65MS.js → chunk-YUXP55T2.js} +3 -3
  62. package/dist/{chunk-I5OV65MS.js.map → chunk-YUXP55T2.js.map} +1 -1
  63. package/dist/{chunk-E6GEDSF4.js → chunk-YWIKDKHY.js} +3 -3
  64. package/dist/{chunk-E6GEDSF4.js.map → chunk-YWIKDKHY.js.map} +1 -1
  65. package/dist/{chunk-5EHLEUTL.js → chunk-ZSUUOEPL.js} +51 -6
  66. package/dist/chunk-ZSUUOEPL.js.map +1 -0
  67. package/dist/{core-Bjc0bS8j.d.ts → core-Co0LWkIA.d.ts} +190 -3
  68. package/dist/deadline/index.d.ts +3 -2
  69. package/dist/deadline/index.js +3 -3
  70. package/dist/do/index.d.ts +12 -8
  71. package/dist/do/index.js +11 -11
  72. package/dist/do/index.js.map +1 -1
  73. package/dist/{durable-effects-D8SqU_if.d.ts → durable-effects-C6uwzjb5.d.ts} +1 -1
  74. package/dist/extension/index.d.ts +3 -2
  75. package/dist/extension/index.js +3 -3
  76. package/dist/extension/react.js +3 -3
  77. package/dist/extension/subs/index.d.ts +3 -2
  78. package/dist/fan-out/index.d.ts +3 -2
  79. package/dist/{fold-Blbhru48.d.ts → fold-BJPdjc9w.d.ts} +1 -1
  80. package/dist/{graph-CcjWZVrd.d.ts → graph-B3L5e0N1.d.ts} +1 -1
  81. package/dist/idempotent-intake/index.d.ts +3 -2
  82. package/dist/index.d.ts +14 -6
  83. package/dist/index.js +2 -2
  84. package/dist/journal/index.d.ts +373 -0
  85. package/dist/journal/index.js +3 -0
  86. package/dist/journal/index.js.map +1 -0
  87. package/dist/llm-call/index.d.ts +3 -2
  88. package/dist/llm-call/index.js +8 -8
  89. package/dist/{machine-0OmPvsy_.d.ts → machine-BtFWQmmq.d.ts} +1 -1
  90. package/dist/machine-viz/index.d.ts +2 -1
  91. package/dist/machine-viz/index.js +2 -2
  92. package/dist/mem/index.d.ts +3 -2
  93. package/dist/monitored-run/index.d.ts +4 -3
  94. package/dist/monitored-run/index.js +5 -5
  95. package/dist/node/index.d.ts +31 -3
  96. package/dist/node/index.js +92 -3
  97. package/dist/node/index.js.map +1 -1
  98. package/dist/paginated-walk/index.d.ts +3 -2
  99. package/dist/paginated-walk/index.js +7 -7
  100. package/dist/parity/index.d.ts +3 -2
  101. package/dist/parity/index.js +3 -3
  102. package/dist/pbt/arbitraries/index.d.ts +2 -1
  103. package/dist/pbt/index.d.ts +2 -1
  104. package/dist/pbt/index.js +3 -3
  105. package/dist/pbt/runners/index.d.ts +2 -1
  106. package/dist/pbt/runners/index.js +3 -3
  107. package/dist/poller/index.d.ts +3 -2
  108. package/dist/poller/index.js +3 -3
  109. package/dist/prediction/index.d.ts +2 -1
  110. package/dist/prediction/index.js +2 -2
  111. package/dist/pure/index.d.ts +2 -1
  112. package/dist/pure/index.js +2 -2
  113. package/dist/react/index.d.ts +4 -3
  114. package/dist/react/index.js +2 -2
  115. package/dist/react/index.js.map +1 -1
  116. package/dist/reconciler/index.d.ts +3 -2
  117. package/dist/reconciler/index.js +7 -7
  118. package/dist/recorder/index.d.ts +3 -2
  119. package/dist/{reducer-BqyoVyBG.d.ts → reducer-4GNR6b8B.d.ts} +2 -2
  120. package/dist/resilient-call/index.d.ts +3 -2
  121. package/dist/resilient-call/index.js +6 -6
  122. package/dist/{run-BVeqJDBF.d.ts → run-pAcmBpah.d.ts} +3 -3
  123. package/dist/{runtime-types-Bxc637bp.d.ts → runtime-types-CNLmhWif.d.ts} +17 -2
  124. package/dist/saga/index.d.ts +3 -2
  125. package/dist/{samples-DCt6nF8H.d.ts → samples-B3My5oh2.d.ts} +1 -1
  126. package/dist/snapshot/index.d.ts +2 -1
  127. package/dist/snapshot/index.js +3 -3
  128. package/dist/subs/index.d.ts +4 -3
  129. package/dist/subs/index.js +3 -3
  130. package/dist/testing/index.d.ts +3 -2
  131. package/dist/testing/index.js +2 -2
  132. package/dist/throttled-input/index.d.ts +3 -2
  133. package/dist/throttled-input/index.js +6 -6
  134. package/dist/token-refresh/index.d.ts +2 -1
  135. package/dist/token-refresh/index.js +3 -3
  136. package/dist/trace-replay/index.d.ts +3 -2
  137. package/dist/trace-replay/index.js +3 -3
  138. package/dist/{types-D7u9DkH7.d.ts → types-XS_miRnB.d.ts} +1 -1
  139. package/dist/with-deadline/index.d.ts +2 -1
  140. package/dist/with-deadline/index.js +2 -2
  141. package/dist/with-resilience/index.d.ts +3 -2
  142. package/dist/with-resilience/index.js +6 -6
  143. package/dist/with-telemetry/index.d.ts +2 -1
  144. package/dist/with-telemetry/index.js +2 -2
  145. package/dist/work-queue/adapter.d.ts +3 -2
  146. package/dist/work-queue/index.d.ts +3 -2
  147. package/dist/work-queue/ops.d.ts +3 -2
  148. package/dist/workflow/index.d.ts +4 -3
  149. package/package.json +11 -4
  150. package/dist/chunk-5EHLEUTL.js.map +0 -1
  151. package/dist/chunk-B5VXOFMZ.js.map +0 -1
  152. package/dist/chunk-JER5O7PQ.js.map +0 -1
@@ -1,19 +1,20 @@
1
- import { C as Cmd } from '../core-Bjc0bS8j.js';
1
+ import { C as Cmd } from '../core-Co0LWkIA.js';
2
2
  export { LlmCall, LlmErr, LlmFailMsg, LlmOk, LlmRunCmd, LlmSucceedMsg, MessageLoader, ModelFactory, Schema } from '../llm-call/index.js';
3
- import { A as AgentTurn, a as AgentConfigCore, C as CompactionPolicy, b as AgentKnob } from '../machine-0OmPvsy_.js';
4
- export { c as AgentBootMsg, d as AgentCmd, e as AgentCompactErrMsg, f as AgentCompactOkMsg, g as AgentCompactRunCmd, h as AgentCompactionConfig, i as AgentConfig, j as AgentDetachedHandlers, k as AgentEvent, l as AgentFailure, m as AgentLlmErrMsg, n as AgentLlmOkMsg, o as AgentLlmRunCmd, p as AgentMachineMsg, q as AgentPorts, r as AgentSnapshotConfig, s as AgentState, t as AgentStatus, u as AgentTerminalFailure, v as AgentTimerMsg, w as AgentToMachine, x as Awaiting, y as COMPACTION_PURPOSE, z as CompactInterpret, B as CompactionOutputs, D as CompactionPurpose, E as CompactionSummary, F as Conversation, S as SnapshotInterpret, T as ToolCall, G as ToolOutcome, H as ToolRecord, I as agentBootMsg, J as agentEvents, K as agentTurnSchema, L as compactionSummarySchema, M as isAgentTurn, N as isCompactionSummary, O as liftAgent, P as mergeInterpret, Q as status } from '../machine-0OmPvsy_.js';
3
+ import { A as AgentTurn, a as AgentConfigCore, C as CompactionPolicy, b as AgentKnob } from '../machine-BtFWQmmq.js';
4
+ export { c as AgentBootMsg, d as AgentCmd, e as AgentCompactErrMsg, f as AgentCompactOkMsg, g as AgentCompactRunCmd, h as AgentCompactionConfig, i as AgentConfig, j as AgentDetachedHandlers, k as AgentEvent, l as AgentFailure, m as AgentLlmErrMsg, n as AgentLlmOkMsg, o as AgentLlmRunCmd, p as AgentMachineMsg, q as AgentPorts, r as AgentSnapshotConfig, s as AgentState, t as AgentStatus, u as AgentTerminalFailure, v as AgentTimerMsg, w as AgentToMachine, x as Awaiting, y as COMPACTION_PURPOSE, z as CompactInterpret, B as CompactionOutputs, D as CompactionPurpose, E as CompactionSummary, F as Conversation, S as SnapshotInterpret, T as ToolCall, G as ToolOutcome, H as ToolRecord, I as agentBootMsg, J as agentEvents, K as agentTurnSchema, L as compactionSummarySchema, M as isAgentTurn, N as isCompactionSummary, O as liftAgent, P as mergeInterpret, Q as status } from '../machine-BtFWQmmq.js';
5
5
  export { MonitoredRunCmd, RunFailure } from '../monitored-run/index.js';
6
6
  export { DeadlineSub, deadlineSub, subscribeDeadline } from '../deadline/index.js';
7
+ import 'zod';
7
8
  import '../resilient-call/index.js';
8
9
  import '../cache/index.js';
9
- import '../types-D7u9DkH7.js';
10
+ import '../types-XS_miRnB.js';
10
11
  import '../circuit-breaker/index.js';
11
12
  import '../protocol-B5YmJr0d.js';
12
13
  import '../rate-limit/index.js';
13
14
  import '../retry-backoff/index.js';
14
15
  import '../fan-out/index.js';
15
16
  import '../work-queue/index.js';
16
- import '../runtime-types-Bxc637bp.js';
17
+ import '../runtime-types-CNLmhWif.js';
17
18
  import 'better-result';
18
19
  import '../snapshot/index.js';
19
20
 
@@ -1,22 +1,22 @@
1
- export { COMPACTION_PURPOSE, agentBootMsg, agentEvents, agentTurnSchema, compactionSummarySchema, createAgent, isAgentTurn, isCompactionSummary, liftAgent, mergeInterpret, status } from '../chunk-ZF6WDK2D.js';
2
- import '../chunk-WLGO64WC.js';
3
- import '../chunk-ND3DH6KM.js';
4
- import '../chunk-7V4EVLZA.js';
5
- import '../chunk-EUF7XOEE.js';
1
+ export { COMPACTION_PURPOSE, agentBootMsg, agentEvents, agentTurnSchema, compactionSummarySchema, createAgent, isAgentTurn, isCompactionSummary, liftAgent, mergeInterpret, status } from '../chunk-3I52QZZ5.js';
2
+ import '../chunk-DMYGQB4O.js';
3
+ import '../chunk-COS5MSTO.js';
4
+ import '../chunk-O4MVQTEJ.js';
5
+ import '../chunk-4KLG43GY.js';
6
6
  import '../chunk-JELSZN25.js';
7
7
  import '../chunk-D736QUGF.js';
8
- export { deadlineSub, subscribeDeadline } from '../chunk-JGVL3WPL.js';
8
+ import '../chunk-RH5EFRVJ.js';
9
+ export { deadlineSub, subscribeDeadline } from '../chunk-DGE4PV4A.js';
9
10
  import '../chunk-Q2UM7BXU.js';
10
11
  import '../chunk-S2EGRPCM.js';
11
12
  import '../chunk-UF4MZSLT.js';
12
- import '../chunk-7SVIRMC6.js';
13
+ import '../chunk-G5E74IJB.js';
13
14
  import '../chunk-MU6MCIAC.js';
14
15
  import '../chunk-FV3Z5MBE.js';
15
- import '../chunk-3JU6657S.js';
16
+ import '../chunk-VYFAZN3F.js';
16
17
  import '../chunk-2YFLOCWX.js';
17
18
  import '../chunk-ZJ5AOYBH.js';
18
- import '../chunk-G5E74IJB.js';
19
- import '../chunk-5EHLEUTL.js';
20
- import '../chunk-B5VXOFMZ.js';
19
+ import '../chunk-ZSUUOEPL.js';
20
+ import '../chunk-OOYD44JI.js';
21
21
  //# sourceMappingURL=index.js.map
22
22
  //# sourceMappingURL=index.js.map
@@ -1,11 +1,12 @@
1
- import { P as PortEmitter, C as Cmd } from '../core-Bjc0bS8j.js';
1
+ import { P as PortEmitter, C as Cmd } from '../core-Co0LWkIA.js';
2
2
  import { M as MsgType } from '../protocol-B5YmJr0d.js';
3
3
  import { ResilientConfig, ResilientState, RunCmd, SucceedMsg, FailMsg, ResilientTimerMsg, ResilientPorts } from '../resilient-call/index.js';
4
4
  import { TokenRefreshConfig, Token, TokenState, RefreshTokenCmd, TokenRefreshMsg } from '../token-refresh/index.js';
5
5
  import { DeadlineSub } from '../deadline/index.js';
6
6
  export { DeadlineExceeded, deadlineSub, subscribeDeadline } from '../deadline/index.js';
7
+ import 'zod';
7
8
  import '../cache/index.js';
8
- import '../types-D7u9DkH7.js';
9
+ import '../types-XS_miRnB.js';
9
10
  import '../circuit-breaker/index.js';
10
11
  import '../rate-limit/index.js';
11
12
  import '../retry-backoff/index.js';
@@ -1,16 +1,16 @@
1
- import { createTokenRefresh, refreshTokenCmd } from '../chunk-TP5UPGLY.js';
2
- import { createResilientCall } from '../chunk-EUF7XOEE.js';
1
+ import { createTokenRefresh, refreshTokenCmd } from '../chunk-CLM6ERNO.js';
2
+ import { createResilientCall } from '../chunk-4KLG43GY.js';
3
3
  import '../chunk-JELSZN25.js';
4
- export { deadlineSub, subscribeDeadline } from '../chunk-JGVL3WPL.js';
4
+ import '../chunk-RH5EFRVJ.js';
5
+ export { deadlineSub, subscribeDeadline } from '../chunk-DGE4PV4A.js';
5
6
  import '../chunk-Q2UM7BXU.js';
6
7
  import '../chunk-S2EGRPCM.js';
7
8
  import '../chunk-UF4MZSLT.js';
8
- import '../chunk-7SVIRMC6.js';
9
- import '../chunk-3JU6657S.js';
9
+ import '../chunk-VYFAZN3F.js';
10
10
  import '../chunk-2YFLOCWX.js';
11
11
  import '../chunk-ZJ5AOYBH.js';
12
- import '../chunk-5EHLEUTL.js';
13
- import { without } from '../chunk-B5VXOFMZ.js';
12
+ import '../chunk-ZSUUOEPL.js';
13
+ import { without } from '../chunk-OOYD44JI.js';
14
14
 
15
15
  // src/authed-call/index.ts
16
16
  function createAuthedCall(config, rng = Math.random) {
@@ -1,6 +1,7 @@
1
- import { R as Runtime, C as CtxArg } from '../runtime-types-Bxc637bp.js';
2
- import { C as Cmd, S as Sub, M as Machine } from '../core-Bjc0bS8j.js';
1
+ import { R as Runtime, C as CtxArg } from '../runtime-types-CNLmhWif.js';
2
+ import { C as Cmd, S as Sub, M as Machine } from '../core-Co0LWkIA.js';
3
3
  import 'better-result';
4
+ import 'zod';
4
5
 
5
6
  /**
6
7
  * @demlik/tea/await-terminal — run a ONE-SHOT / decision-procedure machine to a
@@ -1,5 +1,5 @@
1
- import { run } from '../chunk-5EHLEUTL.js';
2
- import '../chunk-B5VXOFMZ.js';
1
+ import { run } from '../chunk-ZSUUOEPL.js';
2
+ import '../chunk-OOYD44JI.js';
3
3
 
4
4
  // src/await-terminal/index.ts
5
5
  var TerminalTimeoutError = class extends Error {
@@ -1,9 +1,10 @@
1
- import { C as Cmd } from '../core-Bjc0bS8j.js';
1
+ import { C as Cmd } from '../core-Co0LWkIA.js';
2
2
  export { Debounced, debounce } from '../debounce/index.js';
3
3
  import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
4
- import { S as SubscribeHandler } from '../types-D7u9DkH7.js';
4
+ import { S as SubscribeHandler } from '../types-XS_miRnB.js';
5
5
  export { EnqueueInput } from '../work-queue/index.js';
6
- import '../runtime-types-Bxc637bp.js';
6
+ import 'zod';
7
+ import '../runtime-types-CNLmhWif.js';
7
8
  import 'better-result';
8
9
 
9
10
  /**
@@ -1,8 +1,8 @@
1
1
  export { debounce } from '../chunk-J6527VRQ.js';
2
- import { subscribeDeadline, deadlineExceeded, deadlineSub } from '../chunk-JGVL3WPL.js';
2
+ import { subscribeDeadline, deadlineExceeded, deadlineSub } from '../chunk-DGE4PV4A.js';
3
3
  import '../chunk-2YFLOCWX.js';
4
- import '../chunk-5EHLEUTL.js';
5
- import '../chunk-B5VXOFMZ.js';
4
+ import '../chunk-ZSUUOEPL.js';
5
+ import '../chunk-OOYD44JI.js';
6
6
 
7
7
  // src/batch-window/index.ts
8
8
  function initBatchWindow() {
@@ -1,5 +1,6 @@
1
- import { S as Sub } from '../core-Bjc0bS8j.js';
2
- import { S as SubscribeHandler } from '../types-D7u9DkH7.js';
1
+ import { S as Sub } from '../core-Co0LWkIA.js';
2
+ import { S as SubscribeHandler } from '../types-XS_miRnB.js';
3
+ import 'zod';
3
4
 
4
5
  /**
5
6
  * @demlik/tea/cache — a TTL cache as pure state, PLUS a periodic eviction Sub.
@@ -1,8 +1,8 @@
1
- export { cacheEvictMsg, cacheEvictionSub, cacheEvictionSubscribe, evictExpired, get, has, initCache, remove, set } from '../chunk-7SVIRMC6.js';
2
- import '../chunk-3JU6657S.js';
1
+ export { cacheEvictMsg, cacheEvictionSub, cacheEvictionSubscribe, evictExpired, get, has, initCache, remove, set } from '../chunk-RH5EFRVJ.js';
2
+ import '../chunk-VYFAZN3F.js';
3
3
  import '../chunk-2YFLOCWX.js';
4
4
  import '../chunk-ZJ5AOYBH.js';
5
- import '../chunk-5EHLEUTL.js';
6
- import '../chunk-B5VXOFMZ.js';
5
+ import '../chunk-ZSUUOEPL.js';
6
+ import '../chunk-OOYD44JI.js';
7
7
  //# sourceMappingURL=index.js.map
8
8
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,7 @@
1
- import { C as Cmd, T as Transitions, R as Reducer } from '../core-Bjc0bS8j.js';
2
- import { A as Assigns, G as GuardName, l as Guards, U as UsedCmdName, m as Cmds, n as CellName, o as Cells, p as RAssigns, q as RGuardName, r as RGuards, s as RUsedCmdName, t as RCmds, u as RCellName, v as RCells, C as Chart, S as StateOf, M as MsgOf, a as CmdOf, j as MsgIn, R as ReducerChart, b as RStateOf, I as InitialData, f as InitialState } from '../graph-CcjWZVrd.js';
3
- export { w as CmdEvent, x as CmdName, y as EdgeKey, z as EdgeSpec, B as EndPolarity, i as ErrorFinal, E as EventName, k as EventOrigin, F as ForeignEvent, D as GroupName, H as GroupOf, J as MissingPairs, O as OriginAt, P as ParkingState, K as RStateName, c as StateName, L as SubEvent, h as SuccessFinal, g as Ty, W as WorldEvent, N as WorldRole, Q as defineChart, V as defineReducerChart, X as ty } from '../graph-CcjWZVrd.js';
1
+ import { C as Cmd, T as Transitions, c as Reducer } from '../core-Co0LWkIA.js';
2
+ import { A as Assigns, G as GuardName, l as Guards, U as UsedCmdName, m as Cmds, n as CellName, o as Cells, p as RAssigns, q as RGuardName, r as RGuards, s as RUsedCmdName, t as RCmds, u as RCellName, v as RCells, C as Chart, S as StateOf, M as MsgOf, a as CmdOf, j as MsgIn, R as ReducerChart, b as RStateOf, I as InitialData, f as InitialState } from '../graph-B3L5e0N1.js';
3
+ export { w as CmdEvent, x as CmdName, y as EdgeKey, z as EdgeSpec, B as EndPolarity, i as ErrorFinal, E as EventName, k as EventOrigin, F as ForeignEvent, D as GroupName, H as GroupOf, J as MissingPairs, O as OriginAt, P as ParkingState, K as RStateName, c as StateName, L as SubEvent, h as SuccessFinal, g as Ty, W as WorldEvent, N as WorldRole, Q as defineChart, V as defineReducerChart, X as ty } from '../graph-B3L5e0N1.js';
4
+ import 'zod';
4
5
 
5
6
  /**
6
7
  * A cell returned a state OUTSIDE its edge's declared `to`.
@@ -1,6 +1,6 @@
1
- export { CellTargetError, chartMermaid, compile, compileReducer, edgeKey, initFrom, initialStateOf, reducerInitFrom, reducerMermaid } from '../chunk-E6GEDSF4.js';
1
+ export { CellTargetError, chartMermaid, compile, compileReducer, edgeKey, initFrom, initialStateOf, reducerInitFrom, reducerMermaid } from '../chunk-YWIKDKHY.js';
2
2
  import '../chunk-UOC2PL46.js';
3
- import '../chunk-B5VXOFMZ.js';
3
+ import '../chunk-OOYD44JI.js';
4
4
 
5
5
  // src/chart/graph.ts
6
6
  var ty = () => ({});
@@ -1,7 +1,8 @@
1
- import { C as Cmd, S as Sub, M as Machine } from '../../core-Bjc0bS8j.js';
2
- export { A as AnyCell, a as AnyGuard, C as ChartDescription, b as ChartEdge, c as ChartEventInfo, d as ChartRefusal, e as ChartStateInfo, E as EdgeCore, f as EdgeKind, g as EventPreview, G as GuardPreview, h as GuardUnknown, I as InspectOptions, i as InspectParts, R as ReducerChartDescription, j as ReducerEdge, k as ReducerEventInfo, l as ReducerEventPreview, m as RefusalReason, n as ResolvedBy, U as Unanswerable, o as describeChart, p as describeReducerChart, q as edgeAt, r as explainRefusal, s as inspectReducerState, t as inspectState, u as inspectStateSummary, v as previewEvent, w as previewReducerEvent, x as reducerEdgeAt, y as refusalAtState, z as stateInfo } from '../../reducer-BqyoVyBG.js';
3
- export { R as RtSamples, S as SamplePayload, a as Samples, s as sampleMsg } from '../../samples-DCt6nF8H.js';
4
- import '../../graph-CcjWZVrd.js';
1
+ import { C as Cmd, S as Sub, M as Machine } from '../../core-Co0LWkIA.js';
2
+ export { A as AnyCell, a as AnyGuard, C as ChartDescription, b as ChartEdge, c as ChartEventInfo, d as ChartRefusal, e as ChartStateInfo, E as EdgeCore, f as EdgeKind, g as EventPreview, G as GuardPreview, h as GuardUnknown, I as InspectOptions, i as InspectParts, R as ReducerChartDescription, j as ReducerEdge, k as ReducerEventInfo, l as ReducerEventPreview, m as RefusalReason, n as ResolvedBy, U as Unanswerable, o as describeChart, p as describeReducerChart, q as edgeAt, r as explainRefusal, s as inspectReducerState, t as inspectState, u as inspectStateSummary, v as previewEvent, w as previewReducerEvent, x as reducerEdgeAt, y as refusalAtState, z as stateInfo } from '../../reducer-4GNR6b8B.js';
3
+ export { R as RtSamples, S as SamplePayload, a as Samples, s as sampleMsg } from '../../samples-B3My5oh2.js';
4
+ import 'zod';
5
+ import '../../graph-B3L5e0N1.js';
5
6
 
6
7
  /**
7
8
  * The cmds ONE step emitted, tagged with the msg that caused them.
@@ -1,5 +1,5 @@
1
- export { captureCmds, describeChart, describeReducerChart, edgeAt, explainRefusal, firedAt, firedCounts, inspectReducerState, inspectState, inspectStateSummary, previewEvent, previewReducerEvent, reducerEdgeAt, refusalAtState, sampleMsg, stateInfo } from '../../chunk-ZD6PNZBK.js';
2
- import '../../chunk-5EHLEUTL.js';
3
- import '../../chunk-B5VXOFMZ.js';
1
+ export { captureCmds, describeChart, describeReducerChart, edgeAt, explainRefusal, firedAt, firedCounts, inspectReducerState, inspectState, inspectStateSummary, previewEvent, previewReducerEvent, reducerEdgeAt, refusalAtState, sampleMsg, stateInfo } from '../../chunk-3ZAFFRRB.js';
2
+ import '../../chunk-ZSUUOEPL.js';
3
+ import '../../chunk-OOYD44JI.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,11 +1,12 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as Runtime } from '../../runtime-types-Bxc637bp.js';
3
- import { C as Cmd, M as Machine, S as Sub } from '../../core-Bjc0bS8j.js';
2
+ import { R as Runtime } from '../../runtime-types-CNLmhWif.js';
3
+ import { C as Cmd, M as Machine, S as Sub, R as RequiredCtx } from '../../core-Co0LWkIA.js';
4
4
  import { Recorder } from '../../recorder/index.js';
5
5
  import { Parts, RParts } from '../index.js';
6
- import { C as Chart, S as StateOf, M as MsgOf, a as CmdOf, I as InitialData, R as ReducerChart, b as RStateOf } from '../../graph-CcjWZVrd.js';
7
- import { a as Samples } from '../../samples-DCt6nF8H.js';
6
+ import { C as Chart, S as StateOf, M as MsgOf, a as CmdOf, I as InitialData, R as ReducerChart, b as RStateOf } from '../../graph-B3L5e0N1.js';
7
+ import { a as Samples } from '../../samples-B3My5oh2.js';
8
8
  import 'better-result';
9
+ import 'zod';
9
10
 
10
11
  /**
11
12
  * Everything `<ChartInspector>` needs. Four fields, and every one of them is a
@@ -81,7 +82,7 @@ interface ReducerChartInspectorProps<C, S extends {
81
82
  */
82
83
  declare function useInspectorRuntime<S, M extends {
83
84
  type: string;
84
- }, K extends Cmd, Ctx>(machine: Machine<S, M, K, Sub<never>, Ctx>, ctx: Ctx, epoch: number): {
85
+ }, K extends Cmd, Ctx>(machine: Machine<S, M, K, Sub<never>, Ctx>, ctx: Ctx & RequiredCtx<K>, epoch: number): {
85
86
  readonly rt: Runtime<S, M> | null;
86
87
  readonly rec: Recorder<S, M>;
87
88
  };
@@ -1,11 +1,11 @@
1
- export { ChartInspector, ReducerChartInspector, useInspectorRuntime } from '../../chunk-JER5O7PQ.js';
2
- import '../../chunk-ZD6PNZBK.js';
3
- import '../../chunk-E6GEDSF4.js';
1
+ export { ChartInspector, ReducerChartInspector, useInspectorRuntime } from '../../chunk-7FRZ2CT2.js';
2
+ import '../../chunk-3ZAFFRRB.js';
3
+ import '../../chunk-YWIKDKHY.js';
4
4
  import '../../chunk-UOC2PL46.js';
5
5
  import '../../chunk-MUUROGIH.js';
6
+ import '../../chunk-ZSUUOEPL.js';
7
+ import '../../chunk-OOYD44JI.js';
6
8
  import '../../chunk-WRAA7GVZ.js';
7
9
  import '../../chunk-EWJP3YYP.js';
8
- import '../../chunk-5EHLEUTL.js';
9
- import '../../chunk-B5VXOFMZ.js';
10
10
  //# sourceMappingURL=react.js.map
11
11
  //# sourceMappingURL=react.js.map
@@ -1,9 +1,10 @@
1
- import { g as EventPreview, d as ChartRefusal, I as InspectOptions, U as Unanswerable } from '../../reducer-BqyoVyBG.js';
2
- import { P as PhaseStanding, I as ImportedLane, L as LogEntry, T as TaskState } from '../../fold-Blbhru48.js';
3
- export { c as Lane, d as LaneChecks, e as LaneCmd, f as LaneErrorFinals, g as LaneHand, h as LaneHands, b as LaneHandsOf, i as LaneInitial, j as LaneMsg, k as LaneOf, l as LanePhaseName, m as LanePhaseOf, n as LanePhaseShape, o as LaneRegion, p as LaneRegions, q as LaneRunChecks, r as LaneRunMsg, s as LaneRunState, t as LaneRuntime, u as LaneShape, v as LaneShapeError, w as LaneSiblings, x as LaneSpec, y as LaneState, z as LaneSuccessFinals, a as LaneTaskChart, L as LaneTaskId, A as LaneTaskShape, B as LaneTasksIn, C as LaneTerminal, P as PhaseAtRest, D as defineLane, E as laneShape, F as runLane } from '../../run-BVeqJDBF.js';
4
- import '../../graph-CcjWZVrd.js';
5
- import '../../core-Bjc0bS8j.js';
6
- import '../../samples-DCt6nF8H.js';
1
+ import { g as EventPreview, d as ChartRefusal, I as InspectOptions, U as Unanswerable } from '../../reducer-4GNR6b8B.js';
2
+ import { P as PhaseStanding, I as ImportedLane, L as LogEntry, T as TaskState } from '../../fold-BJPdjc9w.js';
3
+ export { c as Lane, d as LaneChecks, e as LaneCmd, f as LaneErrorFinals, g as LaneHand, h as LaneHands, b as LaneHandsOf, i as LaneInitial, j as LaneMsg, k as LaneOf, l as LanePhaseName, m as LanePhaseOf, n as LanePhaseShape, o as LaneRegion, p as LaneRegions, q as LaneRunChecks, r as LaneRunMsg, s as LaneRunState, t as LaneRuntime, u as LaneShape, v as LaneShapeError, w as LaneSiblings, x as LaneSpec, y as LaneState, z as LaneSuccessFinals, a as LaneTaskChart, L as LaneTaskId, A as LaneTaskShape, B as LaneTasksIn, C as LaneTerminal, P as PhaseAtRest, D as defineLane, E as laneShape, F as runLane } from '../../run-pAcmBpah.js';
4
+ import '../../graph-B3L5e0N1.js';
5
+ import '../../core-Co0LWkIA.js';
6
+ import 'zod';
7
+ import '../../samples-B3My5oh2.js';
7
8
  import '../index.js';
8
9
 
9
10
  /** Why a task cannot move. `null` when it can. */
@@ -1,9 +1,9 @@
1
- export { LaneShapeError, defineLane, inspectLane, inspectLaneStates, laneShape, laneView, liveFeed, replayFeed, runLane } from '../../chunk-ZCL7SCBK.js';
2
- import '../../chunk-ZD6PNZBK.js';
3
- import '../../chunk-5KJKJOFC.js';
4
- import '../../chunk-E6GEDSF4.js';
1
+ export { LaneShapeError, defineLane, inspectLane, inspectLaneStates, laneShape, laneView, liveFeed, replayFeed, runLane } from '../../chunk-CIQG5L42.js';
2
+ import '../../chunk-3ZAFFRRB.js';
3
+ import '../../chunk-NR7BU22N.js';
4
+ import '../../chunk-YWIKDKHY.js';
5
5
  import '../../chunk-UOC2PL46.js';
6
- import '../../chunk-5EHLEUTL.js';
7
- import '../../chunk-B5VXOFMZ.js';
6
+ import '../../chunk-ZSUUOEPL.js';
7
+ import '../../chunk-OOYD44JI.js';
8
8
  //# sourceMappingURL=index.js.map
9
9
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as Samples } from '../../samples-DCt6nF8H.js';
3
- import { I as ImportedLane, L as LogEntry } from '../../fold-Blbhru48.js';
4
- import { L as LaneTaskId, a as LaneTaskChart, b as LaneHandsOf } from '../../run-BVeqJDBF.js';
5
- import '../../graph-CcjWZVrd.js';
6
- import '../../core-Bjc0bS8j.js';
2
+ import { a as Samples } from '../../samples-B3My5oh2.js';
3
+ import { I as ImportedLane, L as LogEntry } from '../../fold-BJPdjc9w.js';
4
+ import { L as LaneTaskId, a as LaneTaskChart, b as LaneHandsOf } from '../../run-pAcmBpah.js';
5
+ import '../../graph-B3L5e0N1.js';
6
+ import '../../core-Co0LWkIA.js';
7
+ import 'zod';
7
8
  import '../index.js';
8
9
 
9
10
  /**
@@ -1,14 +1,14 @@
1
- import { useInspectorRuntime } from '../../chunk-JER5O7PQ.js';
2
- import { replayFeed, runLane, liveFeed, laneView } from '../../chunk-ZCL7SCBK.js';
3
- import '../../chunk-ZD6PNZBK.js';
4
- import '../../chunk-5KJKJOFC.js';
5
- import '../../chunk-E6GEDSF4.js';
1
+ import { useInspectorRuntime } from '../../chunk-7FRZ2CT2.js';
2
+ import { replayFeed, runLane, liveFeed, laneView } from '../../chunk-CIQG5L42.js';
3
+ import '../../chunk-3ZAFFRRB.js';
4
+ import '../../chunk-NR7BU22N.js';
5
+ import '../../chunk-YWIKDKHY.js';
6
6
  import '../../chunk-UOC2PL46.js';
7
7
  import '../../chunk-MUUROGIH.js';
8
+ import { replay } from '../../chunk-ZSUUOEPL.js';
9
+ import '../../chunk-OOYD44JI.js';
8
10
  import '../../chunk-WRAA7GVZ.js';
9
11
  import '../../chunk-EWJP3YYP.js';
10
- import { replay } from '../../chunk-5EHLEUTL.js';
11
- import '../../chunk-B5VXOFMZ.js';
12
12
  import { useMemo, useReducer, useEffect, useRef, useState } from 'react';
13
13
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
14
14
 
@@ -1,9 +1,10 @@
1
1
  import { WalkCounts } from '../index.js';
2
2
  export { edgeKey } from '../index.js';
3
- import { a as ImportedChart, L as LogEntry, b as LaneStatus, I as ImportedLane, W as WorkflowImportOptions } from '../../fold-Blbhru48.js';
4
- export { c as ImportedEdge, d as ImportedNode, e as ImportedPhase, f as LeafStates, g as PhaseStand, P as PhaseStanding, T as TaskState, h as TimelineStep, U as UnreplayableLogError, i as WorkflowImportError, j as bareEvent, k as chartFromWorkflow, l as chartFromWorkflowText, m as deriveLaneStatus, n as endPolarityOf, o as eventAlphabet, p as foldLane, q as initialOf, r as initialStates, s as laneTerminalReached, t as originOf, u as parseEventsJsonl, v as parseHistoryJson, w as parseStatusJson, x as phaseStandings, y as statesOf, z as stepTask, A as timeline, B as trippedTasks, C as walkedEdgeKey } from '../../fold-Blbhru48.js';
5
- import '../../core-Bjc0bS8j.js';
6
- import '../../graph-CcjWZVrd.js';
3
+ import { a as ImportedChart, L as LogEntry, b as LaneStatus, I as ImportedLane, W as WorkflowImportOptions } from '../../fold-BJPdjc9w.js';
4
+ export { c as ImportedEdge, d as ImportedNode, e as ImportedPhase, f as LeafStates, g as PhaseStand, P as PhaseStanding, T as TaskState, h as TimelineStep, U as UnreplayableLogError, i as WorkflowImportError, j as bareEvent, k as chartFromWorkflow, l as chartFromWorkflowText, m as deriveLaneStatus, n as endPolarityOf, o as eventAlphabet, p as foldLane, q as initialOf, r as initialStates, s as laneTerminalReached, t as originOf, u as parseEventsJsonl, v as parseHistoryJson, w as parseStatusJson, x as phaseStandings, y as statesOf, z as stepTask, A as timeline, B as trippedTasks, C as walkedEdgeKey } from '../../fold-BJPdjc9w.js';
5
+ import '../../core-Co0LWkIA.js';
6
+ import 'zod';
7
+ import '../../graph-B3L5e0N1.js';
7
8
 
8
9
  interface DrawOptions {
9
10
  /** The state the task is in right now — lit. */
@@ -1,8 +1,8 @@
1
- import { parseEventsJsonl, chartFromWorkflowText, parseStatusJson, parseHistoryJson } from '../../chunk-5KJKJOFC.js';
2
- export { UnreplayableLogError, WorkflowImportError, bareEvent, chartFromWorkflow, chartFromWorkflowText, deriveLaneStatus, drawTask, endPolarityOf, eventAlphabet, foldLane, initialOf, initialStates, laneReport, laneTerminalReached, originOf, parseEventsJsonl, parseHistoryJson, parseStatusJson, phaseStandings, statesOf, stepTask, timeline, trippedTasks, waitingOn, walkedEdgeKey, walkedEdges } from '../../chunk-5KJKJOFC.js';
3
- export { edgeKey } from '../../chunk-E6GEDSF4.js';
1
+ import { parseEventsJsonl, chartFromWorkflowText, parseStatusJson, parseHistoryJson } from '../../chunk-NR7BU22N.js';
2
+ export { UnreplayableLogError, WorkflowImportError, bareEvent, chartFromWorkflow, chartFromWorkflowText, deriveLaneStatus, drawTask, endPolarityOf, eventAlphabet, foldLane, initialOf, initialStates, laneReport, laneTerminalReached, originOf, parseEventsJsonl, parseHistoryJson, parseStatusJson, phaseStandings, statesOf, stepTask, timeline, trippedTasks, waitingOn, walkedEdgeKey, walkedEdges } from '../../chunk-NR7BU22N.js';
3
+ export { edgeKey } from '../../chunk-YWIKDKHY.js';
4
4
  import '../../chunk-UOC2PL46.js';
5
- import '../../chunk-B5VXOFMZ.js';
5
+ import '../../chunk-OOYD44JI.js';
6
6
 
7
7
  // src/chart/report/sources.ts
8
8
  function laneFromFiles(workflowJson, eventsJsonl, options = {}) {
@@ -1,10 +1,10 @@
1
- import { createMonitoredRun } from './chunk-WLGO64WC.js';
2
- import { createLlmCall } from './chunk-ND3DH6KM.js';
3
- import { createResilientCall } from './chunk-EUF7XOEE.js';
1
+ import { createMonitoredRun } from './chunk-DMYGQB4O.js';
2
+ import { createLlmCall } from './chunk-COS5MSTO.js';
3
+ import { createResilientCall } from './chunk-4KLG43GY.js';
4
4
  import { MsgType } from './chunk-JELSZN25.js';
5
5
  import { createFanOut, initFanOut } from './chunk-D736QUGF.js';
6
- import { subscribeDeadline } from './chunk-JGVL3WPL.js';
7
- import { defineMachine } from './chunk-5EHLEUTL.js';
6
+ import { subscribeDeadline } from './chunk-DGE4PV4A.js';
7
+ import { defineMachine } from './chunk-ZSUUOEPL.js';
8
8
 
9
9
  // src/agent/schema.ts
10
10
  function schemaFromGuard(guard, name) {
@@ -515,5 +515,5 @@ function createAgent(config) {
515
515
  }
516
516
 
517
517
  export { COMPACTION_PURPOSE, agentBootMsg, agentEvents, agentTurnSchema, compactionSummarySchema, createAgent, isAgentTurn, isCompactionSummary, liftAgent, mergeInterpret, status };
518
- //# sourceMappingURL=chunk-ZF6WDK2D.js.map
519
- //# sourceMappingURL=chunk-ZF6WDK2D.js.map
518
+ //# sourceMappingURL=chunk-3I52QZZ5.js.map
519
+ //# sourceMappingURL=chunk-3I52QZZ5.js.map