@cello-protocol/daemon 0.0.227 → 0.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-admin-handlers.d.ts +56 -0
- package/dist/agent-admin-handlers.d.ts.map +1 -0
- package/dist/agent-admin-handlers.js +73 -0
- package/dist/agent-admin-handlers.js.map +1 -0
- package/dist/agent-handlers.d.ts +72 -0
- package/dist/agent-handlers.d.ts.map +1 -0
- package/dist/agent-handlers.js +604 -0
- package/dist/agent-handlers.js.map +1 -0
- package/dist/agent-id-migration.d.ts +70 -0
- package/dist/agent-id-migration.d.ts.map +1 -0
- package/dist/agent-id-migration.js +468 -0
- package/dist/agent-id-migration.js.map +1 -0
- package/dist/agent-loader.d.ts +37 -0
- package/dist/agent-loader.d.ts.map +1 -0
- package/dist/agent-loader.js +37 -0
- package/dist/agent-loader.js.map +1 -0
- package/dist/agent-selection-root.d.ts +29 -0
- package/dist/agent-selection-root.d.ts.map +1 -0
- package/dist/agent-selection-root.js +126 -0
- package/dist/agent-selection-root.js.map +1 -0
- package/dist/agent-selection.d.ts +73 -0
- package/dist/agent-selection.d.ts.map +1 -0
- package/dist/agent-selection.js +80 -0
- package/dist/agent-selection.js.map +1 -0
- package/dist/agent-settings-keys.d.ts +52 -0
- package/dist/agent-settings-keys.d.ts.map +1 -0
- package/dist/agent-settings-keys.js +114 -0
- package/dist/agent-settings-keys.js.map +1 -0
- package/dist/agent-state.d.ts +67 -0
- package/dist/agent-state.d.ts.map +1 -0
- package/dist/agent-state.js +66 -0
- package/dist/agent-state.js.map +1 -0
- package/dist/assignment-verify.d.ts +90 -0
- package/dist/assignment-verify.d.ts.map +1 -0
- package/dist/assignment-verify.js +301 -0
- package/dist/assignment-verify.js.map +1 -0
- package/dist/attendance-wiring.d.ts +23 -0
- package/dist/attendance-wiring.d.ts.map +1 -0
- package/dist/attendance-wiring.js +248 -0
- package/dist/attendance-wiring.js.map +1 -0
- package/dist/attestation-body.d.ts +47 -0
- package/dist/attestation-body.d.ts.map +1 -0
- package/dist/attestation-body.js +71 -0
- package/dist/attestation-body.js.map +1 -0
- package/dist/authorship-verification.d.ts +91 -0
- package/dist/authorship-verification.d.ts.map +1 -0
- package/dist/authorship-verification.js +532 -0
- package/dist/authorship-verification.js.map +1 -0
- package/dist/away-detection.d.ts +139 -0
- package/dist/away-detection.d.ts.map +1 -0
- package/dist/away-detection.js +186 -0
- package/dist/away-detection.js.map +1 -0
- package/dist/away-inbox-oneshot.d.ts +40 -0
- package/dist/away-inbox-oneshot.d.ts.map +1 -0
- package/dist/away-inbox-oneshot.js +311 -0
- package/dist/away-inbox-oneshot.js.map +1 -0
- package/dist/backup-restore-handlers.d.ts +10 -0
- package/dist/backup-restore-handlers.d.ts.map +1 -0
- package/dist/backup-restore-handlers.js +82 -0
- package/dist/backup-restore-handlers.js.map +1 -0
- package/dist/backup-restore.d.ts +102 -0
- package/dist/backup-restore.d.ts.map +1 -0
- package/dist/backup-restore.js +341 -0
- package/dist/backup-restore.js.map +1 -0
- package/dist/bin/cello-daemon.d.ts +13 -0
- package/dist/bin/cello-daemon.d.ts.map +1 -0
- package/dist/bin/cello-daemon.js.map +1 -0
- package/dist/boot-agents.d.ts +64 -0
- package/dist/boot-agents.d.ts.map +1 -0
- package/dist/boot-agents.js +241 -0
- package/dist/boot-agents.js.map +1 -0
- package/dist/boot-connection-state.d.ts +38 -0
- package/dist/boot-connection-state.d.ts.map +1 -0
- package/dist/boot-connection-state.js +95 -0
- package/dist/boot-connection-state.js.map +1 -0
- package/dist/boot-core.d.ts +36 -0
- package/dist/boot-core.d.ts.map +1 -0
- package/dist/boot-core.js +293 -0
- package/dist/boot-core.js.map +1 -0
- package/dist/boot-parked-content.d.ts +34 -0
- package/dist/boot-parked-content.d.ts.map +1 -0
- package/dist/boot-parked-content.js +528 -0
- package/dist/boot-parked-content.js.map +1 -0
- package/dist/boot-sweeps.d.ts +22 -0
- package/dist/boot-sweeps.d.ts.map +1 -0
- package/dist/boot-sweeps.js +51 -0
- package/dist/boot-sweeps.js.map +1 -0
- package/dist/bundled-consortium-manifest.d.ts +47 -0
- package/dist/bundled-consortium-manifest.d.ts.map +1 -0
- package/dist/bundled-consortium-manifest.js +116 -0
- package/dist/bundled-consortium-manifest.js.map +1 -0
- package/dist/cbor-blob-migration.d.ts +8 -0
- package/dist/cbor-blob-migration.d.ts.map +1 -0
- package/dist/cbor-blob-migration.js +116 -0
- package/dist/cbor-blob-migration.js.map +1 -0
- package/dist/challenge-verifier.d.ts +12 -0
- package/dist/challenge-verifier.d.ts.map +1 -0
- package/dist/challenge-verifier.js +11 -0
- package/dist/challenge-verifier.js.map +1 -0
- package/dist/channel-log-store.d.ts +80 -0
- package/dist/channel-log-store.d.ts.map +1 -0
- package/dist/channel-log-store.js +290 -0
- package/dist/channel-log-store.js.map +1 -0
- package/dist/close-commitment.d.ts +67 -0
- package/dist/close-commitment.d.ts.map +1 -0
- package/dist/close-commitment.js +78 -0
- package/dist/close-commitment.js.map +1 -0
- package/dist/close-session-handler.d.ts +94 -0
- package/dist/close-session-handler.d.ts.map +1 -0
- package/dist/close-session-handler.js +1418 -0
- package/dist/close-session-handler.js.map +1 -0
- package/dist/co-attendance.d.ts +29 -0
- package/dist/co-attendance.d.ts.map +1 -0
- package/dist/co-attendance.js +32 -0
- package/dist/co-attendance.js.map +1 -0
- package/dist/column-birth.d.ts +40 -0
- package/dist/column-birth.d.ts.map +1 -0
- package/dist/column-birth.js +61 -0
- package/dist/column-birth.js.map +1 -0
- package/dist/connect-or-start.d.ts +25 -0
- package/dist/connect-or-start.d.ts.map +1 -0
- package/dist/connect-or-start.js +175 -0
- package/dist/connect-or-start.js.map +1 -0
- package/dist/connection-agents.d.ts +16 -0
- package/dist/connection-agents.d.ts.map +1 -0
- package/dist/connection-agents.js +68 -0
- package/dist/connection-agents.js.map +1 -0
- package/dist/consent-migration.d.ts +49 -0
- package/dist/consent-migration.d.ts.map +1 -0
- package/dist/consent-migration.js +128 -0
- package/dist/consent-migration.js.map +1 -0
- package/dist/consortium-bootstrap.d.ts +138 -0
- package/dist/consortium-bootstrap.d.ts.map +1 -0
- package/dist/consortium-bootstrap.js +339 -0
- package/dist/consortium-bootstrap.js.map +1 -0
- package/dist/consortium-fingerprint.d.ts +115 -0
- package/dist/consortium-fingerprint.d.ts.map +1 -0
- package/dist/consortium-fingerprint.js +175 -0
- package/dist/consortium-fingerprint.js.map +1 -0
- package/dist/contact-handlers.d.ts +59 -0
- package/dist/contact-handlers.d.ts.map +1 -0
- package/dist/contact-handlers.js +343 -0
- package/dist/contact-handlers.js.map +1 -0
- package/dist/contact-pubkey-case.d.ts +65 -0
- package/dist/contact-pubkey-case.d.ts.map +1 -0
- package/dist/contact-pubkey-case.js +136 -0
- package/dist/contact-pubkey-case.js.map +1 -0
- package/dist/contacts-tier-migration.d.ts +90 -0
- package/dist/contacts-tier-migration.d.ts.map +1 -0
- package/dist/contacts-tier-migration.js +150 -0
- package/dist/contacts-tier-migration.js.map +1 -0
- package/dist/content-encryption-status.d.ts +111 -0
- package/dist/content-encryption-status.d.ts.map +1 -0
- package/dist/content-encryption-status.js +158 -0
- package/dist/content-encryption-status.js.map +1 -0
- package/dist/content-park-client.d.ts +90 -0
- package/dist/content-park-client.d.ts.map +1 -0
- package/dist/content-park-client.js +362 -0
- package/dist/content-park-client.js.map +1 -0
- package/dist/content-park.d.ts +52 -0
- package/dist/content-park.d.ts.map +1 -0
- package/dist/content-park.js +1309 -0
- package/dist/content-park.js.map +1 -0
- package/dist/cross-node-negotiation.d.ts +44 -0
- package/dist/cross-node-negotiation.d.ts.map +1 -0
- package/dist/cross-node-negotiation.js +34 -0
- package/dist/cross-node-negotiation.js.map +1 -0
- package/dist/daemon-handle.d.ts +57 -0
- package/dist/daemon-handle.d.ts.map +1 -0
- package/dist/daemon-handle.js +2 -0
- package/dist/daemon-handle.js.map +1 -0
- package/dist/daemon-status-report.d.ts +50 -0
- package/dist/daemon-status-report.d.ts.map +1 -0
- package/dist/daemon-status-report.js +81 -0
- package/dist/daemon-status-report.js.map +1 -0
- package/dist/daemon.d.ts +45 -0
- package/dist/daemon.d.ts.map +1 -0
- package/dist/daemon.js +1177 -0
- package/dist/daemon.js.map +1 -0
- package/dist/db-identity-store.d.ts +159 -0
- package/dist/db-identity-store.d.ts.map +1 -0
- package/dist/db-identity-store.js +502 -0
- package/dist/db-identity-store.js.map +1 -0
- package/dist/delivery-open-registry.d.ts +92 -0
- package/dist/delivery-open-registry.d.ts.map +1 -0
- package/dist/delivery-open-registry.js +121 -0
- package/dist/delivery-open-registry.js.map +1 -0
- package/dist/delivery-session-suspects.d.ts +56 -0
- package/dist/delivery-session-suspects.d.ts.map +1 -0
- package/dist/delivery-session-suspects.js +94 -0
- package/dist/delivery-session-suspects.js.map +1 -0
- package/dist/directory-auth-posture.d.ts +87 -0
- package/dist/directory-auth-posture.d.ts.map +1 -0
- package/dist/directory-auth-posture.js +134 -0
- package/dist/directory-auth-posture.js.map +1 -0
- package/dist/directory-bootstrap.d.ts +310 -0
- package/dist/directory-bootstrap.d.ts.map +1 -0
- package/dist/directory-bootstrap.js +557 -0
- package/dist/directory-bootstrap.js.map +1 -0
- package/dist/directory-connect.d.ts +27 -0
- package/dist/directory-connect.d.ts.map +1 -0
- package/dist/directory-connect.js +106 -0
- package/dist/directory-connect.js.map +1 -0
- package/dist/disconnect-cleanup.d.ts +51 -0
- package/dist/disconnect-cleanup.d.ts.map +1 -0
- package/dist/disconnect-cleanup.js +72 -0
- package/dist/disconnect-cleanup.js.map +1 -0
- package/dist/document-amendment-store.d.ts +120 -0
- package/dist/document-amendment-store.d.ts.map +1 -0
- package/dist/document-amendment-store.js +266 -0
- package/dist/document-amendment-store.js.map +1 -0
- package/dist/document-delivery-transport.d.ts +168 -0
- package/dist/document-delivery-transport.d.ts.map +1 -0
- package/dist/document-delivery-transport.js +206 -0
- package/dist/document-delivery-transport.js.map +1 -0
- package/dist/document-engine.d.ts +134 -0
- package/dist/document-engine.d.ts.map +1 -0
- package/dist/document-engine.js +282 -0
- package/dist/document-engine.js.map +1 -0
- package/dist/document-flag.d.ts +58 -0
- package/dist/document-flag.d.ts.map +1 -0
- package/dist/document-flag.js +70 -0
- package/dist/document-flag.js.map +1 -0
- package/dist/document-frame-router.d.ts +245 -0
- package/dist/document-frame-router.d.ts.map +1 -0
- package/dist/document-frame-router.js +397 -0
- package/dist/document-frame-router.js.map +1 -0
- package/dist/document-gate-wiring.d.ts +61 -0
- package/dist/document-gate-wiring.d.ts.map +1 -0
- package/dist/document-gate-wiring.js +125 -0
- package/dist/document-gate-wiring.js.map +1 -0
- package/dist/document-gate.d.ts +149 -0
- package/dist/document-gate.d.ts.map +1 -0
- package/dist/document-gate.js +509 -0
- package/dist/document-gate.js.map +1 -0
- package/dist/document-handlers.d.ts +47 -0
- package/dist/document-handlers.d.ts.map +1 -0
- package/dist/document-handlers.js +2203 -0
- package/dist/document-handlers.js.map +1 -0
- package/dist/document-handshake.d.ts +176 -0
- package/dist/document-handshake.d.ts.map +1 -0
- package/dist/document-handshake.js +452 -0
- package/dist/document-handshake.js.map +1 -0
- package/dist/document-inbound.d.ts +162 -0
- package/dist/document-inbound.d.ts.map +1 -0
- package/dist/document-inbound.js +530 -0
- package/dist/document-inbound.js.map +1 -0
- package/dist/document-json.d.ts +120 -0
- package/dist/document-json.d.ts.map +1 -0
- package/dist/document-json.js +191 -0
- package/dist/document-json.js.map +1 -0
- package/dist/document-layer.d.ts +215 -0
- package/dist/document-layer.d.ts.map +1 -0
- package/dist/document-layer.js +1025 -0
- package/dist/document-layer.js.map +1 -0
- package/dist/document-lifecycle.d.ts +52 -0
- package/dist/document-lifecycle.d.ts.map +1 -0
- package/dist/document-lifecycle.js +134 -0
- package/dist/document-lifecycle.js.map +1 -0
- package/dist/document-live-docs.d.ts +58 -0
- package/dist/document-live-docs.d.ts.map +1 -0
- package/dist/document-live-docs.js +126 -0
- package/dist/document-live-docs.js.map +1 -0
- package/dist/document-notify.d.ts +228 -0
- package/dist/document-notify.d.ts.map +1 -0
- package/dist/document-notify.js +580 -0
- package/dist/document-notify.js.map +1 -0
- package/dist/document-profile.d.ts +61 -0
- package/dist/document-profile.d.ts.map +1 -0
- package/dist/document-profile.js +112 -0
- package/dist/document-profile.js.map +1 -0
- package/dist/document-publish.d.ts +87 -0
- package/dist/document-publish.d.ts.map +1 -0
- package/dist/document-publish.js +173 -0
- package/dist/document-publish.js.map +1 -0
- package/dist/document-reachability.d.ts +42 -0
- package/dist/document-reachability.d.ts.map +1 -0
- package/dist/document-reachability.js +80 -0
- package/dist/document-reachability.js.map +1 -0
- package/dist/document-reconcile-engine.d.ts +66 -0
- package/dist/document-reconcile-engine.d.ts.map +1 -0
- package/dist/document-reconcile-engine.js +225 -0
- package/dist/document-reconcile-engine.js.map +1 -0
- package/dist/document-reconcile-scheduler.d.ts +163 -0
- package/dist/document-reconcile-scheduler.d.ts.map +1 -0
- package/dist/document-reconcile-scheduler.js +303 -0
- package/dist/document-reconcile-scheduler.js.map +1 -0
- package/dist/document-rejection.d.ts +251 -0
- package/dist/document-rejection.d.ts.map +1 -0
- package/dist/document-rejection.js +435 -0
- package/dist/document-rejection.js.map +1 -0
- package/dist/document-screen.d.ts +114 -0
- package/dist/document-screen.d.ts.map +1 -0
- package/dist/document-screen.js +223 -0
- package/dist/document-screen.js.map +1 -0
- package/dist/document-store.d.ts +372 -0
- package/dist/document-store.d.ts.map +1 -0
- package/dist/document-store.js +931 -0
- package/dist/document-store.js.map +1 -0
- package/dist/document-surface.d.ts +32 -0
- package/dist/document-surface.d.ts.map +1 -0
- package/dist/document-surface.js +151 -0
- package/dist/document-surface.js.map +1 -0
- package/dist/document-types.d.ts +94 -0
- package/dist/document-types.d.ts.map +1 -0
- package/dist/document-types.js +90 -0
- package/dist/document-types.js.map +1 -0
- package/dist/document-watch.d.ts +69 -0
- package/dist/document-watch.d.ts.map +1 -0
- package/dist/document-watch.js +108 -0
- package/dist/document-watch.js.map +1 -0
- package/dist/document-wiring.d.ts +53 -0
- package/dist/document-wiring.d.ts.map +1 -0
- package/dist/document-wiring.js +323 -0
- package/dist/document-wiring.js.map +1 -0
- package/dist/document-write-guard.d.ts +66 -0
- package/dist/document-write-guard.d.ts.map +1 -0
- package/dist/document-write-guard.js +98 -0
- package/dist/document-write-guard.js.map +1 -0
- package/dist/document-write-path.d.ts +94 -0
- package/dist/document-write-path.d.ts.map +1 -0
- package/dist/document-write-path.js +530 -0
- package/dist/document-write-path.js.map +1 -0
- package/dist/error-message.d.ts +7 -0
- package/dist/error-message.d.ts.map +1 -0
- package/dist/error-message.js +19 -0
- package/dist/error-message.js.map +1 -0
- package/dist/file-manifest-provider.d.ts +37 -0
- package/dist/file-manifest-provider.d.ts.map +1 -0
- package/dist/file-manifest-provider.js +105 -0
- package/dist/file-manifest-provider.js.map +1 -0
- package/dist/frame-values.d.ts +3 -0
- package/dist/frame-values.d.ts.map +1 -0
- package/dist/frame-values.js +84 -0
- package/dist/frame-values.js.map +1 -0
- package/dist/frontier-mismatch.d.ts +73 -0
- package/dist/frontier-mismatch.d.ts.map +1 -0
- package/dist/frontier-mismatch.js +89 -0
- package/dist/frontier-mismatch.js.map +1 -0
- package/dist/gateway-config-handlers.d.ts +26 -0
- package/dist/gateway-config-handlers.d.ts.map +1 -0
- package/dist/gateway-config-handlers.js +454 -0
- package/dist/gateway-config-handlers.js.map +1 -0
- package/dist/held-content.d.ts +145 -0
- package/dist/held-content.d.ts.map +1 -0
- package/dist/held-content.js +389 -0
- package/dist/held-content.js.map +1 -0
- package/dist/http-manifest-poll.d.ts +67 -0
- package/dist/http-manifest-poll.d.ts.map +1 -0
- package/dist/http-manifest-poll.js +150 -0
- package/dist/http-manifest-poll.js.map +1 -0
- package/dist/identity-migration.d.ts +40 -0
- package/dist/identity-migration.d.ts.map +1 -0
- package/dist/identity-migration.js +461 -0
- package/dist/identity-migration.js.map +1 -0
- package/dist/inbound-refusals.d.ts +283 -0
- package/dist/inbound-refusals.d.ts.map +1 -0
- package/dist/inbound-refusals.js +919 -0
- package/dist/inbound-refusals.js.map +1 -0
- package/dist/inbound-seal-request.d.ts +32 -0
- package/dist/inbound-seal-request.d.ts.map +1 -0
- package/dist/inbound-seal-request.js +228 -0
- package/dist/inbound-seal-request.js.map +1 -0
- package/dist/inbound-sessions.d.ts +291 -0
- package/dist/inbound-sessions.d.ts.map +1 -0
- package/dist/inbound-sessions.js +1609 -0
- package/dist/inbound-sessions.js.map +1 -0
- package/dist/inclusion-proof-handlers.d.ts +43 -0
- package/dist/inclusion-proof-handlers.d.ts.map +1 -0
- package/dist/inclusion-proof-handlers.js +565 -0
- package/dist/inclusion-proof-handlers.js.map +1 -0
- package/dist/inclusion-proof.d.ts +151 -0
- package/dist/inclusion-proof.d.ts.map +1 -0
- package/dist/inclusion-proof.js +228 -0
- package/dist/inclusion-proof.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/initiate-session-handler.d.ts +55 -0
- package/dist/initiate-session-handler.d.ts.map +1 -0
- package/dist/initiate-session-handler.js +310 -0
- package/dist/initiate-session-handler.js.map +1 -0
- package/dist/ipc-client.d.ts +31 -0
- package/dist/ipc-client.d.ts.map +1 -0
- package/dist/ipc-client.js +113 -0
- package/dist/ipc-client.js.map +1 -0
- package/dist/ipc-server.d.ts +63 -0
- package/dist/ipc-server.d.ts.map +1 -0
- package/dist/ipc-server.js +429 -0
- package/dist/ipc-server.js.map +1 -0
- package/dist/ipc-surface.d.ts +44 -0
- package/dist/ipc-surface.d.ts.map +1 -0
- package/dist/ipc-surface.js +107 -0
- package/dist/ipc-surface.js.map +1 -0
- package/dist/line-lcs.d.ts +51 -0
- package/dist/line-lcs.d.ts.map +1 -0
- package/dist/line-lcs.js +71 -0
- package/dist/line-lcs.js.map +1 -0
- package/dist/lock-file.d.ts +39 -0
- package/dist/lock-file.d.ts.map +1 -0
- package/dist/lock-file.js +120 -0
- package/dist/lock-file.js.map +1 -0
- package/dist/log-collapse.d.ts +66 -0
- package/dist/log-collapse.d.ts.map +1 -0
- package/dist/log-collapse.js +244 -0
- package/dist/log-collapse.js.map +1 -0
- package/dist/log-rotate.d.ts +67 -0
- package/dist/log-rotate.d.ts.map +1 -0
- package/dist/log-rotate.js +134 -0
- package/dist/log-rotate.js.map +1 -0
- package/dist/manifest-deps.d.ts +25 -0
- package/dist/manifest-deps.d.ts.map +1 -0
- package/dist/manifest-deps.js +151 -0
- package/dist/manifest-deps.js.map +1 -0
- package/dist/manifest-poll-scheduler.d.ts +31 -0
- package/dist/manifest-poll-scheduler.d.ts.map +1 -0
- package/dist/manifest-poll-scheduler.js +59 -0
- package/dist/manifest-poll-scheduler.js.map +1 -0
- package/dist/manifest-validity.d.ts +153 -0
- package/dist/manifest-validity.d.ts.map +1 -0
- package/dist/manifest-validity.js +268 -0
- package/dist/manifest-validity.js.map +1 -0
- package/dist/manifest-version-store-db.d.ts +24 -0
- package/dist/manifest-version-store-db.d.ts.map +1 -0
- package/dist/manifest-version-store-db.js +58 -0
- package/dist/manifest-version-store-db.js.map +1 -0
- package/dist/manifest-version-store.d.ts +16 -0
- package/dist/manifest-version-store.d.ts.map +1 -0
- package/dist/manifest-version-store.js +15 -0
- package/dist/manifest-version-store.js.map +1 -0
- package/dist/network-directory-node.d.ts +136 -0
- package/dist/network-directory-node.d.ts.map +1 -0
- package/dist/network-directory-node.js +810 -0
- package/dist/network-directory-node.js.map +1 -0
- package/dist/nonce-dedup.d.ts +68 -0
- package/dist/nonce-dedup.d.ts.map +1 -0
- package/dist/nonce-dedup.js +205 -0
- package/dist/nonce-dedup.js.map +1 -0
- package/dist/notification-dispatcher.d.ts +92 -0
- package/dist/notification-dispatcher.d.ts.map +1 -0
- package/dist/notification-dispatcher.js +210 -0
- package/dist/notification-dispatcher.js.map +1 -0
- package/dist/notification-handlers.d.ts +53 -0
- package/dist/notification-handlers.d.ts.map +1 -0
- package/dist/notification-handlers.js +461 -0
- package/dist/notification-handlers.js.map +1 -0
- package/dist/onboarding-guidance.d.ts +79 -0
- package/dist/onboarding-guidance.d.ts.map +1 -0
- package/dist/onboarding-guidance.js +95 -0
- package/dist/onboarding-guidance.js.map +1 -0
- package/dist/operator-guidance.d.ts +25 -0
- package/dist/operator-guidance.d.ts.map +1 -0
- package/dist/operator-guidance.js +50 -0
- package/dist/operator-guidance.js.map +1 -0
- package/dist/orphan-triage.d.ts +130 -0
- package/dist/orphan-triage.d.ts.map +1 -0
- package/dist/orphan-triage.js +207 -0
- package/dist/orphan-triage.js.map +1 -0
- package/dist/outbound-sessions.d.ts +126 -0
- package/dist/outbound-sessions.d.ts.map +1 -0
- package/dist/outbound-sessions.js +1052 -0
- package/dist/outbound-sessions.js.map +1 -0
- package/dist/park-envelope.d.ts +329 -0
- package/dist/park-envelope.d.ts.map +1 -0
- package/dist/park-envelope.js +509 -0
- package/dist/park-envelope.js.map +1 -0
- package/dist/park-recovery.d.ts +273 -0
- package/dist/park-recovery.d.ts.map +1 -0
- package/dist/park-recovery.js +717 -0
- package/dist/park-recovery.js.map +1 -0
- package/dist/park-refusals.d.ts +147 -0
- package/dist/park-refusals.d.ts.map +1 -0
- package/dist/park-refusals.js +331 -0
- package/dist/park-refusals.js.map +1 -0
- package/dist/quarantine-framing.d.ts +92 -0
- package/dist/quarantine-framing.d.ts.map +1 -0
- package/dist/quarantine-framing.js +111 -0
- package/dist/quarantine-framing.js.map +1 -0
- package/dist/reconnect-drain.d.ts +22 -0
- package/dist/reconnect-drain.d.ts.map +1 -0
- package/dist/reconnect-drain.js +65 -0
- package/dist/reconnect-drain.js.map +1 -0
- package/dist/recovered-position.d.ts +14 -0
- package/dist/recovered-position.d.ts.map +1 -0
- package/dist/recovered-position.js +59 -0
- package/dist/recovered-position.js.map +1 -0
- package/dist/refusal-notices.d.ts +196 -0
- package/dist/refusal-notices.d.ts.map +1 -0
- package/dist/refusal-notices.js +516 -0
- package/dist/refusal-notices.js.map +1 -0
- package/dist/refusal-reasons.d.ts +245 -0
- package/dist/refusal-reasons.d.ts.map +1 -0
- package/dist/refusal-reasons.js +363 -0
- package/dist/refusal-reasons.js.map +1 -0
- package/dist/register-handler.d.ts +36 -0
- package/dist/register-handler.d.ts.map +1 -0
- package/dist/register-handler.js +285 -0
- package/dist/register-handler.js.map +1 -0
- package/dist/registration-context.d.ts +72 -0
- package/dist/registration-context.d.ts.map +1 -0
- package/dist/registration-context.js +126 -0
- package/dist/registration-context.js.map +1 -0
- package/dist/registration-manager.d.ts +94 -0
- package/dist/registration-manager.d.ts.map +1 -0
- package/dist/registration-manager.js +585 -0
- package/dist/registration-manager.js.map +1 -0
- package/dist/registration-persistence.d.ts +183 -0
- package/dist/registration-persistence.d.ts.map +1 -0
- package/dist/registration-persistence.js +263 -0
- package/dist/registration-persistence.js.map +1 -0
- package/dist/registry-poll.d.ts +52 -0
- package/dist/registry-poll.d.ts.map +1 -0
- package/dist/registry-poll.js +140 -0
- package/dist/registry-poll.js.map +1 -0
- package/dist/registry-version-store-db.d.ts +22 -0
- package/dist/registry-version-store-db.d.ts.map +1 -0
- package/dist/registry-version-store-db.js +50 -0
- package/dist/registry-version-store-db.js.map +1 -0
- package/dist/relay-endpoints.d.ts +18 -0
- package/dist/relay-endpoints.d.ts.map +1 -0
- package/dist/relay-endpoints.js +9 -0
- package/dist/relay-endpoints.js.map +1 -0
- package/dist/relay-only.d.ts +140 -0
- package/dist/relay-only.d.ts.map +1 -0
- package/dist/relay-only.js +193 -0
- package/dist/relay-only.js.map +1 -0
- package/dist/relay-receipt-store.d.ts +155 -0
- package/dist/relay-receipt-store.d.ts.map +1 -0
- package/dist/relay-receipt-store.js +284 -0
- package/dist/relay-receipt-store.js.map +1 -0
- package/dist/relay-reconnect.d.ts +32 -0
- package/dist/relay-reconnect.d.ts.map +1 -0
- package/dist/relay-reconnect.js +29 -0
- package/dist/relay-reconnect.js.map +1 -0
- package/dist/reply-lag.d.ts +11 -0
- package/dist/reply-lag.d.ts.map +1 -0
- package/dist/reply-lag.js +46 -0
- package/dist/reply-lag.js.map +1 -0
- package/dist/resolve-named-agent.d.ts +49 -0
- package/dist/resolve-named-agent.d.ts.map +1 -0
- package/dist/resolve-named-agent.js +77 -0
- package/dist/resolve-named-agent.js.map +1 -0
- package/dist/restart-seal-resolver.d.ts +110 -0
- package/dist/restart-seal-resolver.d.ts.map +1 -0
- package/dist/restart-seal-resolver.js +353 -0
- package/dist/restart-seal-resolver.js.map +1 -0
- package/dist/resume-last-seen.d.ts +15 -0
- package/dist/resume-last-seen.d.ts.map +1 -0
- package/dist/resume-last-seen.js +44 -0
- package/dist/resume-last-seen.js.map +1 -0
- package/dist/retry-queue.d.ts +203 -0
- package/dist/retry-queue.d.ts.map +1 -0
- package/dist/retry-queue.js +701 -0
- package/dist/retry-queue.js.map +1 -0
- package/dist/roster-freshness.d.ts +160 -0
- package/dist/roster-freshness.d.ts.map +1 -0
- package/dist/roster-freshness.js +250 -0
- package/dist/roster-freshness.js.map +1 -0
- package/dist/screening-status.d.ts +15 -0
- package/dist/screening-status.d.ts.map +1 -0
- package/dist/screening-status.js +65 -0
- package/dist/screening-status.js.map +1 -0
- package/dist/seal-carried-close.d.ts +37 -0
- package/dist/seal-carried-close.d.ts.map +1 -0
- package/dist/seal-carried-close.js +179 -0
- package/dist/seal-carried-close.js.map +1 -0
- package/dist/seal-certificate-pull.d.ts +79 -0
- package/dist/seal-certificate-pull.d.ts.map +1 -0
- package/dist/seal-certificate-pull.js +186 -0
- package/dist/seal-certificate-pull.js.map +1 -0
- package/dist/seal-certified-root-check.d.ts +37 -0
- package/dist/seal-certified-root-check.d.ts.map +1 -0
- package/dist/seal-certified-root-check.js +127 -0
- package/dist/seal-certified-root-check.js.map +1 -0
- package/dist/seal-coordinator.d.ts +118 -0
- package/dist/seal-coordinator.d.ts.map +1 -0
- package/dist/seal-coordinator.js +927 -0
- package/dist/seal-coordinator.js.map +1 -0
- package/dist/seal-escalation.d.ts +80 -0
- package/dist/seal-escalation.d.ts.map +1 -0
- package/dist/seal-escalation.js +283 -0
- package/dist/seal-escalation.js.map +1 -0
- package/dist/seal-evidence-root-check.d.ts +70 -0
- package/dist/seal-evidence-root-check.d.ts.map +1 -0
- package/dist/seal-evidence-root-check.js +199 -0
- package/dist/seal-evidence-root-check.js.map +1 -0
- package/dist/seal-failure-store.d.ts +139 -0
- package/dist/seal-failure-store.d.ts.map +1 -0
- package/dist/seal-failure-store.js +207 -0
- package/dist/seal-failure-store.js.map +1 -0
- package/dist/seal-flows.d.ts +107 -0
- package/dist/seal-flows.d.ts.map +1 -0
- package/dist/seal-flows.js +638 -0
- package/dist/seal-flows.js.map +1 -0
- package/dist/seal-frontier-verify.d.ts +103 -0
- package/dist/seal-frontier-verify.d.ts.map +1 -0
- package/dist/seal-frontier-verify.js +143 -0
- package/dist/seal-frontier-verify.js.map +1 -0
- package/dist/seal-leaf.d.ts +58 -0
- package/dist/seal-leaf.d.ts.map +1 -0
- package/dist/seal-leaf.js +112 -0
- package/dist/seal-leaf.js.map +1 -0
- package/dist/seal-legibility-tbs.d.ts +25 -0
- package/dist/seal-legibility-tbs.d.ts.map +1 -0
- package/dist/seal-legibility-tbs.js +77 -0
- package/dist/seal-legibility-tbs.js.map +1 -0
- package/dist/seal-local-terminus.d.ts +41 -0
- package/dist/seal-local-terminus.d.ts.map +1 -0
- package/dist/seal-local-terminus.js +170 -0
- package/dist/seal-local-terminus.js.map +1 -0
- package/dist/seal-receipt-upgrade.d.ts +30 -0
- package/dist/seal-receipt-upgrade.d.ts.map +1 -0
- package/dist/seal-receipt-upgrade.js +49 -0
- package/dist/seal-receipt-upgrade.js.map +1 -0
- package/dist/seal-relay-silence.d.ts +51 -0
- package/dist/seal-relay-silence.d.ts.map +1 -0
- package/dist/seal-relay-silence.js +76 -0
- package/dist/seal-relay-silence.js.map +1 -0
- package/dist/seal-settle.d.ts +38 -0
- package/dist/seal-settle.d.ts.map +1 -0
- package/dist/seal-settle.js +33 -0
- package/dist/seal-settle.js.map +1 -0
- package/dist/seal-upgrade.d.ts +107 -0
- package/dist/seal-upgrade.d.ts.map +1 -0
- package/dist/seal-upgrade.js +200 -0
- package/dist/seal-upgrade.js.map +1 -0
- package/dist/sealed-conversation.d.ts +36 -0
- package/dist/sealed-conversation.d.ts.map +1 -0
- package/dist/sealed-conversation.js +171 -0
- package/dist/sealed-conversation.js.map +1 -0
- package/dist/sealed-leaf-set.d.ts +92 -0
- package/dist/sealed-leaf-set.d.ts.map +1 -0
- package/dist/sealed-leaf-set.js +122 -0
- package/dist/sealed-leaf-set.js.map +1 -0
- package/dist/send-claims.d.ts +56 -0
- package/dist/send-claims.d.ts.map +1 -0
- package/dist/send-claims.js +50 -0
- package/dist/send-claims.js.map +1 -0
- package/dist/session-assignment-parser.d.ts +104 -0
- package/dist/session-assignment-parser.d.ts.map +1 -0
- package/dist/session-assignment-parser.js +345 -0
- package/dist/session-assignment-parser.js.map +1 -0
- package/dist/session-category.d.ts +19 -0
- package/dist/session-category.d.ts.map +1 -0
- package/dist/session-category.js +14 -0
- package/dist/session-category.js.map +1 -0
- package/dist/session-ceremony.d.ts +297 -0
- package/dist/session-ceremony.d.ts.map +1 -0
- package/dist/session-ceremony.js +964 -0
- package/dist/session-ceremony.js.map +1 -0
- package/dist/session-closed.d.ts +79 -0
- package/dist/session-closed.d.ts.map +1 -0
- package/dist/session-closed.js +189 -0
- package/dist/session-closed.js.map +1 -0
- package/dist/session-connection-gater.d.ts +148 -0
- package/dist/session-connection-gater.d.ts.map +1 -0
- package/dist/session-connection-gater.js +332 -0
- package/dist/session-connection-gater.js.map +1 -0
- package/dist/session-content-context.d.ts +162 -0
- package/dist/session-content-context.d.ts.map +1 -0
- package/dist/session-content-context.js +2 -0
- package/dist/session-content-context.js.map +1 -0
- package/dist/session-content-handlers.d.ts +82 -0
- package/dist/session-content-handlers.d.ts.map +1 -0
- package/dist/session-content-handlers.js +1382 -0
- package/dist/session-content-handlers.js.map +1 -0
- package/dist/session-content-ingest.d.ts +206 -0
- package/dist/session-content-ingest.d.ts.map +1 -0
- package/dist/session-content-ingest.js +2167 -0
- package/dist/session-content-ingest.js.map +1 -0
- package/dist/session-content-send.d.ts +191 -0
- package/dist/session-content-send.d.ts.map +1 -0
- package/dist/session-content-send.js +1360 -0
- package/dist/session-content-send.js.map +1 -0
- package/dist/session-delivery-acks.d.ts +169 -0
- package/dist/session-delivery-acks.d.ts.map +1 -0
- package/dist/session-delivery-acks.js +569 -0
- package/dist/session-delivery-acks.js.map +1 -0
- package/dist/session-ephemerals.d.ts +279 -0
- package/dist/session-ephemerals.d.ts.map +1 -0
- package/dist/session-ephemerals.js +591 -0
- package/dist/session-ephemerals.js.map +1 -0
- package/dist/session-leaf-records.d.ts +159 -0
- package/dist/session-leaf-records.d.ts.map +1 -0
- package/dist/session-leaf-records.js +408 -0
- package/dist/session-leaf-records.js.map +1 -0
- package/dist/session-lifecycle.d.ts +303 -0
- package/dist/session-lifecycle.d.ts.map +1 -0
- package/dist/session-lifecycle.js +1679 -0
- package/dist/session-lifecycle.js.map +1 -0
- package/dist/session-liveness.d.ts +135 -0
- package/dist/session-liveness.d.ts.map +1 -0
- package/dist/session-liveness.js +347 -0
- package/dist/session-liveness.js.map +1 -0
- package/dist/session-name.d.ts +35 -0
- package/dist/session-name.d.ts.map +1 -0
- package/dist/session-name.js +60 -0
- package/dist/session-name.js.map +1 -0
- package/dist/session-node-factory.d.ts +18 -0
- package/dist/session-node-factory.d.ts.map +1 -0
- package/dist/session-node-factory.js +182 -0
- package/dist/session-node-factory.js.map +1 -0
- package/dist/session-node-manager.d.ts +877 -0
- package/dist/session-node-manager.d.ts.map +1 -0
- package/dist/session-node-manager.js +2998 -0
- package/dist/session-node-manager.js.map +1 -0
- package/dist/session-node-types.d.ts +1057 -0
- package/dist/session-node-types.d.ts.map +1 -0
- package/dist/session-node-types.js +657 -0
- package/dist/session-node-types.js.map +1 -0
- package/dist/session-notify.d.ts +46 -0
- package/dist/session-notify.d.ts.map +1 -0
- package/dist/session-notify.js +116 -0
- package/dist/session-notify.js.map +1 -0
- package/dist/session-own-chain-store.d.ts +65 -0
- package/dist/session-own-chain-store.d.ts.map +1 -0
- package/dist/session-own-chain-store.js +75 -0
- package/dist/session-own-chain-store.js.map +1 -0
- package/dist/session-queries.d.ts +476 -0
- package/dist/session-queries.d.ts.map +1 -0
- package/dist/session-queries.js +1007 -0
- package/dist/session-queries.js.map +1 -0
- package/dist/session-read-handlers.d.ts +87 -0
- package/dist/session-read-handlers.d.ts.map +1 -0
- package/dist/session-read-handlers.js +689 -0
- package/dist/session-read-handlers.js.map +1 -0
- package/dist/session-records.d.ts +341 -0
- package/dist/session-records.d.ts.map +1 -0
- package/dist/session-records.js +858 -0
- package/dist/session-records.js.map +1 -0
- package/dist/session-relay-client.d.ts +659 -0
- package/dist/session-relay-client.d.ts.map +1 -0
- package/dist/session-relay-client.js +2876 -0
- package/dist/session-relay-client.js.map +1 -0
- package/dist/session-relay.d.ts +397 -0
- package/dist/session-relay.d.ts.map +1 -0
- package/dist/session-relay.js +1636 -0
- package/dist/session-relay.js.map +1 -0
- package/dist/session-salt-agreement.d.ts +331 -0
- package/dist/session-salt-agreement.d.ts.map +1 -0
- package/dist/session-salt-agreement.js +472 -0
- package/dist/session-salt-agreement.js.map +1 -0
- package/dist/session-salts.d.ts +432 -0
- package/dist/session-salts.d.ts.map +1 -0
- package/dist/session-salts.js +1540 -0
- package/dist/session-salts.js.map +1 -0
- package/dist/session-schema.d.ts +30 -0
- package/dist/session-schema.d.ts.map +1 -0
- package/dist/session-schema.js +877 -0
- package/dist/session-schema.js.map +1 -0
- package/dist/session-seal-leaf-store.d.ts +70 -0
- package/dist/session-seal-leaf-store.d.ts.map +1 -0
- package/dist/session-seal-leaf-store.js +105 -0
- package/dist/session-seal-leaf-store.js.map +1 -0
- package/dist/session-seal.d.ts +334 -0
- package/dist/session-seal.d.ts.map +1 -0
- package/dist/session-seal.js +1017 -0
- package/dist/session-seal.js.map +1 -0
- package/dist/session-terminal-refusal.d.ts +65 -0
- package/dist/session-terminal-refusal.d.ts.map +1 -0
- package/dist/session-terminal-refusal.js +87 -0
- package/dist/session-terminal-refusal.js.map +1 -0
- package/dist/session-tree.d.ts +110 -0
- package/dist/session-tree.d.ts.map +1 -0
- package/dist/session-tree.js +144 -0
- package/dist/session-tree.js.map +1 -0
- package/dist/session-views.d.ts +47 -0
- package/dist/session-views.d.ts.map +1 -0
- package/dist/session-views.js +278 -0
- package/dist/session-views.js.map +1 -0
- package/dist/signal-handlers.d.ts +63 -0
- package/dist/signal-handlers.d.ts.map +1 -0
- package/dist/signal-handlers.js +980 -0
- package/dist/signal-handlers.js.map +1 -0
- package/dist/signal-requirement-policy.d.ts +51 -0
- package/dist/signal-requirement-policy.d.ts.map +1 -0
- package/dist/signal-requirement-policy.js +89 -0
- package/dist/signal-requirement-policy.js.map +1 -0
- package/dist/signal-revocability.d.ts +49 -0
- package/dist/signal-revocability.d.ts.map +1 -0
- package/dist/signal-revocability.js +93 -0
- package/dist/signal-revocability.js.map +1 -0
- package/dist/signal-submission.d.ts +181 -0
- package/dist/signal-submission.d.ts.map +1 -0
- package/dist/signal-submission.js +368 -0
- package/dist/signal-submission.js.map +1 -0
- package/dist/signaling-connect.d.ts +118 -0
- package/dist/signaling-connect.d.ts.map +1 -0
- package/dist/signaling-connect.js +538 -0
- package/dist/signaling-connect.js.map +1 -0
- package/dist/signaling-wiring.d.ts +105 -0
- package/dist/signaling-wiring.d.ts.map +1 -0
- package/dist/signaling-wiring.js +393 -0
- package/dist/signaling-wiring.js.map +1 -0
- package/dist/singleton-lock.d.ts +85 -0
- package/dist/singleton-lock.d.ts.map +1 -0
- package/dist/singleton-lock.js +219 -0
- package/dist/singleton-lock.js.map +1 -0
- package/dist/sqlcipher-db.d.ts +139 -0
- package/dist/sqlcipher-db.d.ts.map +1 -0
- package/dist/sqlcipher-db.js +357 -0
- package/dist/sqlcipher-db.js.map +1 -0
- package/dist/standing-receivers.d.ts +319 -0
- package/dist/standing-receivers.d.ts.map +1 -0
- package/dist/standing-receivers.js +1295 -0
- package/dist/standing-receivers.js.map +1 -0
- package/dist/start-agent.d.ts +64 -0
- package/dist/start-agent.d.ts.map +1 -0
- package/dist/start-agent.js +136 -0
- package/dist/start-agent.js.map +1 -0
- package/dist/status-handler.d.ts +54 -0
- package/dist/status-handler.d.ts.map +1 -0
- package/dist/status-handler.js +61 -0
- package/dist/status-handler.js.map +1 -0
- package/dist/submission-retry.d.ts +208 -0
- package/dist/submission-retry.d.ts.map +1 -0
- package/dist/submission-retry.js +506 -0
- package/dist/submission-retry.js.map +1 -0
- package/dist/telegram-bot-client.d.ts +34 -0
- package/dist/telegram-bot-client.d.ts.map +1 -0
- package/dist/telegram-bot-client.js +36 -0
- package/dist/telegram-bot-client.js.map +1 -0
- package/dist/telegram-doorbell.d.ts +38 -0
- package/dist/telegram-doorbell.d.ts.map +1 -0
- package/dist/telegram-doorbell.js +140 -0
- package/dist/telegram-doorbell.js.map +1 -0
- package/dist/test-handlers.d.ts +62 -0
- package/dist/test-handlers.d.ts.map +1 -0
- package/dist/test-handlers.js +240 -0
- package/dist/test-handlers.js.map +1 -0
- package/dist/testing.d.ts +10 -0
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +10 -0
- package/dist/testing.js.map +1 -0
- package/dist/transport-composition.d.ts +31 -0
- package/dist/transport-composition.d.ts.map +1 -0
- package/dist/transport-composition.js +55 -0
- package/dist/transport-composition.js.map +1 -0
- package/dist/transport-selector.d.ts +202 -0
- package/dist/transport-selector.d.ts.map +1 -0
- package/dist/transport-selector.js +196 -0
- package/dist/transport-selector.js.map +1 -0
- package/dist/trust-signal-pickup-listener.d.ts +43 -0
- package/dist/trust-signal-pickup-listener.d.ts.map +1 -0
- package/dist/trust-signal-pickup-listener.js +48 -0
- package/dist/trust-signal-pickup-listener.js.map +1 -0
- package/dist/trust-signal-store.d.ts +406 -0
- package/dist/trust-signal-store.d.ts.map +1 -0
- package/dist/trust-signal-store.js +939 -0
- package/dist/trust-signal-store.js.map +1 -0
- package/dist/trust-signal-sweep-tick.d.ts +60 -0
- package/dist/trust-signal-sweep-tick.d.ts.map +1 -0
- package/dist/trust-signal-sweep-tick.js +101 -0
- package/dist/trust-signal-sweep-tick.js.map +1 -0
- package/dist/trust-signal-sweep.d.ts +94 -0
- package/dist/trust-signal-sweep.d.ts.map +1 -0
- package/dist/trust-signal-sweep.js +147 -0
- package/dist/trust-signal-sweep.js.map +1 -0
- package/dist/type-registry.d.ts +42 -0
- package/dist/type-registry.d.ts.map +1 -0
- package/dist/type-registry.js +37 -0
- package/dist/type-registry.js.map +1 -0
- package/dist/types.d.ts +746 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +20 -0
- package/dist/types.js.map +1 -0
- package/dist/unresolved-nodes-report.d.ts +14 -0
- package/dist/unresolved-nodes-report.d.ts.map +1 -0
- package/dist/unresolved-nodes-report.js +96 -0
- package/dist/unresolved-nodes-report.js.map +1 -0
- package/dist/vocabulary.d.ts +150 -0
- package/dist/vocabulary.d.ts.map +1 -0
- package/dist/vocabulary.js +386 -0
- package/dist/vocabulary.js.map +1 -0
- package/dist/who-label.d.ts +28 -0
- package/dist/who-label.d.ts.map +1 -0
- package/dist/who-label.js +31 -0
- package/dist/who-label.js.map +1 -0
- package/dist/who-resolver.d.ts +15 -0
- package/dist/who-resolver.d.ts.map +1 -0
- package/dist/who-resolver.js +47 -0
- package/dist/who-resolver.js.map +1 -0
- package/dist/wire-content-hash.d.ts +93 -0
- package/dist/wire-content-hash.d.ts.map +1 -0
- package/dist/wire-content-hash.js +116 -0
- package/dist/wire-content-hash.js.map +1 -0
- package/dist/withheld-content.d.ts +13 -0
- package/dist/withheld-content.d.ts.map +1 -0
- package/dist/withheld-content.js +46 -0
- package/dist/withheld-content.js.map +1 -0
- package/dist/witness-alerts.d.ts +40 -0
- package/dist/witness-alerts.d.ts.map +1 -0
- package/dist/witness-alerts.js +102 -0
- package/dist/witness-alerts.js.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DOD-M15-CONSORTIUM-FINGERPRINT-1 — which consortium is this daemon actually verifying against?
|
|
3
|
+
*
|
|
4
|
+
* ─── The attack this answers ───────────────────────────────────────────────────────────────────
|
|
5
|
+
*
|
|
6
|
+
* Anyone can fork the open-source client, stand up three nodes, sign their own consortium manifest
|
|
7
|
+
* with their own officer root key and market the result as CELLO. The receipts that network issues
|
|
8
|
+
* mean nothing, and when it is broken into the headline says CELLO was hacked. This is the
|
|
9
|
+
* shadow-frontend attack from crypto, and it worked there for exactly one reason: a user had no
|
|
10
|
+
* cheap way to tell the real deployment from the copy.
|
|
11
|
+
*
|
|
12
|
+
* ─── What already works, and what did not ──────────────────────────────────────────────────────
|
|
13
|
+
*
|
|
14
|
+
* The VERIFICATION is not the gap. `EmbeddedManifestProvider.loadAndVerify` refuses any manifest
|
|
15
|
+
* whose officer signatures do not verify against the root keys it is handed, and fails CLOSED with
|
|
16
|
+
* `manifest_signature_invalid`. A fake consortium cannot fool a genuine client that is verifying
|
|
17
|
+
* against ours; it can only ship its own client.
|
|
18
|
+
*
|
|
19
|
+
* The gap is that the answer was never shown. "Am I on the real network?" was a judgement call
|
|
20
|
+
* instead of a command — this milestone's recurring shape, a check that runs, decides correctly, and
|
|
21
|
+
* tells nobody.
|
|
22
|
+
*
|
|
23
|
+
* ─── ⚠️ IT REPORTS THE ENFORCED KEYS, NOT THE COMPILED-IN ONES, AND THAT IS THE UNIT ───────────
|
|
24
|
+
*
|
|
25
|
+
* The first cut of this module read `BUNDLED_CONSORTIUM_ROOT_KEYS` unconditionally, and review
|
|
26
|
+
* measured that the daemon does not always verify against them. `buildManifestDeps` has three
|
|
27
|
+
* outcomes, not one:
|
|
28
|
+
*
|
|
29
|
+
* BUNDLED no `CELLO_CONSORTIUM_MANIFEST`, and the directory URL matches the bundled roster →
|
|
30
|
+
* the compiled-in keys are what `loadAndVerify` is handed.
|
|
31
|
+
* OVERRIDDEN `CELLO_CONSORTIUM_MANIFEST` is set → `CELLO_CONSORTIUM_ROOT_KEYS` and
|
|
32
|
+
* `CELLO_CONSORTIUM_THRESHOLD` are what it is handed. A different consortium.
|
|
33
|
+
* NOT ANCHORED the resolved directory URL is not a bundled endpoint → `{}`: no provider, no root
|
|
34
|
+
* keys, no manifest verification at all.
|
|
35
|
+
*
|
|
36
|
+
* Printing the bundled fingerprint in the last two postures is the precise failure this order exists
|
|
37
|
+
* to prevent, aimed the worst possible way: an operator talked into pointing at a fork reads the
|
|
38
|
+
* genuine CELLO fingerprint and concludes they are safe. So the block takes the keys the daemon
|
|
39
|
+
* hands the verifier, says which of the three postures it is in, and where nothing is anchored it
|
|
40
|
+
* reports that instead of a fingerprint — a value describing a check that is not running is the one
|
|
41
|
+
* output worse than silence.
|
|
42
|
+
*
|
|
43
|
+
* The value is still not configurable in the sense that matters: nothing here reads the environment,
|
|
44
|
+
* and an override cannot make this block SAY `bundled`. It can only make it say, out loud, that an
|
|
45
|
+
* override is in force.
|
|
46
|
+
*
|
|
47
|
+
* Crypto reference: RFC 6234 (SHA-256). The digest is an identifier, not a security boundary — the
|
|
48
|
+
* security boundary is the Ed25519 threshold verification in `verifyManifest` (RFC 8032). This makes
|
|
49
|
+
* that boundary's anchor readable by a human in one glance.
|
|
50
|
+
*/
|
|
51
|
+
import type { Logger } from "./types.js";
|
|
52
|
+
/**
|
|
53
|
+
* Domain separator. Versioned so a future change to what the fingerprint covers produces a visibly
|
|
54
|
+
* different value rather than a silently different one over the same inputs.
|
|
55
|
+
*/
|
|
56
|
+
export declare const CONSORTIUM_FINGERPRINT_DOMAIN = "cello-consortium-root-v1";
|
|
57
|
+
/** Where the genuine value is published, for an operator comparing what they just read. */
|
|
58
|
+
export declare const CONSORTIUM_FINGERPRINT_PUBLISHED_AT = "https://cello.mygentic.ai/fingerprint";
|
|
59
|
+
/**
|
|
60
|
+
* The canonical preimage: domain, then the root keys lowercased and SORTED, then the threshold.
|
|
61
|
+
*
|
|
62
|
+
* Sorting is what makes the fingerprint a property of the KEY SET rather than of the order someone
|
|
63
|
+
* happened to write the array in — otherwise a cosmetic reordering during an officer rotation would
|
|
64
|
+
* read as a different consortium and send an operator hunting an attack that is not there.
|
|
65
|
+
*
|
|
66
|
+
* The threshold is inside the preimage because it is enforced alongside the keys: the same two
|
|
67
|
+
* officer keys at threshold 1 and at threshold 2 are different trust arrangements, and a fork that
|
|
68
|
+
* reused our keys at a weaker threshold would otherwise fingerprint identically to us.
|
|
69
|
+
*/
|
|
70
|
+
export declare function consortiumFingerprintPreimage(rootKeys: readonly string[], threshold: number): string;
|
|
71
|
+
/** The full SHA-256 digest, hex, of the canonical preimage. */
|
|
72
|
+
export declare function consortiumFingerprintFull(rootKeys: readonly string[], threshold: number): string;
|
|
73
|
+
/**
|
|
74
|
+
* The SHORT form an operator actually compares by eye: the first 16 hex characters of the digest,
|
|
75
|
+
* in four groups of four.
|
|
76
|
+
*
|
|
77
|
+
* Grouped because an ungrouped hex run is where eye-comparison fails — a reader checks the first
|
|
78
|
+
* few characters and the last few and skips the middle, which is precisely the substitution an
|
|
79
|
+
* attacker would make. The full digest stays in the response beside it for anything automated.
|
|
80
|
+
*/
|
|
81
|
+
export declare function consortiumFingerprintShort(rootKeys: readonly string[], threshold: number): string;
|
|
82
|
+
/** What the daemon actually hands `loadAndVerify` — the same two values, or neither. */
|
|
83
|
+
export interface EnforcedConsortium {
|
|
84
|
+
rootKeys: readonly string[] | undefined;
|
|
85
|
+
threshold: number | undefined;
|
|
86
|
+
}
|
|
87
|
+
export type ConsortiumPosture = "bundled" | "overridden" | "not_anchored";
|
|
88
|
+
/**
|
|
89
|
+
* Which of the three postures a set of enforced values represents.
|
|
90
|
+
*
|
|
91
|
+
* `bundled` is decided by comparing FINGERPRINTS rather than array contents, so a reordered or
|
|
92
|
+
* differently-cased copy of our own key set is still recognised as ours — the same normalisation the
|
|
93
|
+
* published value carries, applied to the decision that quotes it.
|
|
94
|
+
*/
|
|
95
|
+
export declare function consortiumPosture(enforced: EnforcedConsortium): ConsortiumPosture;
|
|
96
|
+
/**
|
|
97
|
+
* The status block, for `cello status` and `cello_status`.
|
|
98
|
+
*
|
|
99
|
+
* NOTE the same inversion as `describeDirectoryAuth`: the HEALTHY case contributes a field here,
|
|
100
|
+
* against this milestone's general rule that a field on the good path is furniture. The defect being
|
|
101
|
+
* closed is that the real network and a fork are distinguished by nothing an operator can read, so
|
|
102
|
+
* "I checked, and it is ours" has to be an answer they can obtain — an absence proves nothing.
|
|
103
|
+
*/
|
|
104
|
+
export declare function describeConsortiumFingerprint(enforced: EnforcedConsortium): Record<string, unknown>;
|
|
105
|
+
/**
|
|
106
|
+
* The startup event — clause 6: "which network is this daemon on" is one grep.
|
|
107
|
+
*
|
|
108
|
+
* Emitted unconditionally, on every startup and in all three postures, because the question is asked
|
|
109
|
+
* AFTER the fact. An operator reading a log days later, about a daemon that is no longer running,
|
|
110
|
+
* cannot go and run `cello status` on it; the status surface answers only for a process that still
|
|
111
|
+
* exists. It reports the ENFORCED keys for the same reason the status block does — a log line saying
|
|
112
|
+
* a daemon was anchored to CELLO when it was anchored to nothing is worse than no log line.
|
|
113
|
+
*/
|
|
114
|
+
export declare function logConsortiumAnchor(logger: Logger, enforced: EnforcedConsortium): void;
|
|
115
|
+
//# sourceMappingURL=consortium-fingerprint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consortium-fingerprint.d.ts","sourceRoot":"","sources":["../src/consortium-fingerprint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAOH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AAExE,2FAA2F;AAC3F,eAAO,MAAM,mCAAmC,0CAA0C,CAAC;AAE3F;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAGpG;AAED,+DAA+D;AAC/D,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEhG;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAGjG;AAED,wFAAwF;AACxF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACxC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,YAAY,GAAG,cAAc,CAAC;AAE1E;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,iBAAiB,CAKjF;AAED;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA6CnG;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAWtF"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DOD-M15-CONSORTIUM-FINGERPRINT-1 — which consortium is this daemon actually verifying against?
|
|
3
|
+
*
|
|
4
|
+
* ─── The attack this answers ───────────────────────────────────────────────────────────────────
|
|
5
|
+
*
|
|
6
|
+
* Anyone can fork the open-source client, stand up three nodes, sign their own consortium manifest
|
|
7
|
+
* with their own officer root key and market the result as CELLO. The receipts that network issues
|
|
8
|
+
* mean nothing, and when it is broken into the headline says CELLO was hacked. This is the
|
|
9
|
+
* shadow-frontend attack from crypto, and it worked there for exactly one reason: a user had no
|
|
10
|
+
* cheap way to tell the real deployment from the copy.
|
|
11
|
+
*
|
|
12
|
+
* ─── What already works, and what did not ──────────────────────────────────────────────────────
|
|
13
|
+
*
|
|
14
|
+
* The VERIFICATION is not the gap. `EmbeddedManifestProvider.loadAndVerify` refuses any manifest
|
|
15
|
+
* whose officer signatures do not verify against the root keys it is handed, and fails CLOSED with
|
|
16
|
+
* `manifest_signature_invalid`. A fake consortium cannot fool a genuine client that is verifying
|
|
17
|
+
* against ours; it can only ship its own client.
|
|
18
|
+
*
|
|
19
|
+
* The gap is that the answer was never shown. "Am I on the real network?" was a judgement call
|
|
20
|
+
* instead of a command — this milestone's recurring shape, a check that runs, decides correctly, and
|
|
21
|
+
* tells nobody.
|
|
22
|
+
*
|
|
23
|
+
* ─── ⚠️ IT REPORTS THE ENFORCED KEYS, NOT THE COMPILED-IN ONES, AND THAT IS THE UNIT ───────────
|
|
24
|
+
*
|
|
25
|
+
* The first cut of this module read `BUNDLED_CONSORTIUM_ROOT_KEYS` unconditionally, and review
|
|
26
|
+
* measured that the daemon does not always verify against them. `buildManifestDeps` has three
|
|
27
|
+
* outcomes, not one:
|
|
28
|
+
*
|
|
29
|
+
* BUNDLED no `CELLO_CONSORTIUM_MANIFEST`, and the directory URL matches the bundled roster →
|
|
30
|
+
* the compiled-in keys are what `loadAndVerify` is handed.
|
|
31
|
+
* OVERRIDDEN `CELLO_CONSORTIUM_MANIFEST` is set → `CELLO_CONSORTIUM_ROOT_KEYS` and
|
|
32
|
+
* `CELLO_CONSORTIUM_THRESHOLD` are what it is handed. A different consortium.
|
|
33
|
+
* NOT ANCHORED the resolved directory URL is not a bundled endpoint → `{}`: no provider, no root
|
|
34
|
+
* keys, no manifest verification at all.
|
|
35
|
+
*
|
|
36
|
+
* Printing the bundled fingerprint in the last two postures is the precise failure this order exists
|
|
37
|
+
* to prevent, aimed the worst possible way: an operator talked into pointing at a fork reads the
|
|
38
|
+
* genuine CELLO fingerprint and concludes they are safe. So the block takes the keys the daemon
|
|
39
|
+
* hands the verifier, says which of the three postures it is in, and where nothing is anchored it
|
|
40
|
+
* reports that instead of a fingerprint — a value describing a check that is not running is the one
|
|
41
|
+
* output worse than silence.
|
|
42
|
+
*
|
|
43
|
+
* The value is still not configurable in the sense that matters: nothing here reads the environment,
|
|
44
|
+
* and an override cannot make this block SAY `bundled`. It can only make it say, out loud, that an
|
|
45
|
+
* override is in force.
|
|
46
|
+
*
|
|
47
|
+
* Crypto reference: RFC 6234 (SHA-256). The digest is an identifier, not a security boundary — the
|
|
48
|
+
* security boundary is the Ed25519 threshold verification in `verifyManifest` (RFC 8032). This makes
|
|
49
|
+
* that boundary's anchor readable by a human in one glance.
|
|
50
|
+
*/
|
|
51
|
+
import { createHash } from "node:crypto";
|
|
52
|
+
import { BUNDLED_CONSORTIUM_ROOT_KEYS, BUNDLED_CONSORTIUM_THRESHOLD, } from "./bundled-consortium-manifest.js";
|
|
53
|
+
/**
|
|
54
|
+
* Domain separator. Versioned so a future change to what the fingerprint covers produces a visibly
|
|
55
|
+
* different value rather than a silently different one over the same inputs.
|
|
56
|
+
*/
|
|
57
|
+
export const CONSORTIUM_FINGERPRINT_DOMAIN = "cello-consortium-root-v1";
|
|
58
|
+
/** Where the genuine value is published, for an operator comparing what they just read. */
|
|
59
|
+
export const CONSORTIUM_FINGERPRINT_PUBLISHED_AT = "https://cello.mygentic.ai/fingerprint";
|
|
60
|
+
/**
|
|
61
|
+
* The canonical preimage: domain, then the root keys lowercased and SORTED, then the threshold.
|
|
62
|
+
*
|
|
63
|
+
* Sorting is what makes the fingerprint a property of the KEY SET rather than of the order someone
|
|
64
|
+
* happened to write the array in — otherwise a cosmetic reordering during an officer rotation would
|
|
65
|
+
* read as a different consortium and send an operator hunting an attack that is not there.
|
|
66
|
+
*
|
|
67
|
+
* The threshold is inside the preimage because it is enforced alongside the keys: the same two
|
|
68
|
+
* officer keys at threshold 1 and at threshold 2 are different trust arrangements, and a fork that
|
|
69
|
+
* reused our keys at a weaker threshold would otherwise fingerprint identically to us.
|
|
70
|
+
*/
|
|
71
|
+
export function consortiumFingerprintPreimage(rootKeys, threshold) {
|
|
72
|
+
const keys = [...rootKeys].map((k) => k.trim().toLowerCase()).sort();
|
|
73
|
+
return [CONSORTIUM_FINGERPRINT_DOMAIN, ...keys, String(threshold)].join("\n") + "\n";
|
|
74
|
+
}
|
|
75
|
+
/** The full SHA-256 digest, hex, of the canonical preimage. */
|
|
76
|
+
export function consortiumFingerprintFull(rootKeys, threshold) {
|
|
77
|
+
return createHash("sha256").update(consortiumFingerprintPreimage(rootKeys, threshold), "utf8").digest("hex");
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The SHORT form an operator actually compares by eye: the first 16 hex characters of the digest,
|
|
81
|
+
* in four groups of four.
|
|
82
|
+
*
|
|
83
|
+
* Grouped because an ungrouped hex run is where eye-comparison fails — a reader checks the first
|
|
84
|
+
* few characters and the last few and skips the middle, which is precisely the substitution an
|
|
85
|
+
* attacker would make. The full digest stays in the response beside it for anything automated.
|
|
86
|
+
*/
|
|
87
|
+
export function consortiumFingerprintShort(rootKeys, threshold) {
|
|
88
|
+
const full = consortiumFingerprintFull(rootKeys, threshold);
|
|
89
|
+
return (full.slice(0, 16).match(/.{4}/g) ?? []).join("-");
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Which of the three postures a set of enforced values represents.
|
|
93
|
+
*
|
|
94
|
+
* `bundled` is decided by comparing FINGERPRINTS rather than array contents, so a reordered or
|
|
95
|
+
* differently-cased copy of our own key set is still recognised as ours — the same normalisation the
|
|
96
|
+
* published value carries, applied to the decision that quotes it.
|
|
97
|
+
*/
|
|
98
|
+
export function consortiumPosture(enforced) {
|
|
99
|
+
const { rootKeys, threshold } = enforced;
|
|
100
|
+
if (!rootKeys || rootKeys.length === 0 || threshold === undefined || threshold < 1)
|
|
101
|
+
return "not_anchored";
|
|
102
|
+
const bundled = consortiumFingerprintFull(BUNDLED_CONSORTIUM_ROOT_KEYS, BUNDLED_CONSORTIUM_THRESHOLD);
|
|
103
|
+
return consortiumFingerprintFull(rootKeys, threshold) === bundled ? "bundled" : "overridden";
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The status block, for `cello status` and `cello_status`.
|
|
107
|
+
*
|
|
108
|
+
* NOTE the same inversion as `describeDirectoryAuth`: the HEALTHY case contributes a field here,
|
|
109
|
+
* against this milestone's general rule that a field on the good path is furniture. The defect being
|
|
110
|
+
* closed is that the real network and a fork are distinguished by nothing an operator can read, so
|
|
111
|
+
* "I checked, and it is ours" has to be an answer they can obtain — an absence proves nothing.
|
|
112
|
+
*/
|
|
113
|
+
export function describeConsortiumFingerprint(enforced) {
|
|
114
|
+
const posture = consortiumPosture(enforced);
|
|
115
|
+
const bundledShort = consortiumFingerprintShort(BUNDLED_CONSORTIUM_ROOT_KEYS, BUNDLED_CONSORTIUM_THRESHOLD);
|
|
116
|
+
if (posture === "not_anchored") {
|
|
117
|
+
return {
|
|
118
|
+
consortium_root_fingerprint: null,
|
|
119
|
+
consortium_root_fingerprint_state: "not_anchored",
|
|
120
|
+
consortium_root_fingerprint_guidance: "This daemon is verifying NO consortium manifest, so there is no root key set to fingerprint " +
|
|
121
|
+
"and nothing here tells you which network you are on. It happens when the resolved directory " +
|
|
122
|
+
"URL is not one of the endpoints in the bundled roster — local development and the e2e " +
|
|
123
|
+
"harness are the designed cases. A daemon started through the normal CLI with " +
|
|
124
|
+
"CELLO_DIRECTORY_URL unset anchors to the bundled roster automatically; " +
|
|
125
|
+
"directory_authentication in this same output reports the related posture and names the URL " +
|
|
126
|
+
"that failed to match. The CELLO consortium's own fingerprint is " + bundledShort +
|
|
127
|
+
", published at " + CONSORTIUM_FINGERPRINT_PUBLISHED_AT + ".",
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
const rootKeys = enforced.rootKeys;
|
|
131
|
+
const threshold = enforced.threshold;
|
|
132
|
+
return {
|
|
133
|
+
consortium_root_fingerprint: consortiumFingerprintShort(rootKeys, threshold),
|
|
134
|
+
consortium_root_fingerprint_full: consortiumFingerprintFull(rootKeys, threshold),
|
|
135
|
+
consortium_root_fingerprint_state: posture,
|
|
136
|
+
// Only when they differ. On the bundled path the two are the same value, and printing it twice
|
|
137
|
+
// invites a reader to compare a number with itself and conclude something from the match.
|
|
138
|
+
...(posture === "overridden" ? { consortium_root_fingerprint_bundled: bundledShort } : {}),
|
|
139
|
+
consortium_root_fingerprint_guidance: posture === "bundled"
|
|
140
|
+
? "This is the consortium root key set this daemon verifies every manifest against; a " +
|
|
141
|
+
"manifest signed by any other root key is refused. It is the set compiled into this " +
|
|
142
|
+
"client, and no setting is overriding it. Compare it with the value published at " +
|
|
143
|
+
CONSORTIUM_FINGERPRINT_PUBLISHED_AT + " — if they differ, this client is not talking to " +
|
|
144
|
+
"the CELLO consortium, whatever it calls itself."
|
|
145
|
+
: "This daemon is verifying manifests against a root key set supplied by " +
|
|
146
|
+
"CELLO_CONSORTIUM_ROOT_KEYS / CELLO_CONSORTIUM_THRESHOLD, NOT the set compiled into this " +
|
|
147
|
+
"client (" + bundledShort + "). That is a different consortium, and receipts from it say " +
|
|
148
|
+
"nothing about CELLO. If you did not choose that deliberately, unset all three of " +
|
|
149
|
+
"CELLO_CONSORTIUM_MANIFEST, CELLO_CONSORTIUM_ROOT_KEYS and CELLO_CONSORTIUM_THRESHOLD and " +
|
|
150
|
+
"restart the daemon, which returns it to the bundled roster. The genuine CELLO value is " +
|
|
151
|
+
"published at " + CONSORTIUM_FINGERPRINT_PUBLISHED_AT + ".",
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* The startup event — clause 6: "which network is this daemon on" is one grep.
|
|
156
|
+
*
|
|
157
|
+
* Emitted unconditionally, on every startup and in all three postures, because the question is asked
|
|
158
|
+
* AFTER the fact. An operator reading a log days later, about a daemon that is no longer running,
|
|
159
|
+
* cannot go and run `cello status` on it; the status surface answers only for a process that still
|
|
160
|
+
* exists. It reports the ENFORCED keys for the same reason the status block does — a log line saying
|
|
161
|
+
* a daemon was anchored to CELLO when it was anchored to nothing is worse than no log line.
|
|
162
|
+
*/
|
|
163
|
+
export function logConsortiumAnchor(logger, enforced) {
|
|
164
|
+
const posture = consortiumPosture(enforced);
|
|
165
|
+
const anchored = posture !== "not_anchored";
|
|
166
|
+
logger.info("daemon.consortium.anchored", {
|
|
167
|
+
posture,
|
|
168
|
+
fingerprint: anchored ? consortiumFingerprintShort(enforced.rootKeys, enforced.threshold) : null,
|
|
169
|
+
fingerprintFull: anchored ? consortiumFingerprintFull(enforced.rootKeys, enforced.threshold) : null,
|
|
170
|
+
bundledFingerprint: consortiumFingerprintShort(BUNDLED_CONSORTIUM_ROOT_KEYS, BUNDLED_CONSORTIUM_THRESHOLD),
|
|
171
|
+
rootKeyCount: enforced.rootKeys?.length ?? 0,
|
|
172
|
+
threshold: enforced.threshold ?? null,
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
//# sourceMappingURL=consortium-fingerprint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consortium-fingerprint.js","sourceRoot":"","sources":["../src/consortium-fingerprint.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { IpcHandler } from "./ipc-server.js";
|
|
2
|
+
import type { SessionNodeManager } from "./session-node-manager.js";
|
|
3
|
+
import type { Logger } from "./types.js";
|
|
4
|
+
import type { AgentInfo } from "./types.js";
|
|
5
|
+
/** The per-connection agent selection, as the address book needs to read it. */
|
|
6
|
+
export interface ConnState {
|
|
7
|
+
currentAgent: string | null;
|
|
8
|
+
clearedAgent?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ContactHandlerDeps {
|
|
11
|
+
handlers: Map<string, IpcHandler>;
|
|
12
|
+
sessionNodeManager: SessionNodeManager;
|
|
13
|
+
/**
|
|
14
|
+
* Read this connection's agent selection. The READ, not the container: these handlers only ever
|
|
15
|
+
* `.get(connectionId)`, and injecting the whole Map would hand the address book the power to
|
|
16
|
+
* mutate connection state it has no business touching.
|
|
17
|
+
*/
|
|
18
|
+
getConnState: (connectionId: string) => ConnState | undefined;
|
|
19
|
+
/** The daemon's single agent-selection rule. Injected, never re-implemented here. */
|
|
20
|
+
resolveCurrentAgent: (connState: ConnState | undefined, explicitAgent?: string) => string | null;
|
|
21
|
+
/** DOD-INBOX-AGENT-1: every agent, so an explicitly NAMED one can be validated before we WRITE. */
|
|
22
|
+
agents: ReadonlyArray<AgentInfo>;
|
|
23
|
+
/**
|
|
24
|
+
* Set (or clear, with null) an agent's outbound-name override. False when no such agent exists.
|
|
25
|
+
*
|
|
26
|
+
* Injected as a capability rather than reached for, because `cello_set_moniker` was the ONE
|
|
27
|
+
* address-book handler that bypassed the store interface entirely and grabbed the raw SQLite
|
|
28
|
+
* handle (`sessionNodeManager.getDb()`) to build a DbIdentityStore. Every other handler goes
|
|
29
|
+
* through a store method. Inside the closure that asymmetry was invisible; the extraction made it
|
|
30
|
+
* the single thing standing between this module and "needs no database". Same call, same
|
|
31
|
+
* behavior — the daemon still constructs the DbIdentityStore. It just says so out loud now.
|
|
32
|
+
*/
|
|
33
|
+
setAgentMoniker: (agentName: string, moniker: string | null) => boolean;
|
|
34
|
+
logger: Logger;
|
|
35
|
+
/** M8C-TGDOOR-1: restart the poller after a token change, with no daemon restart. */
|
|
36
|
+
startTelegramPollerIfConfigured: () => void;
|
|
37
|
+
}
|
|
38
|
+
type Refusal = {
|
|
39
|
+
ok: false;
|
|
40
|
+
reason: string;
|
|
41
|
+
guidance: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Review finding 7 — a contact pubkey must LOOK like a pubkey, or the row can never work.
|
|
45
|
+
*
|
|
46
|
+
* The address-book handlers took `params.pubkey` as any string and stored it. So
|
|
47
|
+
* `cello contact tier add` — a plausible slip under the `contact <pubkey> <op>` shape, where the
|
|
48
|
+
* FIRST positional is the pubkey — persisted a contact whose pubkey is the literal text "tier",
|
|
49
|
+
* and answered ok:true. Nothing would ever match it: it is not a key, so it can never be a
|
|
50
|
+
* counterparty. The operator is told they added someone; they added a typo.
|
|
51
|
+
*
|
|
52
|
+
* A key is 32 bytes, hex: 64 characters. Anything else is refused, loudly, with the value echoed
|
|
53
|
+
* so the slip is obvious. Returns null when the pubkey is absent — the caller's own missing_params
|
|
54
|
+
* check owns that case and says something more useful.
|
|
55
|
+
*/
|
|
56
|
+
export declare function invalidPubkey(pubkey: string | undefined): Refusal | null;
|
|
57
|
+
export declare function registerContactHandlers(deps: ContactHandlerDeps): void;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=contact-handlers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-handlers.d.ts","sourceRoot":"","sources":["../src/contact-handlers.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAWzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,gFAAgF;AAChF,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAClC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC;;;;OAIG;IACH,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,CAAC;IAC9D,qFAAqF;IACrF,mBAAmB,EAAE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,EAAE,aAAa,CAAC,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IACjG,mGAAmG;IACnG,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACjC;;;;;;;;;OASG;IACH,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,KAAK,OAAO,CAAC;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,+BAA+B,EAAE,MAAM,IAAI,CAAC;CAC7C;AAED,KAAK,OAAO,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/D;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,IAAI,CAQxE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,CA2StE"}
|