@xyo-network/event-kit-node 0.1.1 → 0.1.2

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 (36) hide show
  1. package/README.md +23 -3
  2. package/dist/node/handshake.mjs +122 -249
  3. package/dist/node/handshake.mjs.map +2 -2
  4. package/dist/node/handshakeClients.d.ts +7 -4
  5. package/dist/node/handshakeClients.d.ts.map +1 -1
  6. package/dist/node/handshakeMutationIntent.d.ts +118 -34
  7. package/dist/node/handshakeMutationIntent.d.ts.map +1 -1
  8. package/dist/node/index.d.ts +1 -0
  9. package/dist/node/index.d.ts.map +1 -1
  10. package/dist/node/index.mjs +1582 -291
  11. package/dist/node/index.mjs.map +4 -4
  12. package/dist/node/runtime/abort.d.ts +6 -0
  13. package/dist/node/runtime/abort.d.ts.map +1 -0
  14. package/dist/node/runtime/boundedFetch.d.ts +20 -0
  15. package/dist/node/runtime/boundedFetch.d.ts.map +1 -0
  16. package/dist/node/runtime/handshakeDiscovery.d.ts +16 -0
  17. package/dist/node/runtime/handshakeDiscovery.d.ts.map +1 -0
  18. package/dist/node/runtime/httpsTransport.d.ts +24 -0
  19. package/dist/node/runtime/httpsTransport.d.ts.map +1 -0
  20. package/dist/node/runtime/publisherRuntime.d.ts +84 -0
  21. package/dist/node/runtime/publisherRuntime.d.ts.map +1 -0
  22. package/dist/node/runtime/restGateway.d.ts +36 -0
  23. package/dist/node/runtime/restGateway.d.ts.map +1 -0
  24. package/dist/node/runtime/sourceSigner.d.ts +41 -0
  25. package/dist/node/runtime/sourceSigner.d.ts.map +1 -0
  26. package/dist/node/runtime/sources.d.ts +35 -0
  27. package/dist/node/runtime/sources.d.ts.map +1 -0
  28. package/dist/node/runtime/sqliteHandshakeStores.d.ts +15 -0
  29. package/dist/node/runtime/sqliteHandshakeStores.d.ts.map +1 -0
  30. package/dist/node/runtime/sqlitePublisherState.d.ts +21 -0
  31. package/dist/node/runtime/sqlitePublisherState.d.ts.map +1 -0
  32. package/dist/node/runtime.d.ts +10 -0
  33. package/dist/node/runtime.d.ts.map +1 -0
  34. package/dist/node/runtime.mjs +1640 -0
  35. package/dist/node/runtime.mjs.map +7 -0
  36. package/package.json +16 -11
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@xyo-network/event-kit-node`
2
2
 
3
- Node.js durability adapters for Event Kit:
3
+ Node.js 24+ durability adapters for Event Kit (verified on Node 24.14.1):
4
4
 
5
5
  - `createFilesystemCursorStore` — publisher cursor for the wake publisher actor
6
6
  - `createFilesystemPublisherOutbox` — durable pending-wake slot for retry stability
@@ -38,8 +38,28 @@ publication.
38
38
 
39
39
  The handshake subpath deliberately does not load the wake queues, inbox,
40
40
  outbox, or `node:sqlite`. A clean packed consumer typechecks and executes it
41
- without SQLite coupling. The resident `publisher run` process that combines
42
- these clients with finalized scanning and webhook delivery remains Phase 4.
41
+ without SQLite coupling. There is one unversioned source-aware contract.
42
+ Service publication requires `sources` and `maxPositionsPerWake`; subscription
43
+ publication requires `source` and `fromPosition`. Authorization remains pinned
44
+ to the XL1 session independently of source positions. Removed schema suffixes,
45
+ block-range fields, and profile selectors have no compatibility aliases.
46
+
47
+ ## Resident publisher
48
+
49
+ `@xyo-network/event-kit-node/publisher-runtime` exports the SQLite publisher
50
+ authority/stores, persistent runtime, real D-005 discovery, bounded transports,
51
+ native REST gateway/datalake composition, and XL1/Ethereum/UTC source readers.
52
+ It uses the shared periodic actor lifecycle; the CLI owns process interrupts,
53
+ provider cleanup, and probes. Importing the module does not open a database;
54
+ opening publisher state loads `node:sqlite` explicitly.
55
+
56
+ Logical wake creation and pending outbox persistence co-commit. Durable admission
57
+ receipt, contiguous publisher cursor, and outbox clear co-commit independently
58
+ for each subscriber. Process death and ambiguous responses resend the same body
59
+ with a fresh real wallet JWT. Publisher progress is admission progress, not
60
+ completed receiver compute. See the [runbook](../../docs/RESIDENT_PUBLISHER.md)
61
+ for ownership, crypto custody, retry/cancellation rules, transport limits, and
62
+ the remaining hosted/Sequence gates.
43
63
 
44
64
  ## Durability model
45
65