@demlik/tea 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +11 -2
  2. package/dist/agent/index.d.ts +17 -17
  3. package/dist/agent/index.js +10 -10
  4. package/dist/{chunk-FTCYY2DO.js → chunk-4I2LCQKB.js} +3 -3
  5. package/dist/{chunk-FTCYY2DO.js.map → chunk-4I2LCQKB.js.map} +1 -1
  6. package/dist/{chunk-EA47MI5Q.js → chunk-6NIQIUGR.js} +4 -4
  7. package/dist/{chunk-EA47MI5Q.js.map → chunk-6NIQIUGR.js.map} +1 -1
  8. package/dist/{chunk-HX3C6LDK.js → chunk-7Z2IDZ7R.js} +3 -3
  9. package/dist/{chunk-HX3C6LDK.js.map → chunk-7Z2IDZ7R.js.map} +1 -1
  10. package/dist/{chunk-XWIE5V7R.js → chunk-BFSZ4L6Y.js} +4 -4
  11. package/dist/{chunk-XWIE5V7R.js.map → chunk-BFSZ4L6Y.js.map} +1 -1
  12. package/dist/{chunk-JAKM53JF.js → chunk-EB5OMOXX.js} +4 -4
  13. package/dist/chunk-EB5OMOXX.js.map +1 -0
  14. package/dist/{chunk-RKVUVALV.js → chunk-GAVLND5C.js} +19 -4
  15. package/dist/chunk-GAVLND5C.js.map +1 -0
  16. package/dist/{chunk-AIXC33SE.js → chunk-HU3Y2AZY.js} +4 -4
  17. package/dist/chunk-HU3Y2AZY.js.map +1 -0
  18. package/dist/{chunk-72CN3VPY.js → chunk-MBQR3LFW.js} +5 -5
  19. package/dist/{chunk-72CN3VPY.js.map → chunk-MBQR3LFW.js.map} +1 -1
  20. package/dist/{chunk-TAKPC6SD.js → chunk-QIE4Y6BK.js} +4 -4
  21. package/dist/{chunk-TAKPC6SD.js.map → chunk-QIE4Y6BK.js.map} +1 -1
  22. package/dist/{chunk-TGJLXZAU.js → chunk-TMYUDZLE.js} +3 -3
  23. package/dist/{chunk-TGJLXZAU.js.map → chunk-TMYUDZLE.js.map} +1 -1
  24. package/dist/{chunk-DVNXEB7V.js → chunk-VHKDUBXC.js} +3 -3
  25. package/dist/chunk-VHKDUBXC.js.map +1 -0
  26. package/dist/{chunk-UHAQ4PI6.js → chunk-VM7PMFV5.js} +70 -47
  27. package/dist/chunk-VM7PMFV5.js.map +1 -0
  28. package/dist/{chunk-2774I242.js → chunk-W6XWI6QE.js} +20 -20
  29. package/dist/chunk-W6XWI6QE.js.map +1 -0
  30. package/dist/{chunk-NGYFBD5G.js → chunk-YCJPLPQQ.js} +3 -3
  31. package/dist/{chunk-NGYFBD5G.js.map → chunk-YCJPLPQQ.js.map} +1 -1
  32. package/dist/{chunk-2R62Q5UK.js → chunk-YDF6P74H.js} +3 -3
  33. package/dist/{chunk-2R62Q5UK.js.map → chunk-YDF6P74H.js.map} +1 -1
  34. package/dist/{chunk-A73IJ27X.js → chunk-Z7IL735U.js} +3 -3
  35. package/dist/{chunk-A73IJ27X.js.map → chunk-Z7IL735U.js.map} +1 -1
  36. package/dist/{chunk-5HVKDHY6.js → chunk-ZV4WGW74.js} +3 -3
  37. package/dist/{chunk-5HVKDHY6.js.map → chunk-ZV4WGW74.js.map} +1 -1
  38. package/dist/{core-CtvAyPpH.d.ts → core-BKJW1Kmq.d.ts} +2 -2
  39. package/dist/do/index.d.ts +17 -15
  40. package/dist/do/index.js +11 -11
  41. package/dist/do/index.js.map +1 -1
  42. package/dist/{drive-loop-Dw1sGSsW.d.ts → drive-loop-Dc6Z8Vbs.d.ts} +1 -1
  43. package/dist/{durable-effects-Ump5lSdO.d.ts → durable-effects-CgrLNccA.d.ts} +1 -1
  44. package/dist/effect/index.d.ts +74 -7
  45. package/dist/effect/index.js +44 -6
  46. package/dist/effect/index.js.map +1 -1
  47. package/dist/extension/index.d.ts +3 -3
  48. package/dist/extension/index.js +2 -2
  49. package/dist/extension/index.js.map +1 -1
  50. package/dist/flow/index.d.ts +17 -13
  51. package/dist/flow/index.js +13 -12
  52. package/dist/flow/index.js.map +1 -1
  53. package/dist/idempotency/index.d.ts +3 -3
  54. package/dist/idempotency/index.js +3 -3
  55. package/dist/{index-CrcoVfd_.d.ts → index-1hit3dJ9.d.ts} +2 -2
  56. package/dist/{index-CKtEKGyp.d.ts → index-B-VC4qjx.d.ts} +3 -3
  57. package/dist/{index-EIgfl83J.d.ts → index-BjwRcjBi.d.ts} +2 -2
  58. package/dist/{index-CZZ3HI-Z.d.ts → index-CYrUWi1c.d.ts} +4 -4
  59. package/dist/{index-D3NY3VCN.d.ts → index-Cuy1_xTh.d.ts} +1 -1
  60. package/dist/{index-Bk2hBUdK.d.ts → index-DB8Yn0-K.d.ts} +1 -1
  61. package/dist/{index-CVU7SK3a.d.ts → index-Diyo8WBO.d.ts} +2 -2
  62. package/dist/{index-Dl71V7kt.d.ts → index-Z6Uw7C9t.d.ts} +1 -1
  63. package/dist/index.d.ts +9 -9
  64. package/dist/index.js +2 -2
  65. package/dist/jev/index.d.ts +15 -15
  66. package/dist/jev/index.js +5 -5
  67. package/dist/jev/index.js.map +1 -1
  68. package/dist/{machine-Dtre2TmN.d.ts → machine-BuPTS1QH.d.ts} +7 -7
  69. package/dist/machine-viz/index.d.ts +1 -1
  70. package/dist/machine-viz/index.js +2 -2
  71. package/dist/mem/index.d.ts +2 -2
  72. package/dist/mem/index.js +2 -2
  73. package/dist/node/index.d.ts +2 -2
  74. package/dist/node/index.js +2 -2
  75. package/dist/node/index.js.map +1 -1
  76. package/dist/otel/index.d.ts +10 -10
  77. package/dist/otel/index.js +10 -10
  78. package/dist/paginate/index.d.ts +4 -4
  79. package/dist/paginate/index.js +5 -5
  80. package/dist/parity/index.d.ts +3 -3
  81. package/dist/parity/index.js +3 -3
  82. package/dist/parity/index.js.map +1 -1
  83. package/dist/pbt/index.d.ts +1 -1
  84. package/dist/pbt/index.js +2 -2
  85. package/dist/persistence/index.d.ts +5 -5
  86. package/dist/persistence/index.js +4 -4
  87. package/dist/promise/index.d.ts +25 -10
  88. package/dist/promise/index.js +4 -4
  89. package/dist/react/index.d.ts +7 -6
  90. package/dist/react/index.js.map +1 -1
  91. package/dist/resilience/index.d.ts +6 -6
  92. package/dist/resilience/index.js +5 -5
  93. package/dist/{run-fiBe7pOG.d.ts → run-D0sxbyno.d.ts} +22 -9
  94. package/dist/{runtime-types-DEluQgGO.d.ts → runtime-types-BPKp2bGo.d.ts} +48 -9
  95. package/dist/testing/effect/index.d.ts +5 -5
  96. package/dist/testing/effect/index.js +8 -8
  97. package/dist/testing/index.d.ts +2 -2
  98. package/dist/testing/index.js +3 -3
  99. package/dist/testing/promise/index.d.ts +4 -4
  100. package/dist/testing/promise/index.js +5 -5
  101. package/dist/timing/index.d.ts +4 -4
  102. package/dist/timing/index.js +4 -4
  103. package/dist/{types-CXNzlbAg.d.ts → types-BiXj7k_k.d.ts} +1 -1
  104. package/dist/work-queue/index.d.ts +4 -4
  105. package/dist/work-queue/index.js +2 -2
  106. package/package.json +4 -2
  107. package/dist/chunk-2774I242.js.map +0 -1
  108. package/dist/chunk-AIXC33SE.js.map +0 -1
  109. package/dist/chunk-DVNXEB7V.js.map +0 -1
  110. package/dist/chunk-JAKM53JF.js.map +0 -1
  111. package/dist/chunk-RKVUVALV.js.map +0 -1
  112. package/dist/chunk-UHAQ4PI6.js.map +0 -1
