@pgxsinkit/client 0.1.32 → 0.1.40

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 (111) hide show
  1. package/README.md +11 -0
  2. package/dist/boot-report.d.ts +134 -0
  3. package/dist/boot-report.d.ts.map +1 -0
  4. package/dist/convergence.d.ts +76 -0
  5. package/dist/convergence.d.ts.map +1 -0
  6. package/dist/debug.d.ts +34 -0
  7. package/dist/debug.d.ts.map +1 -0
  8. package/dist/export-data.d.ts +100 -0
  9. package/dist/export-data.d.ts.map +1 -0
  10. package/dist/export-dump.d.ts +92 -0
  11. package/dist/export-dump.d.ts.map +1 -0
  12. package/dist/export-store.d.ts +214 -0
  13. package/dist/export-store.d.ts.map +1 -0
  14. package/dist/index.d.ts +615 -8
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +8083 -2286
  17. package/dist/index.js.map +81 -44
  18. package/dist/lazy-guard.d.ts +59 -0
  19. package/dist/lazy-guard.d.ts.map +1 -0
  20. package/dist/lifecycle-slot.d.ts +31 -0
  21. package/dist/lifecycle-slot.d.ts.map +1 -0
  22. package/dist/live-rows-sql.d.ts +21 -0
  23. package/dist/live-rows-sql.d.ts.map +1 -0
  24. package/dist/local-store.d.ts +56 -0
  25. package/dist/local-store.d.ts.map +1 -0
  26. package/dist/local-tables.d.ts +707 -0
  27. package/dist/local-tables.d.ts.map +1 -0
  28. package/dist/mutation-state.d.ts +69 -0
  29. package/dist/mutation-state.d.ts.map +1 -0
  30. package/dist/mutation.d.ts +129 -4
  31. package/dist/mutation.d.ts.map +1 -1
  32. package/dist/schema.d.ts +82 -0
  33. package/dist/schema.d.ts.map +1 -1
  34. package/dist/shape-sync.d.ts +190 -0
  35. package/dist/shape-sync.d.ts.map +1 -0
  36. package/dist/store-path.d.ts +132 -0
  37. package/dist/store-path.d.ts.map +1 -0
  38. package/dist/sync/apply.d.ts +51 -0
  39. package/dist/sync/apply.d.ts.map +1 -0
  40. package/dist/sync/copy.d.ts +43 -0
  41. package/dist/sync/copy.d.ts.map +1 -0
  42. package/dist/sync/drizzle-executor.d.ts +5 -0
  43. package/dist/sync/drizzle-executor.d.ts.map +1 -0
  44. package/dist/sync/index.d.ts +32 -0
  45. package/dist/sync/index.d.ts.map +1 -0
  46. package/dist/sync/metadata-tables.d.ts +131 -0
  47. package/dist/sync/metadata-tables.d.ts.map +1 -0
  48. package/dist/sync/nudge.d.ts +49 -0
  49. package/dist/sync/nudge.d.ts.map +1 -0
  50. package/dist/sync/shape-inbox.d.ts +215 -0
  51. package/dist/sync/shape-inbox.d.ts.map +1 -0
  52. package/dist/sync/subscription-state.d.ts +39 -0
  53. package/dist/sync/subscription-state.d.ts.map +1 -0
  54. package/dist/sync/tags.d.ts +130 -0
  55. package/dist/sync/tags.d.ts.map +1 -0
  56. package/dist/sync/types.d.ts +126 -0
  57. package/dist/sync/types.d.ts.map +1 -0
  58. package/dist/sync-auth.d.ts +53 -0
  59. package/dist/sync-auth.d.ts.map +1 -0
  60. package/dist/testing.d.ts +27 -0
  61. package/dist/testing.d.ts.map +1 -0
  62. package/dist/testing.js +17 -0
  63. package/dist/testing.js.map +11 -0
  64. package/dist/worker/attach-sync-client.d.ts +96 -0
  65. package/dist/worker/attach-sync-client.d.ts.map +1 -0
  66. package/dist/worker/define-sync-worker.d.ts +76 -0
  67. package/dist/worker/define-sync-worker.d.ts.map +1 -0
  68. package/dist/worker/live-diff.d.ts +44 -0
  69. package/dist/worker/live-diff.d.ts.map +1 -0
  70. package/dist/worker/protocol.d.ts +341 -0
  71. package/dist/worker/protocol.d.ts.map +1 -0
  72. package/dist/worker/token-cache.d.ts +26 -0
  73. package/dist/worker/token-cache.d.ts.map +1 -0
  74. package/oxlint-plugin.js +143 -0
  75. package/package.json +20 -7
  76. package/skills/core/SKILL.md +210 -0
  77. package/skills/operating/SKILL.md +303 -0
  78. package/src/boot-report.ts +287 -0
  79. package/src/convergence.ts +197 -0
  80. package/src/debug.ts +151 -0
  81. package/src/export-data.ts +300 -0
  82. package/src/export-dump.ts +239 -0
  83. package/src/export-store.ts +309 -0
  84. package/src/index.ts +1652 -51
  85. package/src/lazy-guard.ts +135 -0
  86. package/src/lifecycle-slot.ts +66 -0
  87. package/src/live-rows-sql.ts +45 -0
  88. package/src/local-store.ts +193 -0
  89. package/src/local-tables.ts +546 -0
  90. package/src/mutation-state.ts +99 -0
  91. package/src/mutation.ts +1910 -562
  92. package/src/schema.ts +472 -28
  93. package/src/shape-sync.ts +498 -0
  94. package/src/store-path.ts +249 -0
  95. package/src/sync/apply.ts +530 -0
  96. package/src/sync/copy.ts +206 -0
  97. package/src/sync/drizzle-executor.ts +48 -0
  98. package/src/sync/index.ts +1087 -0
  99. package/src/sync/metadata-tables.ts +67 -0
  100. package/src/sync/nudge.ts +110 -0
  101. package/src/sync/shape-inbox.ts +566 -0
  102. package/src/sync/subscription-state.ts +135 -0
  103. package/src/sync/tags.ts +365 -0
  104. package/src/sync/types.ts +141 -0
  105. package/src/sync-auth.ts +117 -0
  106. package/src/testing.ts +53 -0
  107. package/src/worker/attach-sync-client.ts +653 -0
  108. package/src/worker/define-sync-worker.ts +762 -0
  109. package/src/worker/live-diff.ts +140 -0
  110. package/src/worker/protocol.ts +425 -0
  111. package/src/worker/token-cache.ts +84 -0
