@cello-protocol/daemon 0.0.225 → 0.0.227
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/package.json +5 -5
- package/dist/agent-admin-handlers.d.ts +0 -56
- package/dist/agent-admin-handlers.d.ts.map +0 -1
- package/dist/agent-admin-handlers.js +0 -73
- package/dist/agent-admin-handlers.js.map +0 -1
- package/dist/agent-handlers.d.ts +0 -72
- package/dist/agent-handlers.d.ts.map +0 -1
- package/dist/agent-handlers.js +0 -604
- package/dist/agent-handlers.js.map +0 -1
- package/dist/agent-id-migration.d.ts +0 -70
- package/dist/agent-id-migration.d.ts.map +0 -1
- package/dist/agent-id-migration.js +0 -468
- package/dist/agent-id-migration.js.map +0 -1
- package/dist/agent-loader.d.ts +0 -37
- package/dist/agent-loader.d.ts.map +0 -1
- package/dist/agent-loader.js +0 -37
- package/dist/agent-loader.js.map +0 -1
- package/dist/agent-selection-root.d.ts +0 -29
- package/dist/agent-selection-root.d.ts.map +0 -1
- package/dist/agent-selection-root.js +0 -126
- package/dist/agent-selection-root.js.map +0 -1
- package/dist/agent-selection.d.ts +0 -73
- package/dist/agent-selection.d.ts.map +0 -1
- package/dist/agent-selection.js +0 -80
- package/dist/agent-selection.js.map +0 -1
- package/dist/agent-settings-keys.d.ts +0 -52
- package/dist/agent-settings-keys.d.ts.map +0 -1
- package/dist/agent-settings-keys.js +0 -114
- package/dist/agent-settings-keys.js.map +0 -1
- package/dist/agent-state.d.ts +0 -67
- package/dist/agent-state.d.ts.map +0 -1
- package/dist/agent-state.js +0 -66
- package/dist/agent-state.js.map +0 -1
- package/dist/assignment-verify.d.ts +0 -90
- package/dist/assignment-verify.d.ts.map +0 -1
- package/dist/assignment-verify.js +0 -301
- package/dist/assignment-verify.js.map +0 -1
- package/dist/attendance-wiring.d.ts +0 -23
- package/dist/attendance-wiring.d.ts.map +0 -1
- package/dist/attendance-wiring.js +0 -248
- package/dist/attendance-wiring.js.map +0 -1
- package/dist/attestation-body.d.ts +0 -47
- package/dist/attestation-body.d.ts.map +0 -1
- package/dist/attestation-body.js +0 -71
- package/dist/attestation-body.js.map +0 -1
- package/dist/authorship-verification.d.ts +0 -91
- package/dist/authorship-verification.d.ts.map +0 -1
- package/dist/authorship-verification.js +0 -532
- package/dist/authorship-verification.js.map +0 -1
- package/dist/away-detection.d.ts +0 -139
- package/dist/away-detection.d.ts.map +0 -1
- package/dist/away-detection.js +0 -186
- package/dist/away-detection.js.map +0 -1
- package/dist/away-inbox-oneshot.d.ts +0 -40
- package/dist/away-inbox-oneshot.d.ts.map +0 -1
- package/dist/away-inbox-oneshot.js +0 -311
- package/dist/away-inbox-oneshot.js.map +0 -1
- package/dist/backup-restore-handlers.d.ts +0 -10
- package/dist/backup-restore-handlers.d.ts.map +0 -1
- package/dist/backup-restore-handlers.js +0 -82
- package/dist/backup-restore-handlers.js.map +0 -1
- package/dist/backup-restore.d.ts +0 -102
- package/dist/backup-restore.d.ts.map +0 -1
- package/dist/backup-restore.js +0 -341
- package/dist/backup-restore.js.map +0 -1
- package/dist/bin/cello-daemon.d.ts +0 -13
- package/dist/bin/cello-daemon.d.ts.map +0 -1
- package/dist/bin/cello-daemon.js.map +0 -1
- package/dist/boot-agents.d.ts +0 -64
- package/dist/boot-agents.d.ts.map +0 -1
- package/dist/boot-agents.js +0 -241
- package/dist/boot-agents.js.map +0 -1
- package/dist/boot-connection-state.d.ts +0 -38
- package/dist/boot-connection-state.d.ts.map +0 -1
- package/dist/boot-connection-state.js +0 -95
- package/dist/boot-connection-state.js.map +0 -1
- package/dist/boot-core.d.ts +0 -36
- package/dist/boot-core.d.ts.map +0 -1
- package/dist/boot-core.js +0 -293
- package/dist/boot-core.js.map +0 -1
- package/dist/boot-parked-content.d.ts +0 -34
- package/dist/boot-parked-content.d.ts.map +0 -1
- package/dist/boot-parked-content.js +0 -528
- package/dist/boot-parked-content.js.map +0 -1
- package/dist/boot-sweeps.d.ts +0 -22
- package/dist/boot-sweeps.d.ts.map +0 -1
- package/dist/boot-sweeps.js +0 -51
- package/dist/boot-sweeps.js.map +0 -1
- package/dist/bundled-consortium-manifest.d.ts +0 -47
- package/dist/bundled-consortium-manifest.d.ts.map +0 -1
- package/dist/bundled-consortium-manifest.js +0 -116
- package/dist/bundled-consortium-manifest.js.map +0 -1
- package/dist/cbor-blob-migration.d.ts +0 -8
- package/dist/cbor-blob-migration.d.ts.map +0 -1
- package/dist/cbor-blob-migration.js +0 -116
- package/dist/cbor-blob-migration.js.map +0 -1
- package/dist/challenge-verifier.d.ts +0 -12
- package/dist/challenge-verifier.d.ts.map +0 -1
- package/dist/challenge-verifier.js +0 -11
- package/dist/challenge-verifier.js.map +0 -1
- package/dist/close-commitment.d.ts +0 -67
- package/dist/close-commitment.d.ts.map +0 -1
- package/dist/close-commitment.js +0 -78
- package/dist/close-commitment.js.map +0 -1
- package/dist/close-session-handler.d.ts +0 -94
- package/dist/close-session-handler.d.ts.map +0 -1
- package/dist/close-session-handler.js +0 -1418
- package/dist/close-session-handler.js.map +0 -1
- package/dist/co-attendance.d.ts +0 -29
- package/dist/co-attendance.d.ts.map +0 -1
- package/dist/co-attendance.js +0 -32
- package/dist/co-attendance.js.map +0 -1
- package/dist/column-birth.d.ts +0 -40
- package/dist/column-birth.d.ts.map +0 -1
- package/dist/column-birth.js +0 -61
- package/dist/column-birth.js.map +0 -1
- package/dist/connect-or-start.d.ts +0 -25
- package/dist/connect-or-start.d.ts.map +0 -1
- package/dist/connect-or-start.js +0 -175
- package/dist/connect-or-start.js.map +0 -1
- package/dist/connection-agents.d.ts +0 -16
- package/dist/connection-agents.d.ts.map +0 -1
- package/dist/connection-agents.js +0 -68
- package/dist/connection-agents.js.map +0 -1
- package/dist/consent-migration.d.ts +0 -49
- package/dist/consent-migration.d.ts.map +0 -1
- package/dist/consent-migration.js +0 -128
- package/dist/consent-migration.js.map +0 -1
- package/dist/consortium-bootstrap.d.ts +0 -138
- package/dist/consortium-bootstrap.d.ts.map +0 -1
- package/dist/consortium-bootstrap.js +0 -339
- package/dist/consortium-bootstrap.js.map +0 -1
- package/dist/consortium-fingerprint.d.ts +0 -115
- package/dist/consortium-fingerprint.d.ts.map +0 -1
- package/dist/consortium-fingerprint.js +0 -175
- package/dist/consortium-fingerprint.js.map +0 -1
- package/dist/contact-handlers.d.ts +0 -59
- package/dist/contact-handlers.d.ts.map +0 -1
- package/dist/contact-handlers.js +0 -343
- package/dist/contact-handlers.js.map +0 -1
- package/dist/contact-pubkey-case.d.ts +0 -65
- package/dist/contact-pubkey-case.d.ts.map +0 -1
- package/dist/contact-pubkey-case.js +0 -136
- package/dist/contact-pubkey-case.js.map +0 -1
- package/dist/contacts-tier-migration.d.ts +0 -90
- package/dist/contacts-tier-migration.d.ts.map +0 -1
- package/dist/contacts-tier-migration.js +0 -150
- package/dist/contacts-tier-migration.js.map +0 -1
- package/dist/content-encryption-status.d.ts +0 -111
- package/dist/content-encryption-status.d.ts.map +0 -1
- package/dist/content-encryption-status.js +0 -158
- package/dist/content-encryption-status.js.map +0 -1
- package/dist/content-park-client.d.ts +0 -90
- package/dist/content-park-client.d.ts.map +0 -1
- package/dist/content-park-client.js +0 -362
- package/dist/content-park-client.js.map +0 -1
- package/dist/content-park.d.ts +0 -52
- package/dist/content-park.d.ts.map +0 -1
- package/dist/content-park.js +0 -1309
- package/dist/content-park.js.map +0 -1
- package/dist/cross-node-negotiation.d.ts +0 -44
- package/dist/cross-node-negotiation.d.ts.map +0 -1
- package/dist/cross-node-negotiation.js +0 -34
- package/dist/cross-node-negotiation.js.map +0 -1
- package/dist/daemon-handle.d.ts +0 -57
- package/dist/daemon-handle.d.ts.map +0 -1
- package/dist/daemon-handle.js +0 -2
- package/dist/daemon-handle.js.map +0 -1
- package/dist/daemon-status-report.d.ts +0 -50
- package/dist/daemon-status-report.d.ts.map +0 -1
- package/dist/daemon-status-report.js +0 -81
- package/dist/daemon-status-report.js.map +0 -1
- package/dist/daemon.d.ts +0 -45
- package/dist/daemon.d.ts.map +0 -1
- package/dist/daemon.js +0 -1177
- package/dist/daemon.js.map +0 -1
- package/dist/db-identity-store.d.ts +0 -159
- package/dist/db-identity-store.d.ts.map +0 -1
- package/dist/db-identity-store.js +0 -502
- package/dist/db-identity-store.js.map +0 -1
- package/dist/delivery-open-registry.d.ts +0 -92
- package/dist/delivery-open-registry.d.ts.map +0 -1
- package/dist/delivery-open-registry.js +0 -121
- package/dist/delivery-open-registry.js.map +0 -1
- package/dist/delivery-session-suspects.d.ts +0 -56
- package/dist/delivery-session-suspects.d.ts.map +0 -1
- package/dist/delivery-session-suspects.js +0 -94
- package/dist/delivery-session-suspects.js.map +0 -1
- package/dist/directory-auth-posture.d.ts +0 -87
- package/dist/directory-auth-posture.d.ts.map +0 -1
- package/dist/directory-auth-posture.js +0 -134
- package/dist/directory-auth-posture.js.map +0 -1
- package/dist/directory-bootstrap.d.ts +0 -310
- package/dist/directory-bootstrap.d.ts.map +0 -1
- package/dist/directory-bootstrap.js +0 -557
- package/dist/directory-bootstrap.js.map +0 -1
- package/dist/directory-connect.d.ts +0 -27
- package/dist/directory-connect.d.ts.map +0 -1
- package/dist/directory-connect.js +0 -106
- package/dist/directory-connect.js.map +0 -1
- package/dist/disconnect-cleanup.d.ts +0 -51
- package/dist/disconnect-cleanup.d.ts.map +0 -1
- package/dist/disconnect-cleanup.js +0 -72
- package/dist/disconnect-cleanup.js.map +0 -1
- package/dist/document-amendment-store.d.ts +0 -120
- package/dist/document-amendment-store.d.ts.map +0 -1
- package/dist/document-amendment-store.js +0 -266
- package/dist/document-amendment-store.js.map +0 -1
- package/dist/document-delivery-transport.d.ts +0 -168
- package/dist/document-delivery-transport.d.ts.map +0 -1
- package/dist/document-delivery-transport.js +0 -206
- package/dist/document-delivery-transport.js.map +0 -1
- package/dist/document-engine.d.ts +0 -134
- package/dist/document-engine.d.ts.map +0 -1
- package/dist/document-engine.js +0 -282
- package/dist/document-engine.js.map +0 -1
- package/dist/document-flag.d.ts +0 -58
- package/dist/document-flag.d.ts.map +0 -1
- package/dist/document-flag.js +0 -70
- package/dist/document-flag.js.map +0 -1
- package/dist/document-frame-router.d.ts +0 -245
- package/dist/document-frame-router.d.ts.map +0 -1
- package/dist/document-frame-router.js +0 -397
- package/dist/document-frame-router.js.map +0 -1
- package/dist/document-gate-wiring.d.ts +0 -61
- package/dist/document-gate-wiring.d.ts.map +0 -1
- package/dist/document-gate-wiring.js +0 -125
- package/dist/document-gate-wiring.js.map +0 -1
- package/dist/document-gate.d.ts +0 -149
- package/dist/document-gate.d.ts.map +0 -1
- package/dist/document-gate.js +0 -509
- package/dist/document-gate.js.map +0 -1
- package/dist/document-handlers.d.ts +0 -47
- package/dist/document-handlers.d.ts.map +0 -1
- package/dist/document-handlers.js +0 -2203
- package/dist/document-handlers.js.map +0 -1
- package/dist/document-handshake.d.ts +0 -176
- package/dist/document-handshake.d.ts.map +0 -1
- package/dist/document-handshake.js +0 -452
- package/dist/document-handshake.js.map +0 -1
- package/dist/document-inbound.d.ts +0 -162
- package/dist/document-inbound.d.ts.map +0 -1
- package/dist/document-inbound.js +0 -530
- package/dist/document-inbound.js.map +0 -1
- package/dist/document-json.d.ts +0 -120
- package/dist/document-json.d.ts.map +0 -1
- package/dist/document-json.js +0 -191
- package/dist/document-json.js.map +0 -1
- package/dist/document-layer.d.ts +0 -215
- package/dist/document-layer.d.ts.map +0 -1
- package/dist/document-layer.js +0 -1025
- package/dist/document-layer.js.map +0 -1
- package/dist/document-lifecycle.d.ts +0 -52
- package/dist/document-lifecycle.d.ts.map +0 -1
- package/dist/document-lifecycle.js +0 -134
- package/dist/document-lifecycle.js.map +0 -1
- package/dist/document-live-docs.d.ts +0 -58
- package/dist/document-live-docs.d.ts.map +0 -1
- package/dist/document-live-docs.js +0 -126
- package/dist/document-live-docs.js.map +0 -1
- package/dist/document-notify.d.ts +0 -228
- package/dist/document-notify.d.ts.map +0 -1
- package/dist/document-notify.js +0 -580
- package/dist/document-notify.js.map +0 -1
- package/dist/document-profile.d.ts +0 -61
- package/dist/document-profile.d.ts.map +0 -1
- package/dist/document-profile.js +0 -112
- package/dist/document-profile.js.map +0 -1
- package/dist/document-publish.d.ts +0 -87
- package/dist/document-publish.d.ts.map +0 -1
- package/dist/document-publish.js +0 -173
- package/dist/document-publish.js.map +0 -1
- package/dist/document-reachability.d.ts +0 -42
- package/dist/document-reachability.d.ts.map +0 -1
- package/dist/document-reachability.js +0 -80
- package/dist/document-reachability.js.map +0 -1
- package/dist/document-reconcile-engine.d.ts +0 -66
- package/dist/document-reconcile-engine.d.ts.map +0 -1
- package/dist/document-reconcile-engine.js +0 -225
- package/dist/document-reconcile-engine.js.map +0 -1
- package/dist/document-reconcile-scheduler.d.ts +0 -163
- package/dist/document-reconcile-scheduler.d.ts.map +0 -1
- package/dist/document-reconcile-scheduler.js +0 -303
- package/dist/document-reconcile-scheduler.js.map +0 -1
- package/dist/document-rejection.d.ts +0 -251
- package/dist/document-rejection.d.ts.map +0 -1
- package/dist/document-rejection.js +0 -435
- package/dist/document-rejection.js.map +0 -1
- package/dist/document-screen.d.ts +0 -114
- package/dist/document-screen.d.ts.map +0 -1
- package/dist/document-screen.js +0 -223
- package/dist/document-screen.js.map +0 -1
- package/dist/document-store.d.ts +0 -372
- package/dist/document-store.d.ts.map +0 -1
- package/dist/document-store.js +0 -931
- package/dist/document-store.js.map +0 -1
- package/dist/document-surface.d.ts +0 -32
- package/dist/document-surface.d.ts.map +0 -1
- package/dist/document-surface.js +0 -151
- package/dist/document-surface.js.map +0 -1
- package/dist/document-types.d.ts +0 -94
- package/dist/document-types.d.ts.map +0 -1
- package/dist/document-types.js +0 -90
- package/dist/document-types.js.map +0 -1
- package/dist/document-watch.d.ts +0 -69
- package/dist/document-watch.d.ts.map +0 -1
- package/dist/document-watch.js +0 -108
- package/dist/document-watch.js.map +0 -1
- package/dist/document-wiring.d.ts +0 -53
- package/dist/document-wiring.d.ts.map +0 -1
- package/dist/document-wiring.js +0 -323
- package/dist/document-wiring.js.map +0 -1
- package/dist/document-write-guard.d.ts +0 -66
- package/dist/document-write-guard.d.ts.map +0 -1
- package/dist/document-write-guard.js +0 -98
- package/dist/document-write-guard.js.map +0 -1
- package/dist/document-write-path.d.ts +0 -94
- package/dist/document-write-path.d.ts.map +0 -1
- package/dist/document-write-path.js +0 -530
- package/dist/document-write-path.js.map +0 -1
- package/dist/error-message.d.ts +0 -7
- package/dist/error-message.d.ts.map +0 -1
- package/dist/error-message.js +0 -19
- package/dist/error-message.js.map +0 -1
- package/dist/file-manifest-provider.d.ts +0 -37
- package/dist/file-manifest-provider.d.ts.map +0 -1
- package/dist/file-manifest-provider.js +0 -105
- package/dist/file-manifest-provider.js.map +0 -1
- package/dist/frame-values.d.ts +0 -3
- package/dist/frame-values.d.ts.map +0 -1
- package/dist/frame-values.js +0 -84
- package/dist/frame-values.js.map +0 -1
- package/dist/frontier-mismatch.d.ts +0 -73
- package/dist/frontier-mismatch.d.ts.map +0 -1
- package/dist/frontier-mismatch.js +0 -89
- package/dist/frontier-mismatch.js.map +0 -1
- package/dist/gateway-config-handlers.d.ts +0 -26
- package/dist/gateway-config-handlers.d.ts.map +0 -1
- package/dist/gateway-config-handlers.js +0 -429
- package/dist/gateway-config-handlers.js.map +0 -1
- package/dist/held-content.d.ts +0 -145
- package/dist/held-content.d.ts.map +0 -1
- package/dist/held-content.js +0 -389
- package/dist/held-content.js.map +0 -1
- package/dist/http-manifest-poll.d.ts +0 -67
- package/dist/http-manifest-poll.d.ts.map +0 -1
- package/dist/http-manifest-poll.js +0 -150
- package/dist/http-manifest-poll.js.map +0 -1
- package/dist/identity-migration.d.ts +0 -40
- package/dist/identity-migration.d.ts.map +0 -1
- package/dist/identity-migration.js +0 -461
- package/dist/identity-migration.js.map +0 -1
- package/dist/inbound-refusals.d.ts +0 -283
- package/dist/inbound-refusals.d.ts.map +0 -1
- package/dist/inbound-refusals.js +0 -919
- package/dist/inbound-refusals.js.map +0 -1
- package/dist/inbound-seal-request.d.ts +0 -32
- package/dist/inbound-seal-request.d.ts.map +0 -1
- package/dist/inbound-seal-request.js +0 -228
- package/dist/inbound-seal-request.js.map +0 -1
- package/dist/inbound-sessions.d.ts +0 -291
- package/dist/inbound-sessions.d.ts.map +0 -1
- package/dist/inbound-sessions.js +0 -1609
- package/dist/inbound-sessions.js.map +0 -1
- package/dist/inclusion-proof-handlers.d.ts +0 -43
- package/dist/inclusion-proof-handlers.d.ts.map +0 -1
- package/dist/inclusion-proof-handlers.js +0 -565
- package/dist/inclusion-proof-handlers.js.map +0 -1
- package/dist/inclusion-proof.d.ts +0 -151
- package/dist/inclusion-proof.d.ts.map +0 -1
- package/dist/inclusion-proof.js +0 -228
- package/dist/inclusion-proof.js.map +0 -1
- package/dist/index.d.ts +0 -32
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/initiate-session-handler.d.ts +0 -55
- package/dist/initiate-session-handler.d.ts.map +0 -1
- package/dist/initiate-session-handler.js +0 -310
- package/dist/initiate-session-handler.js.map +0 -1
- package/dist/ipc-client.d.ts +0 -31
- package/dist/ipc-client.d.ts.map +0 -1
- package/dist/ipc-client.js +0 -113
- package/dist/ipc-client.js.map +0 -1
- package/dist/ipc-server.d.ts +0 -63
- package/dist/ipc-server.d.ts.map +0 -1
- package/dist/ipc-server.js +0 -429
- package/dist/ipc-server.js.map +0 -1
- package/dist/ipc-surface.d.ts +0 -44
- package/dist/ipc-surface.d.ts.map +0 -1
- package/dist/ipc-surface.js +0 -107
- package/dist/ipc-surface.js.map +0 -1
- package/dist/line-lcs.d.ts +0 -51
- package/dist/line-lcs.d.ts.map +0 -1
- package/dist/line-lcs.js +0 -71
- package/dist/line-lcs.js.map +0 -1
- package/dist/lock-file.d.ts +0 -39
- package/dist/lock-file.d.ts.map +0 -1
- package/dist/lock-file.js +0 -120
- package/dist/lock-file.js.map +0 -1
- package/dist/log-collapse.d.ts +0 -66
- package/dist/log-collapse.d.ts.map +0 -1
- package/dist/log-collapse.js +0 -244
- package/dist/log-collapse.js.map +0 -1
- package/dist/log-rotate.d.ts +0 -67
- package/dist/log-rotate.d.ts.map +0 -1
- package/dist/log-rotate.js +0 -134
- package/dist/log-rotate.js.map +0 -1
- package/dist/manifest-deps.d.ts +0 -25
- package/dist/manifest-deps.d.ts.map +0 -1
- package/dist/manifest-deps.js +0 -151
- package/dist/manifest-deps.js.map +0 -1
- package/dist/manifest-poll-scheduler.d.ts +0 -31
- package/dist/manifest-poll-scheduler.d.ts.map +0 -1
- package/dist/manifest-poll-scheduler.js +0 -59
- package/dist/manifest-poll-scheduler.js.map +0 -1
- package/dist/manifest-validity.d.ts +0 -153
- package/dist/manifest-validity.d.ts.map +0 -1
- package/dist/manifest-validity.js +0 -268
- package/dist/manifest-validity.js.map +0 -1
- package/dist/manifest-version-store-db.d.ts +0 -24
- package/dist/manifest-version-store-db.d.ts.map +0 -1
- package/dist/manifest-version-store-db.js +0 -58
- package/dist/manifest-version-store-db.js.map +0 -1
- package/dist/manifest-version-store.d.ts +0 -16
- package/dist/manifest-version-store.d.ts.map +0 -1
- package/dist/manifest-version-store.js +0 -15
- package/dist/manifest-version-store.js.map +0 -1
- package/dist/network-directory-node.d.ts +0 -136
- package/dist/network-directory-node.d.ts.map +0 -1
- package/dist/network-directory-node.js +0 -810
- package/dist/network-directory-node.js.map +0 -1
- package/dist/nonce-dedup.d.ts +0 -68
- package/dist/nonce-dedup.d.ts.map +0 -1
- package/dist/nonce-dedup.js +0 -205
- package/dist/nonce-dedup.js.map +0 -1
- package/dist/notification-dispatcher.d.ts +0 -92
- package/dist/notification-dispatcher.d.ts.map +0 -1
- package/dist/notification-dispatcher.js +0 -210
- package/dist/notification-dispatcher.js.map +0 -1
- package/dist/notification-handlers.d.ts +0 -53
- package/dist/notification-handlers.d.ts.map +0 -1
- package/dist/notification-handlers.js +0 -461
- package/dist/notification-handlers.js.map +0 -1
- package/dist/onboarding-guidance.d.ts +0 -79
- package/dist/onboarding-guidance.d.ts.map +0 -1
- package/dist/onboarding-guidance.js +0 -95
- package/dist/onboarding-guidance.js.map +0 -1
- package/dist/operator-guidance.d.ts +0 -25
- package/dist/operator-guidance.d.ts.map +0 -1
- package/dist/operator-guidance.js +0 -50
- package/dist/operator-guidance.js.map +0 -1
- package/dist/orphan-triage.d.ts +0 -130
- package/dist/orphan-triage.d.ts.map +0 -1
- package/dist/orphan-triage.js +0 -207
- package/dist/orphan-triage.js.map +0 -1
- package/dist/outbound-sessions.d.ts +0 -126
- package/dist/outbound-sessions.d.ts.map +0 -1
- package/dist/outbound-sessions.js +0 -1052
- package/dist/outbound-sessions.js.map +0 -1
- package/dist/park-envelope.d.ts +0 -329
- package/dist/park-envelope.d.ts.map +0 -1
- package/dist/park-envelope.js +0 -509
- package/dist/park-envelope.js.map +0 -1
- package/dist/park-recovery.d.ts +0 -273
- package/dist/park-recovery.d.ts.map +0 -1
- package/dist/park-recovery.js +0 -717
- package/dist/park-recovery.js.map +0 -1
- package/dist/park-refusals.d.ts +0 -147
- package/dist/park-refusals.d.ts.map +0 -1
- package/dist/park-refusals.js +0 -331
- package/dist/park-refusals.js.map +0 -1
- package/dist/quarantine-framing.d.ts +0 -92
- package/dist/quarantine-framing.d.ts.map +0 -1
- package/dist/quarantine-framing.js +0 -111
- package/dist/quarantine-framing.js.map +0 -1
- package/dist/reconnect-drain.d.ts +0 -22
- package/dist/reconnect-drain.d.ts.map +0 -1
- package/dist/reconnect-drain.js +0 -65
- package/dist/reconnect-drain.js.map +0 -1
- package/dist/recovered-position.d.ts +0 -14
- package/dist/recovered-position.d.ts.map +0 -1
- package/dist/recovered-position.js +0 -59
- package/dist/recovered-position.js.map +0 -1
- package/dist/refusal-notices.d.ts +0 -196
- package/dist/refusal-notices.d.ts.map +0 -1
- package/dist/refusal-notices.js +0 -516
- package/dist/refusal-notices.js.map +0 -1
- package/dist/refusal-reasons.d.ts +0 -245
- package/dist/refusal-reasons.d.ts.map +0 -1
- package/dist/refusal-reasons.js +0 -363
- package/dist/refusal-reasons.js.map +0 -1
- package/dist/register-handler.d.ts +0 -36
- package/dist/register-handler.d.ts.map +0 -1
- package/dist/register-handler.js +0 -285
- package/dist/register-handler.js.map +0 -1
- package/dist/registration-context.d.ts +0 -72
- package/dist/registration-context.d.ts.map +0 -1
- package/dist/registration-context.js +0 -126
- package/dist/registration-context.js.map +0 -1
- package/dist/registration-manager.d.ts +0 -94
- package/dist/registration-manager.d.ts.map +0 -1
- package/dist/registration-manager.js +0 -585
- package/dist/registration-manager.js.map +0 -1
- package/dist/registration-persistence.d.ts +0 -183
- package/dist/registration-persistence.d.ts.map +0 -1
- package/dist/registration-persistence.js +0 -263
- package/dist/registration-persistence.js.map +0 -1
- package/dist/registry-poll.d.ts +0 -52
- package/dist/registry-poll.d.ts.map +0 -1
- package/dist/registry-poll.js +0 -140
- package/dist/registry-poll.js.map +0 -1
- package/dist/registry-version-store-db.d.ts +0 -22
- package/dist/registry-version-store-db.d.ts.map +0 -1
- package/dist/registry-version-store-db.js +0 -50
- package/dist/registry-version-store-db.js.map +0 -1
- package/dist/relay-endpoints.d.ts +0 -18
- package/dist/relay-endpoints.d.ts.map +0 -1
- package/dist/relay-endpoints.js +0 -9
- package/dist/relay-endpoints.js.map +0 -1
- package/dist/relay-only.d.ts +0 -140
- package/dist/relay-only.d.ts.map +0 -1
- package/dist/relay-only.js +0 -193
- package/dist/relay-only.js.map +0 -1
- package/dist/relay-receipt-store.d.ts +0 -155
- package/dist/relay-receipt-store.d.ts.map +0 -1
- package/dist/relay-receipt-store.js +0 -284
- package/dist/relay-receipt-store.js.map +0 -1
- package/dist/relay-reconnect.d.ts +0 -32
- package/dist/relay-reconnect.d.ts.map +0 -1
- package/dist/relay-reconnect.js +0 -29
- package/dist/relay-reconnect.js.map +0 -1
- package/dist/reply-lag.d.ts +0 -11
- package/dist/reply-lag.d.ts.map +0 -1
- package/dist/reply-lag.js +0 -46
- package/dist/reply-lag.js.map +0 -1
- package/dist/resolve-named-agent.d.ts +0 -49
- package/dist/resolve-named-agent.d.ts.map +0 -1
- package/dist/resolve-named-agent.js +0 -77
- package/dist/resolve-named-agent.js.map +0 -1
- package/dist/restart-seal-resolver.d.ts +0 -110
- package/dist/restart-seal-resolver.d.ts.map +0 -1
- package/dist/restart-seal-resolver.js +0 -353
- package/dist/restart-seal-resolver.js.map +0 -1
- package/dist/resume-last-seen.d.ts +0 -15
- package/dist/resume-last-seen.d.ts.map +0 -1
- package/dist/resume-last-seen.js +0 -44
- package/dist/resume-last-seen.js.map +0 -1
- package/dist/retry-queue.d.ts +0 -203
- package/dist/retry-queue.d.ts.map +0 -1
- package/dist/retry-queue.js +0 -701
- package/dist/retry-queue.js.map +0 -1
- package/dist/roster-freshness.d.ts +0 -160
- package/dist/roster-freshness.d.ts.map +0 -1
- package/dist/roster-freshness.js +0 -250
- package/dist/roster-freshness.js.map +0 -1
- package/dist/screening-status.d.ts +0 -15
- package/dist/screening-status.d.ts.map +0 -1
- package/dist/screening-status.js +0 -65
- package/dist/screening-status.js.map +0 -1
- package/dist/seal-carried-close.d.ts +0 -37
- package/dist/seal-carried-close.d.ts.map +0 -1
- package/dist/seal-carried-close.js +0 -179
- package/dist/seal-carried-close.js.map +0 -1
- package/dist/seal-certificate-pull.d.ts +0 -79
- package/dist/seal-certificate-pull.d.ts.map +0 -1
- package/dist/seal-certificate-pull.js +0 -186
- package/dist/seal-certificate-pull.js.map +0 -1
- package/dist/seal-certified-root-check.d.ts +0 -37
- package/dist/seal-certified-root-check.d.ts.map +0 -1
- package/dist/seal-certified-root-check.js +0 -127
- package/dist/seal-certified-root-check.js.map +0 -1
- package/dist/seal-coordinator.d.ts +0 -118
- package/dist/seal-coordinator.d.ts.map +0 -1
- package/dist/seal-coordinator.js +0 -927
- package/dist/seal-coordinator.js.map +0 -1
- package/dist/seal-escalation.d.ts +0 -80
- package/dist/seal-escalation.d.ts.map +0 -1
- package/dist/seal-escalation.js +0 -283
- package/dist/seal-escalation.js.map +0 -1
- package/dist/seal-evidence-root-check.d.ts +0 -70
- package/dist/seal-evidence-root-check.d.ts.map +0 -1
- package/dist/seal-evidence-root-check.js +0 -199
- package/dist/seal-evidence-root-check.js.map +0 -1
- package/dist/seal-failure-store.d.ts +0 -129
- package/dist/seal-failure-store.d.ts.map +0 -1
- package/dist/seal-failure-store.js +0 -173
- package/dist/seal-failure-store.js.map +0 -1
- package/dist/seal-flows.d.ts +0 -107
- package/dist/seal-flows.d.ts.map +0 -1
- package/dist/seal-flows.js +0 -638
- package/dist/seal-flows.js.map +0 -1
- package/dist/seal-frontier-verify.d.ts +0 -103
- package/dist/seal-frontier-verify.d.ts.map +0 -1
- package/dist/seal-frontier-verify.js +0 -143
- package/dist/seal-frontier-verify.js.map +0 -1
- package/dist/seal-leaf.d.ts +0 -58
- package/dist/seal-leaf.d.ts.map +0 -1
- package/dist/seal-leaf.js +0 -112
- package/dist/seal-leaf.js.map +0 -1
- package/dist/seal-legibility-tbs.d.ts +0 -25
- package/dist/seal-legibility-tbs.d.ts.map +0 -1
- package/dist/seal-legibility-tbs.js +0 -77
- package/dist/seal-legibility-tbs.js.map +0 -1
- package/dist/seal-local-terminus.d.ts +0 -41
- package/dist/seal-local-terminus.d.ts.map +0 -1
- package/dist/seal-local-terminus.js +0 -170
- package/dist/seal-local-terminus.js.map +0 -1
- package/dist/seal-receipt-upgrade.d.ts +0 -30
- package/dist/seal-receipt-upgrade.d.ts.map +0 -1
- package/dist/seal-receipt-upgrade.js +0 -49
- package/dist/seal-receipt-upgrade.js.map +0 -1
- package/dist/seal-relay-silence.d.ts +0 -51
- package/dist/seal-relay-silence.d.ts.map +0 -1
- package/dist/seal-relay-silence.js +0 -76
- package/dist/seal-relay-silence.js.map +0 -1
- package/dist/seal-settle.d.ts +0 -38
- package/dist/seal-settle.d.ts.map +0 -1
- package/dist/seal-settle.js +0 -33
- package/dist/seal-settle.js.map +0 -1
- package/dist/seal-upgrade.d.ts +0 -107
- package/dist/seal-upgrade.d.ts.map +0 -1
- package/dist/seal-upgrade.js +0 -200
- package/dist/seal-upgrade.js.map +0 -1
- package/dist/sealed-conversation.d.ts +0 -36
- package/dist/sealed-conversation.d.ts.map +0 -1
- package/dist/sealed-conversation.js +0 -171
- package/dist/sealed-conversation.js.map +0 -1
- package/dist/sealed-leaf-set.d.ts +0 -92
- package/dist/sealed-leaf-set.d.ts.map +0 -1
- package/dist/sealed-leaf-set.js +0 -122
- package/dist/sealed-leaf-set.js.map +0 -1
- package/dist/send-claims.d.ts +0 -56
- package/dist/send-claims.d.ts.map +0 -1
- package/dist/send-claims.js +0 -50
- package/dist/send-claims.js.map +0 -1
- package/dist/session-assignment-parser.d.ts +0 -98
- package/dist/session-assignment-parser.d.ts.map +0 -1
- package/dist/session-assignment-parser.js +0 -325
- package/dist/session-assignment-parser.js.map +0 -1
- package/dist/session-category.d.ts +0 -19
- package/dist/session-category.d.ts.map +0 -1
- package/dist/session-category.js +0 -14
- package/dist/session-category.js.map +0 -1
- package/dist/session-ceremony.d.ts +0 -297
- package/dist/session-ceremony.d.ts.map +0 -1
- package/dist/session-ceremony.js +0 -964
- package/dist/session-ceremony.js.map +0 -1
- package/dist/session-closed.d.ts +0 -79
- package/dist/session-closed.d.ts.map +0 -1
- package/dist/session-closed.js +0 -189
- package/dist/session-closed.js.map +0 -1
- package/dist/session-connection-gater.d.ts +0 -148
- package/dist/session-connection-gater.d.ts.map +0 -1
- package/dist/session-connection-gater.js +0 -332
- package/dist/session-connection-gater.js.map +0 -1
- package/dist/session-content-context.d.ts +0 -162
- package/dist/session-content-context.d.ts.map +0 -1
- package/dist/session-content-context.js +0 -2
- package/dist/session-content-context.js.map +0 -1
- package/dist/session-content-handlers.d.ts +0 -82
- package/dist/session-content-handlers.d.ts.map +0 -1
- package/dist/session-content-handlers.js +0 -1382
- package/dist/session-content-handlers.js.map +0 -1
- package/dist/session-content-ingest.d.ts +0 -206
- package/dist/session-content-ingest.d.ts.map +0 -1
- package/dist/session-content-ingest.js +0 -2167
- package/dist/session-content-ingest.js.map +0 -1
- package/dist/session-content-send.d.ts +0 -191
- package/dist/session-content-send.d.ts.map +0 -1
- package/dist/session-content-send.js +0 -1360
- package/dist/session-content-send.js.map +0 -1
- package/dist/session-delivery-acks.d.ts +0 -169
- package/dist/session-delivery-acks.d.ts.map +0 -1
- package/dist/session-delivery-acks.js +0 -569
- package/dist/session-delivery-acks.js.map +0 -1
- package/dist/session-ephemerals.d.ts +0 -279
- package/dist/session-ephemerals.d.ts.map +0 -1
- package/dist/session-ephemerals.js +0 -591
- package/dist/session-ephemerals.js.map +0 -1
- package/dist/session-leaf-records.d.ts +0 -159
- package/dist/session-leaf-records.d.ts.map +0 -1
- package/dist/session-leaf-records.js +0 -408
- package/dist/session-leaf-records.js.map +0 -1
- package/dist/session-lifecycle.d.ts +0 -303
- package/dist/session-lifecycle.d.ts.map +0 -1
- package/dist/session-lifecycle.js +0 -1679
- package/dist/session-lifecycle.js.map +0 -1
- package/dist/session-liveness.d.ts +0 -135
- package/dist/session-liveness.d.ts.map +0 -1
- package/dist/session-liveness.js +0 -347
- package/dist/session-liveness.js.map +0 -1
- package/dist/session-name.d.ts +0 -35
- package/dist/session-name.d.ts.map +0 -1
- package/dist/session-name.js +0 -60
- package/dist/session-name.js.map +0 -1
- package/dist/session-node-factory.d.ts +0 -18
- package/dist/session-node-factory.d.ts.map +0 -1
- package/dist/session-node-factory.js +0 -182
- package/dist/session-node-factory.js.map +0 -1
- package/dist/session-node-manager.d.ts +0 -875
- package/dist/session-node-manager.d.ts.map +0 -1
- package/dist/session-node-manager.js +0 -2995
- package/dist/session-node-manager.js.map +0 -1
- package/dist/session-node-types.d.ts +0 -1057
- package/dist/session-node-types.d.ts.map +0 -1
- package/dist/session-node-types.js +0 -657
- package/dist/session-node-types.js.map +0 -1
- package/dist/session-notify.d.ts +0 -46
- package/dist/session-notify.d.ts.map +0 -1
- package/dist/session-notify.js +0 -116
- package/dist/session-notify.js.map +0 -1
- package/dist/session-own-chain-store.d.ts +0 -65
- package/dist/session-own-chain-store.d.ts.map +0 -1
- package/dist/session-own-chain-store.js +0 -75
- package/dist/session-own-chain-store.js.map +0 -1
- package/dist/session-queries.d.ts +0 -476
- package/dist/session-queries.d.ts.map +0 -1
- package/dist/session-queries.js +0 -1007
- package/dist/session-queries.js.map +0 -1
- package/dist/session-read-handlers.d.ts +0 -87
- package/dist/session-read-handlers.d.ts.map +0 -1
- package/dist/session-read-handlers.js +0 -682
- package/dist/session-read-handlers.js.map +0 -1
- package/dist/session-records.d.ts +0 -341
- package/dist/session-records.d.ts.map +0 -1
- package/dist/session-records.js +0 -858
- package/dist/session-records.js.map +0 -1
- package/dist/session-relay-client.d.ts +0 -659
- package/dist/session-relay-client.d.ts.map +0 -1
- package/dist/session-relay-client.js +0 -2876
- package/dist/session-relay-client.js.map +0 -1
- package/dist/session-relay.d.ts +0 -397
- package/dist/session-relay.d.ts.map +0 -1
- package/dist/session-relay.js +0 -1636
- package/dist/session-relay.js.map +0 -1
- package/dist/session-salt-agreement.d.ts +0 -331
- package/dist/session-salt-agreement.d.ts.map +0 -1
- package/dist/session-salt-agreement.js +0 -472
- package/dist/session-salt-agreement.js.map +0 -1
- package/dist/session-salts.d.ts +0 -432
- package/dist/session-salts.d.ts.map +0 -1
- package/dist/session-salts.js +0 -1540
- package/dist/session-salts.js.map +0 -1
- package/dist/session-schema.d.ts +0 -30
- package/dist/session-schema.d.ts.map +0 -1
- package/dist/session-schema.js +0 -877
- package/dist/session-schema.js.map +0 -1
- package/dist/session-seal-leaf-store.d.ts +0 -70
- package/dist/session-seal-leaf-store.d.ts.map +0 -1
- package/dist/session-seal-leaf-store.js +0 -105
- package/dist/session-seal-leaf-store.js.map +0 -1
- package/dist/session-seal.d.ts +0 -334
- package/dist/session-seal.d.ts.map +0 -1
- package/dist/session-seal.js +0 -1017
- package/dist/session-seal.js.map +0 -1
- package/dist/session-terminal-refusal.d.ts +0 -65
- package/dist/session-terminal-refusal.d.ts.map +0 -1
- package/dist/session-terminal-refusal.js +0 -87
- package/dist/session-terminal-refusal.js.map +0 -1
- package/dist/session-tree.d.ts +0 -110
- package/dist/session-tree.d.ts.map +0 -1
- package/dist/session-tree.js +0 -144
- package/dist/session-tree.js.map +0 -1
- package/dist/session-views.d.ts +0 -47
- package/dist/session-views.d.ts.map +0 -1
- package/dist/session-views.js +0 -278
- package/dist/session-views.js.map +0 -1
- package/dist/signal-handlers.d.ts +0 -63
- package/dist/signal-handlers.d.ts.map +0 -1
- package/dist/signal-handlers.js +0 -980
- package/dist/signal-handlers.js.map +0 -1
- package/dist/signal-requirement-policy.d.ts +0 -51
- package/dist/signal-requirement-policy.d.ts.map +0 -1
- package/dist/signal-requirement-policy.js +0 -89
- package/dist/signal-requirement-policy.js.map +0 -1
- package/dist/signal-revocability.d.ts +0 -49
- package/dist/signal-revocability.d.ts.map +0 -1
- package/dist/signal-revocability.js +0 -93
- package/dist/signal-revocability.js.map +0 -1
- package/dist/signal-submission.d.ts +0 -181
- package/dist/signal-submission.d.ts.map +0 -1
- package/dist/signal-submission.js +0 -368
- package/dist/signal-submission.js.map +0 -1
- package/dist/signaling-connect.d.ts +0 -118
- package/dist/signaling-connect.d.ts.map +0 -1
- package/dist/signaling-connect.js +0 -538
- package/dist/signaling-connect.js.map +0 -1
- package/dist/signaling-wiring.d.ts +0 -105
- package/dist/signaling-wiring.d.ts.map +0 -1
- package/dist/signaling-wiring.js +0 -393
- package/dist/signaling-wiring.js.map +0 -1
- package/dist/singleton-lock.d.ts +0 -85
- package/dist/singleton-lock.d.ts.map +0 -1
- package/dist/singleton-lock.js +0 -219
- package/dist/singleton-lock.js.map +0 -1
- package/dist/sqlcipher-db.d.ts +0 -139
- package/dist/sqlcipher-db.d.ts.map +0 -1
- package/dist/sqlcipher-db.js +0 -357
- package/dist/sqlcipher-db.js.map +0 -1
- package/dist/standing-receivers.d.ts +0 -319
- package/dist/standing-receivers.d.ts.map +0 -1
- package/dist/standing-receivers.js +0 -1295
- package/dist/standing-receivers.js.map +0 -1
- package/dist/start-agent.d.ts +0 -64
- package/dist/start-agent.d.ts.map +0 -1
- package/dist/start-agent.js +0 -136
- package/dist/start-agent.js.map +0 -1
- package/dist/status-handler.d.ts +0 -54
- package/dist/status-handler.d.ts.map +0 -1
- package/dist/status-handler.js +0 -61
- package/dist/status-handler.js.map +0 -1
- package/dist/submission-retry.d.ts +0 -208
- package/dist/submission-retry.d.ts.map +0 -1
- package/dist/submission-retry.js +0 -506
- package/dist/submission-retry.js.map +0 -1
- package/dist/telegram-bot-client.d.ts +0 -34
- package/dist/telegram-bot-client.d.ts.map +0 -1
- package/dist/telegram-bot-client.js +0 -36
- package/dist/telegram-bot-client.js.map +0 -1
- package/dist/telegram-doorbell.d.ts +0 -38
- package/dist/telegram-doorbell.d.ts.map +0 -1
- package/dist/telegram-doorbell.js +0 -140
- package/dist/telegram-doorbell.js.map +0 -1
- package/dist/test-handlers.d.ts +0 -62
- package/dist/test-handlers.d.ts.map +0 -1
- package/dist/test-handlers.js +0 -240
- package/dist/test-handlers.js.map +0 -1
- package/dist/testing.d.ts +0 -10
- package/dist/testing.d.ts.map +0 -1
- package/dist/testing.js +0 -10
- package/dist/testing.js.map +0 -1
- package/dist/transport-composition.d.ts +0 -31
- package/dist/transport-composition.d.ts.map +0 -1
- package/dist/transport-composition.js +0 -55
- package/dist/transport-composition.js.map +0 -1
- package/dist/transport-selector.d.ts +0 -202
- package/dist/transport-selector.d.ts.map +0 -1
- package/dist/transport-selector.js +0 -196
- package/dist/transport-selector.js.map +0 -1
- package/dist/trust-signal-pickup-listener.d.ts +0 -43
- package/dist/trust-signal-pickup-listener.d.ts.map +0 -1
- package/dist/trust-signal-pickup-listener.js +0 -48
- package/dist/trust-signal-pickup-listener.js.map +0 -1
- package/dist/trust-signal-store.d.ts +0 -406
- package/dist/trust-signal-store.d.ts.map +0 -1
- package/dist/trust-signal-store.js +0 -939
- package/dist/trust-signal-store.js.map +0 -1
- package/dist/trust-signal-sweep-tick.d.ts +0 -60
- package/dist/trust-signal-sweep-tick.d.ts.map +0 -1
- package/dist/trust-signal-sweep-tick.js +0 -101
- package/dist/trust-signal-sweep-tick.js.map +0 -1
- package/dist/trust-signal-sweep.d.ts +0 -94
- package/dist/trust-signal-sweep.d.ts.map +0 -1
- package/dist/trust-signal-sweep.js +0 -147
- package/dist/trust-signal-sweep.js.map +0 -1
- package/dist/type-registry.d.ts +0 -42
- package/dist/type-registry.d.ts.map +0 -1
- package/dist/type-registry.js +0 -37
- package/dist/type-registry.js.map +0 -1
- package/dist/types.d.ts +0 -746
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -20
- package/dist/types.js.map +0 -1
- package/dist/unresolved-nodes-report.d.ts +0 -14
- package/dist/unresolved-nodes-report.d.ts.map +0 -1
- package/dist/unresolved-nodes-report.js +0 -96
- package/dist/unresolved-nodes-report.js.map +0 -1
- package/dist/vocabulary.d.ts +0 -150
- package/dist/vocabulary.d.ts.map +0 -1
- package/dist/vocabulary.js +0 -386
- package/dist/vocabulary.js.map +0 -1
- package/dist/who-label.d.ts +0 -28
- package/dist/who-label.d.ts.map +0 -1
- package/dist/who-label.js +0 -31
- package/dist/who-label.js.map +0 -1
- package/dist/who-resolver.d.ts +0 -15
- package/dist/who-resolver.d.ts.map +0 -1
- package/dist/who-resolver.js +0 -47
- package/dist/who-resolver.js.map +0 -1
- package/dist/wire-content-hash.d.ts +0 -93
- package/dist/wire-content-hash.d.ts.map +0 -1
- package/dist/wire-content-hash.js +0 -116
- package/dist/wire-content-hash.js.map +0 -1
- package/dist/withheld-content.d.ts +0 -13
- package/dist/withheld-content.d.ts.map +0 -1
- package/dist/withheld-content.js +0 -46
- package/dist/withheld-content.js.map +0 -1
- package/dist/witness-alerts.d.ts +0 -40
- package/dist/witness-alerts.d.ts.map +0 -1
- package/dist/witness-alerts.js +0 -102
- package/dist/witness-alerts.js.map +0 -1
package/dist/document-json.d.ts
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DOD-DOC-TYPES-1 — rendering a JSON document to the bytes both sides must agree on.
|
|
3
|
-
*
|
|
4
|
-
* ── THE PROBLEM THIS SOLVES ──────────────────────────────────────────────────────────────────────
|
|
5
|
-
*
|
|
6
|
-
* The CRDT determines the map STATE. It does not determine the STRING that map is printed as.
|
|
7
|
-
* `Y.Map.toJSON()` returns keys in INSERTION order, so two peers who added the same keys in a
|
|
8
|
-
* different order hold the same document and render different files:
|
|
9
|
-
*
|
|
10
|
-
* Alice adds `owner` then `status` → {"owner": "a", "status": "open"}
|
|
11
|
-
* Bob adds `status` then `owner` → {"status": "open", "owner": "a"}
|
|
12
|
-
*
|
|
13
|
-
* Both faithful, both correct, and everything downstream breaks. The write path diffs the FILE
|
|
14
|
-
* against the recorded projection, so a re-serialization in a different order reads as a rewrite of
|
|
15
|
-
* the entire document and is PUBLISHED to the peer as a real, signed edit. Two machines comparing
|
|
16
|
-
* files disagree about a document they agree on. And pasting the rendered document to have a peer
|
|
17
|
-
* confirm they hold the same thing — which is how values get attested — stops working.
|
|
18
|
-
*
|
|
19
|
-
* ── THE RULE ─────────────────────────────────────────────────────────────────────────────────────
|
|
20
|
-
*
|
|
21
|
-
* Object keys sorted, recursively, at every depth. **Arrays are never sorted:** an array's order is
|
|
22
|
-
* content, and reordering a list of steps or a ranked set of options is a lie about what was agreed.
|
|
23
|
-
*
|
|
24
|
-
* Trailing newline, because most editors add one on save and its absence would make the first save
|
|
25
|
-
* of an untouched file publish an edit nobody made.
|
|
26
|
-
*/
|
|
27
|
-
export type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
28
|
-
[key: string]: JsonValue;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* The canonical text of a JSON document — the bytes written to the file, recorded as the diff
|
|
32
|
-
* baseline, and compared against a peer's.
|
|
33
|
-
*
|
|
34
|
-
* Indented rather than compact: a human and an agent both have to read this file, and a line diff
|
|
35
|
-
* needs nested values on their own lines to say anything useful about what changed.
|
|
36
|
-
*/
|
|
37
|
-
export declare function serializeJsonDocument(value: JsonValue): string;
|
|
38
|
-
/** A parsed JSON object, or the reason it could not be parsed. */
|
|
39
|
-
export type ParsedJsonDocument = {
|
|
40
|
-
ok: true;
|
|
41
|
-
value: {
|
|
42
|
-
[key: string]: JsonValue;
|
|
43
|
-
};
|
|
44
|
-
} | {
|
|
45
|
-
ok: false;
|
|
46
|
-
detail: string;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Parse the text an agent supplied as a whole JSON document.
|
|
50
|
-
*
|
|
51
|
-
* A non-object top level is refused as firmly as a syntax error: the map root holds KEYS, so a bare
|
|
52
|
-
* array or string has nowhere to go, and accepting one would silently empty the document.
|
|
53
|
-
*/
|
|
54
|
-
export declare function parseJsonDocument(text: string): ParsedJsonDocument;
|
|
55
|
-
/**
|
|
56
|
-
* Apply `next` to `map` as the MINIMAL set of key operations, recursing into nested objects.
|
|
57
|
-
*
|
|
58
|
-
* **This is the per-key merge, and depth is the whole point of it.** Two actors editing two
|
|
59
|
-
* different fields of a shared record must both survive. Storing a nested object as a plain value
|
|
60
|
-
* makes it ONE item, so two writes to two fields inside it are two writes to the same item and last
|
|
61
|
-
* writer wins — measured on the reference workflow: one actor raising `settlement_failed` and
|
|
62
|
-
* another clearing `insufficient_funds` in the same minute ended with the raise gone from both
|
|
63
|
-
* machines, silently.
|
|
64
|
-
*
|
|
65
|
-
* That was dangerous rather than merely limited, because `jsonDiff` reports full dotted paths. Every
|
|
66
|
-
* surface said the structure was understood at path granularity, so a schema nests precisely where
|
|
67
|
-
* several actors write — and afterwards the diff names the field that vanished.
|
|
68
|
-
*
|
|
69
|
-
* **Untouched keys are not written at all**, at any depth. Writing a key back with an identical
|
|
70
|
-
* value is still a CRDT operation and would clobber a peer's concurrent edit to a field this author
|
|
71
|
-
* never looked at. A nested object that already exists is REUSED rather than replaced, for the same
|
|
72
|
-
* reason — replacing it is exactly the bug.
|
|
73
|
-
*
|
|
74
|
-
* **Arrays are stored whole, deliberately.** Element-level merge of two concurrent array edits
|
|
75
|
-
* interleaves into an order neither party wrote, and an array's order is content: a ranked list, a
|
|
76
|
-
* sequence of steps. Last-writer-wins on a whole array beats a silently reordered one. The
|
|
77
|
-
* consequence, recorded rather than hidden: a JOURNAL must not be an array, because two concurrent
|
|
78
|
-
* appends lose one. Key it as a map and this function carries it at any depth.
|
|
79
|
-
*
|
|
80
|
-
* Values are compared on their CANONICAL rendering. Plain `JSON.stringify` is order-sensitive for a
|
|
81
|
-
* nested object, so re-ordering a nested block — which any formatter may do — would count as a
|
|
82
|
-
* changed value, publish a change nobody made, and beat a peer's real edit to that key.
|
|
83
|
-
*
|
|
84
|
-
* Returns the dotted paths actually written, for the overlap flag.
|
|
85
|
-
*/
|
|
86
|
-
export declare function applyJsonToMap(map: YMapLike, next: {
|
|
87
|
-
[key: string]: JsonValue;
|
|
88
|
-
}, doc: {
|
|
89
|
-
transact(fn: () => void): void;
|
|
90
|
-
}, prefix?: string): string[];
|
|
91
|
-
/** A `Y.Map`-shaped thing, kept structural so this module does not import the engine. */
|
|
92
|
-
export interface YMapLike {
|
|
93
|
-
get(key: string): unknown;
|
|
94
|
-
set(key: string, value: unknown): unknown;
|
|
95
|
-
delete(key: string): void;
|
|
96
|
-
keys(): Iterable<string>;
|
|
97
|
-
toJSON(): unknown;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* The document's content as the text an agent reads and writes back — whichever root it lives in.
|
|
101
|
-
*
|
|
102
|
-
* The three content verbs (`read`, `write`, `diff`) all called `doc.getText("content")` directly,
|
|
103
|
-
* which is why `json` had to be refused at the door: its content is in the MAP root, so those verbs
|
|
104
|
-
* saw an empty document and would have written that emptiness back over the peer's real content.
|
|
105
|
-
*
|
|
106
|
-
* Imported by both the handlers and the write path so one document has ONE textual form. Two
|
|
107
|
-
* renderings of the same map would make the file diff fight the tool surface.
|
|
108
|
-
*/
|
|
109
|
-
export declare function projectDocumentText(doc: YDocLike, documentType: string): string;
|
|
110
|
-
/** The slice of `Y.Doc` this module needs, so it does not depend on the engine. */
|
|
111
|
-
interface YDocLike {
|
|
112
|
-
getMap(name: string): {
|
|
113
|
-
toJSON(): unknown;
|
|
114
|
-
};
|
|
115
|
-
getText(name: string): {
|
|
116
|
-
toString(): string;
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
export {};
|
|
120
|
-
//# sourceMappingURL=document-json.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-json.d.ts","sourceRoot":"","sources":["../src/document-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAMH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAiBtG;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAE9D;AAED,kEAAkE;AAClE,MAAM,MAAM,kBAAkB,GAC1B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAA;CAAE,GACjD;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAElC;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAWlE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAClC,GAAG,EAAE;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAAA;CAAE,EACvC,MAAM,SAAK,GACV,MAAM,EAAE,CAsCV;AAED,yFAAyF;AACzF,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1C,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,IAAI,OAAO,CAAC;CACnB;AAiCD;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAK/E;AAMD,mFAAmF;AACnF,UAAU,QAAQ;IAChB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,MAAM,IAAI,OAAO,CAAA;KAAE,CAAC;IAC5C,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,QAAQ,IAAI,MAAM,CAAA;KAAE,CAAC;CAC/C"}
|
package/dist/document-json.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DOD-DOC-TYPES-1 — rendering a JSON document to the bytes both sides must agree on.
|
|
3
|
-
*
|
|
4
|
-
* ── THE PROBLEM THIS SOLVES ──────────────────────────────────────────────────────────────────────
|
|
5
|
-
*
|
|
6
|
-
* The CRDT determines the map STATE. It does not determine the STRING that map is printed as.
|
|
7
|
-
* `Y.Map.toJSON()` returns keys in INSERTION order, so two peers who added the same keys in a
|
|
8
|
-
* different order hold the same document and render different files:
|
|
9
|
-
*
|
|
10
|
-
* Alice adds `owner` then `status` → {"owner": "a", "status": "open"}
|
|
11
|
-
* Bob adds `status` then `owner` → {"status": "open", "owner": "a"}
|
|
12
|
-
*
|
|
13
|
-
* Both faithful, both correct, and everything downstream breaks. The write path diffs the FILE
|
|
14
|
-
* against the recorded projection, so a re-serialization in a different order reads as a rewrite of
|
|
15
|
-
* the entire document and is PUBLISHED to the peer as a real, signed edit. Two machines comparing
|
|
16
|
-
* files disagree about a document they agree on. And pasting the rendered document to have a peer
|
|
17
|
-
* confirm they hold the same thing — which is how values get attested — stops working.
|
|
18
|
-
*
|
|
19
|
-
* ── THE RULE ─────────────────────────────────────────────────────────────────────────────────────
|
|
20
|
-
*
|
|
21
|
-
* Object keys sorted, recursively, at every depth. **Arrays are never sorted:** an array's order is
|
|
22
|
-
* content, and reordering a list of steps or a ranked set of options is a lie about what was agreed.
|
|
23
|
-
*
|
|
24
|
-
* Trailing newline, because most editors add one on save and its absence would make the first save
|
|
25
|
-
* of an untouched file publish an edit nobody made.
|
|
26
|
-
*/
|
|
27
|
-
/** A value that can live in a JSON document. */
|
|
28
|
-
import { rootForDocumentType } from "./document-types.js";
|
|
29
|
-
import { extractErrorMessage } from "./error-message.js";
|
|
30
|
-
/**
|
|
31
|
-
* Return `value` with every object's keys in sorted order, at every depth.
|
|
32
|
-
*
|
|
33
|
-
* Arrays keep their order; only the objects INSIDE them are normalised. `JSON.stringify` walks
|
|
34
|
-
* objects in own-property order, so sorting the keys into a fresh object is what makes its output
|
|
35
|
-
* deterministic — there is no stringify option that does this.
|
|
36
|
-
*/
|
|
37
|
-
function withSortedKeys(value) {
|
|
38
|
-
if (Array.isArray(value))
|
|
39
|
-
return value.map(withSortedKeys);
|
|
40
|
-
if (value === null || typeof value !== "object")
|
|
41
|
-
return value;
|
|
42
|
-
const sorted = {};
|
|
43
|
-
for (const key of Object.keys(value).sort())
|
|
44
|
-
sorted[key] = withSortedKeys(value[key]);
|
|
45
|
-
return sorted;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The canonical text of a JSON document — the bytes written to the file, recorded as the diff
|
|
49
|
-
* baseline, and compared against a peer's.
|
|
50
|
-
*
|
|
51
|
-
* Indented rather than compact: a human and an agent both have to read this file, and a line diff
|
|
52
|
-
* needs nested values on their own lines to say anything useful about what changed.
|
|
53
|
-
*/
|
|
54
|
-
export function serializeJsonDocument(value) {
|
|
55
|
-
return `${JSON.stringify(withSortedKeys(value), null, 2)}\n`;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Parse the text an agent supplied as a whole JSON document.
|
|
59
|
-
*
|
|
60
|
-
* A non-object top level is refused as firmly as a syntax error: the map root holds KEYS, so a bare
|
|
61
|
-
* array or string has nowhere to go, and accepting one would silently empty the document.
|
|
62
|
-
*/
|
|
63
|
-
export function parseJsonDocument(text) {
|
|
64
|
-
let parsed;
|
|
65
|
-
try {
|
|
66
|
-
parsed = JSON.parse(text);
|
|
67
|
-
}
|
|
68
|
-
catch (err) {
|
|
69
|
-
return { ok: false, detail: extractErrorMessage(err) };
|
|
70
|
-
}
|
|
71
|
-
if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) {
|
|
72
|
-
return { ok: false, detail: "the top level of a JSON document must be an object" };
|
|
73
|
-
}
|
|
74
|
-
return { ok: true, value: parsed };
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Apply `next` to `map` as the MINIMAL set of key operations, recursing into nested objects.
|
|
78
|
-
*
|
|
79
|
-
* **This is the per-key merge, and depth is the whole point of it.** Two actors editing two
|
|
80
|
-
* different fields of a shared record must both survive. Storing a nested object as a plain value
|
|
81
|
-
* makes it ONE item, so two writes to two fields inside it are two writes to the same item and last
|
|
82
|
-
* writer wins — measured on the reference workflow: one actor raising `settlement_failed` and
|
|
83
|
-
* another clearing `insufficient_funds` in the same minute ended with the raise gone from both
|
|
84
|
-
* machines, silently.
|
|
85
|
-
*
|
|
86
|
-
* That was dangerous rather than merely limited, because `jsonDiff` reports full dotted paths. Every
|
|
87
|
-
* surface said the structure was understood at path granularity, so a schema nests precisely where
|
|
88
|
-
* several actors write — and afterwards the diff names the field that vanished.
|
|
89
|
-
*
|
|
90
|
-
* **Untouched keys are not written at all**, at any depth. Writing a key back with an identical
|
|
91
|
-
* value is still a CRDT operation and would clobber a peer's concurrent edit to a field this author
|
|
92
|
-
* never looked at. A nested object that already exists is REUSED rather than replaced, for the same
|
|
93
|
-
* reason — replacing it is exactly the bug.
|
|
94
|
-
*
|
|
95
|
-
* **Arrays are stored whole, deliberately.** Element-level merge of two concurrent array edits
|
|
96
|
-
* interleaves into an order neither party wrote, and an array's order is content: a ranked list, a
|
|
97
|
-
* sequence of steps. Last-writer-wins on a whole array beats a silently reordered one. The
|
|
98
|
-
* consequence, recorded rather than hidden: a JOURNAL must not be an array, because two concurrent
|
|
99
|
-
* appends lose one. Key it as a map and this function carries it at any depth.
|
|
100
|
-
*
|
|
101
|
-
* Values are compared on their CANONICAL rendering. Plain `JSON.stringify` is order-sensitive for a
|
|
102
|
-
* nested object, so re-ordering a nested block — which any formatter may do — would count as a
|
|
103
|
-
* changed value, publish a change nobody made, and beat a peer's real edit to that key.
|
|
104
|
-
*
|
|
105
|
-
* Returns the dotted paths actually written, for the overlap flag.
|
|
106
|
-
*/
|
|
107
|
-
export function applyJsonToMap(map, next, doc, prefix = "") {
|
|
108
|
-
const written = [];
|
|
109
|
-
const apply = () => {
|
|
110
|
-
for (const [key, value] of Object.entries(next)) {
|
|
111
|
-
const path = prefix === "" ? key : `${prefix}.${key}`;
|
|
112
|
-
const before = map.get(key);
|
|
113
|
-
const nestable = isPlainObject(value);
|
|
114
|
-
if (nestable && isYMap(before)) {
|
|
115
|
-
// RECURSE into the existing nested map. Never replace it — replacing is what destroys a
|
|
116
|
-
// peer's concurrent edit to a sibling key.
|
|
117
|
-
written.push(...applyJsonToMap(before, value, doc, path));
|
|
118
|
-
continue;
|
|
119
|
-
}
|
|
120
|
-
if (nestable) {
|
|
121
|
-
// Either absent, or a legacy PLAIN object written before nesting existed. Both become a
|
|
122
|
-
// nested map here; that is the whole migration, and it happens on first touch.
|
|
123
|
-
const child = newYMap(map);
|
|
124
|
-
map.set(key, child);
|
|
125
|
-
written.push(...applyJsonToMap(child, value, doc, path));
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
if (before === undefined || serializeJsonDocument(toJson(before)) !== serializeJsonDocument(value)) {
|
|
129
|
-
map.set(key, value);
|
|
130
|
-
written.push(path);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
for (const key of [...map.keys()]) {
|
|
134
|
-
if (!(key in next)) {
|
|
135
|
-
map.delete(key);
|
|
136
|
-
written.push(prefix === "" ? key : `${prefix}.${key}`);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
// One transaction for the whole tree, so the edit is a single update rather than one per depth.
|
|
141
|
-
if (prefix === "")
|
|
142
|
-
doc.transact(apply);
|
|
143
|
-
else
|
|
144
|
-
apply();
|
|
145
|
-
return written;
|
|
146
|
-
}
|
|
147
|
-
function isPlainObject(v) {
|
|
148
|
-
return v !== null && typeof v === "object" && !Array.isArray(v);
|
|
149
|
-
}
|
|
150
|
-
/** True for a Yjs map. Detected by shape — `toJSON` plus `keys` plus `delete`. */
|
|
151
|
-
function isYMap(v) {
|
|
152
|
-
return (v !== null &&
|
|
153
|
-
typeof v === "object" &&
|
|
154
|
-
typeof v.get === "function" &&
|
|
155
|
-
typeof v.keys === "function" &&
|
|
156
|
-
typeof v.toJSON === "function");
|
|
157
|
-
}
|
|
158
|
-
/** A stored value as plain JSON, whether it is a nested map or an ordinary value. */
|
|
159
|
-
function toJson(v) {
|
|
160
|
-
return (isYMap(v) ? v.toJSON() : v);
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* A new nested map of the SAME class as its parent.
|
|
164
|
-
*
|
|
165
|
-
* Constructed from the parent's own constructor rather than importing `yjs` here, so this module
|
|
166
|
-
* stays free of the engine and the write path keeps one source of the Yjs dependency.
|
|
167
|
-
*/
|
|
168
|
-
function newYMap(sibling) {
|
|
169
|
-
const Ctor = sibling.constructor;
|
|
170
|
-
return new Ctor();
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* The document's content as the text an agent reads and writes back — whichever root it lives in.
|
|
174
|
-
*
|
|
175
|
-
* The three content verbs (`read`, `write`, `diff`) all called `doc.getText("content")` directly,
|
|
176
|
-
* which is why `json` had to be refused at the door: its content is in the MAP root, so those verbs
|
|
177
|
-
* saw an empty document and would have written that emptiness back over the peer's real content.
|
|
178
|
-
*
|
|
179
|
-
* Imported by both the handlers and the write path so one document has ONE textual form. Two
|
|
180
|
-
* renderings of the same map would make the file diff fight the tool surface.
|
|
181
|
-
*/
|
|
182
|
-
export function projectDocumentText(doc, documentType) {
|
|
183
|
-
if (rootForDocumentType(documentType) === "map") {
|
|
184
|
-
return serializeJsonDocument(doc.getMap(MAP_ROOT).toJSON());
|
|
185
|
-
}
|
|
186
|
-
return doc.getText(TEXT_ROOT).toString();
|
|
187
|
-
}
|
|
188
|
-
/** Yjs roots a document projects from — must match `DocumentEngine`'s. */
|
|
189
|
-
const TEXT_ROOT = "content";
|
|
190
|
-
const MAP_ROOT = "data";
|
|
191
|
-
//# sourceMappingURL=document-json.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-json.js","sourceRoot":"","sources":["../src/document-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,gDAAgD;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAIzD;;;;;;GAMG;AACH,SAAS,cAAc,CAAC,KAAgB;IACtC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAC3D,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC9D,MAAM,MAAM,GAAiC,EAAE,CAAC;IAChD,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE;QAAE,MAAM,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,CAAE,CAAC,CAAC;IACvF,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C,CAAC,QAAQ,EAAE,CAAC;AAC3C,CAAC;AAED,0EAA0E;AAC1E,MAAM,SAAS,GAAG,SAAS,CAAC;AAC5B,MAAM,QAAQ,GAAG,MAAM,CAAC"}
|
package/dist/document-layer.d.ts
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DOD-DOC-INBOUND-2 / DOD-DOC-DELIVERY-2 — the composition of the document layer.
|
|
3
|
-
*
|
|
4
|
-
* Everything M14 built is a unit with injected seams. This is where they become one thing, and it
|
|
5
|
-
* is a module rather than a block inside `daemon.ts` for one reason: the assembly makes decisions.
|
|
6
|
-
* Which verifier, which live-doc policy, and — the one that matters — whether the layer is present
|
|
7
|
-
* at all.
|
|
8
|
-
*
|
|
9
|
-
* ── ALL OR NOTHING ────────────────────────────────────────────────────────────────────────────
|
|
10
|
-
*
|
|
11
|
-
* The layer is built completely or not built. There is no partially-wired mode, because every
|
|
12
|
-
* half-wiring is a distinct silent failure: an inbound path with no ack producer leaves the peer
|
|
13
|
-
* retrying until their document stalls; a delivery worker with no inbound counterpart publishes
|
|
14
|
-
* envelopes nobody can answer. `DOD-DOC-DELIVERY-2` records that ordering constraint on its own
|
|
15
|
-
* line, and this is where it is enforced instead of remembered.
|
|
16
|
-
*
|
|
17
|
-
* ── THE VERIFIER IS REQUIRED, AND RESOLVES THROUGH THE CALLER ─────────────────────────────────
|
|
18
|
-
*
|
|
19
|
-
* Signature verification needs an agent id → public key mapping, which lives with the daemon's
|
|
20
|
-
* contact and session state rather than here. It is passed in, and there is no default: a default
|
|
21
|
-
* would be a default answer to "is this authentic", and both inbound paths refuse rather than
|
|
22
|
-
* admit when it says no.
|
|
23
|
-
*/
|
|
24
|
-
import { DocumentStore } from "./document-store.js";
|
|
25
|
-
import { DocumentEngine } from "./document-engine.js";
|
|
26
|
-
import { DocumentRejections } from "./document-rejection.js";
|
|
27
|
-
import { DocumentAmendmentStore } from "./document-amendment-store.js";
|
|
28
|
-
import { DocumentFrameRouter } from "./document-frame-router.js";
|
|
29
|
-
import { LiveDocuments } from "./document-live-docs.js";
|
|
30
|
-
import { DocumentLifecycle } from "./document-lifecycle.js";
|
|
31
|
-
import { DocumentNotifications } from "./document-notify.js";
|
|
32
|
-
import { DocumentHandshake } from "./document-handshake.js";
|
|
33
|
-
import { DocumentWritePath } from "./document-write-path.js";
|
|
34
|
-
import type { DaemonDatabase } from "./sqlcipher-db.js";
|
|
35
|
-
import type { Logger } from "./types.js";
|
|
36
|
-
export interface DocumentLayerDeps {
|
|
37
|
-
db: DaemonDatabase;
|
|
38
|
-
logger: Logger;
|
|
39
|
-
/**
|
|
40
|
-
* DOD-DOC-SCREEN-CONTENT-1 — the semantic screen for document content, on the projected text.
|
|
41
|
-
* Threaded from the composition root to `DocumentInbound`; see its dep for why it lives there.
|
|
42
|
-
*/
|
|
43
|
-
screenProjected?: (text: string, ctx: {
|
|
44
|
-
ownerAgentId: string;
|
|
45
|
-
documentId: string;
|
|
46
|
-
senderAgentId: string;
|
|
47
|
-
correlationId?: string;
|
|
48
|
-
}) => Promise<{
|
|
49
|
-
block: boolean;
|
|
50
|
-
reason?: string;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* The public key an agent id signs with, or null when this daemon cannot resolve one.
|
|
54
|
-
*
|
|
55
|
-
* REQUIRED. Returning null means "cannot verify", which both inbound paths treat as a refusal —
|
|
56
|
-
* the same answer as a bad signature, because admitting an envelope we cannot authenticate is
|
|
57
|
-
* the outcome the whole verify step exists to prevent.
|
|
58
|
-
*
|
|
59
|
-
* Injected rather than computed here even though M14-D5 makes a remote agent id BE its pubkey
|
|
60
|
-
* hex, because the daemon may want to refuse a peer it has no contact for, or resolve through a
|
|
61
|
-
* different binding later. `agentPublicKeyFromId` below is the default implementation.
|
|
62
|
-
*/
|
|
63
|
-
publicKeyFor(agentId: string): Uint8Array | null;
|
|
64
|
-
/**
|
|
65
|
-
* The stable owner key for a daemon agent NAME — our own K_local pubkey hex (M14-D5).
|
|
66
|
-
*
|
|
67
|
-
* The session content path knows agents by name; every document row is scoped by owner key. Both
|
|
68
|
-
* halves of the layer must agree, and the delivery sweep already uses the pubkey hex. See
|
|
69
|
-
* `DocumentFrameRouterDeps.ownerKeyFor` for what a disagreement hides.
|
|
70
|
-
*/
|
|
71
|
-
ownerKeyFor(agentName: string): string | null;
|
|
72
|
-
/**
|
|
73
|
-
* DOD-DOC-WATCH-1 — ring the operator's agent because a path IT declared it was waiting on has
|
|
74
|
-
* moved. Injected: the doorbell is the daemon's, not this layer's.
|
|
75
|
-
*
|
|
76
|
-
* Called ONLY on a watch hit. A document update raises no doorbell otherwise (§11.3) and that
|
|
77
|
-
* stands — this is the narrow exception an agent asked for by name.
|
|
78
|
-
*/
|
|
79
|
-
nudge?(ownerAgentId: string, documentId: string, paths: readonly string[]): void;
|
|
80
|
-
/**
|
|
81
|
-
* Sign as a given agent. Takes the agent id so a rejection cannot be signed with the wrong key —
|
|
82
|
-
* the first version took no arguments and the composition root reached for whichever key
|
|
83
|
-
* provider was first in a map, which is fabricated crypto wearing a real signature.
|
|
84
|
-
*
|
|
85
|
-
* ASYNC because signing goes through a key provider, and that async is what forced the router to
|
|
86
|
-
* split synchronous CLASSIFICATION from asynchronous HANDLING.
|
|
87
|
-
*/
|
|
88
|
-
sign(ownerAgentId: string, tbs: Uint8Array): Promise<Uint8Array>;
|
|
89
|
-
/**
|
|
90
|
-
* Put an already-encoded frame on the wire to a peer — the ack, today.
|
|
91
|
-
*
|
|
92
|
-
* Injected because the transport is not this layer's, and REQUIRED for the same reason the layer
|
|
93
|
-
* is all-or-nothing: an inbound path that cannot answer leaves every sender retrying until their
|
|
94
|
-
* document stalls.
|
|
95
|
-
*/
|
|
96
|
-
/**
|
|
97
|
-
* Where documents are materialized as files. Absent disables the file surface entirely — the
|
|
98
|
-
* content verbs still work, and nothing silently half-writes.
|
|
99
|
-
*/
|
|
100
|
-
workspaceRoot?: string;
|
|
101
|
-
sendFrame(ownerAgentId: string, peerAgentId: string, bytes: Uint8Array,
|
|
102
|
-
/**
|
|
103
|
-
* The witnessed leaf DOMAIN. Omitted means the document kind (0x04), which is right for an ack;
|
|
104
|
-
* a REFUSAL passes 0x05. The directory discriminates on it when it builds the seal certificate,
|
|
105
|
-
* so a refusal recorded as a message is a refusal the certificate reports as something said.
|
|
106
|
-
*/
|
|
107
|
-
leafKind?: number): Promise<{
|
|
108
|
-
ok: true;
|
|
109
|
-
} | {
|
|
110
|
-
ok: false;
|
|
111
|
-
reason: string;
|
|
112
|
-
}>;
|
|
113
|
-
/**
|
|
114
|
-
* A PEER REFUSED OUR EXCHANGE. Wired to the scheduler so the refusal can slow the asking down.
|
|
115
|
-
*
|
|
116
|
-
* Without it the refusal is logged and dropped, and the sweep — which can only see whether the
|
|
117
|
-
* frame was SENT — retries at full speed forever. Optional so a layer built without a scheduler
|
|
118
|
-
* (every unit fixture) needs no wiring; the scheduler treats the signal as a DELAY, never a
|
|
119
|
-
* prohibition (R41).
|
|
120
|
-
*/
|
|
121
|
-
onPeerRefusal?(ownerAgentId: string, peerAgentId: string, terminal: boolean): void;
|
|
122
|
-
}
|
|
123
|
-
export interface DocumentLayer {
|
|
124
|
-
/**
|
|
125
|
-
* DOD-M12B-SHUTDOWN-1 — refuse every further outbound reconcile, whichever caller asks.
|
|
126
|
-
*
|
|
127
|
-
* The reconcile scheduler is only one of four routes to `initiateReconcile`; `nudgeSeats` and the
|
|
128
|
-
* two invite notices reach it directly, and every document verb is still served while the daemon
|
|
129
|
-
* tears down, because the IPC server is the last thing stopped. Gating the scheduler alone left
|
|
130
|
-
* three paths dialling peers and opening sessions on the way out.
|
|
131
|
-
*
|
|
132
|
-
* Idempotent and one-way. The reconcile exchange is idempotent (R40), so a refused reconcile is
|
|
133
|
-
* deferred to the next process, never lost.
|
|
134
|
-
*/
|
|
135
|
-
stopReconciling(): void;
|
|
136
|
-
store: DocumentStore;
|
|
137
|
-
/** The file projection, or null when no workspace root was configured. */
|
|
138
|
-
writePath: DocumentWritePath | null;
|
|
139
|
-
handshake: DocumentHandshake;
|
|
140
|
-
engine: DocumentEngine;
|
|
141
|
-
live: LiveDocuments;
|
|
142
|
-
lifecycle: DocumentLifecycle;
|
|
143
|
-
notifications: DocumentNotifications;
|
|
144
|
-
rejections: DocumentRejections;
|
|
145
|
-
/** M14B — the entry chain: the fork-tolerant store the fold derives from. */
|
|
146
|
-
amendments: DocumentAmendmentStore;
|
|
147
|
-
/** The layer's one Ed25519 verifier seam — for handlers that run the replay themselves. */
|
|
148
|
-
verifySignature(agentId: string, tbs: Uint8Array, signature: Uint8Array): boolean;
|
|
149
|
-
/** M14B / FANOUT-1 — current holders derived from the chain; null when underivable. */
|
|
150
|
-
holdersFor(ownerAgentId: string, documentId: string): string[] | null;
|
|
151
|
-
isCurrentHolder(ownerAgentId: string, documentId: string, agentId: string): boolean;
|
|
152
|
-
/** SYNC-P5 (R43) — the sweep's (party → shared active documents) map, seats from the fold. */
|
|
153
|
-
sweepTargets(ownerAgentId: string): Map<string, string[]>;
|
|
154
|
-
/** SYNC-R46 — one party's sync state from the display cache (never a correctness input). */
|
|
155
|
-
partySync(ownerAgentId: string, documentId: string, partyAgentId: string): {
|
|
156
|
-
sync: "in_sync" | "behind" | "unseen";
|
|
157
|
-
lastSyncedAtMs: number | null;
|
|
158
|
-
blockedBy?: string;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* DOD-DOC-PUSH-NOT-POLL-1 — what we hold that this party has not confirmed receiving, as a
|
|
162
|
-
* comparable fingerprint; `null` when there is nothing. The sweep's ONLY reason to speak.
|
|
163
|
-
*/
|
|
164
|
-
pendingFor(ownerAgentId: string, documentId: string, partyAgentId: string): string | null;
|
|
165
|
-
/** SYNC-D8 — the ONE derivation of an agent's standing (R17 + removed/unknown), from the fold. */
|
|
166
|
-
standingOf(ownerAgentId: string, documentId: string, agentId: string): "participant" | "invited" | "removed" | "stranger" | "unknown";
|
|
167
|
-
/**
|
|
168
|
-
* SYNC-P3 — step 1 of the reconcile exchange: send this holder's position for the named
|
|
169
|
-
* documents to a peer. Everything after that is symmetric and handled by the frame router.
|
|
170
|
-
*/
|
|
171
|
-
initiateReconcile(ownerAgentId: string, peerAgentId: string, documentIds: readonly string[]): Promise<{
|
|
172
|
-
ok: true;
|
|
173
|
-
} | {
|
|
174
|
-
ok: false;
|
|
175
|
-
reason: string;
|
|
176
|
-
}>;
|
|
177
|
-
/**
|
|
178
|
-
* SYNC-G1 — the fold's governance frontier for a document, or null when it cannot be
|
|
179
|
-
* derived. Publish stamps this into every envelope's signed TBS as content's causal anchor.
|
|
180
|
-
*/
|
|
181
|
-
governanceFrontierFor(ownerAgentId: string, documentId: string): string[] | null;
|
|
182
|
-
/**
|
|
183
|
-
* SYNC-P4 (R27/R28) — the DERIVED ending and who a pending close still waits on. Null when
|
|
184
|
-
* the document cannot be derived.
|
|
185
|
-
*/
|
|
186
|
-
deriveEnded(ownerAgentId: string, documentId: string): {
|
|
187
|
-
ended: "closed" | "killed" | null;
|
|
188
|
-
waitingOn: string[];
|
|
189
|
-
} | null;
|
|
190
|
-
router: DocumentFrameRouter;
|
|
191
|
-
/**
|
|
192
|
-
* The hook `SessionNodeManager.setOnDocumentFrame` takes. Handed out ready-shaped so the
|
|
193
|
-
* composition root does not re-derive the adapter — and so the `consumed` contract has exactly
|
|
194
|
-
* one definition.
|
|
195
|
-
*/
|
|
196
|
-
onDocumentFrame(agentName: string, sessionId: string, content: Uint8Array, senderPubkey: string, correlationId?: string): {
|
|
197
|
-
consumed: boolean;
|
|
198
|
-
kind?: string;
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* The default `publicKeyFor`: a remote agent's id IS its K_local public key, hex-encoded (M14-D5).
|
|
203
|
-
*
|
|
204
|
-
* `agent_id` in this daemon is a LOCAL primary key on the `agents` table — it names rows in our own
|
|
205
|
-
* database and cannot identify a remote peer. The pubkey is the only self-verifying identifier
|
|
206
|
-
* available: the signature checks against it directly, with no lookup that could be stale, missing
|
|
207
|
-
* or poisoned sitting on the critical path of every authentication.
|
|
208
|
-
*
|
|
209
|
-
* Malformed input returns null rather than throwing, and null is a refusal. An id that is not a
|
|
210
|
-
* 32-byte hex key is not "a peer we have no key for" — it is a frame that does not follow the
|
|
211
|
-
* protocol — but both must refuse, and refusing loudly at the verify step is where it belongs.
|
|
212
|
-
*/
|
|
213
|
-
export declare function agentPublicKeyFromId(agentId: string): Uint8Array | null;
|
|
214
|
-
export declare function createDocumentLayer(deps: DocumentLayerDeps): DocumentLayer;
|
|
215
|
-
//# sourceMappingURL=document-layer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-layer.d.ts","sourceRoot":"","sources":["../src/document-layer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAmB,MAAM,sBAAsB,CAAC;AAI9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAmC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,cAAc,CAAC;IACnB,MAAM,EAAE,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