@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
|
@@ -10,15 +10,16 @@ export declare const ARTIFACTS_PACKAGE = "@sentropic/artifacts";
|
|
|
10
10
|
export declare const ARTIFACTS_RANGE = ">=0.2.0 <0.3.0";
|
|
11
11
|
export declare const ENGRAM_MEMORY_PACKAGE = "@sentropic/engram";
|
|
12
12
|
export declare const ENGRAM_MEMORY_RANGE = ">=0.22.0 <0.23.0";
|
|
13
|
-
export declare const LLM_MESH_RANGE = "0.19.2 || >=0.22.0 <0.
|
|
14
|
-
export declare const LLM_MESH_SPEECH_RANGE = ">=0.28.0 <0.
|
|
15
|
-
export declare const LLM_GATEWAY_RANGE = ">=0.19.0 <0.
|
|
13
|
+
export declare const LLM_MESH_RANGE = "0.19.2 || >=0.22.0 <0.39.0";
|
|
14
|
+
export declare const LLM_MESH_SPEECH_RANGE = ">=0.28.0 <0.39.0";
|
|
15
|
+
export declare const LLM_GATEWAY_RANGE = ">=0.19.0 <0.28.0";
|
|
16
16
|
export declare const MCP_AUTH_RANGE = ">=0.2.1 <0.3.0";
|
|
17
17
|
export declare const JOSE_RANGE = "^5.10.0";
|
|
18
18
|
/** Follows llm-gateway's declared optional peer range, including the Zod 4 auth-hono release.
|
|
19
19
|
* Spelled as a bounded interval: the minimal release-range parser has no `||`. */
|
|
20
|
-
export declare const AUTH_HONO_RANGE = ">=0.15.0 <0.
|
|
20
|
+
export declare const AUTH_HONO_RANGE = ">=0.15.0 <0.19.0";
|
|
21
21
|
export declare const COMMENTS_RANGE = "^0.3.0";
|
|
22
|
+
export declare const NOTIFICATIONS_RANGE = ">=0.21.0 <0.28.0";
|
|
22
23
|
export interface PeerRequirement {
|
|
23
24
|
readonly packageName: string;
|
|
24
25
|
readonly subpath: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/modules/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EACjC,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AACtD,eAAO,MAAM,mBAAmB,2BAA2B,CAAC;AAC5D,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,sFAAsF;AACtF,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,eAAO,MAAM,iBAAiB,yBAAyB,CAAC;AACxD,8EAA8E;AAC9E,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AACzD,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,cAAc,+BAA+B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AACxD,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AACpD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,UAAU,YAAY,CAAC;AACpC;kFACkF;AAClF,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,eAAO,MAAM,cAAc,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/modules/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EACjC,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AACtD,eAAO,MAAM,mBAAmB,2BAA2B,CAAC;AAC5D,eAAO,MAAM,oBAAoB,4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F,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,2EAA2E;IAC3E,QAAQ,CAAC,SAAS,EAAE,SAAS,eAAe,EAAE,CAAC;CAChD;AAgCD,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CA4C9F,CAAC;AAqBF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,EAAE,IAAI,2BAA2B,CAEhF;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,EAAE,IAAI,wBAAwB,CAE1E;AAKD,eAAO,MAAM,mBAAmB,EAAE,SAAS,qBAAqB,EAiB9D,CAAC"}
|
package/dist/modules/catalog.js
CHANGED
|
@@ -9,15 +9,16 @@ export const ARTIFACTS_PACKAGE = '@sentropic/artifacts';
|
|
|
9
9
|
export const ARTIFACTS_RANGE = '>=0.2.0 <0.3.0';
|
|
10
10
|
export const ENGRAM_MEMORY_PACKAGE = '@sentropic/engram';
|
|
11
11
|
export const ENGRAM_MEMORY_RANGE = '>=0.22.0 <0.23.0';
|
|
12
|
-
export const LLM_MESH_RANGE = '0.19.2 || >=0.22.0 <0.
|
|
13
|
-
export const LLM_MESH_SPEECH_RANGE = '>=0.28.0 <0.
|
|
14
|
-
export const LLM_GATEWAY_RANGE = '>=0.19.0 <0.
|
|
12
|
+
export const LLM_MESH_RANGE = '0.19.2 || >=0.22.0 <0.39.0';
|
|
13
|
+
export const LLM_MESH_SPEECH_RANGE = '>=0.28.0 <0.39.0';
|
|
14
|
+
export const LLM_GATEWAY_RANGE = '>=0.19.0 <0.28.0';
|
|
15
15
|
export const MCP_AUTH_RANGE = '>=0.2.1 <0.3.0';
|
|
16
16
|
export const JOSE_RANGE = '^5.10.0';
|
|
17
17
|
/** Follows llm-gateway's declared optional peer range, including the Zod 4 auth-hono release.
|
|
18
18
|
* Spelled as a bounded interval: the minimal release-range parser has no `||`. */
|
|
19
|
-
export const AUTH_HONO_RANGE = '>=0.15.0 <0.
|
|
19
|
+
export const AUTH_HONO_RANGE = '>=0.15.0 <0.19.0';
|
|
20
20
|
export const COMMENTS_RANGE = '^0.3.0';
|
|
21
|
+
export const NOTIFICATIONS_RANGE = '>=0.21.0 <0.28.0';
|
|
21
22
|
// No provider specifier is ever imported from the root graph: the registry imports the
|
|
22
23
|
// metadata-resolved physical file, so bundling the root never pulls a provider in.
|
|
23
24
|
const SERVICE_AUTH_PEERS = [
|
|
@@ -81,9 +82,13 @@ export const PROVIDER_CATALOG = {
|
|
|
81
82
|
subpath: './memory-substrate', range: ENGRAM_MEMORY_RANGE, meshCoherence: false, authPeers: [],
|
|
82
83
|
requiredMembers: ['openModuleStorageCanonicalMemoryStoreV1', 'createMemoryPortV2'],
|
|
83
84
|
},
|
|
84
|
-
comments: { id: 'comments', owner: 'comments', packageName: '@sentropic/cluster-mesh', subpath: './comments', range: '>=0.21.0 <0.
|
|
85
|
+
comments: { id: 'comments', owner: 'comments', packageName: '@sentropic/cluster-mesh', subpath: './comments', range: '>=0.21.0 <0.28.0',
|
|
85
86
|
requiredMembers: ['createCommentsModule', 'createCommentsPostgresStorage'], namespace: '/comments', meshCoherence: false,
|
|
86
87
|
authPeers: [{ packageName: '@sentropic/comments', subpath: '.', range: COMMENTS_RANGE, requiredMembers: ['createAnnotationRevision', 'validateCapacityDescriptor', 'hashRecord'] }] },
|
|
88
|
+
notifications: { id: 'notifications', owner: 'notifications', packageName: '@sentropic/cluster-mesh', subpath: './notifications',
|
|
89
|
+
range: NOTIFICATIONS_RANGE,
|
|
90
|
+
requiredMembers: ['OPS_JOB_FAILURE_CONTRACT_V1', 'validateOpsJobFailureV1', 'applyOpsJobFailureEvent', 'createDeclaredOpsRecipientsPort'],
|
|
91
|
+
meshCoherence: false, authPeers: [] },
|
|
87
92
|
};
|
|
88
93
|
const GATED_OWNERS = {
|
|
89
94
|
'mcp/auth': { owner: 'mcp-auth', namespace: '/mcp' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/modules/catalog.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,GAI9B,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AACtD,MAAM,CAAC,MAAM,mBAAmB,GAAG,wBAAwB,CAAC;AAC5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAC9D,sFAAsF;AACtF,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AACnD,MAAM,CAAC,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;AACxD,8EAA8E;AAC9E,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAChD,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AACzD,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AACtD,MAAM,CAAC,MAAM,cAAc,GAAG,4BAA4B,CAAC;AAC3D,MAAM,CAAC,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AACxD,MAAM,CAAC,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AACpD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAC/C,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC;AACpC;kFACkF;AAClF,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAClD,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/modules/catalog.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,GAI9B,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AACtD,MAAM,CAAC,MAAM,mBAAmB,GAAG,wBAAwB,CAAC;AAC5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,y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type { ClusterMeshModuleUnavailableReason } from './errors.js';
|
|
3
3
|
/** Provider modules delivered by this release, each with a static leaf and a loader. */
|
|
4
|
-
export declare const CLUSTER_MESH_PROVIDER_MODULE_IDS: readonly ["speech", "llm-mesh", "llm-mesh/facade", "llm-mesh/enrollment", "llm-mesh/node", "llm-mesh/decision", "llm-mesh/decision/host", "llm-mesh/transport/jev", "llm-mesh/transport/cloud-code", "gateway", "gateway/auth", "gateway/auth-hono", "mcp-platform/registry", "mcp-platform/entry", "mcp-platform/bridge", "mcp-platform/tool-schemas", "mcp-platform/result-codec", "mcp-platform/hono", "mcp-platform/stdio", "mcp/artifacts", "mcp/memory", "engram-memory/substrate", "comments"];
|
|
4
|
+
export declare const CLUSTER_MESH_PROVIDER_MODULE_IDS: readonly ["speech", "llm-mesh", "llm-mesh/facade", "llm-mesh/enrollment", "llm-mesh/node", "llm-mesh/decision", "llm-mesh/decision/host", "llm-mesh/transport/jev", "llm-mesh/transport/cloud-code", "gateway", "gateway/auth", "gateway/auth-hono", "mcp-platform/registry", "mcp-platform/entry", "mcp-platform/bridge", "mcp-platform/tool-schemas", "mcp-platform/result-codec", "mcp-platform/hono", "mcp-platform/stdio", "mcp/artifacts", "mcp/memory", "engram-memory/substrate", "comments", "notifications"];
|
|
5
5
|
/** Catalogued capabilities not delivered by this release; always gated `source_unavailable`. */
|
|
6
6
|
export declare const CLUSTER_MESH_GATED_MODULE_IDS: readonly ["mcp/auth", "mcp/auth/hono", "mcp/platform", "mcp/platform/hono", "mcp/platform/experimental", "mcp/platform/testing", "mcp/track", "auth-hono", "chat-server", "flow", "connector-host", "harness", "memory", "track-http", "mcp-broker", "mcp-connectors"];
|
|
7
7
|
export type ClusterMeshProviderModuleId = (typeof CLUSTER_MESH_PROVIDER_MODULE_IDS)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/modules/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EA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ODULE_IDS = [
|
|
|
23
23
|
'mcp/memory',
|
|
24
24
|
'engram-memory/substrate',
|
|
25
25
|
'comments',
|
|
26
|
+
'notifications',
|
|
26
27
|
];
|
|
27
28
|
/** Catalogued capabilities not delivered by this release; always gated `source_unavailable`. */
|
|
28
29
|
export const CLUSTER_MESH_GATED_MODULE_IDS = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../src/modules/contracts.ts"],"names":[],"mappings":"AAGA,wFAAwF;AACxF,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,QAAQ;IACR,UAAU;IACV,iBAAiB;IACjB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;IACnB,wBAAwB;IACxB,wBAAwB;IACxB,+BAA+B;IAC/B,SAAS;IACT,cAAc;IACd,mBAAmB;IACnB,uBAAuB;IACvB,oBAAoB;IACpB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,mBAAmB;IACnB,oBAAoB;IACpB,eAAe;IACf,YAAY;IACZ,yBAAyB;IACzB,UAAU;
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../src/modules/contracts.ts"],"names":[],"mappings":"AAGA,wFAAwF;AACxF,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,QAAQ;IACR,UAAU;IACV,iBAAiB;IACjB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;IACnB,wBAAwB;IACxB,wBAAwB;IACxB,+BAA+B;IAC/B,SAAS;IACT,cAAc;IACd,mBAAmB;IACnB,uBAAuB;IACvB,oBAAoB;IACpB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,mBAAmB;IACnB,oBAAoB;IACpB,eAAe;IACf,YAAY;IACZ,yBAAyB;IACzB,UAAU;IACV,eAAe;CACP,CAAC;AAEX,gGAAgG;AAChG,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,UAAU;IACV,eAAe;IACf,cAAc;IACd,mBAAmB;IACnB,2BAA2B;IAC3B,sBAAsB;IACtB,WAAW;IACX,WAAW;IACX,aAAa;IACb,MAAM;IACN,gBAAgB;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,gBAAgB;CACR,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type OpsIncidentStateV1, type OpsIncidentTransitionV1, type OpsNotificationPolicyV1 } from './incident-state.js';
|
|
2
|
+
import type { OpsJobFailureV1 } from './ops-job-failure-types.js';
|
|
3
|
+
export type { OpsIncidentMailV1, OpsIncidentStateV1, OpsIncidentStatusV1, OpsIncidentTransitionV1, OpsNotificationPolicyV1, } from './incident-state.js';
|
|
4
|
+
export { DEFAULT_OPS_NOTIFICATION_POLICY_V1, isOpsStaleEvent, openOpsStaleIncident } from './incident-state.js';
|
|
5
|
+
export declare function applyOpsJobFailureEvent(state: OpsIncidentStateV1 | null, event: OpsJobFailureV1, nowIso: string, policy?: OpsNotificationPolicyV1): OpsIncidentTransitionV1;
|
|
6
|
+
//# sourceMappingURL=incident-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-policy.d.ts","sourceRoot":"","sources":["../../src/notifications/incident-policy.ts"],"names":[],"mappings":"AASA,OAAO,EAKL,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAUhH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,kBAAkB,GAAG,IAAI,EAChC,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,uBAA4D,GACnE,uBAAuB,CAkGzB"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// Pure event-driven ops incident transitions (notify L1).
|
|
2
|
+
//
|
|
3
|
+
// Applies one validated event to the incident (or none) and decides WHICH
|
|
4
|
+
// mail to send. A `succeeded` resolves every open reason class of the same
|
|
5
|
+
// jobRef; a resumed heartbeat resolves a `stale` incident. Events older than
|
|
6
|
+
// the incident's newest applied emitter clock are stale replays: ignored, so
|
|
7
|
+
// a delayed `failed` can never reopen a recovered incident and an old
|
|
8
|
+
// `succeeded` can never resolve the current firing. No clock, no I/O.
|
|
9
|
+
import { DEFAULT_OPS_NOTIFICATION_POLICY_V1, isOpsStaleEvent, openDormantWatch, openIncident, } from './incident-state.js';
|
|
10
|
+
export { DEFAULT_OPS_NOTIFICATION_POLICY_V1, isOpsStaleEvent, openOpsStaleIncident } from './incident-state.js';
|
|
11
|
+
const noChange = (state) => ({
|
|
12
|
+
state, mails: [], opened: false, reopened: false, stale: false,
|
|
13
|
+
});
|
|
14
|
+
const staleReplay = (state) => ({
|
|
15
|
+
state, mails: [], opened: false, reopened: false, stale: true,
|
|
16
|
+
});
|
|
17
|
+
export function applyOpsJobFailureEvent(state, event, nowIso, policy = DEFAULT_OPS_NOTIFICATION_POLICY_V1) {
|
|
18
|
+
if (isOpsStaleEvent(state, event.occurredAt))
|
|
19
|
+
return staleReplay(state);
|
|
20
|
+
if (event.outcome === 'heartbeat') {
|
|
21
|
+
if (state === null)
|
|
22
|
+
return { state: openDormantWatch(event, nowIso), mails: [], opened: false, reopened: false, stale: false };
|
|
23
|
+
if (state.status === 'resolved') {
|
|
24
|
+
return {
|
|
25
|
+
state: { ...state, lastSeenAt: nowIso, lastHeartbeatAt: nowIso, lastOccurredAt: event.occurredAt },
|
|
26
|
+
mails: [], opened: false, reopened: false, stale: false,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
if (state.lastReason === 'stale') {
|
|
30
|
+
return {
|
|
31
|
+
state: {
|
|
32
|
+
...state, status: 'resolved', resolvedAt: nowIso, consecutiveFailures: 0,
|
|
33
|
+
lastHeartbeatAt: nowIso, lastSeenAt: nowIso, lastMailAt: nowIso, lastOccurredAt: event.occurredAt,
|
|
34
|
+
},
|
|
35
|
+
mails: ['recovery'], opened: false, reopened: false, stale: false,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
state: { ...state, lastHeartbeatAt: nowIso, lastSeenAt: nowIso, lastOccurredAt: event.occurredAt },
|
|
40
|
+
mails: [], opened: false, reopened: false, stale: false,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
if (event.outcome === 'succeeded') {
|
|
44
|
+
if (state === null)
|
|
45
|
+
return noChange(state);
|
|
46
|
+
if (state.status === 'resolved') {
|
|
47
|
+
// A success proves liveness: refresh an already-existing dormant watch
|
|
48
|
+
// so the dead-man sweep cannot false-positive on a stale heartbeat.
|
|
49
|
+
// Never create a watch where none existed: an app-job without
|
|
50
|
+
// heartbeats must not become falsely `stale` after recovery.
|
|
51
|
+
return {
|
|
52
|
+
state: {
|
|
53
|
+
...state, lastSeenAt: nowIso,
|
|
54
|
+
lastHeartbeatAt: state.lastHeartbeatAt === null ? null : nowIso,
|
|
55
|
+
lastRunId: event.runId, lastEventId: event.eventId, lastOccurredAt: event.occurredAt,
|
|
56
|
+
},
|
|
57
|
+
mails: [], opened: false, reopened: false, stale: false,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
state: {
|
|
62
|
+
...state, status: 'resolved', resolvedAt: nowIso, consecutiveFailures: 0,
|
|
63
|
+
lastRunId: event.runId, lastEventId: event.eventId, lastMailAt: nowIso,
|
|
64
|
+
lastHeartbeatAt: state.lastHeartbeatAt === null ? null : nowIso,
|
|
65
|
+
lastOccurredAt: event.occurredAt,
|
|
66
|
+
},
|
|
67
|
+
mails: ['recovery'], opened: false, reopened: false, stale: false,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
if (state === null || state.status === 'resolved') {
|
|
71
|
+
const reopened = state !== null
|
|
72
|
+
&& state.resolvedAt !== null
|
|
73
|
+
&& Date.parse(nowIso) - Date.parse(state.resolvedAt) < policy.flapWindowMs;
|
|
74
|
+
if (reopened) {
|
|
75
|
+
return {
|
|
76
|
+
state: {
|
|
77
|
+
...state, status: 'firing', lastSeenAt: nowIso,
|
|
78
|
+
occurrenceCount: state.occurrenceCount + 1, consecutiveFailures: state.consecutiveFailures + 1,
|
|
79
|
+
lastReason: event.reason ?? state.lastReason, lastSeverity: event.severity ?? state.lastSeverity,
|
|
80
|
+
lastRunId: event.runId, lastEventId: event.eventId, lastLinks: event.links ?? state.lastLinks,
|
|
81
|
+
lastDetail: event.detail ?? state.lastDetail,
|
|
82
|
+
escalationLevel: 0, lastEscalationAt: null, resolvedAt: null,
|
|
83
|
+
lastOccurredAt: event.occurredAt,
|
|
84
|
+
},
|
|
85
|
+
mails: [], opened: false, reopened: true, stale: false,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
// A dormant heartbeat watch becomes a real incident but keeps its watch.
|
|
89
|
+
return {
|
|
90
|
+
state: state === null
|
|
91
|
+
? openIncident(event, nowIso)
|
|
92
|
+
: { ...openIncident(event, nowIso), lastHeartbeatAt: state.lastHeartbeatAt },
|
|
93
|
+
mails: ['firing'], opened: true, reopened: false, stale: false,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
const consecutiveFailures = state.consecutiveFailures + 1;
|
|
97
|
+
const firingMs = Date.parse(nowIso) - Date.parse(state.firstSeenAt);
|
|
98
|
+
const next = {
|
|
99
|
+
...state, lastSeenAt: nowIso,
|
|
100
|
+
occurrenceCount: state.occurrenceCount + 1, consecutiveFailures,
|
|
101
|
+
lastReason: event.reason ?? state.lastReason, lastSeverity: event.severity ?? state.lastSeverity,
|
|
102
|
+
lastRunId: event.runId, lastEventId: event.eventId, lastLinks: event.links ?? state.lastLinks,
|
|
103
|
+
lastDetail: event.detail ?? state.lastDetail,
|
|
104
|
+
lastOccurredAt: event.occurredAt,
|
|
105
|
+
};
|
|
106
|
+
if (state.escalationLevel === 0
|
|
107
|
+
&& (consecutiveFailures >= policy.escalateAfterConsecutiveFailures || firingMs >= policy.escalateAfterFiringMs)) {
|
|
108
|
+
return {
|
|
109
|
+
state: { ...next, escalationLevel: 1, lastEscalationAt: nowIso, lastMailAt: nowIso },
|
|
110
|
+
mails: ['escalation'], opened: false, reopened: false, stale: false,
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
const lastMailMs = state.lastMailAt === null ? firingMs : Date.parse(nowIso) - Date.parse(state.lastMailAt);
|
|
114
|
+
if (lastMailMs >= policy.digestEveryMs) {
|
|
115
|
+
return { state: { ...next, lastMailAt: nowIso }, mails: ['digest'], opened: false, reopened: false, stale: false };
|
|
116
|
+
}
|
|
117
|
+
return { state: next, mails: [], opened: false, reopened: false, stale: false };
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=incident-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-policy.js","sourceRoot":"","sources":["../../src/notifications/incident-policy.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,EAAE;AACF,0EAA0E;AAC1E,2EAA2E;AAC3E,6EAA6E;AAC7E,6EAA6E;AAC7E,sEAAsE;AACtE,sEAAsE;AAEtE,OAAO,EACL,kCAAkC,EAClC,eAAe,EACf,gBAAgB,EAChB,YAAY,GAIb,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhH,MAAM,QAAQ,GAAG,CAAC,KAAgC,EAA2B,EAAE,CAAC,CAAC;IAC/E,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK;C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;IACF,IAAI,KAAK,CAAC,eAAe,KAAK,CAAC;WAC1B,CAAC,mBAAmB,IAAI,MAAM,CAAC,gCAAgC,IAAI,QAAQ,IAAI,MAAM,CAAC,qBAAqB,CAAC,EAAE,CAAC;QAClH,OAAO;YACL,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,eAAe,EAAE,CAAC,EAAE,gBAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE;YACpF,KAAK,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK;SACpE,CAAC;IACJ,CAAC;IACD,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAC5G,IAAI,UAAU,IAAI,MAAM,CAAC,aAAa,EAAE,CAAC;QACvC,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;IACrH,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAClF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type OpsIncidentMailV1, type OpsIncidentStateV1, type OpsNotificationPolicyV1 } from './incident-state.js';
|
|
2
|
+
/**
|
|
3
|
+
* Time-driven mails for a firing incident with no new event (sweep path):
|
|
4
|
+
* 24 h escalation, then the digest cadence. Returns the next state.
|
|
5
|
+
*/
|
|
6
|
+
export declare function dueOpsTimeDrivenMails(state: OpsIncidentStateV1, nowIso: string, policy?: OpsNotificationPolicyV1): {
|
|
7
|
+
readonly state: OpsIncidentStateV1;
|
|
8
|
+
readonly mails: readonly OpsIncidentMailV1[];
|
|
9
|
+
};
|
|
10
|
+
/** Dead-man check: silence past the grace with no firing incident opens `stale`. */
|
|
11
|
+
export declare function isOpsHeartbeatOverdue(lastHeartbeatAt: string | null, nowIso: string, policy?: OpsNotificationPolicyV1): boolean;
|
|
12
|
+
/** Host-side send ceiling: at most N mails per target in the trailing hour. */
|
|
13
|
+
export declare function isOpsMailCapExceeded(sentAtIso: readonly string[], nowIso: string, policy?: OpsNotificationPolicyV1): boolean;
|
|
14
|
+
//# sourceMappingURL=incident-schedule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-schedule.d.ts","sourceRoot":"","sources":["../../src/notifications/incident-schedule.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EACzB,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,uBAA4D,GACnE;IAAE,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,iBAAiB,EAAE,CAAA;CAAE,CAYtF;AAED,oFAAoF;AACpF,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,MAAM,GAAG,IAAI,EAC9B,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,uBAA4D,GACnE,OAAO,CAGT;AAED,+EAA+E;AAC/E,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,uBAA4D,GACnE,OAAO,CAGT"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Time-driven ops alert helpers for the host sweep (notify L1).
|
|
2
|
+
//
|
|
3
|
+
// The event-driven transitions live in `incident-policy.ts`; these helpers
|
|
4
|
+
// cover what happens with no new event: 24 h escalation, digest cadence,
|
|
5
|
+
// dead-man silence and the per-target send ceiling. Pure: `nowIso` injected.
|
|
6
|
+
import { DEFAULT_OPS_NOTIFICATION_POLICY_V1, } from './incident-state.js';
|
|
7
|
+
/**
|
|
8
|
+
* Time-driven mails for a firing incident with no new event (sweep path):
|
|
9
|
+
* 24 h escalation, then the digest cadence. Returns the next state.
|
|
10
|
+
*/
|
|
11
|
+
export function dueOpsTimeDrivenMails(state, nowIso, policy = DEFAULT_OPS_NOTIFICATION_POLICY_V1) {
|
|
12
|
+
if (state.status !== 'firing')
|
|
13
|
+
return { state, mails: [] };
|
|
14
|
+
if (state.escalationLevel === 0 && Date.parse(nowIso) - Date.parse(state.firstSeenAt) >= policy.escalateAfterFiringMs) {
|
|
15
|
+
return {
|
|
16
|
+
state: { ...state, escalationLevel: 1, lastEscalationAt: nowIso, lastMailAt: nowIso },
|
|
17
|
+
mails: ['escalation'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
if (state.lastMailAt !== null && Date.parse(nowIso) - Date.parse(state.lastMailAt) >= policy.digestEveryMs) {
|
|
21
|
+
return { state: { ...state, lastMailAt: nowIso }, mails: ['digest'] };
|
|
22
|
+
}
|
|
23
|
+
return { state, mails: [] };
|
|
24
|
+
}
|
|
25
|
+
/** Dead-man check: silence past the grace with no firing incident opens `stale`. */
|
|
26
|
+
export function isOpsHeartbeatOverdue(lastHeartbeatAt, nowIso, policy = DEFAULT_OPS_NOTIFICATION_POLICY_V1) {
|
|
27
|
+
if (lastHeartbeatAt === null)
|
|
28
|
+
return false;
|
|
29
|
+
return Date.parse(nowIso) - Date.parse(lastHeartbeatAt) >= policy.heartbeatGraceMs;
|
|
30
|
+
}
|
|
31
|
+
/** Host-side send ceiling: at most N mails per target in the trailing hour. */
|
|
32
|
+
export function isOpsMailCapExceeded(sentAtIso, nowIso, policy = DEFAULT_OPS_NOTIFICATION_POLICY_V1) {
|
|
33
|
+
const hourAgo = Date.parse(nowIso) - 60 * 60 * 1000;
|
|
34
|
+
return sentAtIso.filter((at) => Date.parse(at) > hourAgo).length >= policy.maxMailsPerHourPerTarget;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=incident-schedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-schedule.js","sourceRoot":"","sources":["../../src/notifications/incident-schedule.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,6EAA6E;AAE7E,OAAO,EACL,kCAAkC,GAInC,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,MAAM,UAAU,qBAAqB,CACnC,KAAyB,EACzB,MAAc,EACd,SAAkC,kCAAkC;IAEpE,IAAI,KAAK,CAAC,MAAM,KAAK,QAAQ;QAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;IAC3D,IAAI,KAAK,CAAC,eAAe,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,MAAM,CAAC,qBAAqB,EAAE,CAAC;QACtH,OAAO;YACL,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,eAAe,EAAE,CAAC,EAAE,gBAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE;YACrF,KAAK,EAAE,CAAC,YAAY,CAAC;SACtB,CAAC;IACJ,CAAC;IACD,IAAI,KAAK,CAAC,UAAU,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,aAAa,EAAE,CAAC;QAC3G,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IACxE,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAC9B,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,qBAAqB,CACnC,eAA8B,EAC9B,MAAc,EACd,SAAkC,kCAAkC;IAEpE,IAAI,eAAe,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,IAAI,MAAM,CAAC,gBAAgB,CAAC;AACrF,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,oBAAoB,CAClC,SAA4B,EAC5B,MAAc,EACd,SAAkC,kCAAkC;IAEpE,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IACpD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,wBAAwB,CAAC;AACtG,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { OpsJobFailureReasonV1, OpsJobFailureSeverityV1, OpsJobFailureV1, OpsJobKindV1 } from './ops-job-failure-types.js';
|
|
2
|
+
export type OpsIncidentStatusV1 = 'firing' | 'resolved';
|
|
3
|
+
/** Alert mails the machine can request for one applied event. */
|
|
4
|
+
export type OpsIncidentMailV1 = 'firing' | 'escalation' | 'digest' | 'recovery';
|
|
5
|
+
export interface OpsIncidentStateV1 {
|
|
6
|
+
readonly key: string;
|
|
7
|
+
readonly targetKey: string;
|
|
8
|
+
readonly jobNamespace: string | null;
|
|
9
|
+
readonly jobName: string;
|
|
10
|
+
readonly jobKind: OpsJobKindV1;
|
|
11
|
+
readonly status: OpsIncidentStatusV1;
|
|
12
|
+
readonly firstSeenAt: string;
|
|
13
|
+
readonly lastSeenAt: string;
|
|
14
|
+
readonly occurrenceCount: number;
|
|
15
|
+
readonly consecutiveFailures: number;
|
|
16
|
+
readonly lastReason: OpsJobFailureReasonV1 | null;
|
|
17
|
+
readonly lastSeverity: OpsJobFailureSeverityV1 | null;
|
|
18
|
+
readonly lastRunId: string | null;
|
|
19
|
+
readonly lastEventId: string;
|
|
20
|
+
readonly lastLinks: {
|
|
21
|
+
readonly logs?: string;
|
|
22
|
+
readonly run?: string;
|
|
23
|
+
} | null;
|
|
24
|
+
/** Capped 1 KiB emitter detail, persisted for debugging, never mailed. */
|
|
25
|
+
readonly lastDetail: string | null;
|
|
26
|
+
/** Any alert mail (firing/escalation/digest/recovery) resets the digest clock. */
|
|
27
|
+
readonly lastMailAt: string | null;
|
|
28
|
+
readonly escalationLevel: 0 | 1;
|
|
29
|
+
readonly lastEscalationAt: string | null;
|
|
30
|
+
readonly resolvedAt: string | null;
|
|
31
|
+
readonly lastHeartbeatAt: string | null;
|
|
32
|
+
/** Newest emitter `occurredAt` applied so far; older events are stale replays. */
|
|
33
|
+
readonly lastOccurredAt: string | null;
|
|
34
|
+
}
|
|
35
|
+
export interface OpsNotificationPolicyV1 {
|
|
36
|
+
/** Consecutive failures promoting the incident to critical. */
|
|
37
|
+
readonly escalateAfterConsecutiveFailures: number;
|
|
38
|
+
/** Firing age promoting the incident to critical. */
|
|
39
|
+
readonly escalateAfterFiringMs: number;
|
|
40
|
+
/** Quiet period between digest mails while firing. */
|
|
41
|
+
readonly digestEveryMs: number;
|
|
42
|
+
/** Hard per-target send ceiling enforced by the host at send time. */
|
|
43
|
+
readonly maxMailsPerHourPerTarget: number;
|
|
44
|
+
/** Reopen window after a resolve: same incident, no new firing mail. */
|
|
45
|
+
readonly flapWindowMs: number;
|
|
46
|
+
/** Silence after the last heartbeat that opens a dead-man (`stale`) incident. */
|
|
47
|
+
readonly heartbeatGraceMs: number;
|
|
48
|
+
}
|
|
49
|
+
export declare const DEFAULT_OPS_NOTIFICATION_POLICY_V1: OpsNotificationPolicyV1;
|
|
50
|
+
export interface OpsIncidentTransitionV1 {
|
|
51
|
+
readonly state: OpsIncidentStateV1 | null;
|
|
52
|
+
readonly mails: readonly OpsIncidentMailV1[];
|
|
53
|
+
readonly opened: boolean;
|
|
54
|
+
readonly reopened: boolean;
|
|
55
|
+
/** True when the event was older than the incident and changed nothing. */
|
|
56
|
+
readonly stale: boolean;
|
|
57
|
+
}
|
|
58
|
+
/** A `failed` event opens a firing incident and requests the firing mail. */
|
|
59
|
+
export declare function openIncident(event: OpsJobFailureV1, nowIso: string): OpsIncidentStateV1;
|
|
60
|
+
/** Dormant watch record for a jobRef seen only through heartbeats. No mail. */
|
|
61
|
+
export declare function openDormantWatch(event: OpsJobFailureV1, nowIso: string): OpsIncidentStateV1;
|
|
62
|
+
/** Newest emitter clock known to an incident (tolerates pre-migration rows). */
|
|
63
|
+
export declare function lastKnownOccurredAt(state: OpsIncidentStateV1): string | null;
|
|
64
|
+
/** True when the event predates everything the incident already applied. */
|
|
65
|
+
export declare function isOpsStaleEvent(state: OpsIncidentStateV1 | null, occurredAt: string): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Dead-man incident: the sweep opens it when a watched jobRef goes silent
|
|
68
|
+
* past the heartbeat grace with no firing incident. The falsy `stale` reason
|
|
69
|
+
* is the only reason a heartbeat can later resolve.
|
|
70
|
+
*/
|
|
71
|
+
export declare function openOpsStaleIncident(targetKey: string, jobNamespace: string | null, jobName: string, jobKind: OpsJobKindV1, nowIso: string): OpsIncidentStateV1;
|
|
72
|
+
//# sourceMappingURL=incident-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-state.d.ts","sourceRoot":"","sources":["../../src/not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AK,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAG,kBAAkB,CAE3F;AAED,gFAAgF;AAChF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,GAAG,IAAI,CAE5E;AAED,4EAA4E;AAC5E,wBAAgB,eAAe,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAK7F;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,MAAM,GACb,kBAAkB,CAWpB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Ops incident state and constructors (notify L1).
|
|
2
|
+
//
|
|
3
|
+
// One incident per (targetKey, namespace, job name). Event-driven
|
|
4
|
+
// transitions live in `incident-policy.ts`; time-driven sweep helpers in
|
|
5
|
+
// `incident-schedule.ts`.
|
|
6
|
+
import { opsIncidentKey } from './ops-job-failure-types.js';
|
|
7
|
+
export const DEFAULT_OPS_NOTIFICATION_POLICY_V1 = {
|
|
8
|
+
escalateAfterConsecutiveFailures: 3,
|
|
9
|
+
escalateAfterFiringMs: 24 * 60 * 60 * 1000,
|
|
10
|
+
digestEveryMs: 24 * 60 * 60 * 1000,
|
|
11
|
+
maxMailsPerHourPerTarget: 10,
|
|
12
|
+
flapWindowMs: 60 * 60 * 1000,
|
|
13
|
+
heartbeatGraceMs: 60 * 60 * 1000,
|
|
14
|
+
};
|
|
15
|
+
function baseIncident(event, nowIso, status) {
|
|
16
|
+
const namespace = event.jobRef.namespace ?? null;
|
|
17
|
+
return {
|
|
18
|
+
key: opsIncidentKey(event.targetKey, event.jobRef.namespace, event.jobRef.name),
|
|
19
|
+
targetKey: event.targetKey, jobNamespace: namespace, jobName: event.jobRef.name, jobKind: event.jobRef.kind,
|
|
20
|
+
status, firstSeenAt: nowIso, lastSeenAt: nowIso,
|
|
21
|
+
occurrenceCount: 0, consecutiveFailures: 0,
|
|
22
|
+
lastReason: null, lastSeverity: null, lastRunId: null, lastEventId: event.eventId,
|
|
23
|
+
lastLinks: null, lastDetail: null, lastMailAt: null,
|
|
24
|
+
escalationLevel: 0, lastEscalationAt: null, resolvedAt: null,
|
|
25
|
+
lastHeartbeatAt: null, lastOccurredAt: event.occurredAt,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/** A `failed` event opens a firing incident and requests the firing mail. */
|
|
29
|
+
export function openIncident(event, nowIso) {
|
|
30
|
+
return {
|
|
31
|
+
...baseIncident(event, nowIso, 'firing'),
|
|
32
|
+
occurrenceCount: 1, consecutiveFailures: 1,
|
|
33
|
+
lastReason: event.reason ?? null, lastSeverity: event.severity ?? null,
|
|
34
|
+
lastRunId: event.runId, lastLinks: event.links ?? null, lastDetail: event.detail ?? null,
|
|
35
|
+
lastMailAt: nowIso,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/** Dormant watch record for a jobRef seen only through heartbeats. No mail. */
|
|
39
|
+
export function openDormantWatch(event, nowIso) {
|
|
40
|
+
return { ...baseIncident(event, nowIso, 'resolved'), lastHeartbeatAt: nowIso };
|
|
41
|
+
}
|
|
42
|
+
/** Newest emitter clock known to an incident (tolerates pre-migration rows). */
|
|
43
|
+
export function lastKnownOccurredAt(state) {
|
|
44
|
+
return state.lastOccurredAt ?? null;
|
|
45
|
+
}
|
|
46
|
+
/** True when the event predates everything the incident already applied. */
|
|
47
|
+
export function isOpsStaleEvent(state, occurredAt) {
|
|
48
|
+
if (state === null)
|
|
49
|
+
return false;
|
|
50
|
+
const last = lastKnownOccurredAt(state);
|
|
51
|
+
if (last === null)
|
|
52
|
+
return false;
|
|
53
|
+
return Date.parse(occurredAt) < Date.parse(last);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Dead-man incident: the sweep opens it when a watched jobRef goes silent
|
|
57
|
+
* past the heartbeat grace with no firing incident. The falsy `stale` reason
|
|
58
|
+
* is the only reason a heartbeat can later resolve.
|
|
59
|
+
*/
|
|
60
|
+
export function openOpsStaleIncident(targetKey, jobNamespace, jobName, jobKind, nowIso) {
|
|
61
|
+
return {
|
|
62
|
+
key: opsIncidentKey(targetKey, jobNamespace ?? undefined, jobName),
|
|
63
|
+
targetKey, jobNamespace, jobName, jobKind,
|
|
64
|
+
status: 'firing', firstSeenAt: nowIso, lastSeenAt: nowIso,
|
|
65
|
+
occurrenceCount: 1, consecutiveFailures: 0,
|
|
66
|
+
lastReason: 'stale', lastSeverity: null, lastRunId: null, lastEventId: `dead-man:${nowIso}`,
|
|
67
|
+
lastLinks: null, lastDetail: null, lastMailAt: nowIso,
|
|
68
|
+
escalationLevel: 0, lastEscalationAt: null, resolvedAt: null,
|
|
69
|
+
lastHeartbeatAt: null, lastOccurredAt: nowIso,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=incident-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-state.js","sourceRoot":"","sources":["../../src/notifications/incident-state.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,EAAE;AACF,kEAAkE;AAClE,yEAAyE;AACzE,0BAA0B;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAmD5D,MAAM,CAAC,MAAM,kCAAkC,GAA4B;IACzE,gCAAgC,EAAE,CAAC;IACnC,qBAAqB,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI;IAC1C,aAAa,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI;IAClC,wBAAwB,EAAE,EAAE;IAC5B,YAAY,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;IAC5B,gBAAgB,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;CACjC,CAAC;AAWF,SAAS,YAAY,CACnB,KAAsB,EACtB,MAA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,EAAE,UAAU,EAAE,MAAM;QACrD,eAAe,EAAE,CAAC,EAAE,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI;QAC5D,eAAe,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM;KAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '../modules/topology-guard.js';
|
|
2
|
+
export { OPS_JOB_FAILURE_CONTRACT_V1, OPS_JOB_FAILURE_DETAIL_MAX_BYTES, OPS_JOB_FAILURE_EVENT_ID_MAX_LENGTH, OPS_JOB_FAILURE_LINK_MAX_LENGTH, OPS_JOB_FAILURE_MAX_BODY_BYTES, OPS_JOB_FAILURE_NAME_MAX_LENGTH, OPS_JOB_FAILURE_OCCURRED_AT_MAX_AGE_MS, OPS_JOB_FAILURE_OCCURRED_AT_MAX_SKEW_MS, OPS_JOB_FAILURE_OCCURRED_AT_PATTERN, OPS_JOB_FAILURE_RECIPIENT_BASES_V1, OPS_JOB_FAILURE_TARGET_KEY_MAX_LENGTH, fingerprintOpsJobFailureEvent, opsCanonicalRunKey, opsIncidentKey, truncateOpsDetail, type OpsJobFailureLinksV1, type OpsJobFailureOutcomeV1, type OpsJobFailureReasonV1, type OpsJobFailureSeverityV1, type OpsJobFailureSourceV1, type OpsJobFailureV1, type OpsJobKindV1, type OpsJobRefV1, } from './ops-job-failure-types.js';
|
|
3
|
+
export { isValidOpsLink, validateOpsJobFailureV1, type OpsJobFailureValidation, type OpsJobFailureValidationCode, type OpsJobFailureValidationOptions, } from './ops-job-failure-contract.js';
|
|
4
|
+
export { DEFAULT_OPS_NOTIFICATION_POLICY_V1, isOpsStaleEvent, lastKnownOccurredAt, openIncident, openDormantWatch, openOpsStaleIncident, type OpsIncidentMailV1, type OpsIncidentStateV1, type OpsIncidentStatusV1, type OpsIncidentTransitionV1, type OpsNotificationPolicyV1, } from './incident-state.js';
|
|
5
|
+
export { applyOpsJobFailureEvent } from './incident-policy.js';
|
|
6
|
+
export { dueOpsTimeDrivenMails, isOpsHeartbeatOverdue, isOpsMailCapExceeded, } from './incident-schedule.js';
|
|
7
|
+
export { createDeclaredOpsRecipientsPort, normalizeOpsRecipientEmail, type OpsAccountLookupV1, type OpsAccountRecordV1, type OpsAlertRecipientV1, type OpsAlertRecipientsPortV1, type OpsDeclaredRecipientsInputV1, type OpsRecipientSkipReason, } from './recipients.js';
|
|
8
|
+
export { createCachedOpsRecipientsPort, fetchOpsProductRecipients, validateOpsProductRecipientsPayload, OPS_PRODUCT_RECIPIENTS_CACHE_TTL_MS, OPS_PRODUCT_RECIPIENTS_STALE_MS, OPS_PRODUCT_RECIPIENTS_TIMEOUT_MS, OpsProductRecipientsError, type OpsCachedProductRecipientsInput, type OpsFetchLike, type OpsFetchProductRecipientsInput, type OpsMinimalResponse, type OpsProductAdminEntryV1, type OpsProductRecipientsFailureCode, type OpsValidatedProductRecipientsV1, } from './recipients-http.js';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EACL,2BAA2B,EAAE,gCAAgC,EAAE,mCAAmC,EAClG,+BAA+B,EAAE,8BAA8B,EAAE,+BAA+B,EAChG,sCAAsC,EAAE,uCAAuC,EAC/E,mCAAmC,EAAE,kCAAkC,EACvE,qCAAqC,EACrC,6BAA6B,EAAE,kBAAkB,EAAE,cAAc,EAAE,iBAAiB,EACpF,KAAK,oBAAoB,EAAE,KAAK,sBAAsB,EAAE,KAAK,qBAAqB,EAClF,KAAK,uBAAuB,EAAE,KAAK,qBAAqB,EAAE,KAAK,eAAe,EAC9E,KAAK,YAAY,EAAE,KAAK,WAAW,GACpC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,cAAc,EAAE,uBAAuB,EACvC,KAAK,uBAAuB,EAAE,KAAK,2BAA2B,EAA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W_MS, OPS_JOB_FAILURE_OCCURRED_AT_PATTERN, OPS_JOB_FAILURE_RECIPIENT_BASES_V1, OPS_JOB_FAILURE_TARGET_KEY_MAX_LENGTH, fingerprintOpsJobFailureEvent, opsCanonicalRunKey, opsIncidentKey, truncateOpsDetail, } from './ops-job-failure-types.js';
|
|
3
|
+
export { isValidOpsLink, validateOpsJobFailureV1, } from './ops-job-failure-contract.js';
|
|
4
|
+
export { DEFAULT_OPS_NOTIFICATION_POLICY_V1, isOpsStaleEvent, lastKnownOccurredAt, openIncident, openDormantWatch, openOpsStaleIncident, } from './incident-state.js';
|
|
5
|
+
export { applyOpsJobFailureEvent } from './incident-policy.js';
|
|
6
|
+
export { dueOpsTimeDrivenMails, isOpsHeartbeatOverdue, isOpsMailCapExceeded, } from './incident-schedule.js';
|
|
7
|
+
export { createDeclaredOpsRecipientsPort, normalizeOpsRecipientEmail, } from './recipients.js';
|
|
8
|
+
export { createCachedOpsRecipientsPort, fetchOpsProductRecipients, validateOpsProductRecipientsPayload, OPS_PRODUCT_RECIPIENTS_CACHE_TTL_MS, OPS_PRODUCT_RECIPIENTS_STALE_MS, OPS_PRODUCT_RECIPIENTS_TIMEOUT_MS, OpsProductRecipientsError, } from './recipients-http.js';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EACL,2BAA2B,EAAE,gCAAgC,EAAE,mCAAmC,EAClG,+BAA+B,EAAE,8BAA8B,EAAE,+BAA+B,EAChG,sCAAsC,EAAE,uCAAuC,EAC/E,mCAAmC,EAAE,kCAAkC,EACvE,qCAAqC,EACrC,6BAA6B,EAAE,kBAAkB,EAAE,cAAc,EAAE,iBAAiB,GAIrF,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,cAAc,EAAE,uBAAuB,GAExC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,kCAAkC,EAAE,eAAe,EAAE,mBAAmB,EACxE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,GAGrD,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EACL,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,GACnE,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,+BAA+B,EAAE,0BAA0B,GAG5D,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,6BAA6B,EAAE,yBAAyB,EAAE,mCAAmC,EAC7F,mCAAmC,EAAE,+BAA+B,EAAE,iCAAiC,EACvG,yBAAyB,GAI1B,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OPS_JOB_FAILURE_CONTRACT_V1, OPS_JOB_FAILURE_DETAIL_MAX_BYTES, OPS_JOB_FAILURE_EVENT_ID_MAX_LENGTH, OPS_JOB_FAILURE_LINK_MAX_LENGTH, OPS_JOB_FAILURE_NAME_MAX_LENGTH, OPS_JOB_FAILURE_OCCURRED_AT_MAX_AGE_MS, OPS_JOB_FAILURE_OCCURRED_AT_MAX_SKEW_MS, OPS_JOB_FAILURE_OCCURRED_AT_PATTERN, OPS_JOB_FAILURE_TARGET_KEY_MAX_LENGTH, opsCanonicalRunKey, opsIncidentKey, truncateOpsDetail, type OpsJobFailureV1 } from './ops-job-failure-types.js';
|
|
2
|
+
export { OPS_JOB_FAILURE_CONTRACT_V1, OPS_JOB_FAILURE_DETAIL_MAX_BYTES, OPS_JOB_FAILURE_EVENT_ID_MAX_LENGTH, OPS_JOB_FAILURE_LINK_MAX_LENGTH, OPS_JOB_FAILURE_NAME_MAX_LENGTH, OPS_JOB_FAILURE_OCCURRED_AT_MAX_AGE_MS, OPS_JOB_FAILURE_OCCURRED_AT_MAX_SKEW_MS, OPS_JOB_FAILURE_OCCURRED_AT_PATTERN, OPS_JOB_FAILURE_TARGET_KEY_MAX_LENGTH, opsCanonicalRunKey, opsIncidentKey, truncateOpsDetail, };
|
|
3
|
+
export type OpsJobFailureValidationCode = 'not_an_object' | 'unknown_field' | 'bad_version' | 'bad_event_id' | 'bad_source' | 'bad_target_key' | 'bad_job_ref' | 'bad_run_id' | 'bad_outcome' | 'reason_required_on_failed' | 'reason_forbidden' | 'bad_reason' | 'severity_forbidden' | 'bad_severity' | 'bad_occurred_at' | 'bad_detail' | 'bad_links';
|
|
4
|
+
export type OpsJobFailureValidation = {
|
|
5
|
+
readonly ok: true;
|
|
6
|
+
readonly event: OpsJobFailureV1;
|
|
7
|
+
} | {
|
|
8
|
+
readonly ok: false;
|
|
9
|
+
readonly code: OpsJobFailureValidationCode;
|
|
10
|
+
readonly message: string;
|
|
11
|
+
};
|
|
12
|
+
export interface OpsJobFailureValidationOptions {
|
|
13
|
+
/** Server clock: when present the `occurredAt` freshness window is enforced. */
|
|
14
|
+
readonly nowIso?: string;
|
|
15
|
+
}
|
|
16
|
+
/** Links must be absolute `https` URLs without credentials, so mails never carry `javascript:`. */
|
|
17
|
+
export declare function isValidOpsLink(value: unknown): value is string;
|
|
18
|
+
export declare function validateOpsJobFailureV1(input: unknown, options?: OpsJobFailureValidationOptions): OpsJobFailureValidation;
|
|
19
|
+
//# sourceMappingURL=ops-job-failure-contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ops-job-failure-contract.d.ts","sourceRoot":"","sources":["../../src/notifications/ops-job-failure-contract.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,mCAAmC,EACnC,+BAA+B,EAC/B,+BAA+B,EAC/B,sCAAsC,EACtC,uCAAuC,EACvC,mCAAmC,EACnC,qCAAqC,EACrC,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,KAAK,eAAe,EAKrB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,2BAA2B,EAC3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