@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.
- package/dist/agent/index.d.ts +6 -5
- package/dist/agent/index.js +11 -11
- package/dist/authed-call/index.d.ts +3 -2
- package/dist/authed-call/index.js +7 -7
- package/dist/await-terminal/index.d.ts +3 -2
- package/dist/await-terminal/index.js +2 -2
- package/dist/batch-window/index.d.ts +4 -3
- package/dist/batch-window/index.js +3 -3
- package/dist/cache/index.d.ts +3 -2
- package/dist/cache/index.js +4 -4
- package/dist/chart/index.d.ts +4 -3
- package/dist/chart/index.js +2 -2
- package/dist/chart/inspect/index.d.ts +5 -4
- package/dist/chart/inspect/index.js +3 -3
- package/dist/chart/inspect/react.d.ts +6 -5
- package/dist/chart/inspect/react.js +5 -5
- package/dist/chart/lane/index.d.ts +7 -6
- package/dist/chart/lane/index.js +6 -6
- package/dist/chart/lane/react.d.ts +6 -5
- package/dist/chart/lane/react.js +7 -7
- package/dist/chart/report/index.d.ts +5 -4
- package/dist/chart/report/index.js +4 -4
- package/dist/{chunk-ZF6WDK2D.js → chunk-3I52QZZ5.js} +7 -7
- package/dist/{chunk-ZF6WDK2D.js.map → chunk-3I52QZZ5.js.map} +1 -1
- package/dist/{chunk-ZD6PNZBK.js → chunk-3ZAFFRRB.js} +3 -3
- package/dist/{chunk-ZD6PNZBK.js.map → chunk-3ZAFFRRB.js.map} +1 -1
- package/dist/{chunk-4KTWLPL5.js → chunk-4EQZ76JC.js} +3 -3
- package/dist/{chunk-4KTWLPL5.js.map → chunk-4EQZ76JC.js.map} +1 -1
- package/dist/{chunk-EUF7XOEE.js → chunk-4KLG43GY.js} +6 -6
- package/dist/{chunk-EUF7XOEE.js.map → chunk-4KLG43GY.js.map} +1 -1
- package/dist/{chunk-JER5O7PQ.js → chunk-7FRZ2CT2.js} +15 -7
- package/dist/chunk-7FRZ2CT2.js.map +1 -0
- package/dist/{chunk-ZCL7SCBK.js → chunk-CIQG5L42.js} +5 -5
- package/dist/{chunk-ZCL7SCBK.js.map → chunk-CIQG5L42.js.map} +1 -1
- package/dist/{chunk-TP5UPGLY.js → chunk-CLM6ERNO.js} +3 -3
- package/dist/{chunk-TP5UPGLY.js.map → chunk-CLM6ERNO.js.map} +1 -1
- package/dist/{chunk-ND3DH6KM.js → chunk-COS5MSTO.js} +3 -3
- package/dist/{chunk-ND3DH6KM.js.map → chunk-COS5MSTO.js.map} +1 -1
- package/dist/{chunk-JP5D6GSL.js → chunk-CRPZJVD2.js} +4 -4
- package/dist/{chunk-JP5D6GSL.js.map → chunk-CRPZJVD2.js.map} +1 -1
- package/dist/{chunk-SUST46KO.js → chunk-D62FDQKE.js} +3 -3
- package/dist/{chunk-SUST46KO.js.map → chunk-D62FDQKE.js.map} +1 -1
- package/dist/{chunk-JGVL3WPL.js → chunk-DGE4PV4A.js} +3 -3
- package/dist/{chunk-JGVL3WPL.js.map → chunk-DGE4PV4A.js.map} +1 -1
- package/dist/{chunk-WLGO64WC.js → chunk-DMYGQB4O.js} +4 -4
- package/dist/{chunk-WLGO64WC.js.map → chunk-DMYGQB4O.js.map} +1 -1
- package/dist/{chunk-A56OR5RF.js → chunk-L57ZOT5K.js} +3 -3
- package/dist/{chunk-A56OR5RF.js.map → chunk-L57ZOT5K.js.map} +1 -1
- package/dist/{chunk-5KJKJOFC.js → chunk-NR7BU22N.js} +3 -3
- package/dist/{chunk-5KJKJOFC.js.map → chunk-NR7BU22N.js.map} +1 -1
- package/dist/{chunk-7V4EVLZA.js → chunk-O4MVQTEJ.js} +4 -4
- package/dist/{chunk-7V4EVLZA.js.map → chunk-O4MVQTEJ.js.map} +1 -1
- package/dist/{chunk-B5VXOFMZ.js → chunk-OOYD44JI.js} +54 -3
- package/dist/chunk-OOYD44JI.js.map +1 -0
- package/dist/{chunk-7SVIRMC6.js → chunk-RH5EFRVJ.js} +3 -3
- package/dist/{chunk-7SVIRMC6.js.map → chunk-RH5EFRVJ.js.map} +1 -1
- package/dist/{chunk-3JU6657S.js → chunk-VYFAZN3F.js} +3 -3
- package/dist/{chunk-3JU6657S.js.map → chunk-VYFAZN3F.js.map} +1 -1
- package/dist/chunk-XGELA764.js +163 -0
- package/dist/chunk-XGELA764.js.map +1 -0
- package/dist/{chunk-I5OV65MS.js → chunk-YUXP55T2.js} +3 -3
- package/dist/{chunk-I5OV65MS.js.map → chunk-YUXP55T2.js.map} +1 -1
- package/dist/{chunk-E6GEDSF4.js → chunk-YWIKDKHY.js} +3 -3
- package/dist/{chunk-E6GEDSF4.js.map → chunk-YWIKDKHY.js.map} +1 -1
- package/dist/{chunk-5EHLEUTL.js → chunk-ZSUUOEPL.js} +51 -6
- package/dist/chunk-ZSUUOEPL.js.map +1 -0
- package/dist/{core-Bjc0bS8j.d.ts → core-Co0LWkIA.d.ts} +190 -3
- package/dist/deadline/index.d.ts +3 -2
- package/dist/deadline/index.js +3 -3
- package/dist/do/index.d.ts +12 -8
- package/dist/do/index.js +11 -11
- package/dist/do/index.js.map +1 -1
- package/dist/{durable-effects-D8SqU_if.d.ts → durable-effects-C6uwzjb5.d.ts} +1 -1
- package/dist/extension/index.d.ts +3 -2
- package/dist/extension/index.js +3 -3
- package/dist/extension/react.js +3 -3
- package/dist/extension/subs/index.d.ts +3 -2
- package/dist/fan-out/index.d.ts +3 -2
- package/dist/{fold-Blbhru48.d.ts → fold-BJPdjc9w.d.ts} +1 -1
- package/dist/{graph-CcjWZVrd.d.ts → graph-B3L5e0N1.d.ts} +1 -1
- package/dist/idempotent-intake/index.d.ts +3 -2
- package/dist/index.d.ts +14 -6
- package/dist/index.js +2 -2
- package/dist/journal/index.d.ts +373 -0
- package/dist/journal/index.js +3 -0
- package/dist/journal/index.js.map +1 -0
- package/dist/llm-call/index.d.ts +3 -2
- package/dist/llm-call/index.js +8 -8
- package/dist/{machine-0OmPvsy_.d.ts → machine-BtFWQmmq.d.ts} +1 -1
- package/dist/machine-viz/index.d.ts +2 -1
- package/dist/machine-viz/index.js +2 -2
- package/dist/mem/index.d.ts +3 -2
- package/dist/monitored-run/index.d.ts +4 -3
- package/dist/monitored-run/index.js +5 -5
- package/dist/node/index.d.ts +31 -3
- package/dist/node/index.js +92 -3
- package/dist/node/index.js.map +1 -1
- package/dist/paginated-walk/index.d.ts +3 -2
- package/dist/paginated-walk/index.js +7 -7
- package/dist/parity/index.d.ts +3 -2
- package/dist/parity/index.js +3 -3
- package/dist/pbt/arbitraries/index.d.ts +2 -1
- package/dist/pbt/index.d.ts +2 -1
- package/dist/pbt/index.js +3 -3
- package/dist/pbt/runners/index.d.ts +2 -1
- package/dist/pbt/runners/index.js +3 -3
- package/dist/poller/index.d.ts +3 -2
- package/dist/poller/index.js +3 -3
- package/dist/prediction/index.d.ts +2 -1
- package/dist/prediction/index.js +2 -2
- package/dist/pure/index.d.ts +2 -1
- package/dist/pure/index.js +2 -2
- package/dist/react/index.d.ts +4 -3
- package/dist/react/index.js +2 -2
- package/dist/react/index.js.map +1 -1
- package/dist/reconciler/index.d.ts +3 -2
- package/dist/reconciler/index.js +7 -7
- package/dist/recorder/index.d.ts +3 -2
- package/dist/{reducer-BqyoVyBG.d.ts → reducer-4GNR6b8B.d.ts} +2 -2
- package/dist/resilient-call/index.d.ts +3 -2
- package/dist/resilient-call/index.js +6 -6
- package/dist/{run-BVeqJDBF.d.ts → run-pAcmBpah.d.ts} +3 -3
- package/dist/{runtime-types-Bxc637bp.d.ts → runtime-types-CNLmhWif.d.ts} +17 -2
- package/dist/saga/index.d.ts +3 -2
- package/dist/{samples-DCt6nF8H.d.ts → samples-B3My5oh2.d.ts} +1 -1
- package/dist/snapshot/index.d.ts +2 -1
- package/dist/snapshot/index.js +3 -3
- package/dist/subs/index.d.ts +4 -3
- package/dist/subs/index.js +3 -3
- package/dist/testing/index.d.ts +3 -2
- package/dist/testing/index.js +2 -2
- package/dist/throttled-input/index.d.ts +3 -2
- package/dist/throttled-input/index.js +6 -6
- package/dist/token-refresh/index.d.ts +2 -1
- package/dist/token-refresh/index.js +3 -3
- package/dist/trace-replay/index.d.ts +3 -2
- package/dist/trace-replay/index.js +3 -3
- package/dist/{types-D7u9DkH7.d.ts → types-XS_miRnB.d.ts} +1 -1
- package/dist/with-deadline/index.d.ts +2 -1
- package/dist/with-deadline/index.js +2 -2
- package/dist/with-resilience/index.d.ts +3 -2
- package/dist/with-resilience/index.js +6 -6
- package/dist/with-telemetry/index.d.ts +2 -1
- package/dist/with-telemetry/index.js +2 -2
- package/dist/work-queue/adapter.d.ts +3 -2
- package/dist/work-queue/index.d.ts +3 -2
- package/dist/work-queue/ops.d.ts +3 -2
- package/dist/workflow/index.d.ts +4 -3
- package/package.json +11 -4
- package/dist/chunk-5EHLEUTL.js.map +0 -1
- package/dist/chunk-B5VXOFMZ.js.map +0 -1
- package/dist/chunk-JER5O7PQ.js.map +0 -1
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { C as Cmd } from '../core-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
17
|
+
import '../runtime-types-CNLmhWif.js';
|
|
17
18
|
import 'better-result';
|
|
18
19
|
import '../snapshot/index.js';
|
|
19
20
|
|
package/dist/agent/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { COMPACTION_PURPOSE, agentBootMsg, agentEvents, agentTurnSchema, compactionSummarySchema, createAgent, isAgentTurn, isCompactionSummary, liftAgent, mergeInterpret, status } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
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
|
-
|
|
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-
|
|
13
|
+
import '../chunk-G5E74IJB.js';
|
|
13
14
|
import '../chunk-MU6MCIAC.js';
|
|
14
15
|
import '../chunk-FV3Z5MBE.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-VYFAZN3F.js';
|
|
16
17
|
import '../chunk-2YFLOCWX.js';
|
|
17
18
|
import '../chunk-ZJ5AOYBH.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
import { createResilientCall } from '../chunk-
|
|
1
|
+
import { createTokenRefresh, refreshTokenCmd } from '../chunk-CLM6ERNO.js';
|
|
2
|
+
import { createResilientCall } from '../chunk-4KLG43GY.js';
|
|
3
3
|
import '../chunk-JELSZN25.js';
|
|
4
|
-
|
|
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-
|
|
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-
|
|
13
|
-
import { without } from '../chunk-
|
|
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-
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine } from '../core-
|
|
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,9 +1,10 @@
|
|
|
1
|
-
import { C as Cmd } from '../core-
|
|
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-
|
|
4
|
+
import { S as SubscribeHandler } from '../types-XS_miRnB.js';
|
|
5
5
|
export { EnqueueInput } from '../work-queue/index.js';
|
|
6
|
-
import '
|
|
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-
|
|
2
|
+
import { subscribeDeadline, deadlineExceeded, deadlineSub } from '../chunk-DGE4PV4A.js';
|
|
3
3
|
import '../chunk-2YFLOCWX.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-ZSUUOEPL.js';
|
|
5
|
+
import '../chunk-OOYD44JI.js';
|
|
6
6
|
|
|
7
7
|
// src/batch-window/index.ts
|
|
8
8
|
function initBatchWindow() {
|
package/dist/cache/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { S as Sub } from '../core-
|
|
2
|
-
import { S as SubscribeHandler } from '../types-
|
|
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.
|
package/dist/cache/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { cacheEvictMsg, cacheEvictionSub, cacheEvictionSubscribe, evictExpired, get, has, initCache, remove, set } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
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-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ZSUUOEPL.js';
|
|
6
|
+
import '../chunk-OOYD44JI.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/chart/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { C as Cmd, T as Transitions,
|
|
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-
|
|
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-
|
|
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`.
|
package/dist/chart/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CellTargetError, chartMermaid, compile, compileReducer, edgeKey, initFrom, initialStateOf, reducerInitFrom, reducerMermaid } from '../chunk-
|
|
1
|
+
export { CellTargetError, chartMermaid, compile, compileReducer, edgeKey, initFrom, initialStateOf, reducerInitFrom, reducerMermaid } from '../chunk-YWIKDKHY.js';
|
|
2
2
|
import '../chunk-UOC2PL46.js';
|
|
3
|
-
import '../chunk-
|
|
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-
|
|
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-
|
|
3
|
-
export { R as RtSamples, S as SamplePayload, a as Samples, s as sampleMsg } from '../../samples-
|
|
4
|
-
import '
|
|
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-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
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-
|
|
3
|
-
import { C as Cmd, M as Machine, S as Sub } from '../../core-
|
|
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-
|
|
7
|
-
import { a as Samples } from '../../samples-
|
|
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
|
|
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-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
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-
|
|
2
|
-
import { P as PhaseStanding, I as ImportedLane, L as LogEntry, T as TaskState } from '../../fold-
|
|
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-
|
|
4
|
-
import '../../graph-
|
|
5
|
-
import '../../core-
|
|
6
|
-
import '
|
|
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. */
|
package/dist/chart/lane/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { LaneShapeError, defineLane, inspectLane, inspectLaneStates, laneShape, laneView, liveFeed, replayFeed, runLane } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
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-
|
|
7
|
-
import '../../chunk-
|
|
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-
|
|
3
|
-
import { I as ImportedLane, L as LogEntry } from '../../fold-
|
|
4
|
-
import { L as LaneTaskId, a as LaneTaskChart, b as LaneHandsOf } from '../../run-
|
|
5
|
-
import '../../graph-
|
|
6
|
-
import '../../core-
|
|
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
|
/**
|
package/dist/chart/lane/react.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { useInspectorRuntime } from '../../chunk-
|
|
2
|
-
import { replayFeed, runLane, liveFeed, laneView } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
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-
|
|
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-
|
|
5
|
-
import '../../core-
|
|
6
|
-
import '
|
|
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-
|
|
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-
|
|
3
|
-
export { edgeKey } from '../../chunk-
|
|
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-
|
|
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-
|
|
2
|
-
import { createLlmCall } from './chunk-
|
|
3
|
-
import { createResilientCall } from './chunk-
|
|
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-
|
|
7
|
-
import { defineMachine } from './chunk-
|
|
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-
|
|
519
|
-
//# sourceMappingURL=chunk-
|
|
518
|
+
//# sourceMappingURL=chunk-3I52QZZ5.js.map
|
|
519
|
+
//# sourceMappingURL=chunk-3I52QZZ5.js.map
|