@@ -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 { a as CmdOf, b as CmdDef } from '../core-CtvAyPpH.js';
4
- import { Q as QueueItem } from '../index-D3NY3VCN.js';
3
+ import { a as CmdOf, b as CmdDef } from '../core-BKJW1Kmq.js';
4
+ import { Q as QueueItem } from '../index-Cuy1_xTh.js';
5
5
  import '@standard-schema/spec';
6
- import '../runtime-types-DEluQgGO.js';
6
+ import '../runtime-types-BPKp2bGo.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-NGYFBD5G.js';
1
+ export { createIntake, intakeProcessDef, intakeReplayDef } from '../chunk-YCJPLPQQ.js';
2
2
  export { evictExpired, initStore, recall, remember, seen } from '../chunk-PR6TB3BL.js';
3
3
  import '../chunk-4LPY67E4.js';
4
4
  import '../chunk-TXN2KFHF.js';
5
- import '../chunk-DVNXEB7V.js';
6
- import '../chunk-RKVUVALV.js';
5
+ import '../chunk-VHKDUBXC.js';
6
+ import '../chunk-GAVLND5C.js';
7
7
  //# sourceMappingURL=index.js.map
8
8
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { C as Cmd, P as Port } from './core-CtvAyPpH.js';
2
- import { Q as QueueItem } from './index-D3NY3VCN.js';
1
+ import { C as Cmd, P as Port } from './core-BKJW1Kmq.js';
2
+ import { Q as QueueItem } from './index-Cuy1_xTh.js';
3
3
 
