@demlik/tea 0.16.0 → 0.17.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 +13 -13
- package/dist/agent/index.js +9 -9
- package/dist/{chunk-CIHSHLQX.js → chunk-4NTCPTNQ.js} +3 -3
- package/dist/{chunk-CIHSHLQX.js.map → chunk-4NTCPTNQ.js.map} +1 -1
- package/dist/{chunk-7MGXQZPW.js → chunk-4PXNZ5UY.js} +4 -4
- package/dist/{chunk-7MGXQZPW.js.map → chunk-4PXNZ5UY.js.map} +1 -1
- package/dist/{chunk-6NG4V5SB.js → chunk-6XBEYZME.js} +5 -5
- package/dist/{chunk-6NG4V5SB.js.map → chunk-6XBEYZME.js.map} +1 -1
- package/dist/{chunk-GOX2CYIM.js → chunk-C4U5D5HP.js} +3 -3
- package/dist/{chunk-GOX2CYIM.js.map → chunk-C4U5D5HP.js.map} +1 -1
- package/dist/{chunk-MVZS5FDM.js → chunk-DFUEAA6L.js} +3 -3
- package/dist/{chunk-MVZS5FDM.js.map → chunk-DFUEAA6L.js.map} +1 -1
- package/dist/{chunk-IVJP3GKJ.js → chunk-GWWCCSDH.js} +4 -4
- package/dist/{chunk-IVJP3GKJ.js.map → chunk-GWWCCSDH.js.map} +1 -1
- package/dist/{chunk-CH5KTOEZ.js → chunk-K4ETBNKS.js} +32 -9
- package/dist/chunk-K4ETBNKS.js.map +1 -0
- package/dist/{chunk-5XU6ZJO2.js → chunk-KWNCM6XM.js} +19 -13
- package/dist/chunk-KWNCM6XM.js.map +1 -0
- package/dist/{chunk-BCTEOVOU.js → chunk-LYVOGOBC.js} +3 -3
- package/dist/{chunk-BCTEOVOU.js.map → chunk-LYVOGOBC.js.map} +1 -1
- package/dist/{chunk-MYNLY3HP.js → chunk-OPH6Y4UT.js} +3 -3
- package/dist/{chunk-MYNLY3HP.js.map → chunk-OPH6Y4UT.js.map} +1 -1
- package/dist/{chunk-NSIAORRY.js → chunk-OYR7ENKU.js} +3 -3
- package/dist/{chunk-NSIAORRY.js.map → chunk-OYR7ENKU.js.map} +1 -1
- package/dist/{chunk-WT5PBPLB.js → chunk-QWIPH4YH.js} +4 -4
- package/dist/{chunk-WT5PBPLB.js.map → chunk-QWIPH4YH.js.map} +1 -1
- package/dist/{chunk-EHUDXAKC.js → chunk-XBZQT2TD.js} +7 -7
- package/dist/chunk-XBZQT2TD.js.map +1 -0
- package/dist/{core-BbgtiXdg.d.ts → core-rDbOaJTN.d.ts} +7 -3
- package/dist/do/index.d.ts +12 -12
- package/dist/do/index.js +10 -10
- package/dist/{durable-effects-7MTK_jnj.d.ts → durable-effects-CNaw97Be.d.ts} +1 -1
- package/dist/effect/index.d.ts +2 -2
- package/dist/effect/index.js +2 -2
- package/dist/extension/index.d.ts +3 -3
- package/dist/extension/index.js +2 -2
- package/dist/flow/index.d.ts +13 -13
- package/dist/flow/index.js +10 -10
- package/dist/idempotency/index.d.ts +3 -3
- package/dist/idempotency/index.js +3 -3
- package/dist/{index-Bz5Rh9Ga.d.ts → index-BOrsbdAf.d.ts} +4 -4
- package/dist/{index-DU6JpQ8G.d.ts → index-B_BxplWi.d.ts} +1 -1
- package/dist/{index-CjFDUBeq.d.ts → index-CWmsXNdX.d.ts} +1 -1
- package/dist/{index-_dOR3xqA.d.ts → index-Cberb5Rr.d.ts} +2 -2
- package/dist/{index-7vV8xmsD.d.ts → index-CcrKLtse.d.ts} +1 -1
- package/dist/{index-CkFYA9Y6.d.ts → index-Cx0F2M34.d.ts} +2 -2
- package/dist/{index-Xufl55W8.d.ts → index-DaX_P35Q.d.ts} +2 -2
- package/dist/{index-Cou86-GX.d.ts → index-q1PoukOZ.d.ts} +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/jev/index.d.ts +8 -8
- package/dist/jev/index.js +5 -5
- package/dist/{machine-BQzTV8On.d.ts → machine-BcfCFMYF.d.ts} +7 -7
- 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/mem/index.js +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +2 -2
- package/dist/paginate/index.d.ts +4 -4
- package/dist/paginate/index.js +5 -5
- package/dist/parity/index.d.ts +3 -3
- package/dist/parity/index.js +3 -3
- package/dist/pbt/index.d.ts +1 -1
- package/dist/pbt/index.js +2 -2
- package/dist/persistence/index.d.ts +9 -10
- package/dist/persistence/index.js +4 -4
- package/dist/promise/index.d.ts +2 -2
- package/dist/promise/index.js +3 -3
- package/dist/react/index.d.ts +2 -2
- package/dist/resilience/index.d.ts +6 -6
- package/dist/resilience/index.js +5 -5
- package/dist/{runtime-types-CiVpC0HN.d.ts → runtime-types-B62Ucnxr.d.ts} +2 -2
- package/dist/testing/index.d.ts +22 -108
- package/dist/testing/index.js +27 -177
- package/dist/testing/index.js.map +1 -1
- package/dist/timing/index.d.ts +4 -4
- package/dist/timing/index.js +4 -4
- package/dist/{types-LxZxGYda.d.ts → types-DPm5YCDQ.d.ts} +1 -1
- package/dist/work-queue/index.d.ts +4 -4
- package/package.json +3 -3
- package/dist/chunk-5XU6ZJO2.js.map +0 -1
- package/dist/chunk-CH5KTOEZ.js.map +0 -1
- package/dist/chunk-EHUDXAKC.js.map +0 -1
|
@@ -113,6 +113,7 @@ declare class UndeclaredFailureError extends Error {
|
|
|
113
113
|
* A `Cmd.define`d handler returned something the engine cannot settle: any Msg
|
|
114
114
|
* (the engine mints the Cmd's `<name>_ok` / `<name>_err`, never the handler —
|
|
115
115
|
* ADR 0021), or any other value that is neither an {@link Outcome} nor nothing.
|
|
116
|
+
* Also thrown when such a handler dispatches its own `_ok` / `_err` Msg.
|
|
116
117
|
*/
|
|
117
118
|
declare class OutcomeContractError extends Error {
|
|
118
119
|
readonly cmdType: string;
|
|
@@ -480,6 +481,9 @@ interface PortEmitter {
|
|
|
480
481
|
emit<T>(port: Port<T>, value: T): void;
|
|
481
482
|
}
|
|
482
483
|
type NoCtx = Readonly<Record<never, never>>;
|
|
484
|
+
type HandlerCtx<Ctx> = (0 extends 1 & Ctx ? Ctx : [
|
|
485
|
+
Ctx
|
|
486
|
+
] extends [void] ? unknown : Ctx) & PortEmitter;
|
|
483
487
|
type Interpret<M extends {
|
|
484
488
|
type: string;
|
|
485
489
|
}, C extends Cmd, Ctx> = {
|
|
@@ -494,7 +498,7 @@ type Interpret<M extends {
|
|
|
494
498
|
*/
|
|
495
499
|
type InterpretCell<M extends {
|
|
496
500
|
type: string;
|
|
497
|
-
}, C extends Cmd, Ctx> = unknown extends ErrorsOf<C> ? (cmd: C, ctx: Ctx
|
|
501
|
+
}, C extends Cmd, Ctx> = unknown extends ErrorsOf<C> ? (cmd: C, ctx: HandlerCtx<Ctx>, dispatch?: (msg: M) => void) => Promise<M | void> : (cmd: C, ctx: HandlerCtx<Ctx> & OutcomeHelpers<OkOfCmd<C>, DeclaredErrorsOf<C>>, dispatch?: (msg: M) => void) => Promise<Outcome<OkOfCmd<C>, DeclaredErrorsOf<C>> | void>;
|
|
498
502
|
/** The value a Cmd settles with; `unknown` for a hand-written Cmd. */
|
|
499
503
|
type OkOfCmd<C> = C extends {
|
|
500
504
|
readonly __ok?: infer Ok;
|
|
@@ -503,7 +507,7 @@ type OkOfCmd<C> = C extends {
|
|
|
503
507
|
type DeclaredErrorsOf<C> = Exclude<ErrorsOf<C>, MalformedResult>;
|
|
504
508
|
type InterpretDetached<C extends Cmd, Allowed extends {
|
|
505
509
|
type: string;
|
|
506
|
-
}, Ctx> = (cmd: C, ctx: Ctx
|
|
510
|
+
}, Ctx> = (cmd: C, ctx: HandlerCtx<Ctx>, dispatch: (msg: Allowed) => void) => Promise<void>;
|
|
507
511
|
type Subscribe<M extends {
|
|
508
512
|
type: string;
|
|
509
513
|
}, U extends Sub, Ctx> = {
|
|
@@ -651,4 +655,4 @@ declare function foldMsgs<S, M extends {
|
|
|
651
655
|
type: string;
|
|
652
656
|
}, C extends Cmd, U extends Sub, Ctx>(machine: Machine<S, M, C, U, Ctx>, base: S, msgs: readonly M[]): S;
|
|
653
657
|
|
|
654
|
-
export {
|
|
658
|
+
export { applyCell as $, type AnyCmdDef as A, type BuiltinSubType as B, Cmd as C, type DeclaredErrorsOf as D, type ErrorsOf as E, type InterpretCell as F, type MachineShape as G, type HandlerCtx as H, type InterpretDetached as I, type NoCtx as J, OutcomeContractError as K, type OutcomeHelpers as L, type Machine as M, NoCellError as N, type OkOfCmd as O, type Port as P, type PortEmitter as Q, type RunHandlers as R, type Sub as S, type TimerDeps as T, type UpdateForm as U, type SubscribeArg as V, type Wired as W, type SyncReturn as X, UndeclaredFailureError as Y, acceptedTypes as Z, acceptsOf as _, type BuiltinSub as a, applyCellChecked as a0, describeMachine as a1, detectUpdateForm as a2, foldMsgs as a3, foldUpdates as a4, formOf as a5, msgKeysOf as a6, structuralHash as a7, subId as a8, subIdOf as a9, type CmdDef as b, type CmdOf as c, type Subscribe as d, type SettledOk as e, type SettledErr as f, type TaggedError as g, type Dispose as h, type Reducer as i, type Settled as j, type Transitions as k, Outcome as l, type SubId as m, type DepKeyedSub as n, type Interpret as o, type TimerSub as p, type MalformedResult as q, type Tagged as r, type OkOf as s, type ErrOf as t, type CmdValue as u, AsyncSchemaError as v, type CmdInput as w, type ExhaustiveTransitions as x, type Identity as y, type InterpretArg as z };
|
package/dist/do/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { S as Store, b as BootedRunHandle, E as EngineRun, c as RunHandle, F as FencedStore } from '../runtime-types-
|
|
2
|
-
import { P as PendingEffectsRecorder, b as EffectOwed, a as EffectConfirmed } from '../durable-effects-
|
|
3
|
-
export { D as DeliveryId, E as EffectLedgerEvent, O as OwedEffect, c as PendingEffectsLedger, d as applyEffectEvent, e as emptyLedger, f as foldLedger, i as isOwed, p as pendingEffectsLedger, s as survivingEffects } from '../durable-effects-
|
|
1
|
+
import { S as Store, b as BootedRunHandle, E as EngineRun, c as RunHandle, F as FencedStore } from '../runtime-types-B62Ucnxr.js';
|
|
2
|
+
import { P as PendingEffectsRecorder, b as EffectOwed, a as EffectConfirmed } from '../durable-effects-CNaw97Be.js';
|
|
3
|
+
export { D as DeliveryId, E as EffectLedgerEvent, O as OwedEffect, c as PendingEffectsLedger, d as applyEffectEvent, e as emptyLedger, f as foldLedger, i as isOwed, p as pendingEffectsLedger, s as survivingEffects } from '../durable-effects-CNaw97Be.js';
|
|
4
4
|
import { RetryPolicy, Rng } from '../retry-backoff/index.js';
|
|
5
|
-
import { C as Cmd, S as Sub, M as Machine, W as Wired } from '../core-
|
|
6
|
-
import { g as AgentEvent, b as AgentTurn, c as AgentState, i as AgentMachineMsg, B as AgentStatus } from '../machine-
|
|
5
|
+
import { C as Cmd, S as Sub, M as Machine, W as Wired } from '../core-rDbOaJTN.js';
|
|
6
|
+
import { g as AgentEvent, b as AgentTurn, c as AgentState, i as AgentMachineMsg, B as AgentStatus } from '../machine-BcfCFMYF.js';
|
|
7
7
|
import '@standard-schema/spec';
|
|
8
|
-
import '../index-
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../index-
|
|
11
|
-
import '../types-
|
|
12
|
-
import '../index-
|
|
13
|
-
import '../index-
|
|
8
|
+
import '../index-BOrsbdAf.js';
|
|
9
|
+
import '../index-CWmsXNdX.js';
|
|
10
|
+
import '../index-DaX_P35Q.js';
|
|
11
|
+
import '../types-DPm5YCDQ.js';
|
|
12
|
+
import '../index-CcrKLtse.js';
|
|
13
|
+
import '../index-q1PoukOZ.js';
|
|
14
14
|
import '../protocol-ClRZBhHQ.js';
|
|
15
|
-
import '../index-
|
|
15
|
+
import '../index-Cx0F2M34.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @demlik/tea/do — `stepHost`, the HTTP-PULL control carrier (#92).
|
package/dist/do/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { status, agentBootMsg, agentEvents } from '../chunk-
|
|
1
|
+
import { status, agentBootMsg, agentEvents } from '../chunk-XBZQT2TD.js';
|
|
2
2
|
import '../chunk-G5E74IJB.js';
|
|
3
|
-
import { createIntake } from '../chunk-
|
|
3
|
+
import { createIntake } from '../chunk-OPH6Y4UT.js';
|
|
4
4
|
export { applyEffectEvent, emptyLedger, foldLedger, isOwed, pendingEffectsLedger, survivingEffects } from '../chunk-6IQPODUF.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-4PXNZ5UY.js';
|
|
6
|
+
import '../chunk-4NTCPTNQ.js';
|
|
7
7
|
import '../chunk-QNGYQMZB.js';
|
|
8
8
|
import '../chunk-PR6TB3BL.js';
|
|
9
9
|
import '../chunk-TXN2KFHF.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-6XBEYZME.js';
|
|
11
11
|
import { defaultRetryPolicy, initRetry, recordFailure, shouldRetry, nextDelayMs } from '../chunk-VBDU4JL6.js';
|
|
12
12
|
import '../chunk-4LPY67E4.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import { StoreConflictError, replay } from '../chunk-
|
|
13
|
+
import '../chunk-GWWCCSDH.js';
|
|
14
|
+
import '../chunk-QWIPH4YH.js';
|
|
15
|
+
import '../chunk-KWNCM6XM.js';
|
|
16
|
+
import '../chunk-C4U5D5HP.js';
|
|
17
|
+
import { StoreConflictError, replay } from '../chunk-K4ETBNKS.js';
|
|
18
18
|
|
|
19
19
|
// src/do/durable-timer.ts
|
|
20
20
|
function durableTimer(config) {
|
package/dist/effect/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect, Stream, Scope } from 'effect';
|
|
2
|
-
import { C as Cmd, E as ErrorsOf, O as OkOfCmd, D as DeclaredErrorsOf, S as Sub, B as BuiltinSubType, a as BuiltinSub, M as Machine } from '../core-
|
|
3
|
-
import { C as CtxArg, S as Store, O as OnError, a as Supervision, T as TelemetrySink, B as BootingRuntime } from '../runtime-types-
|
|
2
|
+
import { C as Cmd, E as ErrorsOf, O as OkOfCmd, D as DeclaredErrorsOf, S as Sub, B as BuiltinSubType, a as BuiltinSub, M as Machine } from '../core-rDbOaJTN.js';
|
|
3
|
+
import { C as CtxArg, S as Store, O as OnError, a as Supervision, T as TelemetrySink, B as BootingRuntime } from '../runtime-types-B62Ucnxr.js';
|
|
4
4
|
import '@standard-schema/spec';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/effect/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { startLoop, builtinExtensions } from '../chunk-
|
|
2
|
-
import { subEntriesOf, applyCell, Outcome } from '../chunk-
|
|
1
|
+
import { startLoop, builtinExtensions } from '../chunk-KWNCM6XM.js';
|
|
2
|
+
import { subEntriesOf, applyCell, Outcome } from '../chunk-K4ETBNKS.js';
|
|
3
3
|
import { Effect, Stream, Cause, Fiber, Exit, Result } from 'effect';
|
|
4
4
|
|
|
5
5
|
function timer(sub) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as Runtime, S as Store } from '../runtime-types-
|
|
1
|
+
import { R as Runtime, S as Store } from '../runtime-types-B62Ucnxr.js';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as Sub } from '../core-
|
|
4
|
-
import { S as SubscribeHandler } from '../types-
|
|
3
|
+
import { S as Sub } from '../core-rDbOaJTN.js';
|
|
4
|
+
import { S as SubscribeHandler } from '../types-DPm5YCDQ.js';
|
|
5
5
|
import '@standard-schema/spec';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/extension/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describeError } from '../chunk-G5E74IJB.js';
|
|
2
|
-
import { historyTracker, dispatchIfPresent } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
import { historyTracker, dispatchIfPresent } from '../chunk-C4U5D5HP.js';
|
|
3
|
+
import '../chunk-K4ETBNKS.js';
|
|
4
4
|
import { useRef, useSyncExternalStore, useEffect, useCallback, createContext, useMemo, useContext } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
package/dist/flow/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { R as Runtime, C as CtxArg } from '../runtime-types-
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine, R as RunHandlers, b as CmdDef, T as TimerDeps, c as CmdOf } from '../core-
|
|
3
|
-
export { B as BatchWindow, c as BatchWindowConfig, b as BatchWindowExpired, d as BatchWindowKnob, a as BatchWindowSub, e as addItem, f as batchWindowExpired, g as createBatchWindow, i as initBatchWindow, o as onWindow, s as subsFor, h as subscribeBatchWindow, t as timerFor } from '../index-
|
|
4
|
-
export { a as FanOutConfig, b as FanOutDone, c as FanOutFailed, d as FanOutPorts, F as FanOutState, e as createFanOut, i as initFanOut, f as isComplete } from '../index-
|
|
5
|
-
export { E as EndedRun, M as MonitoredRunCmd, b as MonitoredRunConfig, a as MonitoredRunState, c as MonitoredRunTimerMsg, R as RunFailure, S as StageResult, d as createMonitoredRun, l as liftRun } from '../index-
|
|
1
|
+
import { R as Runtime, C as CtxArg } from '../runtime-types-B62Ucnxr.js';
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine, R as RunHandlers, b as CmdDef, T as TimerDeps, c as CmdOf } from '../core-rDbOaJTN.js';
|
|
3
|
+
export { B as BatchWindow, c as BatchWindowConfig, b as BatchWindowExpired, d as BatchWindowKnob, a as BatchWindowSub, e as addItem, f as batchWindowExpired, g as createBatchWindow, i as initBatchWindow, o as onWindow, s as subsFor, h as subscribeBatchWindow, t as timerFor } from '../index-Cberb5Rr.js';
|
|
4
|
+
export { a as FanOutConfig, b as FanOutDone, c as FanOutFailed, d as FanOutPorts, F as FanOutState, e as createFanOut, i as initFanOut, f as isComplete } from '../index-Cx0F2M34.js';
|
|
5
|
+
export { E as EndedRun, M as MonitoredRunCmd, b as MonitoredRunConfig, a as MonitoredRunState, c as MonitoredRunTimerMsg, R as RunFailure, S as StageResult, d as createMonitoredRun, l as liftRun } from '../index-BOrsbdAf.js';
|
|
6
6
|
import { RetryState, AnyRetryPolicy, RetryPolicy } from '../retry-backoff/index.js';
|
|
7
7
|
import { I as IdempotencyStore } from '../index-Bc40JWVl.js';
|
|
8
|
-
import { a as DeadlineSub, T as TtlCache } from '../index-
|
|
9
|
-
import { f as CircuitConfig, l as RateLimitConfig, m as DeadlineConfig, b as ResilientTimerMsg } from '../index-
|
|
8
|
+
import { a as DeadlineSub, T as TtlCache } from '../index-DaX_P35Q.js';
|
|
9
|
+
import { f as CircuitConfig, l as RateLimitConfig, m as DeadlineConfig, b as ResilientTimerMsg } from '../index-q1PoukOZ.js';
|
|
10
10
|
import { PaginatedWalkState, PaginatedWalkTimerMsg, FetchPageCmd, PageErrMsg, PageOkMsg } from '../paginate/index.js';
|
|
11
|
-
import { Q as QueueItem } from '../index-
|
|
12
|
-
export { E as EnqueueInput } from '../index-
|
|
13
|
-
import { D as DeliveryId, E as EffectLedgerEvent } from '../durable-effects-
|
|
14
|
-
export { a as EffectConfirmed, b as EffectOwed, e as emptyLedger } from '../durable-effects-
|
|
11
|
+
import { Q as QueueItem } from '../index-CcrKLtse.js';
|
|
12
|
+
export { E as EnqueueInput } from '../index-CcrKLtse.js';
|
|
13
|
+
import { D as DeliveryId, E as EffectLedgerEvent } from '../durable-effects-CNaw97Be.js';
|
|
14
|
+
export { a as EffectConfirmed, b as EffectOwed, e as emptyLedger } from '../durable-effects-CNaw97Be.js';
|
|
15
15
|
export { D as Debounced, d as debounce } from '../index-DHSUmQTR.js';
|
|
16
|
-
export { b as SnapshotSavedMsg, S as SnapshotWriteCmd } from '../index-
|
|
16
|
+
export { b as SnapshotSavedMsg, S as SnapshotWriteCmd } from '../index-CWmsXNdX.js';
|
|
17
17
|
import '@standard-schema/spec';
|
|
18
|
-
import '../types-
|
|
18
|
+
import '../types-DPm5YCDQ.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* internal/flow/await-terminal — run a ONE-SHOT / decision-procedure machine to a
|
package/dist/flow/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { createPaginatedWalk, PAGE_KEY } from '../chunk-
|
|
2
|
-
export { addItem, batchWindowExpired, createBatchWindow, initBatchWindow, onWindow, subsFor, subscribeBatchWindow, timerFor } from '../chunk-
|
|
1
|
+
import { createPaginatedWalk, PAGE_KEY } from '../chunk-OYR7ENKU.js';
|
|
2
|
+
export { addItem, batchWindowExpired, createBatchWindow, initBatchWindow, onWindow, subsFor, subscribeBatchWindow, timerFor } from '../chunk-DFUEAA6L.js';
|
|
3
3
|
export { debounce } from '../chunk-LFZUK6J2.js';
|
|
4
4
|
import { pendingEffectsLedger, foldLedger, survivingEffects } from '../chunk-6IQPODUF.js';
|
|
5
5
|
export { emptyLedger } from '../chunk-6IQPODUF.js';
|
|
6
|
-
export { createMonitoredRun, liftRun } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
export { createMonitoredRun, liftRun } from '../chunk-4PXNZ5UY.js';
|
|
7
|
+
import '../chunk-4NTCPTNQ.js';
|
|
8
8
|
export { createFanOut, initFanOut, isComplete } from '../chunk-QNGYQMZB.js';
|
|
9
9
|
import { idempotencyMemory } from '../chunk-PR6TB3BL.js';
|
|
10
10
|
import { queueAdapter } from '../chunk-TXN2KFHF.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-6XBEYZME.js';
|
|
12
12
|
import { asRng, defaultRetryPolicy, initRetry, recordFailure, shouldRetry, nextDelayMs } from '../chunk-VBDU4JL6.js';
|
|
13
13
|
import { undefinedOnly, unchecked } from '../chunk-4LPY67E4.js';
|
|
14
|
-
import { deadlineSub, initCache, get, set } from '../chunk-
|
|
15
|
-
import { run } from '../chunk-
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import { Cmd } from '../chunk-
|
|
14
|
+
import { deadlineSub, initCache, get, set } from '../chunk-GWWCCSDH.js';
|
|
15
|
+
import { run } from '../chunk-QWIPH4YH.js';
|
|
16
|
+
import '../chunk-KWNCM6XM.js';
|
|
17
|
+
import '../chunk-C4U5D5HP.js';
|
|
18
|
+
import { Cmd } from '../chunk-K4ETBNKS.js';
|
|
19
19
|
|
|
20
20
|
// src/internal/flow/await-terminal/index.ts
|
|
21
21
|
var TerminalTimeoutError = class extends Error {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { I as IdempotencyStore } from '../index-Bc40JWVl.js';
|
|
2
2
|
export { a as IdempotencyEntry, e as evictExpired, i as initStore, r as recall, b as remember, s as seen } from '../index-Bc40JWVl.js';
|
|
3
|
-
import { c as CmdOf, b as CmdDef } from '../core-
|
|
4
|
-
import { Q as QueueItem } from '../index-
|
|
3
|
+
import { c as CmdOf, b as CmdDef } from '../core-rDbOaJTN.js';
|
|
4
|
+
import { Q as QueueItem } from '../index-CcrKLtse.js';
|
|
5
5
|
import '@standard-schema/spec';
|
|
6
|
-
import '../runtime-types-
|
|
6
|
+
import '../runtime-types-B62Ucnxr.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A cached intake entry: either a key whose work is still in flight
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { createIntake, intakeProcessDef, intakeReplayDef } from '../chunk-
|
|
1
|
+
export { createIntake, intakeProcessDef, intakeReplayDef } from '../chunk-OPH6Y4UT.js';
|
|
2
2
|
export { evictExpired, initStore, recall, remember, seen } from '../chunk-PR6TB3BL.js';
|
|
3
3
|
import '../chunk-TXN2KFHF.js';
|
|
4
4
|
import '../chunk-4LPY67E4.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-C4U5D5HP.js';
|
|
6
|
+
import '../chunk-K4ETBNKS.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as CmdDef, T as TimerDeps, C as Cmd } from './core-
|
|
2
|
-
import { S as SnapshotWriteCmd, a as SnapshotState, b as SnapshotSavedMsg } from './index-
|
|
3
|
-
import { D as DeadlineExceeded, a as DeadlineSub } from './index-
|
|
4
|
-
import { Q as QueueItem } from './index-
|
|
1
|
+
import { b as CmdDef, T as TimerDeps, C as Cmd } from './core-rDbOaJTN.js';
|
|
2
|
+
import { S as SnapshotWriteCmd, a as SnapshotState, b as SnapshotSavedMsg } from './index-CWmsXNdX.js';
|
|
3
|
+
import { D as DeadlineExceeded, a as DeadlineSub } from './index-DaX_P35Q.js';
|
|
4
|
+
import { Q as QueueItem } from './index-CcrKLtse.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The monitored-run knob. EVERY field is optional:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as CmdOf, b as CmdDef, e as SettledOk, f as SettledErr, g as TaggedError, C as Cmd } from './core-
|
|
1
|
+
import { c as CmdOf, b as CmdDef, e as SettledOk, f as SettledErr, g as TaggedError, C as Cmd } from './core-rDbOaJTN.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The snapshot knob.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Cmd, T as TimerDeps, d as Subscribe } from './core-
|
|
2
|
-
import { D as DeadlineExceeded, a as DeadlineSub, b as DeadlinesSub } from './index-
|
|
1
|
+
import { C as Cmd, T as TimerDeps, d as Subscribe } from './core-rDbOaJTN.js';
|
|
2
|
+
import { D as DeadlineExceeded, a as DeadlineSub, b as DeadlinesSub } from './index-DaX_P35Q.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* internal/flow/batch-window — coalesce a stream of items into size- or
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Cmd, P as Port } from './core-
|
|
2
|
-
import { Q as QueueItem } from './index-
|
|
1
|
+
import { C as Cmd, P as Port } from './core-rDbOaJTN.js';
|
|
2
|
+
import { Q as QueueItem } from './index-CcrKLtse.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* internal/flow/fan-out — scatter-gather over a bounded-concurrency work list.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as SubscribeHandler } from './types-
|
|
1
|
+
import { m as SubId, S as Sub, n as DepKeyedSub, h as Dispose, T as TimerDeps } from './core-rDbOaJTN.js';
|
|
2
|
+
import { S as SubscribeHandler } from './types-DPm5YCDQ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* internal/resilience/deadline — a one-shot Sub that fires when an ABSOLUTE wall-clock
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as CmdOf, b as CmdDef, g as TaggedError,
|
|
1
|
+
import { c as CmdOf, b as CmdDef, g as TaggedError, q as MalformedResult, T as TimerDeps, C as Cmd } from './core-rDbOaJTN.js';
|
|
2
2
|
import { RetryState, AnyRetryPolicy } from './retry-backoff/index.js';
|
|
3
|
-
import { T as TtlCache, D as DeadlineExceeded, a as DeadlineSub } from './index-
|
|
3
|
+
import { T as TtlCache, D as DeadlineExceeded, a as DeadlineSub } from './index-DaX_P35Q.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @packageDocumentation
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BootingRuntime, R as Runtime } from './runtime-types-
|
|
2
|
-
export { b as BootedRunHandle, d as Branded, C as CtxArg, D as DispatchDiscardedError, e as DispatchSettle, f as DisposeTimeoutNotice, g as DriveFailedError, h as DriveStalledError, E as EngineRun, i as FencedRead, F as FencedStore, j as FoldRefusal, I as IdentityDropNotice, M as MachineTypes, O as OnError, P as PortNameCollisionError, Q as QuiescenceTimeoutError, c as RunHandle, k as RunOptions, l as RuntimeDiscardNotice, m as RuntimeDiscardedError, n as RuntimeErrorContext, o as RuntimeErrorPhase, p as RuntimeRef, q as Schema, S as Store, r as StoreConflictError, a as Supervision, s as SupervisionStrategy, t as TelemetryEvent, T as TelemetrySink, _ as __resetPortRegistry, u as absurd, v as asReducer, w as defineMachine, x as definePort, y as isFencedStore, z as noop, A as replay, G as schemaMigrate, H as tryApplyCell, J as tryFoldMsgs, K as tryInterpret, L as wrapDetached } from './runtime-types-
|
|
3
|
-
import { C as Cmd, S as Sub, M as Machine, P as Port,
|
|
4
|
-
export { A as AnyCmdDef,
|
|
5
|
-
import { S as SubscribeHandler } from './types-
|
|
1
|
+
import { B as BootingRuntime, R as Runtime } from './runtime-types-B62Ucnxr.js';
|
|
2
|
+
export { b as BootedRunHandle, d as Branded, C as CtxArg, D as DispatchDiscardedError, e as DispatchSettle, f as DisposeTimeoutNotice, g as DriveFailedError, h as DriveStalledError, E as EngineRun, i as FencedRead, F as FencedStore, j as FoldRefusal, I as IdentityDropNotice, M as MachineTypes, O as OnError, P as PortNameCollisionError, Q as QuiescenceTimeoutError, c as RunHandle, k as RunOptions, l as RuntimeDiscardNotice, m as RuntimeDiscardedError, n as RuntimeErrorContext, o as RuntimeErrorPhase, p as RuntimeRef, q as Schema, S as Store, r as StoreConflictError, a as Supervision, s as SupervisionStrategy, t as TelemetryEvent, T as TelemetrySink, _ as __resetPortRegistry, u as absurd, v as asReducer, w as defineMachine, x as definePort, y as isFencedStore, z as noop, A as replay, G as schemaMigrate, H as tryApplyCell, J as tryFoldMsgs, K as tryInterpret, L as wrapDetached } from './runtime-types-B62Ucnxr.js';
|
|
3
|
+
import { C as Cmd, S as Sub, M as Machine, P as Port, n as DepKeyedSub, h as Dispose } from './core-rDbOaJTN.js';
|
|
4
|
+
export { A as AnyCmdDef, v as AsyncSchemaError, a as BuiltinSub, B as BuiltinSubType, b as CmdDef, w as CmdInput, c as CmdOf, u as CmdValue, D as DeclaredErrorsOf, t as ErrOf, E as ErrorsOf, x as ExhaustiveTransitions, y as Identity, o as Interpret, z as InterpretArg, F as InterpretCell, I as InterpretDetached, G as MachineShape, q as MalformedResult, N as NoCellError, J as NoCtx, s as OkOf, O as OkOfCmd, l as Outcome, K as OutcomeContractError, L as OutcomeHelpers, Q as PortEmitter, i as Reducer, R as RunHandlers, j as Settled, f as SettledErr, e as SettledOk, m as SubId, d as Subscribe, V as SubscribeArg, X as SyncReturn, r as Tagged, g as TaggedError, T as TimerDeps, p as TimerSub, k as Transitions, Y as UndeclaredFailureError, U as UpdateForm, W as Wired, Z as acceptedTypes, _ as acceptsOf, $ as applyCell, a0 as applyCellChecked, a1 as describeMachine, a2 as detectUpdateForm, a3 as foldMsgs, a4 as foldUpdates, a5 as formOf, a6 as msgKeysOf, a7 as structuralHash, a8 as subId, a9 as subIdOf } from './core-rDbOaJTN.js';
|
|
5
|
+
import { S as SubscribeHandler } from './types-DPm5YCDQ.js';
|
|
6
6
|
import '@standard-schema/spec';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NO_ACK, ack, defineListener, defineManagedResource, fromBroadcastChannel, fromEventSource, fromEventTarget, fromInterval, fromPort, fromReconnectingWebSocket, fromTimeout, fromTransport, fromWebSocket, historyTracker, initAck, liftSlice, nextSeq, partitionByAck, readInOrder, reconcile, tagSeq } from './chunk-
|
|
2
|
-
export { AsyncSchemaError, Cmd, DispatchDiscardedError, DisposeTimeoutNotice, DriveFailedError, DriveStalledError, IdentityDropNotice, NoCellError, Outcome, OutcomeContractError, PortNameCollisionError, QuiescenceTimeoutError, RuntimeDiscardNotice, RuntimeDiscardedError, StoreConflictError, UndeclaredFailureError, __resetPortRegistry, absurd, acceptedTypes, acceptsOf, applyCell, applyCellChecked, asReducer, defineMachine, definePort, describeMachine, detectUpdateForm, foldMsgs, foldUpdates, formOf, isFencedStore, msgKeysOf, noop, replay, schemaMigrate, structuralHash, subId, subIdOf, tryApplyCell, tryFoldMsgs, tryInterpret, wrapDetached } from './chunk-
|
|
1
|
+
export { NO_ACK, ack, defineListener, defineManagedResource, fromBroadcastChannel, fromEventSource, fromEventTarget, fromInterval, fromPort, fromReconnectingWebSocket, fromTimeout, fromTransport, fromWebSocket, historyTracker, initAck, liftSlice, nextSeq, partitionByAck, readInOrder, reconcile, tagSeq } from './chunk-C4U5D5HP.js';
|
|
2
|
+
export { AsyncSchemaError, Cmd, DispatchDiscardedError, DisposeTimeoutNotice, DriveFailedError, DriveStalledError, IdentityDropNotice, NoCellError, Outcome, OutcomeContractError, PortNameCollisionError, QuiescenceTimeoutError, RuntimeDiscardNotice, RuntimeDiscardedError, StoreConflictError, UndeclaredFailureError, __resetPortRegistry, absurd, acceptedTypes, acceptsOf, applyCell, applyCellChecked, asReducer, defineMachine, definePort, describeMachine, detectUpdateForm, foldMsgs, foldUpdates, formOf, isFencedStore, msgKeysOf, noop, replay, schemaMigrate, structuralHash, subId, subIdOf, tryApplyCell, tryFoldMsgs, tryInterpret, wrapDetached } from './chunk-K4ETBNKS.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/jev/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as RunCmd, F as FailMsg, S as SucceedMsg, a as ResilientState, b as ResilientTimerMsg } from '../index-
|
|
2
|
-
import { l as Outcome, b as CmdDef, T as TimerDeps, C as Cmd,
|
|
1
|
+
import { R as RunCmd, F as FailMsg, S as SucceedMsg, a as ResilientState, b as ResilientTimerMsg } from '../index-q1PoukOZ.js';
|
|
2
|
+
import { l as Outcome, b as CmdDef, T as TimerDeps, C as Cmd, n as DepKeyedSub, p as TimerSub } from '../core-rDbOaJTN.js';
|
|
3
3
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
4
|
-
import { D as DeadlineExceeded, a as DeadlineSub, T as TtlCache, C as CacheEvictionSub, f as CacheEvictMsg } from '../index-
|
|
5
|
-
import { S as SubscribeHandler } from '../types-
|
|
6
|
-
import { B as BatchWindow, a as BatchWindowSub, b as BatchWindowExpired } from '../index-
|
|
7
|
-
import { F as FanOutState } from '../index-
|
|
4
|
+
import { D as DeadlineExceeded, a as DeadlineSub, T as TtlCache, C as CacheEvictionSub, f as CacheEvictMsg } from '../index-DaX_P35Q.js';
|
|
5
|
+
import { S as SubscribeHandler } from '../types-DPm5YCDQ.js';
|
|
6
|
+
import { B as BatchWindow, a as BatchWindowSub, b as BatchWindowExpired } from '../index-Cberb5Rr.js';
|
|
7
|
+
import { F as FanOutState } from '../index-Cx0F2M34.js';
|
|
8
8
|
import '@standard-schema/spec';
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../runtime-types-
|
|
9
|
+
import '../index-CcrKLtse.js';
|
|
10
|
+
import '../runtime-types-B62Ucnxr.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @packageDocumentation
|
package/dist/jev/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createBatchWindow } from '../chunk-
|
|
1
|
+
import { createBatchWindow } from '../chunk-DFUEAA6L.js';
|
|
2
2
|
import '../chunk-LFZUK6J2.js';
|
|
3
3
|
import { describeError } from '../chunk-G5E74IJB.js';
|
|
4
4
|
import { createFanOut } from '../chunk-QNGYQMZB.js';
|
|
5
5
|
import '../chunk-TXN2KFHF.js';
|
|
6
|
-
import { runCmdDef, createResilientCall } from '../chunk-
|
|
6
|
+
import { runCmdDef, createResilientCall } from '../chunk-6XBEYZME.js';
|
|
7
7
|
import '../chunk-VBDU4JL6.js';
|
|
8
8
|
import '../chunk-4LPY67E4.js';
|
|
9
|
-
import { initCache, has, set, evictExpired, cacheEvictionSub, cacheEvictionSubscribe, get } from '../chunk-
|
|
10
|
-
import { liftSlice, readInOrder } from '../chunk-
|
|
11
|
-
import { Outcome } from '../chunk-
|
|
9
|
+
import { initCache, has, set, evictExpired, cacheEvictionSub, cacheEvictionSubscribe, get } from '../chunk-GWWCCSDH.js';
|
|
10
|
+
import { liftSlice, readInOrder } from '../chunk-C4U5D5HP.js';
|
|
11
|
+
import { Outcome } from '../chunk-K4ETBNKS.js';
|
|
12
12
|
|
|
13
13
|
// src/internal/jev/protocol/index.ts
|
|
14
14
|
var jevQuestions = (questions) => questions;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as Cmd,
|
|
2
|
-
import { a as MonitoredRunState, R as RunFailure, M as MonitoredRunCmd } from './index-
|
|
3
|
-
import { R as RunCmd, S as SucceedMsg, F as FailMsg, a as ResilientState, r as RunCmdDef } from './index-
|
|
4
|
-
import { D as DeadlineExceeded, a as DeadlineSub, b as DeadlinesSub } from './index-
|
|
1
|
+
import { C as Cmd, r as Tagged, o as Interpret, A as AnyCmdDef, c as CmdOf, b as CmdDef, j as Settled, s as OkOf, t as ErrOf, q as MalformedResult, l as Outcome, u as CmdValue, H as HandlerCtx, g as TaggedError, M as Machine, d as Subscribe } from './core-rDbOaJTN.js';
|
|
2
|
+
import { a as MonitoredRunState, R as RunFailure, M as MonitoredRunCmd } from './index-BOrsbdAf.js';
|
|
3
|
+
import { R as RunCmd, S as SucceedMsg, F as FailMsg, a as ResilientState, r as RunCmdDef } from './index-q1PoukOZ.js';
|
|
4
|
+
import { D as DeadlineExceeded, a as DeadlineSub, b as DeadlinesSub } from './index-DaX_P35Q.js';
|
|
5
5
|
import { M as MsgType, a as MsgTypeValue } from './protocol-ClRZBhHQ.js';
|
|
6
|
-
import { F as FanOutState } from './index-
|
|
6
|
+
import { F as FanOutState } from './index-Cx0F2M34.js';
|
|
7
7
|
import { RetryPolicy, AnyRetryPolicy } from './retry-backoff/index.js';
|
|
8
8
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
9
9
|
|
|
@@ -1078,7 +1078,7 @@ type ToolConstructors<Ok, E extends Tagged> = {
|
|
|
1078
1078
|
* tag does not compile. `Ctx` is whatever the handler annotates its `ctx`
|
|
1079
1079
|
* parameter with; tea does no dependency injection (ADR 0020).
|
|
1080
1080
|
*/
|
|
1081
|
-
type ToolHandler<Args, Ok, E extends Tagged, Ctx> = (args: Args, ctx: Ctx
|
|
1081
|
+
type ToolHandler<Args, Ok, E extends Tagged, Ctx> = (args: Args, ctx: HandlerCtx<Ctx>, settle: ToolConstructors<Ok, E>) => Promise<Outcome<Ok, E>>;
|
|
1082
1082
|
/**
|
|
1083
1083
|
* What `tool()` returns: the `Cmd.define`d constructor (so `Settled<typeof t>`
|
|
1084
1084
|
* / `CmdOf<typeof t>` read it like any def) plus the colocated `interpret` handler,
|
|
@@ -1100,7 +1100,7 @@ type ToolDef<Name extends string, Args, Ok, E extends Tagged, Ctx> = CmdDef<Name
|
|
|
1100
1100
|
* The colocated handler, as an interpret cell: it returns the tool's
|
|
1101
1101
|
* outcome, and the engine mints `<name>_ok` / `<name>_err` from it.
|
|
1102
1102
|
*/
|
|
1103
|
-
readonly interpret: (cmd: CmdValue<Name, ToolInput<Args>, Ok, E>, ctx: Ctx
|
|
1103
|
+
readonly interpret: (cmd: CmdValue<Name, ToolInput<Args>, Ok, E>, ctx: HandlerCtx<Ctx>) => Promise<Outcome<Ok, E>>;
|
|
1104
1104
|
/** Phantom — the ctx the handler reads. Never assigned. */
|
|
1105
1105
|
readonly __ctx?: Ctx;
|
|
1106
1106
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
import { formOf, subEntriesOf, desiredSub } from '../chunk-
|
|
1
|
+
import '../chunk-C4U5D5HP.js';
|
|
2
|
+
import { formOf, subEntriesOf, desiredSub } from '../chunk-K4ETBNKS.js';
|
|
3
3
|
|
|
4
4
|
// src/machine-viz/mermaid-id.ts
|
|
5
5
|
function safeId(raw) {
|
package/dist/mem/index.d.ts
CHANGED
package/dist/mem/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
import { StoreConflictError } from '../chunk-
|
|
1
|
+
import '../chunk-C4U5D5HP.js';
|
|
2
|
+
import { StoreConflictError } from '../chunk-K4ETBNKS.js';
|
|
3
3
|
|
|
4
4
|
// src/mem/index.ts
|
|
5
5
|
function memoryStore(initial, parse = (raw) => raw, options = {}) {
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import WebSocket from 'ws';
|
|
2
|
-
import { S as Store, F as FencedStore } from '../runtime-types-
|
|
3
|
-
import { S as Sub, h as Dispose } from '../core-
|
|
2
|
+
import { S as Store, F as FencedStore } from '../runtime-types-B62Ucnxr.js';
|
|
3
|
+
import { S as Sub, h as Dispose } from '../core-rDbOaJTN.js';
|
|
4
4
|
import '@standard-schema/spec';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dispatchIfPresent } from '../chunk-
|
|
2
|
-
import { StoreConflictError } from '../chunk-
|
|
1
|
+
import { dispatchIfPresent } from '../chunk-C4U5D5HP.js';
|
|
2
|
+
import { StoreConflictError } from '../chunk-K4ETBNKS.js';
|
|
3
3
|
import { mkdir, writeFile, rename, unlink, open, readFile } from 'fs/promises';
|
|
4
4
|
import { createRequire } from 'module';
|
|
5
5
|
import { dirname, join } from 'path';
|
package/dist/paginate/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as Cmd, b as CmdDef, T as TimerDeps } from '../core-
|
|
1
|
+
import { C as Cmd, b as CmdDef, T as TimerDeps } from '../core-rDbOaJTN.js';
|
|
2
2
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
3
|
-
import { a as DeadlineSub } from '../index-
|
|
4
|
-
import { a as ResilientState, b as ResilientTimerMsg, R as RunCmd, F as FailMsg, S as SucceedMsg, f as CircuitConfig, l as RateLimitConfig, m as DeadlineConfig } from '../index-
|
|
3
|
+
import { a as DeadlineSub } from '../index-DaX_P35Q.js';
|
|
4
|
+
import { a as ResilientState, b as ResilientTimerMsg, R as RunCmd, F as FailMsg, S as SucceedMsg, f as CircuitConfig, l as RateLimitConfig, m as DeadlineConfig } from '../index-q1PoukOZ.js';
|
|
5
5
|
import '@standard-schema/spec';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-DPm5YCDQ.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* internal/paginate/paginator — the cursor/offset/page-token walk loop as pure
|
package/dist/paginate/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { PAGE_KEY, createPaginatedWalk, defaultPaginatorPolicy, drain, initPaginator, isDone, liftWalk, recordPage, resume, start } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PAGE_KEY, createPaginatedWalk, defaultPaginatorPolicy, drain, initPaginator, isDone, liftWalk, recordPage, resume, start } from '../chunk-OYR7ENKU.js';
|
|
2
|
+
import '../chunk-6XBEYZME.js';
|
|
3
3
|
import '../chunk-VBDU4JL6.js';
|
|
4
4
|
import '../chunk-4LPY67E4.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-GWWCCSDH.js';
|
|
6
|
+
import '../chunk-C4U5D5HP.js';
|
|
7
|
+
import '../chunk-K4ETBNKS.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/parity/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BootingRuntime } from '../runtime-types-
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine } from '../core-
|
|
3
|
-
import { T as Trace, R as RecorderOptions } from '../index-
|
|
1
|
+
import { B as BootingRuntime } from '../runtime-types-B62Ucnxr.js';
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine } from '../core-rDbOaJTN.js';
|
|
3
|
+
import { T as Trace, R as RecorderOptions } from '../index-B_BxplWi.js';
|
|
4
4
|
import '@standard-schema/spec';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/parity/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { recorder, deepEqual } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import { replay } from '../chunk-
|
|
1
|
+
import { recorder, deepEqual } from '../chunk-LYVOGOBC.js';
|
|
2
|
+
import '../chunk-C4U5D5HP.js';
|
|
3
|
+
import { replay } from '../chunk-K4ETBNKS.js';
|
|
4
4
|
import '../chunk-HWVW4AXC.js';
|
|
5
5
|
|
|
6
6
|
// src/parity/index.ts
|
package/dist/pbt/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as fc from 'fast-check';
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine, i as Reducer, k as Transitions, U as UpdateForm } from '../core-
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine, i as Reducer, k as Transitions, U as UpdateForm } from '../core-rDbOaJTN.js';
|
|
3
3
|
import '@standard-schema/spec';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/pbt/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
import { replay, applyCell, msgKeysOf } from '../chunk-
|
|
1
|
+
import '../chunk-C4U5D5HP.js';
|
|
2
|
+
import { replay, applyCell, msgKeysOf } from '../chunk-K4ETBNKS.js';
|
|
3
3
|
import * as fc from 'fast-check';
|
|
4
4
|
|
|
5
5
|
// src/pbt/arbitraries/ctx.ts
|