@codemem/core 0.46.3 → 0.47.0-beta.3
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/address-utils.d.ts.map +1 -1
- package/dist/better-sqlite-coordinator-runtime.d.ts +2 -0
- package/dist/better-sqlite-coordinator-runtime.d.ts.map +1 -1
- package/dist/better-sqlite-coordinator-store.d.ts +109 -5
- package/dist/better-sqlite-coordinator-store.d.ts.map +1 -1
- package/dist/coordinator-account-change-browser.d.ts +39 -0
- package/dist/coordinator-account-change-browser.d.ts.map +1 -0
- package/dist/coordinator-account-change-contract.d.ts +4 -0
- package/dist/coordinator-account-change-contract.d.ts.map +1 -0
- package/dist/coordinator-account-change-http-test-fixtures.d.ts +101 -0
- package/dist/coordinator-account-change-http-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-account-change-schema.d.ts +5 -0
- package/dist/coordinator-account-change-schema.d.ts.map +1 -0
- package/dist/coordinator-account-change.d.ts +100 -0
- package/dist/coordinator-account-change.d.ts.map +1 -0
- package/dist/coordinator-account-connection-link.d.ts +25 -0
- package/dist/coordinator-account-connection-link.d.ts.map +1 -0
- package/dist/coordinator-account-connection-schema.d.ts +68 -0
- package/dist/coordinator-account-connection-schema.d.ts.map +1 -0
- package/dist/coordinator-account-connection-session.d.ts +15 -0
- package/dist/coordinator-account-connection-session.d.ts.map +1 -0
- package/dist/coordinator-account-connection-storage.d.ts +46 -0
- package/dist/coordinator-account-connection-storage.d.ts.map +1 -0
- package/dist/coordinator-account-historical-revoke.d.ts +7 -0
- package/dist/coordinator-account-historical-revoke.d.ts.map +1 -0
- package/dist/coordinator-account-link-receipt.d.ts +20 -0
- package/dist/coordinator-account-link-receipt.d.ts.map +1 -0
- package/dist/coordinator-account-link-receiver.d.ts +28 -0
- package/dist/coordinator-account-link-receiver.d.ts.map +1 -0
- package/dist/coordinator-account-link-runtime.d.ts +45 -0
- package/dist/coordinator-account-link-runtime.d.ts.map +1 -0
- package/dist/coordinator-account-link-signer.d.ts +15 -0
- package/dist/coordinator-account-link-signer.d.ts.map +1 -0
- package/dist/coordinator-account-link-status-client.d.ts +37 -0
- package/dist/coordinator-account-link-status-client.d.ts.map +1 -0
- package/dist/coordinator-account-link-status.d.ts +23 -0
- package/dist/coordinator-account-link-status.d.ts.map +1 -0
- package/dist/coordinator-account-unlink-schema.d.ts +7 -0
- package/dist/coordinator-account-unlink-schema.d.ts.map +1 -0
- package/dist/coordinator-actions.d.ts +29 -0
- package/dist/coordinator-actions.d.ts.map +1 -1
- package/dist/coordinator-api.d.ts +21 -1
- package/dist/coordinator-api.d.ts.map +1 -1
- package/dist/coordinator-auth-account-profile-contract.d.ts +41 -0
- package/dist/coordinator-auth-account-profile-contract.d.ts.map +1 -0
- package/dist/coordinator-auth-account-profile.d.ts +27 -0
- package/dist/coordinator-auth-account-profile.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-migration-test-harness.d.ts +18 -0
- package/dist/coordinator-auth-browser-migration-test-harness.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-owner-purpose-test-harness.d.ts +6 -0
- package/dist/coordinator-auth-browser-owner-purpose-test-harness.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-proof-test-fixtures.d.ts +25 -0
- package/dist/coordinator-auth-browser-proof-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-schema-upgrade.d.ts +6 -0
- package/dist/coordinator-auth-browser-schema-upgrade.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-style.d.ts +6 -0
- package/dist/coordinator-auth-browser-style.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-transaction-contract.d.ts +130 -0
- package/dist/coordinator-auth-browser-transaction-contract.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-transaction-test-fixtures.d.ts +14 -0
- package/dist/coordinator-auth-browser-transaction-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-transaction.d.ts +36 -0
- package/dist/coordinator-auth-browser-transaction.d.ts.map +1 -0
- package/dist/coordinator-auth-browser-view.d.ts +84 -0
- package/dist/coordinator-auth-browser-view.d.ts.map +1 -0
- package/dist/coordinator-auth-contract.d.ts +71 -0
- package/dist/coordinator-auth-contract.d.ts.map +1 -0
- package/dist/coordinator-auth-controller-review-route.d.ts +38 -0
- package/dist/coordinator-auth-controller-review-route.d.ts.map +1 -0
- package/dist/coordinator-auth-controller.d.ts +87 -0
- package/dist/coordinator-auth-controller.d.ts.map +1 -0
- package/dist/coordinator-auth-device-claim-eligibility.d.ts +43 -0
- package/dist/coordinator-auth-device-claim-eligibility.d.ts.map +1 -0
- package/dist/coordinator-auth-device-claim-schema.d.ts +116 -0
- package/dist/coordinator-auth-device-claim-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-historical-migration-test-fixture.d.ts +2 -0
- package/dist/coordinator-auth-historical-migration-test-fixture.d.ts.map +1 -0
- package/dist/coordinator-auth-historical-store-test-fixture.d.ts +13 -0
- package/dist/coordinator-auth-historical-store-test-fixture.d.ts.map +1 -0
- package/dist/coordinator-auth-historical-test-fixture.d.ts +48 -0
- package/dist/coordinator-auth-historical-test-fixture.d.ts.map +1 -0
- package/dist/coordinator-auth-legacy-assignment.d.ts +12 -0
- package/dist/coordinator-auth-legacy-assignment.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-admission-schema.d.ts +28 -0
- package/dist/coordinator-auth-lifecycle-admission-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-browser-schema.d.ts +15 -0
- package/dist/coordinator-auth-lifecycle-browser-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-current-readiness.d.ts +7 -0
- package/dist/coordinator-auth-lifecycle-current-readiness.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-first-link.d.ts +17 -0
- package/dist/coordinator-auth-lifecycle-first-link.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-fresh-schema.d.ts +14 -0
- package/dist/coordinator-auth-lifecycle-fresh-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-predecessor-shapes.d.ts +24 -0
- package/dist/coordinator-auth-lifecycle-predecessor-shapes.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-predecessor.d.ts +9 -0
- package/dist/coordinator-auth-lifecycle-predecessor.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-profile-schema.d.ts +13 -0
- package/dist/coordinator-auth-lifecycle-profile-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-recognition.d.ts +22 -0
- package/dist/coordinator-auth-lifecycle-recognition.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-schema.d.ts +20 -0
- package/dist/coordinator-auth-lifecycle-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-upgrade-copy.d.ts +36 -0
- package/dist/coordinator-auth-lifecycle-upgrade-copy.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-upgrade-sqlite.d.ts +11 -0
- package/dist/coordinator-auth-lifecycle-upgrade-sqlite.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-upgrade-test-fixture.d.ts +31 -0
- package/dist/coordinator-auth-lifecycle-upgrade-test-fixture.d.ts.map +1 -0
- package/dist/coordinator-auth-lifecycle-upgrade.d.ts +6 -0
- package/dist/coordinator-auth-lifecycle-upgrade.d.ts.map +1 -0
- package/dist/coordinator-auth-link-authority-upgrade.d.ts +17 -0
- package/dist/coordinator-auth-link-authority-upgrade.d.ts.map +1 -0
- package/dist/coordinator-auth-link-authority.d.ts +92 -0
- package/dist/coordinator-auth-link-authority.d.ts.map +1 -0
- package/dist/coordinator-auth-link-change-schema.d.ts +21 -0
- package/dist/coordinator-auth-link-change-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-link-contract.d.ts +137 -0
- package/dist/coordinator-auth-link-contract.d.ts.map +1 -0
- package/dist/coordinator-auth-link-input.d.ts +7 -0
- package/dist/coordinator-auth-link-input.d.ts.map +1 -0
- package/dist/coordinator-auth-link-legacy-inline-test-fixture.d.ts +2 -0
- package/dist/coordinator-auth-link-legacy-inline-test-fixture.d.ts.map +1 -0
- package/dist/coordinator-auth-link-liveness.d.ts +8 -0
- package/dist/coordinator-auth-link-liveness.d.ts.map +1 -0
- package/dist/coordinator-auth-link-maintenance-fixtures.d.ts +14 -0
- package/dist/coordinator-auth-link-maintenance-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-link-profile.d.ts +15 -0
- package/dist/coordinator-auth-link-profile.d.ts.map +1 -0
- package/dist/coordinator-auth-link-provenance.d.ts +17 -0
- package/dist/coordinator-auth-link-provenance.d.ts.map +1 -0
- package/dist/coordinator-auth-link-revocation-test-harness.d.ts +19 -0
- package/dist/coordinator-auth-link-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-auth-link-source.d.ts +15 -0
- package/dist/coordinator-auth-link-source.d.ts.map +1 -0
- package/dist/coordinator-auth-link-test-fixtures.d.ts +49 -0
- package/dist/coordinator-auth-link-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-link.d.ts +91 -0
- package/dist/coordinator-auth-link.d.ts.map +1 -0
- package/dist/coordinator-auth-loopback.d.ts +11 -0
- package/dist/coordinator-auth-loopback.d.ts.map +1 -0
- package/dist/coordinator-auth-proof.d.ts +4 -0
- package/dist/coordinator-auth-proof.d.ts.map +1 -0
- package/dist/coordinator-auth-schema-operator.d.ts +6 -0
- package/dist/coordinator-auth-schema-operator.d.ts.map +1 -0
- package/dist/coordinator-auth-schema.d.ts +18 -0
- package/dist/coordinator-auth-schema.d.ts.map +1 -0
- package/dist/coordinator-auth-session-bound-test-fixtures.d.ts +7 -0
- package/dist/coordinator-auth-session-bound-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-session-contract.d.ts +104 -0
- package/dist/coordinator-auth-session-contract.d.ts.map +1 -0
- package/dist/coordinator-auth-session-test-fixtures.d.ts +31 -0
- package/dist/coordinator-auth-session-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-session.d.ts +44 -0
- package/dist/coordinator-auth-session.d.ts.map +1 -0
- package/dist/coordinator-auth-store-test-fixtures.d.ts +26 -0
- package/dist/coordinator-auth-store-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-bootstrap-authorization-api-test-harness.d.ts +5 -0
- package/dist/coordinator-bootstrap-authorization-api-test-harness.d.ts.map +1 -0
- package/dist/coordinator-bootstrap-authorization-test-harness.d.ts +11 -0
- package/dist/coordinator-bootstrap-authorization-test-harness.d.ts.map +1 -0
- package/dist/coordinator-bootstrap-grant-authorization.d.ts +28 -0
- package/dist/coordinator-bootstrap-grant-authorization.d.ts.map +1 -0
- package/dist/coordinator-bootstrap-grant-issuance.d.ts +22 -0
- package/dist/coordinator-bootstrap-grant-issuance.d.ts.map +1 -0
- package/dist/coordinator-bootstrap-revocation-test-harness.d.ts +11 -0
- package/dist/coordinator-bootstrap-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-browser-account.d.ts +36 -0
- package/dist/coordinator-browser-account.d.ts.map +1 -0
- package/dist/coordinator-browser-auth-app.d.ts +84 -0
- package/dist/coordinator-browser-auth-app.d.ts.map +1 -0
- package/dist/coordinator-browser-auth-callback.d.ts +47 -0
- package/dist/coordinator-browser-auth-callback.d.ts.map +1 -0
- package/dist/coordinator-browser-auth-config.d.ts +32 -0
- package/dist/coordinator-browser-auth-config.d.ts.map +1 -0
- package/dist/coordinator-browser-credential.d.ts +40 -0
- package/dist/coordinator-browser-credential.d.ts.map +1 -0
- package/dist/coordinator-browser-csrf.d.ts +19 -0
- package/dist/coordinator-browser-csrf.d.ts.map +1 -0
- package/dist/coordinator-browser-form-body.d.ts +42 -0
- package/dist/coordinator-browser-form-body.d.ts.map +1 -0
- package/dist/coordinator-browser-form-guard.d.ts +55 -0
- package/dist/coordinator-browser-form-guard.d.ts.map +1 -0
- package/dist/coordinator-browser-link-completion.d.ts +32 -0
- package/dist/coordinator-browser-link-completion.d.ts.map +1 -0
- package/dist/coordinator-browser-link-start.d.ts +39 -0
- package/dist/coordinator-browser-link-start.d.ts.map +1 -0
- package/dist/coordinator-browser-link.d.ts +36 -0
- package/dist/coordinator-browser-link.d.ts.map +1 -0
- package/dist/coordinator-browser-request.d.ts +10 -0
- package/dist/coordinator-browser-request.d.ts.map +1 -0
- package/dist/coordinator-browser-signin-start.d.ts +38 -0
- package/dist/coordinator-browser-signin-start.d.ts.map +1 -0
- package/dist/coordinator-browser-start-transaction.d.ts +6 -0
- package/dist/coordinator-browser-start-transaction.d.ts.map +1 -0
- package/dist/coordinator-controller-revocation-test-harness.d.ts +11 -0
- package/dist/coordinator-controller-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-d1-scope-authorization-test-harness.d.ts +14 -0
- package/dist/coordinator-d1-scope-authorization-test-harness.d.ts.map +1 -0
- package/dist/coordinator-device-account-change.d.ts +17 -0
- package/dist/coordinator-device-account-change.d.ts.map +1 -0
- package/dist/coordinator-device-auth-link.d.ts +43 -0
- package/dist/coordinator-device-auth-link.d.ts.map +1 -0
- package/dist/coordinator-device-local.d.ts +9 -0
- package/dist/coordinator-device-local.d.ts.map +1 -0
- package/dist/coordinator-device-ownership-schema.d.ts +3 -0
- package/dist/coordinator-device-ownership-schema.d.ts.map +1 -0
- package/dist/coordinator-device-ownership-test-harness.d.ts +17 -0
- package/dist/coordinator-device-ownership-test-harness.d.ts.map +1 -0
- package/dist/coordinator-device-revocation-client.d.ts +41 -0
- package/dist/coordinator-device-revocation-client.d.ts.map +1 -0
- package/dist/coordinator-device-revocation-handler-test-harness.d.ts +4 -0
- package/dist/coordinator-device-revocation-handler-test-harness.d.ts.map +1 -0
- package/dist/coordinator-device-revocation-handler.d.ts +17 -0
- package/dist/coordinator-device-revocation-handler.d.ts.map +1 -0
- package/dist/coordinator-device-revocation-route.d.ts +14 -0
- package/dist/coordinator-device-revocation-route.d.ts.map +1 -0
- package/dist/coordinator-device-revocation-test-harness.d.ts +34 -0
- package/dist/coordinator-device-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-device-revocation.d.ts +67 -0
- package/dist/coordinator-device-revocation.d.ts.map +1 -0
- package/dist/coordinator-ed25519-key-id-compat.d.ts +6 -0
- package/dist/coordinator-ed25519-key-id-compat.d.ts.map +1 -0
- package/dist/coordinator-ed25519-key-id-test-fixtures.d.ts +30 -0
- package/dist/coordinator-ed25519-key-id-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-ed25519-key-id.d.ts +21 -0
- package/dist/coordinator-ed25519-key-id.d.ts.map +1 -0
- package/dist/coordinator-enrollment-revocation-test-harness.d.ts +6 -0
- package/dist/coordinator-enrollment-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-hono-test-fixtures.d.ts +2 -0
- package/dist/coordinator-hono-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-identity-grant-revocation-test-harness.d.ts +11 -0
- package/dist/coordinator-identity-grant-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-identity-group-grant-client.d.ts +9 -0
- package/dist/coordinator-identity-group-grant-client.d.ts.map +1 -0
- package/dist/coordinator-identity-group-grant-input-test-harness.d.ts +3 -0
- package/dist/coordinator-identity-group-grant-input-test-harness.d.ts.map +1 -0
- package/dist/coordinator-identity-group-grant-test-harness.d.ts +17 -0
- package/dist/coordinator-identity-group-grant-test-harness.d.ts.map +1 -0
- package/dist/coordinator-identity-group-grant.d.ts +51 -0
- package/dist/coordinator-identity-group-grant.d.ts.map +1 -0
- package/dist/coordinator-invite-review.d.ts +64 -0
- package/dist/coordinator-invite-review.d.ts.map +1 -0
- package/dist/coordinator-join-review-guards.d.ts +22 -0
- package/dist/coordinator-join-review-guards.d.ts.map +1 -0
- package/dist/coordinator-join-revocation-test-harness.d.ts +23 -0
- package/dist/coordinator-join-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-legacy-device-ownership.d.ts +34 -0
- package/dist/coordinator-legacy-device-ownership.d.ts.map +1 -0
- package/dist/coordinator-oidc-test-fixtures.d.ts +50 -0
- package/dist/coordinator-oidc-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-oidc.d.ts +59 -0
- package/dist/coordinator-oidc.d.ts.map +1 -0
- package/dist/coordinator-owner-attempt-migration-test-harness.d.ts +16 -0
- package/dist/coordinator-owner-attempt-migration-test-harness.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-client.d.ts +29 -0
- package/dist/coordinator-owner-enrollment-client.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-commit-test-fixtures.d.ts +31 -0
- package/dist/coordinator-owner-enrollment-commit-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-commit.d.ts +23 -0
- package/dist/coordinator-owner-enrollment-commit.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-historical-test-fixture.d.ts +11 -0
- package/dist/coordinator-owner-enrollment-historical-test-fixture.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-http.d.ts +67 -0
- package/dist/coordinator-owner-enrollment-http.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-proof.d.ts +67 -0
- package/dist/coordinator-owner-enrollment-proof.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-qualification-schema.d.ts +107 -0
- package/dist/coordinator-owner-enrollment-qualification-schema.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-qualification-test-harness.d.ts +39 -0
- package/dist/coordinator-owner-enrollment-qualification-test-harness.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-qualification.d.ts +56 -0
- package/dist/coordinator-owner-enrollment-qualification.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-schema.d.ts +7 -0
- package/dist/coordinator-owner-enrollment-schema.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-start-test-fixtures.d.ts +54 -0
- package/dist/coordinator-owner-enrollment-start-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-test-harness.d.ts +72 -0
- package/dist/coordinator-owner-enrollment-test-harness.d.ts.map +1 -0
- package/dist/coordinator-owner-profile-adoption.d.ts +34 -0
- package/dist/coordinator-owner-profile-adoption.d.ts.map +1 -0
- package/dist/coordinator-owner-profile-client-test-harness.d.ts +57 -0
- package/dist/coordinator-owner-profile-client-test-harness.d.ts.map +1 -0
- package/dist/coordinator-owner-profile-client.d.ts +38 -0
- package/dist/coordinator-owner-profile-client.d.ts.map +1 -0
- package/dist/coordinator-owner-profile-files.d.ts +62 -0
- package/dist/coordinator-owner-profile-files.d.ts.map +1 -0
- package/dist/coordinator-owner-qualification-http.d.ts +14 -0
- package/dist/coordinator-owner-qualification-http.d.ts.map +1 -0
- package/dist/coordinator-owner-qualification-route.d.ts +16 -0
- package/dist/coordinator-owner-qualification-route.d.ts.map +1 -0
- package/dist/coordinator-owner-review-local.d.ts +35 -0
- package/dist/coordinator-owner-review-local.d.ts.map +1 -0
- package/dist/coordinator-peer-discovery-revocation-test-harness.d.ts +21 -0
- package/dist/coordinator-peer-discovery-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-peer-discovery.d.ts +15 -0
- package/dist/coordinator-peer-discovery.d.ts.map +1 -0
- package/dist/coordinator-project-invite-guards.d.ts +13 -0
- package/dist/coordinator-project-invite-guards.d.ts.map +1 -0
- package/dist/coordinator-project-revocation-test-harness.d.ts +25 -0
- package/dist/coordinator-project-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-recipient-revocation-test-harness.d.ts +30 -0
- package/dist/coordinator-recipient-revocation-test-harness.d.ts.map +1 -0
- package/dist/coordinator-runtime.d.ts +1 -0
- package/dist/coordinator-runtime.d.ts.map +1 -1
- package/dist/coordinator-scope-authorization-api-test-harness.d.ts +8 -0
- package/dist/coordinator-scope-authorization-api-test-harness.d.ts.map +1 -0
- package/dist/coordinator-scope-authorization-response.d.ts +10 -0
- package/dist/coordinator-scope-authorization-response.d.ts.map +1 -0
- package/dist/coordinator-scope-authorization.d.ts +25 -0
- package/dist/coordinator-scope-authorization.d.ts.map +1 -0
- package/dist/coordinator-store-contract.d.ts +48 -1
- package/dist/coordinator-store-contract.d.ts.map +1 -1
- package/dist/coordinator-store.d.ts +2 -1
- package/dist/coordinator-store.d.ts.map +1 -1
- package/dist/d1-coordinator-runtime.d.ts +9 -1
- package/dist/d1-coordinator-runtime.d.ts.map +1 -1
- package/dist/d1-coordinator-store.d.ts +108 -5
- package/dist/d1-coordinator-store.d.ts.map +1 -1
- package/dist/db.d.ts.map +1 -1
- package/dist/export-import.d.ts +2 -0
- package/dist/export-import.d.ts.map +1 -1
- package/dist/extraction-tier-routing.d.ts.map +1 -1
- package/dist/file-context-transport.d.ts +93 -0
- package/dist/file-context-transport.d.ts.map +1 -0
- package/dist/file-context.d.ts +58 -0
- package/dist/file-context.d.ts.map +1 -0
- package/dist/filters.d.ts +14 -3
- package/dist/filters.d.ts.map +1 -1
- package/dist/index.d.ts +43 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29731 -23760
- package/dist/index.js.map +1 -1
- package/dist/ingest-pipeline.d.ts +4 -0
- package/dist/ingest-pipeline.d.ts.map +1 -1
- package/dist/ingest-xml-parser.d.ts +2 -5
- package/dist/ingest-xml-parser.d.ts.map +1 -1
- package/dist/ingest-xml-scan.d.ts +30 -0
- package/dist/ingest-xml-scan.d.ts.map +1 -0
- package/dist/internal/cloudflare-coordinator.d.ts +23 -2
- package/dist/internal/cloudflare-coordinator.d.ts.map +1 -1
- package/dist/internal/cloudflare-coordinator.js +4109 -372
- package/dist/internal/cloudflare-coordinator.js.map +1 -1
- package/dist/legacy-recipient-policy-projection.d.ts.map +1 -1
- package/dist/maintenance/relink.d.ts.map +1 -1
- package/dist/managed-scope-test-fixtures.d.ts +25 -0
- package/dist/managed-scope-test-fixtures.d.ts.map +1 -0
- package/dist/memory-creation-provenance.d.ts +13 -0
- package/dist/memory-creation-provenance.d.ts.map +1 -0
- package/dist/memory-local-capture-test-fixtures.d.ts +39 -0
- package/dist/memory-local-capture-test-fixtures.d.ts.map +1 -0
- package/dist/memory-local-capture.d.ts +29 -0
- package/dist/memory-local-capture.d.ts.map +1 -0
- package/dist/memory-ownership-recovery.d.ts.map +1 -1
- package/dist/memory-retirement-delivery.d.ts.map +1 -1
- package/dist/memory-source-identity.d.ts +3 -0
- package/dist/memory-source-identity.d.ts.map +1 -1
- package/dist/observer-client.d.ts.map +1 -1
- package/dist/observer-output.d.ts.map +1 -1
- package/dist/opencode-v2-generation.d.ts.map +1 -1
- package/dist/owned-recipient-d1-test-harness.d.ts +7 -0
- package/dist/owned-recipient-d1-test-harness.d.ts.map +1 -0
- package/dist/owner-browser-admission-authority.d.ts +24 -0
- package/dist/owner-browser-admission-authority.d.ts.map +1 -0
- package/dist/owner-browser-admission-body.d.ts +8 -0
- package/dist/owner-browser-admission-body.d.ts.map +1 -0
- package/dist/owner-browser-admission.d.ts +30 -0
- package/dist/owner-browser-admission.d.ts.map +1 -0
- package/dist/owner-enrollment-admission.d.ts +58 -0
- package/dist/owner-enrollment-admission.d.ts.map +1 -0
- package/dist/owner-enrollment-link-authority.d.ts +26 -0
- package/dist/owner-enrollment-link-authority.d.ts.map +1 -0
- package/dist/owner-enrollment-owner-pin-test-harness.d.ts +21 -0
- package/dist/owner-enrollment-owner-pin-test-harness.d.ts.map +1 -0
- package/dist/owner-enrollment-owner-pin.d.ts +14 -0
- package/dist/owner-enrollment-owner-pin.d.ts.map +1 -0
- package/dist/owner-enrollment-start-xsoRbhG2.js +14318 -0
- package/dist/owner-enrollment-start-xsoRbhG2.js.map +1 -0
- package/dist/owner-enrollment-start.d.ts +109 -0
- package/dist/owner-enrollment-start.d.ts.map +1 -0
- package/dist/owner-qualified-consumer-access-test-harness.d.ts +3 -0
- package/dist/owner-qualified-consumer-access-test-harness.d.ts.map +1 -0
- package/dist/owner-qualified-consumer-adversarial-test-harness.d.ts +5 -0
- package/dist/owner-qualified-consumer-adversarial-test-harness.d.ts.map +1 -0
- package/dist/owner-qualified-consumer-test-fixture.d.ts +4 -0
- package/dist/owner-qualified-consumer-test-fixture.d.ts.map +1 -0
- package/dist/owner-qualified-consumer-test-harness.d.ts +69 -0
- package/dist/owner-qualified-consumer-test-harness.d.ts.map +1 -0
- package/dist/pack.d.ts.map +1 -1
- package/dist/pi-session-search.d.ts +73 -0
- package/dist/pi-session-search.d.ts.map +1 -0
- package/dist/pi-sessions-import.d.ts +72 -0
- package/dist/pi-sessions-import.d.ts.map +1 -0
- package/dist/policy-team-device-eligibility.d.ts.map +1 -1
- package/dist/project-scope-settings.d.ts +4 -0
- package/dist/project-scope-settings.d.ts.map +1 -1
- package/dist/{promise-B3UhYSzv.js → promise-BgC-VNzX.js} +436 -214
- package/dist/promise-BgC-VNzX.js.map +1 -0
- package/dist/{service-contender-9rqn6x4v-pocTjwT1.js → pty-handoff-9rqn6x4v-Dxw6kceQ.js} +2 -2
- package/dist/pty-handoff-9rqn6x4v-Dxw6kceQ.js.map +1 -0
- package/dist/raw-event-auth-recovery.d.ts +1 -1
- package/dist/raw-event-auth-recovery.d.ts.map +1 -1
- package/dist/raw-event-flush.d.ts.map +1 -1
- package/dist/recipient-policy-deny-overlay.d.ts +9 -0
- package/dist/recipient-policy-deny-overlay.d.ts.map +1 -0
- package/dist/recipient-policy-reconciliation.d.ts +1 -9
- package/dist/recipient-policy-reconciliation.d.ts.map +1 -1
- package/dist/ref-queries.d.ts +7 -2
- package/dist/ref-queries.d.ts.map +1 -1
- package/dist/schema-bootstrap.d.ts +2 -0
- package/dist/schema-bootstrap.d.ts.map +1 -1
- package/dist/schema.d.ts +160 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/scope-membership-cache-test-fixtures.d.ts +19 -0
- package/dist/scope-membership-cache-test-fixtures.d.ts.map +1 -0
- package/dist/scope-membership-cache.d.ts +15 -2
- package/dist/scope-membership-cache.d.ts.map +1 -1
- package/dist/scope-membership-evidence.d.ts +17 -0
- package/dist/scope-membership-evidence.d.ts.map +1 -0
- package/dist/scope-membership-snapshot.d.ts +22 -0
- package/dist/scope-membership-snapshot.d.ts.map +1 -0
- package/dist/scope-membership-wire.d.ts +4 -0
- package/dist/scope-membership-wire.d.ts.map +1 -0
- package/dist/scope-resolution.d.ts +15 -37
- package/dist/scope-resolution.d.ts.map +1 -1
- package/dist/scope-stamping.d.ts +7 -0
- package/dist/scope-stamping.d.ts.map +1 -1
- package/dist/scope-write-authority-error.d.ts +5 -0
- package/dist/scope-write-authority-error.d.ts.map +1 -0
- package/dist/search.d.ts +3 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/session-export-identity-mutation.d.ts +4 -0
- package/dist/session-export-identity-mutation.d.ts.map +1 -0
- package/dist/session-export-identity.d.ts +7 -0
- package/dist/session-export-identity.d.ts.map +1 -0
- package/dist/shared-owned-device-enrollment-test-harness.d.ts +33 -0
- package/dist/shared-owned-device-enrollment-test-harness.d.ts.map +1 -0
- package/dist/shared-owned-join-approval-test-harness.d.ts +9 -0
- package/dist/shared-owned-join-approval-test-harness.d.ts.map +1 -0
- package/dist/shared-owned-project-invites-test-harness.d.ts +23 -0
- package/dist/shared-owned-project-invites-test-harness.d.ts.map +1 -0
- package/dist/shared-owned-recipient-invites-test-harness.d.ts +11 -0
- package/dist/shared-owned-recipient-invites-test-harness.d.ts.map +1 -0
- package/dist/shared-ownership-writer-lifecycle-test-harness.d.ts +19 -0
- package/dist/shared-ownership-writer-lifecycle-test-harness.d.ts.map +1 -0
- package/dist/store.d.ts +81 -13
- package/dist/store.d.ts.map +1 -1
- package/dist/summary-memory.d.ts +1 -1
- package/dist/summary-memory.d.ts.map +1 -1
- package/dist/sync-bootstrap.d.ts.map +1 -1
- package/dist/sync-http-client.d.ts +1 -0
- package/dist/sync-http-client.d.ts.map +1 -1
- package/dist/sync-identity.d.ts +6 -0
- package/dist/sync-identity.d.ts.map +1 -1
- package/dist/sync-pass.d.ts.map +1 -1
- package/dist/sync-replication.d.ts +6 -3
- package/dist/sync-replication.d.ts.map +1 -1
- package/dist/sync-scope-protocol.d.ts +6 -0
- package/dist/sync-scope-protocol.d.ts.map +1 -1
- package/dist/sync-status-test-fixtures.d.ts +21 -0
- package/dist/sync-status-test-fixtures.d.ts.map +1 -0
- package/dist/test-schema.generated.d.ts +1 -1
- package/dist/test-schema.generated.d.ts.map +1 -1
- package/dist/vector-corpus-epoch.d.ts +10 -0
- package/dist/vector-corpus-epoch.d.ts.map +1 -0
- package/dist/vector-cutover-validation.d.ts +19 -0
- package/dist/vector-cutover-validation.d.ts.map +1 -0
- package/dist/vector-metadata-snapshot.d.ts +21 -0
- package/dist/vector-metadata-snapshot.d.ts.map +1 -0
- package/dist/vector-migration.d.ts.map +1 -1
- package/dist/vectors.d.ts +8 -1
- package/dist/vectors.d.ts.map +1 -1
- package/dist/wildcard-match.d.ts +9 -0
- package/dist/wildcard-match.d.ts.map +1 -0
- package/dist/workspace-identity.d.ts +18 -0
- package/dist/workspace-identity.d.ts.map +1 -0
- package/package.json +5 -4
- package/dist/coordinator-api-CdUQtf5l.js +0 -3755
- package/dist/coordinator-api-CdUQtf5l.js.map +0 -1
- package/dist/promise-B3UhYSzv.js.map +0 -1
- package/dist/service-contender-9rqn6x4v-pocTjwT1.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacy-recipient-policy-projection.d.ts","sourceRoot":"","sources":["../src/legacy-recipient-policy-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOxC,OAAO,EAEN,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,MAAM,gCAAgC,CAAC;AAYxC,OAAO,EAGN,KAAK,uBAAuB,EAC5B,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"legacy-recipient-policy-projection.d.ts","sourceRoot":"","sources":["../src/legacy-recipient-policy-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOxC,OAAO,EAEN,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,MAAM,gCAAgC,CAAC;A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D,EAAE,EAAE,QAAQ,EACZ,OAAO,EAAE,2CAA2C,GAClD,2CAA2C,CAiB7C;AAED,wBAAgB,oCAAoC,CACnD,EAAE,EAAE,QAAQ,EACZ,OAAO,EAAE,2CAA2C,GAClD,iCAAiC,EAAE,CAYrC;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAC5C,EAAE,EAAE,QAAQ,EACZ,OAAO,EAAE,2CAA2C,GAClD,yBAAyB,EAAE,CA0F7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relink.d.ts","sourceRoot":"","sources":["../../src/maintenance/relink.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAe,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"relink.d.ts","sourceRoot":"","sources":["../../src/maintenance/relink.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAe,MAAM,UAAU,CAAC;AAGtD,OAAO,KAAK,EAEX,0BAA0B,EAC1B,yBAAyB,EAEzB,kBAAkB,EAClB,yBAAyB,EACzB,oBAAoB,EACpB,2BAA2B,EAC3B,MAAM,YAAY,CAAC;AAoOpB,wBAAgB,6BAA6B,CAC5C,EAAE,EAAE,QAAQ,EACZ,IAAI,GAAE,0BAA+B,GACnC,yBAAyB,CAkG3B;AAED,wBAAgB,uBAAuB,CACtC,MAAM,CAAC,EAAE,MAAM,EACf,IAAI,GAAE,2BAAgC,GACpC,oBAAoB,CAEtB;AAED,wBAAgB,qBAAqB,CACpC,MAAM,CAAC,EAAE,MAAM,EACf,IAAI,GAAE,yBAA8B,GAClC,kBAAkB,CAiEpB;AAED,wBAAgB,uBAAuB,CACtC,MAAM,CAAC,EAAE,MAAM,EACf,IAAI,GAAE,0BAA+B,GACnC,yBAAyB,CAE3B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Database } from "./db.js";
|
|
2
|
+
export declare function enrollFixtureSigningKey(db: Database, keysDir: string, deviceId: string): string;
|
|
3
|
+
/** Explicit fixture grants are promoted only by real V1 refresh validation. */
|
|
4
|
+
export declare function refreshManagedScopeFixture(db: Database, options: {
|
|
5
|
+
keysDir: string;
|
|
6
|
+
deviceId: string;
|
|
7
|
+
scopeIds: string[];
|
|
8
|
+
now?: Date;
|
|
9
|
+
}): Promise<string>;
|
|
10
|
+
export declare function seedProvenMixedScopeFixture(db: Database, keysDir: string, deviceId?: string): Promise<{
|
|
11
|
+
sessionId: number;
|
|
12
|
+
deviceId: string;
|
|
13
|
+
authorizedScopeId: string;
|
|
14
|
+
unauthorizedScopeId: string;
|
|
15
|
+
personalId: number;
|
|
16
|
+
authorizedId: number;
|
|
17
|
+
unauthorizedId: number;
|
|
18
|
+
visibleIds: number[];
|
|
19
|
+
allIds: number[];
|
|
20
|
+
visibleTitles: string[];
|
|
21
|
+
unauthorizedTitle: string;
|
|
22
|
+
query: string;
|
|
23
|
+
expectedPublicKey: string;
|
|
24
|
+
}>;
|
|
25
|
+
//# sourceMappingURL=managed-scope-test-fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-scope-test-fixtures.d.ts","sourceRoot":"","sources":["../src/managed-scope-test-fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAWxC,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAY/F;AAED,+EAA+E;AAC/E,wBAAsB,0BAA0B,CAC/C,EAAE,EAAE,QAAQ,EACZ,OAAO,EAAE;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,IAAI,CAAC;CACX,GACC,OAAO,CAAC,MAAM,CAAC,CA6CjB;AAED,wBAAsB,2BAA2B,CAChD,EAAE,EAAE,QAAQ,EACZ,OAAO,EAAE,MAAM,EACf,QAAQ,SAAU;;;;;;;;;;;;;;GAUlB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Database } from "./db.js";
|
|
2
|
+
/** Only a genuine creation/copy transaction can record the original row. No backfill. */
|
|
3
|
+
export declare function recordLocalCreationSnapshot(db: Database, memoryId: number): void;
|
|
4
|
+
/** The inbound write path, not peer-supplied clocks/origins, records permanent negative proof. */
|
|
5
|
+
export declare function recordForeignMemoryRevision(db: Database, entityId: string, writePath: "replication" | "bootstrap" | "import"): void;
|
|
6
|
+
/** Preservation evidence only: this must not authorize a read or mutation. */
|
|
7
|
+
export declare function hasRecordedLocalCreation(db: Database, entityId: string): boolean;
|
|
8
|
+
/** Read-only SQL, using primary-key lookups for both creation and negative facts. */
|
|
9
|
+
export declare function matchingLocalCreationClause(db: Database): string | null;
|
|
10
|
+
export declare function hasMatchingLocalCreation(db: Database, entityId: string, sourceIds: readonly string[], options?: {
|
|
11
|
+
memoryId?: number;
|
|
12
|
+
}): boolean;
|
|
13
|
+
//# sourceMappingURL=memory-creation-provenance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-creation-provenance.d.ts","sourceRoot":"","sources":["../src/memory-creation-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AA+CxC,yFAAyF;AACzF,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAuBhF;AAED,kGAAkG;AAClG,wBAAgB,2BAA2B,CAC1C,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,aAAa,GAAG,WAAW,GAAG,QAAQ,GAC/C,IAAI,CASN;AAED,8EAA8E;AAC9E,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAKhF;AAED,qFAAqF;AACrF,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,QAAQ,GAAG,MAAM,GAAG,IAAI,CAgBvE;AAED,wBAAgB,wBAAwB,CACvC,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,OAAO,GAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAO,GACjC,OAAO,CAkBT"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MemoryStore } from "./store.js";
|
|
2
|
+
import type { ReplicationOp, SyncResetRequired } from "./types.js";
|
|
3
|
+
export declare const now = "2026-09-21T12:00:00.000Z";
|
|
4
|
+
export declare const scopeId = "capture-revoked";
|
|
5
|
+
export declare const reset: SyncResetRequired;
|
|
6
|
+
export declare function useLocalCaptureFixture(): {
|
|
7
|
+
fixture: {
|
|
8
|
+
dir: string;
|
|
9
|
+
keysDir: string;
|
|
10
|
+
store: MemoryStore;
|
|
11
|
+
sessionId: number;
|
|
12
|
+
};
|
|
13
|
+
remember: typeof remember;
|
|
14
|
+
rememberScoped: typeof rememberScoped;
|
|
15
|
+
row: typeof row;
|
|
16
|
+
restrict: typeof restrict;
|
|
17
|
+
binding: typeof binding;
|
|
18
|
+
captureOp: typeof captureOp;
|
|
19
|
+
enroll: typeof enroll;
|
|
20
|
+
persistUnadoptedIdentity: typeof persistUnadoptedIdentity;
|
|
21
|
+
factRows: typeof factRows;
|
|
22
|
+
ledger: typeof ledger;
|
|
23
|
+
};
|
|
24
|
+
declare function remember(title?: string, metadata?: Record<string, unknown>): number;
|
|
25
|
+
declare function rememberScoped(title?: string, metadata?: Record<string, unknown>): number;
|
|
26
|
+
declare function row(id: number): Record<string, unknown>;
|
|
27
|
+
declare function restrict(id: number): void;
|
|
28
|
+
declare function binding(id: number): import("./memory-source-identity.js").VerifiedMemorySource | null;
|
|
29
|
+
declare function captureOp(id: number): ReplicationOp;
|
|
30
|
+
declare function enroll(deviceId?: string): string;
|
|
31
|
+
declare function persistUnadoptedIdentity(): void;
|
|
32
|
+
declare function factRows(table: string): unknown[];
|
|
33
|
+
declare function ledger(): {
|
|
34
|
+
birth: unknown[];
|
|
35
|
+
adoption: unknown[];
|
|
36
|
+
bindings: unknown[];
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=memory-local-capture-test-fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-local-capture-test-fixtures.d.ts","sourceRoot":"","sources":["../src/memory-local-capture-test-fixtures.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAIzC,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,GAAG,6BAA6B,CAAC;AAC9C,eAAO,MAAM,OAAO,oBAAoB,CAAC;AACzC,eAAO,MAAM,KAAK,EAAE,iBAQnB,CAAC;AAUF,wBAAgB,sBAAsB;;aANhC,MAAM;iBACF,MAAM;eACR,WAAW;mBACP,MAAM;;;;;;;;;;;;EA6CjB;AACD,iBAAS,QAAQ,CAAC,KAAK,SAAoB,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAUvF;AACD,iBAAS,cAAc,CAAC,KAAK,SAAoB,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAc7F;AACD,iBAAS,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKhD;AACD,iBAAS,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAElC;AACD,iBAAS,OAAO,CAAC,EAAE,EAAE,MAAM,qEAE1B;AACD,iBAAS,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,CAU5C;AACD,iBAAS,MAAM,CAAC,QAAQ,SAAmB,GAAG,MAAM,CAInD;AACD,iBAAS,wBAAwB,IAAI,IAAI,CAqBxC;AACD,iBAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,aAG9B;AACD,iBAAS,MAAM;IAEb,KAAK;IACL,QAAQ;IACR,QAAQ;EAET"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Database } from "./db.js";
|
|
2
|
+
interface DeviceTuple {
|
|
3
|
+
device_id: string;
|
|
4
|
+
public_key: string;
|
|
5
|
+
fingerprint: string;
|
|
6
|
+
}
|
|
7
|
+
export interface LocalCreationContext {
|
|
8
|
+
expectedPublicKey?: string;
|
|
9
|
+
loadExpectedPublicKey?: () => string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface LocalCaptureAdoptionContext extends LocalCreationContext {
|
|
12
|
+
actorId?: string;
|
|
13
|
+
runtimeDeviceId?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function assertLocalCaptureAdoptionActors(db: Database, deviceId: string, actorId?: string): void;
|
|
16
|
+
/** Schema only: the unsigned identity is born in the first genuine creation transaction. */
|
|
17
|
+
export declare function ensureMemoryLocalCaptureSchema(db: Database): void;
|
|
18
|
+
/** An explicit ensure may finish a pending birth, but never reassociate an adopted one. */
|
|
19
|
+
export declare function hasPendingLocalCapture(db: Database): boolean;
|
|
20
|
+
export declare function matchesLocalCaptureRuntime(tuple: DeviceTuple, deviceId: string, publicKey: string | undefined): boolean;
|
|
21
|
+
/** Never called by reads, imports, bootstrap, or replication. */
|
|
22
|
+
export declare function getOrCreateLocalCaptureId(db: Database): string;
|
|
23
|
+
/** Retain a one-time association, without renaming any immutable source binding. */
|
|
24
|
+
export declare function adoptLocalCapture(db: Database, deviceId: string, context: LocalCaptureAdoptionContext): void;
|
|
25
|
+
/** Read-only: no DDL, key generation, identity repair, actor union, or origin inference. */
|
|
26
|
+
export declare function localCreationSourceIds(db: Database, deviceId: string, context?: LocalCreationContext): string[];
|
|
27
|
+
export declare function hasLocalCreationBinding(db: Database, entityId: string, sourceIds: readonly string[]): boolean;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=memory-local-capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-local-capture.d.ts","sourceRoot":"","sources":["../src/memory-local-capture.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOxC,UAAU,WAAW;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;CACjD;AAED,MAAM,WAAW,2BAA4B,SAAQ,oBAAoB;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,gCAAgC,CAC/C,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,GACd,IAAI,CAON;AASD,4FAA4F;AAC5F,wBAAgB,8BAA8B,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI,CAyBjE;AAWD,2FAA2F;AAC3F,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO,CAM5D;AAeD,wBAAgB,0BAA0B,CACzC,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,GAC3B,OAAO,CAST;AAED,iEAAiE;AACjE,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,QAAQ,GAAG,MAAM,CAW9D;AAED,oFAAoF;AACpF,wBAAgB,iBAAiB,CAChC,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,2BAA2B,GAClC,IAAI,CAoCN;AAED,4FAA4F;AAC5F,wBAAgB,sBAAsB,CACrC,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,oBAAyB,GAChC,MAAM,EAAE,CAoCV;AAED,wBAAgB,uBAAuB,CACtC,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,SAAS,MAAM,EAAE,GAC1B,OAAO,CAMT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-ownership-recovery.d.ts","sourceRoot":"","sources":["../src/memory-ownership-recovery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"memory-ownership-recovery.d.ts","sourceRoot":"","sources":["../src/memory-ownership-recovery.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,qBAAa,4BAA6B,SAAQ,KAAK;aAErC,IAAI,EAAE,MAAM;aACZ,MAAM,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;IAF9C,YACiB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAG7C;CACD;AAED,UAAU,eAAe;IACxB,OAAO,EAAE,CAAC,CAAC;IACX,SAAS,EAAE,MAAM,EAAE,CAAC;CACpB;AA4ID,kFAAkF;AAClF,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO;aAlBrE,CAAC;;;;;;;;;;;gBAtBH,oBAAoB;;;;;4BAKF,MAAM,EAAE;;;;;;QAwBhC,eAAe;QACf,gBAAgB;QAChB,eAAe;QACf,uBAAuB;QACvB,aAAa;;EAShB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO;IAGtE,OAAO,EAAE,CAAC;IACV,OAAO;;;;;;;;gBAhDC,oBAAoB;;;;;4BAKF,MAAM,EAAE;;;IA4ClC,UAAU,EAAE,wBAAwB;EAErC;AA+GD,KAAK,cAAc,GAAG;IACrB,OAAO,EAAE,CAAC,CAAC;IACX,MAAM,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,KAAK,CAAC;QAAE,gBAAgB,EAAE,MAAM,CAAC;QAAC,iBAAiB,EAAE,MAAM,CAAC;QAAC,iBAAiB,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClG,iBAAiB,EAAE,IAAI,CAAC;IACxB,eAAe,EAAE,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,cAAc,CAkDhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-retirement-delivery.d.ts","sourceRoot":"","sources":["../src/memory-retirement-delivery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EACN,KAAK,qBAAqB,EAE1B,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"memory-retirement-delivery.d.ts","sourceRoot":"","sources":["../src/memory-retirement-delivery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EACN,KAAK,qBAAqB,EAE1B,MAAM,8BAA8B,CAAC;AAMtC,eAAO,MAAM,yBAAyB,+BAA+B,CAAC;AACtE,sDAAsD;AACtD,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AACrE,eAAO,MAAM,0BAA0B,qCAAkC,CAAC;AAG1E,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D,SAAS,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,eAAe;I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,QAAQ,EACZ,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,cAAc,EAAE,MAAM,EACtB,GAAG,EAAE,MAAM,GACT,IAAI,CASN;AAED,gGAAgG;AAChG,wBAAgB,sBAAsB,CACrC,EAAE,EAAE,QAAQ,EACZ,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE;IACR,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,cAAc,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACZ,GACC,aAAa,CAYf;AAgCD;;GAEG;AACH,wBAAsB,uBAAuB,CAC5C,EAAE,EAAE,QAAQ,EACZ,OAAO,EAAE;IACR,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,cAAc,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACtE,GACC,OAAO,CAAC;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,aAAa,GAAG,MAAM,GAAG,cAAc,CAAA;CAAE,CAAC,CASpF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Database } from "./db.js";
|
|
2
|
+
import { type LocalCreationContext } from "./memory-local-capture.js";
|
|
2
3
|
export interface VerifiedMemorySource {
|
|
3
4
|
entityId: string;
|
|
4
5
|
sourceDeviceId: string;
|
|
@@ -11,6 +12,8 @@ export declare function memorySourceNamespace(entityId: string): string | null;
|
|
|
11
12
|
export declare function getVerifiedMemorySource(db: Database, entityId: string): VerifiedMemorySource | null;
|
|
12
13
|
/** Allocate inside the transaction creating a new memory/copy; never rename a historical UUID. */
|
|
13
14
|
export declare function allocateLocalMemorySource(db: Database): VerifiedMemorySource;
|
|
15
|
+
/** Genuine new captures only. Unsigned capture namespaces are never network-authenticated. */
|
|
16
|
+
export declare function allocateLocalCaptureMemorySource(db: Database, runtimeDeviceId: string, context?: LocalCreationContext): VerifiedMemorySource | null;
|
|
14
17
|
/**
|
|
15
18
|
* Internal auth boundary: verifiedPeerDeviceId MUST come from successful transport
|
|
16
19
|
* authentication, never op.device_id, payload origin, a form field, or a signature claim.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-source-identity.d.ts","sourceRoot":"","sources":["../src/memory-source-identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"memory-source-identity.d.ts","sourceRoot":"","sources":["../src/memory-source-identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAEN,KAAK,oBAAoB,EAEzB,MAAM,2BAA2B,CAAC;AAKnC,MAAM,WAAW,oBAAoB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,gBAAgB,GAAG,yBAAyB,CAAC;CACvD;AAED,4FAA4F;AAC5F,wBAAgB,gCAAgC,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI,CAiBnE;AAYD,6FAA6F;AAC7F,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQrE;AAED,wBAAgB,uBAAuB,CACtC,EAAE,EAAE,QAAQ,EACZ,QAAQ,EAAE,MAAM,GACd,oBAAoB,GAAG,IAAI,CAQ7B;AAoBD,kGAAkG;AAClG,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,QAAQ,GAAG,oBAAoB,CAS5E;AAED,8FAA8F;AAC9F,wBAAgB,gCAAgC,CAC/C,EAAE,EAAE,QAAQ,EACZ,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,oBAAyB,GAChC,oBAAoB,GAAG,IAAI,CA+B7B;AAED;;;;;GAKG;AACH,w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qBAAqB,CAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,OAAO,CAAC,8BAA8B,CAAC,CAsDzC;YAEa,wBAAwB;IA6BtC,OAAO,CAAC,8BAA8B;IAuBtC,OAAO,CAAC,mBAAmB;IAwB3B,OAAO,CAAC,iBAAiB;IA6BzB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,wBAAwB;IAahC,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,0BAA0B;IAiClC,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,kBAAkB;IA0B1B,OAAO,CAAC,oBAAoB;YAmBd,SAAS;YA6CT,eAAe;YA2Bf,oBAAoB;YAuBpB,iBAAiB;YAwCjB,kBAAkB;YAuClB,sBAAsB;IA2CpC,OAAO,CAAC,oBAAoB;YAgBd,cAAc;YAkHd,YAAY;IAsC1B;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;YAiBnB,mBAAmB;IA4GjC;;;OAGG;IACH,OAAO,CAAC,WAAW;YAqEL,iBAAiB;YA4CjB,UAAU;YAyEV,SAAS;IAkEvB,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,mBAAmB;IAmC3B,OAAO,CAAC,gBAAgB;IA6CxB,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,eAAe;CAIvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observer-output.d.ts","sourceRoot":"","sources":["../src/observer-output.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"observer-output.d.ts","sourceRoot":"","sources":["../src/observer-output.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAOtD,O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AE,mBAAmB,GAAG,IAAW,EAQ1C;CACD;AAqDD,wBAAgB,+BAA+B,CAC9C,QAAQ,EAAE,cAAc,GACtB,wBAAwB,CA2D1B;AAoFD,wBAAgB,wBAAwB,CACvC,MAAM,EAAE,wBAAwB,GAC9B,kBAAkB,GAAG,IAAI,CAG3B;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAEnF;AA+ND,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,wBAAwB,GAAG,cAAc,CAE5F;AAED,wBAAsB,iCAAiC,CACtD,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,UAAU,2BAA4C,GACpD,OAAO,CAAC,wBAAwB,CAAC,CAKnC;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAuBhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode-v2-generation.d.ts","sourceRoot":"","sources":["../src/opencode-v2-generation.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACd;
|
|
1
|
+
{"version":3,"file":"opencode-v2-generation.d.ts","sourceRoot":"","sources":["../src/opencode-v2-generation.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACd;AAiBD,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAoC7E;AAED,MAAM,MAAM,kBAAkB,GAC3B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,IAAI,CAAA;CAAE,GAC7B;IACA,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EACF,qBAAqB,GACrB,mBAAmB,GACnB,aAAa,GACb,oBAAoB,GACpB,gBAAgB,CAAC;CACnB,CAAC;AA2EL,sFAAsF;AACtF,wBAAsB,sBAAsB,CAAC,KAAK,EAAE;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA0B9B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RevocationFixture, revocationHarness } from "./coordinator-device-revocation-test-harness.js";
|
|
2
|
+
import { type D1DatabaseLike } from "./d1-coordinator-store.js";
|
|
3
|
+
type Test = ReturnType<typeof revocationHarness>;
|
|
4
|
+
type Database = (f: RevocationFixture) => D1DatabaseLike;
|
|
5
|
+
export declare function registerOwnedRecipientD1(test: Test, database: Database): void;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=owned-recipient-d1-test-harness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owned-recipient-d1-test-harness.d.ts","sourceRoot":"","sources":["../src/owned-recipient-d1-test-harness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACX,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,iDAAiD,CAAC;AAOzD,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AASpF,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACjD,KAAK,QAAQ,GAAG,CAAC,CAAC,EAAE,iBAAiB,KAAK,cAAc,CAAC;AACzD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,QAOtE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CoordinatorAuthBrowserConfig } from "./coordinator-auth-browser-transaction-contract.js";
|
|
2
|
+
import type { AuthLinkBackend, AuthLinkStatement } from "./coordinator-auth-link.js";
|
|
3
|
+
import type { OwnerEnrollmentResolvedOwner } from "./owner-enrollment-admission.js";
|
|
4
|
+
export declare const OWNER_ADMISSION_SCHEMA_READY_SQL = "EXISTS (SELECT 1 FROM pragma_table_info('coordinator_owner_enrollment_attempts')\n WHERE name = 'admission_owner_hash') AND (SELECT count(*) FROM sqlite_master\n WHERE type = 'trigger' AND tbl_name = 'coordinator_owner_enrollment_attempts'\n AND name IN ('owner_enrollment_admission_insert','owner_enrollment_admission_update')) = 2";
|
|
5
|
+
export declare function ownerAdmissionSchemaReady(backend: AuthLinkBackend): Promise<boolean>;
|
|
6
|
+
export declare function readOwnerAdmissionAuthority(input: {
|
|
7
|
+
backend: AuthLinkBackend;
|
|
8
|
+
config: CoordinatorAuthBrowserConfig;
|
|
9
|
+
sessionCookieHash: string;
|
|
10
|
+
time: number;
|
|
11
|
+
deviceId: string;
|
|
12
|
+
fingerprint: string;
|
|
13
|
+
}): Promise<OwnerEnrollmentResolvedOwner | null>;
|
|
14
|
+
/** Materialized by the winning INSERT; revocation/config/grant races cannot create a new attempt. */
|
|
15
|
+
export declare function ownerAdmissionSessionGuard(input: {
|
|
16
|
+
backend: AuthLinkBackend;
|
|
17
|
+
config: CoordinatorAuthBrowserConfig;
|
|
18
|
+
sessionCookieHash: string;
|
|
19
|
+
owner: OwnerEnrollmentResolvedOwner;
|
|
20
|
+
deviceId: string;
|
|
21
|
+
fingerprint: string;
|
|
22
|
+
time: number;
|
|
23
|
+
}): Promise<AuthLinkStatement>;
|
|
24
|
+
//# sourceMappingURL=owner-browser-admission-authority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-browser-admission-authority.d.ts","sourceRoot":"","sources":["../src/owner-browser-admission-authority.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAIrF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAGpF,eAAO,MAAM,gCAAgC,iVAG+C,CAAC;AAE7F,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,CAM1F;AA+CD,wBAAsB,2BAA2B,CAAC,KAAK,EAAE;IACxD,OAAO,EAAE,eAAe,CAAC;IACzB,MAAM,EAAE,4BAA4B,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,4BAA4B,GAAG,IAAI,CAAC,CA2B/C;AAED,qGAAqG;AACrG,wBAAsB,0BAA0B,CAAC,KAAK,EAAE;IACvD,OAAO,EAAE,eAAe,CAAC;IACzB,MAAM,EAAE,4BAA4B,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,4BAA4B,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACb,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAkB7B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { OwnerEnrollmentStart } from "./owner-enrollment-start.js";
|
|
2
|
+
export declare const OWNER_ADMISSION_BODY_MAX_BYTES: number;
|
|
3
|
+
/** Read the entire bounded body BEFORE invoking the runtime multipart parser. */
|
|
4
|
+
export declare function readOwnerAdmissionUpload(request: Request): Promise<{
|
|
5
|
+
csrf: string;
|
|
6
|
+
start: OwnerEnrollmentStart;
|
|
7
|
+
} | null>;
|
|
8
|
+
//# sourceMappingURL=owner-browser-admission-body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-browser-admission-body.d.ts","sourceRoot":"","sources":["../src/owner-browser-admission-body.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,eAAO,MAAM,8BAA8B,QAAY,CAAC;AAgExD,iFAAiF;AACjF,wBAAsB,wBAAwB,CAC7C,OAAO,EAAE,OAAO,GACd,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,oBAAoB,CAAA;CAAE,GAAG,IAAI,CAAC,CA4B/D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AuthLinkBackend } from "./coordinator-auth-link.js";
|
|
2
|
+
import type { CoordinatorAuthSessionStore } from "./coordinator-auth-session-contract.js";
|
|
3
|
+
import { type BrowserCsrfKey } from "./coordinator-browser-csrf.js";
|
|
4
|
+
import { type OwnerEnrollmentAdmissionKey } from "./owner-enrollment-admission.js";
|
|
5
|
+
import { type createCoordinatorOwnerEnrollment } from "./owner-enrollment-start.js";
|
|
6
|
+
import type { InMemoryRequestRateLimiter } from "./request-rate-limit.js";
|
|
7
|
+
export declare const OWNER_BROWSER_ADMISSION_PATH = "/auth/owner/admit";
|
|
8
|
+
type Enrollment = Extract<Awaited<ReturnType<typeof createCoordinatorOwnerEnrollment>>, {
|
|
9
|
+
ok: true;
|
|
10
|
+
}>["enrollment"];
|
|
11
|
+
export interface OwnerBrowserAdmissionOptions {
|
|
12
|
+
/** Explicit owner opt-in, independent of management sign-in being enabled. */
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
config: unknown;
|
|
15
|
+
backend: AuthLinkBackend;
|
|
16
|
+
readSession: CoordinatorAuthSessionStore["readAuthSession"];
|
|
17
|
+
csrfKey: BrowserCsrfKey;
|
|
18
|
+
admissionKey: OwnerEnrollmentAdmissionKey;
|
|
19
|
+
limiter: InMemoryRequestRateLimiter;
|
|
20
|
+
clock?: () => number;
|
|
21
|
+
/** Lazy production owner composition. No OIDC discovery may run during setup. */
|
|
22
|
+
getEnrollment(): Promise<Pick<Enrollment, "startOwnerBound">>;
|
|
23
|
+
}
|
|
24
|
+
/** Caller must reserve this path and dispatch BEFORE browser/OIDC setup.
|
|
25
|
+
* No capability is returned to the browser. Session authority admits only a new exact start;
|
|
26
|
+
* it never replaces the later fresh owner-purpose OIDC proof or pending-key finalization.
|
|
27
|
+
*/
|
|
28
|
+
export declare function createOwnerBrowserAdmissionHandler(options: OwnerBrowserAdmissionOptions): (request: Request, trustedClientKey: string) => Promise<Response | null>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=owner-browser-admission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-browser-admission.d.ts","sourceRoot":"","sources":["../src/owner-browser-admission.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAM1F,OAAO,EACN,KAAK,cAAc,EAInB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAGN,KAAK,2BAA2B,EAEhC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACN,KAAK,gCAAgC,EAErC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAE1E,eAAO,MAAM,4BAA4B,sBAAsB,CAAC;AAChE,KAAK,UAAU,GAAG,OAAO,CACxB,OAAO,CAAC,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,EAC5D;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,CACZ,CAAC,YAAY,CAAC,CAAC;AAChB,MAAM,WAAW,4BAA4B;IAC5C,8EAA8E;IAC9E,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,2BAA2B,CAAC,iBAAiB,CAAC,CAAC;IAC5D,OAAO,EAAE,cAAc,CAAC;IACxB,YAAY,EAAE,2BAA2B,CAAC;IAC1C,OAAO,EAAE,0BAA0B,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,MAAM,CAAC;IACrB,iFAAiF;IACjF,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;CAC9D;AAsDD;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,4BAA4B,aAYhE,OAAO,oBAAoB,MAAM,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAWnF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { OwnerEnrollmentStart } from "./owner-enrollment-start.js";
|
|
2
|
+
export interface OwnerEnrollmentAdmissionPin {
|
|
3
|
+
coordinatorId: string;
|
|
4
|
+
origin: string;
|
|
5
|
+
issuer: string;
|
|
6
|
+
revision: string;
|
|
7
|
+
}
|
|
8
|
+
declare const admissionKeyBrand: unique symbol;
|
|
9
|
+
export type OwnerEnrollmentAdmissionKey = Readonly<{
|
|
10
|
+
[admissionKeyBrand]: true;
|
|
11
|
+
}>;
|
|
12
|
+
export declare function isOwnerEnrollmentAdmissionKey(value: unknown): value is OwnerEnrollmentAdmissionKey;
|
|
13
|
+
/** Server-only key import. Sharing raw CSRF bytes is safe because the MAC domain differs. */
|
|
14
|
+
export declare function importOwnerEnrollmentAdmissionKey(raw: Uint8Array): Promise<OwnerEnrollmentAdmissionKey>;
|
|
15
|
+
/** Admin-only issuer: call only after reviewing this exact signed start. No durable state is created. */
|
|
16
|
+
export declare function issueOwnerEnrollmentAdmission(key: OwnerEnrollmentAdmissionKey, pin: OwnerEnrollmentAdmissionPin, start: OwnerEnrollmentStart, options: {
|
|
17
|
+
nowMs: number;
|
|
18
|
+
ttlMs: number;
|
|
19
|
+
}): Promise<string>;
|
|
20
|
+
/** Exact retries still reach the retained-attempt uniqueness and capacity checks; this is not a replay store. */
|
|
21
|
+
export declare function verifyOwnerEnrollmentAdmission(key: OwnerEnrollmentAdmissionKey, token: unknown, pin: OwnerEnrollmentAdmissionPin, start: OwnerEnrollmentStart, nowMs: number): Promise<boolean>;
|
|
22
|
+
/** Server-resolved account/link only. This structural type confers no authorization. */
|
|
23
|
+
export interface OwnerEnrollmentResolvedOwner {
|
|
24
|
+
readonly coordinatorId: string;
|
|
25
|
+
readonly issuer: string;
|
|
26
|
+
readonly subject: string;
|
|
27
|
+
readonly identityId: string;
|
|
28
|
+
readonly linkId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface OwnerEnrollmentAdmissionV2Options {
|
|
31
|
+
readonly resolvedOwner: OwnerEnrollmentResolvedOwner;
|
|
32
|
+
readonly nowMs: number;
|
|
33
|
+
readonly ttlMs: number;
|
|
34
|
+
}
|
|
35
|
+
export interface OwnerEnrollmentAdmissionV2VerificationOptions {
|
|
36
|
+
readonly resolvedOwner: OwnerEnrollmentResolvedOwner;
|
|
37
|
+
readonly nowMs: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Unmounted primitive: hashes canonical JSON [domain, coordinator, issuer, subject, Identity, link].
|
|
41
|
+
* Returns lowercase SHA-256 hex, not authority or anonymization of guessable account data.
|
|
42
|
+
*/
|
|
43
|
+
export declare function ownerEnrollmentOwnerCommitment(owner: OwnerEnrollmentResolvedOwner): Promise<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Unmounted server-only issuer, NOT a self-service endpoint. Before calling, authenticate the
|
|
46
|
+
* session and resolve its active account link, Identity and grants server-side. Never accept
|
|
47
|
+
* resolvedOwner from request JSON. A type or commitment alone does not authorize issuance.
|
|
48
|
+
* Uses the existing private admission key; v1 operator issuance/verification stays unchanged.
|
|
49
|
+
*/
|
|
50
|
+
export declare function issueOwnerEnrollmentAdmissionV2(key: OwnerEnrollmentAdmissionKey, pin: OwnerEnrollmentAdmissionPin, start: OwnerEnrollmentStart, options: OwnerEnrollmentAdmissionV2Options): Promise<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Unmounted v2-only verifier; no v1 fallback. The hash companion is authenticated, not raw owner data.
|
|
53
|
+
* Callers must separately retain an immutable attempt owner pin, compare it at callback/finalize,
|
|
54
|
+
* and recheck live session/link/grant authority. This primitive creates no attempt or replay state.
|
|
55
|
+
*/
|
|
56
|
+
export declare function verifyOwnerEnrollmentAdmissionV2(key: OwnerEnrollmentAdmissionKey, token: unknown, pin: OwnerEnrollmentAdmissionPin, start: OwnerEnrollmentStart, options: OwnerEnrollmentAdmissionV2VerificationOptions): Promise<boolean>;
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=owner-enrollment-admission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-enrollment-admission.d.ts","sourceRoot":"","sources":["../src/owner-enrollment-admission.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,WAAW,2BAA2B;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACjB;AACD,OAAO,CAAC,MAAM,iBAAiB,EAAE,OAAO,MAAM,CAAC;AAC/C,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IAAE,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAA;CAAE,CAAC,CAAC;AAKlF,wBAAgB,6BAA6B,CAC5C,KAAK,EAAE,OAAO,GACZ,KAAK,IAAI,2BAA2B,CAItC;AAED,6FAA6F;AAC7F,wBAAsB,iCAAiC,CACtD,GAAG,EAAE,UAAU,GACb,OAAO,CAAC,2BAA2B,CAAC,CAatC;AAoED,yGAAyG;AACzG,wBAAsB,6BAA6B,CAClD,GAAG,EAAE,2BAA2B,EAChC,GAAG,EAAE,2BAA2B,EAChC,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE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,EAC3B,OAAO,EAAE,6CAA6C,GACpD,OAAO,CAAC,OAAO,CAAC,CA0BlB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AuthLinkBackend, AuthLinkStatement } from "./coordinator-auth-link.js";
|
|
2
|
+
import type { OwnerAuthorityAttempt } from "./coordinator-owner-enrollment-proof.js";
|
|
3
|
+
/** Scope SQL is private composition, with values from a session or stored attempt.
|
|
4
|
+
* No scope means no rows, never a coordinator-wide authority scan.
|
|
5
|
+
*/
|
|
6
|
+
export declare function readOwnerLinkAuthority(backend: AuthLinkBackend, time?: number, scope?: AuthLinkStatement): Promise<{
|
|
7
|
+
hasPin: boolean;
|
|
8
|
+
values: (string | number | null)[];
|
|
9
|
+
with: string;
|
|
10
|
+
qualification: string;
|
|
11
|
+
link: string;
|
|
12
|
+
active: string;
|
|
13
|
+
}>;
|
|
14
|
+
/** Controller-only SQL: cannot admit a claim or use qualification evidence.
|
|
15
|
+
* The attempt is the operation's SELECT * snapshot, never request JSON.
|
|
16
|
+
* Optional qualification-schema reads add no authority to this legacy branch.
|
|
17
|
+
*/
|
|
18
|
+
export declare function controllerOwnerLinkAuthority(attempt: OwnerAuthorityAttempt, scope: AuthLinkStatement): {
|
|
19
|
+
hasPin: boolean;
|
|
20
|
+
values: (string | number | null)[];
|
|
21
|
+
with: string;
|
|
22
|
+
qualification: string;
|
|
23
|
+
link: string;
|
|
24
|
+
active: string;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=owner-enrollment-link-authority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-enrollment-link-authority.d.ts","sourceRoot":"","sources":["../src/owner-enrollment-link-authority.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAGrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAsDrF;;GAEG;AACH,wBAAsB,sBAAsB,CAC3C,OAAO,EAAE,eAAe,EACxB,IAAI,SAAa,EACjB,KAAK,GAAE,iBAA4C;;;;;;;GAkBnD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC3C,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,iBAAiB;;;;;;;EAQxB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type OwnerAttempt } from "./coordinator-owner-enrollment-proof.js";
|
|
2
|
+
import { type OwnerEnrollmentComposition, type OwnerEnrollmentStart } from "./owner-enrollment-start.js";
|
|
3
|
+
export interface OwnerPinFixture {
|
|
4
|
+
options: OwnerEnrollmentComposition;
|
|
5
|
+
start: OwnerEnrollmentStart;
|
|
6
|
+
key: {
|
|
7
|
+
sign(message: string): string | Promise<string>;
|
|
8
|
+
};
|
|
9
|
+
claimRequest(): Request;
|
|
10
|
+
attempt(): Promise<OwnerAttempt>;
|
|
11
|
+
exec(sql: string, ...values: (string | number | null)[]): Promise<unknown>;
|
|
12
|
+
snapshot(options?: {
|
|
13
|
+
authorityOnly?: boolean;
|
|
14
|
+
}): Promise<unknown>;
|
|
15
|
+
}
|
|
16
|
+
declare function ownerPinTest(fixture: (use: (f: OwnerPinFixture) => Promise<void>) => Promise<void>): import("vitest").TestAPI<{
|
|
17
|
+
fixture: OwnerPinFixture;
|
|
18
|
+
}>;
|
|
19
|
+
export declare function registerOwnerPinTests(fixture: Parameters<typeof ownerPinTest>[0]): void;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=owner-enrollment-owner-pin-test-harness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-enrollment-owner-pin-test-harness.d.ts","sourceRoot":"","sources":["../src/owner-enrollment-owner-pin-test-harness.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,YAAY,EAEjB,MAAM,yCAAyC,CAAC;AAOjD,OAAO,EAEN,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,MAAM,6BAA6B,CAAC;AAIrC,MAAM,WAAW,eAAe;IAC/B,OAAO,EAAE,0BAA0B,CAAC;IACpC,KAAK,EAAE,oBAAoB,CAAC;IAC5B,GAAG,EAAE;QAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACzD,YAAY,IAAI,OAAO,CAAC;IACxB,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IACjC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3E,QAAQ,CAAC,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAClE;AAED,iBAAS,YAAY,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC;;GAI3F;AACD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,QAYhF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** NULL denotes the existing operator path, never an owner inferred from a device. */
|
|
2
|
+
export declare function validAdmissionOwnerHash(value: unknown): value is string | null;
|
|
3
|
+
interface OwnerPin {
|
|
4
|
+
admission_owner_hash: string | null;
|
|
5
|
+
coordinator_id: string;
|
|
6
|
+
issuer: string;
|
|
7
|
+
account_subject: string | null;
|
|
8
|
+
identity_id: string | null;
|
|
9
|
+
link_id: string | null;
|
|
10
|
+
}
|
|
11
|
+
/** Recompute from independently verified, exact account/link facts, not the token companion. */
|
|
12
|
+
export declare function matchesAdmissionOwner(row: OwnerPin): Promise<boolean>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=owner-enrollment-owner-pin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-enrollment-owner-pin.d.ts","sourceRoot":"","sources":["../src/owner-enrollment-owner-pin.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,GAAG,IAAI,CAE9E;AAED,UAAU,QAAQ;IACjB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,gGAAgG;AAChG,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,CAkB3E"}
|