@pgxsinkit/client 0.2.4 → 0.2.6
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/event-lane.d.ts +266 -0
- package/dist/event-lane.d.ts.map +1 -0
- package/dist/index.d.ts +103 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2886 -2009
- package/dist/index.js.map +18 -16
- package/dist/local-tables.d.ts +170 -0
- package/dist/local-tables.d.ts.map +1 -1
- package/dist/mutation.d.ts.map +1 -1
- package/dist/read-stream-stall.d.ts +54 -0
- package/dist/read-stream-stall.d.ts.map +1 -0
- package/dist/schema.d.ts +37 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/shape-sync.d.ts +11 -0
- package/dist/shape-sync.d.ts.map +1 -1
- package/dist/worker/attach-sync-client.d.ts.map +1 -1
- package/dist/worker/define-sync-worker.d.ts +12 -0
- package/dist/worker/define-sync-worker.d.ts.map +1 -1
- package/dist/worker/protocol.d.ts +7 -1
- package/dist/worker/protocol.d.ts.map +1 -1
- package/package.json +3 -3
- package/skills/core/SKILL.md +47 -9
- package/skills/operating/SKILL.md +359 -352
- package/src/event-lane.ts +1194 -0
- package/src/index.ts +326 -8
- package/src/local-tables.ts +48 -1
- package/src/mutation.ts +13 -1
- package/src/read-stream-stall.ts +102 -0
- package/src/schema.ts +81 -1
- package/src/shape-sync.ts +38 -14
- package/src/worker/attach-sync-client.ts +85 -2
- package/src/worker/define-sync-worker.ts +51 -0
- package/src/worker/protocol.ts +14 -0
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The **Event lane**'s client half (ADR-0053 decisions 2, 3, 4 and 8): the Outbox runtime, its flush loop,
|
|
3
|
+
* and the two observation surfaces.
|
|
4
|
+
*
|
|
5
|
+
* The lane sits beside the sync rail and is deliberately NOT the mutation path. An event is a
|
|
6
|
+
* fire-and-forget fact: nothing echoes back, nothing is overlaid, nothing converges, and there is no
|
|
7
|
+
* conflict. What the client owns is exactly three things — validate + durably stage an append, drain the
|
|
8
|
+
* Outbox in batches to the ingestion endpoint, and apply the server's per-event verdicts. Everything past
|
|
9
|
+
* the endpoint (queue, consumer runner, dead-letter) is the server's half.
|
|
10
|
+
*
|
|
11
|
+
* Two invariants carry the design:
|
|
12
|
+
*
|
|
13
|
+
* 1. **Everything in the Outbox is well-formed.** `appendEvent` validates against the Event stream's
|
|
14
|
+
* registered zod schema and the contracts-level payload-size cap AT THE CALL SITE and throws — a
|
|
15
|
+
* malformed payload is a call-site bug, not a runtime condition. The flush loop and any app-authored
|
|
16
|
+
* best-guess view lean on that.
|
|
17
|
+
* 2. **The client never discards an event without a server verdict.** There is NO attempt cap and NO
|
|
18
|
+
* client-side quarantine (ADR-0053 decision 4): terminal deletion happens only on `acked`/`refused`/
|
|
19
|
+
* `rejected`. A batch that keeps failing backs off at a ceiling, observably, while the Outbox keeps
|
|
20
|
+
* absorbing appends — it is designed to hold offline weeks.
|
|
21
|
+
*/
|
|
22
|
+
import { type EventAckStatus, type SyncTableRegistry } from "@pgxsinkit/contracts";
|
|
23
|
+
/** The raw local-store seam the Event lane executes through (structurally PGlite; mirrors `MutationDb`). */
|
|
24
|
+
export interface EventLaneDb {
|
|
25
|
+
query: <TRow extends Record<string, unknown> = Record<string, unknown>>(sql: string, params?: unknown[]) => Promise<{
|
|
26
|
+
rows: TRow[];
|
|
27
|
+
}>;
|
|
28
|
+
}
|
|
29
|
+
/** Max events assembled into one flush batch when the consumer sets nothing. Clamped to {@link MAX_EVENTS_PER_BATCH}. */
|
|
30
|
+
export declare const DEFAULT_EVENT_BATCH_SIZE = 200;
|
|
31
|
+
/**
|
|
32
|
+
* The event-lane flush driver's fallback interval. Deliberately slower than the convergence driver's: an
|
|
33
|
+
* append NUDGES a pass (and reconnect/boot run one), so the interval only has to catch retries and recovery.
|
|
34
|
+
*/
|
|
35
|
+
export declare const DEFAULT_EVENT_FLUSH_INTERVAL_MS = 5000;
|
|
36
|
+
/** First retry delay of the jittered exponential backoff (per-row deferred AND batch-level). */
|
|
37
|
+
export declare const DEFAULT_EVENT_BACKOFF_BASE_MS = 1000;
|
|
38
|
+
/**
|
|
39
|
+
* The backoff ceiling (ADR-0053 decision 4: "backs off at the ceiling, observably"). Five minutes: long
|
|
40
|
+
* enough that a hard outage costs almost nothing, short enough that a recovered server drains promptly even
|
|
41
|
+
* if no append or online signal nudges the lane.
|
|
42
|
+
*/
|
|
43
|
+
export declare const DEFAULT_EVENT_BACKOFF_CEILING_MS = 300000;
|
|
44
|
+
/** Jittered exponential backoff tuning, shared by the per-row deferred backoff and the batch-level one. */
|
|
45
|
+
export interface EventBackoffOptions {
|
|
46
|
+
/** The first delay, doubled per attempt. Defaults to {@link DEFAULT_EVENT_BACKOFF_BASE_MS}. */
|
|
47
|
+
baseMs?: number;
|
|
48
|
+
/** The delay ceiling. Defaults to {@link DEFAULT_EVENT_BACKOFF_CEILING_MS}. */
|
|
49
|
+
ceilingMs?: number;
|
|
50
|
+
}
|
|
51
|
+
/** Per-Event-stream flush overrides (ADR-0053 consequences: cadence is client config, never registry). */
|
|
52
|
+
export interface EventStreamFlushOptions {
|
|
53
|
+
/**
|
|
54
|
+
* Cap on how many events of THIS Event stream ride one batch. The lane assembles one mixed batch ordered
|
|
55
|
+
* by `seq` across every stream, so this is the knob that stops one chatty stream from filling every batch
|
|
56
|
+
* ahead of a quieter one. Absent → only the batch-wide {@link EventLaneOptions.batchSize} applies.
|
|
57
|
+
*
|
|
58
|
+
* The cap is applied IN the selection query (each stream's eligible rows are ranked by `seq` and the
|
|
59
|
+
* over-cap ones dropped BEFORE the global order/limit), so it genuinely yields the batch slots it frees to
|
|
60
|
+
* other streams rather than just shrinking the request. Must be an integer >= 1 — a `0`/negative/`NaN` cap
|
|
61
|
+
* would hold every row of the stream back forever, so it is refused at construction.
|
|
62
|
+
*/
|
|
63
|
+
batchSize?: number;
|
|
64
|
+
/** Backoff tuning for THIS stream's `deferred` rows (e.g. a stream mid-rollout wanting a shorter retry). */
|
|
65
|
+
backoff?: EventBackoffOptions;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The Event lane's client-level flush policy (ADR-0053 consequences). It lives on
|
|
69
|
+
* `createSyncClient`/`defineSyncWorker`, NEVER on the registry: the registry is the contract, cadence is
|
|
70
|
+
* deployment tuning, and a batch-size tweak must not surface as a registry diff. Client batching is
|
|
71
|
+
* additionally clamped by the contracts-level request-shape limits, which the server enforces independently.
|
|
72
|
+
*/
|
|
73
|
+
export interface EventLaneOptions {
|
|
74
|
+
/** Events per flush batch. Defaults to {@link DEFAULT_EVENT_BATCH_SIZE}; clamped to {@link MAX_EVENTS_PER_BATCH}. */
|
|
75
|
+
batchSize?: number;
|
|
76
|
+
/** The flush driver's fallback interval. Defaults to {@link DEFAULT_EVENT_FLUSH_INTERVAL_MS}. */
|
|
77
|
+
intervalMs?: number;
|
|
78
|
+
/** Backoff tuning for deferred rows and for batch-level faults. */
|
|
79
|
+
backoff?: EventBackoffOptions;
|
|
80
|
+
/** Per-Event-stream overrides, keyed by Event-stream name. */
|
|
81
|
+
streams?: Record<string, EventStreamFlushOptions>;
|
|
82
|
+
}
|
|
83
|
+
/** What `appendEvent` resolves with once the event is durably staged: the library's stamps + the local ordinal. */
|
|
84
|
+
export interface EventAppendResult {
|
|
85
|
+
/** The library-stamped uuid — the wire identity, and the key every {@link EventLaneVerdict} reports under. */
|
|
86
|
+
eventId: string;
|
|
87
|
+
/** The library-stamped append time in microseconds (decimal string). */
|
|
88
|
+
occurredAtUs: string;
|
|
89
|
+
/** The local append ordinal (decimal string). Local machinery: never transmitted. */
|
|
90
|
+
seq: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The **drain signal** (ADR-0053 decision 2): whether the Outbox is empty. Deliberately no count — a count
|
|
94
|
+
* that updates only on transitions is stale by construction, and a count updated per append is a worse live
|
|
95
|
+
* query. Richer detail is a query against the Outbox table.
|
|
96
|
+
*/
|
|
97
|
+
export interface OutboxStatus {
|
|
98
|
+
empty: boolean;
|
|
99
|
+
}
|
|
100
|
+
/** One server-issued per-event verdict, as surfaced on the report. */
|
|
101
|
+
export interface EventLaneVerdict {
|
|
102
|
+
eventId: string;
|
|
103
|
+
/** The Event-stream name the event was appended under. */
|
|
104
|
+
stream: string;
|
|
105
|
+
status: EventAckStatus;
|
|
106
|
+
reason?: string;
|
|
107
|
+
}
|
|
108
|
+
/** A batch-level backoff transition (ADR-0053 decision 4) — the lane entering or leaving its retry backoff. */
|
|
109
|
+
export interface EventLaneBackoffTransition {
|
|
110
|
+
state: "entered" | "cleared";
|
|
111
|
+
/** How long the lane will hold off, in ms. Present when `entered`. */
|
|
112
|
+
retryInMs?: number;
|
|
113
|
+
/** Consecutive failed batch attempts behind the current backoff. Present when `entered`. */
|
|
114
|
+
attempt?: number;
|
|
115
|
+
/** The HTTP status that caused it, when there was one (absent for a transport failure). */
|
|
116
|
+
httpStatus?: number;
|
|
117
|
+
/** The failure message. Present when `entered`. */
|
|
118
|
+
reason?: string;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* One flush pass's report (ADR-0053 decision 2) — the ephemeral surface `onEventLaneReport` delivers.
|
|
122
|
+
*
|
|
123
|
+
* It carries what the Outbox can no longer answer: `acked` is NOT reported (a successful append-only lane
|
|
124
|
+
* would drown the app in its own volume), but `refused` and `rejected` are — those rows are deleted, so once
|
|
125
|
+
* they are gone the Outbox cannot say what happened to them. `deferred` rows stay, but are reported so a
|
|
126
|
+
* rollout skew is visible rather than mysterious. The batch-level backoff transitions ride here too.
|
|
127
|
+
*/
|
|
128
|
+
export interface EventLaneReport {
|
|
129
|
+
/** Terminal, non-`acked` verdicts: the row was DELETED on the server's say-so. */
|
|
130
|
+
terminal: EventLaneVerdict[];
|
|
131
|
+
/** `deferred` verdicts: the row STAYS in the Outbox and retries with backoff. */
|
|
132
|
+
deferred: EventLaneVerdict[];
|
|
133
|
+
/** Present only on the pass that changed the lane's batch-level backoff state. */
|
|
134
|
+
backoff?: EventLaneBackoffTransition;
|
|
135
|
+
}
|
|
136
|
+
export interface CreateEventLaneRuntimeOptions<TRegistry extends SyncTableRegistry> {
|
|
137
|
+
db: EventLaneDb;
|
|
138
|
+
registry: TRegistry;
|
|
139
|
+
/** The ingestion endpoint — `/api/events`, or an absolute deployment URL ending in it. */
|
|
140
|
+
batchEventUrl: string;
|
|
141
|
+
getAuthToken?: () => Promise<string | undefined>;
|
|
142
|
+
/** Static headers added to every flush request (the toolkit's own Content-Type/Authorization still win). */
|
|
143
|
+
requestHeaders?: Record<string, string>;
|
|
144
|
+
/** Client-level flush policy. See {@link EventLaneOptions}. */
|
|
145
|
+
events?: EventLaneOptions;
|
|
146
|
+
/** @internal Injectable wall clock (ms) — the deterministic seam the backoff/deferred tests drive. */
|
|
147
|
+
now?: () => number;
|
|
148
|
+
/** @internal Injectable jitter source, for deterministic backoff assertions. */
|
|
149
|
+
random?: () => number;
|
|
150
|
+
}
|
|
151
|
+
export interface EventLaneRuntime {
|
|
152
|
+
/** Whether the registry registered any Event stream. False → `appendEvent` throws and no driver is stood up. */
|
|
153
|
+
readonly hasStreams: boolean;
|
|
154
|
+
appendEvent: (stream: string, payload: unknown) => Promise<EventAppendResult>;
|
|
155
|
+
/** Drain the Outbox: assemble, POST and settle batches until nothing more is eligible this pass. */
|
|
156
|
+
flush: () => Promise<void>;
|
|
157
|
+
/** The current drain signal, read from the store. */
|
|
158
|
+
outboxStatus: () => Promise<OutboxStatus>;
|
|
159
|
+
/** Subscribe to the drain signal; the CURRENT state is delivered on subscribe. Returns an unsubscribe. */
|
|
160
|
+
onOutboxStatus: (listener: (status: OutboxStatus) => void) => () => void;
|
|
161
|
+
/** Subscribe to per-flush reports. Ephemeral (nothing is retained); returns an unsubscribe. */
|
|
162
|
+
onEventLaneReport: (listener: (report: EventLaneReport) => void) => () => void;
|
|
163
|
+
/** Abort any in-flight flush request (the teardown seam, mirroring the mutation runtime's). */
|
|
164
|
+
abortInFlight: () => void;
|
|
165
|
+
}
|
|
166
|
+
/** The registry registered no Event stream at all, so there is nothing an append could target. */
|
|
167
|
+
export declare class EventStreamsNotRegisteredError extends Error {
|
|
168
|
+
constructor();
|
|
169
|
+
}
|
|
170
|
+
/** `appendEvent` named an Event stream this registry does not register — a call-site bug, never a rollout. */
|
|
171
|
+
export declare class UnknownEventStreamError extends Error {
|
|
172
|
+
readonly stream: string;
|
|
173
|
+
constructor(stream: string, known: readonly string[]);
|
|
174
|
+
}
|
|
175
|
+
/** The payload failed the Event stream's registered zod schema. Validated at append so the Outbox stays well-formed. */
|
|
176
|
+
export declare class EventPayloadInvalidError extends Error {
|
|
177
|
+
readonly stream: string;
|
|
178
|
+
constructor(stream: string, detail: string);
|
|
179
|
+
}
|
|
180
|
+
/** The serialized payload exceeded {@link MAX_EVENT_PAYLOAD_BYTES}; the server would reject it per-event anyway. */
|
|
181
|
+
export declare class EventPayloadTooLargeError extends Error {
|
|
182
|
+
readonly stream: string;
|
|
183
|
+
readonly byteLength: number;
|
|
184
|
+
constructor(stream: string, byteLength: number);
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Resolve the ingestion endpoint under the same HARD-REQUIRED-PATH rule the mutation client applies to
|
|
188
|
+
* `batchWriteUrl`: a relative URL must BE the canonical path, an absolute one must end in it, and neither
|
|
189
|
+
* may carry a query or fragment. The endpoint is toolkit-owned (`createSyncServer` mounts it), so a URL that
|
|
190
|
+
* cannot be it is a configuration error worth failing on at boot rather than at the first append.
|
|
191
|
+
*/
|
|
192
|
+
export declare function resolveBatchEventUrl(batchEventUrl: string): string;
|
|
193
|
+
/**
|
|
194
|
+
* The ingestion endpoint DERIVED from the mutation endpoint, for the ordinary deployment where one
|
|
195
|
+
* `createSyncServer` mounts both: `…/api/mutations` → `…/api/events`. Returns `undefined` when the write URL
|
|
196
|
+
* is not in the canonical shape, so the caller can stay silent rather than guess (the lane is then only
|
|
197
|
+
* usable with an explicit `batchEventUrl`).
|
|
198
|
+
*/
|
|
199
|
+
export declare function deriveBatchEventUrl(batchWriteUrl: string): string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* The lane has EXACTLY TWO retry classes, and this is the whole rule. Unlike the mutation path there is no
|
|
202
|
+
* third, terminal class: a structural 4xx (400/404/413) is unreachable through the library (appends are
|
|
203
|
+
* validated, envelopes are library-built), and quarantining events on one would discard data the server
|
|
204
|
+
* never rejected — which at-least-once forbids. So everything that is not auth is retryable.
|
|
205
|
+
*/
|
|
206
|
+
export declare function classifyEventBatchFailure(httpStatus: number | null | undefined): "auth" | "retryable";
|
|
207
|
+
/** Parse a `Retry-After` header (delta-seconds or HTTP-date) into ms, or null when absent/unreadable. */
|
|
208
|
+
export declare function parseRetryAfterMs(headerValue: string | null | undefined, nowMs: number): number | null;
|
|
209
|
+
/**
|
|
210
|
+
* Jittered exponential backoff with a ceiling — equal jitter around the doubling ceiling, exactly the
|
|
211
|
+
* mutation path's congestion policy (half the ceiling plus a random share of the other half), so a fleet
|
|
212
|
+
* recovering from an outage never stampedes in lockstep.
|
|
213
|
+
*/
|
|
214
|
+
export declare function computeEventBackoffMs(attempt: number, options: EventBackoffOptions, random: () => number): number;
|
|
215
|
+
/**
|
|
216
|
+
* Fail-closed validation of the client's Event-lane tuning, at CONSTRUCTION (the consumer runner's posture,
|
|
217
|
+
* mirrored on the client half — and it names EVERY offender in one error rather than one per boot).
|
|
218
|
+
*
|
|
219
|
+
* This exists because the failure mode of a typo here is silence, not an exception. A per-stream `batchSize`
|
|
220
|
+
* of `0`/`-1`/`NaN` makes batch assembly hold every row of that stream back, so the pass exits with no
|
|
221
|
+
* request and no report and the stream wedges INDEFINITELY while appends keep piling into the Outbox. A
|
|
222
|
+
* broken interval or backoff bound reaches the timer/backoff machinery just as quietly. A configuration typo
|
|
223
|
+
* must be a boundary error, never a runtime behaviour.
|
|
224
|
+
*
|
|
225
|
+
* The bounds mirror `defineEventConsumer`'s: counts are integers >= 1, a backoff FLOOR may legitimately be
|
|
226
|
+
* `0` (retry on the very next pass — the per-pass "one attempt per row" guard is what stops a spin), and a
|
|
227
|
+
* ceiling may not sit below its floor.
|
|
228
|
+
*
|
|
229
|
+
* Backoff bounds are judged on the RESOLVED pair — defaults (and, per stream, the global tuning) filled in
|
|
230
|
+
* FIRST — never on what happens to be written down. `{ baseMs: 600_000 }` alone looks coherent and is not:
|
|
231
|
+
* the omitted ceiling takes the 300,000 ms default, so even a maximum-jitter first delay is capped to half
|
|
232
|
+
* the ten-minute base that was asked for, silently. The pair the machinery will actually run under is the
|
|
233
|
+
* only pair worth checking.
|
|
234
|
+
*/
|
|
235
|
+
export declare function validateEventLaneOptions(options: EventLaneOptions): void;
|
|
236
|
+
export declare function createEventLaneRuntime<TRegistry extends SyncTableRegistry>(options: CreateEventLaneRuntimeOptions<TRegistry>): EventLaneRuntime;
|
|
237
|
+
/** The scheduling gate the event-lane driver shares with the convergence driver (`autoSync`'s trigger). */
|
|
238
|
+
export interface EventFlushGate {
|
|
239
|
+
subscribe: (onSignal: () => void) => () => void;
|
|
240
|
+
/** Whether a flush should run right now — the offline pause (ADR-0053 decision 4). */
|
|
241
|
+
shouldFlush: () => boolean;
|
|
242
|
+
}
|
|
243
|
+
export interface EventFlushDriverOptions {
|
|
244
|
+
flush: () => Promise<void>;
|
|
245
|
+
/** The app's online/foreground gate, when one is installed. Absent → always flush. */
|
|
246
|
+
gate?: EventFlushGate;
|
|
247
|
+
/** The fallback interval. Defaults to {@link DEFAULT_EVENT_FLUSH_INTERVAL_MS}. */
|
|
248
|
+
intervalMs?: number;
|
|
249
|
+
/** Invoked after each pass with the error it raised, or `null`. */
|
|
250
|
+
onPass?: (error: unknown) => void;
|
|
251
|
+
}
|
|
252
|
+
export interface EventFlushDriver {
|
|
253
|
+
start: () => void;
|
|
254
|
+
/** Stop scheduling and await any in-flight pass, so a caller can safely close the store afterwards. */
|
|
255
|
+
stop: () => Promise<void>;
|
|
256
|
+
/** Request a pass now — the nudge an append fires, coalesced exactly like an interval tick. */
|
|
257
|
+
requestPass: () => void;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Drive the Outbox flush: at most one pass in flight, a signal arriving mid-pass coalescing into a single
|
|
261
|
+
* follow-up, an interval as the FALLBACK trigger (retries + recovery), and `requestPass` as the event-driven
|
|
262
|
+
* path an append takes. `start()` runs a pass immediately, which is what drains events written offline after
|
|
263
|
+
* a reconnect or a boot — no new append required.
|
|
264
|
+
*/
|
|
265
|
+
export declare function createEventFlushDriver(options: EventFlushDriverOptions): EventFlushDriver;
|
|
266
|
+
//# sourceMappingURL=event-lane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-lane.d.ts","sourceRoot":"","sources":["../src/event-lane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,EAUL,KAAK,cAAc,EAGnB,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AAK9B,4GAA4G;AAC5G,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,CAAC,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpE,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,OAAO,EAAE,KACf,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,EAAE,CAAA;KAAE,CAAC,CAAC;CAChC;AAED,yHAAyH;AACzH,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAC5C;;;GAGG;AACH,eAAO,MAAM,+BAA+B,OAAQ,CAAC;AACrD,gGAAgG;AAChG,eAAO,MAAM,6BAA6B,OAAQ,CAAC;AACnD;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,SAAU,CAAC;AAExD,2GAA2G;AAC3G,MAAM,WAAW,mBAAmB;IAClC,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA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AmBG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAqFxE;AAED,wBAAgB,sBAAsB,CAAC,SAAS,SAAS,iBAAiB,EACxE,OAAO,EAAE,6BAA6B,CAAC,SAAS,CAAC,GAChD,gBAAgB,CA4iBlB;AAmBD,2GAA2G;AAC3G,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAChD,sFAAsF;IACtF,WAAW,EAAE,MAAM,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,sFAAsF;IACtF,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,uGAAuG;IACvG,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B,+FAA+F;IAC/F,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,GAAG,gBAAgB,CA2EzF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { MutationAck, MutationDiagnostics, MutationSummary, RegistryRelatio
|
|
|
5
5
|
import type { CreateOpfsRepackedPGliteOptions, OpfsRepackedPGlite } from "@pgxsinkit/pglite-opfs-repacked";
|
|
6
6
|
import { type BootReport } from "./boot-report";
|
|
7
7
|
import { type ConvergenceTrigger } from "./convergence";
|
|
8
|
+
import { type EventAppendResult, type EventLaneOptions, type EventLaneReport, type OutboxStatus } from "./event-lane";
|
|
8
9
|
import { type DataExportOptions, type DataExportResult } from "./export-data";
|
|
9
10
|
import { type DiagnosticExportOptions, type DiagnosticExportResult } from "./export-dump";
|
|
10
11
|
import { type StoreExportOptions, type StoreExportResult } from "./export-store";
|
|
@@ -25,6 +26,7 @@ export { type CloneDumpPhases, type CloneDumpResult, type DiagnosticExportDeps,
|
|
|
25
26
|
export { type DataExportDeps, DataExportDrainError, type DataExportOptions, type DataExportResult, DEFAULT_DRAIN_TIMEOUT_MS, type DrainJournalOption, type DrainJournalOptions, performDataExport, } from "./export-data";
|
|
26
27
|
export { type DataExportReport, deriveStoreId, type DiagnosticDumpReport, type ExportReport, type ExportReportCommon, performDatadirDump, performStoreExport, type StoreBackupReport, type StoreExportDeps, type StoreExportOptions, type StoreExportResult, } from "./export-store";
|
|
27
28
|
export { createLifecycleSlot, LifecycleBusyError, type LifecycleSlot } from "./lifecycle-slot";
|
|
29
|
+
export { classifyEventBatchFailure, computeEventBackoffMs, createEventFlushDriver, createEventLaneRuntime, DEFAULT_EVENT_BACKOFF_BASE_MS, DEFAULT_EVENT_BACKOFF_CEILING_MS, DEFAULT_EVENT_BATCH_SIZE, DEFAULT_EVENT_FLUSH_INTERVAL_MS, deriveBatchEventUrl, type EventAppendResult, type EventBackoffOptions, type EventFlushDriver, type EventFlushDriverOptions, type EventFlushGate, type EventLaneBackoffTransition, type EventLaneDb, type EventLaneOptions, type EventLaneReport, type EventLaneRuntime, type EventLaneVerdict, EventPayloadInvalidError, EventPayloadTooLargeError, type EventStreamFlushOptions, EventStreamsNotRegisteredError, type OutboxStatus, parseRetryAfterMs, resolveBatchEventUrl, UnknownEventStreamError, } from "./event-lane";
|
|
28
30
|
export { destroyStoreArtifacts, type ElectedEngineWorker, ElectedEngineUnconstructibleError, ProvisionExpiredError, quiesceStoreWorker, StoreDestroyRefusedError, type StoreDestructionRetryOptions, type StoreWorkerQuiesceOptions, type StoreWorkerQuiesceOutcome, wrapEngineWorker, } from "./worker/attach-sync-client";
|
|
29
31
|
export { ENGINE_RELOCATED_CODE, EngineRelocatedError, type EngineRelocatedOutcome, type ExecutionLimitConfig, ExecutionLimitMismatchError, } from "./worker/engine-control";
|
|
30
32
|
export { createOpfsEffects, type OpfsEffects, type OpfsEffectsDeps } from "./opfs-effects";
|
|
@@ -39,7 +41,8 @@ export type { LiveQueryDiagnostics };
|
|
|
39
41
|
export { createWorkerTokenCache, type WorkerTokenCache } from "./worker/token-cache";
|
|
40
42
|
export { type AttachAckPayload, type AttachPayload, type AuthTokenSnapshot, BRIDGE_CHANNEL, BRIDGE_PROTOCOL_VERSION, type BridgeCodec, type BridgeEnvelope, type BridgeEvent, type BridgeMessageType, type BridgePort, type BridgeTransferable, encodeEnvelope, type ExportArtefactWire, identityCodec, isBridgeEnvelope, type LiveDiffPayload, type LiveInitialPayload, postBridgeMessage, type ProvisionAckPayload, type ProvisionPayload, type RpcOp, type RpcPayload, type RpcResultPayload, type SetOnlinePayload, type SubscribePayload, type TokenRequestPayload, type TokenResponsePayload, type WakePayload, } from "./worker/protocol";
|
|
41
43
|
export { assertLazyRefsActivated, buildLazyGuardIndex, findReferencedLazyKeysInSql, findReferencedSyncedKeysInSql, type LazyGuardIndex, LazyRelationNotActivatedError, } from "./lazy-guard";
|
|
42
|
-
export {
|
|
44
|
+
export { OUTBOX_SEQUENCE, OUTBOX_TABLE } from "./schema";
|
|
45
|
+
export { type AllMutationsView, getAllMutationsView, getJournalTable, getLocalMetaTable, getOutboxTable, getOverlayTable, getReadModelView, getSyncedLocalTable, getSyncStateView, type JournalTable, type LocalMetaTable, type OutboxTable, type OverlayTable, type ReadModelView, type SyncStateView, } from "./local-tables";
|
|
43
46
|
export { createMutationsApi, type MutationListOptions, type MutationListSubscription, type MutationsApi, type MutationsApiDeps, type MutationSummaryDetail, type MutationSummarySubscription, } from "./mutations-api";
|
|
44
47
|
export type { LocalStoreVersionEvent };
|
|
45
48
|
/**
|
|
@@ -273,6 +276,15 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
273
276
|
*/
|
|
274
277
|
writeRequestHeaders?: Record<string, string>;
|
|
275
278
|
syncEnabled?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* The read-silence window (ms) after which a runtime claiming `ready` drops to `degraded` (reason
|
|
281
|
+
* "stream"). A pulled cable HANGS the live long-poll — nothing fails (the stall probe hears only settled
|
|
282
|
+
* attempts), nothing delivers — so without this a session that once reached `ready` would report
|
|
283
|
+
* "up to date" for as long as the outage lasts. A healthy stream is never silent (the long-poll cycles
|
|
284
|
+
* ~every 20-25s), so the default of 45s spans two full cycles. Self-recovering: the next delivered batch
|
|
285
|
+
* returns `ready`. Status honesty only — nothing is retired or torn down.
|
|
286
|
+
*/
|
|
287
|
+
readSilenceMs?: number;
|
|
276
288
|
/**
|
|
277
289
|
* The local store's name (ADR-0036) — a PLAIN path/name, never a PGlite storage URL. The storage backend
|
|
278
290
|
* is DERIVED from the engine home (capability-selected opfs-repacked with IndexedDB fallback in a browser,
|
|
@@ -435,6 +447,21 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
435
447
|
autoSync?: ConvergenceTrigger;
|
|
436
448
|
/** Invoked after each automatic convergence pass with its error, or `null` on success (only when `autoSync` is set). */
|
|
437
449
|
onConvergencePass?: (error: unknown) => void;
|
|
450
|
+
/**
|
|
451
|
+
* The **Event lane**'s ingestion endpoint (ADR-0053 decision 3) — `"/api/events"`, or an absolute
|
|
452
|
+
* deployment URL ending in it, under the same hard-required-path rule as {@link batchWriteUrl}. Omit it and
|
|
453
|
+
* the client DERIVES it from `batchWriteUrl` (`…/api/mutations` → `…/api/events`), which is correct for the
|
|
454
|
+
* ordinary deployment where one `createSyncServer` mounts both; set it explicitly when the two endpoints
|
|
455
|
+
* are not siblings.
|
|
456
|
+
*/
|
|
457
|
+
batchEventUrl?: string;
|
|
458
|
+
/**
|
|
459
|
+
* The Event lane's client-level flush policy (ADR-0053): batch caps, the fallback interval, backoff
|
|
460
|
+
* tuning, and per-Event-stream overrides. NEVER on the registry — the registry is the contract, cadence is
|
|
461
|
+
* deployment tuning, and a batch-size tweak must not surface as a registry diff. Client batching is
|
|
462
|
+
* additionally clamped by the contracts-level request-shape limits the server enforces independently.
|
|
463
|
+
*/
|
|
464
|
+
events?: EventLaneOptions;
|
|
438
465
|
/**
|
|
439
466
|
* Invoked when a read-path sync commit fails after exhausting its retries (ADR-0009 decision 5).
|
|
440
467
|
* The runtime enters the `degraded` phase and holds the read cache at the last applied commit
|
|
@@ -696,9 +723,11 @@ export interface SyncClient<TRegistry extends SyncTableRegistry> {
|
|
|
696
723
|
haltActivity: () => void;
|
|
697
724
|
stop: () => Promise<void>;
|
|
698
725
|
/**
|
|
699
|
-
* Wipe the entire local store (synced cache + overlay + journal) and close the handle
|
|
700
|
-
* (ADR-0005). Refuses if mutations are still owed to the server
|
|
701
|
-
*
|
|
726
|
+
* Wipe the entire local store (synced cache + overlay + journal + Outbox) and close the handle
|
|
727
|
+
* (ADR-0005). Refuses if mutations are still owed to the server — OR if the Outbox still holds staged
|
|
728
|
+
* events (ADR-0053 decision 8: the same "never discard without a server verdict" rule the owed-mutations
|
|
729
|
+
* refusal upholds) — unless `force` is set, so it never silently drops un-flushed writes or un-delivered
|
|
730
|
+
* events. The refusal names which of the two blocked it. Distinct from `stop()`, which only halts sync.
|
|
702
731
|
* Runs under the single lifecycle slot (ADR-0035 decision 4): a concurrent export — or another
|
|
703
732
|
* `destroy`/`discardEphemeral`/`dropReadCache` — rejects with a {@link LifecycleBusyError} rather
|
|
704
733
|
* than interleaving the wipe with a running export.
|
|
@@ -707,14 +736,75 @@ export interface SyncClient<TRegistry extends SyncTableRegistry> {
|
|
|
707
736
|
force?: boolean;
|
|
708
737
|
}) => Promise<void>;
|
|
709
738
|
/**
|
|
710
|
-
* Drop and rebuild the reconstructible synced read cache, preserving the overlay
|
|
711
|
-
* mutation journal (ADR-0006
|
|
739
|
+
* Drop and rebuild the reconstructible synced read cache, preserving the overlay, the
|
|
740
|
+
* mutation journal, and the Outbox (ADR-0006; ADR-0053 decision 8 — the Outbox is not read cache, so this
|
|
741
|
+
* never touches it). The next sync refills it. Use to recover from a corrupt or
|
|
712
742
|
* stale read cache without losing un-flushed writes. Runs under the single lifecycle slot
|
|
713
743
|
* (ADR-0035 decision 4) — it drops and rebuilds the synced tables, so an export must not capture a
|
|
714
744
|
* half-rebuilt cache; a concurrent export (or `destroy`/`discardEphemeral`) rejects with a
|
|
715
745
|
* {@link LifecycleBusyError}.
|
|
716
746
|
*/
|
|
717
747
|
dropReadCache: () => Promise<void>;
|
|
748
|
+
/**
|
|
749
|
+
* Append one client event to the **Outbox** (ADR-0053 decision 2) — the Event lane's entry point, and the
|
|
750
|
+
* only way an app produces an event. Fire-and-forget by design: nothing echoes back, nothing is overlaid,
|
|
751
|
+
* nothing converges. The promise resolves on DURABLE local enqueue under the store's declared durability,
|
|
752
|
+
* NOT on delivery; the flush loop drains the Outbox in the background (and after reconnect/boot), and the
|
|
753
|
+
* server's per-event verdicts surface on {@link onEventLaneReport}.
|
|
754
|
+
*
|
|
755
|
+
* Four refusals, all synchronous call-site failures rather than runtime conditions — the invariant
|
|
756
|
+
* "everything in the Outbox is well-formed" is what the flush loop and any best-guess view lean on:
|
|
757
|
+
*
|
|
758
|
+
* - no Event stream registered at all → {@link EventStreamsNotRegisteredError};
|
|
759
|
+
* - an unregistered Event-stream name → {@link UnknownEventStreamError};
|
|
760
|
+
* - a payload failing the stream's registered zod schema → {@link EventPayloadInvalidError};
|
|
761
|
+
* - a serialized payload over the contracts-level per-event cap → {@link EventPayloadTooLargeError}.
|
|
762
|
+
*
|
|
763
|
+
* The library stamps `eventId` (uuid — the server's dedupe key, which is what makes at-least-once delivery
|
|
764
|
+
* idempotent end-to-end) and `occurredAtUs`, and returns both plus the local append ordinal.
|
|
765
|
+
*
|
|
766
|
+
* `stream`/`payload` are typed as `string`/`unknown`: a registry's Event streams ride a symbol and are
|
|
767
|
+
* type-erased by `defineSyncRegistry`'s return type, so the REGISTERED ZOD SCHEMA is the enforced contract
|
|
768
|
+
* (at append, and again at ingest for non-library callers).
|
|
769
|
+
*/
|
|
770
|
+
appendEvent: (stream: string, payload: unknown) => Promise<EventAppendResult>;
|
|
771
|
+
/**
|
|
772
|
+
* Drain the Outbox now — the Event lane's manual primitive, the twin of {@link flush}. Assembles batches
|
|
773
|
+
* in append (`seq`) order across every Event stream, POSTs them, and applies the per-event verdicts, until
|
|
774
|
+
* nothing more is eligible this pass. A no-op while the lane is in batch-level backoff, and a no-op for a
|
|
775
|
+
* registry with no Event streams. With `autoSync` installed the lane drives itself (appends nudge a pass,
|
|
776
|
+
* an interval is the fallback, and boot/reconnect drain what was written offline); this is the escape
|
|
777
|
+
* hatch for a fully-manual host.
|
|
778
|
+
*/
|
|
779
|
+
flushEvents: () => Promise<void>;
|
|
780
|
+
/**
|
|
781
|
+
* The **drain signal** (ADR-0053 decision 2): subscribe to the Outbox's empty ↔ non-empty transitions, with
|
|
782
|
+
* the CURRENT state delivered on subscribe. Returns an unsubscribe.
|
|
783
|
+
*
|
|
784
|
+
* The invalidation hook for a best-guess view that composes pending events with down-synced aggregates:
|
|
785
|
+
* when the Outbox drains, the aggregate is authoritative again. Deliberately carries no count — a count
|
|
786
|
+
* that updates only on transitions is stale by construction, and one that updates per append is a worse
|
|
787
|
+
* live query; for richer detail, query the Outbox table (`getOutboxTable(registry)`).
|
|
788
|
+
*/
|
|
789
|
+
onOutboxStatus: (listener: (status: OutboxStatus) => void) => () => void;
|
|
790
|
+
/**
|
|
791
|
+
* The drain signal as a one-shot READ — the pull twin of {@link onOutboxStatus}'s push (the
|
|
792
|
+
* {@link bootReport} pattern). Reads the store, so it is always current: a tab attaching long after the
|
|
793
|
+
* engine's last transition folds its initial state from here rather than waiting for the next one.
|
|
794
|
+
*/
|
|
795
|
+
outboxStatus: () => Promise<OutboxStatus>;
|
|
796
|
+
/**
|
|
797
|
+
* The Event lane's verdict/report surface (ADR-0053 decision 2): per flush pass, the TERMINAL non-`acked`
|
|
798
|
+
* verdicts (`refused` — the server's gating hook said no; `rejected` — a schema-invalid or oversized
|
|
799
|
+
* payload for a KNOWN stream), the `deferred` ones (an Event stream the server does not yet know — ordinary
|
|
800
|
+
* rollout skew; the rows stay and retry), and the batch-level backoff transitions. `acked` is not reported:
|
|
801
|
+
* a high-volume append-only lane would drown the app in its own success.
|
|
802
|
+
*
|
|
803
|
+
* An EPHEMERAL subscription, deliberately — a durable client-side verdict table would be retention-bearing
|
|
804
|
+
* state for a debugging need. With nothing subscribed the library logs each report at warn level rather
|
|
805
|
+
* than dropping it, because once a terminal row is deleted the Outbox cannot answer what happened to it.
|
|
806
|
+
*/
|
|
807
|
+
onEventLaneReport: (listener: (report: EventLaneReport) => void) => () => void;
|
|
718
808
|
flush: (table?: SyncTableName<TRegistry>) => Promise<void>;
|
|
719
809
|
reconcile: (table?: SyncTableName<TRegistry>) => Promise<void>;
|
|
720
810
|
retryFailed: (table?: SyncTableName<TRegistry>) => Promise<void>;
|
|
@@ -741,8 +831,15 @@ export interface SyncClient<TRegistry extends SyncTableRegistry> {
|
|
|
741
831
|
* is kept when another still-owed write depends on it. No-op for an entity with no quarantined entry.
|
|
742
832
|
*/
|
|
743
833
|
discardQuarantined: <TKey extends SyncTableName<TRegistry>>(table: TKey, entityKey: Record<string, string>) => Promise<void>;
|
|
834
|
+
/**
|
|
835
|
+
* The store's owed-state diagnostics: the mutation journal's per-status counts, plus — when this client has
|
|
836
|
+
* an Event lane — the Outbox's drain signal (ADR-0053 decision 8: the Event lane's durable state takes a
|
|
837
|
+
* position on every lifecycle surface). `outbox` is the boolean signal rather than a count, for the reason
|
|
838
|
+
* {@link onOutboxStatus} carries none; it is absent on a client with no lane.
|
|
839
|
+
*/
|
|
744
840
|
diagnostics: (table?: SyncTableName<TRegistry>) => Promise<{
|
|
745
841
|
mutation: MutationDiagnostics;
|
|
842
|
+
outbox?: OutboxStatus;
|
|
746
843
|
}>;
|
|
747
844
|
/**
|
|
748
845
|
* The registry-wide reactive mutation-status surface: a global per-status summary and a
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,YAAY,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EAEjB,aAAa,EAEb,iBAAiB,EACjB,oBAAoB,EAEpB,sBAAsB,EACtB,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACV,MAAM,sBAAsB,CAAC;AAW9B,OAAO,KAAK,EAAE,+BAA+B,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE3G,OAAO,EAAE,KAAK,UAAU,EAAmD,MAAM,eAAe,CAAC;AACjG,OAAO,EAA0B,KAAK,kBAAkB,EAA2B,MAAM,eAAe,CAAC;AAGzG,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAqB,MAAM,eAAe,CAAC;AACjG,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,sBAAsB,EAA2B,MAAM,eAAe,CAAC;AACnH,OAAO,EAAsB,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AASrG,OAAO,EACL,KAAK,sBAAsB,EAO5B,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,YAAY,EAElB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAqB,KAAK,eAAe,EAAE,MA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