@demlik/tea 0.5.1 → 0.7.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 +10 -10
- package/dist/authed-call/index.d.ts +2 -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 +2 -2
- package/dist/cache/index.js +4 -4
- package/dist/chart/index.d.ts +934 -0
- package/dist/chart/index.js +244 -0
- package/dist/chart/index.js.map +1 -0
- package/dist/{chunk-2UGTDYOK.js → chunk-3JU6657S.js} +3 -3
- package/dist/{chunk-2UGTDYOK.js.map → chunk-3JU6657S.js.map} +1 -1
- package/dist/{chunk-AZ3NHUPD.js → chunk-4KTWLPL5.js} +3 -3
- package/dist/{chunk-AZ3NHUPD.js.map → chunk-4KTWLPL5.js.map} +1 -1
- package/dist/{chunk-ZH454CR5.js → chunk-5EHLEUTL.js} +24 -4
- package/dist/chunk-5EHLEUTL.js.map +1 -0
- package/dist/{chunk-WF46FABO.js → chunk-7SVIRMC6.js} +3 -3
- package/dist/{chunk-WF46FABO.js.map → chunk-7SVIRMC6.js.map} +1 -1
- package/dist/{chunk-XMHZ44QC.js → chunk-7V4EVLZA.js} +4 -4
- package/dist/{chunk-XMHZ44QC.js.map → chunk-7V4EVLZA.js.map} +1 -1
- package/dist/{chunk-IVHQCVFX.js → chunk-A56OR5RF.js} +3 -3
- package/dist/{chunk-IVHQCVFX.js.map → chunk-A56OR5RF.js.map} +1 -1
- package/dist/{chunk-O7ED34JH.js → chunk-B5VXOFMZ.js} +47 -15
- package/dist/chunk-B5VXOFMZ.js.map +1 -0
- package/dist/{chunk-EC6FO42Q.js → chunk-EUF7XOEE.js} +6 -6
- package/dist/{chunk-EC6FO42Q.js.map → chunk-EUF7XOEE.js.map} +1 -1
- package/dist/{chunk-XOAP3LOT.js → chunk-I5OV65MS.js} +3 -3
- package/dist/{chunk-XOAP3LOT.js.map → chunk-I5OV65MS.js.map} +1 -1
- package/dist/{chunk-ASX7PL2K.js → chunk-JGVL3WPL.js} +3 -3
- package/dist/{chunk-ASX7PL2K.js.map → chunk-JGVL3WPL.js.map} +1 -1
- package/dist/{chunk-S6Y3RNX4.js → chunk-JP5D6GSL.js} +4 -4
- package/dist/{chunk-S6Y3RNX4.js.map → chunk-JP5D6GSL.js.map} +1 -1
- package/dist/{chunk-ERYY5P6W.js → chunk-ND3DH6KM.js} +3 -3
- package/dist/{chunk-ERYY5P6W.js.map → chunk-ND3DH6KM.js.map} +1 -1
- package/dist/{chunk-A7USKARI.js → chunk-SUST46KO.js} +3 -3
- package/dist/{chunk-A7USKARI.js.map → chunk-SUST46KO.js.map} +1 -1
- package/dist/{chunk-2KBEIGYP.js → chunk-TP5UPGLY.js} +3 -3
- package/dist/{chunk-2KBEIGYP.js.map → chunk-TP5UPGLY.js.map} +1 -1
- package/dist/{chunk-66S2KEQQ.js → chunk-WLGO64WC.js} +4 -4
- package/dist/{chunk-66S2KEQQ.js.map → chunk-WLGO64WC.js.map} +1 -1
- package/dist/{chunk-UV7VCTNC.js → chunk-ZF6WDK2D.js} +7 -7
- package/dist/{chunk-UV7VCTNC.js.map → chunk-ZF6WDK2D.js.map} +1 -1
- package/dist/{core-JPHsMZVB.d.ts → core-Bjc0bS8j.d.ts} +37 -1
- package/dist/deadline/index.d.ts +2 -2
- package/dist/deadline/index.js +3 -3
- package/dist/do/index.d.ts +7 -6
- package/dist/do/index.js +10 -10
- package/dist/{durable-effects-MRnCBCxV.d.ts → durable-effects-D8SqU_if.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 +2 -2
- package/dist/fan-out/index.d.ts +3 -2
- package/dist/idempotent-intake/index.d.ts +3 -2
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -2
- package/dist/llm-call/index.d.ts +2 -2
- package/dist/llm-call/index.js +7 -7
- package/dist/{machine-nGXCMyHn.d.ts → machine-0OmPvsy_.d.ts} +1 -1
- package/dist/machine-viz/index.d.ts +1 -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 +3 -2
- package/dist/paginated-walk/index.d.ts +2 -2
- package/dist/paginated-walk/index.js +7 -7
- package/dist/parity/index.d.ts +31 -2
- package/dist/parity/index.js +3 -3
- package/dist/parity/index.js.map +1 -1
- package/dist/pbt/arbitraries/index.d.ts +1 -1
- package/dist/pbt/index.d.ts +1 -1
- package/dist/pbt/index.js +3 -3
- package/dist/pbt/runners/index.d.ts +1 -1
- package/dist/pbt/runners/index.js +3 -3
- package/dist/poller/index.d.ts +28 -7
- package/dist/poller/index.js +3 -3
- package/dist/poller/index.js.map +1 -1
- package/dist/prediction/index.d.ts +1 -1
- package/dist/prediction/index.js +2 -2
- package/dist/pure/index.d.ts +1 -1
- package/dist/pure/index.js +2 -2
- package/dist/react/index.d.ts +3 -2
- package/dist/react/index.js +2 -2
- package/dist/reconciler/index.d.ts +2 -2
- package/dist/reconciler/index.js +7 -7
- package/dist/recorder/index.d.ts +3 -2
- package/dist/resilient-call/index.d.ts +2 -2
- package/dist/resilient-call/index.js +6 -6
- package/dist/{runtime-types-BbBq4LWo.d.ts → runtime-types-Bxc637bp.d.ts} +53 -2
- package/dist/saga/index.d.ts +3 -2
- package/dist/snapshot/index.d.ts +1 -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 +2 -2
- package/dist/throttled-input/index.js +6 -6
- package/dist/token-refresh/index.d.ts +1 -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-BMZ7IMrd.d.ts → types-D7u9DkH7.d.ts} +1 -1
- package/dist/with-deadline/index.d.ts +1 -1
- package/dist/with-deadline/index.js +2 -2
- package/dist/with-resilience/index.d.ts +2 -2
- package/dist/with-resilience/index.js +6 -6
- package/dist/with-telemetry/index.d.ts +1 -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 +6 -4
- package/dist/workflow/index.js +1 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +8 -1
- package/dist/chunk-O7ED34JH.js.map +0 -1
- package/dist/chunk-ZH454CR5.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-Bjc0bS8j.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-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';
|
|
5
5
|
export { MonitoredRunCmd, RunFailure } from '../monitored-run/index.js';
|
|
6
6
|
export { DeadlineSub, deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
7
7
|
import '../resilient-call/index.js';
|
|
8
8
|
import '../cache/index.js';
|
|
9
|
-
import '../types-
|
|
9
|
+
import '../types-D7u9DkH7.js';
|
|
10
10
|
import '../circuit-breaker/index.js';
|
|
11
11
|
import '../protocol-B5YmJr0d.js';
|
|
12
12
|
import '../rate-limit/index.js';
|
|
13
13
|
import '../retry-backoff/index.js';
|
|
14
14
|
import '../fan-out/index.js';
|
|
15
15
|
import '../work-queue/index.js';
|
|
16
|
-
import '../runtime-types-
|
|
16
|
+
import '../runtime-types-Bxc637bp.js';
|
|
17
|
+
import 'better-result';
|
|
17
18
|
import '../snapshot/index.js';
|
|
18
19
|
|
|
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-ZF6WDK2D.js';
|
|
2
|
+
import '../chunk-WLGO64WC.js';
|
|
3
|
+
import '../chunk-ND3DH6KM.js';
|
|
4
|
+
import '../chunk-7V4EVLZA.js';
|
|
5
|
+
import '../chunk-EUF7XOEE.js';
|
|
6
6
|
import '../chunk-JELSZN25.js';
|
|
7
7
|
import '../chunk-D736QUGF.js';
|
|
8
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
8
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-JGVL3WPL.js';
|
|
9
9
|
import '../chunk-Q2UM7BXU.js';
|
|
10
10
|
import '../chunk-S2EGRPCM.js';
|
|
11
11
|
import '../chunk-UF4MZSLT.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-7SVIRMC6.js';
|
|
13
13
|
import '../chunk-MU6MCIAC.js';
|
|
14
14
|
import '../chunk-FV3Z5MBE.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-3JU6657S.js';
|
|
16
16
|
import '../chunk-2YFLOCWX.js';
|
|
17
17
|
import '../chunk-ZJ5AOYBH.js';
|
|
18
18
|
import '../chunk-G5E74IJB.js';
|
|
19
|
-
import '../chunk-
|
|
20
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-5EHLEUTL.js';
|
|
20
|
+
import '../chunk-B5VXOFMZ.js';
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { P as PortEmitter, C as Cmd } from '../core-
|
|
1
|
+
import { P as PortEmitter, C as Cmd } from '../core-Bjc0bS8j.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
7
|
import '../cache/index.js';
|
|
8
|
-
import '../types-
|
|
8
|
+
import '../types-D7u9DkH7.js';
|
|
9
9
|
import '../circuit-breaker/index.js';
|
|
10
10
|
import '../rate-limit/index.js';
|
|
11
11
|
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-TP5UPGLY.js';
|
|
2
|
+
import { createResilientCall } from '../chunk-EUF7XOEE.js';
|
|
3
3
|
import '../chunk-JELSZN25.js';
|
|
4
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
4
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-JGVL3WPL.js';
|
|
5
5
|
import '../chunk-Q2UM7BXU.js';
|
|
6
6
|
import '../chunk-S2EGRPCM.js';
|
|
7
7
|
import '../chunk-UF4MZSLT.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-7SVIRMC6.js';
|
|
9
|
+
import '../chunk-3JU6657S.js';
|
|
10
10
|
import '../chunk-2YFLOCWX.js';
|
|
11
11
|
import '../chunk-ZJ5AOYBH.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import { without } from '../chunk-
|
|
12
|
+
import '../chunk-5EHLEUTL.js';
|
|
13
|
+
import { without } from '../chunk-B5VXOFMZ.js';
|
|
14
14
|
|
|
15
15
|
// src/authed-call/index.ts
|
|
16
16
|
function createAuthedCall(config, rng = Math.random) {
|
|
@@ -1,5 +1,6 @@
|
|
|
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-Bxc637bp.js';
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine } from '../core-Bjc0bS8j.js';
|
|
3
|
+
import 'better-result';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* @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-Bjc0bS8j.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-D7u9DkH7.js';
|
|
5
5
|
export { EnqueueInput } from '../work-queue/index.js';
|
|
6
|
-
import '../runtime-types-
|
|
6
|
+
import '../runtime-types-Bxc637bp.js';
|
|
7
|
+
import 'better-result';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* @demlik/tea/batch-window — coalesce a stream of items into size- or
|
|
@@ -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-JGVL3WPL.js';
|
|
3
3
|
import '../chunk-2YFLOCWX.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-5EHLEUTL.js';
|
|
5
|
+
import '../chunk-B5VXOFMZ.js';
|
|
6
6
|
|
|
7
7
|
// src/batch-window/index.ts
|
|
8
8
|
function initBatchWindow() {
|
package/dist/cache/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Sub } from '../core-
|
|
2
|
-
import { S as SubscribeHandler } from '../types-
|
|
1
|
+
import { S as Sub } from '../core-Bjc0bS8j.js';
|
|
2
|
+
import { S as SubscribeHandler } from '../types-D7u9DkH7.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @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-7SVIRMC6.js';
|
|
2
|
+
import '../chunk-3JU6657S.js';
|
|
3
3
|
import '../chunk-2YFLOCWX.js';
|
|
4
4
|
import '../chunk-ZJ5AOYBH.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-5EHLEUTL.js';
|
|
6
|
+
import '../chunk-B5VXOFMZ.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|