4
4
  /**
5
5
  * internal/flow/fan-out — scatter-gather over a bounded-concurrency work list.
@@ -1,6 +1,6 @@
1
- import { a as CmdOf, b as CmdDef, f as TaggedError, n as MalformedResult, T as TimerDeps, C as Cmd } from './core-CtvAyPpH.js';
1
+ import { a as CmdOf, b as CmdDef, f as TaggedError, o as MalformedResult, T as TimerDeps, C as Cmd } from './core-BKJW1Kmq.js';
2
2
  import { RetryState, AnyRetryPolicy } from './retry-backoff/index.js';
3
- import { T as TtlCache, D as DeadlineExceeded, a as DeadlineSub } from './index-CVU7SK3a.js';
3
+ import { T as TtlCache, D as DeadlineExceeded, a as DeadlineSub } from './index-Diyo8WBO.js';
4
4
 
5
5
  /**
6
6
  * @packageDocumentation
@@ -698,7 +698,7 @@ declare function createResilientCall<I, R, N extends string = DefaultResilientNa
698
698
  * host; consumers with a differently-named field spread by hand. Pure — a thin
699
699
  * record rebuild, no clock / RNG.
700
700
  *
701
- * The record rebuild itself is `liftSlice` from the root door (#231) — this
701
+ * The record rebuild itself is `liftSlice` from the root entry (#231) — this
702
702
  * stays as the named, pre-keyed convenience for the `state.resilience` field,
703
703
  * unchanged in name, signature and subpath.
704
704
  */
