@demlik/tea 0.4.0 → 0.5.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 +5 -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 +2 -2
- package/dist/await-terminal/index.js +2 -2
- package/dist/batch-window/index.d.ts +3 -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/{chunk-2AHAR7CX.js → chunk-362SZ6CS.js} +3 -3
- package/dist/{chunk-2AHAR7CX.js.map → chunk-362SZ6CS.js.map} +1 -1
- package/dist/{chunk-JFFVBEDI.js → chunk-62QBHM3T.js} +3 -3
- package/dist/{chunk-JFFVBEDI.js.map → chunk-62QBHM3T.js.map} +1 -1
- package/dist/{chunk-JXYYRKD6.js → chunk-7A74NSG4.js} +3 -3
- package/dist/{chunk-JXYYRKD6.js.map → chunk-7A74NSG4.js.map} +1 -1
- package/dist/{chunk-2KNLKQVN.js → chunk-7UU5P2CX.js} +3 -3
- package/dist/{chunk-2KNLKQVN.js.map → chunk-7UU5P2CX.js.map} +1 -1
- package/dist/{chunk-ET6QQNSQ.js → chunk-CIDS43FH.js} +3 -3
- package/dist/{chunk-ET6QQNSQ.js.map → chunk-CIDS43FH.js.map} +1 -1
- package/dist/{chunk-PBDYW2TU.js → chunk-DBOJ2UC6.js} +14 -3
- package/dist/chunk-DBOJ2UC6.js.map +1 -0
- package/dist/{chunk-5W7CNAHB.js → chunk-KEFMI24G.js} +7 -7
- package/dist/{chunk-5W7CNAHB.js.map → chunk-KEFMI24G.js.map} +1 -1
- package/dist/{chunk-SPWVPIFQ.js → chunk-KWPB6BM6.js} +4 -4
- package/dist/{chunk-SPWVPIFQ.js.map → chunk-KWPB6BM6.js.map} +1 -1
- package/dist/{chunk-SSHDBOXF.js → chunk-LFW66IIV.js} +4 -4
- package/dist/{chunk-SSHDBOXF.js.map → chunk-LFW66IIV.js.map} +1 -1
- package/dist/{chunk-D4NJBQAH.js → chunk-PBAYOJJO.js} +91 -24
- package/dist/chunk-PBAYOJJO.js.map +1 -0
- package/dist/{chunk-TWDHNIY6.js → chunk-PUTHY7LR.js} +3 -3
- package/dist/{chunk-TWDHNIY6.js.map → chunk-PUTHY7LR.js.map} +1 -1
- package/dist/{chunk-LYLDCIPH.js → chunk-QKUWDC4P.js} +32 -25
- package/dist/chunk-QKUWDC4P.js.map +1 -0
- package/dist/{chunk-FCKP6N7Y.js → chunk-T6HDAPMR.js} +3 -3
- package/dist/{chunk-FCKP6N7Y.js.map → chunk-T6HDAPMR.js.map} +1 -1
- package/dist/{chunk-B5RAZVXW.js → chunk-W2S4HK7J.js} +6 -6
- package/dist/{chunk-B5RAZVXW.js.map → chunk-W2S4HK7J.js.map} +1 -1
- package/dist/{chunk-LJJV6ZD5.js → chunk-ZILCH3WS.js} +4 -4
- package/dist/{chunk-LJJV6ZD5.js.map → chunk-ZILCH3WS.js.map} +1 -1
- package/dist/{chunk-RMX4EOQK.js → chunk-ZT3MGQB7.js} +3 -3
- package/dist/{chunk-RMX4EOQK.js.map → chunk-ZT3MGQB7.js.map} +1 -1
- package/dist/{core-42kapW0n.d.ts → core-DPYOyOJv.d.ts} +8 -5
- package/dist/deadline/index.d.ts +2 -2
- package/dist/deadline/index.js +3 -3
- package/dist/do/index.d.ts +6 -6
- package/dist/do/index.js +10 -10
- package/dist/{durable-effects-CFRngTNA.d.ts → durable-effects-B0YpoCHg.d.ts} +1 -1
- package/dist/extension/index.d.ts +2 -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 +2 -2
- package/dist/idempotent-intake/index.d.ts +2 -2
- package/dist/index.d.ts +18 -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-B_BF4jij.d.ts → machine-Q_Bsm7Vu.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 +2 -2
- package/dist/monitored-run/index.d.ts +3 -3
- package/dist/monitored-run/index.js +5 -5
- package/dist/node/index.d.ts +2 -2
- package/dist/paginated-walk/index.d.ts +2 -2
- package/dist/paginated-walk/index.js +7 -7
- package/dist/parity/index.d.ts +2 -2
- package/dist/parity/index.js +3 -3
- 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 +2 -2
- package/dist/poller/index.js +3 -3
- 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 +2 -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 +2 -2
- package/dist/resilient-call/index.d.ts +2 -2
- package/dist/resilient-call/index.js +6 -6
- package/dist/{runtime-types-CukV8kMX.d.ts → runtime-types-uBuVvZqa.d.ts} +50 -5
- package/dist/saga/index.d.ts +2 -2
- package/dist/snapshot/index.d.ts +1 -1
- package/dist/snapshot/index.js +3 -3
- package/dist/subs/index.d.ts +16 -9
- package/dist/subs/index.js +3 -3
- package/dist/testing/index.d.ts +2 -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 +2 -2
- package/dist/trace-replay/index.js +3 -3
- package/dist/{types-KbL3W1mj.d.ts → types-C6mXL9wA.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 +2 -2
- package/dist/work-queue/index.d.ts +2 -2
- package/dist/work-queue/ops.d.ts +2 -2
- package/dist/workflow/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunk-D4NJBQAH.js.map +0 -1
- package/dist/chunk-LYLDCIPH.js.map +0 -1
- package/dist/chunk-PBDYW2TU.js.map +0 -1
package/dist/do/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { status, agentBootMsg, agentEvents } from '../chunk-
|
|
1
|
+
import { status, agentBootMsg, agentEvents } from '../chunk-KEFMI24G.js';
|
|
2
2
|
export { applyEffectEvent, emptyLedger, foldLedger, isOwed, pendingEffectsLedger, survivingEffects } from '../chunk-25LBDCBC.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-ZILCH3WS.js';
|
|
4
|
+
import '../chunk-T6HDAPMR.js';
|
|
5
|
+
import '../chunk-KWPB6BM6.js';
|
|
6
|
+
import '../chunk-W2S4HK7J.js';
|
|
7
7
|
import '../chunk-JELSZN25.js';
|
|
8
8
|
import '../chunk-D736QUGF.js';
|
|
9
9
|
import { createIntake } from '../chunk-ZVJZ72HY.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-ZT3MGQB7.js';
|
|
11
11
|
import { defaultRetryPolicy, initRetry, recordFailure, shouldRetry, nextDelayMs } from '../chunk-Q2UM7BXU.js';
|
|
12
12
|
import '../chunk-S2EGRPCM.js';
|
|
13
13
|
import '../chunk-BYQUGDD3.js';
|
|
14
14
|
import '../chunk-K575PT4S.js';
|
|
15
15
|
import '../chunk-UF4MZSLT.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-7UU5P2CX.js';
|
|
17
17
|
import '../chunk-MU6MCIAC.js';
|
|
18
18
|
import '../chunk-FV3Z5MBE.js';
|
|
19
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-QKUWDC4P.js';
|
|
20
20
|
import '../chunk-2YFLOCWX.js';
|
|
21
21
|
import '../chunk-ZJ5AOYBH.js';
|
|
22
22
|
import '../chunk-G5E74IJB.js';
|
|
23
|
-
import { replay, run } from '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import { replay, run } from '../chunk-PBAYOJJO.js';
|
|
24
|
+
import '../chunk-DBOJ2UC6.js';
|
|
25
25
|
|
|
26
26
|
// src/do/durable-timer.ts
|
|
27
27
|
function durableTimer(config) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as Runtime, S as Store } from '../runtime-types-
|
|
2
|
-
import '../core-
|
|
1
|
+
import { R as Runtime, S as Store } from '../runtime-types-uBuVvZqa.js';
|
|
2
|
+
import '../core-DPYOyOJv.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Runtime bridge — expose a `@demlik/tea` runtime running in one chrome context
|
package/dist/extension/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { bridgeClient, bridgeRuntime, bridgeTabClient, passThroughMsg } from '../chunk-
|
|
1
|
+
export { bridgeClient, bridgeRuntime, bridgeTabClient, passThroughMsg } from '../chunk-CIDS43FH.js';
|
|
2
2
|
import '../chunk-G5E74IJB.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-PBAYOJJO.js';
|
|
4
|
+
import '../chunk-DBOJ2UC6.js';
|
|
5
5
|
|
|
6
6
|
// src/extension/index.ts
|
|
7
7
|
var MALFORMED = "chromeStorageStore: stored value is not a string";
|
package/dist/extension/react.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { bridgeClient, passThroughMsg } from '../chunk-
|
|
1
|
+
import { bridgeClient, passThroughMsg } from '../chunk-CIDS43FH.js';
|
|
2
2
|
import '../chunk-G5E74IJB.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-PBAYOJJO.js';
|
|
4
|
+
import '../chunk-DBOJ2UC6.js';
|
|
5
5
|
import { useRef, useSyncExternalStore, useEffect, useCallback, createContext, useMemo, useContext } from 'react';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -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-DPYOyOJv.js';
|
|
2
|
+
import { S as SubscribeHandler } from '../../types-C6mXL9wA.js';
|
|
3
3
|
|
|
4
4
|
type AlarmSubData = {
|
|
5
5
|
alarmName: string;
|
package/dist/fan-out/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Cmd, P as Port } from '../core-
|
|
1
|
+
import { C as Cmd, P as Port } from '../core-DPYOyOJv.js';
|
|
2
2
|
import { QueueItem } from '../work-queue/index.js';
|
|
3
|
-
import '../runtime-types-
|
|
3
|
+
import '../runtime-types-uBuVvZqa.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @demlik/tea/fan-out — scatter-gather over a bounded-concurrency work list.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IdempotencyStore } from '../idempotency/index.js';
|
|
2
|
-
import { C as Cmd } from '../core-
|
|
2
|
+
import { C as Cmd } from '../core-DPYOyOJv.js';
|
|
3
3
|
import { QueueItem } from '../work-queue/index.js';
|
|
4
|
-
import '../runtime-types-
|
|
4
|
+
import '../runtime-types-uBuVvZqa.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @demlik/tea/idempotent-intake — receive-once intake for webhooks / queue
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BootingRuntime, C as CtxArg, S as Store, O as OnError, a as Supervision } from './runtime-types-
|
|
2
|
-
export { b as Branded,
|
|
3
|
-
import { C as Cmd, S as Sub, M as Machine } from './core-
|
|
4
|
-
export { d as ContextFree, D as DepKeyedSub, e as Dispose, f as Identity, c as Interpret, I as InterpretDetached, n as NoCellError, N as NoCtx, P as Port, b as PortEmitter, R as Reducer, a as SubId, g as Subscribe, h as SyncReturn, T as Transitions, U as UpdateForm, i as applyCell, j as detectUpdateForm, k as foldMsgs, l as formOf, m as msgKeysOf, s as structuralHash, o as subId } from './core-
|
|
1
|
+
import { B as BootingRuntime, C as CtxArg, S as Store, O as OnError, a as Supervision } from './runtime-types-uBuVvZqa.js';
|
|
2
|
+
export { b as Branded, j as DispatchDiscardedError, m as DispatchSettle, D as DisposeTimeoutNotice, I as IdentityDropNotice, P as PortNameCollisionError, Q as QuiescenceTimeoutError, R as Runtime, h as RuntimeDiscardNotice, i as RuntimeDiscardedError, f as RuntimeErrorContext, e as RuntimeErrorPhase, o as RuntimeRef, l as Schema, d as SubIdCollisionError, g as SupervisionStrategy, _ as __resetPortRegistry, c as absurd, q as asReducer, p as defineMachine, k as definePort, n as noop, r as replay, s as schemaMigrate, t as tryInterpret, w as wrapDetached } from './runtime-types-uBuVvZqa.js';
|
|
3
|
+
import { C as Cmd, S as Sub, M as Machine } from './core-DPYOyOJv.js';
|
|
4
|
+
export { d as ContextFree, D as DepKeyedSub, e as Dispose, f as Identity, c as Interpret, I as InterpretDetached, n as NoCellError, N as NoCtx, P as Port, b as PortEmitter, R as Reducer, a as SubId, g as Subscribe, h as SyncReturn, T as Transitions, U as UpdateForm, i as applyCell, j as detectUpdateForm, k as foldMsgs, l as formOf, m as msgKeysOf, s as structuralHash, o as subId } from './core-DPYOyOJv.js';
|
|
5
5
|
|
|
6
6
|
interface HistoryTracker<S, M extends {
|
|
7
7
|
type: string;
|
|
@@ -80,6 +80,20 @@ declare function run<S, M extends {
|
|
|
80
80
|
* `Runtime.result()` and `Runtime.done()`. PURE. Omit → never terminal.
|
|
81
81
|
*/
|
|
82
82
|
terminal?: (state: S) => boolean;
|
|
83
|
+
/**
|
|
84
|
+
* How long `stop()` waits for teardown work that returned a Promise (an
|
|
85
|
+
* async `release` in `defineManagedResource`, an async Sub cleanup) before
|
|
86
|
+
* giving up on it. Defaults to 5_000ms.
|
|
87
|
+
*
|
|
88
|
+
* `stop()` awaits those disposals so a host doing
|
|
89
|
+
* `await runtime.stop(); env.evict()` cannot drop the isolate mid-release —
|
|
90
|
+
* the leak the managed-resource battery exists to prevent, relocated to
|
|
91
|
+
* shutdown. The bound is what keeps a release that never settles from
|
|
92
|
+
* hanging the host: on expiry `stop()` reports a `DisposeTimeoutNotice`
|
|
93
|
+
* (warn-only, like every `RuntimeDiscardNotice`) and resolves anyway,
|
|
94
|
+
* because `stop()` resolving is a contract.
|
|
95
|
+
*/
|
|
96
|
+
disposeTimeoutMs?: number;
|
|
83
97
|
/**
|
|
84
98
|
* Iteration cap for `idle()`'s quiescence wait. Defaults to 100_000. Test
|
|
85
99
|
* seam only. Production code must not set it.
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DispatchDiscardedError, PortNameCollisionError, QuiescenceTimeoutError, RuntimeDiscardNotice, RuntimeDiscardedError, SubIdCollisionError, __resetPortRegistry, absurd, asReducer, defineMachine, definePort, historyTracker, noop, replay, run, schemaMigrate, tryInterpret, wrapDetached } from './chunk-
|
|
2
|
-
export { Cmd, NoCellError, applyCell, detectUpdateForm, foldMsgs, formOf, msgKeysOf, structuralHash, subId } from './chunk-
|
|
1
|
+
export { DispatchDiscardedError, DisposeTimeoutNotice, IdentityDropNotice, PortNameCollisionError, QuiescenceTimeoutError, RuntimeDiscardNotice, RuntimeDiscardedError, SubIdCollisionError, __resetPortRegistry, absurd, asReducer, defineMachine, definePort, historyTracker, noop, replay, run, schemaMigrate, tryInterpret, wrapDetached } from './chunk-PBAYOJJO.js';
|
|
2
|
+
export { Cmd, NoCellError, applyCell, detectUpdateForm, foldMsgs, formOf, msgKeysOf, structuralHash, subId } from './chunk-DBOJ2UC6.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/llm-call/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as Cmd } from '../core-
|
|
1
|
+
import { C as Cmd } from '../core-DPYOyOJv.js';
|
|
2
2
|
import { SucceedMsg, FailMsg, RunCmd, ResilientState } from '../resilient-call/index.js';
|
|
3
3
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
4
4
|
import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
|
|
5
5
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
6
6
|
import '../cache/index.js';
|
|
7
|
-
import '../types-
|
|
7
|
+
import '../types-C6mXL9wA.js';
|
|
8
8
|
import '../circuit-breaker/index.js';
|
|
9
9
|
import '../protocol-B5YmJr0d.js';
|
|
10
10
|
import '../rate-limit/index.js';
|
package/dist/llm-call/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { createLlmCall, liftLlmCall } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { createLlmCall, liftLlmCall } from '../chunk-T6HDAPMR.js';
|
|
2
|
+
import '../chunk-W2S4HK7J.js';
|
|
3
3
|
import '../chunk-JELSZN25.js';
|
|
4
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
4
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-ZT3MGQB7.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-7UU5P2CX.js';
|
|
9
|
+
import '../chunk-QKUWDC4P.js';
|
|
10
10
|
import '../chunk-2YFLOCWX.js';
|
|
11
11
|
import '../chunk-ZJ5AOYBH.js';
|
|
12
12
|
import '../chunk-G5E74IJB.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-PBAYOJJO.js';
|
|
14
|
+
import '../chunk-DBOJ2UC6.js';
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Cmd, c as Interpret, M as Machine } from './core-
|
|
1
|
+
import { C as Cmd, c as Interpret, M as Machine } from './core-DPYOyOJv.js';
|
|
2
2
|
import { LlmCall, LlmOk, ModelFactory, Schema, MessageLoader, LlmErr, LlmSucceedMsg, LlmFailMsg, LlmTimerMsg, LlmRunCmd, LlmCallPorts } from './llm-call/index.js';
|
|
3
3
|
import { MonitoredRunState, RunFailure, MonitoredRunCmd } from './monitored-run/index.js';
|
|
4
4
|
import { M as MsgType } from './protocol-B5YmJr0d.js';
|
package/dist/mem/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
|
|
2
2
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
3
|
-
import { c as Interpret, C as Cmd } from '../core-
|
|
3
|
+
import { c as Interpret, C as Cmd } from '../core-DPYOyOJv.js';
|
|
4
4
|
import { SnapshotState, SnapshotWriteCmd, SnapshotStore, SnapshotSavedMsg, SnapshotFailedMsg, SnapshotLoadedMsg, SnapshotLoadFailedMsg, SnapshotLoadCmd } from '../snapshot/index.js';
|
|
5
5
|
import { QueueItem } from '../work-queue/index.js';
|
|
6
|
-
import '../types-
|
|
7
|
-
import '../runtime-types-
|
|
6
|
+
import '../types-C6mXL9wA.js';
|
|
7
|
+
import '../runtime-types-uBuVvZqa.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @demlik/tea/monitored-run — a long-running operation that is BOTH staged and
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { createMonitoredRun, liftRun } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
1
|
+
export { createMonitoredRun, liftRun } from '../chunk-ZILCH3WS.js';
|
|
2
|
+
import '../chunk-KWPB6BM6.js';
|
|
3
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-ZT3MGQB7.js';
|
|
4
4
|
import '../chunk-MU6MCIAC.js';
|
|
5
5
|
import '../chunk-FV3Z5MBE.js';
|
|
6
6
|
import '../chunk-2YFLOCWX.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-PBAYOJJO.js';
|
|
8
|
+
import '../chunk-DBOJ2UC6.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import WebSocket from 'ws';
|
|
2
|
-
import { S as Store } from '../runtime-types-
|
|
3
|
-
import { a as SubId, S as Sub } from '../core-
|
|
2
|
+
import { S as Store } from '../runtime-types-uBuVvZqa.js';
|
|
3
|
+
import { a as SubId, S as Sub } from '../core-DPYOyOJv.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @packageDocumentation
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as Cmd } from '../core-
|
|
1
|
+
import { C as Cmd } from '../core-DPYOyOJv.js';
|
|
2
2
|
import { PaginatorState } from '../paginator/index.js';
|
|
3
3
|
import { CircuitConfig, RateLimitConfig, DeadlineConfig, ResilientState, RunCmd, SucceedMsg, FailMsg, ResilientTimerMsg, ResilientPorts } from '../resilient-call/index.js';
|
|
4
4
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
5
5
|
import { DeadlineSub } from '../deadline/index.js';
|
|
6
6
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
7
7
|
import '../cache/index.js';
|
|
8
|
-
import '../types-
|
|
8
|
+
import '../types-C6mXL9wA.js';
|
|
9
9
|
import '../circuit-breaker/index.js';
|
|
10
10
|
import '../protocol-B5YmJr0d.js';
|
|
11
11
|
import '../rate-limit/index.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { PAGE_KEY, createPaginatedWalk, liftWalk } from '../chunk-
|
|
1
|
+
export { PAGE_KEY, createPaginatedWalk, liftWalk } from '../chunk-7A74NSG4.js';
|
|
2
2
|
import '../chunk-SINXE47Y.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-W2S4HK7J.js';
|
|
4
4
|
import '../chunk-JELSZN25.js';
|
|
5
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
5
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-ZT3MGQB7.js';
|
|
6
6
|
import '../chunk-Q2UM7BXU.js';
|
|
7
7
|
import '../chunk-S2EGRPCM.js';
|
|
8
8
|
import '../chunk-UF4MZSLT.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-7UU5P2CX.js';
|
|
10
|
+
import '../chunk-QKUWDC4P.js';
|
|
11
11
|
import '../chunk-2YFLOCWX.js';
|
|
12
12
|
import '../chunk-ZJ5AOYBH.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-PBAYOJJO.js';
|
|
14
|
+
import '../chunk-DBOJ2UC6.js';
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
package/dist/parity/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BootingRuntime } from '../runtime-types-
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine } from '../core-
|
|
1
|
+
import { B as BootingRuntime } from '../runtime-types-uBuVvZqa.js';
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine } from '../core-DPYOyOJv.js';
|
|
3
3
|
import { Trace, RecorderOptions } from '../recorder/index.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/parity/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { recorder } from '../chunk-MUUROGIH.js';
|
|
2
|
-
import { deepEqual } from '../chunk-
|
|
2
|
+
import { deepEqual } from '../chunk-362SZ6CS.js';
|
|
3
3
|
import '../chunk-EWJP3YYP.js';
|
|
4
|
-
import { replay } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import { replay } from '../chunk-PBAYOJJO.js';
|
|
5
|
+
import '../chunk-DBOJ2UC6.js';
|
|
6
6
|
|
|
7
7
|
// src/parity/index.ts
|
|
8
8
|
function recordRun(runtime, opts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as fc from 'fast-check';
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine } from '../../core-
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine } from '../../core-DPYOyOJv.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Build a Ctx value whose every property access throws. Use as the `ctx`
|
package/dist/pbt/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MsgArbitraryTable, arbConstantMsg, arbGuidedSequence, arbMsg, arbMsgSequence, arbRecordMsg, stubCtxThrowingProxy } from './arbitraries/index.js';
|
|
2
2
|
export { Step, foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from './runners/index.js';
|
|
3
|
-
import { C as Cmd, R as Reducer, T as Transitions, U as UpdateForm } from '../core-
|
|
3
|
+
import { C as Cmd, R as Reducer, T as Transitions, U as UpdateForm } from '../core-DPYOyOJv.js';
|
|
4
4
|
import 'fast-check';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/pbt/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { arbConstantMsg, arbGuidedSequence, arbMsg, arbMsgSequence, arbRecordMsg, stubCtxThrowingProxy } from '../chunk-7FYQGDMF.js';
|
|
2
|
-
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import { msgKeysOf } from '../chunk-
|
|
2
|
+
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../chunk-LFW66IIV.js';
|
|
3
|
+
import '../chunk-PBAYOJJO.js';
|
|
4
|
+
import { msgKeysOf } from '../chunk-DBOJ2UC6.js';
|
|
5
5
|
|
|
6
6
|
// src/pbt/util/msg-keys.ts
|
|
7
7
|
function msgTypeKeys(machine) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../../chunk-LFW66IIV.js';
|
|
2
|
+
import '../../chunk-PBAYOJJO.js';
|
|
3
|
+
import '../../chunk-DBOJ2UC6.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/poller/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DeadlineSub } from '../deadline/index.js';
|
|
2
2
|
import { IdempotencyStore } from '../idempotency/index.js';
|
|
3
|
-
import { C as Cmd, S as Sub } from '../core-
|
|
3
|
+
import { C as Cmd, S as Sub } from '../core-DPYOyOJv.js';
|
|
4
4
|
import { AnyRetryPolicy, RetryState } from '../retry-backoff/index.js';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-C6mXL9wA.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @demlik/tea/poller — "poll a source every N ms until a predicate holds, with
|
package/dist/poller/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { deadlineSub } from '../chunk-
|
|
1
|
+
import { deadlineSub } from '../chunk-ZT3MGQB7.js';
|
|
2
2
|
import { asRng, defaultRetryPolicy, initRetry, recordFailure, shouldRetry, nextDelayMs } from '../chunk-Q2UM7BXU.js';
|
|
3
3
|
import { idempotencyMemory } from '../chunk-BYQUGDD3.js';
|
|
4
4
|
import '../chunk-K575PT4S.js';
|
|
5
5
|
import '../chunk-2YFLOCWX.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-PBAYOJJO.js';
|
|
7
|
+
import '../chunk-DBOJ2UC6.js';
|
|
8
8
|
|
|
9
9
|
// src/poller/index.ts
|
|
10
10
|
function pollerSubId(atMs) {
|
package/dist/prediction/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-62QBHM3T.js';
|
|
2
|
+
import '../chunk-DBOJ2UC6.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/pure/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Ack, AckPartition, NO_ACK, Seq, SeqTagged, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../prediction/index.js';
|
|
2
|
-
export { C as Cmd, d as ContextFree, D as DepKeyedSub, e as Dispose, f as Identity, c as Interpret, I as InterpretDetached, M as Machine, n as NoCellError, N as NoCtx, P as Port, b as PortEmitter, R as Reducer, S as Sub, a as SubId, g as Subscribe, h as SyncReturn, T as Transitions, U as UpdateForm, j as detectUpdateForm, k as foldMsgs, l as formOf, s as structuralHash, o as subId } from '../core-
|
|
2
|
+
export { C as Cmd, d as ContextFree, D as DepKeyedSub, e as Dispose, f as Identity, c as Interpret, I as InterpretDetached, M as Machine, n as NoCellError, N as NoCtx, P as Port, b as PortEmitter, R as Reducer, S as Sub, a as SubId, g as Subscribe, h as SyncReturn, T as Transitions, U as UpdateForm, j as detectUpdateForm, k as foldMsgs, l as formOf, s as structuralHash, o as subId } from '../core-DPYOyOJv.js';
|
package/dist/pure/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-
|
|
2
|
-
export { Cmd, NoCellError, detectUpdateForm, foldMsgs, formOf, structuralHash, subId } from '../chunk-
|
|
1
|
+
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-62QBHM3T.js';
|
|
2
|
+
export { Cmd, NoCellError, detectUpdateForm, foldMsgs, formOf, structuralHash, subId } from '../chunk-DBOJ2UC6.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Store, R as Runtime } from '../runtime-types-
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine } from '../core-
|
|
1
|
+
import { S as Store, R as Runtime } from '../runtime-types-uBuVvZqa.js';
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine } from '../core-DPYOyOJv.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @packageDocumentation
|
package/dist/react/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { run } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { run } from '../chunk-PBAYOJJO.js';
|
|
2
|
+
import '../chunk-DBOJ2UC6.js';
|
|
3
3
|
import { useMemo, useRef, useReducer, useSyncExternalStore, useEffect } from 'react';
|
|
4
4
|
|
|
5
5
|
function useMachine(machine, opts) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CircuitConfig, RateLimitConfig, DeadlineConfig, ResilientPorts, RunCmd, FailMsg, SucceedMsg } from '../resilient-call/index.js';
|
|
2
2
|
import { TtlCache } from '../cache/index.js';
|
|
3
|
-
import { C as Cmd } from '../core-
|
|
3
|
+
import { C as Cmd } from '../core-DPYOyOJv.js';
|
|
4
4
|
import { PaginatedWalkState, FetchPageCmd, PageOkMsg, PageErrMsg, PaginatedWalkTimerMsg } from '../paginated-walk/index.js';
|
|
5
5
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
6
6
|
import { DeadlineSub } from '../deadline/index.js';
|
|
@@ -8,7 +8,7 @@ export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
|
8
8
|
import '../circuit-breaker/index.js';
|
|
9
9
|
import '../protocol-B5YmJr0d.js';
|
|
10
10
|
import '../rate-limit/index.js';
|
|
11
|
-
import '../types-
|
|
11
|
+
import '../types-C6mXL9wA.js';
|
|
12
12
|
import '../paginator/index.js';
|
|
13
13
|
|
|
14
14
|
/**
|
package/dist/reconciler/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { createPaginatedWalk, PAGE_KEY } from '../chunk-
|
|
1
|
+
import { createPaginatedWalk, PAGE_KEY } from '../chunk-7A74NSG4.js';
|
|
2
2
|
import '../chunk-SINXE47Y.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-W2S4HK7J.js';
|
|
4
4
|
import '../chunk-JELSZN25.js';
|
|
5
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
5
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-ZT3MGQB7.js';
|
|
6
6
|
import '../chunk-Q2UM7BXU.js';
|
|
7
7
|
import '../chunk-S2EGRPCM.js';
|
|
8
8
|
import '../chunk-UF4MZSLT.js';
|
|
9
|
-
import { initCache, get, set } from '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import { initCache, get, set } from '../chunk-7UU5P2CX.js';
|
|
10
|
+
import '../chunk-QKUWDC4P.js';
|
|
11
11
|
import '../chunk-2YFLOCWX.js';
|
|
12
12
|
import '../chunk-ZJ5AOYBH.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-PBAYOJJO.js';
|
|
14
|
+
import '../chunk-DBOJ2UC6.js';
|
|
15
15
|
|
|
16
16
|
// src/reconciler/index.ts
|
|
17
17
|
function createReconciler(config, rng = Math.random) {
|
package/dist/recorder/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BootingRuntime } from '../runtime-types-
|
|
2
|
-
import '../core-
|
|
1
|
+
import { B as BootingRuntime } from '../runtime-types-uBuVvZqa.js';
|
|
2
|
+
import '../core-DPYOyOJv.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A recorded run, sufficient to reproduce it via `../trace-replay`.
|
|
@@ -2,11 +2,11 @@ import { TtlCache } from '../cache/index.js';
|
|
|
2
2
|
import { CircuitState } from '../circuit-breaker/index.js';
|
|
3
3
|
import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
|
|
4
4
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
5
|
-
import { C as Cmd } from '../core-
|
|
5
|
+
import { C as Cmd } from '../core-DPYOyOJv.js';
|
|
6
6
|
import { M as MsgType } from '../protocol-B5YmJr0d.js';
|
|
7
7
|
import { TokenBucket } from '../rate-limit/index.js';
|
|
8
8
|
import { RetryState, AnyRetryPolicy } from '../retry-backoff/index.js';
|
|
9
|
-
import '../types-
|
|
9
|
+
import '../types-C6mXL9wA.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @packageDocumentation
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { createResilientCall, liftResilience } from '../chunk-
|
|
1
|
+
export { createResilientCall, liftResilience } from '../chunk-W2S4HK7J.js';
|
|
2
2
|
import '../chunk-JELSZN25.js';
|
|
3
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
3
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-ZT3MGQB7.js';
|
|
4
4
|
import '../chunk-Q2UM7BXU.js';
|
|
5
5
|
import '../chunk-S2EGRPCM.js';
|
|
6
6
|
import '../chunk-UF4MZSLT.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-7UU5P2CX.js';
|
|
8
|
+
import '../chunk-QKUWDC4P.js';
|
|
9
9
|
import '../chunk-2YFLOCWX.js';
|
|
10
10
|
import '../chunk-ZJ5AOYBH.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-PBAYOJJO.js';
|
|
12
|
+
import '../chunk-DBOJ2UC6.js';
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
14
14
|
//# sourceMappingURL=index.js.map
|