@@ -0,0 +1,214 @@
1
+ import type { MutationDiagnostics } from "@pgxsinkit/contracts";
2
+ import type { ClientPGlite } from "./index";
3
+ /**
4
+ * Monotonic clock (ms) — `performance.now()` where available, else `Date.now()` (mirrors BootReport).
5
+ * Exported so the sibling diagnostic-dump path ({@link file://./export-dump.ts}) times its extra phases
6
+ * (clone boot, pg_dump) on the SAME clock as this module's checkpoint/dump pair.
7
+ */
8
+ export declare const nowMs: () => number;
9
+ /** Options for {@link SyncClient.exportStore}. */
10
+ export interface StoreExportOptions {
11
+ /**
12
+ * How to compress the tarball, forwarded to PGlite's `dumpDataDir`. `"auto"` (the default) gzips when a
13
+ * `CompressionStream` is available and falls back to an uncompressed tar otherwise; `"gzip"` forces
14
+ * compression; `"none"` skips it. The report's `compression` records the compression that was actually
15
+ * applied (which, under `"auto"`, is resolved at runtime).
16
+ */
17
+ compression?: "auto" | "gzip" | "none";
18
+ /**
19
+ * Override the generated artefact file name. When omitted, the name is
20
+ * `<storeId>-<timestamp>.pgdata.tar[.gz]`, where `storeId` is a filesystem-safe derivation of the store
21
+ * path and the extension reflects the applied compression.
22
+ */
23
+ fileName?: string;
24
+ }
25
+ /**
26
+ * The fields EVERY export report carries, whatever its kind — built in the BootReport house style
27
+ * (ADR-0034): `reportVersion` is a contract number (additive fields keep it, a breaking reshape bumps it);
28
+ * all `*Ms` are milliseconds; `startedAt` is the only wall-clock value and every `*AtMs` is a monotonic
29
+ * offset from it. The per-kind interfaces below add their `kind`/`scope`/`phases` discriminant on top.
30
+ */
31
+ export interface ExportReportCommon {
32
+ reportVersion: 1;
33
+ /** Epoch anchor (`Date.now()`) at export start; every other duration/offset is monotonic relative to it. */
34
+ startedAt: number;
35
+ /** Export start → artefact ready. */
36
+ totalMs: number;
37
+ /** The artefact's byte length — the size the caller downloads / persists. */
38
+ byteLength: number;
39
+ /**
40
+ * The {@link MutationDiagnostics} snapshot at export time — the journal state captured alongside the
41
+ * artefact (for the store backup, the very journal that travels INSIDE the tarball; for the diagnostic
42
+ * dump, the live store's journal at dump time, whose rows the SQL also carries).
43
+ */
44
+ diagnostics: MutationDiagnostics;
45
+ }
46
+ /**
47
+ * A live **store backup** (ADR-0035): the whole datadir as a PGlite-restorable tarball, journal and overlay
48
+ * included. `checkpoint`/`dump` are the only phases — a store backup is a `CHECKPOINT` + `dumpDataDir`, no
49
+ * clone. Slice-1 shape, kept unchanged (the union is additive).
50
+ */
51
+ export interface StoreBackupReport extends ExportReportCommon {
52
+ /** Which export produced this artefact. */
53
+ kind: "store-backup";
54
+ /** What the artefact covers. A store backup is always the whole store, journal and overlay included. */
55
+ scope: "whole-store";
56
+ /** The compression actually applied to the tarball (resolved from `"auto"` at dump time). */
57
+ compression: "gzip" | "none";
58
+ phases: {
59
+ /** Offset from export start when the `CHECKPOINT` began. */
60
+ checkpointStartedAtMs: number;
61
+ /** `CHECKPOINT` wall — flushing dirty buffers to the datadir before it is tarred, serialised behind engine work. */
62
+ checkpointMs: number;
63
+ /** Offset from export start when `dumpDataDir` began. */
64
+ dumpStartedAtMs: number;
65
+ /** `dumpDataDir` wall — reading the datadir out and assembling (optionally compressing) the tarball. */
66
+ dumpMs: number;
67
+ };
68
+ }
69
+ /**
70
+ * A **diagnostic dump** (ADR-0035, via the throwaway clone of the addendum): human-readable SQL of
71
+ * EVERYTHING the store holds — synced tables, the `_overlay`/`_mutations` journal, the `pgxsinkit` metadata
72
+ * schema, the read-model views, and the reconcile functions/triggers. It is a live datadir dump (checkpoint
73
+ * + `dumpDataDir`) fed into a memory-backed throwaway PGlite via `loadDataDir`, against which `pg_dump` runs
74
+ * — so the live engine is never touched (the addendum's whole point). Its phases add the clone boot and the
75
+ * `pg_dump` walls to the shared checkpoint/dump pair.
76
+ */
77
+ export interface DiagnosticDumpReport extends ExportReportCommon {
78
+ kind: "diagnostic-dump";
79
+ /** A diagnostic dump covers everything the store holds — synced data, journal, metadata, views, functions. */
80
+ scope: "everything";
81
+ phases: {
82
+ /** Offset from export start when the `CHECKPOINT` began. */
83
+ checkpointStartedAtMs: number;
84
+ /** `CHECKPOINT` wall — flushing dirty buffers before the internal datadir dump the clone consumes. */
85
+ checkpointMs: number;
86
+ /** Offset from export start when the internal `dumpDataDir` began. */
87
+ dumpStartedAtMs: number;
88
+ /** `dumpDataDir` wall — the uncompressed internal tarball the throwaway clone boots from (`compression: "none"`). */
89
+ dumpMs: number;
90
+ /** Offset from export start when the throwaway clone's `PGlite.create({ loadDataDir })` began. */
91
+ cloneBootStartedAtMs: number;
92
+ /** Clone boot wall — booting the memory-backed throwaway from the internal dump. */
93
+ cloneBootMs: number;
94
+ /** Offset from export start when `pg_dump` began running against the clone. */
95
+ pgDumpStartedAtMs: number;
96
+ /** `pg_dump` wall — the WASM `pg_dump` reading the clone out to SQL. */
97
+ pgDumpMs: number;
98
+ };
99
+ }
100
+ /**
101
+ * A **data export** (ADR-0035 decision 1, via the throwaway clone of the addendum): the PORTABLE artefact —
102
+ * the synced tables and the enum types they depend on, schema + data, nothing of pgxsinkit's machinery,
103
+ * loadable into a vanilla Postgres. It is a generated enum DDL header concatenated ahead of a `pg_dump -t`
104
+ * (per synced table) `--no-owner` run against the same memory-backed throwaway clone the diagnostic dump
105
+ * uses. Unlike the other two exports it GUARDS: it requires a drained Mutation journal (or the explicit
106
+ * `drainJournal: false` escape hatch), so its phases add the drain wall ahead of the clone pipeline, and it
107
+ * records its provenance (`tables` = the `-t` allowlist actually applied, `escapeHatch` = whether the drain
108
+ * was skipped).
109
+ */
110
+ export interface DataExportReport extends ExportReportCommon {
111
+ kind: "data-export";
112
+ /** A data export covers the synced tables + their enum types only — never pgxsinkit's overlay/journal/metadata. */
113
+ scope: "synced-tables";
114
+ /**
115
+ * The schema-qualified physical synced tables the `-t` allowlist targeted, in registry order — the
116
+ * self-describing provenance of exactly what the artefact carries (ephemeral/read-projection entries
117
+ * excluded by construction). May be empty when the registry declares no owning persistent table.
118
+ */
119
+ tables: string[];
120
+ /**
121
+ * `true` when `drainJournal: false` skipped the drain and the artefact reflects the SYNCED state as-is
122
+ * (unflushed local writes silently absent). `false` on the strict path (a drained or empty journal).
123
+ */
124
+ escapeHatch: boolean;
125
+ phases: {
126
+ /** Offset from export start when the drain guard began (`0` when the escape hatch skipped it). */
127
+ drainStartedAtMs: number;
128
+ /** Drain wall — flushing + awaiting the journal reach fully-drained (`0` under the escape hatch). */
129
+ drainMs: number;
130
+ /** Offset from export start when the `CHECKPOINT` began. */
131
+ checkpointStartedAtMs: number;
132
+ /** `CHECKPOINT` wall — flushing dirty buffers before the internal datadir dump the clone consumes. */
133
+ checkpointMs: number;
134
+ /** Offset from export start when the internal `dumpDataDir` began. */
135
+ dumpStartedAtMs: number;
136
+ /** `dumpDataDir` wall — the uncompressed internal tarball the throwaway clone boots from (`compression: "none"`). */
137
+ dumpMs: number;
138
+ /** Offset from export start when the throwaway clone's `PGlite.create({ loadDataDir })` began. */
139
+ cloneBootStartedAtMs: number;
140
+ /** Clone boot wall — booting the memory-backed throwaway from the internal dump. */
141
+ cloneBootMs: number;
142
+ /** Offset from export start when `pg_dump -t` began running against the clone. */
143
+ pgDumpStartedAtMs: number;
144
+ /** `pg_dump -t` wall — the WASM `pg_dump` reading the allowlisted tables out to SQL. */
145
+ pgDumpMs: number;
146
+ };
147
+ }
148
+ /**
149
+ * A structured, versioned record of one local-store export (ADR-0035) — a discriminated union on `kind`.
150
+ * Every member shares {@link ExportReportCommon}; the `kind`/`scope`/`phases` discriminant tells the three
151
+ * exports apart. `exportStore` resolves a {@link StoreBackupReport}; `exportDiagnostics` a
152
+ * {@link DiagnosticDumpReport}; `exportData` a {@link DataExportReport}.
153
+ */
154
+ export type ExportReport = StoreBackupReport | DiagnosticDumpReport | DataExportReport;
155
+ /** The artefact + its report — the resolved value of {@link SyncClient.exportStore}. */
156
+ export interface StoreExportResult {
157
+ /** The store-backup tarball as a named `File` (PGlite-restorable via `loadDataDir`, a later slice). */
158
+ file: File;
159
+ /** The structured record of the export (ADR-0035). */
160
+ report: StoreBackupReport;
161
+ }
162
+ /**
163
+ * Reduce a plain store PATH (ADR-0036) to a filesystem-safe token for the backup file name. Takes the
164
+ * path's LAST segment (as PGlite's own `dumpDataDir` does when it names the inner db), then keeps only
165
+ * `[A-Za-z0-9._-]`. No scheme stripping — the store path is a plain name, never a storage URL. Falls back
166
+ * to a fixed token for an empty path so the name is always well formed.
167
+ */
168
+ export declare function deriveStoreId(storePath: string | undefined): string;
169
+ /**
170
+ * An ISO-ish, filesystem-safe timestamp (colons/dots → hyphens) for a default artefact file name. Exported
171
+ * so the diagnostic-dump path names its `.sql` artefact with the identical timestamp shape.
172
+ */
173
+ export declare const compactTimestamp: () => string;
174
+ /**
175
+ * The datadir dump both exports share (ADR-0035): a `CHECKPOINT` through the store's normal query path,
176
+ * then `dumpDataDir`. The store backup keeps its bytes as the artefact; the diagnostic dump feeds them to a
177
+ * throwaway clone. Factored out so exactly one implementation of "flush + tar the live datadir" exists —
178
+ * `performStoreExport` and `performDiagnosticExport` cannot drift on the checkpoint ordering or the timing
179
+ * house style. Returns the raw `dumpDataDir` output plus the two phase walls, both offset from `startPerf`
180
+ * (the caller's export-start monotonic anchor) so the timings compose into either report.
181
+ *
182
+ * The `CHECKPOINT` is a utility statement — Drizzle has no builder for it, so a raw `exec` is the justified
183
+ * tier-③ form here. Running it via `pglite.exec` serialises it behind any in-flight engine work on PGlite's
184
+ * single connection, flushing dirty buffers to the datadir the dump then reads — so the tarball reflects
185
+ * committed state, not a torn mid-write datadir.
186
+ */
187
+ export declare function performDatadirDump(pglite: Pick<ClientPGlite, "exec" | "dumpDataDir">, compression: "auto" | "gzip" | "none", startPerf: number): Promise<{
188
+ dumped: Awaited<ReturnType<ClientPGlite["dumpDataDir"]>>;
189
+ checkpointStartedAtMs: number;
190
+ checkpointMs: number;
191
+ dumpStartedAtMs: number;
192
+ dumpMs: number;
193
+ }>;
194
+ /** The dependencies {@link performStoreExport} needs from the owning client — narrow, so it is unit-testable. */
195
+ export interface StoreExportDeps {
196
+ /** The live store to checkpoint and dump. */
197
+ pglite: Pick<ClientPGlite, "exec" | "dumpDataDir">;
198
+ /** The Mutation diagnostics seam (`client.diagnostics().mutation` / `readMutationStats`). */
199
+ readMutationStats: () => Promise<MutationDiagnostics>;
200
+ /**
201
+ * The store's configured plain store PATH (ADR-0036) — reduced to the `storeId` in the default backup
202
+ * file name (`deriveStoreId`). The resolved PGlite dataDir URL is deliberately NOT used here: it is
203
+ * internal plumbing and must not leak into an artefact name as something to imitate.
204
+ */
205
+ storePath?: string;
206
+ }
207
+ /**
208
+ * Run a live store backup (ADR-0035): checkpoint → dump → snapshot diagnostics → assemble the report. The
209
+ * caller (`createSyncClient`) is responsible for awaiting engine-ready and entering the lifecycle slot
210
+ * BEFORE calling this — kept out of here so the helper stays a pure "do the dump" unit. No engine
211
+ * suspension: the backup is live by design.
212
+ */
213
+ export declare function performStoreExport(deps: StoreExportDeps, options?: StoreExportOptions): Promise<StoreExportResult>;
214
+ //# sourceMappingURL=export-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-store.d.ts","sourceRoot":"","sources":["../src/export-store.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,KAAK,QAAO,MAA+E,CAAC;AAEzG,kDAAkD;AAClD,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACvC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,CAAC,CAAC;IACjB,4GAA4G;IAC5G,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,mBAAmB,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,2CAA2C;IAC3C,IAAI,EAAE,cAAc,CAAC;IACrB,wGAAwG;IACxG,KAAK,EAAE,aAAa,CAAC;IACrB,6FAA6F;IAC7F,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,MAAM,EAAE;QACN,4DAA4D;QAC5D,qBAAqB,EAAE,MAAM,CAAC;QAC9B,oHAAoH;QACpH,YAAY,EAAE,MAAM,CAAC;QACrB,yDAAyD;QACzD,eAAe,EAAE,MAAM,CAAC;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