@@ -1,5 +1,5 @@
1
- import { C as Cmd, T as TimerDeps, c as Subscribe } from './core-CtvAyPpH.js';
2
- import { D as DeadlineExceeded, a as DeadlineSub, b as DeadlinesSub } from './index-CVU7SK3a.js';
1
+ import { C as Cmd, T as TimerDeps, S as Subscribe } from './core-BKJW1Kmq.js';
2
+ import { D as DeadlineExceeded, a as DeadlineSub, b as DeadlinesSub } from './index-Diyo8WBO.js';
3
3
 
4
4
  /**
5
5
  * internal/flow/batch-window — coalesce a stream of items into size- or
@@ -1,7 +1,7 @@
1
- import { b as CmdDef, T as TimerDeps, C as Cmd } from './core-CtvAyPpH.js';
2
- import { S as SnapshotWriteCmd, a as SnapshotState, b as SnapshotSavedMsg } from './index-Bk2hBUdK.js';
3
- import { D as DeadlineExceeded, a as DeadlineSub } from './index-CVU7SK3a.js';
4
- import { Q as QueueItem } from './index-D3NY3VCN.js';
1
+ import { b as CmdDef, T as TimerDeps, C as Cmd } from './core-BKJW1Kmq.js';
2
+ import { S as SnapshotWriteCmd, a as SnapshotState, b as SnapshotSavedMsg } from './index-DB8Yn0-K.js';
3
+ import { D as DeadlineExceeded, a as DeadlineSub } from './index-Diyo8WBO.js';
4
+ import { Q as QueueItem } from './index-Cuy1_xTh.js';
5
5
 
6
6
  /**
7
7
  * The monitored-run knob. EVERY field is optional:
@@ -1,4 +1,4 @@
1
- import { S as Store } from './runtime-types-DEluQgGO.js';
1
+ import { S as Store } from './runtime-types-BPKp2bGo.js';
2
2
 
3
3
  /**
4
4
  * internal/work-queue — substrate-agnostic work-queue lifecycle on `Store<S>`.
@@ -1,4 +1,4 @@
1
- import { a as CmdOf, b as CmdDef, d as SettledOk, e as SettledErr, f as TaggedError, C as Cmd } from './core-CtvAyPpH.js';
1
+ import { a as CmdOf, b as CmdDef, d as SettledOk, e as SettledErr, f as TaggedError, C as Cmd } from './core-BKJW1Kmq.js';
2
2
 
3
3
  /**
4
4
  * The snapshot knob.
@@ -1,5 +1,5 @@
1
- import { k as SubId, S as Sub, l as DepKeyedSub, D as Dispose, T as TimerDeps } from './core-CtvAyPpH.js';
2
- import { S as SubscribeHandler } from './types-CXNzlbAg.js';
1
+ import { l as SubId, c as Sub, m as DepKeyedSub, D as Dispose, T as TimerDeps } from './core-BKJW1Kmq.js';
2
+ import { S as SubscribeHandler } from './types-BiXj7k_k.js';
3
3
 
4
4
  /**
5
5
  * internal/resilience/deadline — a one-shot Sub that fires when an ABSOLUTE wall-clock
@@ -1,4 +1,4 @@
1
- import { B as BootingRuntime } from './runtime-types-DEluQgGO.js';
1
+ import { B as BootingRuntime } from './runtime-types-BPKp2bGo.js';
2
2
 
3
3
  /**
4
4
  * A recorded run, sufficient to reproduce it via `../trace-replay`.
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { B as BootingRuntime, R as Runtime } from './runtime-types-DEluQgGO.js';
2
- export { b as BootedRunHandle, e as Branded, C as CtxArg, D as DeletableStore, f as DispatchDiscardedError, c as DispatchSettle, g as DisposeTimeoutNotice, h as DriveFailedError, i as DriveStalledError, E as EngineRun, j as FencedRead, F as FencedStore, k as FoldRefusal, I as IdentityDropNotice, l as MachineTypes, M as Migrated, O as OnError, P as PortNameCollisionError, Q as QuiescenceTimeoutError, m as Refusal, d as RunHandle, n as RunOptions, o as RuntimeDiscardNotice, p as RuntimeDiscardedError, q as RuntimeErrorContext, r as RuntimeErrorPhase, s as RuntimeRef, t as Schema, S as Store, u as StoreConflictError, v as StoreRefusedError, a as Supervision, w as SupervisionStrategy, x as TelemetryEvent, T as TelemetrySink, _ as __resetPortRegistry, y as absurd, z as asReducer, A as defineMachine, G as definePort, H as isFencedStore, J as noop, K as refuse, L as replay, N as schemaMigrate, U as tryApplyCell, V as tryFoldMsgs, W as tryInterpret, X as wrapDetached } from './runtime-types-DEluQgGO.js';
3
- import { C as Cmd, S as Sub, M as Machine, P as Port, l as DepKeyedSub, D as Dispose } from './core-CtvAyPpH.js';
4
- export { A as AnyCmdDef, v as AsyncSchemaError, B as BuiltinSub, q as BuiltinSubType, b as CmdDef, w as CmdInput, a as CmdOf, u as CmdValue, p as DeclaredErrorsOf, t as ErrOf, E as ErrorsOf, x as ExhaustiveTransitions, y as Identity, I as Interpret, z as InterpretArg, F as InterpretCell, j as InterpretDetached, G as MachineShape, n as MalformedResult, N as NoCellError, J as NoCtx, s as OkOf, o as OkOfCmd, O as Outcome, K as OutcomeContractError, L as OutcomeHelpers, Q as PortEmitter, g as Reducer, R as RunHandlers, h as Settled, e as SettledErr, d as SettledOk, k as SubId, c as Subscribe, V as SubscribeArg, X as SyncReturn, r as Tagged, f as TaggedError, T as TimerDeps, m as TimerSub, i 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-CtvAyPpH.js';
5
- import { S as SubscribeHandler } from './types-CXNzlbAg.js';
1
+ import { B as BootingRuntime, R as Runtime } from './runtime-types-BPKp2bGo.js';
2
+ export { b as BootedRunHandle, e as Branded, C as CtxArg, D as DeletableStore, f as DispatchDiscardedError, c as DispatchSettle, g as DisposeTimeoutNotice, h as DrainTimeoutNotice, i as DriveFailedError, j as DriveStalledError, E as EngineRun, k as FencedRead, F as FencedStore, l as FoldRefusal, I as IdentityDropNotice, m as MachineTypes, M as Migrated, O as OnError, P as PortNameCollisionError, Q as QuiescenceTimeoutError, n as Refusal, d as RunHandle, o as RunOptions, p as RuntimeDiscardNotice, q as RuntimeDiscardedError, r as RuntimeErrorContext, s as RuntimeErrorPhase, t as RuntimeRef, u as Schema, S as Store, v as StoreConflictError, w as StoreRefusedError, a as Supervision, x as SupervisionStrategy, y as TelemetryEvent, T as TelemetrySink, _ as __resetPortRegistry, z as absurd, A as asReducer, G as defineMachine, H as definePort, J as isFencedStore, K as noop, L as refuse, N as replay, U as schemaMigrate, V as tryApplyCell, W as tryFoldMsgs, X as tryInterpret, Y as wrapDetached } from './runtime-types-BPKp2bGo.js';
3
+ import { C as Cmd, c as Sub, M as Machine, P as Port, m as DepKeyedSub, D as Dispose } from './core-BKJW1Kmq.js';
4
+ export { A as AnyCmdDef, w as AsyncSchemaError, B as BuiltinSub, r as BuiltinSubType, b as CmdDef, k as CmdInput, a as CmdOf, v as CmdValue, q as DeclaredErrorsOf, u as ErrOf, E as ErrorsOf, x as ExhaustiveTransitions, y as Identity, I as Interpret, z as InterpretArg, F as InterpretCell, j as InterpretDetached, G as MachineShape, o as MalformedResult, N as NoCellError, J as NoCtx, t as OkOf, p as OkOfCmd, O as Outcome, K as OutcomeContractError, L as OutcomeHelpers, Q as PortEmitter, g as Reducer, R as RunHandlers, h as Settled, e as SettledErr, d as SettledOk, l as SubId, S as Subscribe, V as SubscribeArg, X as SyncReturn, s as Tagged, f as TaggedError, T as TimerDeps, n as TimerSub, i 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-BKJW1Kmq.js';
5
+ import { S as SubscribeHandler } from './types-BiXj7k_k.js';
6
6
  import '@standard-schema/spec';
7
7
 
8
8
  /**
9
9
  * @packageDocumentation
10
- * The composition seam — the layer between a battery and a door.
10
+ * The composition seam — the layer between a battery and a subpath.
11
11
  *
12
- * A battery is pure state plus verbs over that state. A door holds several
12
+ * A battery is pure state plus verbs over that state. A subpath holds several
13
13
  * batteries side by side in one Model. Everything between those two facts was,
14
14
  * until now, hand-written at every consumer: the one-key record rebuild that
15
15
  * threads a verb's `[slice, cmds]` result back into the host state, and the
@@ -23,7 +23,7 @@ import '@standard-schema/spec';
23
23
  * forty lines here rather than a dependency.
24
24
  *
25
25
  * `docs/how-to/compose-two-battery-slices.md` wires both end to end over a
26
- * two-battery door, and its `ts` blocks are compiled and run as
26
+ * two-battery subpath, and its `ts` blocks are compiled and run as
27
27
  * `src/docs/how-to/compose-slices.test.ts`.
28
28
  *
29
29
  * Both are pure: no clock, no RNG, no storage, nothing captured. A `liftSlice`
@@ -123,7 +123,7 @@ declare function historyTracker<S, M extends {
123
123
  * internal/prediction — the client-prediction ack primitive (epic #186, facet 2).
124
124
  * Internal since #49 — not published on any subpath of its own; the
125
125
  * client-safe barrel `src/pure/` re-exports the public surface, and the root
126
- * `@demlik/tea` door publishes it.
126
+ * `@demlik/tea` entry publishes it.
127
127
  *
128
128
  * The contract the Gambetta/Valve authoritative-server netcode loop needs:
129
129
  * **command-seq-in → last-applied-seq-out.** A client tags each predicted
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-DVNXEB7V.js';
2
- export { AsyncSchemaError, Cmd, DispatchDiscardedError, DisposeTimeoutNotice, DriveFailedError, DriveStalledError, IdentityDropNotice, NoCellError, Outcome, OutcomeContractError, PortNameCollisionError, QuiescenceTimeoutError, Refusal, RuntimeDiscardNotice, RuntimeDiscardedError, StoreConflictError, StoreRefusedError, UndeclaredFailureError, __resetPortRegistry, absurd, acceptedTypes, acceptsOf, applyCell, applyCellChecked, asReducer, defineMachine, definePort, describeMachine, detectUpdateForm, foldMsgs, foldUpdates, formOf, isFencedStore, msgKeysOf, noop, refuse, replay, schemaMigrate, structuralHash, subId, subIdOf, tryApplyCell, tryFoldMsgs, tryInterpret, wrapDetached } from './chunk-RKVUVALV.js';
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-VHKDUBXC.js';
2
+ export { AsyncSchemaError, Cmd, DispatchDiscardedError, DisposeTimeoutNotice, DrainTimeoutNotice, DriveFailedError, DriveStalledError, IdentityDropNotice, NoCellError, Outcome, OutcomeContractError, PortNameCollisionError, QuiescenceTimeoutError, Refusal, RuntimeDiscardNotice, RuntimeDiscardedError, StoreConflictError, StoreRefusedError, UndeclaredFailureError, __resetPortRegistry, absurd, acceptedTypes, acceptsOf, applyCell, applyCellChecked, asReducer, defineMachine, definePort, describeMachine, detectUpdateForm, foldMsgs, foldUpdates, formOf, isFencedStore, msgKeysOf, noop, refuse, replay, schemaMigrate, structuralHash, subId, subIdOf, tryApplyCell, tryFoldMsgs, tryInterpret, wrapDetached } from './chunk-GAVLND5C.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,13 +1,13 @@
1
- import { O as Outcome, b as CmdDef, T as TimerDeps, C as Cmd, l as DepKeyedSub, m as TimerSub } from '../core-CtvAyPpH.js';
1
+ import { O as Outcome, b as CmdDef, T as TimerDeps, C as Cmd, m as DepKeyedSub, n as TimerSub } from '../core-BKJW1Kmq.js';
2
2
  import { RetryPolicy } from '../retry-backoff/index.js';
3
- import { a as DeadlineSub, T as TtlCache, C as CacheEvictionSub, c as CacheEvictMsg } from '../index-CVU7SK3a.js';
4
- import { D as DefaultResilientName, R as RunCmd, F as FailMsg, S as SucceedMsg, a as ResilientTimerMsg, b as ResilientState, c as DeadlineNameOf } from '../index-CKtEKGyp.js';
5
- import { S as SubscribeHandler } from '../types-CXNzlbAg.js';
6
- import { B as BatchWindow, a as BatchWindowSub, b as BatchWindowExpired } from '../index-EIgfl83J.js';
7
- import { F as FanOutState } from '../index-CrcoVfd_.js';
3
+ import { a as DeadlineSub, T as TtlCache, C as CacheEvictionSub, c as CacheEvictMsg } from '../index-Diyo8WBO.js';
4
+ import { D as DefaultResilientName, R as RunCmd, F as FailMsg, S as SucceedMsg, a as ResilientTimerMsg, b as ResilientState, c as DeadlineNameOf } from '../index-B-VC4qjx.js';
5
+ import { S as SubscribeHandler } from '../types-BiXj7k_k.js';
6
+ import { B as BatchWindow, a as BatchWindowSub, b as BatchWindowExpired } from '../index-BjwRcjBi.js';
7
+ import { F as FanOutState } from '../index-1hit3dJ9.js';
8
8
  import '@standard-schema/spec';
9
- import '../index-D3NY3VCN.js';
10
- import '../runtime-types-DEluQgGO.js';
9
+ import '../index-Cuy1_xTh.js';
10
+ import '../runtime-types-BPKp2bGo.js';
11
11
 
12
12
  /**
13
13
  * @packageDocumentation
@@ -388,12 +388,12 @@ type JevRejected = {
388
388
  * Read a settled failure back as a {@link JevAskErr}. PURE.
389
389
  *
390
390
  * A {@link JevRejected} yields its `jev`. Anything else a handler returned —
391
- * a bare `port_rejected`, a `deadline_exceeded` — is a failure this door did
391
+ * a bare `port_rejected`, a `deadline_exceeded` — is a failure this module did
392
392
  * not classify, and it reads as the transient `port_threw`, exactly as a
393
393
  * foreign throw always has.
394
394
  */
