@sentropic/cluster-mesh 0.25.0 → 0.27.0
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/comments/storage-schema.d.ts +1 -1
- package/dist/comments/transport-contracts.d.ts +1 -1
- package/dist/compile/contract/diagnostics.d.ts +9 -0
- package/dist/compile/contract/diagnostics.d.ts.map +1 -0
- package/dist/compile/contract/diagnostics.js +82 -0
- package/dist/compile/contract/diagnostics.js.map +1 -0
- package/dist/compile/contract/encoding.d.ts +12 -0
- package/dist/compile/contract/encoding.d.ts.map +1 -0
- package/dist/compile/contract/encoding.js +95 -0
- package/dist/compile/contract/encoding.js.map +1 -0
- package/dist/compile/contract/index.d.ts +9 -0
- package/dist/compile/contract/index.d.ts.map +1 -0
- package/dist/compile/contract/index.js +9 -0
- package/dist/compile/contract/index.js.map +1 -0
- package/dist/compile/contract/json.d.ts +3 -0
- package/dist/compile/contract/json.d.ts.map +1 -0
- package/dist/compile/contract/json.js +75 -0
- package/dist/compile/contract/json.js.map +1 -0
- package/dist/compile/contract/output.d.ts +5 -0
- package/dist/compile/contract/output.d.ts.map +1 -0
- package/dist/compile/contract/output.js +57 -0
- package/dist/compile/contract/output.js.map +1 -0
- package/dist/compile/contract/recipe.d.ts +5 -0
- package/dist/compile/contract/recipe.d.ts.map +1 -0
- package/dist/compile/contract/recipe.js +86 -0
- package/dist/compile/contract/recipe.js.map +1 -0
- package/dist/compile/contract/schema.d.ts +26 -0
- package/dist/compile/contract/schema.d.ts.map +1 -0
- package/dist/compile/contract/schema.js +92 -0
- package/dist/compile/contract/schema.js.map +1 -0
- package/dist/compile/contract/types.d.ts +166 -0
- package/dist/compile/contract/types.d.ts.map +1 -0
- package/dist/compile/contract/types.js +21 -0
- package/dist/compile/contract/types.js.map +1 -0
- package/dist/compile/contract/vectors.d.ts +38 -0
- package/dist/compile/contract/vectors.d.ts.map +1 -0
- package/dist/compile/contract/vectors.js +29 -0
- package/dist/compile/contract/vectors.js.map +1 -0
- package/dist/forge/contracts.d.ts +60 -0
- package/dist/forge/contracts.d.ts.map +1 -0
- package/dist/forge/contracts.js +19 -0
- package/dist/forge/contracts.js.map +1 -0
- package/dist/forge/custody.d.ts +7 -0
- package/dist/forge/custody.d.ts.map +1 -0
- package/dist/forge/custody.js +76 -0
- package/dist/forge/custody.js.map +1 -0
- package/dist/forge/enrollment.d.ts +151 -0
- package/dist/forge/enrollment.d.ts.map +1 -0
- package/dist/forge/enrollment.js +98 -0
- package/dist/forge/enrollment.js.map +1 -0
- package/dist/forge/github-api.d.ts +6 -0
- package/dist/forge/github-api.d.ts.map +1 -0
- package/dist/forge/github-api.js +131 -0
- package/dist/forge/github-api.js.map +1 -0
- package/dist/forge/hono.d.ts +14 -0
- package/dist/forge/hono.d.ts.map +1 -0
- package/dist/forge/hono.js +141 -0
- package/dist/forge/hono.js.map +1 -0
- package/dist/forge/lifecycle.d.ts +108 -0
- package/dist/forge/lifecycle.d.ts.map +1 -0
- package/dist/forge/lifecycle.js +160 -0
- package/dist/forge/lifecycle.js.map +1 -0
- package/dist/forge/records.d.ts +70 -0
- package/dist/forge/records.d.ts.map +1 -0
- package/dist/forge/records.js +2 -0
- package/dist/forge/records.js.map +1 -0
- package/dist/forge/rotation.d.ts +46 -0
- package/dist/forge/rotation.d.ts.map +1 -0
- package/dist/forge/rotation.js +62 -0
- package/dist/forge/rotation.js.map +1 -0
- package/dist/identity/auth-abort.d.ts +9 -0
- package/dist/identity/auth-abort.d.ts.map +1 -0
- package/dist/identity/auth-abort.js +59 -0
- package/dist/identity/auth-abort.js.map +1 -0
- package/dist/identity/auth-binding.d.ts +3 -0
- package/dist/identity/auth-binding.d.ts.map +1 -0
- package/dist/identity/auth-binding.js +87 -0
- package/dist/identity/auth-binding.js.map +1 -0
- package/dist/identity/auth-boundary.d.ts +11 -0
- package/dist/identity/auth-boundary.d.ts.map +1 -0
- package/dist/identity/auth-boundary.js +73 -0
- package/dist/identity/auth-boundary.js.map +1 -0
- package/dist/identity/auth-completion.d.ts +9 -0
- package/dist/identity/auth-completion.d.ts.map +1 -0
- package/dist/identity/auth-completion.js +24 -0
- package/dist/identity/auth-completion.js.map +1 -0
- package/dist/identity/auth-credentials.d.ts +5 -0
- package/dist/identity/auth-credentials.d.ts.map +1 -0
- package/dist/identity/auth-credentials.js +82 -0
- package/dist/identity/auth-credentials.js.map +1 -0
- package/dist/identity/auth-email.d.ts +8 -0
- package/dist/identity/auth-email.d.ts.map +1 -0
- package/dist/identity/auth-email.js +104 -0
- package/dist/identity/auth-email.js.map +1 -0
- package/dist/identity/auth-hono.d.ts +5 -0
- package/dist/identity/auth-hono.d.ts.map +1 -0
- package/dist/identity/auth-hono.js +10 -0
- package/dist/identity/auth-hono.js.map +1 -0
- package/dist/identity/auth-proofs.d.ts +11 -0
- package/dist/identity/auth-proofs.d.ts.map +1 -0
- package/dist/identity/auth-proofs.js +107 -0
- package/dist/identity/auth-proofs.js.map +1 -0
- package/dist/identity/auth-service-tenant.d.ts +4 -0
- package/dist/identity/auth-service-tenant.d.ts.map +1 -0
- package/dist/identity/auth-service-tenant.js +54 -0
- package/dist/identity/auth-service-tenant.js.map +1 -0
- package/dist/identity/auth-sessions.d.ts +8 -0
- package/dist/identity/auth-sessions.d.ts.map +1 -0
- package/dist/identity/auth-sessions.js +141 -0
- package/dist/identity/auth-sessions.js.map +1 -0
- package/dist/identity/auth-social.d.ts +4 -0
- package/dist/identity/auth-social.d.ts.map +1 -0
- package/dist/identity/auth-social.js +82 -0
- package/dist/identity/auth-social.js.map +1 -0
- package/dist/identity/auth-users.d.ts +9 -0
- package/dist/identity/auth-users.d.ts.map +1 -0
- package/dist/identity/auth-users.js +116 -0
- package/dist/identity/auth-users.js.map +1 -0
- package/dist/identity/auth-webauthn.d.ts +22 -0
- package/dist/identity/auth-webauthn.d.ts.map +1 -0
- package/dist/identity/auth-webauthn.js +108 -0
- package/dist/identity/auth-webauthn.js.map +1 -0
- package/dist/identity/cascade.d.ts +12 -0
- package/dist/identity/cascade.d.ts.map +1 -0
- package/dist/identity/cascade.js +19 -0
- package/dist/identity/cascade.js.map +1 -0
- package/dist/identity/connector-custody.d.ts +85 -0
- package/dist/identity/connector-custody.d.ts.map +1 -0
- package/dist/identity/connector-custody.js +288 -0
- package/dist/identity/connector-custody.js.map +1 -0
- package/dist/identity/conversation.d.ts +50 -0
- package/dist/identity/conversation.d.ts.map +1 -0
- package/dist/identity/conversation.js +102 -0
- package/dist/identity/conversation.js.map +1 -0
- package/dist/identity/custody-crypto.d.ts +37 -0
- package/dist/identity/custody-crypto.d.ts.map +1 -0
- package/dist/identity/custody-crypto.js +173 -0
- package/dist/identity/custody-crypto.js.map +1 -0
- package/dist/identity/decision.d.ts +28 -0
- package/dist/identity/decision.d.ts.map +1 -0
- package/dist/identity/decision.js +97 -0
- package/dist/identity/decision.js.map +1 -0
- package/dist/identity/index.d.ts +9 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/index.js +13 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/ledger.d.ts +120 -0
- package/dist/identity/ledger.d.ts.map +1 -0
- package/dist/identity/ledger.js +226 -0
- package/dist/identity/ledger.js.map +1 -0
- package/dist/identity/postgres.d.ts +13 -0
- package/dist/identity/postgres.d.ts.map +1 -0
- package/dist/identity/postgres.js +207 -0
- package/dist/identity/postgres.js.map +1 -0
- package/dist/identity/sqlite.d.ts +14 -0
- package/dist/identity/sqlite.d.ts.map +1 -0
- package/dist/identity/sqlite.js +193 -0
- package/dist/identity/sqlite.js.map +1 -0
- package/dist/identity-contracts/accounts.d.ts.map +1 -1
- package/dist/identity-contracts/accounts.js +4 -3
- package/dist/identity-contracts/accounts.js.map +1 -1
- package/dist/identity-contracts/boundary-resolution.d.ts +31 -0
- package/dist/identity-contracts/boundary-resolution.d.ts.map +1 -0
- package/dist/identity-contracts/boundary-resolution.js +56 -0
- package/dist/identity-contracts/boundary-resolution.js.map +1 -0
- package/dist/identity-contracts/composition-descriptors.d.ts +17 -0
- package/dist/identity-contracts/composition-descriptors.d.ts.map +1 -0
- package/dist/identity-contracts/composition-descriptors.js +77 -0
- package/dist/identity-contracts/composition-descriptors.js.map +1 -0
- package/dist/identity-contracts/custody-auth.d.ts +122 -0
- package/dist/identity-contracts/custody-auth.d.ts.map +1 -0
- package/dist/identity-contracts/custody-auth.js +2 -0
- package/dist/identity-contracts/custody-auth.js.map +1 -0
- package/dist/identity-contracts/custody-descriptors.d.ts +18 -0
- package/dist/identity-contracts/custody-descriptors.d.ts.map +1 -0
- package/dist/identity-contracts/custody-descriptors.js +83 -0
- package/dist/identity-contracts/custody-descriptors.js.map +1 -0
- package/dist/identity-contracts/custody-errors.d.ts +21 -0
- package/dist/identity-contracts/custody-errors.d.ts.map +1 -0
- package/dist/identity-contracts/custody-errors.js +80 -0
- package/dist/identity-contracts/custody-errors.js.map +1 -0
- package/dist/identity-contracts/custody-operations.d.ts +79 -0
- package/dist/identity-contracts/custody-operations.d.ts.map +1 -0
- package/dist/identity-contracts/custody-operations.js +2 -0
- package/dist/identity-contracts/custody-operations.js.map +1 -0
- package/dist/identity-contracts/custody.d.ts +587 -0
- package/dist/identity-contracts/custody.d.ts.map +1 -0
- package/dist/identity-contracts/custody.js +7 -0
- package/dist/identity-contracts/custody.js.map +1 -0
- package/dist/identity-contracts/doubles.d.ts +11 -2
- package/dist/identity-contracts/doubles.d.ts.map +1 -1
- package/dist/identity-contracts/doubles.js +20 -0
- package/dist/identity-contracts/doubles.js.map +1 -1
- package/dist/identity-contracts/index.d.ts +10 -0
- package/dist/identity-contracts/index.d.ts.map +1 -1
- package/dist/identity-contracts/index.js +10 -0
- package/dist/identity-contracts/index.js.map +1 -1
- package/dist/identity-contracts/oauth-reads.d.ts +42 -0
- package/dist/identity-contracts/oauth-reads.d.ts.map +1 -0
- package/dist/identity-contracts/oauth-reads.js +38 -0
- package/dist/identity-contracts/oauth-reads.js.map +1 -0
- package/dist/identity-contracts/replica-sync.d.ts +89 -0
- package/dist/identity-contracts/replica-sync.d.ts.map +1 -0
- package/dist/identity-contracts/replica-sync.js +7 -0
- package/dist/identity-contracts/replica-sync.js.map +1 -0
- package/dist/identity-contracts/service-tenancy.d.ts +43 -0
- package/dist/identity-contracts/service-tenancy.d.ts.map +1 -0
- package/dist/identity-contracts/service-tenancy.js +75 -0
- package/dist/identity-contracts/service-tenancy.js.map +1 -0
- package/dist/identity-contracts/workspace-deletion.d.ts +56 -0
- package/dist/identity-contracts/workspace-deletion.d.ts.map +1 -0
- package/dist/identity-contracts/workspace-deletion.js +7 -0
- package/dist/identity-contracts/workspace-deletion.js.map +1 -0
- package/dist/identity-stores/index.d.ts +4 -0
- package/dist/identity-stores/index.d.ts.map +1 -0
- package/dist/identity-stores/index.js +7 -0
- package/dist/identity-stores/index.js.map +1 -0
- package/dist/identity-stores/tenancy-postgres.d.ts +23 -0
- package/dist/identity-stores/tenancy-postgres.d.ts.map +1 -0
- package/dist/identity-stores/tenancy-postgres.js +294 -0
- package/dist/identity-stores/tenancy-postgres.js.map +1 -0
- package/dist/identity-stores/tenancy-schema.d.ts +11 -0
- package/dist/identity-stores/tenancy-schema.d.ts.map +1 -0
- package/dist/identity-stores/tenancy-schema.js +74 -0
- package/dist/identity-stores/tenancy-schema.js.map +1 -0
- package/dist/identity-stores/tenancy-sqlite.d.ts +24 -0
- package/dist/identity-stores/tenancy-sqlite.d.ts.map +1 -0
- package/dist/identity-stores/tenancy-sqlite.js +288 -0
- package/dist/identity-stores/tenancy-sqlite.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/loaders/notifications/index.d.ts +5 -0
- package/dist/loaders/notifications/index.d.ts.map +1 -0
- package/dist/loaders/notifications/index.js +6 -0
- package/dist/loaders/notifications/index.js.map +1 -0
- package/dist/mcp/stateful-preflight.d.ts +1 -1
- package/dist/messaging/email-port.d.ts +49 -0
- package/dist/messaging/email-port.d.ts.map +1 -0
- package/dist/messaging/email-port.js +92 -0
- package/dist/messaging/email-port.js.map +1 -0
- package/dist/messaging/index.d.ts +1 -0
- package/dist/messaging/index.d.ts.map +1 -1
- package/dist/messaging/index.js +1 -0
- package/dist/messaging/index.js.map +1 -1
- package/dist/modules/catalog.d.ts +5 -4
- package/dist/modules/catalog.d.ts.map +1 -1
- package/dist/modules/catalog.js +10 -5
- package/dist/modules/catalog.js.map +1 -1
- package/dist/modules/contracts.d.ts +1 -1
- package/dist/modules/contracts.d.ts.map +1 -1
- package/dist/modules/contracts.js +1 -0
- package/dist/modules/contracts.js.map +1 -1
- package/dist/notifications/incident-policy.d.ts +6 -0
- package/dist/notifications/incident-policy.d.ts.map +1 -0
- package/dist/notifications/incident-policy.js +119 -0
- package/dist/notifications/incident-policy.js.map +1 -0
- package/dist/notifications/incident-schedule.d.ts +14 -0
- package/dist/notifications/incident-schedule.d.ts.map +1 -0
- package/dist/notifications/incident-schedule.js +36 -0
- package/dist/notifications/incident-schedule.js.map +1 -0
- package/dist/notifications/incident-state.d.ts +72 -0
- package/dist/notifications/incident-state.d.ts.map +1 -0
- package/dist/notifications/incident-state.js +72 -0
- package/dist/notifications/incident-state.js.map +1 -0
- package/dist/notifications/index.d.ts +9 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +9 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/ops-job-failure-contract.d.ts +19 -0
- package/dist/notifications/ops-job-failure-contract.d.ts.map +1 -0
- package/dist/notifications/ops-job-failure-contract.js +183 -0
- package/dist/notifications/ops-job-failure-contract.js.map +1 -0
- package/dist/notifications/ops-job-failure-types.d.ts +81 -0
- package/dist/notifications/ops-job-failure-types.d.ts.map +1 -0
- package/dist/notifications/ops-job-failure-types.js +73 -0
- package/dist/notifications/ops-job-failure-types.js.map +1 -0
- package/dist/notifications/recipients-http.d.ts +66 -0
- package/dist/notifications/recipients-http.d.ts.map +1 -0
- package/dist/notifications/recipients-http.js +148 -0
- package/dist/notifications/recipients-http.js.map +1 -0
- package/dist/notifications/recipients.d.ts +50 -0
- package/dist/notifications/recipients.d.ts.map +1 -0
- package/dist/notifications/recipients.js +59 -0
- package/dist/notifications/recipients.js.map +1 -0
- package/dist/prompts/registry.d.ts +55 -0
- package/dist/prompts/registry.d.ts.map +1 -0
- package/dist/prompts/registry.js +76 -0
- package/dist/prompts/registry.js.map +1 -0
- package/dist/remote/assembly-contract.d.ts +96 -0
- package/dist/remote/assembly-contract.d.ts.map +1 -0
- package/dist/remote/assembly-contract.js +150 -0
- package/dist/remote/assembly-contract.js.map +1 -0
- package/dist/remote/contract-receipt.d.ts +36 -0
- package/dist/remote/contract-receipt.d.ts.map +1 -0
- package/dist/remote/contract-receipt.js +109 -0
- package/dist/remote/contract-receipt.js.map +1 -0
- package/dist/remote/credit-baseline.d.ts +60 -0
- package/dist/remote/credit-baseline.d.ts.map +1 -0
- package/dist/remote/credit-baseline.js +117 -0
- package/dist/remote/credit-baseline.js.map +1 -0
- package/dist/runtime/heavy-phase-queue.d.ts +101 -0
- package/dist/runtime/heavy-phase-queue.d.ts.map +1 -0
- package/dist/runtime/heavy-phase-queue.js +129 -0
- package/dist/runtime/heavy-phase-queue.js.map +1 -0
- package/dist/sessions/content-policy.d.ts +55 -0
- package/dist/sessions/content-policy.d.ts.map +1 -0
- package/dist/sessions/content-policy.js +133 -0
- package/dist/sessions/content-policy.js.map +1 -0
- package/dist/sessions/registry-admin.d.ts +19 -0
- package/dist/sessions/registry-admin.d.ts.map +1 -0
- package/dist/sessions/registry-admin.js +42 -0
- package/dist/sessions/registry-admin.js.map +1 -0
- package/dist/sessions/registry-freshness.d.ts +8 -0
- package/dist/sessions/registry-freshness.d.ts.map +1 -0
- package/dist/sessions/registry-freshness.js +108 -0
- package/dist/sessions/registry-freshness.js.map +1 -0
- package/dist/sessions/registry-ingest.d.ts +5 -0
- package/dist/sessions/registry-ingest.d.ts.map +1 -0
- package/dist/sessions/registry-ingest.js +113 -0
- package/dist/sessions/registry-ingest.js.map +1 -0
- package/dist/sessions/registry-publish.d.ts +18 -0
- package/dist/sessions/registry-publish.d.ts.map +1 -0
- package/dist/sessions/registry-publish.js +134 -0
- package/dist/sessions/registry-publish.js.map +1 -0
- package/dist/sessions/registry-store.d.ts +51 -0
- package/dist/sessions/registry-store.d.ts.map +1 -0
- package/dist/sessions/registry-store.js +134 -0
- package/dist/sessions/registry-store.js.map +1 -0
- package/dist/sessions/registry-types.d.ts +180 -0
- package/dist/sessions/registry-types.d.ts.map +1 -0
- package/dist/sessions/registry-types.js +32 -0
- package/dist/sessions/registry-types.js.map +1 -0
- package/dist/sessions/registry.d.ts +45 -0
- package/dist/sessions/registry.d.ts.map +1 -0
- package/dist/sessions/registry.js +74 -0
- package/dist/sessions/registry.js.map +1 -0
- package/dist/sessions/relay-bind.d.ts +38 -0
- package/dist/sessions/relay-bind.d.ts.map +1 -0
- package/dist/sessions/relay-bind.js +74 -0
- package/dist/sessions/relay-bind.js.map +1 -0
- package/dist/sessions/relay-brand.d.ts +2 -0
- package/dist/sessions/relay-brand.d.ts.map +1 -0
- package/dist/sessions/relay-brand.js +7 -0
- package/dist/sessions/relay-brand.js.map +1 -0
- package/dist/sessions/relay-capsule.d.ts +50 -0
- package/dist/sessions/relay-capsule.d.ts.map +1 -0
- package/dist/sessions/relay-capsule.js +72 -0
- package/dist/sessions/relay-capsule.js.map +1 -0
- package/dist/sessions/relay-chain-failure.d.ts +25 -0
- package/dist/sessions/relay-chain-failure.d.ts.map +1 -0
- package/dist/sessions/relay-chain-failure.js +23 -0
- package/dist/sessions/relay-chain-failure.js.map +1 -0
- package/dist/sessions/relay-chain.d.ts +74 -0
- package/dist/sessions/relay-chain.d.ts.map +1 -0
- package/dist/sessions/relay-chain.js +71 -0
- package/dist/sessions/relay-chain.js.map +1 -0
- package/dist/sessions/relay-composition.d.ts +8 -0
- package/dist/sessions/relay-composition.d.ts.map +1 -0
- package/dist/sessions/relay-composition.js +65 -0
- package/dist/sessions/relay-composition.js.map +1 -0
- package/dist/sessions/relay-credit.d.ts +40 -0
- package/dist/sessions/relay-credit.d.ts.map +1 -0
- package/dist/sessions/relay-credit.js +68 -0
- package/dist/sessions/relay-credit.js.map +1 -0
- package/dist/sessions/relay-engine.d.ts +19 -0
- package/dist/sessions/relay-engine.d.ts.map +1 -0
- package/dist/sessions/relay-engine.js +34 -0
- package/dist/sessions/relay-engine.js.map +1 -0
- package/dist/sessions/relay-frames.d.ts +28 -0
- package/dist/sessions/relay-frames.d.ts.map +1 -0
- package/dist/sessions/relay-frames.js +72 -0
- package/dist/sessions/relay-frames.js.map +1 -0
- package/dist/sessions/relay-lane-client.d.ts +7 -0
- package/dist/sessions/relay-lane-client.d.ts.map +1 -0
- package/dist/sessions/relay-lane-client.js +137 -0
- package/dist/sessions/relay-lane-client.js.map +1 -0
- package/dist/sessions/relay-lane-lease.d.ts +20 -0
- package/dist/sessions/relay-lane-lease.d.ts.map +1 -0
- package/dist/sessions/relay-lane-lease.js +74 -0
- package/dist/sessions/relay-lane-lease.js.map +1 -0
- package/dist/sessions/relay-lane-record.d.ts +28 -0
- package/dist/sessions/relay-lane-record.d.ts.map +1 -0
- package/dist/sessions/relay-lane-record.js +28 -0
- package/dist/sessions/relay-lane-record.js.map +1 -0
- package/dist/sessions/relay-lane-stream.d.ts +13 -0
- package/dist/sessions/relay-lane-stream.d.ts.map +1 -0
- package/dist/sessions/relay-lane-stream.js +148 -0
- package/dist/sessions/relay-lane-stream.js.map +1 -0
- package/dist/sessions/relay-routes.d.ts +368 -0
- package/dist/sessions/relay-routes.d.ts.map +1 -0
- package/dist/sessions/relay-routes.js +46 -0
- package/dist/sessions/relay-routes.js.map +1 -0
- package/dist/sessions/relay-skeleton.d.ts +4 -0
- package/dist/sessions/relay-skeleton.d.ts.map +1 -0
- package/dist/sessions/relay-skeleton.js +85 -0
- package/dist/sessions/relay-skeleton.js.map +1 -0
- package/dist/sessions/relay-types.d.ts +107 -0
- package/dist/sessions/relay-types.d.ts.map +1 -0
- package/dist/sessions/relay-types.js +2 -0
- package/dist/sessions/relay-types.js.map +1 -0
- package/dist/sessions/relay-validate.d.ts +8 -0
- package/dist/sessions/relay-validate.d.ts.map +1 -0
- package/dist/sessions/relay-validate.js +169 -0
- package/dist/sessions/relay-validate.js.map +1 -0
- package/dist/sessions/relay-wire.d.ts +8 -0
- package/dist/sessions/relay-wire.d.ts.map +1 -0
- package/dist/sessions/relay-wire.js +37 -0
- package/dist/sessions/relay-wire.js.map +1 -0
- package/dist/sessions/relay-wiring.d.ts +26 -0
- package/dist/sessions/relay-wiring.d.ts.map +1 -0
- package/dist/sessions/relay-wiring.js +13 -0
- package/dist/sessions/relay-wiring.js.map +1 -0
- package/dist/sessions/relay.d.ts +11 -0
- package/dist/sessions/relay.d.ts.map +1 -0
- package/dist/sessions/relay.js +71 -0
- package/dist/sessions/relay.js.map +1 -0
- package/dist/storage/artifact-blob.d.ts +50 -0
- package/dist/storage/artifact-blob.d.ts.map +1 -0
- package/dist/storage/artifact-blob.js +2 -0
- package/dist/storage/artifact-blob.js.map +1 -0
- package/dist/storage/descriptor.d.ts +1 -1
- package/dist/storage/errors.d.ts +1 -1
- package/dist/storage/identity/atomic-deletion.d.ts +4 -0
- package/dist/storage/identity/atomic-deletion.d.ts.map +1 -0
- package/dist/storage/identity/atomic-deletion.js +235 -0
- package/dist/storage/identity/atomic-deletion.js.map +1 -0
- package/dist/storage/identity/custody-composition.d.ts +9 -0
- package/dist/storage/identity/custody-composition.d.ts.map +1 -0
- package/dist/storage/identity/custody-composition.js +31 -0
- package/dist/storage/identity/custody-composition.js.map +1 -0
- package/dist/storage/identity/custody-delivery-record.d.ts +4 -0
- package/dist/storage/identity/custody-delivery-record.d.ts.map +1 -0
- package/dist/storage/identity/custody-delivery-record.js +11 -0
- package/dist/storage/identity/custody-delivery-record.js.map +1 -0
- package/dist/storage/identity/custody-host.d.ts +16 -0
- package/dist/storage/identity/custody-host.d.ts.map +1 -0
- package/dist/storage/identity/custody-host.js +5 -0
- package/dist/storage/identity/custody-host.js.map +1 -0
- package/dist/storage/identity/custody-import-deliveries.d.ts +6 -0
- package/dist/storage/identity/custody-import-deliveries.d.ts.map +1 -0
- package/dist/storage/identity/custody-import-deliveries.js +46 -0
- package/dist/storage/identity/custody-import-deliveries.js.map +1 -0
- package/dist/storage/identity/custody-import.d.ts +4 -0
- package/dist/storage/identity/custody-import.d.ts.map +1 -0
- package/dist/storage/identity/custody-import.js +364 -0
- package/dist/storage/identity/custody-import.js.map +1 -0
- package/dist/storage/identity/custody-journal-postgres.d.ts +125 -0
- package/dist/storage/identity/custody-journal-postgres.d.ts.map +1 -0
- package/dist/storage/identity/custody-journal-postgres.js +428 -0
- package/dist/storage/identity/custody-journal-postgres.js.map +1 -0
- package/dist/storage/identity/custody-journal-sqlite.d.ts +121 -0
- package/dist/storage/identity/custody-journal-sqlite.d.ts.map +1 -0
- package/dist/storage/identity/custody-journal-sqlite.js +345 -0
- package/dist/storage/identity/custody-journal-sqlite.js.map +1 -0
- package/dist/storage/identity/custody-lifecycle.d.ts +4 -0
- package/dist/storage/identity/custody-lifecycle.d.ts.map +1 -0
- package/dist/storage/identity/custody-lifecycle.js +42 -0
- package/dist/storage/identity/custody-lifecycle.js.map +1 -0
- package/dist/storage/identity/custody-postgres.d.ts +96 -0
- package/dist/storage/identity/custody-postgres.d.ts.map +1 -0
- package/dist/storage/identity/custody-postgres.js +726 -0
- package/dist/storage/identity/custody-postgres.js.map +1 -0
- package/dist/storage/identity/custody-records.d.ts +17 -0
- package/dist/storage/identity/custody-records.d.ts.map +1 -0
- package/dist/storage/identity/custody-records.js +260 -0
- package/dist/storage/identity/custody-records.js.map +1 -0
- package/dist/storage/identity/custody-shared.d.ts +28 -0
- package/dist/storage/identity/custody-shared.d.ts.map +1 -0
- package/dist/storage/identity/custody-shared.js +24 -0
- package/dist/storage/identity/custody-shared.js.map +1 -0
- package/dist/storage/identity/custody-sqlite.d.ts +93 -0
- package/dist/storage/identity/custody-sqlite.d.ts.map +1 -0
- package/dist/storage/identity/custody-sqlite.js +568 -0
- package/dist/storage/identity/custody-sqlite.js.map +1 -0
- package/dist/storage/identity/custody-tombstone-record.d.ts +3 -0
- package/dist/storage/identity/custody-tombstone-record.d.ts.map +1 -0
- package/dist/storage/identity/custody-tombstone-record.js +8 -0
- package/dist/storage/identity/custody-tombstone-record.js.map +1 -0
- package/dist/storage/identity/custody-transaction-guards.d.ts +16 -0
- package/dist/storage/identity/custody-transaction-guards.d.ts.map +1 -0
- package/dist/storage/identity/custody-transaction-guards.js +64 -0
- package/dist/storage/identity/custody-transaction-guards.js.map +1 -0
- package/dist/storage/identity/custody-transaction-ports.d.ts +9 -0
- package/dist/storage/identity/custody-transaction-ports.d.ts.map +1 -0
- package/dist/storage/identity/custody-transaction-ports.js +106 -0
- package/dist/storage/identity/custody-transaction-ports.js.map +1 -0
- package/dist/storage/identity/deletion-planes.d.ts +10 -0
- package/dist/storage/identity/deletion-planes.d.ts.map +1 -0
- package/dist/storage/identity/deletion-planes.js +54 -0
- package/dist/storage/identity/deletion-planes.js.map +1 -0
- package/dist/storage/identity/index.d.ts +18 -0
- package/dist/storage/identity/index.d.ts.map +1 -0
- package/dist/storage/identity/index.js +22 -0
- package/dist/storage/identity/index.js.map +1 -0
- package/dist/storage/identity/postgres.d.ts +16 -0
- package/dist/storage/identity/postgres.d.ts.map +1 -0
- package/dist/storage/identity/postgres.js +345 -0
- package/dist/storage/identity/postgres.js.map +1 -0
- package/dist/storage/identity/records.d.ts +12 -0
- package/dist/storage/identity/records.d.ts.map +1 -0
- package/dist/storage/identity/records.js +84 -0
- package/dist/storage/identity/records.js.map +1 -0
- package/dist/storage/identity/replica-sync.d.ts +4 -0
- package/dist/storage/identity/replica-sync.d.ts.map +1 -0
- package/dist/storage/identity/replica-sync.js +402 -0
- package/dist/storage/identity/replica-sync.js.map +1 -0
- package/dist/storage/identity/schema.d.ts +13 -0
- package/dist/storage/identity/schema.d.ts.map +1 -0
- package/dist/storage/identity/schema.js +418 -0
- package/dist/storage/identity/schema.js.map +1 -0
- package/dist/storage/identity/sqlite-schema.d.ts +4 -0
- package/dist/storage/identity/sqlite-schema.d.ts.map +1 -0
- package/dist/storage/identity/sqlite-schema.js +17 -0
- package/dist/storage/identity/sqlite-schema.js.map +1 -0
- package/dist/storage/identity/sqlite.d.ts +25 -0
- package/dist/storage/identity/sqlite.d.ts.map +1 -0
- package/dist/storage/identity/sqlite.js +233 -0
- package/dist/storage/identity/sqlite.js.map +1 -0
- package/dist/storage/identity/stores.d.ts +10 -0
- package/dist/storage/identity/stores.d.ts.map +1 -0
- package/dist/storage/identity/stores.js +5 -0
- package/dist/storage/identity/stores.js.map +1 -0
- package/dist/storage/identity/wiring.d.ts +20 -0
- package/dist/storage/identity/wiring.d.ts.map +1 -0
- package/dist/storage/identity/wiring.js +26 -0
- package/dist/storage/identity/wiring.js.map +1 -0
- package/dist/storage/identity/workspace-deletion.d.ts +3 -0
- package/dist/storage/identity/workspace-deletion.d.ts.map +1 -0
- package/dist/storage/identity/workspace-deletion.js +100 -0
- package/dist/storage/identity/workspace-deletion.js.map +1 -0
- package/dist/storage/index.d.ts +1 -0
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/postgres/journal.d.ts +1 -1
- package/dist/storage/postgres/profiles.d.ts +2 -2
- package/dist/storage/postgres/scope.d.ts +1 -1
- package/dist/storage/root-facade.d.ts +1 -1
- package/dist/storage/root-journal.d.ts +1 -1
- package/dist/storage/root-profiles.d.ts +1 -1
- package/package.json +56 -4
- package/ui/AdminUsersScreen.svelte +197 -0
- package/ui/AdminUsersScreen.svelte.d.ts +4 -0
- package/ui/LoginScreen.svelte +15 -0
- package/ui/LoginScreen.svelte.d.ts +4 -0
- package/ui/MembershipDecisionsScreen.svelte +76 -0
- package/ui/MembershipDecisionsScreen.svelte.d.ts +4 -0
- package/ui/RegistrationScreen.svelte +15 -0
- package/ui/RegistrationScreen.svelte.d.ts +4 -0
- package/ui/WorkspaceMembersScreen.svelte +86 -0
- package/ui/WorkspaceMembersScreen.svelte.d.ts +4 -0
- package/ui/auth-flow.ts +44 -0
- package/ui/management-ports.ts +36 -0
- package/ui/management-transport.ts +29 -0
- package/contracts/engram-memory-neutral-contract-v1.d.ts +0 -367
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// INTERNAL stream iterator implementing the frozen L-6 iterator discipline
|
|
2
|
+
// (RC2.contract r3 runtimeComposition.stream/.termination): cold open on first
|
|
3
|
+
// next(), single consumer, buffered queue ≤ 8 events / ≤ 131072 encoded bytes
|
|
4
|
+
// then one relay_backpressure and done, exactly one typed error then done,
|
|
5
|
+
// mid-event EOF → relay_protocol_refused (never a partial record), incompatible
|
|
6
|
+
// route → relay_lane_refused, return() cancels only this request, abort while
|
|
7
|
+
// next() waits → one relay_unavailable then done. Not packed; minted only by
|
|
8
|
+
// the lane client engine (relay-lane-client).
|
|
9
|
+
import { relayError } from './registry-types.js';
|
|
10
|
+
import { jcsCanonicalize } from './relay-wire.js';
|
|
11
|
+
import { RELAY_LINK_MAX_FRAMES, RELAY_LINK_MAX_PAYLOAD_BYTES } from './relay-credit.js';
|
|
12
|
+
import { correlate } from './relay-lane-record.js';
|
|
13
|
+
const DONE = { done: true, value: undefined };
|
|
14
|
+
export function createLaneStreamIterator(routeId, start, signal, hooks) {
|
|
15
|
+
let source = null;
|
|
16
|
+
let opened = false;
|
|
17
|
+
let finished = false;
|
|
18
|
+
let overflow = false;
|
|
19
|
+
let eof = false;
|
|
20
|
+
let partialEof = false;
|
|
21
|
+
const queue = [];
|
|
22
|
+
let queuedBytes = 0;
|
|
23
|
+
let interrupt = null;
|
|
24
|
+
let tail = Promise.resolve();
|
|
25
|
+
const onAbortOrClose = () => {
|
|
26
|
+
interrupt?.();
|
|
27
|
+
};
|
|
28
|
+
signal?.addEventListener('abort', onAbortOrClose, { once: true });
|
|
29
|
+
hooks.onClose(onAbortOrClose);
|
|
30
|
+
const finish = () => {
|
|
31
|
+
finished = true;
|
|
32
|
+
interrupt?.();
|
|
33
|
+
source?.cancel();
|
|
34
|
+
source = null;
|
|
35
|
+
signal?.removeEventListener('abort', onAbortOrClose);
|
|
36
|
+
};
|
|
37
|
+
// One terminal typed error, then done on the following next().
|
|
38
|
+
const terminal = (error) => {
|
|
39
|
+
finish();
|
|
40
|
+
return { done: false, value: { routeId, error } };
|
|
41
|
+
};
|
|
42
|
+
const pull = () => {
|
|
43
|
+
const current = source;
|
|
44
|
+
const interrupted = new Promise((resolve) => {
|
|
45
|
+
interrupt = () => resolve({ done: true, interrupted: true });
|
|
46
|
+
});
|
|
47
|
+
return Promise.race([current.next(), interrupted]).finally(() => {
|
|
48
|
+
interrupt = null;
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
const cancelSource = () => {
|
|
52
|
+
const s = source;
|
|
53
|
+
source = null;
|
|
54
|
+
s?.cancel();
|
|
55
|
+
};
|
|
56
|
+
const step = async () => {
|
|
57
|
+
if (finished)
|
|
58
|
+
return DONE;
|
|
59
|
+
if (queue.length > 0)
|
|
60
|
+
return { done: false, value: queue.shift() };
|
|
61
|
+
if (!opened) {
|
|
62
|
+
opened = true;
|
|
63
|
+
let started;
|
|
64
|
+
try {
|
|
65
|
+
started = await start();
|
|
66
|
+
}
|
|
67
|
+
catch {
|
|
68
|
+
return terminal(relayError('relay_unavailable', true));
|
|
69
|
+
}
|
|
70
|
+
if (finished)
|
|
71
|
+
return DONE;
|
|
72
|
+
if ('error' in started)
|
|
73
|
+
return terminal(started.error);
|
|
74
|
+
source = started.source;
|
|
75
|
+
}
|
|
76
|
+
if (signal?.aborted || hooks.isClosed())
|
|
77
|
+
return terminal(relayError('relay_unavailable', true));
|
|
78
|
+
while (!overflow && !eof && !partialEof && queue.length < RELAY_LINK_MAX_FRAMES) {
|
|
79
|
+
const rec = await pull();
|
|
80
|
+
if (finished)
|
|
81
|
+
return DONE;
|
|
82
|
+
if (rec.interrupted || signal?.aborted || hooks.isClosed())
|
|
83
|
+
return terminal(relayError('relay_unavailable', true));
|
|
84
|
+
if (rec.partial) {
|
|
85
|
+
partialEof = true; // mid-event EOF: complete events drain first, never a partial record
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
if (rec.done) {
|
|
89
|
+
eof = true;
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
const bytes = 4 + jcsCanonicalize(rec.record).length;
|
|
93
|
+
if (queuedBytes + bytes > RELAY_LINK_MAX_PAYLOAD_BYTES) {
|
|
94
|
+
overflow = true;
|
|
95
|
+
cancelSource();
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
const correlated = correlate(routeId, rec.record);
|
|
99
|
+
if ('error' in correlated)
|
|
100
|
+
return terminal(correlated.error);
|
|
101
|
+
queue.push(correlated.response);
|
|
102
|
+
queuedBytes += bytes;
|
|
103
|
+
}
|
|
104
|
+
// Buffer full and the source still has events → backpressure after drain.
|
|
105
|
+
if (!overflow && !eof && !partialEof && queue.length >= RELAY_LINK_MAX_FRAMES) {
|
|
106
|
+
const rec = await pull();
|
|
107
|
+
if (finished)
|
|
108
|
+
return DONE;
|
|
109
|
+
if (rec.interrupted || signal?.aborted || hooks.isClosed())
|
|
110
|
+
return terminal(relayError('relay_unavailable', true));
|
|
111
|
+
if (rec.partial)
|
|
112
|
+
partialEof = true;
|
|
113
|
+
else if (rec.done)
|
|
114
|
+
eof = true;
|
|
115
|
+
else {
|
|
116
|
+
overflow = true;
|
|
117
|
+
cancelSource();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
if (queue.length > 0)
|
|
121
|
+
return { done: false, value: queue.shift() };
|
|
122
|
+
if (partialEof)
|
|
123
|
+
return terminal(relayError('relay_protocol_refused'));
|
|
124
|
+
if (overflow)
|
|
125
|
+
return terminal(relayError('relay_backpressure', true));
|
|
126
|
+
if (eof) {
|
|
127
|
+
finish();
|
|
128
|
+
return DONE;
|
|
129
|
+
}
|
|
130
|
+
return terminal(relayError('relay_protocol_refused'));
|
|
131
|
+
};
|
|
132
|
+
return {
|
|
133
|
+
[Symbol.asyncIterator]() {
|
|
134
|
+
return this;
|
|
135
|
+
},
|
|
136
|
+
next() {
|
|
137
|
+
// Single consumer: concurrent next() calls are serialized in call order.
|
|
138
|
+
const result = tail.then(step, step);
|
|
139
|
+
tail = result.catch(() => undefined);
|
|
140
|
+
return result;
|
|
141
|
+
},
|
|
142
|
+
return() {
|
|
143
|
+
finish();
|
|
144
|
+
return Promise.resolve(DONE);
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=relay-lane-stream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relay-lane-stream.js","sourceRoot":"","sources":["../../src/sessions/relay-lane-stream.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+EAA+E;AAC/E,8EAA8E;AAC9E,2EAA2E;AAC3E,gFAAgF;AAChF,8EAA8E;AAC9E,6EAA6E;AAC7E,8CAA8C;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AASnD,MAAM,IAAI,GAA+C,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;AAE1F,MAAM,UAAU,wBAAwB,CACtC,OAAe,EACf,KAA4E,EAC5E,MAA+B,EAC/B,KAAwB;IAExB,IAAI,MAAM,GAA8B,IAAI,CAAC;IAC7C,IAAI,MAAM,GAAG,KAAK,CAAC;IACnB,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,GAAG,GAAG,KAAK,CAAC;IAChB,IAAI,UAAU,GAAG,KAAK,CAAC;IACvB,MAAM,KAAK,GAAiC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ane = 'content' | 'actions' | 'results' | 'lifecycle';
|
|
3
|
+
export type SessionRelayStage = 'listing' | 'bootstrap' | 'bound';
|
|
4
|
+
export type SessionRelayEngineKind = 'cli' | 'app-chat';
|
|
5
|
+
export interface SessionRelayRouteSpec {
|
|
6
|
+
readonly method: 'GET' | 'POST';
|
|
7
|
+
readonly path: string;
|
|
8
|
+
readonly lane: SessionRelayLane;
|
|
9
|
+
readonly stages: readonly SessionRelayStage[];
|
|
10
|
+
readonly engines: readonly SessionRelayEngineKind[];
|
|
11
|
+
readonly stream: boolean;
|
|
12
|
+
readonly maxRequestBytes: number;
|
|
13
|
+
readonly successStatus: number;
|
|
14
|
+
readonly pathParameters: readonly string[];
|
|
15
|
+
readonly bodyRequired: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const SESSION_RELAY_INNER_ROUTES: {
|
|
18
|
+
readonly 'source-open': {
|
|
19
|
+
readonly method: "POST";
|
|
20
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions";
|
|
21
|
+
readonly lane: "lifecycle";
|
|
22
|
+
readonly stages: readonly ["bootstrap", "bound"];
|
|
23
|
+
readonly engines: readonly ["cli"];
|
|
24
|
+
readonly stream: false;
|
|
25
|
+
readonly maxRequestBytes: 65536;
|
|
26
|
+
readonly successStatus: 200;
|
|
27
|
+
readonly pathParameters: readonly ["bindingId"];
|
|
28
|
+
readonly bodyRequired: true;
|
|
29
|
+
};
|
|
30
|
+
readonly 'source-renew': {
|
|
31
|
+
readonly method: "POST";
|
|
32
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/renew";
|
|
33
|
+
readonly lane: "lifecycle";
|
|
34
|
+
readonly stages: readonly ["bound"];
|
|
35
|
+
readonly engines: readonly ["cli"];
|
|
36
|
+
readonly stream: false;
|
|
37
|
+
readonly maxRequestBytes: 65536;
|
|
38
|
+
readonly successStatus: 200;
|
|
39
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
40
|
+
readonly bodyRequired: true;
|
|
41
|
+
};
|
|
42
|
+
readonly 'grant-fetch': {
|
|
43
|
+
readonly method: "GET";
|
|
44
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/grants/:proposalId";
|
|
45
|
+
readonly lane: "lifecycle";
|
|
46
|
+
readonly stages: readonly ["bound"];
|
|
47
|
+
readonly engines: readonly ["cli"];
|
|
48
|
+
readonly stream: false;
|
|
49
|
+
readonly maxRequestBytes: 0;
|
|
50
|
+
readonly successStatus: 200;
|
|
51
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId", "proposalId"];
|
|
52
|
+
readonly bodyRequired: false;
|
|
53
|
+
};
|
|
54
|
+
readonly 'policy-fetch': {
|
|
55
|
+
readonly method: "GET";
|
|
56
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/policies/:policyId/:policyRevision";
|
|
57
|
+
readonly lane: "lifecycle";
|
|
58
|
+
readonly stages: readonly ["bound"];
|
|
59
|
+
readonly engines: readonly ["cli"];
|
|
60
|
+
readonly stream: false;
|
|
61
|
+
readonly maxRequestBytes: 0;
|
|
62
|
+
readonly successStatus: 200;
|
|
63
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId", "policyId", "policyRevision"];
|
|
64
|
+
readonly bodyRequired: false;
|
|
65
|
+
};
|
|
66
|
+
readonly 'activation-ack': {
|
|
67
|
+
readonly method: "POST";
|
|
68
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/acks";
|
|
69
|
+
readonly lane: "lifecycle";
|
|
70
|
+
readonly stages: readonly ["bound"];
|
|
71
|
+
readonly engines: readonly ["cli"];
|
|
72
|
+
readonly stream: false;
|
|
73
|
+
readonly maxRequestBytes: 65536;
|
|
74
|
+
readonly successStatus: 200;
|
|
75
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
76
|
+
readonly bodyRequired: true;
|
|
77
|
+
};
|
|
78
|
+
readonly 'native-challenge': {
|
|
79
|
+
readonly method: "POST";
|
|
80
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/challenges";
|
|
81
|
+
readonly lane: "lifecycle";
|
|
82
|
+
readonly stages: readonly ["bound"];
|
|
83
|
+
readonly engines: readonly ["cli"];
|
|
84
|
+
readonly stream: false;
|
|
85
|
+
readonly maxRequestBytes: 65536;
|
|
86
|
+
readonly successStatus: 200;
|
|
87
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
88
|
+
readonly bodyRequired: true;
|
|
89
|
+
};
|
|
90
|
+
readonly 'source-control': {
|
|
91
|
+
readonly method: "GET";
|
|
92
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/control";
|
|
93
|
+
readonly lane: "lifecycle";
|
|
94
|
+
readonly stages: readonly ["bound"];
|
|
95
|
+
readonly engines: readonly ["cli"];
|
|
96
|
+
readonly stream: true;
|
|
97
|
+
readonly maxRequestBytes: 0;
|
|
98
|
+
readonly successStatus: 200;
|
|
99
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
100
|
+
readonly bodyRequired: false;
|
|
101
|
+
};
|
|
102
|
+
readonly 'cli-proof': {
|
|
103
|
+
readonly method: "POST";
|
|
104
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/proofs";
|
|
105
|
+
readonly lane: "lifecycle";
|
|
106
|
+
readonly stages: readonly ["bound"];
|
|
107
|
+
readonly engines: readonly ["cli"];
|
|
108
|
+
readonly stream: false;
|
|
109
|
+
readonly maxRequestBytes: 65536;
|
|
110
|
+
readonly successStatus: 200;
|
|
111
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
112
|
+
readonly bodyRequired: true;
|
|
113
|
+
};
|
|
114
|
+
readonly 'action-nonce': {
|
|
115
|
+
readonly method: "POST";
|
|
116
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/actions/nonces";
|
|
117
|
+
readonly lane: "lifecycle";
|
|
118
|
+
readonly stages: readonly ["bound"];
|
|
119
|
+
readonly engines: readonly ["cli"];
|
|
120
|
+
readonly stream: false;
|
|
121
|
+
readonly maxRequestBytes: 65536;
|
|
122
|
+
readonly successStatus: 200;
|
|
123
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
124
|
+
readonly bodyRequired: true;
|
|
125
|
+
};
|
|
126
|
+
readonly 'continuity-ack': {
|
|
127
|
+
readonly method: "POST";
|
|
128
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/acks";
|
|
129
|
+
readonly lane: "lifecycle";
|
|
130
|
+
readonly stages: readonly ["bound"];
|
|
131
|
+
readonly engines: readonly ["cli"];
|
|
132
|
+
readonly stream: false;
|
|
133
|
+
readonly maxRequestBytes: 65536;
|
|
134
|
+
readonly successStatus: 200;
|
|
135
|
+
readonly pathParameters: readonly ["bindingId"];
|
|
136
|
+
readonly bodyRequired: true;
|
|
137
|
+
};
|
|
138
|
+
readonly 'history-auth': {
|
|
139
|
+
readonly method: "GET";
|
|
140
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/history/authorizations/:authorizationId";
|
|
141
|
+
readonly lane: "lifecycle";
|
|
142
|
+
readonly stages: readonly ["bound"];
|
|
143
|
+
readonly engines: readonly ["cli"];
|
|
144
|
+
readonly stream: false;
|
|
145
|
+
readonly maxRequestBytes: 0;
|
|
146
|
+
readonly successStatus: 200;
|
|
147
|
+
readonly pathParameters: readonly ["bindingId", "authorizationId"];
|
|
148
|
+
readonly bodyRequired: false;
|
|
149
|
+
};
|
|
150
|
+
readonly 'history-admission': {
|
|
151
|
+
readonly method: "GET";
|
|
152
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/history/admissions/:descriptorHash";
|
|
153
|
+
readonly lane: "lifecycle";
|
|
154
|
+
readonly stages: readonly ["bound"];
|
|
155
|
+
readonly engines: readonly ["cli"];
|
|
156
|
+
readonly stream: false;
|
|
157
|
+
readonly maxRequestBytes: 0;
|
|
158
|
+
readonly successStatus: 200;
|
|
159
|
+
readonly pathParameters: readonly ["bindingId", "descriptorHash"];
|
|
160
|
+
readonly bodyRequired: false;
|
|
161
|
+
};
|
|
162
|
+
readonly 'typed-events': {
|
|
163
|
+
readonly method: "POST";
|
|
164
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/events";
|
|
165
|
+
readonly lane: "content";
|
|
166
|
+
readonly stages: readonly ["bound"];
|
|
167
|
+
readonly engines: readonly ["cli"];
|
|
168
|
+
readonly stream: false;
|
|
169
|
+
readonly maxRequestBytes: 65536;
|
|
170
|
+
readonly successStatus: 200;
|
|
171
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
172
|
+
readonly bodyRequired: true;
|
|
173
|
+
};
|
|
174
|
+
readonly 'pty-fragments': {
|
|
175
|
+
readonly method: "POST";
|
|
176
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/fragments";
|
|
177
|
+
readonly lane: "content";
|
|
178
|
+
readonly stages: readonly ["bound"];
|
|
179
|
+
readonly engines: readonly ["cli"];
|
|
180
|
+
readonly stream: false;
|
|
181
|
+
readonly maxRequestBytes: 65536;
|
|
182
|
+
readonly successStatus: 200;
|
|
183
|
+
readonly pathParameters: readonly ["bindingId"];
|
|
184
|
+
readonly bodyRequired: true;
|
|
185
|
+
};
|
|
186
|
+
readonly 'archive-snapshot': {
|
|
187
|
+
readonly method: "POST";
|
|
188
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/snapshots";
|
|
189
|
+
readonly lane: "content";
|
|
190
|
+
readonly stages: readonly ["bound"];
|
|
191
|
+
readonly engines: readonly ["cli"];
|
|
192
|
+
readonly stream: false;
|
|
193
|
+
readonly maxRequestBytes: 65536;
|
|
194
|
+
readonly successStatus: 200;
|
|
195
|
+
readonly pathParameters: readonly ["bindingId"];
|
|
196
|
+
readonly bodyRequired: true;
|
|
197
|
+
};
|
|
198
|
+
readonly 'archive-segment': {
|
|
199
|
+
readonly method: "POST";
|
|
200
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/segments";
|
|
201
|
+
readonly lane: "content";
|
|
202
|
+
readonly stages: readonly ["bound"];
|
|
203
|
+
readonly engines: readonly ["cli"];
|
|
204
|
+
readonly stream: false;
|
|
205
|
+
readonly maxRequestBytes: 65536;
|
|
206
|
+
readonly successStatus: 200;
|
|
207
|
+
readonly pathParameters: readonly ["bindingId"];
|
|
208
|
+
readonly bodyRequired: true;
|
|
209
|
+
};
|
|
210
|
+
readonly 'action-stream': {
|
|
211
|
+
readonly method: "GET";
|
|
212
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/actions/stream";
|
|
213
|
+
readonly lane: "actions";
|
|
214
|
+
readonly stages: readonly ["bound"];
|
|
215
|
+
readonly engines: readonly ["cli"];
|
|
216
|
+
readonly stream: true;
|
|
217
|
+
readonly maxRequestBytes: 0;
|
|
218
|
+
readonly successStatus: 200;
|
|
219
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId"];
|
|
220
|
+
readonly bodyRequired: false;
|
|
221
|
+
};
|
|
222
|
+
readonly 'action-claim': {
|
|
223
|
+
readonly method: "POST";
|
|
224
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/actions/:actionId/claim";
|
|
225
|
+
readonly lane: "actions";
|
|
226
|
+
readonly stages: readonly ["bound"];
|
|
227
|
+
readonly engines: readonly ["cli"];
|
|
228
|
+
readonly stream: false;
|
|
229
|
+
readonly maxRequestBytes: 65536;
|
|
230
|
+
readonly successStatus: 200;
|
|
231
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId", "actionId"];
|
|
232
|
+
readonly bodyRequired: true;
|
|
233
|
+
};
|
|
234
|
+
readonly 'action-result': {
|
|
235
|
+
readonly method: "POST";
|
|
236
|
+
readonly path: "/api/v1/auth/session/content/:bindingId/source/sessions/:sourceSessionId/actions/:actionId/results";
|
|
237
|
+
readonly lane: "results";
|
|
238
|
+
readonly stages: readonly ["bound"];
|
|
239
|
+
readonly engines: readonly ["cli"];
|
|
240
|
+
readonly stream: false;
|
|
241
|
+
readonly maxRequestBytes: 65536;
|
|
242
|
+
readonly successStatus: 200;
|
|
243
|
+
readonly pathParameters: readonly ["bindingId", "sourceSessionId", "actionId"];
|
|
244
|
+
readonly bodyRequired: true;
|
|
245
|
+
};
|
|
246
|
+
readonly 'listing-grant-fetch': {
|
|
247
|
+
readonly method: "GET";
|
|
248
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/listing-grants/:grantId";
|
|
249
|
+
readonly lane: "lifecycle";
|
|
250
|
+
readonly stages: readonly ["listing", "bootstrap", "bound"];
|
|
251
|
+
readonly engines: readonly ["cli", "app-chat"];
|
|
252
|
+
readonly stream: false;
|
|
253
|
+
readonly maxRequestBytes: 0;
|
|
254
|
+
readonly successStatus: 200;
|
|
255
|
+
readonly pathParameters: readonly ["sessionId", "grantId"];
|
|
256
|
+
readonly bodyRequired: false;
|
|
257
|
+
};
|
|
258
|
+
readonly 'listing-grant-ack': {
|
|
259
|
+
readonly method: "POST";
|
|
260
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/listing-grants/:grantId/acks";
|
|
261
|
+
readonly lane: "lifecycle";
|
|
262
|
+
readonly stages: readonly ["listing", "bootstrap", "bound"];
|
|
263
|
+
readonly engines: readonly ["cli", "app-chat"];
|
|
264
|
+
readonly stream: false;
|
|
265
|
+
readonly maxRequestBytes: 65536;
|
|
266
|
+
readonly successStatus: 200;
|
|
267
|
+
readonly pathParameters: readonly ["sessionId", "grantId"];
|
|
268
|
+
readonly bodyRequired: true;
|
|
269
|
+
};
|
|
270
|
+
readonly 'listing-publish': {
|
|
271
|
+
readonly method: "POST";
|
|
272
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/listing";
|
|
273
|
+
readonly lane: "lifecycle";
|
|
274
|
+
readonly stages: readonly ["listing", "bootstrap", "bound"];
|
|
275
|
+
readonly engines: readonly ["cli", "app-chat"];
|
|
276
|
+
readonly stream: false;
|
|
277
|
+
readonly maxRequestBytes: 65536;
|
|
278
|
+
readonly successStatus: 200;
|
|
279
|
+
readonly pathParameters: readonly ["sessionId"];
|
|
280
|
+
readonly bodyRequired: true;
|
|
281
|
+
};
|
|
282
|
+
readonly 'freshness-publish': {
|
|
283
|
+
readonly method: "POST";
|
|
284
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/freshness";
|
|
285
|
+
readonly lane: "lifecycle";
|
|
286
|
+
readonly stages: readonly ["listing", "bootstrap", "bound"];
|
|
287
|
+
readonly engines: readonly ["cli", "app-chat"];
|
|
288
|
+
readonly stream: false;
|
|
289
|
+
readonly maxRequestBytes: 65536;
|
|
290
|
+
readonly successStatus: 200;
|
|
291
|
+
readonly pathParameters: readonly ["sessionId"];
|
|
292
|
+
readonly bodyRequired: true;
|
|
293
|
+
};
|
|
294
|
+
readonly 'lifecycle-publish': {
|
|
295
|
+
readonly method: "POST";
|
|
296
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/lifecycle";
|
|
297
|
+
readonly lane: "lifecycle";
|
|
298
|
+
readonly stages: readonly ["bound"];
|
|
299
|
+
readonly engines: readonly ["cli", "app-chat"];
|
|
300
|
+
readonly stream: false;
|
|
301
|
+
readonly maxRequestBytes: 65536;
|
|
302
|
+
readonly successStatus: 200;
|
|
303
|
+
readonly pathParameters: readonly ["sessionId"];
|
|
304
|
+
readonly bodyRequired: true;
|
|
305
|
+
};
|
|
306
|
+
readonly 'snapshot-publish': {
|
|
307
|
+
readonly method: "POST";
|
|
308
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/snapshot";
|
|
309
|
+
readonly lane: "lifecycle";
|
|
310
|
+
readonly stages: readonly ["bound"];
|
|
311
|
+
readonly engines: readonly ["cli", "app-chat"];
|
|
312
|
+
readonly stream: false;
|
|
313
|
+
readonly maxRequestBytes: 65536;
|
|
314
|
+
readonly successStatus: 200;
|
|
315
|
+
readonly pathParameters: readonly ["sessionId"];
|
|
316
|
+
readonly bodyRequired: true;
|
|
317
|
+
};
|
|
318
|
+
readonly 'drive-binding-fetch': {
|
|
319
|
+
readonly method: "GET";
|
|
320
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/drive-bindings/:bindingId/:consentRevision";
|
|
321
|
+
readonly lane: "lifecycle";
|
|
322
|
+
readonly stages: readonly ["bound"];
|
|
323
|
+
readonly engines: readonly ["cli"];
|
|
324
|
+
readonly stream: false;
|
|
325
|
+
readonly maxRequestBytes: 0;
|
|
326
|
+
readonly successStatus: 200;
|
|
327
|
+
readonly pathParameters: readonly ["sessionId", "bindingId", "consentRevision"];
|
|
328
|
+
readonly bodyRequired: false;
|
|
329
|
+
};
|
|
330
|
+
readonly 'drive-binding-ack': {
|
|
331
|
+
readonly method: "POST";
|
|
332
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/drive-bindings/:bindingId/:consentRevision/acks";
|
|
333
|
+
readonly lane: "lifecycle";
|
|
334
|
+
readonly stages: readonly ["bound"];
|
|
335
|
+
readonly engines: readonly ["cli"];
|
|
336
|
+
readonly stream: false;
|
|
337
|
+
readonly maxRequestBytes: 65536;
|
|
338
|
+
readonly successStatus: 200;
|
|
339
|
+
readonly pathParameters: readonly ["sessionId", "bindingId", "consentRevision"];
|
|
340
|
+
readonly bodyRequired: true;
|
|
341
|
+
};
|
|
342
|
+
readonly 'chat-events': {
|
|
343
|
+
readonly method: "POST";
|
|
344
|
+
readonly path: "/mesh/v1/remote-sessions/:sessionId/chat/events";
|
|
345
|
+
readonly lane: "content";
|
|
346
|
+
readonly stages: readonly ["bound"];
|
|
347
|
+
readonly engines: readonly ["app-chat"];
|
|
348
|
+
readonly stream: false;
|
|
349
|
+
readonly maxRequestBytes: 65536;
|
|
350
|
+
readonly successStatus: 200;
|
|
351
|
+
readonly pathParameters: readonly ["sessionId"];
|
|
352
|
+
readonly bodyRequired: true;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
export type SessionRelayLaneRequestRouteId = Exclude<keyof typeof SESSION_RELAY_INNER_ROUTES, 'source-control' | 'action-stream'>;
|
|
356
|
+
export type SessionRelayLaneStreamRouteId = 'source-control' | 'action-stream';
|
|
357
|
+
export type SessionRelayLaneRouteId = keyof typeof SESSION_RELAY_INNER_ROUTES;
|
|
358
|
+
export declare const SESSION_RELAY_LANE_REQUEST_ROUTE_IDS: readonly SessionRelayLaneRequestRouteId[];
|
|
359
|
+
export declare const SESSION_RELAY_LANE_STREAM_ROUTE_IDS: readonly SessionRelayLaneStreamRouteId[];
|
|
360
|
+
type RevisionPathParameter = 'policyRevision' | 'consentRevision';
|
|
361
|
+
export type SessionRelayPathParameters<R extends SessionRelayLaneRouteId> = {
|
|
362
|
+
[K in (typeof SESSION_RELAY_INNER_ROUTES)[R]['pathParameters'][number]]: K extends RevisionPathParameter ? number : string;
|
|
363
|
+
};
|
|
364
|
+
export type SessionRelayRequestBody<R extends SessionRelayLaneRouteId> = (typeof SESSION_RELAY_INNER_ROUTES)[R]['bodyRequired'] extends true ? unknown : null;
|
|
365
|
+
export declare function relayRouteSpec(routeId: string): SessionRelayRouteSpec | null;
|
|
366
|
+
export declare const SESSION_RELAY_CLOSE_REASONS: readonly RelayErrorCode[];
|
|
367
|
+
export {};
|
|
368
|
+
//# sourceMappingURL=relay-routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relay-routes.d.ts","sourceRoot":"","sources":["../../src/sessions/relay-routes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;AAClE,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,UAAU,CAAC;AAExD,MAAM,WAAW,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AC;AAE/F,eAAO,MAAM,mCAAmC,EAAE,SAAS,6BAA6B,EAAwC,CAAC;AAEjI,KAAK,qBAAqB,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AAElE,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,uBAAuB,IAAI;KACzE,CAAC,IAAI,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,qBAAqB,GAAG,MAAM,GAAG,MAAM;CAC3H,CAAC;AAEF,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,uBAAuB,IACnE,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,SAAS,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC;AAEvF,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB,GAAG,IAAI,CAE5E;AAED,eAAO,MAAM,2BAA2B,EAAE,SAAS,cAAc,EAMhE,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const R = '/api/v1/auth/session/content/:bindingId';
|
|
2
|
+
const S = `${R}/source/sessions/:sourceSessionId`;
|
|
3
|
+
const M = '/mesh/v1/remote-sessions/:sessionId';
|
|
4
|
+
export const SESSION_RELAY_INNER_ROUTES = {
|
|
5
|
+
'source-open': { method: 'POST', path: `${R}/source/sessions`, lane: 'lifecycle', stages: ['bootstrap', 'bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId'], bodyRequired: true },
|
|
6
|
+
'source-renew': { method: 'POST', path: `${S}/renew`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: true },
|
|
7
|
+
'grant-fetch': { method: 'GET', path: `${S}/grants/:proposalId`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 0, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId', 'proposalId'], bodyRequired: false },
|
|
8
|
+
'policy-fetch': { method: 'GET', path: `${S}/policies/:policyId/:policyRevision`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 0, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId', 'policyId', 'policyRevision'], bodyRequired: false },
|
|
9
|
+
'activation-ack': { method: 'POST', path: `${S}/acks`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: true },
|
|
10
|
+
'native-challenge': { method: 'POST', path: `${S}/challenges`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: true },
|
|
11
|
+
'source-control': { method: 'GET', path: `${S}/control`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: true, maxRequestBytes: 0, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: false },
|
|
12
|
+
'cli-proof': { method: 'POST', path: `${S}/proofs`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: true },
|
|
13
|
+
'action-nonce': { method: 'POST', path: `${S}/actions/nonces`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: true },
|
|
14
|
+
'continuity-ack': { method: 'POST', path: `${R}/source/acks`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId'], bodyRequired: true },
|
|
15
|
+
'history-auth': { method: 'GET', path: `${R}/history/authorizations/:authorizationId`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 0, successStatus: 200, pathParameters: ['bindingId', 'authorizationId'], bodyRequired: false },
|
|
16
|
+
'history-admission': { method: 'GET', path: `${R}/history/admissions/:descriptorHash`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 0, successStatus: 200, pathParameters: ['bindingId', 'descriptorHash'], bodyRequired: false },
|
|
17
|
+
'typed-events': { method: 'POST', path: `${S}/events`, lane: 'content', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: true },
|
|
18
|
+
'pty-fragments': { method: 'POST', path: `${R}/fragments`, lane: 'content', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId'], bodyRequired: true },
|
|
19
|
+
'archive-snapshot': { method: 'POST', path: `${R}/source/snapshots`, lane: 'content', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId'], bodyRequired: true },
|
|
20
|
+
'archive-segment': { method: 'POST', path: `${R}/source/segments`, lane: 'content', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId'], bodyRequired: true },
|
|
21
|
+
'action-stream': { method: 'GET', path: `${S}/actions/stream`, lane: 'actions', stages: ['bound'], engines: ['cli'], stream: true, maxRequestBytes: 0, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId'], bodyRequired: false },
|
|
22
|
+
'action-claim': { method: 'POST', path: `${S}/actions/:actionId/claim`, lane: 'actions', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId', 'actionId'], bodyRequired: true },
|
|
23
|
+
'action-result': { method: 'POST', path: `${S}/actions/:actionId/results`, lane: 'results', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['bindingId', 'sourceSessionId', 'actionId'], bodyRequired: true },
|
|
24
|
+
'listing-grant-fetch': { method: 'GET', path: `${M}/listing-grants/:grantId`, lane: 'lifecycle', stages: ['listing', 'bootstrap', 'bound'], engines: ['cli', 'app-chat'], stream: false, maxRequestBytes: 0, successStatus: 200, pathParameters: ['sessionId', 'grantId'], bodyRequired: false },
|
|
25
|
+
'listing-grant-ack': { method: 'POST', path: `${M}/listing-grants/:grantId/acks`, lane: 'lifecycle', stages: ['listing', 'bootstrap', 'bound'], engines: ['cli', 'app-chat'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId', 'grantId'], bodyRequired: true },
|
|
26
|
+
'listing-publish': { method: 'POST', path: `${M}/listing`, lane: 'lifecycle', stages: ['listing', 'bootstrap', 'bound'], engines: ['cli', 'app-chat'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId'], bodyRequired: true },
|
|
27
|
+
'freshness-publish': { method: 'POST', path: `${M}/freshness`, lane: 'lifecycle', stages: ['listing', 'bootstrap', 'bound'], engines: ['cli', 'app-chat'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId'], bodyRequired: true },
|
|
28
|
+
'lifecycle-publish': { method: 'POST', path: `${M}/lifecycle`, lane: 'lifecycle', stages: ['bound'], engines: ['cli', 'app-chat'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId'], bodyRequired: true },
|
|
29
|
+
'snapshot-publish': { method: 'POST', path: `${M}/snapshot`, lane: 'lifecycle', stages: ['bound'], engines: ['cli', 'app-chat'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId'], bodyRequired: true },
|
|
30
|
+
'drive-binding-fetch': { method: 'GET', path: `${M}/drive-bindings/:bindingId/:consentRevision`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 0, successStatus: 200, pathParameters: ['sessionId', 'bindingId', 'consentRevision'], bodyRequired: false },
|
|
31
|
+
'drive-binding-ack': { method: 'POST', path: `${M}/drive-bindings/:bindingId/:consentRevision/acks`, lane: 'lifecycle', stages: ['bound'], engines: ['cli'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId', 'bindingId', 'consentRevision'], bodyRequired: true },
|
|
32
|
+
'chat-events': { method: 'POST', path: `${M}/chat/events`, lane: 'content', stages: ['bound'], engines: ['app-chat'], stream: false, maxRequestBytes: 65536, successStatus: 200, pathParameters: ['sessionId'], bodyRequired: true },
|
|
33
|
+
};
|
|
34
|
+
export const SESSION_RELAY_LANE_REQUEST_ROUTE_IDS = Object.keys(SESSION_RELAY_INNER_ROUTES).filter((id) => !SESSION_RELAY_INNER_ROUTES[id].stream);
|
|
35
|
+
export const SESSION_RELAY_LANE_STREAM_ROUTE_IDS = ['source-control', 'action-stream'];
|
|
36
|
+
export function relayRouteSpec(routeId) {
|
|
37
|
+
return SESSION_RELAY_INNER_ROUTES[routeId] ?? null;
|
|
38
|
+
}
|
|
39
|
+
export const SESSION_RELAY_CLOSE_REASONS = [
|
|
40
|
+
'relay_auth_required', 'relay_scope_refused', 'relay_consent_refused', 'relay_lane_refused',
|
|
41
|
+
'relay_loop', 'relay_hop_limit', 'relay_route_conflict', 'relay_stale_generation',
|
|
42
|
+
'relay_frame_conflict', 'relay_grant_expired', 'relay_grant_revoked', 'relay_grant_unavailable',
|
|
43
|
+
'relay_origin_refused', 'relay_protocol_refused', 'relay_oversize', 'relay_version_unsupported',
|
|
44
|
+
'relay_backpressure', 'relay_unavailable', 'relay_policy_unavailable',
|
|
45
|
+
];
|
|
46
|
+
//# sourceMappingURL=relay-routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relay-routes.js","sourceRoot":"","sources":["../../src/sessions/relay-routes.ts"],"names":[],"mappings":"AAwBA,MAAM,CAAC,GAAG,yCAAyC,CAAC;AACpD,MAAM,CAAC,GAAG,GAAG,CAAC,mCAAmC,CAAC;AAClD,MAAM,CAAC,GAAG,q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pE,qBAAqB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,oBAAoB;IAC3F,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,wBAAwB;IACjF,sBAAsB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,yBAAyB;IAC/F,sBAAsB,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,2BAA2B;IAC/F,oBAAoB,EAAE,mBAAmB,EAAE,0BAA0B;CACtE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SessionRelayLaneClientV1 } from './relay-types.js';
|
|
2
|
+
export declare function isSessionRelayLaneClient(value: unknown): value is SessionRelayLaneClientV1;
|
|
3
|
+
export declare function createSkeletonLaneClient(): SessionRelayLaneClientV1;
|
|
4
|
+
//# sourceMappingURL=relay-skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relay-skeleton.d.ts","sourceRoot":"","sources":["../../src/sessions/relay-skeleton.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,wBAAwB,EAGzB,MAAM,kBAAkB,CAAC;AAG1B,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,wBAAwB,CAM1F;AAmBD,wBAAgB,wBAAwB,IAAI,wBAAwB,CAmDnE"}
|