@sentropic/cluster-mesh 0.24.0 → 0.26.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/README.md +5 -0
- 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/engram-memory/wire-adaptation.d.ts +1 -1
- package/dist/engram-memory/wire-adaptation.d.ts.map +1 -1
- package/dist/engram-memory/wire-adaptation.js +24 -8
- package/dist/engram-memory/wire-adaptation.js.map +1 -1
- 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/access.d.ts +54 -0
- package/dist/identity-contracts/access.d.ts.map +1 -0
- package/dist/identity-contracts/access.js +168 -0
- package/dist/identity-contracts/access.js.map +1 -0
- package/dist/identity-contracts/accounts.d.ts +44 -0
- package/dist/identity-contracts/accounts.d.ts.map +1 -0
- package/dist/identity-contracts/accounts.js +150 -0
- package/dist/identity-contracts/accounts.js.map +1 -0
- 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/descriptors.d.ts +12 -0
- package/dist/identity-contracts/descriptors.d.ts.map +1 -0
- package/dist/identity-contracts/descriptors.js +57 -0
- package/dist/identity-contracts/descriptors.js.map +1 -0
- package/dist/identity-contracts/doubles.d.ts +124 -0
- package/dist/identity-contracts/doubles.d.ts.map +1 -0
- package/dist/identity-contracts/doubles.js +360 -0
- package/dist/identity-contracts/doubles.js.map +1 -0
- package/dist/identity-contracts/enforcement.d.ts +27 -0
- package/dist/identity-contracts/enforcement.d.ts.map +1 -0
- package/dist/identity-contracts/enforcement.js +155 -0
- package/dist/identity-contracts/enforcement.js.map +1 -0
- package/dist/identity-contracts/errors.d.ts +71 -0
- package/dist/identity-contracts/errors.d.ts.map +1 -0
- package/dist/identity-contracts/errors.js +129 -0
- package/dist/identity-contracts/errors.js.map +1 -0
- package/dist/identity-contracts/index.d.ts +22 -0
- package/dist/identity-contracts/index.d.ts.map +1 -0
- package/dist/identity-contracts/index.js +23 -0
- package/dist/identity-contracts/index.js.map +1 -0
- 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/ports.d.ts +116 -0
- package/dist/identity-contracts/ports.d.ts.map +1 -0
- package/dist/identity-contracts/ports.js +7 -0
- package/dist/identity-contracts/ports.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/resolution.d.ts +56 -0
- package/dist/identity-contracts/resolution.d.ts.map +1 -0
- package/dist/identity-contracts/resolution.js +87 -0
- package/dist/identity-contracts/resolution.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/tenancy.d.ts +52 -0
- package/dist/identity-contracts/tenancy.d.ts.map +1 -0
- package/dist/identity-contracts/tenancy.js +171 -0
- package/dist/identity-contracts/tenancy.js.map +1 -0
- package/dist/identity-contracts/types.d.ts +253 -0
- package/dist/identity-contracts/types.d.ts.map +1 -0
- package/dist/identity-contracts/types.js +7 -0
- package/dist/identity-contracts/types.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-contracts/workspaces.d.ts +37 -0
- package/dist/identity-contracts/workspaces.d.ts.map +1 -0
- package/dist/identity-contracts/workspaces.js +118 -0
- package/dist/identity-contracts/workspaces.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 +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/integrations/mcp/memory-compose.d.ts +11 -0
- package/dist/integrations/mcp/memory-compose.d.ts.map +1 -0
- package/dist/integrations/mcp/memory-compose.js +79 -0
- package/dist/integrations/mcp/memory-compose.js.map +1 -0
- package/dist/integrations/mcp/memory-definition.d.ts +28 -0
- package/dist/integrations/mcp/memory-definition.d.ts.map +1 -0
- package/dist/integrations/mcp/memory-definition.js +2 -0
- package/dist/integrations/mcp/memory-definition.js.map +1 -0
- package/dist/integrations/mcp/memory-manifest.d.ts +4 -0
- package/dist/integrations/mcp/memory-manifest.d.ts.map +1 -0
- package/dist/integrations/mcp/memory-manifest.js +9 -0
- package/dist/integrations/mcp/memory-manifest.js.map +1 -0
- package/dist/integrations/mcp/memory-transport.d.ts +21 -0
- package/dist/integrations/mcp/memory-transport.d.ts.map +1 -0
- package/dist/integrations/mcp/memory-transport.js +47 -0
- package/dist/integrations/mcp/memory-transport.js.map +1 -0
- package/dist/integrations/mcp/memory.d.ts +19 -0
- package/dist/integrations/mcp/memory.d.ts.map +1 -0
- package/dist/integrations/mcp/memory.js +40 -0
- package/dist/integrations/mcp/memory.js.map +1 -0
- package/dist/loaders/mcp/index.d.ts +1 -0
- package/dist/loaders/mcp/index.d.ts.map +1 -1
- package/dist/loaders/mcp/index.js +1 -0
- package/dist/loaders/mcp/index.js.map +1 -1
- package/dist/loaders/mcp/memory.d.ts +6 -0
- package/dist/loaders/mcp/memory.d.ts.map +1 -0
- package/dist/loaders/mcp/memory.js +9 -0
- package/dist/loaders/mcp/memory.js.map +1 -0
- 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 +7 -4
- package/dist/modules/catalog.d.ts.map +1 -1
- package/dist/modules/catalog.js +24 -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 +3 -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/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/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/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/docs/memory-mcp-candidate.md +46 -0
- package/docs/memory-mcp.md +98 -0
- package/examples/memory-mcp-stdio.mjs +42 -0
- package/package.json +66 -5
- 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,47 @@
|
|
|
1
|
+
import '../../modules/topology-guard-mcp.js';
|
|
2
|
+
import { requireTrustedInvocationContext } from '@sentropic/mcp-platform/memory';
|
|
3
|
+
import { loadMcpPlatformBridge } from '../../loaders/mcp/bridge.js';
|
|
4
|
+
import { loadMcpPlatformToolSchemas } from '../../loaders/mcp/tool-schemas.js';
|
|
5
|
+
import { loadMcpPlatformResultCodec } from '../../loaders/mcp/result-codec.js';
|
|
6
|
+
/** Same native registration for host-owned stdio and HTTP transports. */
|
|
7
|
+
export async function registerEngramMemoryTools(server, options) {
|
|
8
|
+
const runtime = options.builtin.runtime();
|
|
9
|
+
if (!runtime)
|
|
10
|
+
throw new Error('memory MCP builtin has not been selected and compiled');
|
|
11
|
+
const tools = (await runtime.server.listTools()).tools;
|
|
12
|
+
for (const tool of tools) {
|
|
13
|
+
const selected = options.registry.resolveTool(tool.name);
|
|
14
|
+
if (selected?.providerId !== options.builtin.providerId || JSON.stringify(selected.inputSchema) !== JSON.stringify(tool.inputSchema)) {
|
|
15
|
+
throw new Error('memory MCP tool differs from the compiled plan');
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
const bridge = await loadMcpPlatformBridge(options.modules);
|
|
19
|
+
const schemas = await loadMcpPlatformToolSchemas(options.modules);
|
|
20
|
+
const codec = await loadMcpPlatformResultCodec(options.modules);
|
|
21
|
+
const { McpError } = await import('@modelcontextprotocol/sdk/types.js');
|
|
22
|
+
bridge.registerMcpWireTools(server, tools, {
|
|
23
|
+
run: async (tool, args, { signal }) => {
|
|
24
|
+
let ctx;
|
|
25
|
+
try {
|
|
26
|
+
ctx = requireTrustedInvocationContext(await options.definition.resolveContext(tool, args, signal));
|
|
27
|
+
}
|
|
28
|
+
catch {
|
|
29
|
+
throw new McpError(-32603, 'Trusted invocation context unavailable');
|
|
30
|
+
}
|
|
31
|
+
try {
|
|
32
|
+
const result = await runtime.server.callTool(tool, args, ctx, {
|
|
33
|
+
idempotencyKey: ctx.memory?.binding.idempotency_key,
|
|
34
|
+
elicitationRef: ctx.memory?.binding.elicitation_ref,
|
|
35
|
+
}, signal);
|
|
36
|
+
return codec.validateMcpWireResult(result, options.definition.limits);
|
|
37
|
+
}
|
|
38
|
+
catch (error) {
|
|
39
|
+
if (typeof error === 'object' && error !== null && 'code' in error && error.code === -32603) {
|
|
40
|
+
throw new McpError(-32603, 'Trusted invocation context unavailable');
|
|
41
|
+
}
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
}, { ...options.definition, schemas: schemas.compileMcpToolSchemas(tools, options.definition.limits) });
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=memory-transport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-transport.js","sourceR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AE,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC1G,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '../../modules/topology-guard-mcp.js';
|
|
2
|
+
import type { ClusterMeshModules } from '../../modules/contracts.js';
|
|
3
|
+
import type { McpRegistryBuiltin } from '../../mcp/registry.js';
|
|
4
|
+
import type { EngramMemoryDefinitionOptions, EngramMemoryRuntime } from './memory-definition.js';
|
|
5
|
+
export type { EngramMemoryDefinitionOptions, EngramMemoryRuntime } from './memory-definition.js';
|
|
6
|
+
export { registerEngramMemoryTools, type EngramMemoryTransportDefinition } from './memory-transport.js';
|
|
7
|
+
export { createEngramMemoryWireManifest } from './memory-manifest.js';
|
|
8
|
+
export interface EngramMemoryBuiltin extends McpRegistryBuiltin {
|
|
9
|
+
/** Available after selected materialization. `runtime()?.close()` belongs to the host-pool
|
|
10
|
+
teardown, never to per-attachment teardown: the host calls it while closing its own pool.
|
|
11
|
+
Close shuts the canonical store and releases kernel ownership; the host stops serving the
|
|
12
|
+
runtime MCP server around the same teardown. */
|
|
13
|
+
runtime(): EngramMemoryRuntime | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare function createEngramMemoryBuiltin(options: {
|
|
16
|
+
modules: ClusterMeshModules;
|
|
17
|
+
definition: EngramMemoryDefinitionOptions;
|
|
18
|
+
}): EngramMemoryBuiltin;
|
|
19
|
+
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/integrations/mcp/memory.ts"],"names":[],"mappings":"AACA,OAAO,qCAAqC,CAAC;AAE7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,uBAAuB,CAAC;AAGpF,OAAO,KAAK,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACjG,YAAY,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,yBAAyB,EAAE,KAAK,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AACxG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D;;;uDAGmD;IACnD,OAAO,IAAI,mBAAmB,GAAG,SAAS,CAAC;CAC5C;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE;IACjD,OAAO,EAAE,kBAAkB,CAAC;IAC5B,UAAU,EAAE,6BAA6B,CAAC;CAC3C,GAAG,mBAAmB,CA+BtB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Static catalog metadata; optional peer code is acquired only by the qualified loader.
|
|
2
|
+
import '../../modules/topology-guard-mcp.js';
|
|
3
|
+
import { MEMORY_PROVIDER_ID, MEMORY_TOOL_NAMES } from '@sentropic/mcp-platform/memory';
|
|
4
|
+
import { loadEngramMemoryMcp, loadEngramMemorySubstrate } from '../../loaders/mcp/memory.js';
|
|
5
|
+
import { composeEngramMemoryDefinition } from './memory-compose.js';
|
|
6
|
+
export { registerEngramMemoryTools } from './memory-transport.js';
|
|
7
|
+
export { createEngramMemoryWireManifest } from './memory-manifest.js';
|
|
8
|
+
export function createEngramMemoryBuiltin(options) {
|
|
9
|
+
let runtime;
|
|
10
|
+
let loading;
|
|
11
|
+
const parameterSchema = {
|
|
12
|
+
properties: {
|
|
13
|
+
mode: { type: 'string', enum: ['embedded-local'] },
|
|
14
|
+
hostBindingRef: { type: 'string', minLength: 1, maxLength: 128,
|
|
15
|
+
enum: [options.definition.hostBindings?.hostBindingRef] },
|
|
16
|
+
}, required: ['mode', 'hostBindingRef'],
|
|
17
|
+
};
|
|
18
|
+
return {
|
|
19
|
+
providerId: MEMORY_PROVIDER_ID, version: '1.0.0', capabilities: [...MEMORY_TOOL_NAMES],
|
|
20
|
+
parameterSchema,
|
|
21
|
+
runtime: () => runtime,
|
|
22
|
+
load: () => {
|
|
23
|
+
loading ??= (async () => {
|
|
24
|
+
// Both peer entries must qualify before acquiring ownership or opening a store.
|
|
25
|
+
const mcp = await loadEngramMemoryMcp(options.modules);
|
|
26
|
+
const substrate = await loadEngramMemorySubstrate(options.modules);
|
|
27
|
+
// A second bundled engine owns a different private fenced-store registry.
|
|
28
|
+
// Never advertise tools whose engine cannot admit the substrate's store.
|
|
29
|
+
if (mcp.createMemoryPortV2 !== substrate.createMemoryPortV2) {
|
|
30
|
+
throw new Error('engram memory public entries do not share the engine/provenance instance');
|
|
31
|
+
}
|
|
32
|
+
const composed = await composeEngramMemoryDefinition(mcp, substrate, options.definition, parameterSchema);
|
|
33
|
+
runtime = composed.runtime;
|
|
34
|
+
return composed.definition;
|
|
35
|
+
})().catch(error => { loading = undefined; throw error; });
|
|
36
|
+
return loading;
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=memory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../../src/integrations/mcp/memory.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,OAAO,qCAAqC,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGvF,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAGpE,OAAO,EAAE,yBAAyB,EAAwC,MAAM,uBAAuB,CAAC;AACxG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAUtE,MAAM,UAAU,yBAAyB,CAAC,OAGzC;IACC,IAAI,OAAwC,CAAC;IAC7C,IAAI,OAAgD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C,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3D,OAAO,OAAO,CAAC;QACjB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,4 +6,5 @@ export { loadMcpPlatformHono } from './hono.js';
|
|
|
6
6
|
export { loadMcpPlatformRegistry } from './registry.js';
|
|
7
7
|
export { loadMcpPlatformStdio } from './stdio.js';
|
|
8
8
|
export { loadArtifactsMcp } from './artifacts.js';
|
|
9
|
+
export { loadEngramMemoryMcp, loadEngramMemorySubstrate } from './memory.js';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/loaders/mcp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/loaders/mcp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -6,4 +6,5 @@ export { loadMcpPlatformHono } from './hono.js';
|
|
|
6
6
|
export { loadMcpPlatformRegistry } from './registry.js';
|
|
7
7
|
export { loadMcpPlatformStdio } from './stdio.js';
|
|
8
8
|
export { loadArtifactsMcp } from './artifacts.js';
|
|
9
|
+
export { loadEngramMemoryMcp, loadEngramMemorySubstrate } from './memory.js';
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/loaders/mcp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/loaders/mcp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import '../../modules/topology-guard-mcp.js';
|
|
2
|
+
import type { ClusterMeshModules } from '../../modules/contracts.js';
|
|
3
|
+
/** Qualified optional peer acquisition; missing/incompatible peers never become stubs. */
|
|
4
|
+
export declare function loadEngramMemoryMcp(modules: ClusterMeshModules): Promise<typeof import('@sentropic/engram/mcp-memory')>;
|
|
5
|
+
export declare function loadEngramMemorySubstrate(modules: ClusterMeshModules): Promise<typeof import('@sentropic/engram/memory-substrate')>;
|
|
6
|
+
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/loaders/mcp/memory.ts"],"names":[],"mappings":"AAAA,OAAO,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,0FAA0F;AAC1F,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,cAAc,8BAA8B,CAAC,CAAC,CAExD;AAED,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,cAAc,oCAAoC,CAAC,CAAC,CAE9D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '../../modules/topology-guard-mcp.js';
|
|
2
|
+
/** Qualified optional peer acquisition; missing/incompatible peers never become stubs. */
|
|
3
|
+
export async function loadEngramMemoryMcp(modules) {
|
|
4
|
+
return await modules.load('mcp/memory');
|
|
5
|
+
}
|
|
6
|
+
export async function loadEngramMemorySubstrate(modules) {
|
|
7
|
+
return await modules.load('engram-memory/substrate');
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=memory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../../src/loaders/mcp/memory.ts"],"names":[],"mappings":"AAAA,OAAO,qCAAqC,CAAC;AAG7C,0FAA0F;AAC1F,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,OAA2B;IAE3B,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,YAAY,CAAkD,CAAC;AAC3F,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,OAA2B;IAE3B,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,yBAAyB,CAAwD,CAAC;AAC9G,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '../../modules/topology-guard.js';
|
|
2
|
+
import type { ClusterMeshModules } from '../../modules/contracts.js';
|
|
3
|
+
/** Acquire the local notifications module after registry preflight. */
|
|
4
|
+
export declare function loadNotifications(modules: ClusterMeshModules): Promise<typeof import('../../notifications/index.js')>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/loaders/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,uEAAuE;AACvE,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,cAAc,8BAA8B,CAAC,CAAC,CAE3H"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/loaders/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,iCAAiC,CAAC;AAEzC,uEAAuE;AACvE,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,OAA2B;IACjE,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,eAAe,CAAkD,CAAC;AAC9F,CAAC"}
|
|
@@ -29,7 +29,7 @@ export declare function prepareStatefulTools(options: StatefulMcpNamespaceOption
|
|
|
29
29
|
openWorldHint?: boolean | undefined;
|
|
30
30
|
} | undefined;
|
|
31
31
|
execution?: {
|
|
32
|
-
taskSupport?: "forbidden" | "
|
|
32
|
+
taskSupport?: "forbidden" | "required" | "optional" | undefined;
|
|
33
33
|
} | undefined;
|
|
34
34
|
_meta?: {
|
|
35
35
|
[x: string]: unknown;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface EmailSendRequest {
|
|
2
|
+
readonly to: string;
|
|
3
|
+
readonly subject: string;
|
|
4
|
+
readonly text: string;
|
|
5
|
+
readonly html?: string;
|
|
6
|
+
readonly fromEmail: string;
|
|
7
|
+
readonly fromName?: string;
|
|
8
|
+
readonly tenantId: string;
|
|
9
|
+
readonly workspaceId: string;
|
|
10
|
+
readonly appInstanceId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface EmailSendResult {
|
|
13
|
+
readonly messageId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface EmailAuditEvent {
|
|
16
|
+
readonly at: string;
|
|
17
|
+
readonly tenantId: string;
|
|
18
|
+
readonly workspaceId: string;
|
|
19
|
+
readonly appInstanceId: string;
|
|
20
|
+
readonly toDomain: string;
|
|
21
|
+
readonly subjectDigest: string;
|
|
22
|
+
readonly messageId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface EmailTransport {
|
|
25
|
+
send(request: Omit<EmailSendRequest, 'tenantId' | 'workspaceId' | 'appInstanceId'>): Promise<EmailSendResult>;
|
|
26
|
+
}
|
|
27
|
+
export interface EmailPort {
|
|
28
|
+
send(request: EmailSendRequest): Promise<EmailSendResult>;
|
|
29
|
+
audit(): readonly EmailAuditEvent[];
|
|
30
|
+
}
|
|
31
|
+
/** Exact sender or `@domain` suffix entry; fail closed on unknown shape. */
|
|
32
|
+
export declare const isSenderAllowed: (allowlist: readonly string[], fromEmail: string) => boolean;
|
|
33
|
+
/** Fixed-window per-app rate limiter (pure, injectable clock for tests). */
|
|
34
|
+
export declare const createEmailRateLimiter: (options: {
|
|
35
|
+
readonly maxPerWindow: number;
|
|
36
|
+
readonly windowMs: number;
|
|
37
|
+
readonly now?: () => number;
|
|
38
|
+
}) => {
|
|
39
|
+
tryAcquire(key: string): boolean;
|
|
40
|
+
};
|
|
41
|
+
/** Validates, allowlists, rate-limits, delegates, then audits (PII-free). */
|
|
42
|
+
export declare const createEmailPort: (options: {
|
|
43
|
+
readonly allowedSenders: readonly string[];
|
|
44
|
+
readonly limiter: {
|
|
45
|
+
tryAcquire(key: string): boolean;
|
|
46
|
+
};
|
|
47
|
+
readonly transport: EmailTransport;
|
|
48
|
+
}) => EmailPort;
|
|
49
|
+
//# sourceMappingURL=email-port.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-port.d.ts","sourceRoot":"","sources":["../../src/messaging/email-port.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,MAAM,C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,EAAE;QAAE,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACvD,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;CACpC,KAAG,SA2CH,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CMP-E1 multi-app transactional email provider port, code only.
|
|
3
|
+
*
|
|
4
|
+
* Pure module: per-app sender allowlist, rate limits, audit log. No database,
|
|
5
|
+
* no migration, no transport import. The API adapter injects the TEM client.
|
|
6
|
+
*/
|
|
7
|
+
import { createHash } from 'node:crypto';
|
|
8
|
+
const nonEmpty = (value) => typeof value === 'string' && value.trim() !== '';
|
|
9
|
+
const EMAIL = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
10
|
+
const toDomain = (email) => email.slice(email.lastIndexOf('@') + 1).toLowerCase();
|
|
11
|
+
/** Exact sender or `@domain` suffix entry; fail closed on unknown shape. */
|
|
12
|
+
export const isSenderAllowed = (allowlist, fromEmail) => {
|
|
13
|
+
const from = fromEmail.trim().toLowerCase();
|
|
14
|
+
for (const entry of allowlist) {
|
|
15
|
+
const rule = entry.trim().toLowerCase();
|
|
16
|
+
if (rule === from)
|
|
17
|
+
return true;
|
|
18
|
+
if (rule.startsWith('@') && from.endsWith(rule))
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
return false;
|
|
22
|
+
};
|
|
23
|
+
/** Fixed-window per-app rate limiter (pure, injectable clock for tests). */
|
|
24
|
+
export const createEmailRateLimiter = (options) => {
|
|
25
|
+
if (!Number.isFinite(options.maxPerWindow) || options.maxPerWindow <= 0) {
|
|
26
|
+
throw new Error('maxPerWindow must be positive');
|
|
27
|
+
}
|
|
28
|
+
const now = options.now ?? Date.now;
|
|
29
|
+
const hits = new Map();
|
|
30
|
+
return {
|
|
31
|
+
tryAcquire(key) {
|
|
32
|
+
const at = now();
|
|
33
|
+
const kept = (hits.get(key) ?? []).filter((t) => at - t < options.windowMs);
|
|
34
|
+
if (kept.length >= options.maxPerWindow) {
|
|
35
|
+
hits.set(key, kept);
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
kept.push(at);
|
|
39
|
+
hits.set(key, kept);
|
|
40
|
+
return true;
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
/** Validates, allowlists, rate-limits, delegates, then audits (PII-free). */
|
|
45
|
+
export const createEmailPort = (options) => {
|
|
46
|
+
const events = [];
|
|
47
|
+
return {
|
|
48
|
+
async send(request) {
|
|
49
|
+
if (!EMAIL.test(request.to.trim()))
|
|
50
|
+
throw new Error('email needs a valid to address');
|
|
51
|
+
if (!nonEmpty(request.subject) || request.subject.length > 200) {
|
|
52
|
+
throw new Error('email needs a subject of 1..200 chars');
|
|
53
|
+
}
|
|
54
|
+
if (!nonEmpty(request.text))
|
|
55
|
+
throw new Error('email needs a text body');
|
|
56
|
+
if (!EMAIL.test(request.fromEmail.trim()))
|
|
57
|
+
throw new Error('email needs a valid from address');
|
|
58
|
+
if (!nonEmpty(request.tenantId) || !nonEmpty(request.workspaceId)
|
|
59
|
+
|| !nonEmpty(request.appInstanceId)) {
|
|
60
|
+
throw new Error('email needs tenant, workspace and app scope');
|
|
61
|
+
}
|
|
62
|
+
if (!isSenderAllowed(options.allowedSenders, request.fromEmail)) {
|
|
63
|
+
throw new Error(`sender not allowed: ${request.fromEmail}`);
|
|
64
|
+
}
|
|
65
|
+
if (!options.limiter.tryAcquire(request.appInstanceId)) {
|
|
66
|
+
throw new Error(`email rate exceeded for ${request.appInstanceId}`);
|
|
67
|
+
}
|
|
68
|
+
const result = await options.transport.send({
|
|
69
|
+
to: request.to,
|
|
70
|
+
subject: request.subject,
|
|
71
|
+
text: request.text,
|
|
72
|
+
...(request.html ? { html: request.html } : {}),
|
|
73
|
+
fromEmail: request.fromEmail,
|
|
74
|
+
...(request.fromName ? { fromName: request.fromName } : {}),
|
|
75
|
+
});
|
|
76
|
+
events.push({
|
|
77
|
+
at: new Date().toISOString(),
|
|
78
|
+
tenantId: request.tenantId,
|
|
79
|
+
workspaceId: request.workspaceId,
|
|
80
|
+
appInstanceId: request.appInstanceId,
|
|
81
|
+
toDomain: toDomain(request.to),
|
|
82
|
+
subjectDigest: `sha256:${createHash('sha256').update(request.subject, 'utf8').digest('hex')}`,
|
|
83
|
+
messageId: result.messageId,
|
|
84
|
+
});
|
|
85
|
+
return result;
|
|
86
|
+
},
|
|
87
|
+
audit() {
|
|
88
|
+
return [...events];
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=email-port.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-port.js","sourceRoot":"","sources":["../../src/messaging/email-port.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAqCzC,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAmB,EAAE,CACnD,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AAEnD,MAAM,KAAK,GAAG,4BAA4B,CAAC;AAE3C,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAElG,4EAA4E;AAC5E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAA4B,EAAE,SAAiB,EAAW,EAAE;IAC1F,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC5C,KAAK,MAAM,KAAK,IAAI,SAAS,EAAE,CAAC;QAC9B,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACxC,IAAI,IAAI,KAAK,IAAI;YAAE,OAAO,IAAI,CAAC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3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messaging/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC"}
|
package/dist/messaging/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/messaging/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/messaging/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC"}
|
|
@@ -8,15 +8,18 @@ export declare const MCP_PLATFORM_RANGE = ">=0.4.0 <0.5.0";
|
|
|
8
8
|
export declare const ARTIFACTS_PACKAGE = "@sentropic/artifacts";
|
|
9
9
|
/** Artifacts 0.1.3 admits the platform 0.4 family used by native wrapping. */
|
|
10
10
|
export declare const ARTIFACTS_RANGE = ">=0.2.0 <0.3.0";
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
11
|
+
export declare const ENGRAM_MEMORY_PACKAGE = "@sentropic/engram";
|
|
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.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.24.0";
|
|
14
16
|
export declare const MCP_AUTH_RANGE = ">=0.2.1 <0.3.0";
|
|
15
17
|
export declare const JOSE_RANGE = "^5.10.0";
|
|
16
18
|
/** Follows llm-gateway's declared optional peer range, including the Zod 4 auth-hono release.
|
|
17
19
|
* Spelled as a bounded interval: the minimal release-range parser has no `||`. */
|
|
18
|
-
export declare const AUTH_HONO_RANGE = ">=0.15.0 <0.
|
|
20
|
+
export declare const AUTH_HONO_RANGE = ">=0.15.0 <0.19.0";
|
|
19
21
|
export declare const COMMENTS_RANGE = "^0.3.0";
|
|
22
|
+
export declare const NOTIFICATIONS_RANGE = ">=0.21.0 <0.27.0";
|
|
20
23
|
export interface PeerRequirement {
|
|
21
24
|
readonly packageName: string;
|
|
22
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,OA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BF,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
|
@@ -7,15 +7,18 @@ export const MCP_PLATFORM_RANGE = '>=0.4.0 <0.5.0';
|
|
|
7
7
|
export const ARTIFACTS_PACKAGE = '@sentropic/artifacts';
|
|
8
8
|
/** Artifacts 0.1.3 admits the platform 0.4 family used by native wrapping. */
|
|
9
9
|
export const ARTIFACTS_RANGE = '>=0.2.0 <0.3.0';
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
10
|
+
export const ENGRAM_MEMORY_PACKAGE = '@sentropic/engram';
|
|
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.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.24.0';
|
|
13
15
|
export const MCP_AUTH_RANGE = '>=0.2.1 <0.3.0';
|
|
14
16
|
export const JOSE_RANGE = '^5.10.0';
|
|
15
17
|
/** Follows llm-gateway's declared optional peer range, including the Zod 4 auth-hono release.
|
|
16
18
|
* Spelled as a bounded interval: the minimal release-range parser has no `||`. */
|
|
17
|
-
export const AUTH_HONO_RANGE = '>=0.15.0 <0.
|
|
19
|
+
export const AUTH_HONO_RANGE = '>=0.15.0 <0.19.0';
|
|
18
20
|
export const COMMENTS_RANGE = '^0.3.0';
|
|
21
|
+
export const NOTIFICATIONS_RANGE = '>=0.21.0 <0.27.0';
|
|
19
22
|
// No provider specifier is ever imported from the root graph: the registry imports the
|
|
20
23
|
// metadata-resolved physical file, so bundling the root never pulls a provider in.
|
|
21
24
|
const SERVICE_AUTH_PEERS = [
|
|
@@ -67,9 +70,25 @@ export const PROVIDER_CATALOG = {
|
|
|
67
70
|
'createArtifactsRegistryDefinition', 'createArtifactsToolExecutor',
|
|
68
71
|
'ARTIFACTS_PROVIDER_ID', 'ARTIFACTS_TOOL_NAMES',
|
|
69
72
|
]),
|
|
70
|
-
|
|
73
|
+
'mcp/memory': {
|
|
74
|
+
id: 'mcp/memory', owner: 'engram', packageName: ENGRAM_MEMORY_PACKAGE,
|
|
75
|
+
subpath: './mcp-memory', range: ENGRAM_MEMORY_RANGE, meshCoherence: false, authPeers: [],
|
|
76
|
+
requiredMembers: ['createEngramMemoryProviderV1', 'createEngramMemoryMcpServerV1',
|
|
77
|
+
'createMemoryPortV2', 'createMemoryReadFacetsV1', 'MEMORY_PROVIDER_MANIFEST',
|
|
78
|
+
'MEMORY_TOOL_NAMES', 'MEMORY_FROZEN_PROFILE_BINDINGS_V1'],
|
|
79
|
+
},
|
|
80
|
+
'engram-memory/substrate': {
|
|
81
|
+
id: 'engram-memory/substrate', owner: 'engram', packageName: ENGRAM_MEMORY_PACKAGE,
|
|
82
|
+
subpath: './memory-substrate', range: ENGRAM_MEMORY_RANGE, meshCoherence: false, authPeers: [],
|
|
83
|
+
requiredMembers: ['openModuleStorageCanonicalMemoryStoreV1', 'createMemoryPortV2'],
|
|
84
|
+
},
|
|
85
|
+
comments: { id: 'comments', owner: 'comments', packageName: '@sentropic/cluster-mesh', subpath: './comments', range: '>=0.21.0 <0.27.0',
|
|
71
86
|
requiredMembers: ['createCommentsModule', 'createCommentsPostgresStorage'], namespace: '/comments', meshCoherence: false,
|
|
72
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: [] },
|
|
73
92
|
};
|
|
74
93
|
const GATED_OWNERS = {
|
|
75
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,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":[],"mapp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C;QAChF,EAAE,EAAE,MAAM,EAAE,oBAA6B,EAAE,GAAG,YAAY,CAAC,EAAE,CAAC;KAC/D,CAAC,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ClusterMeshNamespace } from '@sentropic/contracts';
|
|
2
2
|
import 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", "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,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAEtE,wFAAwF;AACxF,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/modules/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAEtE,wFAAwF;AACxF,eAAO,MAAM,gCAAgC,wfAyBnC,CAAC;AAEX,gGAAgG;AAChG,eAAO,MAAM,6BAA6B,wQAiBhC,CAAC;AAEX,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,CAAC,CAAC;AAC5F,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC;AACtF,MAAM,MAAM,mBAAmB,GAAG,2BAA2B,GAAG,wBAAwB,CAAC;AAEzF,MAAM,MAAM,sBAAsB,GAC9B;IAAE,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;CAAE,GAC9D;IACA,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACnC,GACC;IACA,QAAQ,CAAC,YAAY,EAAE,OAAO,CAA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AI,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,EAAE,mBAAmB,GAAG,OAAO,CAAC;IAC5C,OAAO,IAAI,SAAS,qBAAqB,EAAE,CAAC;CAC7C"}
|
|
@@ -20,7 +20,10 @@ export const CLUSTER_MESH_PROVIDER_MODULE_IDS = [
|
|
|
20
20
|
'mcp-platform/hono',
|
|
21
21
|
'mcp-platform/stdio',
|
|
22
22
|
'mcp/artifacts',
|
|
23
|
+
'mcp/memory',
|
|
24
|
+
'engram-memory/substrate',
|
|
23
25
|
'comments',
|
|
26
|
+
'notifications',
|
|
24
27
|
];
|
|
25
28
|
/** Catalogued capabilities not delivered by this release; always gated `source_unavailable`. */
|
|
26
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,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"}
|