395
395
  declare function jevAskErrOf(error: unknown): JevAskErr;
396
- /** The model the door asks for when config names none. */
396
+ /** The model the ask uses when config names none. */
397
397
  declare const DEFAULT_JEV_MODEL = "jev-latest";
398
398
  /**
399
399
  * The jev-ask knob. `questions` is the load-bearing one: it is both the map
@@ -461,7 +461,7 @@ declare function offlineJevAnswer<Q extends JevQuestionMap>(request: JevRequest<
461
461
  * The one effect this knob emits: run the ask for `key` with the plain-data
462
462
  * {@link JevRequest} (ADR 0014 — a Cmd is DECLARED, so its input, ok and err
463
463
  * channels are types on the constructor rather than a convention). It is
464
- * resilient-call's `runCmdDef` specialized to this door's input and result, the
464
+ * resilient-call's `runCmdDef` specialized to this module's input and result, the
465
465
  * same way `../../idempotency/idempotent-intake` mints its defs per knob: `Q` is
466
466
  * a type parameter, so the def is a factory and not a module constant. `name`
467
467
  * is the knob's name; omit it for the `resilient` family.
@@ -482,7 +482,7 @@ type JevAskCmd<Q extends JevQuestionMap, N extends string = DefaultResilientName
482
482
  type JevSucceedMsg<Q extends JevQuestionMap, N extends string = DefaultResilientName> = SucceedMsg<JevOk<Q>, N>;
483
483
  /**
484
484
  * The failure settle Msg the engine mints — resilient-call's. Its `error` is a
485
- * {@link JevRejected} when your handler used this door's builders; `fail`
485
+ * {@link JevRejected} when your handler used this module's builders; `fail`
486
486
  * reads it with {@link jevAskErrOf}.
487
487
  */
488
488
  type JevFailMsg<N extends string = DefaultResilientName> = FailMsg<N>;
@@ -539,11 +539,11 @@ type JevCmd<Q extends JevQuestionMap, N extends string = DefaultResilientName> =
539
539
  /**
540
540
  * Lift a knob result `[slice, cmds]` into a host `[State, cmds]` where the slice
541
541
  * lives at `state.resilience` — resilient-call's convenience, re-typed for this
542
- * door's slice so a consumer wires one import. Pure.
542
+ * module's slice so a consumer wires one import. Pure.
543
543
  *
544
- * The record rebuild is `liftSlice` from the root door (#231), the same helper
544
+ * The record rebuild is `liftSlice` from the root entry (#231), the same helper
545
545
  * `liftResilience` is expressed over — this stays as the named, pre-keyed
546
- * convenience for this door, unchanged in name, signature and subpath.
546
+ * convenience for this module, unchanged in name, signature and subpath.
547
547
  */
548
548
  declare function liftJevAsk<S extends {
549
549
  resilience: ResilientState<JevRequest<Q>, JevOk<Q>>;
package/dist/jev/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { createBatchWindow } from '../chunk-5HVKDHY6.js';
1
+ import { createBatchWindow } from '../chunk-ZV4WGW74.js';
2
2
  import '../chunk-LFZUK6J2.js';
3
3
  import { createFanOut } from '../chunk-QNGYQMZB.js';
4
- import { runCmdDef, createResilientCall } from '../chunk-72CN3VPY.js';
5
- import { initCache, has, set, evictExpired, cacheEvictionSub, cacheEvictionSubscribe, get } from '../chunk-TAKPC6SD.js';
4
+ import { runCmdDef, createResilientCall } from '../chunk-MBQR3LFW.js';
5
+ import { initCache, has, set, evictExpired, cacheEvictionSub, cacheEvictionSubscribe, get } from '../chunk-QIE4Y6BK.js';
6
6
  import '../chunk-VBDU4JL6.js';
7
7
  import '../chunk-4LPY67E4.js';
8
8
  import '../chunk-TXN2KFHF.js';
9
- import { liftSlice, readInOrder } from '../chunk-DVNXEB7V.js';
10
- import { describeError, Outcome } from '../chunk-RKVUVALV.js';
9
+ import { liftSlice, readInOrder } from '../chunk-VHKDUBXC.js';
10
+ import { describeError, Outcome } from '../chunk-GAVLND5C.js';
11
11
 
12
12
  // src/internal/jev/protocol/index.ts
13
13
  var jevQuestions = (questions) => questions;