@contractspec/lib.contracts-spec 2.0.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 +3 -0
- package/dist/app-config/app-config.capability.d.ts +1 -0
- package/dist/app-config/app-config.capability.js +730 -0
- package/dist/app-config/app-config.contracts.d.ts +239 -0
- package/dist/app-config/app-config.contracts.js +713 -0
- package/dist/app-config/app-config.contracts.test.d.ts +1 -0
- package/dist/app-config/app-config.feature.d.ts +5 -0
- package/dist/app-config/app-config.feature.js +255 -0
- package/dist/app-config/branding.d.ts +52 -0
- package/dist/app-config/branding.js +1 -0
- package/dist/app-config/branding.test.d.ts +1 -0
- package/dist/app-config/docs/app-config.docblock.d.ts +2 -0
- package/dist/app-config/docs/app-config.docblock.js +383 -0
- package/dist/app-config/events.d.ts +115 -0
- package/dist/app-config/events.js +386 -0
- package/dist/app-config/events.test.d.ts +1 -0
- package/dist/app-config/index.d.ts +9 -0
- package/dist/app-config/index.js +2899 -0
- package/dist/app-config/lifecycle-contracts.d.ts +265 -0
- package/dist/app-config/lifecycle-contracts.js +870 -0
- package/dist/app-config/lifecycle-contracts.test.d.ts +1 -0
- package/dist/app-config/lifecycle.d.ts +23 -0
- package/dist/app-config/lifecycle.js +1 -0
- package/dist/app-config/lifecycle.test.d.ts +1 -0
- package/dist/app-config/runtime.d.ts +111 -0
- package/dist/app-config/runtime.js +734 -0
- package/dist/app-config/runtime.test.d.ts +1 -0
- package/dist/app-config/spec.d.ts +169 -0
- package/dist/app-config/spec.js +229 -0
- package/dist/app-config/spec.test.d.ts +1 -0
- package/dist/app-config/validation.d.ts +43 -0
- package/dist/app-config/validation.js +650 -0
- package/dist/app-config/validation.test.d.ts +1 -0
- package/dist/capabilities/capabilities.d.ts +96 -0
- package/dist/capabilities/capabilities.js +217 -0
- package/dist/capabilities/capabilities.test.d.ts +1 -0
- package/dist/capabilities/context.d.ts +110 -0
- package/dist/capabilities/context.js +101 -0
- package/dist/capabilities/context.test.d.ts +1 -0
- package/dist/capabilities/docs/capabilities.docblock.d.ts +2 -0
- package/dist/capabilities/docs/capabilities.docblock.js +353 -0
- package/dist/capabilities/guards.d.ts +121 -0
- package/dist/capabilities/guards.js +177 -0
- package/dist/capabilities/index.d.ts +6 -0
- package/dist/capabilities/index.js +739 -0
- package/dist/capabilities/meeting-recorder.d.ts +5 -0
- package/dist/capabilities/meeting-recorder.js +154 -0
- package/dist/capabilities/openbanking.d.ts +5 -0
- package/dist/capabilities/openbanking.js +166 -0
- package/dist/capabilities/validation.d.ts +79 -0
- package/dist/capabilities/validation.js +185 -0
- package/dist/capabilities/validation.test.d.ts +1 -0
- package/dist/contract-registry/index.d.ts +3 -0
- package/dist/contract-registry/index.js +129 -0
- package/dist/contract-registry/schemas.d.ts +120 -0
- package/dist/contract-registry/schemas.js +129 -0
- package/dist/contract-registry/schemas.test.d.ts +1 -0
- package/dist/contract-registry/types.d.ts +42 -0
- package/dist/contract-registry/types.js +1 -0
- package/dist/data-views/data-views.d.ts +4 -0
- package/dist/data-views/data-views.js +232 -0
- package/dist/data-views/data-views.test.d.ts +1 -0
- package/dist/data-views/docs/data-views.docblock.d.ts +2 -0
- package/dist/data-views/docs/data-views.docblock.js +164 -0
- package/dist/data-views/index.d.ts +4 -0
- package/dist/data-views/index.js +232 -0
- package/dist/data-views/query-generator.d.ts +35 -0
- package/dist/data-views/query-generator.js +89 -0
- package/dist/data-views/registry.d.ts +12 -0
- package/dist/data-views/registry.js +226 -0
- package/dist/data-views/registry.test.d.ts +1 -0
- package/dist/data-views/report/contractVerificationTable.d.ts +4 -0
- package/dist/data-views/report/contractVerificationTable.js +240 -0
- package/dist/data-views/report/contractVerificationTable.test.d.ts +1 -0
- package/dist/data-views/runtime.d.ts +25 -0
- package/dist/data-views/runtime.js +108 -0
- package/dist/data-views/runtime.test.d.ts +1 -0
- package/dist/data-views/spec.d.ts +22 -0
- package/dist/data-views/spec.js +38 -0
- package/dist/data-views/spec.test.d.ts +1 -0
- package/dist/data-views/types.d.ts +152 -0
- package/dist/data-views/types.js +1 -0
- package/dist/data-views/types.test.d.ts +1 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +2 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +513 -0
- package/dist/docs/capabilities/documentationSystem.capability.d.ts +1 -0
- package/dist/docs/capabilities/documentationSystem.capability.js +784 -0
- package/dist/docs/capabilities/index.d.ts +1 -0
- package/dist/docs/capabilities/index.js +784 -0
- package/dist/docs/commands/docsGenerate.command.d.ts +88 -0
- package/dist/docs/commands/docsGenerate.command.js +802 -0
- package/dist/docs/commands/docsPublish.command.d.ts +57 -0
- package/dist/docs/commands/docsPublish.command.js +781 -0
- package/dist/docs/commands/index.d.ts +2 -0
- package/dist/docs/commands/index.js +906 -0
- package/dist/docs/constants.d.ts +4 -0
- package/dist/docs/constants.js +78 -0
- package/dist/docs/contracts.d.ts +430 -0
- package/dist/docs/contracts.js +1611 -0
- package/dist/docs/ensure-docblocks.d.ts +1 -0
- package/dist/docs/ensure-docblocks.js +264 -0
- package/dist/docs/events/docsGenerated.event.d.ts +56 -0
- package/dist/docs/events/docsGenerated.event.js +533 -0
- package/dist/docs/events/docsPublished.event.d.ts +64 -0
- package/dist/docs/events/docsPublished.event.js +534 -0
- package/dist/docs/events/index.d.ts +2 -0
- package/dist/docs/events/index.js +567 -0
- package/dist/docs/forms/docsSearch.form.d.ts +16 -0
- package/dist/docs/forms/docsSearch.form.js +676 -0
- package/dist/docs/forms/index.d.ts +1 -0
- package/dist/docs/forms/index.js +676 -0
- package/dist/docs/index.d.ts +40 -0
- package/dist/docs/index.js +4719 -0
- package/dist/docs/meta.docs.d.ts +2 -0
- package/dist/docs/meta.docs.js +176 -0
- package/dist/docs/presentations/docsLayout.presentation.d.ts +2 -0
- package/dist/docs/presentations/docsLayout.presentation.js +527 -0
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts +2 -0
- package/dist/docs/presentations/docsReferencePage.presentation.js +527 -0
- package/dist/docs/presentations/index.d.ts +2 -0
- package/dist/docs/presentations/index.js +555 -0
- package/dist/docs/presentations.d.ts +27 -0
- package/dist/docs/presentations.js +97 -0
- package/dist/docs/presentations.test.d.ts +1 -0
- package/dist/docs/queries/contractReference.query.d.ts +211 -0
- package/dist/docs/queries/contractReference.query.js +752 -0
- package/dist/docs/queries/docsIndex.query.d.ts +266 -0
- package/dist/docs/queries/docsIndex.query.js +752 -0
- package/dist/docs/queries/index.d.ts +2 -0
- package/dist/docs/queries/index.js +827 -0
- package/dist/docs/registry.d.ts +19 -0
- package/dist/docs/registry.js +153 -0
- package/dist/docs/registry.test.d.ts +1 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +2 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +221 -0
- package/dist/docs/tech/cli.docblock.d.ts +2 -0
- package/dist/docs/tech/cli.docblock.js +291 -0
- package/dist/docs/tech/contracts/README.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/README.docblock.js +164 -0
- package/dist/docs/tech/contracts/migrations.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/migrations.docblock.js +164 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.js +201 -0
- package/dist/docs/tech/contracts/openapi-import.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/openapi-import.docblock.js +207 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +225 -0
- package/dist/docs/tech/contracts/overlays.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/overlays.docblock.js +231 -0
- package/dist/docs/tech/contracts/tests.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/tests.docblock.js +164 -0
- package/dist/docs/tech/contracts/themes.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/themes.docblock.js +257 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +2 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +269 -0
- package/dist/docs/tech/docs-system.docblock.d.ts +1 -0
- package/dist/docs/tech/docs-system.docblock.js +264 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +2 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +376 -0
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +7 -0
- package/dist/docs/tech/llm/llm-integration.docblock.js +482 -0
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts +2 -0
- package/dist/docs/tech/mcp-endpoints.docblock.js +185 -0
- package/dist/docs/tech/presentation-runtime.docblock.d.ts +2 -0
- package/dist/docs/tech/presentation-runtime.docblock.js +221 -0
- package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
- package/dist/docs/tech/report-verification-table.docblock.js +191 -0
- package/dist/docs/tech/report-verification-table.test.d.ts +1 -0
- package/dist/docs/tech/schema/README.docblock.d.ts +2 -0
- package/dist/docs/tech/schema/README.docblock.js +164 -0
- package/dist/docs/tech/studio/learning-events.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/learning-events.docblock.js +190 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.js +227 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +226 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.js +200 -0
- package/dist/docs/tech/studio/project-routing.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/project-routing.docblock.js +209 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +183 -0
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/team-invitations.docblock.js +228 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.js +189 -0
- package/dist/docs/tech/studio/workspaces.docblock.d.ts +2 -0
- package/dist/docs/tech/studio/workspaces.docblock.js +204 -0
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts +2 -0
- package/dist/docs/tech/telemetry-ingest.docblock.js +305 -0
- package/dist/docs/tech/vscode-extension.docblock.d.ts +2 -0
- package/dist/docs/tech/vscode-extension.docblock.js +241 -0
- package/dist/docs/tech-contracts.docs.d.ts +2 -0
- package/dist/docs/tech-contracts.docs.js +239 -0
- package/dist/docs/types.d.ts +37 -0
- package/dist/docs/types.js +1 -0
- package/dist/docs/views/contractReference.dataView.d.ts +2 -0
- package/dist/docs/views/contractReference.dataView.js +838 -0
- package/dist/docs/views/docsIndex.dataView.d.ts +2 -0
- package/dist/docs/views/docsIndex.dataView.js +832 -0
- package/dist/docs/views/exampleCatalog.dataView.d.ts +2 -0
- package/dist/docs/views/exampleCatalog.dataView.js +816 -0
- package/dist/docs/views/index.d.ts +3 -0
- package/dist/docs/views/index.js +1031 -0
- package/dist/events.d.ts +142 -0
- package/dist/events.js +228 -0
- package/dist/events.test.d.ts +1 -0
- package/dist/examples/define.d.ts +5 -0
- package/dist/examples/define.js +36 -0
- package/dist/examples/docs/examples.docblock.d.ts +2 -0
- package/dist/examples/docs/examples.docblock.js +307 -0
- package/dist/examples/index.d.ts +7 -0
- package/dist/examples/index.js +604 -0
- package/dist/examples/registry.d.ts +38 -0
- package/dist/examples/registry.js +286 -0
- package/dist/examples/registry.test.d.ts +1 -0
- package/dist/examples/schema.d.ts +278 -0
- package/dist/examples/schema.js +166 -0
- package/dist/examples/schema.test.d.ts +1 -0
- package/dist/examples/types.d.ts +162 -0
- package/dist/examples/types.js +77 -0
- package/dist/examples/types.test.d.ts +1 -0
- package/dist/examples/validation.d.ts +61 -0
- package/dist/examples/validation.js +287 -0
- package/dist/examples/validation.test.d.ts +1 -0
- package/dist/experiments/docs/experiments.docblock.d.ts +2 -0
- package/dist/experiments/docs/experiments.docblock.js +291 -0
- package/dist/experiments/evaluator.d.ts +33 -0
- package/dist/experiments/evaluator.js +155 -0
- package/dist/experiments/evaluator.test.d.ts +1 -0
- package/dist/experiments/spec-resolver.d.ts +12 -0
- package/dist/experiments/spec-resolver.js +1 -0
- package/dist/experiments/spec.d.ts +79 -0
- package/dist/experiments/spec.js +227 -0
- package/dist/experiments/spec.test.d.ts +1 -0
- package/dist/features/index.d.ts +5 -0
- package/dist/features/index.js +275 -0
- package/dist/features/install.d.ts +14 -0
- package/dist/features/install.js +95 -0
- package/dist/features/install.test.d.ts +1 -0
- package/dist/features/registry.d.ts +21 -0
- package/dist/features/registry.js +192 -0
- package/dist/features/registry.test.d.ts +1 -0
- package/dist/features/types.d.ts +82 -0
- package/dist/features/types.js +36 -0
- package/dist/features/types.test.d.ts +1 -0
- package/dist/features/validation.d.ts +4 -0
- package/dist/features/validation.js +48 -0
- package/dist/features/validation.test.d.ts +1 -0
- package/dist/features.capabilities.test.d.ts +1 -0
- package/dist/forms/docs/forms.docblock.d.ts +2 -0
- package/dist/forms/docs/forms.docblock.js +164 -0
- package/dist/forms/forms.d.ts +264 -0
- package/dist/forms/forms.js +332 -0
- package/dist/forms/index.d.ts +1 -0
- package/dist/forms/index.js +332 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +2195 -0
- package/dist/install.d.ts +75 -0
- package/dist/install.js +60 -0
- package/dist/integrations/binding.d.ts +14 -0
- package/dist/integrations/binding.js +1 -0
- package/dist/integrations/connection.d.ts +47 -0
- package/dist/integrations/connection.js +1 -0
- package/dist/integrations/docs/integrations.docblock.d.ts +2 -0
- package/dist/integrations/docs/integrations.docblock.js +140 -0
- package/dist/integrations/health.d.ts +17 -0
- package/dist/integrations/health.js +103 -0
- package/dist/integrations/health.test.d.ts +1 -0
- package/dist/integrations/index.d.ts +11 -0
- package/dist/integrations/index.js +3293 -0
- package/dist/integrations/integrations.capability.d.ts +1 -0
- package/dist/integrations/integrations.capability.js +48 -0
- package/dist/integrations/integrations.feature.d.ts +5 -0
- package/dist/integrations/integrations.feature.js +63 -0
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +7 -0
- package/dist/integrations/meeting-recorder/contracts/index.js +504 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +451 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.js +249 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +166 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +317 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +85 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +202 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +1 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +48 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +5 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +63 -0
- package/dist/integrations/meeting-recorder/models.d.ts +402 -0
- package/dist/integrations/meeting-recorder/models.js +152 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts +13 -0
- package/dist/integrations/meeting-recorder/telemetry.js +84 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +282 -0
- package/dist/integrations/openbanking/contracts/accounts.js +358 -0
- package/dist/integrations/openbanking/contracts/balances.d.ts +158 -0
- package/dist/integrations/openbanking/contracts/balances.js +322 -0
- package/dist/integrations/openbanking/contracts/index.d.ts +7 -0
- package/dist/integrations/openbanking/contracts/index.js +674 -0
- package/dist/integrations/openbanking/contracts/transactions.d.ts +206 -0
- package/dist/integrations/openbanking/contracts/transactions.js +328 -0
- package/dist/integrations/openbanking/guards.d.ts +8 -0
- package/dist/integrations/openbanking/guards.js +72 -0
- package/dist/integrations/openbanking/guards.test.d.ts +1 -0
- package/dist/integrations/openbanking/models.d.ts +223 -0
- package/dist/integrations/openbanking/models.js +140 -0
- package/dist/integrations/openbanking/openbanking.capability.d.ts +1 -0
- package/dist/integrations/openbanking/openbanking.capability.js +48 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +5 -0
- package/dist/integrations/openbanking/openbanking.feature.js +65 -0
- package/dist/integrations/openbanking/telemetry.d.ts +12 -0
- package/dist/integrations/openbanking/telemetry.js +81 -0
- package/dist/integrations/operations.d.ts +430 -0
- package/dist/integrations/operations.js +327 -0
- package/dist/integrations/operations.test.d.ts +1 -0
- package/dist/integrations/providers/analytics-reader.d.ts +103 -0
- package/dist/integrations/providers/analytics-reader.js +1 -0
- package/dist/integrations/providers/analytics-writer.d.ts +6 -0
- package/dist/integrations/providers/analytics-writer.js +1 -0
- package/dist/integrations/providers/analytics.d.ts +47 -0
- package/dist/integrations/providers/analytics.js +1 -0
- package/dist/integrations/providers/calendar.d.ts +75 -0
- package/dist/integrations/providers/calendar.js +1 -0
- package/dist/integrations/providers/database.d.ts +12 -0
- package/dist/integrations/providers/database.js +1 -0
- package/dist/integrations/providers/elevenlabs.d.ts +3 -0
- package/dist/integrations/providers/elevenlabs.js +116 -0
- package/dist/integrations/providers/email.d.ts +83 -0
- package/dist/integrations/providers/email.js +1 -0
- package/dist/integrations/providers/embedding.d.ts +21 -0
- package/dist/integrations/providers/embedding.js +1 -0
- package/dist/integrations/providers/fal.d.ts +3 -0
- package/dist/integrations/providers/fal.js +142 -0
- package/dist/integrations/providers/fathom.d.ts +3 -0
- package/dist/integrations/providers/fathom.js +156 -0
- package/dist/integrations/providers/fireflies.d.ts +3 -0
- package/dist/integrations/providers/fireflies.js +136 -0
- package/dist/integrations/providers/gcs-storage.d.ts +3 -0
- package/dist/integrations/providers/gcs-storage.js +127 -0
- package/dist/integrations/providers/gmail.d.ts +3 -0
- package/dist/integrations/providers/gmail.js +139 -0
- package/dist/integrations/providers/google-calendar.d.ts +3 -0
- package/dist/integrations/providers/google-calendar.js +122 -0
- package/dist/integrations/providers/gradium.d.ts +3 -0
- package/dist/integrations/providers/gradium.js +140 -0
- package/dist/integrations/providers/granola.d.ts +3 -0
- package/dist/integrations/providers/granola.js +137 -0
- package/dist/integrations/providers/index.d.ts +38 -0
- package/dist/integrations/providers/index.js +2124 -0
- package/dist/integrations/providers/jira.d.ts +3 -0
- package/dist/integrations/providers/jira.js +138 -0
- package/dist/integrations/providers/linear.d.ts +3 -0
- package/dist/integrations/providers/linear.js +137 -0
- package/dist/integrations/providers/llm.d.ts +79 -0
- package/dist/integrations/providers/llm.js +1 -0
- package/dist/integrations/providers/meeting-recorder.d.ts +129 -0
- package/dist/integrations/providers/meeting-recorder.js +1 -0
- package/dist/integrations/providers/mistral.d.ts +3 -0
- package/dist/integrations/providers/mistral.js +124 -0
- package/dist/integrations/providers/notion.d.ts +3 -0
- package/dist/integrations/providers/notion.js +143 -0
- package/dist/integrations/providers/openbanking.d.ts +125 -0
- package/dist/integrations/providers/openbanking.js +1 -0
- package/dist/integrations/providers/payments.d.ts +106 -0
- package/dist/integrations/providers/payments.js +1 -0
- package/dist/integrations/providers/posthog-llm-telemetry.d.ts +51 -0
- package/dist/integrations/providers/posthog-llm-telemetry.js +206 -0
- package/dist/integrations/providers/posthog.d.ts +3 -0
- package/dist/integrations/providers/posthog.js +136 -0
- package/dist/integrations/providers/postmark.d.ts +3 -0
- package/dist/integrations/providers/postmark.js +128 -0
- package/dist/integrations/providers/powens.d.ts +3 -0
- package/dist/integrations/providers/powens.js +154 -0
- package/dist/integrations/providers/project-management.d.ts +32 -0
- package/dist/integrations/providers/project-management.js +1 -0
- package/dist/integrations/providers/providers.test.d.ts +1 -0
- package/dist/integrations/providers/qdrant.d.ts +3 -0
- package/dist/integrations/providers/qdrant.js +131 -0
- package/dist/integrations/providers/registry.d.ts +6 -0
- package/dist/integrations/providers/registry.js +1908 -0
- package/dist/integrations/providers/sms.d.ts +31 -0
- package/dist/integrations/providers/sms.js +1 -0
- package/dist/integrations/providers/storage.d.ts +57 -0
- package/dist/integrations/providers/storage.js +1 -0
- package/dist/integrations/providers/stripe.d.ts +3 -0
- package/dist/integrations/providers/stripe.js +135 -0
- package/dist/integrations/providers/supabase-postgres.d.ts +3 -0
- package/dist/integrations/providers/supabase-postgres.js +117 -0
- package/dist/integrations/providers/supabase-vector.d.ts +3 -0
- package/dist/integrations/providers/supabase-vector.js +137 -0
- package/dist/integrations/providers/tldv.d.ts +3 -0
- package/dist/integrations/providers/tldv.js +136 -0
- package/dist/integrations/providers/twilio-sms.d.ts +3 -0
- package/dist/integrations/providers/twilio-sms.js +121 -0
- package/dist/integrations/providers/vector-store.d.ts +39 -0
- package/dist/integrations/providers/vector-store.js +1 -0
- package/dist/integrations/providers/voice.d.ts +31 -0
- package/dist/integrations/providers/voice.js +1 -0
- package/dist/integrations/runtime.d.ts +95 -0
- package/dist/integrations/runtime.js +239 -0
- package/dist/integrations/runtime.test.d.ts +1 -0
- package/dist/integrations/secrets/aws-secret-manager.d.ts +28 -0
- package/dist/integrations/secrets/aws-secret-manager.js +376 -0
- package/dist/integrations/secrets/env-secret-provider.d.ts +28 -0
- package/dist/integrations/secrets/env-secret-provider.js +189 -0
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +29 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +377 -0
- package/dist/integrations/secrets/index.d.ts +6 -0
- package/dist/integrations/secrets/index.js +1159 -0
- package/dist/integrations/secrets/manager.d.ts +44 -0
- package/dist/integrations/secrets/manager.js +213 -0
- package/dist/integrations/secrets/provider.d.ts +49 -0
- package/dist/integrations/secrets/provider.js +104 -0
- package/dist/integrations/secrets/provider.test.d.ts +1 -0
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +35 -0
- package/dist/integrations/secrets/scaleway-secret-manager.js +405 -0
- package/dist/integrations/secrets-types.d.ts +14 -0
- package/dist/integrations/secrets-types.js +1 -0
- package/dist/integrations/spec.d.ts +72 -0
- package/dist/integrations/spec.js +52 -0
- package/dist/integrations/spec.test.d.ts +1 -0
- package/dist/jobs/define-job.d.ts +15 -0
- package/dist/jobs/define-job.js +41 -0
- package/dist/jobs/gcp-cloud-tasks.d.ts +38 -0
- package/dist/jobs/gcp-cloud-tasks.js +103 -0
- package/dist/jobs/gcp-pubsub.d.ts +22 -0
- package/dist/jobs/gcp-pubsub.js +91 -0
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +5 -0
- package/dist/jobs/handlers/gmail-sync-handler.js +40 -0
- package/dist/jobs/handlers/handlers.test.d.ts +1 -0
- package/dist/jobs/handlers/index.d.ts +5 -0
- package/dist/jobs/handlers/index.js +83 -0
- package/dist/jobs/handlers/ping-handler.d.ts +6 -0
- package/dist/jobs/handlers/ping-handler.js +47 -0
- package/dist/jobs/handlers/storage-document-handler.d.ts +8 -0
- package/dist/jobs/handlers/storage-document-handler.js +47 -0
- package/dist/jobs/index.d.ts +2 -0
- package/dist/jobs/index.js +64 -0
- package/dist/jobs/memory-queue.d.ts +14 -0
- package/dist/jobs/memory-queue.js +129 -0
- package/dist/jobs/queue.d.ts +126 -0
- package/dist/jobs/queue.js +55 -0
- package/dist/jobs/queue.test.d.ts +1 -0
- package/dist/jobs/scaleway-sqs-queue.d.ts +27 -0
- package/dist/jobs/scaleway-sqs-queue.js +222 -0
- package/dist/jsonschema.d.ts +39 -0
- package/dist/jsonschema.js +73 -0
- package/dist/jsonschema.test.d.ts +1 -0
- package/dist/knowledge/binding.d.ts +22 -0
- package/dist/knowledge/binding.js +1 -0
- package/dist/knowledge/docs/knowledge.docblock.d.ts +2 -0
- package/dist/knowledge/docs/knowledge.docblock.js +301 -0
- package/dist/knowledge/index.d.ts +4 -0
- package/dist/knowledge/index.js +467 -0
- package/dist/knowledge/ingestion/document-processor.d.ts +22 -0
- package/dist/knowledge/ingestion/document-processor.js +95 -0
- package/dist/knowledge/ingestion/embedding-service.d.ts +8 -0
- package/dist/knowledge/ingestion/embedding-service.js +57 -0
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +14 -0
- package/dist/knowledge/ingestion/gmail-adapter.js +103 -0
- package/dist/knowledge/ingestion/index.d.ts +5 -0
- package/dist/knowledge/ingestion/index.js +252 -0
- package/dist/knowledge/ingestion/ingestion.test.d.ts +1 -0
- package/dist/knowledge/ingestion/storage-adapter.d.ts +11 -0
- package/dist/knowledge/ingestion/storage-adapter.js +62 -0
- package/dist/knowledge/ingestion/vector-indexer.d.ts +14 -0
- package/dist/knowledge/ingestion/vector-indexer.js +63 -0
- package/dist/knowledge/knowledge.capability.d.ts +1 -0
- package/dist/knowledge/knowledge.capability.js +726 -0
- package/dist/knowledge/knowledge.feature.d.ts +5 -0
- package/dist/knowledge/knowledge.feature.js +300 -0
- package/dist/knowledge/operations.d.ts +311 -0
- package/dist/knowledge/operations.js +619 -0
- package/dist/knowledge/operations.test.d.ts +1 -0
- package/dist/knowledge/query/index.d.ts +1 -0
- package/dist/knowledge/query/index.js +110 -0
- package/dist/knowledge/query/service.d.ts +25 -0
- package/dist/knowledge/query/service.js +110 -0
- package/dist/knowledge/query/service.test.d.ts +1 -0
- package/dist/knowledge/runtime.d.ts +28 -0
- package/dist/knowledge/runtime.js +91 -0
- package/dist/knowledge/runtime.test.d.ts +1 -0
- package/dist/knowledge/source.d.ts +29 -0
- package/dist/knowledge/source.js +1 -0
- package/dist/knowledge/spaces/email-threads.d.ts +3 -0
- package/dist/knowledge/spaces/email-threads.js +102 -0
- package/dist/knowledge/spaces/financial-docs.d.ts +3 -0
- package/dist/knowledge/spaces/financial-docs.js +102 -0
- package/dist/knowledge/spaces/financial-overview.d.ts +3 -0
- package/dist/knowledge/spaces/financial-overview.js +102 -0
- package/dist/knowledge/spaces/index.d.ts +6 -0
- package/dist/knowledge/spaces/index.js +273 -0
- package/dist/knowledge/spaces/product-canon.d.ts +3 -0
- package/dist/knowledge/spaces/product-canon.js +102 -0
- package/dist/knowledge/spaces/spaces.test.d.ts +1 -0
- package/dist/knowledge/spaces/support-faq.d.ts +3 -0
- package/dist/knowledge/spaces/support-faq.js +103 -0
- package/dist/knowledge/spaces/uploaded-docs.d.ts +3 -0
- package/dist/knowledge/spaces/uploaded-docs.js +102 -0
- package/dist/knowledge/spec.d.ts +42 -0
- package/dist/knowledge/spec.js +228 -0
- package/dist/knowledge/spec.test.d.ts +1 -0
- package/dist/llm/exporters.d.ts +68 -0
- package/dist/llm/exporters.js +1011 -0
- package/dist/llm/index.d.ts +12 -0
- package/dist/llm/index.js +1465 -0
- package/dist/llm/prompts.d.ts +53 -0
- package/dist/llm/prompts.js +1456 -0
- package/dist/llm/types.d.ts +212 -0
- package/dist/llm/types.js +1 -0
- package/dist/markdown.d.ts +16 -0
- package/dist/markdown.js +529 -0
- package/dist/migrations.d.ts +48 -0
- package/dist/migrations.js +67 -0
- package/dist/migrations.test.d.ts +1 -0
- package/dist/model-registry.d.ts +9 -0
- package/dist/model-registry.js +64 -0
- package/dist/model-registry.test.d.ts +1 -0
- package/dist/node/app-config/app-config.capability.js +730 -0
- package/dist/node/app-config/app-config.contracts.js +713 -0
- package/dist/node/app-config/app-config.feature.js +255 -0
- package/dist/node/app-config/branding.js +0 -0
- package/dist/node/app-config/docs/app-config.docblock.js +383 -0
- package/dist/node/app-config/events.js +386 -0
- package/dist/node/app-config/index.js +2899 -0
- package/dist/node/app-config/lifecycle-contracts.js +870 -0
- package/dist/node/app-config/lifecycle.js +0 -0
- package/dist/node/app-config/runtime.js +734 -0
- package/dist/node/app-config/spec.js +229 -0
- package/dist/node/app-config/validation.js +650 -0
- package/dist/node/capabilities/capabilities.js +217 -0
- package/dist/node/capabilities/context.js +101 -0
- package/dist/node/capabilities/docs/capabilities.docblock.js +353 -0
- package/dist/node/capabilities/guards.js +177 -0
- package/dist/node/capabilities/index.js +739 -0
- package/dist/node/capabilities/meeting-recorder.js +154 -0
- package/dist/node/capabilities/openbanking.js +166 -0
- package/dist/node/capabilities/validation.js +185 -0
- package/dist/node/contract-registry/index.js +129 -0
- package/dist/node/contract-registry/schemas.js +129 -0
- package/dist/node/contract-registry/types.js +0 -0
- package/dist/node/data-views/data-views.js +232 -0
- package/dist/node/data-views/docs/data-views.docblock.js +164 -0
- package/dist/node/data-views/index.js +232 -0
- package/dist/node/data-views/query-generator.js +89 -0
- package/dist/node/data-views/registry.js +226 -0
- package/dist/node/data-views/report/contractVerificationTable.js +240 -0
- package/dist/node/data-views/runtime.js +108 -0
- package/dist/node/data-views/spec.js +38 -0
- package/dist/node/data-views/types.js +0 -0
- package/dist/node/docs/accessibility_wcag_compliance_specs.docblock.js +513 -0
- package/dist/node/docs/capabilities/documentationSystem.capability.js +784 -0
- package/dist/node/docs/capabilities/index.js +784 -0
- package/dist/node/docs/commands/docsGenerate.command.js +802 -0
- package/dist/node/docs/commands/docsPublish.command.js +781 -0
- package/dist/node/docs/commands/index.js +906 -0
- package/dist/node/docs/constants.js +78 -0
- package/dist/node/docs/contracts.js +1611 -0
- package/dist/node/docs/ensure-docblocks.js +264 -0
- package/dist/node/docs/events/docsGenerated.event.js +533 -0
- package/dist/node/docs/events/docsPublished.event.js +534 -0
- package/dist/node/docs/events/index.js +567 -0
- package/dist/node/docs/forms/docsSearch.form.js +676 -0
- package/dist/node/docs/forms/index.js +676 -0
- package/dist/node/docs/index.js +4719 -0
- package/dist/node/docs/meta.docs.js +176 -0
- package/dist/node/docs/presentations/docsLayout.presentation.js +527 -0
- package/dist/node/docs/presentations/docsReferencePage.presentation.js +527 -0
- package/dist/node/docs/presentations/index.js +555 -0
- package/dist/node/docs/presentations.js +97 -0
- package/dist/node/docs/queries/contractReference.query.js +752 -0
- package/dist/node/docs/queries/docsIndex.query.js +752 -0
- package/dist/node/docs/queries/index.js +827 -0
- package/dist/node/docs/registry.js +153 -0
- package/dist/node/docs/tech/auth/better-auth-nextjs.docblock.js +221 -0
- package/dist/node/docs/tech/cli.docblock.js +291 -0
- package/dist/node/docs/tech/contracts/README.docblock.js +164 -0
- package/dist/node/docs/tech/contracts/migrations.docblock.js +164 -0
- package/dist/node/docs/tech/contracts/openapi-export.docblock.js +201 -0
- package/dist/node/docs/tech/contracts/openapi-import.docblock.js +207 -0
- package/dist/node/docs/tech/contracts/ops-to-presentation-linking.docblock.js +225 -0
- package/dist/node/docs/tech/contracts/overlays.docblock.js +231 -0
- package/dist/node/docs/tech/contracts/tests.docblock.js +164 -0
- package/dist/node/docs/tech/contracts/themes.docblock.js +257 -0
- package/dist/node/docs/tech/contracts/vertical-pocket-family-office.docblock.js +269 -0
- package/dist/node/docs/tech/docs-system.docblock.js +264 -0
- package/dist/node/docs/tech/lifecycle-stage-system.docblock.js +376 -0
- package/dist/node/docs/tech/llm/llm-integration.docblock.js +482 -0
- package/dist/node/docs/tech/mcp-endpoints.docblock.js +185 -0
- package/dist/node/docs/tech/presentation-runtime.docblock.js +221 -0
- package/dist/node/docs/tech/report-verification-table.docblock.js +191 -0
- package/dist/node/docs/tech/schema/README.docblock.js +164 -0
- package/dist/node/docs/tech/studio/learning-events.docblock.js +190 -0
- package/dist/node/docs/tech/studio/learning-journeys.docblock.js +227 -0
- package/dist/node/docs/tech/studio/platform-admin-panel.docblock.js +226 -0
- package/dist/node/docs/tech/studio/project-access-teams.docblock.js +200 -0
- package/dist/node/docs/tech/studio/project-routing.docblock.js +209 -0
- package/dist/node/docs/tech/studio/sandbox-unlogged.docblock.js +183 -0
- package/dist/node/docs/tech/studio/team-invitations.docblock.js +228 -0
- package/dist/node/docs/tech/studio/workspace-ops.docblock.js +189 -0
- package/dist/node/docs/tech/studio/workspaces.docblock.js +204 -0
- package/dist/node/docs/tech/telemetry-ingest.docblock.js +305 -0
- package/dist/node/docs/tech/vscode-extension.docblock.js +241 -0
- package/dist/node/docs/tech-contracts.docs.js +239 -0
- package/dist/node/docs/types.js +0 -0
- package/dist/node/docs/views/contractReference.dataView.js +838 -0
- package/dist/node/docs/views/docsIndex.dataView.js +832 -0
- package/dist/node/docs/views/exampleCatalog.dataView.js +816 -0
- package/dist/node/docs/views/index.js +1031 -0
- package/dist/node/events.js +228 -0
- package/dist/node/examples/define.js +36 -0
- package/dist/node/examples/docs/examples.docblock.js +307 -0
- package/dist/node/examples/index.js +604 -0
- package/dist/node/examples/registry.js +286 -0
- package/dist/node/examples/schema.js +166 -0
- package/dist/node/examples/types.js +77 -0
- package/dist/node/examples/validation.js +287 -0
- package/dist/node/experiments/docs/experiments.docblock.js +291 -0
- package/dist/node/experiments/evaluator.js +155 -0
- package/dist/node/experiments/spec-resolver.js +0 -0
- package/dist/node/experiments/spec.js +227 -0
- package/dist/node/features/index.js +275 -0
- package/dist/node/features/install.js +95 -0
- package/dist/node/features/registry.js +192 -0
- package/dist/node/features/types.js +36 -0
- package/dist/node/features/validation.js +48 -0
- package/dist/node/forms/docs/forms.docblock.js +164 -0
- package/dist/node/forms/forms.js +332 -0
- package/dist/node/forms/index.js +332 -0
- package/dist/node/index.js +2195 -0
- package/dist/node/install.js +60 -0
- package/dist/node/integrations/binding.js +0 -0
- package/dist/node/integrations/connection.js +0 -0
- package/dist/node/integrations/docs/integrations.docblock.js +140 -0
- package/dist/node/integrations/health.js +103 -0
- package/dist/node/integrations/index.js +3293 -0
- package/dist/node/integrations/integrations.capability.js +48 -0
- package/dist/node/integrations/integrations.feature.js +63 -0
- package/dist/node/integrations/meeting-recorder/contracts/index.js +504 -0
- package/dist/node/integrations/meeting-recorder/contracts/meetings.js +249 -0
- package/dist/node/integrations/meeting-recorder/contracts/transcripts.js +317 -0
- package/dist/node/integrations/meeting-recorder/contracts/webhooks.js +202 -0
- package/dist/node/integrations/meeting-recorder/meeting-recorder.capability.js +48 -0
- package/dist/node/integrations/meeting-recorder/meeting-recorder.feature.js +63 -0
- package/dist/node/integrations/meeting-recorder/models.js +152 -0
- package/dist/node/integrations/meeting-recorder/telemetry.js +84 -0
- package/dist/node/integrations/openbanking/contracts/accounts.js +358 -0
- package/dist/node/integrations/openbanking/contracts/balances.js +322 -0
- package/dist/node/integrations/openbanking/contracts/index.js +674 -0
- package/dist/node/integrations/openbanking/contracts/transactions.js +328 -0
- package/dist/node/integrations/openbanking/guards.js +72 -0
- package/dist/node/integrations/openbanking/models.js +140 -0
- package/dist/node/integrations/openbanking/openbanking.capability.js +48 -0
- package/dist/node/integrations/openbanking/openbanking.feature.js +65 -0
- package/dist/node/integrations/openbanking/telemetry.js +81 -0
- package/dist/node/integrations/operations.js +327 -0
- package/dist/node/integrations/providers/analytics-reader.js +0 -0
- package/dist/node/integrations/providers/analytics-writer.js +0 -0
- package/dist/node/integrations/providers/analytics.js +0 -0
- package/dist/node/integrations/providers/calendar.js +0 -0
- package/dist/node/integrations/providers/database.js +0 -0
- package/dist/node/integrations/providers/elevenlabs.js +116 -0
- package/dist/node/integrations/providers/email.js +0 -0
- package/dist/node/integrations/providers/embedding.js +0 -0
- package/dist/node/integrations/providers/fal.js +142 -0
- package/dist/node/integrations/providers/fathom.js +156 -0
- package/dist/node/integrations/providers/fireflies.js +136 -0
- package/dist/node/integrations/providers/gcs-storage.js +127 -0
- package/dist/node/integrations/providers/gmail.js +139 -0
- package/dist/node/integrations/providers/google-calendar.js +122 -0
- package/dist/node/integrations/providers/gradium.js +140 -0
- package/dist/node/integrations/providers/granola.js +137 -0
- package/dist/node/integrations/providers/index.js +2124 -0
- package/dist/node/integrations/providers/jira.js +138 -0
- package/dist/node/integrations/providers/linear.js +137 -0
- package/dist/node/integrations/providers/llm.js +0 -0
- package/dist/node/integrations/providers/meeting-recorder.js +0 -0
- package/dist/node/integrations/providers/mistral.js +124 -0
- package/dist/node/integrations/providers/notion.js +143 -0
- package/dist/node/integrations/providers/openbanking.js +0 -0
- package/dist/node/integrations/providers/payments.js +0 -0
- package/dist/node/integrations/providers/posthog-llm-telemetry.js +206 -0
- package/dist/node/integrations/providers/posthog.js +136 -0
- package/dist/node/integrations/providers/postmark.js +128 -0
- package/dist/node/integrations/providers/powens.js +154 -0
- package/dist/node/integrations/providers/project-management.js +0 -0
- package/dist/node/integrations/providers/qdrant.js +131 -0
- package/dist/node/integrations/providers/registry.js +1908 -0
- package/dist/node/integrations/providers/sms.js +0 -0
- package/dist/node/integrations/providers/storage.js +0 -0
- package/dist/node/integrations/providers/stripe.js +135 -0
- package/dist/node/integrations/providers/supabase-postgres.js +117 -0
- package/dist/node/integrations/providers/supabase-vector.js +137 -0
- package/dist/node/integrations/providers/tldv.js +136 -0
- package/dist/node/integrations/providers/twilio-sms.js +121 -0
- package/dist/node/integrations/providers/vector-store.js +0 -0
- package/dist/node/integrations/providers/voice.js +0 -0
- package/dist/node/integrations/runtime.js +239 -0
- package/dist/node/integrations/secrets/aws-secret-manager.js +376 -0
- package/dist/node/integrations/secrets/env-secret-provider.js +189 -0
- package/dist/node/integrations/secrets/gcp-secret-manager.js +377 -0
- package/dist/node/integrations/secrets/index.js +1159 -0
- package/dist/node/integrations/secrets/manager.js +213 -0
- package/dist/node/integrations/secrets/provider.js +104 -0
- package/dist/node/integrations/secrets/scaleway-secret-manager.js +405 -0
- package/dist/node/integrations/secrets-types.js +0 -0
- package/dist/node/integrations/spec.js +52 -0
- package/dist/node/jobs/define-job.js +41 -0
- package/dist/node/jobs/gcp-cloud-tasks.js +103 -0
- package/dist/node/jobs/gcp-pubsub.js +91 -0
- package/dist/node/jobs/handlers/gmail-sync-handler.js +40 -0
- package/dist/node/jobs/handlers/index.js +83 -0
- package/dist/node/jobs/handlers/ping-handler.js +47 -0
- package/dist/node/jobs/handlers/storage-document-handler.js +47 -0
- package/dist/node/jobs/index.js +64 -0
- package/dist/node/jobs/memory-queue.js +129 -0
- package/dist/node/jobs/queue.js +55 -0
- package/dist/node/jobs/scaleway-sqs-queue.js +222 -0
- package/dist/node/jsonschema.js +73 -0
- package/dist/node/knowledge/binding.js +0 -0
- package/dist/node/knowledge/docs/knowledge.docblock.js +301 -0
- package/dist/node/knowledge/index.js +467 -0
- package/dist/node/knowledge/ingestion/document-processor.js +95 -0
- package/dist/node/knowledge/ingestion/embedding-service.js +57 -0
- package/dist/node/knowledge/ingestion/gmail-adapter.js +103 -0
- package/dist/node/knowledge/ingestion/index.js +252 -0
- package/dist/node/knowledge/ingestion/storage-adapter.js +62 -0
- package/dist/node/knowledge/ingestion/vector-indexer.js +63 -0
- package/dist/node/knowledge/knowledge.capability.js +726 -0
- package/dist/node/knowledge/knowledge.feature.js +300 -0
- package/dist/node/knowledge/operations.js +619 -0
- package/dist/node/knowledge/query/index.js +110 -0
- package/dist/node/knowledge/query/service.js +110 -0
- package/dist/node/knowledge/runtime.js +91 -0
- package/dist/node/knowledge/source.js +0 -0
- package/dist/node/knowledge/spaces/email-threads.js +102 -0
- package/dist/node/knowledge/spaces/financial-docs.js +102 -0
- package/dist/node/knowledge/spaces/financial-overview.js +102 -0
- package/dist/node/knowledge/spaces/index.js +273 -0
- package/dist/node/knowledge/spaces/product-canon.js +102 -0
- package/dist/node/knowledge/spaces/support-faq.js +103 -0
- package/dist/node/knowledge/spaces/uploaded-docs.js +102 -0
- package/dist/node/knowledge/spec.js +228 -0
- package/dist/node/llm/exporters.js +1011 -0
- package/dist/node/llm/index.js +1465 -0
- package/dist/node/llm/prompts.js +1456 -0
- package/dist/node/llm/types.js +0 -0
- package/dist/node/markdown.js +529 -0
- package/dist/node/migrations.js +67 -0
- package/dist/node/model-registry.js +64 -0
- package/dist/node/onboarding-base.js +597 -0
- package/dist/node/openapi.js +151 -0
- package/dist/node/operations/index.js +408 -0
- package/dist/node/operations/operation.js +51 -0
- package/dist/node/operations/registry.js +405 -0
- package/dist/node/operations/report/getContractVerificationStatus.js +170 -0
- package/dist/node/operations/report/index.js +305 -0
- package/dist/node/ownership.js +73 -0
- package/dist/node/policy/context.js +206 -0
- package/dist/node/policy/docs/policy.docblock.js +313 -0
- package/dist/node/policy/engine.js +325 -0
- package/dist/node/policy/guards.js +387 -0
- package/dist/node/policy/index.js +1313 -0
- package/dist/node/policy/opa-adapter.js +110 -0
- package/dist/node/policy/registry.js +221 -0
- package/dist/node/policy/spec.js +0 -0
- package/dist/node/policy/validation.js +391 -0
- package/dist/node/presentations/docs/presentations-conventions.docblock.js +171 -0
- package/dist/node/presentations/index.js +227 -0
- package/dist/node/presentations/presentations.js +38 -0
- package/dist/node/presentations/registry.js +221 -0
- package/dist/node/presentations/transform-engine.js +600 -0
- package/dist/node/product-intent/contract-patch-intent.js +68 -0
- package/dist/node/product-intent/contract-spec-patch.js +75 -0
- package/dist/node/product-intent/evidence.js +45 -0
- package/dist/node/product-intent/findings.js +81 -0
- package/dist/node/product-intent/impact-report.js +62 -0
- package/dist/node/product-intent/index.js +742 -0
- package/dist/node/product-intent/insights.js +63 -0
- package/dist/node/product-intent/opportunity-brief.js +106 -0
- package/dist/node/product-intent/problems.js +55 -0
- package/dist/node/product-intent/registry.js +242 -0
- package/dist/node/product-intent/runtime.js +320 -0
- package/dist/node/product-intent/spec.js +425 -0
- package/dist/node/product-intent/task-pack.js +69 -0
- package/dist/node/product-intent/tickets.js +57 -0
- package/dist/node/product-intent/types.js +378 -0
- package/dist/node/product-intent/ui-wireframe.js +73 -0
- package/dist/node/prompt.js +38 -0
- package/dist/node/promptRegistry.js +63 -0
- package/dist/node/regenerator/adapters.js +0 -0
- package/dist/node/regenerator/docs/regenerator.docblock.js +164 -0
- package/dist/node/regenerator/executor.js +157 -0
- package/dist/node/regenerator/index.js +341 -0
- package/dist/node/regenerator/service.js +183 -0
- package/dist/node/regenerator/sinks.js +64 -0
- package/dist/node/regenerator/types.js +0 -0
- package/dist/node/regenerator/utils.js +87 -0
- package/dist/node/registry-utils.js +163 -0
- package/dist/node/registry.js +215 -0
- package/dist/node/resources.js +83 -0
- package/dist/node/schema-to-markdown.js +278 -0
- package/dist/node/serialization/index.js +179 -0
- package/dist/node/serialization/serializers.js +180 -0
- package/dist/node/serialization/types.js +0 -0
- package/dist/node/telemetry/anomaly.js +91 -0
- package/dist/node/telemetry/docs/telemetry.docblock.js +164 -0
- package/dist/node/telemetry/index.js +417 -0
- package/dist/node/telemetry/spec.js +261 -0
- package/dist/node/telemetry/tracker.js +129 -0
- package/dist/node/tests/index.js +231 -0
- package/dist/node/tests/runner.js +189 -0
- package/dist/node/tests/spec.js +74 -0
- package/dist/node/themes.js +225 -0
- package/dist/node/translations/catalog.js +0 -0
- package/dist/node/translations/index.js +533 -0
- package/dist/node/translations/registry.js +170 -0
- package/dist/node/translations/spec.js +36 -0
- package/dist/node/translations/tenant.js +0 -0
- package/dist/node/translations/validation.js +392 -0
- package/dist/node/types.js +0 -0
- package/dist/node/versioning/index.js +274 -0
- package/dist/node/versioning/refs.js +99 -0
- package/dist/node/versioning/types.js +55 -0
- package/dist/node/versioning/utils.js +184 -0
- package/dist/node/workflow/adapters/db-adapter.js +127 -0
- package/dist/node/workflow/adapters/file-adapter.js +38 -0
- package/dist/node/workflow/adapters/index.js +194 -0
- package/dist/node/workflow/adapters/memory-store.js +93 -0
- package/dist/node/workflow/context.js +247 -0
- package/dist/node/workflow/expression.js +157 -0
- package/dist/node/workflow/index.js +1546 -0
- package/dist/node/workflow/overview.docblock.js +164 -0
- package/dist/node/workflow/runner.js +532 -0
- package/dist/node/workflow/sla-monitor.js +84 -0
- package/dist/node/workflow/spec.js +221 -0
- package/dist/node/workflow/state.js +0 -0
- package/dist/node/workflow/validation.js +425 -0
- package/dist/node/workspace-config/contractsrc-schema.js +344 -0
- package/dist/node/workspace-config/contractsrc-types.js +0 -0
- package/dist/node/workspace-config/index.js +325 -0
- package/dist/node/workspace-config/workspace-config.docblock.js +188 -0
- package/dist/onboarding-base.d.ts +131 -0
- package/dist/onboarding-base.js +597 -0
- package/dist/openapi.d.ts +33 -0
- package/dist/openapi.js +151 -0
- package/dist/operations/index.d.ts +2 -0
- package/dist/operations/index.js +408 -0
- package/dist/operations/operation.d.ts +191 -0
- package/dist/operations/operation.js +51 -0
- package/dist/operations/registry.d.ts +58 -0
- package/dist/operations/registry.js +405 -0
- package/dist/operations/report/getContractVerificationStatus.d.ts +68 -0
- package/dist/operations/report/getContractVerificationStatus.js +170 -0
- package/dist/operations/report/getContractVerificationStatus.test.d.ts +1 -0
- package/dist/operations/report/index.d.ts +10 -0
- package/dist/operations/report/index.js +305 -0
- package/dist/operations/report/index.test.d.ts +1 -0
- package/dist/ownership.d.ts +211 -0
- package/dist/ownership.js +73 -0
- package/dist/ownership.test.d.ts +1 -0
- package/dist/policy/context.d.ts +234 -0
- package/dist/policy/context.js +206 -0
- package/dist/policy/context.test.d.ts +1 -0
- package/dist/policy/docs/policy.docblock.d.ts +2 -0
- package/dist/policy/docs/policy.docblock.js +313 -0
- package/dist/policy/engine.d.ts +36 -0
- package/dist/policy/engine.js +325 -0
- package/dist/policy/engine.test.d.ts +1 -0
- package/dist/policy/guards.d.ts +156 -0
- package/dist/policy/guards.js +387 -0
- package/dist/policy/guards.test.d.ts +1 -0
- package/dist/policy/index.d.ts +12 -0
- package/dist/policy/index.js +1313 -0
- package/dist/policy/opa-adapter.d.ts +41 -0
- package/dist/policy/opa-adapter.js +110 -0
- package/dist/policy/opa-adapter.test.d.ts +1 -0
- package/dist/policy/registry.d.ts +5 -0
- package/dist/policy/registry.js +221 -0
- package/dist/policy/spec.d.ts +102 -0
- package/dist/policy/spec.js +1 -0
- package/dist/policy/validation.d.ts +84 -0
- package/dist/policy/validation.js +391 -0
- package/dist/policy/validation.test.d.ts +1 -0
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts +2 -0
- package/dist/presentations/docs/presentations-conventions.docblock.js +171 -0
- package/dist/presentations/index.d.ts +2 -0
- package/dist/presentations/index.js +227 -0
- package/dist/presentations/presentations.d.ts +52 -0
- package/dist/presentations/presentations.js +38 -0
- package/dist/presentations/registry.d.ts +6 -0
- package/dist/presentations/registry.js +221 -0
- package/dist/presentations/transform-engine.d.ts +62 -0
- package/dist/presentations/transform-engine.js +600 -0
- package/dist/presentations/transform-engine.test.d.ts +1 -0
- package/dist/product-intent/contract-patch-intent.d.ts +100 -0
- package/dist/product-intent/contract-patch-intent.js +68 -0
- package/dist/product-intent/contract-spec-patch.d.ts +86 -0
- package/dist/product-intent/contract-spec-patch.js +75 -0
- package/dist/product-intent/evidence.d.ts +14 -0
- package/dist/product-intent/evidence.js +45 -0
- package/dist/product-intent/findings.d.ts +57 -0
- package/dist/product-intent/findings.js +81 -0
- package/dist/product-intent/impact-report.d.ts +57 -0
- package/dist/product-intent/impact-report.js +62 -0
- package/dist/product-intent/index.d.ts +13 -0
- package/dist/product-intent/index.js +742 -0
- package/dist/product-intent/insights.d.ts +62 -0
- package/dist/product-intent/insights.js +63 -0
- package/dist/product-intent/opportunity-brief.d.ts +192 -0
- package/dist/product-intent/opportunity-brief.js +106 -0
- package/dist/product-intent/problems.d.ts +59 -0
- package/dist/product-intent/problems.js +55 -0
- package/dist/product-intent/registry.d.ts +28 -0
- package/dist/product-intent/registry.js +242 -0
- package/dist/product-intent/registry.test.d.ts +1 -0
- package/dist/product-intent/runtime.d.ts +92 -0
- package/dist/product-intent/runtime.js +320 -0
- package/dist/product-intent/runtime.test.d.ts +1 -0
- package/dist/product-intent/spec.d.ts +664 -0
- package/dist/product-intent/spec.js +425 -0
- package/dist/product-intent/task-pack.d.ts +98 -0
- package/dist/product-intent/task-pack.js +69 -0
- package/dist/product-intent/tickets.d.ts +67 -0
- package/dist/product-intent/tickets.js +57 -0
- package/dist/product-intent/types.d.ts +11 -0
- package/dist/product-intent/types.js +378 -0
- package/dist/product-intent/ui-wireframe.d.ts +100 -0
- package/dist/product-intent/ui-wireframe.js +73 -0
- package/dist/prompt.d.ts +49 -0
- package/dist/prompt.js +38 -0
- package/dist/prompt.test.d.ts +1 -0
- package/dist/promptRegistry.d.ts +11 -0
- package/dist/promptRegistry.js +63 -0
- package/dist/promptRegistry.test.d.ts +1 -0
- package/dist/regenerator/adapters.d.ts +15 -0
- package/dist/regenerator/adapters.js +1 -0
- package/dist/regenerator/docs/regenerator.docblock.d.ts +2 -0
- package/dist/regenerator/docs/regenerator.docblock.js +164 -0
- package/dist/regenerator/executor.d.ts +66 -0
- package/dist/regenerator/executor.js +157 -0
- package/dist/regenerator/executor.test.d.ts +1 -0
- package/dist/regenerator/index.d.ts +6 -0
- package/dist/regenerator/index.js +341 -0
- package/dist/regenerator/service.d.ts +29 -0
- package/dist/regenerator/service.js +183 -0
- package/dist/regenerator/service.test.d.ts +1 -0
- package/dist/regenerator/sinks.d.ts +23 -0
- package/dist/regenerator/sinks.js +64 -0
- package/dist/regenerator/sinks.test.d.ts +1 -0
- package/dist/regenerator/types.d.ts +103 -0
- package/dist/regenerator/types.js +1 -0
- package/dist/regenerator/utils.d.ts +6 -0
- package/dist/regenerator/utils.js +87 -0
- package/dist/registry-utils.d.ts +105 -0
- package/dist/registry-utils.js +163 -0
- package/dist/registry-utils.test.d.ts +1 -0
- package/dist/registry.d.ts +27 -0
- package/dist/registry.js +215 -0
- package/dist/resources.d.ts +60 -0
- package/dist/resources.js +83 -0
- package/dist/schema-to-markdown.d.ts +56 -0
- package/dist/schema-to-markdown.js +278 -0
- package/dist/serialization/index.d.ts +10 -0
- package/dist/serialization/index.js +179 -0
- package/dist/serialization/serializers.d.ts +35 -0
- package/dist/serialization/serializers.js +180 -0
- package/dist/serialization/types.d.ts +100 -0
- package/dist/serialization/types.js +1 -0
- package/dist/telemetry/anomaly.d.ts +23 -0
- package/dist/telemetry/anomaly.js +91 -0
- package/dist/telemetry/anomaly.test.d.ts +1 -0
- package/dist/telemetry/docs/telemetry.docblock.d.ts +2 -0
- package/dist/telemetry/docs/telemetry.docblock.js +164 -0
- package/dist/telemetry/index.d.ts +3 -0
- package/dist/telemetry/index.js +417 -0
- package/dist/telemetry/spec.d.ts +87 -0
- package/dist/telemetry/spec.js +261 -0
- package/dist/telemetry/spec.test.d.ts +1 -0
- package/dist/telemetry/tracker.d.ts +48 -0
- package/dist/telemetry/tracker.js +129 -0
- package/dist/telemetry/tracker.test.d.ts +1 -0
- package/dist/tests/index.d.ts +2 -0
- package/dist/tests/index.js +231 -0
- package/dist/tests/runner.d.ts +38 -0
- package/dist/tests/runner.js +189 -0
- package/dist/tests/runner.test.d.ts +1 -0
- package/dist/tests/spec.d.ts +82 -0
- package/dist/tests/spec.js +74 -0
- package/dist/tests/spec.test.d.ts +1 -0
- package/dist/themes.d.ts +50 -0
- package/dist/themes.js +225 -0
- package/dist/themes.test.d.ts +1 -0
- package/dist/translations/catalog.d.ts +25 -0
- package/dist/translations/catalog.js +1 -0
- package/dist/translations/index.d.ts +44 -0
- package/dist/translations/index.js +533 -0
- package/dist/translations/registry.d.ts +172 -0
- package/dist/translations/registry.js +170 -0
- package/dist/translations/registry.test.d.ts +1 -0
- package/dist/translations/spec.d.ts +153 -0
- package/dist/translations/spec.js +36 -0
- package/dist/translations/spec.test.d.ts +1 -0
- package/dist/translations/tenant.d.ts +11 -0
- package/dist/translations/tenant.js +1 -0
- package/dist/translations/validation.d.ts +106 -0
- package/dist/translations/validation.js +392 -0
- package/dist/translations/validation.test.d.ts +1 -0
- package/dist/types.d.ts +212 -0
- package/dist/types.js +1 -0
- package/dist/versioning/index.d.ts +9 -0
- package/dist/versioning/index.js +274 -0
- package/dist/versioning/refs.d.ts +176 -0
- package/dist/versioning/refs.js +99 -0
- package/dist/versioning/refs.test.d.ts +4 -0
- package/dist/versioning/types.d.ts +130 -0
- package/dist/versioning/types.js +55 -0
- package/dist/versioning/utils.d.ts +93 -0
- package/dist/versioning/utils.js +184 -0
- package/dist/versioning/utils.test.d.ts +4 -0
- package/dist/workflow/adapters/db-adapter.d.ts +43 -0
- package/dist/workflow/adapters/db-adapter.js +127 -0
- package/dist/workflow/adapters/file-adapter.d.ts +10 -0
- package/dist/workflow/adapters/file-adapter.js +38 -0
- package/dist/workflow/adapters/index.d.ts +3 -0
- package/dist/workflow/adapters/index.js +194 -0
- package/dist/workflow/adapters/memory-store.d.ts +13 -0
- package/dist/workflow/adapters/memory-store.js +93 -0
- package/dist/workflow/context.d.ts +217 -0
- package/dist/workflow/context.js +247 -0
- package/dist/workflow/context.test.d.ts +1 -0
- package/dist/workflow/expression.d.ts +6 -0
- package/dist/workflow/expression.js +157 -0
- package/dist/workflow/expression.test.d.ts +1 -0
- package/dist/workflow/index.d.ts +13 -0
- package/dist/workflow/index.js +1546 -0
- package/dist/workflow/overview.docblock.d.ts +2 -0
- package/dist/workflow/overview.docblock.js +164 -0
- package/dist/workflow/runner.d.ts +71 -0
- package/dist/workflow/runner.js +532 -0
- package/dist/workflow/runner.test.d.ts +1 -0
- package/dist/workflow/sla-monitor.d.ts +16 -0
- package/dist/workflow/sla-monitor.js +84 -0
- package/dist/workflow/spec.d.ts +81 -0
- package/dist/workflow/spec.js +221 -0
- package/dist/workflow/state.d.ts +31 -0
- package/dist/workflow/state.js +1 -0
- package/dist/workflow/validation.d.ts +87 -0
- package/dist/workflow/validation.js +425 -0
- package/dist/workflow/validation.test.d.ts +1 -0
- package/dist/workspace-config/contractsrc-schema.d.ts +144 -0
- package/dist/workspace-config/contractsrc-schema.js +344 -0
- package/dist/workspace-config/contractsrc-schema.test.d.ts +1 -0
- package/dist/workspace-config/contractsrc-types.d.ts +342 -0
- package/dist/workspace-config/contractsrc-types.js +1 -0
- package/dist/workspace-config/index.d.ts +5 -0
- package/dist/workspace-config/index.js +325 -0
- package/dist/workspace-config/workspace-config.docblock.d.ts +2 -0
- package/dist/workspace-config/workspace-config.docblock.js +188 -0
- package/package.json +4426 -0
|
@@ -0,0 +1,2124 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
7
|
+
var __toCommonJS = (from) => {
|
|
8
|
+
var entry = __moduleCache.get(from), desc;
|
|
9
|
+
if (entry)
|
|
10
|
+
return entry;
|
|
11
|
+
entry = __defProp({}, "__esModule", { value: true });
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function")
|
|
13
|
+
__getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
}));
|
|
17
|
+
__moduleCache.set(from, entry);
|
|
18
|
+
return entry;
|
|
19
|
+
};
|
|
20
|
+
var __export = (target, all) => {
|
|
21
|
+
for (var name in all)
|
|
22
|
+
__defProp(target, name, {
|
|
23
|
+
get: all[name],
|
|
24
|
+
enumerable: true,
|
|
25
|
+
configurable: true,
|
|
26
|
+
set: (newValue) => all[name] = () => newValue
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
30
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
|
+
|
|
32
|
+
// src/integrations/spec.ts
|
|
33
|
+
import { SpecContractRegistry } from "@contractspec/lib.contracts-spec/registry";
|
|
34
|
+
var integrationKey = (meta) => `${meta.key}.v${meta.version}`;
|
|
35
|
+
|
|
36
|
+
class IntegrationSpecRegistry extends SpecContractRegistry {
|
|
37
|
+
constructor(items) {
|
|
38
|
+
super("integration", items);
|
|
39
|
+
}
|
|
40
|
+
getByCategory(category) {
|
|
41
|
+
return this.list().filter((spec) => spec.meta.category === category);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function makeIntegrationSpecKey(meta) {
|
|
45
|
+
return integrationKey(meta);
|
|
46
|
+
}
|
|
47
|
+
var defineIntegration = (spec) => spec;
|
|
48
|
+
// src/integrations/providers/stripe.ts
|
|
49
|
+
import { StabilityEnum } from "@contractspec/lib.contracts-spec/ownership";
|
|
50
|
+
var stripeIntegrationSpec = defineIntegration({
|
|
51
|
+
meta: {
|
|
52
|
+
key: "payments.stripe",
|
|
53
|
+
version: "1.0.0",
|
|
54
|
+
category: "payments",
|
|
55
|
+
title: "Stripe Payments",
|
|
56
|
+
description: "Stripe integration for payment processing, charges, and payouts.",
|
|
57
|
+
domain: "payments",
|
|
58
|
+
owners: ["platform.payments"],
|
|
59
|
+
tags: ["payments", "psp"],
|
|
60
|
+
stability: StabilityEnum.Stable
|
|
61
|
+
},
|
|
62
|
+
supportedModes: ["managed", "byok"],
|
|
63
|
+
capabilities: {
|
|
64
|
+
provides: [{ key: "payments.psp", version: "1.0.0" }],
|
|
65
|
+
requires: [
|
|
66
|
+
{
|
|
67
|
+
key: "platform.webhooks",
|
|
68
|
+
optional: true,
|
|
69
|
+
reason: "Recommended for reliable event ingestion"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
configSchema: {
|
|
74
|
+
schema: {
|
|
75
|
+
type: "object",
|
|
76
|
+
properties: {
|
|
77
|
+
accountId: {
|
|
78
|
+
type: "string",
|
|
79
|
+
description: "Connected account ID when using Stripe Connect (BYOK)."
|
|
80
|
+
},
|
|
81
|
+
region: {
|
|
82
|
+
type: "string",
|
|
83
|
+
description: "Optional Stripe region or data residency hint."
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
example: {
|
|
88
|
+
accountId: "acct_123",
|
|
89
|
+
region: "us-east-1"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
secretSchema: {
|
|
93
|
+
schema: {
|
|
94
|
+
type: "object",
|
|
95
|
+
required: ["apiKey", "webhookSecret"],
|
|
96
|
+
properties: {
|
|
97
|
+
apiKey: {
|
|
98
|
+
type: "string",
|
|
99
|
+
description: "Stripe secret API key (sk_live_... or sk_test_...)."
|
|
100
|
+
},
|
|
101
|
+
webhookSecret: {
|
|
102
|
+
type: "string",
|
|
103
|
+
description: "Signing secret for webhook verification."
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
example: {
|
|
108
|
+
apiKey: "sk_live_***",
|
|
109
|
+
webhookSecret: "whsec_***"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
healthCheck: {
|
|
113
|
+
method: "ping",
|
|
114
|
+
timeoutMs: 5000
|
|
115
|
+
},
|
|
116
|
+
docsUrl: "https://stripe.com/docs/api",
|
|
117
|
+
constraints: {
|
|
118
|
+
rateLimit: {
|
|
119
|
+
rpm: 1000,
|
|
120
|
+
rph: 20000
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
byokSetup: {
|
|
124
|
+
setupInstructions: "Create a restricted Stripe API key with write access to Charges and provide a webhook signing secret.",
|
|
125
|
+
requiredScopes: ["charges:write", "customers:read"]
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
function registerStripeIntegration(registry) {
|
|
129
|
+
return registry.register(stripeIntegrationSpec);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// src/integrations/providers/postmark.ts
|
|
133
|
+
import { StabilityEnum as StabilityEnum2 } from "@contractspec/lib.contracts-spec/ownership";
|
|
134
|
+
var postmarkIntegrationSpec = defineIntegration({
|
|
135
|
+
meta: {
|
|
136
|
+
key: "email.postmark",
|
|
137
|
+
version: "1.0.0",
|
|
138
|
+
category: "email",
|
|
139
|
+
title: "Postmark Transactional Email",
|
|
140
|
+
description: "Postmark integration for transactional email delivery.",
|
|
141
|
+
domain: "communications",
|
|
142
|
+
owners: ["platform.messaging"],
|
|
143
|
+
tags: ["email", "transactional"],
|
|
144
|
+
stability: StabilityEnum2.Stable
|
|
145
|
+
},
|
|
146
|
+
supportedModes: ["managed", "byok"],
|
|
147
|
+
capabilities: {
|
|
148
|
+
provides: [{ key: "email.transactional", version: "1.0.0" }],
|
|
149
|
+
requires: [
|
|
150
|
+
{
|
|
151
|
+
key: "platform.webhooks",
|
|
152
|
+
optional: true,
|
|
153
|
+
reason: "Optional for inbound bounce handling"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
configSchema: {
|
|
158
|
+
schema: {
|
|
159
|
+
type: "object",
|
|
160
|
+
properties: {
|
|
161
|
+
messageStream: {
|
|
162
|
+
type: "string",
|
|
163
|
+
description: "Optional message stream identifier (e.g., transactional)."
|
|
164
|
+
},
|
|
165
|
+
fromEmail: {
|
|
166
|
+
type: "string",
|
|
167
|
+
description: "Default From address used for outbound messages."
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
example: {
|
|
172
|
+
messageStream: "outbound",
|
|
173
|
+
fromEmail: "notifications@example.com"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
secretSchema: {
|
|
177
|
+
schema: {
|
|
178
|
+
type: "object",
|
|
179
|
+
required: ["serverToken"],
|
|
180
|
+
properties: {
|
|
181
|
+
serverToken: {
|
|
182
|
+
type: "string",
|
|
183
|
+
description: "Server token for the Postmark account."
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
example: {
|
|
188
|
+
serverToken: "server-***"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
healthCheck: {
|
|
192
|
+
method: "ping",
|
|
193
|
+
timeoutMs: 3000
|
|
194
|
+
},
|
|
195
|
+
docsUrl: "https://postmarkapp.com/developer",
|
|
196
|
+
constraints: {
|
|
197
|
+
rateLimit: {
|
|
198
|
+
rpm: 500
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
byokSetup: {
|
|
202
|
+
setupInstructions: "Create a Postmark server token with outbound send permissions and configure allowed from addresses."
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
function registerPostmarkIntegration(registry) {
|
|
206
|
+
return registry.register(postmarkIntegrationSpec);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// src/integrations/providers/qdrant.ts
|
|
210
|
+
import { StabilityEnum as StabilityEnum3 } from "@contractspec/lib.contracts-spec/ownership";
|
|
211
|
+
var qdrantIntegrationSpec = defineIntegration({
|
|
212
|
+
meta: {
|
|
213
|
+
key: "vectordb.qdrant",
|
|
214
|
+
version: "1.0.0",
|
|
215
|
+
category: "vector-db",
|
|
216
|
+
title: "Qdrant Vector Database",
|
|
217
|
+
description: "Qdrant integration for vector search and embeddings storage.",
|
|
218
|
+
domain: "ai",
|
|
219
|
+
owners: ["platform.ai"],
|
|
220
|
+
tags: ["vector-db", "search"],
|
|
221
|
+
stability: StabilityEnum3.Experimental
|
|
222
|
+
},
|
|
223
|
+
supportedModes: ["managed", "byok"],
|
|
224
|
+
capabilities: {
|
|
225
|
+
provides: [
|
|
226
|
+
{ key: "vector-db.search", version: "1.0.0" },
|
|
227
|
+
{ key: "vector-db.storage", version: "1.0.0" }
|
|
228
|
+
],
|
|
229
|
+
requires: [
|
|
230
|
+
{
|
|
231
|
+
key: "ai.embeddings",
|
|
232
|
+
optional: true,
|
|
233
|
+
reason: "Required if vectors are generated via hosted embedding services"
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
configSchema: {
|
|
238
|
+
schema: {
|
|
239
|
+
type: "object",
|
|
240
|
+
properties: {
|
|
241
|
+
apiUrl: {
|
|
242
|
+
type: "string",
|
|
243
|
+
description: "Base URL for the Qdrant instance (e.g., https://qdrant.example.com)."
|
|
244
|
+
},
|
|
245
|
+
collectionPrefix: {
|
|
246
|
+
type: "string",
|
|
247
|
+
description: "Prefix applied to all collection names for this tenant."
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
example: {
|
|
252
|
+
apiUrl: "https://qdrant.example.com",
|
|
253
|
+
collectionPrefix: "tenant_"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
secretSchema: {
|
|
257
|
+
schema: {
|
|
258
|
+
type: "object",
|
|
259
|
+
properties: {
|
|
260
|
+
apiKey: {
|
|
261
|
+
type: "string",
|
|
262
|
+
description: "API key or token when authentication is enabled."
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
example: {
|
|
267
|
+
apiKey: "qdrant-api-key"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
healthCheck: {
|
|
271
|
+
method: "ping",
|
|
272
|
+
timeoutMs: 4000
|
|
273
|
+
},
|
|
274
|
+
docsUrl: "https://qdrant.tech/documentation/quick-start/",
|
|
275
|
+
constraints: {
|
|
276
|
+
quotas: {
|
|
277
|
+
collections: 100,
|
|
278
|
+
pointsPerCollection: 1e6
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
byokSetup: {
|
|
282
|
+
setupInstructions: "Provide the HTTPS endpoint of your Qdrant cluster and generate an API key with read/write access to the collections that will be managed."
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
function registerQdrantIntegration(registry) {
|
|
286
|
+
return registry.register(qdrantIntegrationSpec);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// src/integrations/providers/supabase-vector.ts
|
|
290
|
+
import { StabilityEnum as StabilityEnum4 } from "@contractspec/lib.contracts-spec/ownership";
|
|
291
|
+
var supabaseVectorIntegrationSpec = defineIntegration({
|
|
292
|
+
meta: {
|
|
293
|
+
key: "vectordb.supabase",
|
|
294
|
+
version: "1.0.0",
|
|
295
|
+
category: "vector-db",
|
|
296
|
+
title: "Supabase Vector Database (pgvector)",
|
|
297
|
+
description: "Supabase integration for embedding storage and vector similarity search using pgvector.",
|
|
298
|
+
domain: "ai",
|
|
299
|
+
owners: ["platform.ai"],
|
|
300
|
+
tags: ["vector-db", "supabase", "pgvector"],
|
|
301
|
+
stability: StabilityEnum4.Beta
|
|
302
|
+
},
|
|
303
|
+
supportedModes: ["managed", "byok"],
|
|
304
|
+
capabilities: {
|
|
305
|
+
provides: [
|
|
306
|
+
{ key: "vector-db.search", version: "1.0.0" },
|
|
307
|
+
{ key: "vector-db.storage", version: "1.0.0" }
|
|
308
|
+
],
|
|
309
|
+
requires: [
|
|
310
|
+
{
|
|
311
|
+
key: "ai.embeddings",
|
|
312
|
+
optional: true,
|
|
313
|
+
reason: "Required when vectors are generated by a hosted embedding provider."
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
configSchema: {
|
|
318
|
+
schema: {
|
|
319
|
+
type: "object",
|
|
320
|
+
properties: {
|
|
321
|
+
schema: {
|
|
322
|
+
type: "string",
|
|
323
|
+
description: "Schema name containing the pgvector table (default: public)."
|
|
324
|
+
},
|
|
325
|
+
table: {
|
|
326
|
+
type: "string",
|
|
327
|
+
description: "Table used to store vectors and metadata (default: contractspec_vectors)."
|
|
328
|
+
},
|
|
329
|
+
createTableIfMissing: {
|
|
330
|
+
type: "boolean",
|
|
331
|
+
description: "Automatically create pgvector extension and table when first writing vectors."
|
|
332
|
+
},
|
|
333
|
+
distanceMetric: {
|
|
334
|
+
type: "string",
|
|
335
|
+
enum: ["cosine", "l2", "inner_product"],
|
|
336
|
+
description: "Distance metric used for nearest-neighbor search."
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
example: {
|
|
341
|
+
schema: "public",
|
|
342
|
+
table: "contractspec_vectors",
|
|
343
|
+
createTableIfMissing: true,
|
|
344
|
+
distanceMetric: "cosine"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
secretSchema: {
|
|
348
|
+
schema: {
|
|
349
|
+
type: "object",
|
|
350
|
+
required: ["databaseUrl"],
|
|
351
|
+
properties: {
|
|
352
|
+
databaseUrl: {
|
|
353
|
+
type: "string",
|
|
354
|
+
description: "Supabase Postgres connection string with privileges to read/write vector rows."
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
example: {
|
|
359
|
+
databaseUrl: "postgresql://postgres.[project-ref]:password@aws-0-region.pooler.supabase.com:6543/postgres"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
healthCheck: {
|
|
363
|
+
method: "ping",
|
|
364
|
+
timeoutMs: 5000
|
|
365
|
+
},
|
|
366
|
+
docsUrl: "https://supabase.com/docs/guides/ai/vector-columns",
|
|
367
|
+
byokSetup: {
|
|
368
|
+
setupInstructions: "Create or reuse a Supabase project, enable pgvector, and provide a Postgres connection string with read/write access to the target vector table."
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
function registerSupabaseVectorIntegration(registry) {
|
|
372
|
+
return registry.register(supabaseVectorIntegrationSpec);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// src/integrations/providers/supabase-postgres.ts
|
|
376
|
+
import { StabilityEnum as StabilityEnum5 } from "@contractspec/lib.contracts-spec/ownership";
|
|
377
|
+
var supabasePostgresIntegrationSpec = defineIntegration({
|
|
378
|
+
meta: {
|
|
379
|
+
key: "database.supabase",
|
|
380
|
+
version: "1.0.0",
|
|
381
|
+
category: "database",
|
|
382
|
+
title: "Supabase Postgres",
|
|
383
|
+
description: "Supabase Postgres integration for SQL query execution and transactional workloads.",
|
|
384
|
+
domain: "infrastructure",
|
|
385
|
+
owners: ["platform.infrastructure"],
|
|
386
|
+
tags: ["database", "postgres", "supabase"],
|
|
387
|
+
stability: StabilityEnum5.Beta
|
|
388
|
+
},
|
|
389
|
+
supportedModes: ["managed", "byok"],
|
|
390
|
+
capabilities: {
|
|
391
|
+
provides: [{ key: "database.sql", version: "1.0.0" }]
|
|
392
|
+
},
|
|
393
|
+
configSchema: {
|
|
394
|
+
schema: {
|
|
395
|
+
type: "object",
|
|
396
|
+
properties: {
|
|
397
|
+
maxConnections: {
|
|
398
|
+
type: "number",
|
|
399
|
+
description: "Optional connection pool size when opening a Postgres client to Supabase."
|
|
400
|
+
},
|
|
401
|
+
sslMode: {
|
|
402
|
+
type: "string",
|
|
403
|
+
enum: ["require", "allow", "prefer"],
|
|
404
|
+
description: "TLS mode used by the Postgres client."
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
example: {
|
|
409
|
+
maxConnections: 10,
|
|
410
|
+
sslMode: "require"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
secretSchema: {
|
|
414
|
+
schema: {
|
|
415
|
+
type: "object",
|
|
416
|
+
required: ["databaseUrl"],
|
|
417
|
+
properties: {
|
|
418
|
+
databaseUrl: {
|
|
419
|
+
type: "string",
|
|
420
|
+
description: "Supabase Postgres connection string (transaction or session pooler endpoint)."
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
example: {
|
|
425
|
+
databaseUrl: "postgresql://postgres.[project-ref]:password@aws-0-region.pooler.supabase.com:6543/postgres"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
healthCheck: {
|
|
429
|
+
method: "ping",
|
|
430
|
+
timeoutMs: 5000
|
|
431
|
+
},
|
|
432
|
+
docsUrl: "https://supabase.com/docs/guides/database/connecting-to-postgres",
|
|
433
|
+
byokSetup: {
|
|
434
|
+
setupInstructions: "Create or reuse a Supabase project and provide a Postgres connection string with permissions aligned to your workload."
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
function registerSupabasePostgresIntegration(registry) {
|
|
438
|
+
return registry.register(supabasePostgresIntegrationSpec);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
// src/integrations/providers/mistral.ts
|
|
442
|
+
import { StabilityEnum as StabilityEnum6 } from "@contractspec/lib.contracts-spec/ownership";
|
|
443
|
+
var mistralIntegrationSpec = defineIntegration({
|
|
444
|
+
meta: {
|
|
445
|
+
key: "ai-llm.mistral",
|
|
446
|
+
version: "1.0.0",
|
|
447
|
+
category: "ai-llm",
|
|
448
|
+
title: "Mistral Large Language Model",
|
|
449
|
+
description: "Mistral integration providing chat completions and embedding generation.",
|
|
450
|
+
domain: "ai",
|
|
451
|
+
owners: ["platform.ai"],
|
|
452
|
+
tags: ["ai", "llm", "embeddings"],
|
|
453
|
+
stability: StabilityEnum6.Experimental
|
|
454
|
+
},
|
|
455
|
+
supportedModes: ["managed", "byok"],
|
|
456
|
+
capabilities: {
|
|
457
|
+
provides: [
|
|
458
|
+
{ key: "ai.chat", version: "1.0.0" },
|
|
459
|
+
{ key: "ai.embeddings", version: "1.0.0" }
|
|
460
|
+
]
|
|
461
|
+
},
|
|
462
|
+
configSchema: {
|
|
463
|
+
schema: {
|
|
464
|
+
type: "object",
|
|
465
|
+
properties: {
|
|
466
|
+
model: {
|
|
467
|
+
type: "string",
|
|
468
|
+
description: "Default chat completion model (e.g., mistral-large-latest)."
|
|
469
|
+
},
|
|
470
|
+
embeddingModel: {
|
|
471
|
+
type: "string",
|
|
472
|
+
description: "Embedding model identifier."
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
example: {
|
|
477
|
+
model: "mistral-large-latest",
|
|
478
|
+
embeddingModel: "mistral-embed"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
secretSchema: {
|
|
482
|
+
schema: {
|
|
483
|
+
type: "object",
|
|
484
|
+
required: ["apiKey"],
|
|
485
|
+
properties: {
|
|
486
|
+
apiKey: {
|
|
487
|
+
type: "string",
|
|
488
|
+
description: "Mistral API key with access to chat and embeddings endpoints."
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
example: {
|
|
493
|
+
apiKey: "mistral-***"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
healthCheck: {
|
|
497
|
+
method: "custom",
|
|
498
|
+
timeoutMs: 5000
|
|
499
|
+
},
|
|
500
|
+
docsUrl: "https://docs.mistral.ai/platform/endpoints",
|
|
501
|
+
constraints: {
|
|
502
|
+
rateLimit: {
|
|
503
|
+
rpm: 600
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
byokSetup: {
|
|
507
|
+
setupInstructions: "Generate an API key within the Mistral console and ensure the selected models are enabled for the account."
|
|
508
|
+
}
|
|
509
|
+
});
|
|
510
|
+
function registerMistralIntegration(registry) {
|
|
511
|
+
return registry.register(mistralIntegrationSpec);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// src/integrations/providers/elevenlabs.ts
|
|
515
|
+
import { StabilityEnum as StabilityEnum7 } from "@contractspec/lib.contracts-spec/ownership";
|
|
516
|
+
var elevenLabsIntegrationSpec = defineIntegration({
|
|
517
|
+
meta: {
|
|
518
|
+
key: "ai-voice.elevenlabs",
|
|
519
|
+
version: "1.0.0",
|
|
520
|
+
category: "ai-voice",
|
|
521
|
+
title: "ElevenLabs Text-to-Speech",
|
|
522
|
+
description: "ElevenLabs integration for neural voice synthesis and voice catalog access.",
|
|
523
|
+
domain: "ai",
|
|
524
|
+
owners: ["platform.ai"],
|
|
525
|
+
tags: ["voice", "tts"],
|
|
526
|
+
stability: StabilityEnum7.Beta
|
|
527
|
+
},
|
|
528
|
+
supportedModes: ["managed", "byok"],
|
|
529
|
+
capabilities: {
|
|
530
|
+
provides: [{ key: "ai.voice.synthesis", version: "1.0.0" }]
|
|
531
|
+
},
|
|
532
|
+
configSchema: {
|
|
533
|
+
schema: {
|
|
534
|
+
type: "object",
|
|
535
|
+
properties: {
|
|
536
|
+
defaultVoiceId: {
|
|
537
|
+
type: "string",
|
|
538
|
+
description: "Optional default voice identifier for synthesis requests."
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
example: {
|
|
543
|
+
defaultVoiceId: "pNInz6obpgDQGcFmaJgB"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
secretSchema: {
|
|
547
|
+
schema: {
|
|
548
|
+
type: "object",
|
|
549
|
+
required: ["apiKey"],
|
|
550
|
+
properties: {
|
|
551
|
+
apiKey: {
|
|
552
|
+
type: "string",
|
|
553
|
+
description: "ElevenLabs API key with text-to-speech permissions."
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
example: {
|
|
558
|
+
apiKey: "eleven-***"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
healthCheck: {
|
|
562
|
+
method: "custom",
|
|
563
|
+
timeoutMs: 4000
|
|
564
|
+
},
|
|
565
|
+
docsUrl: "https://elevenlabs.io/docs/api-reference/text-to-speech",
|
|
566
|
+
constraints: {
|
|
567
|
+
rateLimit: {
|
|
568
|
+
rpm: 120
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
byokSetup: {
|
|
572
|
+
setupInstructions: "Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope."
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
function registerElevenLabsIntegration(registry) {
|
|
576
|
+
return registry.register(elevenLabsIntegrationSpec);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
// src/integrations/providers/gradium.ts
|
|
580
|
+
import { StabilityEnum as StabilityEnum8 } from "@contractspec/lib.contracts-spec/ownership";
|
|
581
|
+
var gradiumIntegrationSpec = defineIntegration({
|
|
582
|
+
meta: {
|
|
583
|
+
key: "ai-voice.gradium",
|
|
584
|
+
version: "1.0.0",
|
|
585
|
+
category: "ai-voice",
|
|
586
|
+
title: "Gradium Text-to-Speech",
|
|
587
|
+
description: "Gradium integration for low-latency voice synthesis and voice catalog access.",
|
|
588
|
+
domain: "ai",
|
|
589
|
+
owners: ["platform.ai"],
|
|
590
|
+
tags: ["voice", "tts", "realtime"],
|
|
591
|
+
stability: StabilityEnum8.Experimental
|
|
592
|
+
},
|
|
593
|
+
supportedModes: ["byok"],
|
|
594
|
+
capabilities: {
|
|
595
|
+
provides: [{ key: "ai.voice.synthesis", version: "1.0.0" }]
|
|
596
|
+
},
|
|
597
|
+
configSchema: {
|
|
598
|
+
schema: {
|
|
599
|
+
type: "object",
|
|
600
|
+
properties: {
|
|
601
|
+
defaultVoiceId: {
|
|
602
|
+
type: "string",
|
|
603
|
+
description: "Optional default voice identifier used for synthesis."
|
|
604
|
+
},
|
|
605
|
+
region: {
|
|
606
|
+
type: "string",
|
|
607
|
+
enum: ["eu", "us"],
|
|
608
|
+
description: "Gradium region used by the SDK (eu or us)."
|
|
609
|
+
},
|
|
610
|
+
baseUrl: {
|
|
611
|
+
type: "string",
|
|
612
|
+
description: "Optional API base URL override for private routing or proxies."
|
|
613
|
+
},
|
|
614
|
+
timeoutMs: {
|
|
615
|
+
type: "number",
|
|
616
|
+
description: "Optional request timeout in milliseconds."
|
|
617
|
+
},
|
|
618
|
+
outputFormat: {
|
|
619
|
+
type: "string",
|
|
620
|
+
enum: [
|
|
621
|
+
"wav",
|
|
622
|
+
"pcm",
|
|
623
|
+
"opus",
|
|
624
|
+
"ulaw_8000",
|
|
625
|
+
"alaw_8000",
|
|
626
|
+
"pcm_16000",
|
|
627
|
+
"pcm_24000"
|
|
628
|
+
],
|
|
629
|
+
description: "Optional default output format used when no format is specified."
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
example: {
|
|
634
|
+
defaultVoiceId: "YTpq7expH9539ERJ",
|
|
635
|
+
region: "eu",
|
|
636
|
+
timeoutMs: 15000,
|
|
637
|
+
outputFormat: "wav"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
secretSchema: {
|
|
641
|
+
schema: {
|
|
642
|
+
type: "object",
|
|
643
|
+
required: ["apiKey"],
|
|
644
|
+
properties: {
|
|
645
|
+
apiKey: {
|
|
646
|
+
type: "string",
|
|
647
|
+
description: "Gradium API key with TTS access."
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
example: {
|
|
652
|
+
apiKey: "gd_***"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
healthCheck: {
|
|
656
|
+
method: "custom",
|
|
657
|
+
timeoutMs: 5000
|
|
658
|
+
},
|
|
659
|
+
docsUrl: "https://gradium.ai/api_docs.html",
|
|
660
|
+
byokSetup: {
|
|
661
|
+
setupInstructions: "Create a Gradium API key, select the target region, and store credentials in your tenant secret provider."
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
function registerGradiumIntegration(registry) {
|
|
665
|
+
return registry.register(gradiumIntegrationSpec);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
// src/integrations/providers/fal.ts
|
|
669
|
+
import { StabilityEnum as StabilityEnum9 } from "@contractspec/lib.contracts-spec/ownership";
|
|
670
|
+
var falIntegrationSpec = defineIntegration({
|
|
671
|
+
meta: {
|
|
672
|
+
key: "ai-voice.fal",
|
|
673
|
+
version: "1.0.0",
|
|
674
|
+
category: "ai-voice",
|
|
675
|
+
title: "Fal Chatterbox Text-to-Speech",
|
|
676
|
+
description: "Fal integration for voice synthesis using Chatterbox text-to-speech models.",
|
|
677
|
+
domain: "ai",
|
|
678
|
+
owners: ["platform.ai"],
|
|
679
|
+
tags: ["voice", "tts", "chatterbox"],
|
|
680
|
+
stability: StabilityEnum9.Experimental
|
|
681
|
+
},
|
|
682
|
+
supportedModes: ["byok"],
|
|
683
|
+
capabilities: {
|
|
684
|
+
provides: [{ key: "ai.voice.synthesis", version: "1.0.0" }]
|
|
685
|
+
},
|
|
686
|
+
configSchema: {
|
|
687
|
+
schema: {
|
|
688
|
+
type: "object",
|
|
689
|
+
properties: {
|
|
690
|
+
modelId: {
|
|
691
|
+
type: "string",
|
|
692
|
+
description: "Fal model endpoint identifier (e.g. fal-ai/chatterbox/text-to-speech)."
|
|
693
|
+
},
|
|
694
|
+
defaultVoiceUrl: {
|
|
695
|
+
type: "string",
|
|
696
|
+
description: "Optional reference audio URL used as default voice conditioning input."
|
|
697
|
+
},
|
|
698
|
+
defaultExaggeration: {
|
|
699
|
+
type: "number",
|
|
700
|
+
minimum: 0,
|
|
701
|
+
maximum: 1,
|
|
702
|
+
description: "Optional default exaggeration value for speech output."
|
|
703
|
+
},
|
|
704
|
+
defaultTemperature: {
|
|
705
|
+
type: "number",
|
|
706
|
+
minimum: 0.05,
|
|
707
|
+
maximum: 2,
|
|
708
|
+
description: "Optional default temperature for synthesis requests."
|
|
709
|
+
},
|
|
710
|
+
defaultCfg: {
|
|
711
|
+
type: "number",
|
|
712
|
+
minimum: 0.1,
|
|
713
|
+
maximum: 1,
|
|
714
|
+
description: "Optional default cfg value for synthesis requests."
|
|
715
|
+
},
|
|
716
|
+
pollIntervalMs: {
|
|
717
|
+
type: "number",
|
|
718
|
+
description: "Optional queue polling interval in milliseconds."
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
example: {
|
|
723
|
+
modelId: "fal-ai/chatterbox/text-to-speech",
|
|
724
|
+
defaultVoiceUrl: "https://storage.googleapis.com/chatterbox-demo-samples/prompts/male_rickmorty.mp3",
|
|
725
|
+
defaultExaggeration: 0.25,
|
|
726
|
+
defaultTemperature: 0.7,
|
|
727
|
+
defaultCfg: 0.5,
|
|
728
|
+
pollIntervalMs: 1000
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
secretSchema: {
|
|
732
|
+
schema: {
|
|
733
|
+
type: "object",
|
|
734
|
+
required: ["apiKey"],
|
|
735
|
+
properties: {
|
|
736
|
+
apiKey: {
|
|
737
|
+
type: "string",
|
|
738
|
+
description: "Fal API key (FAL_KEY)."
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
example: {
|
|
743
|
+
apiKey: "key-id:key-secret"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
healthCheck: {
|
|
747
|
+
method: "custom",
|
|
748
|
+
timeoutMs: 7000
|
|
749
|
+
},
|
|
750
|
+
docsUrl: "https://fal.ai/models/fal-ai/chatterbox/text-to-speech/api",
|
|
751
|
+
byokSetup: {
|
|
752
|
+
setupInstructions: "Create a Fal API key and configure the desired voice model endpoint before connecting tenants."
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
function registerFalIntegration(registry) {
|
|
756
|
+
return registry.register(falIntegrationSpec);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
// src/integrations/providers/gmail.ts
|
|
760
|
+
import { StabilityEnum as StabilityEnum10 } from "@contractspec/lib.contracts-spec/ownership";
|
|
761
|
+
var gmailIntegrationSpec = defineIntegration({
|
|
762
|
+
meta: {
|
|
763
|
+
key: "email.gmail",
|
|
764
|
+
version: "1.0.0",
|
|
765
|
+
category: "email",
|
|
766
|
+
title: "Google Gmail API",
|
|
767
|
+
description: "Gmail integration supporting inbound thread ingestion and outbound transactional email.",
|
|
768
|
+
domain: "communications",
|
|
769
|
+
owners: ["platform.messaging"],
|
|
770
|
+
tags: ["email", "gmail"],
|
|
771
|
+
stability: StabilityEnum10.Beta
|
|
772
|
+
},
|
|
773
|
+
supportedModes: ["managed", "byok"],
|
|
774
|
+
capabilities: {
|
|
775
|
+
provides: [
|
|
776
|
+
{ key: "email.inbound", version: "1.0.0" },
|
|
777
|
+
{ key: "email.outbound", version: "1.0.0" }
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
|
+
configSchema: {
|
|
781
|
+
schema: {
|
|
782
|
+
type: "object",
|
|
783
|
+
properties: {
|
|
784
|
+
labelIds: {
|
|
785
|
+
type: "array",
|
|
786
|
+
items: { type: "string" },
|
|
787
|
+
description: "Optional list of label IDs to scope inbound sync."
|
|
788
|
+
},
|
|
789
|
+
includeSpamTrash: {
|
|
790
|
+
type: "boolean",
|
|
791
|
+
description: "Whether to include spam or trash messages during sync."
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
example: {
|
|
796
|
+
labelIds: ["INBOX"],
|
|
797
|
+
includeSpamTrash: false
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
secretSchema: {
|
|
801
|
+
schema: {
|
|
802
|
+
type: "object",
|
|
803
|
+
required: ["clientId", "clientSecret", "refreshToken"],
|
|
804
|
+
properties: {
|
|
805
|
+
clientId: {
|
|
806
|
+
type: "string",
|
|
807
|
+
description: "OAuth client ID for the Google Cloud project."
|
|
808
|
+
},
|
|
809
|
+
clientSecret: {
|
|
810
|
+
type: "string",
|
|
811
|
+
description: "OAuth client secret for the Google Cloud project."
|
|
812
|
+
},
|
|
813
|
+
refreshToken: {
|
|
814
|
+
type: "string",
|
|
815
|
+
description: "OAuth refresh token for delegated Gmail access."
|
|
816
|
+
},
|
|
817
|
+
redirectUri: {
|
|
818
|
+
type: "string",
|
|
819
|
+
description: "Optional redirect URI used when issuing the refresh token."
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
example: {
|
|
824
|
+
clientId: "xxx.apps.googleusercontent.com",
|
|
825
|
+
clientSecret: "secret",
|
|
826
|
+
refreshToken: "refresh-token"
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
healthCheck: {
|
|
830
|
+
method: "custom",
|
|
831
|
+
timeoutMs: 4000
|
|
832
|
+
},
|
|
833
|
+
docsUrl: "https://developers.google.com/gmail/api",
|
|
834
|
+
constraints: {
|
|
835
|
+
rateLimit: {
|
|
836
|
+
rpm: 600
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
byokSetup: {
|
|
840
|
+
setupInstructions: "Create an OAuth consent screen and credentials within Google Cloud Console, then authorize the Gmail scopes and store the resulting refresh token."
|
|
841
|
+
}
|
|
842
|
+
});
|
|
843
|
+
function registerGmailIntegration(registry) {
|
|
844
|
+
return registry.register(gmailIntegrationSpec);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
// src/integrations/providers/google-calendar.ts
|
|
848
|
+
import { StabilityEnum as StabilityEnum11 } from "@contractspec/lib.contracts-spec/ownership";
|
|
849
|
+
var googleCalendarIntegrationSpec = defineIntegration({
|
|
850
|
+
meta: {
|
|
851
|
+
key: "calendar.google",
|
|
852
|
+
version: "1.0.0",
|
|
853
|
+
category: "calendar",
|
|
854
|
+
title: "Google Calendar API",
|
|
855
|
+
description: "Google Calendar integration for event creation, updates, and scheduling automations.",
|
|
856
|
+
domain: "productivity",
|
|
857
|
+
owners: ["platform.messaging"],
|
|
858
|
+
tags: ["calendar", "google"],
|
|
859
|
+
stability: StabilityEnum11.Beta
|
|
860
|
+
},
|
|
861
|
+
supportedModes: ["managed", "byok"],
|
|
862
|
+
capabilities: {
|
|
863
|
+
provides: [{ key: "calendar.events", version: "1.0.0" }]
|
|
864
|
+
},
|
|
865
|
+
configSchema: {
|
|
866
|
+
schema: {
|
|
867
|
+
type: "object",
|
|
868
|
+
properties: {
|
|
869
|
+
calendarId: {
|
|
870
|
+
type: "string",
|
|
871
|
+
description: "Default calendar identifier (defaults to primary)."
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
example: {
|
|
876
|
+
calendarId: "primary"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
secretSchema: {
|
|
880
|
+
schema: {
|
|
881
|
+
type: "object",
|
|
882
|
+
required: ["clientEmail", "privateKey"],
|
|
883
|
+
properties: {
|
|
884
|
+
clientEmail: {
|
|
885
|
+
type: "string",
|
|
886
|
+
description: "Service account client email."
|
|
887
|
+
},
|
|
888
|
+
privateKey: {
|
|
889
|
+
type: "string",
|
|
890
|
+
description: "Service account private key."
|
|
891
|
+
},
|
|
892
|
+
projectId: {
|
|
893
|
+
type: "string",
|
|
894
|
+
description: "Google Cloud project ID."
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
example: {
|
|
899
|
+
clientEmail: "svc-calendar@example.iam.gserviceaccount.com",
|
|
900
|
+
privateKey: "-----BEGIN PRIVATE KEY-----...",
|
|
901
|
+
projectId: "calendar-project"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
healthCheck: {
|
|
905
|
+
method: "custom",
|
|
906
|
+
timeoutMs: 4000
|
|
907
|
+
},
|
|
908
|
+
docsUrl: "https://developers.google.com/calendar/api",
|
|
909
|
+
constraints: {},
|
|
910
|
+
byokSetup: {
|
|
911
|
+
setupInstructions: "Create a Google service account with Calendar access and share the target calendars with the service account email."
|
|
912
|
+
}
|
|
913
|
+
});
|
|
914
|
+
function registerGoogleCalendarIntegration(registry) {
|
|
915
|
+
return registry.register(googleCalendarIntegrationSpec);
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
// src/integrations/providers/twilio-sms.ts
|
|
919
|
+
import { StabilityEnum as StabilityEnum12 } from "@contractspec/lib.contracts-spec/ownership";
|
|
920
|
+
var twilioSmsIntegrationSpec = defineIntegration({
|
|
921
|
+
meta: {
|
|
922
|
+
key: "sms.twilio",
|
|
923
|
+
version: "1.0.0",
|
|
924
|
+
category: "sms",
|
|
925
|
+
title: "Twilio Messaging",
|
|
926
|
+
description: "Twilio SMS integration for transactional and notification messaging.",
|
|
927
|
+
domain: "communications",
|
|
928
|
+
owners: ["platform.messaging"],
|
|
929
|
+
tags: ["sms", "messaging"],
|
|
930
|
+
stability: StabilityEnum12.Stable
|
|
931
|
+
},
|
|
932
|
+
supportedModes: ["managed", "byok"],
|
|
933
|
+
capabilities: {
|
|
934
|
+
provides: [{ key: "sms.outbound", version: "1.0.0" }]
|
|
935
|
+
},
|
|
936
|
+
configSchema: {
|
|
937
|
+
schema: {
|
|
938
|
+
type: "object",
|
|
939
|
+
properties: {
|
|
940
|
+
fromNumber: {
|
|
941
|
+
type: "string",
|
|
942
|
+
description: "Default Twilio phone number used as sender."
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
example: {
|
|
947
|
+
fromNumber: "+15551234567"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
secretSchema: {
|
|
951
|
+
schema: {
|
|
952
|
+
type: "object",
|
|
953
|
+
required: ["accountSid", "authToken"],
|
|
954
|
+
properties: {
|
|
955
|
+
accountSid: {
|
|
956
|
+
type: "string",
|
|
957
|
+
description: "Twilio Account SID."
|
|
958
|
+
},
|
|
959
|
+
authToken: {
|
|
960
|
+
type: "string",
|
|
961
|
+
description: "Twilio Auth Token."
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
},
|
|
965
|
+
example: {
|
|
966
|
+
accountSid: "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
967
|
+
authToken: "auth-token"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
healthCheck: {
|
|
971
|
+
method: "custom",
|
|
972
|
+
timeoutMs: 3000
|
|
973
|
+
},
|
|
974
|
+
docsUrl: "https://www.twilio.com/docs/sms/api",
|
|
975
|
+
constraints: {
|
|
976
|
+
rateLimit: {
|
|
977
|
+
rpm: 200
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
byokSetup: {
|
|
981
|
+
setupInstructions: "Provide a Twilio account SID, auth token, and verify the outbound sending numbers used by the integration."
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
function registerTwilioSmsIntegration(registry) {
|
|
985
|
+
return registry.register(twilioSmsIntegrationSpec);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
// src/integrations/providers/gcs-storage.ts
|
|
989
|
+
import { StabilityEnum as StabilityEnum13 } from "@contractspec/lib.contracts-spec/ownership";
|
|
990
|
+
var gcsStorageIntegrationSpec = defineIntegration({
|
|
991
|
+
meta: {
|
|
992
|
+
key: "storage.gcs",
|
|
993
|
+
version: "1.0.0",
|
|
994
|
+
category: "storage",
|
|
995
|
+
title: "Google Cloud Storage Buckets",
|
|
996
|
+
description: "Google Cloud Storage integration for object storage and retrieval.",
|
|
997
|
+
domain: "infrastructure",
|
|
998
|
+
owners: ["platform.infrastructure"],
|
|
999
|
+
tags: ["storage", "gcs", "google-cloud"],
|
|
1000
|
+
stability: StabilityEnum13.Beta
|
|
1001
|
+
},
|
|
1002
|
+
supportedModes: ["managed", "byok"],
|
|
1003
|
+
capabilities: {
|
|
1004
|
+
provides: [{ key: "storage.objects", version: "1.0.0" }]
|
|
1005
|
+
},
|
|
1006
|
+
configSchema: {
|
|
1007
|
+
schema: {
|
|
1008
|
+
type: "object",
|
|
1009
|
+
required: ["bucket"],
|
|
1010
|
+
properties: {
|
|
1011
|
+
bucket: {
|
|
1012
|
+
type: "string",
|
|
1013
|
+
description: "Primary bucket name used for storing objects."
|
|
1014
|
+
},
|
|
1015
|
+
prefix: {
|
|
1016
|
+
type: "string",
|
|
1017
|
+
description: "Optional prefix applied to object keys."
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
example: {
|
|
1022
|
+
bucket: "pfo-tenant-assets",
|
|
1023
|
+
prefix: "documents/"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
secretSchema: {
|
|
1027
|
+
schema: {
|
|
1028
|
+
type: "object",
|
|
1029
|
+
properties: {
|
|
1030
|
+
type: {
|
|
1031
|
+
type: "string",
|
|
1032
|
+
description: "Service account type field from Google credentials JSON (if provided)."
|
|
1033
|
+
},
|
|
1034
|
+
client_email: { type: "string" },
|
|
1035
|
+
private_key: { type: "string" },
|
|
1036
|
+
project_id: { type: "string" }
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
example: {
|
|
1040
|
+
type: "service_account",
|
|
1041
|
+
client_email: "svc-account@example.iam.gserviceaccount.com",
|
|
1042
|
+
private_key: "-----BEGIN PRIVATE KEY-----...",
|
|
1043
|
+
project_id: "example-project"
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
healthCheck: {
|
|
1047
|
+
method: "ping",
|
|
1048
|
+
timeoutMs: 4000
|
|
1049
|
+
},
|
|
1050
|
+
docsUrl: "https://cloud.google.com/storage/docs/apis",
|
|
1051
|
+
constraints: {
|
|
1052
|
+
quotas: {
|
|
1053
|
+
storageGb: 5120
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
byokSetup: {
|
|
1057
|
+
setupInstructions: "Create a Google Cloud service account with Storage Object Admin role and upload the JSON credentials to the secret store."
|
|
1058
|
+
}
|
|
1059
|
+
});
|
|
1060
|
+
function registerGcsStorageIntegration(registry) {
|
|
1061
|
+
return registry.register(gcsStorageIntegrationSpec);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
// src/integrations/providers/powens.ts
|
|
1065
|
+
import { StabilityEnum as StabilityEnum14 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1066
|
+
var powensIntegrationSpec = defineIntegration({
|
|
1067
|
+
meta: {
|
|
1068
|
+
key: "openbanking.powens",
|
|
1069
|
+
version: "1.0.0",
|
|
1070
|
+
category: "open-banking",
|
|
1071
|
+
title: "Powens Open Banking (Read)",
|
|
1072
|
+
description: "Read-only Open Banking integration powered by Powens, exposing accounts, transactions, and balances.",
|
|
1073
|
+
domain: "finance",
|
|
1074
|
+
owners: ["platform.finance"],
|
|
1075
|
+
tags: ["open-banking", "powens", "finance"],
|
|
1076
|
+
stability: StabilityEnum14.Experimental
|
|
1077
|
+
},
|
|
1078
|
+
supportedModes: ["byok"],
|
|
1079
|
+
capabilities: {
|
|
1080
|
+
provides: [
|
|
1081
|
+
{ key: "openbanking.accounts.read", version: "1.0.0" },
|
|
1082
|
+
{ key: "openbanking.transactions.read", version: "1.0.0" },
|
|
1083
|
+
{ key: "openbanking.balances.read", version: "1.0.0" }
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
configSchema: {
|
|
1087
|
+
schema: {
|
|
1088
|
+
type: "object",
|
|
1089
|
+
required: ["environment"],
|
|
1090
|
+
properties: {
|
|
1091
|
+
environment: {
|
|
1092
|
+
type: "string",
|
|
1093
|
+
enum: ["sandbox", "production"],
|
|
1094
|
+
description: "Powens environment to target. Sandbox uses Powens test API base URL, production uses live endpoints."
|
|
1095
|
+
},
|
|
1096
|
+
baseUrl: {
|
|
1097
|
+
type: "string",
|
|
1098
|
+
description: "Optional override for the Powens API base URL. Defaults to Powens environment defaults."
|
|
1099
|
+
},
|
|
1100
|
+
region: {
|
|
1101
|
+
type: "string",
|
|
1102
|
+
description: "Optional Powens region identifier when targeting a specific data residency cluster."
|
|
1103
|
+
},
|
|
1104
|
+
pollingIntervalMs: {
|
|
1105
|
+
type: "number",
|
|
1106
|
+
description: "Optional custom polling interval in milliseconds for background sync jobs (defaults to platform standard)."
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
example: {
|
|
1111
|
+
environment: "sandbox",
|
|
1112
|
+
baseUrl: "https://api-sandbox.powens.com/v2",
|
|
1113
|
+
region: "eu-west-1",
|
|
1114
|
+
pollingIntervalMs: 300000
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
secretSchema: {
|
|
1118
|
+
schema: {
|
|
1119
|
+
type: "object",
|
|
1120
|
+
required: ["clientId", "clientSecret"],
|
|
1121
|
+
properties: {
|
|
1122
|
+
clientId: {
|
|
1123
|
+
type: "string",
|
|
1124
|
+
description: "Powens OAuth client identifier obtained from the Powens Console (BYOK project)."
|
|
1125
|
+
},
|
|
1126
|
+
clientSecret: {
|
|
1127
|
+
type: "string",
|
|
1128
|
+
description: "Powens OAuth client secret used to exchange for access tokens."
|
|
1129
|
+
},
|
|
1130
|
+
apiKey: {
|
|
1131
|
+
type: "string",
|
|
1132
|
+
description: "Optional Powens API key (if the tenant project exposes a dedicated API token)."
|
|
1133
|
+
},
|
|
1134
|
+
webhookSecret: {
|
|
1135
|
+
type: "string",
|
|
1136
|
+
description: "Optional webhook signing secret used to verify Powens webhook payloads."
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
example: {
|
|
1141
|
+
clientId: "powens-client-id",
|
|
1142
|
+
clientSecret: "powens-client-secret",
|
|
1143
|
+
apiKey: "powens-api-key",
|
|
1144
|
+
webhookSecret: "powens-webhook-secret"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
healthCheck: {
|
|
1148
|
+
method: "ping",
|
|
1149
|
+
timeoutMs: 8000
|
|
1150
|
+
},
|
|
1151
|
+
docsUrl: "https://docs.powens.com/",
|
|
1152
|
+
constraints: {
|
|
1153
|
+
rateLimit: {
|
|
1154
|
+
rph: 1e4,
|
|
1155
|
+
rpm: 600
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
byokSetup: {
|
|
1159
|
+
setupInstructions: "Create a Powens BYOK project, generate OAuth credentials, and optionally configure webhook delivery for account/transaction updates.",
|
|
1160
|
+
requiredScopes: ["accounts:read", "transactions:read", "balances:read"]
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
function registerPowensIntegration(registry) {
|
|
1164
|
+
return registry.register(powensIntegrationSpec);
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
// src/integrations/providers/posthog.ts
|
|
1168
|
+
import { StabilityEnum as StabilityEnum15 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1169
|
+
var posthogIntegrationSpec = defineIntegration({
|
|
1170
|
+
meta: {
|
|
1171
|
+
key: "analytics.posthog",
|
|
1172
|
+
version: "1.1.0",
|
|
1173
|
+
category: "analytics",
|
|
1174
|
+
title: "PostHog",
|
|
1175
|
+
description: "PostHog integration for product analytics, feature flags, HogQL queries, and LLM analytics with evaluations.",
|
|
1176
|
+
domain: "analytics",
|
|
1177
|
+
owners: ["@platform.integrations"],
|
|
1178
|
+
tags: ["analytics", "posthog", "llm", "ai"],
|
|
1179
|
+
stability: StabilityEnum15.Beta
|
|
1180
|
+
},
|
|
1181
|
+
supportedModes: ["managed", "byok"],
|
|
1182
|
+
capabilities: {
|
|
1183
|
+
provides: [
|
|
1184
|
+
{ key: "analytics.events", version: "1.0.0" },
|
|
1185
|
+
{ key: "analytics.feature-flags", version: "1.0.0" },
|
|
1186
|
+
{ key: "analytics.query", version: "1.0.0" },
|
|
1187
|
+
{ key: "analytics.events.read", version: "1.0.0" },
|
|
1188
|
+
{ key: "analytics.persons", version: "1.0.0" },
|
|
1189
|
+
{ key: "analytics.insights", version: "1.0.0" },
|
|
1190
|
+
{ key: "analytics.cohorts", version: "1.0.0" },
|
|
1191
|
+
{ key: "analytics.annotations", version: "1.0.0" },
|
|
1192
|
+
{ key: "analytics.llm-tracing", version: "1.0.0" },
|
|
1193
|
+
{ key: "analytics.llm-evaluations", version: "1.0.0" }
|
|
1194
|
+
]
|
|
1195
|
+
},
|
|
1196
|
+
configSchema: {
|
|
1197
|
+
schema: {
|
|
1198
|
+
type: "object",
|
|
1199
|
+
properties: {
|
|
1200
|
+
host: {
|
|
1201
|
+
type: "string",
|
|
1202
|
+
description: "PostHog host (e.g., https://app.posthog.com or self-hosted URL)."
|
|
1203
|
+
},
|
|
1204
|
+
projectId: {
|
|
1205
|
+
type: "string",
|
|
1206
|
+
description: "PostHog project ID for API queries."
|
|
1207
|
+
},
|
|
1208
|
+
mcpUrl: {
|
|
1209
|
+
type: "string",
|
|
1210
|
+
description: "Optional MCP endpoint URL for PostHog tools."
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
},
|
|
1214
|
+
example: {
|
|
1215
|
+
host: "https://app.posthog.com",
|
|
1216
|
+
projectId: "12345"
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
secretSchema: {
|
|
1220
|
+
schema: {
|
|
1221
|
+
type: "object",
|
|
1222
|
+
required: ["personalApiKey"],
|
|
1223
|
+
properties: {
|
|
1224
|
+
personalApiKey: {
|
|
1225
|
+
type: "string",
|
|
1226
|
+
description: "PostHog personal API key (required for API reads/writes)."
|
|
1227
|
+
},
|
|
1228
|
+
projectApiKey: {
|
|
1229
|
+
type: "string",
|
|
1230
|
+
description: "PostHog project API key (required for capture/ingest events)."
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
example: {
|
|
1235
|
+
personalApiKey: "phx_personal_api_key",
|
|
1236
|
+
projectApiKey: "phc_project_api_key"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
healthCheck: {
|
|
1240
|
+
method: "custom",
|
|
1241
|
+
timeoutMs: 5000
|
|
1242
|
+
},
|
|
1243
|
+
docsUrl: "https://posthog.com/docs",
|
|
1244
|
+
byokSetup: {
|
|
1245
|
+
setupInstructions: "Generate a PostHog personal API key for read/write operations and a project API key for event capture."
|
|
1246
|
+
}
|
|
1247
|
+
});
|
|
1248
|
+
function registerPosthogIntegration(registry) {
|
|
1249
|
+
return registry.register(posthogIntegrationSpec);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
// src/integrations/providers/posthog-llm-telemetry.ts
|
|
1253
|
+
import { StabilityEnum as StabilityEnum16 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1254
|
+
var posthogLLMTelemetrySpec = {
|
|
1255
|
+
meta: {
|
|
1256
|
+
key: "analytics.posthog.llm",
|
|
1257
|
+
version: "1.0.0",
|
|
1258
|
+
title: "PostHog LLM Analytics Telemetry",
|
|
1259
|
+
description: "Telemetry events for PostHog LLM Analytics: generation tracing, token usage, and evaluation-ready metadata.",
|
|
1260
|
+
domain: "analytics",
|
|
1261
|
+
owners: ["@platform.integrations"],
|
|
1262
|
+
tags: ["analytics", "posthog", "llm", "ai", "telemetry"],
|
|
1263
|
+
stability: StabilityEnum16.Beta
|
|
1264
|
+
},
|
|
1265
|
+
events: [
|
|
1266
|
+
{
|
|
1267
|
+
key: "posthog.llm.generation",
|
|
1268
|
+
version: "1.0.0",
|
|
1269
|
+
semantics: {
|
|
1270
|
+
who: "AI agent or LLM consumer",
|
|
1271
|
+
what: "Captures an LLM generation call with full observability metadata",
|
|
1272
|
+
why: "Enable LLM performance monitoring, cost tracking, and automated quality evaluations via PostHog"
|
|
1273
|
+
},
|
|
1274
|
+
properties: {
|
|
1275
|
+
$ai_model: {
|
|
1276
|
+
type: "string",
|
|
1277
|
+
required: true,
|
|
1278
|
+
description: "The LLM model identifier (e.g., gpt-4o, claude-sonnet-4-20250514)"
|
|
1279
|
+
},
|
|
1280
|
+
$ai_provider: {
|
|
1281
|
+
type: "string",
|
|
1282
|
+
required: true,
|
|
1283
|
+
description: "The LLM provider (e.g., openai, anthropic, contractspec)"
|
|
1284
|
+
},
|
|
1285
|
+
$ai_latency: {
|
|
1286
|
+
type: "number",
|
|
1287
|
+
required: false,
|
|
1288
|
+
description: "LLM call latency in seconds"
|
|
1289
|
+
},
|
|
1290
|
+
$ai_input_tokens: {
|
|
1291
|
+
type: "number",
|
|
1292
|
+
required: false,
|
|
1293
|
+
description: "Number of input/prompt tokens consumed"
|
|
1294
|
+
},
|
|
1295
|
+
$ai_output_tokens: {
|
|
1296
|
+
type: "number",
|
|
1297
|
+
required: false,
|
|
1298
|
+
description: "Number of output/completion tokens generated"
|
|
1299
|
+
},
|
|
1300
|
+
$ai_total_cost_usd: {
|
|
1301
|
+
type: "number",
|
|
1302
|
+
required: false,
|
|
1303
|
+
description: "Total cost in USD (input + output)"
|
|
1304
|
+
},
|
|
1305
|
+
$ai_is_error: {
|
|
1306
|
+
type: "boolean",
|
|
1307
|
+
required: false,
|
|
1308
|
+
description: "Whether the generation resulted in an error"
|
|
1309
|
+
},
|
|
1310
|
+
$ai_trace_id: {
|
|
1311
|
+
type: "string",
|
|
1312
|
+
required: false,
|
|
1313
|
+
description: "Trace ID for grouping related generations"
|
|
1314
|
+
},
|
|
1315
|
+
$ai_stream: {
|
|
1316
|
+
type: "boolean",
|
|
1317
|
+
required: false,
|
|
1318
|
+
description: "Whether the response was streamed"
|
|
1319
|
+
},
|
|
1320
|
+
$ai_time_to_first_token: {
|
|
1321
|
+
type: "number",
|
|
1322
|
+
required: false,
|
|
1323
|
+
description: "Time to first token in seconds (streaming only)"
|
|
1324
|
+
},
|
|
1325
|
+
$ai_tools: {
|
|
1326
|
+
type: "json",
|
|
1327
|
+
required: false,
|
|
1328
|
+
description: "Tools/functions available to the LLM"
|
|
1329
|
+
},
|
|
1330
|
+
$ai_input: {
|
|
1331
|
+
type: "json",
|
|
1332
|
+
required: false,
|
|
1333
|
+
pii: true,
|
|
1334
|
+
redact: true,
|
|
1335
|
+
description: "Messages sent to the LLM (may contain PII)"
|
|
1336
|
+
},
|
|
1337
|
+
$ai_output_choices: {
|
|
1338
|
+
type: "json",
|
|
1339
|
+
required: false,
|
|
1340
|
+
pii: true,
|
|
1341
|
+
redact: true,
|
|
1342
|
+
description: "Response choices from the LLM (may contain PII)"
|
|
1343
|
+
},
|
|
1344
|
+
contractspec_operation: {
|
|
1345
|
+
type: "string",
|
|
1346
|
+
required: false,
|
|
1347
|
+
description: "ContractSpec operation name"
|
|
1348
|
+
},
|
|
1349
|
+
contractspec_version: {
|
|
1350
|
+
type: "string",
|
|
1351
|
+
required: false,
|
|
1352
|
+
description: "ContractSpec operation version"
|
|
1353
|
+
},
|
|
1354
|
+
contractspec_agent_id: {
|
|
1355
|
+
type: "string",
|
|
1356
|
+
required: false,
|
|
1357
|
+
description: "ContractSpec agent identifier"
|
|
1358
|
+
},
|
|
1359
|
+
contractspec_finish_reason: {
|
|
1360
|
+
type: "string",
|
|
1361
|
+
required: false,
|
|
1362
|
+
description: "AI SDK finish reason (stop, tool-calls, error, etc.)"
|
|
1363
|
+
},
|
|
1364
|
+
contractspec_tool_count: {
|
|
1365
|
+
type: "number",
|
|
1366
|
+
required: false,
|
|
1367
|
+
description: "Number of tool calls made in this step"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
privacy: "internal",
|
|
1371
|
+
tags: ["llm", "generation", "posthog"]
|
|
1372
|
+
}
|
|
1373
|
+
],
|
|
1374
|
+
config: {
|
|
1375
|
+
defaultRetentionDays: 90,
|
|
1376
|
+
defaultSamplingRate: 1,
|
|
1377
|
+
providers: [
|
|
1378
|
+
{
|
|
1379
|
+
type: "posthog",
|
|
1380
|
+
config: {
|
|
1381
|
+
eventName: "$ai_generation",
|
|
1382
|
+
enableEvaluations: true,
|
|
1383
|
+
evaluationTemplates: [
|
|
1384
|
+
"relevance",
|
|
1385
|
+
"helpfulness",
|
|
1386
|
+
"jailbreak",
|
|
1387
|
+
"hallucination",
|
|
1388
|
+
"toxicity"
|
|
1389
|
+
]
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
]
|
|
1393
|
+
}
|
|
1394
|
+
};
|
|
1395
|
+
var POSTHOG_LLM_PII_FIELDS = [
|
|
1396
|
+
"$ai_input",
|
|
1397
|
+
"$ai_output_choices"
|
|
1398
|
+
];
|
|
1399
|
+
var POSTHOG_LLM_TELEMETRY_EVENTS = {
|
|
1400
|
+
generation: "$ai_generation",
|
|
1401
|
+
span: "$ai_span",
|
|
1402
|
+
evaluation: "$ai_evaluation"
|
|
1403
|
+
};
|
|
1404
|
+
var POSTHOG_EVALUATION_TEMPLATES = {
|
|
1405
|
+
relevance: "relevance",
|
|
1406
|
+
helpfulness: "helpfulness",
|
|
1407
|
+
jailbreak: "jailbreak",
|
|
1408
|
+
hallucination: "hallucination",
|
|
1409
|
+
toxicity: "toxicity"
|
|
1410
|
+
};
|
|
1411
|
+
function redactPostHogLLMTelemetryPayload(payload) {
|
|
1412
|
+
const redacted = { ...payload };
|
|
1413
|
+
for (const field of POSTHOG_LLM_PII_FIELDS) {
|
|
1414
|
+
if (field in redacted) {
|
|
1415
|
+
redacted[field] = "[REDACTED]";
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
return redacted;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
// src/integrations/providers/linear.ts
|
|
1422
|
+
import { StabilityEnum as StabilityEnum17 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1423
|
+
var linearIntegrationSpec = defineIntegration({
|
|
1424
|
+
meta: {
|
|
1425
|
+
key: "project-management.linear",
|
|
1426
|
+
version: "1.0.0",
|
|
1427
|
+
category: "project-management",
|
|
1428
|
+
title: "Linear",
|
|
1429
|
+
description: "Linear integration for issue tracking and project management workflows.",
|
|
1430
|
+
domain: "productivity",
|
|
1431
|
+
owners: ["@platform.integrations"],
|
|
1432
|
+
tags: ["project-management", "linear"],
|
|
1433
|
+
stability: StabilityEnum17.Beta
|
|
1434
|
+
},
|
|
1435
|
+
supportedModes: ["managed", "byok"],
|
|
1436
|
+
capabilities: {
|
|
1437
|
+
provides: [{ key: "project-management.work-items", version: "1.0.0" }]
|
|
1438
|
+
},
|
|
1439
|
+
configSchema: {
|
|
1440
|
+
schema: {
|
|
1441
|
+
type: "object",
|
|
1442
|
+
required: ["teamId"],
|
|
1443
|
+
properties: {
|
|
1444
|
+
teamId: {
|
|
1445
|
+
type: "string",
|
|
1446
|
+
description: "Linear team ID that owns created issues."
|
|
1447
|
+
},
|
|
1448
|
+
projectId: {
|
|
1449
|
+
type: "string",
|
|
1450
|
+
description: "Optional default project ID for new issues."
|
|
1451
|
+
},
|
|
1452
|
+
stateId: {
|
|
1453
|
+
type: "string",
|
|
1454
|
+
description: "Optional default workflow state ID."
|
|
1455
|
+
},
|
|
1456
|
+
assigneeId: {
|
|
1457
|
+
type: "string",
|
|
1458
|
+
description: "Optional default assignee ID."
|
|
1459
|
+
},
|
|
1460
|
+
labelIds: {
|
|
1461
|
+
type: "array",
|
|
1462
|
+
items: { type: "string" },
|
|
1463
|
+
description: "Optional label IDs applied to each issue."
|
|
1464
|
+
},
|
|
1465
|
+
tagLabelMap: {
|
|
1466
|
+
type: "object",
|
|
1467
|
+
additionalProperties: { type: "string" },
|
|
1468
|
+
description: "Optional mapping of tags to Linear label IDs (tag -> labelId)."
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
example: {
|
|
1473
|
+
teamId: "team_123",
|
|
1474
|
+
projectId: "proj_456",
|
|
1475
|
+
labelIds: ["label_1", "label_2"]
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
secretSchema: {
|
|
1479
|
+
schema: {
|
|
1480
|
+
type: "object",
|
|
1481
|
+
required: ["apiKey"],
|
|
1482
|
+
properties: {
|
|
1483
|
+
apiKey: {
|
|
1484
|
+
type: "string",
|
|
1485
|
+
description: "Linear API key (personal or service token)."
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
example: {
|
|
1490
|
+
apiKey: "lin_api_key"
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
healthCheck: {
|
|
1494
|
+
method: "custom",
|
|
1495
|
+
timeoutMs: 4000
|
|
1496
|
+
},
|
|
1497
|
+
docsUrl: "https://developers.linear.app",
|
|
1498
|
+
constraints: {},
|
|
1499
|
+
byokSetup: {
|
|
1500
|
+
setupInstructions: "Create a Linear API key with issue:write permission and store it as a secret."
|
|
1501
|
+
}
|
|
1502
|
+
});
|
|
1503
|
+
function registerLinearIntegration(registry) {
|
|
1504
|
+
return registry.register(linearIntegrationSpec);
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
// src/integrations/providers/jira.ts
|
|
1508
|
+
import { StabilityEnum as StabilityEnum18 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1509
|
+
var jiraIntegrationSpec = defineIntegration({
|
|
1510
|
+
meta: {
|
|
1511
|
+
key: "project-management.jira",
|
|
1512
|
+
version: "1.0.0",
|
|
1513
|
+
category: "project-management",
|
|
1514
|
+
title: "Jira Cloud",
|
|
1515
|
+
description: "Jira Cloud integration for creating and tracking work items.",
|
|
1516
|
+
domain: "productivity",
|
|
1517
|
+
owners: ["@platform.integrations"],
|
|
1518
|
+
tags: ["project-management", "jira"],
|
|
1519
|
+
stability: StabilityEnum18.Beta
|
|
1520
|
+
},
|
|
1521
|
+
supportedModes: ["managed", "byok"],
|
|
1522
|
+
capabilities: {
|
|
1523
|
+
provides: [{ key: "project-management.work-items", version: "1.0.0" }]
|
|
1524
|
+
},
|
|
1525
|
+
configSchema: {
|
|
1526
|
+
schema: {
|
|
1527
|
+
type: "object",
|
|
1528
|
+
required: ["siteUrl"],
|
|
1529
|
+
properties: {
|
|
1530
|
+
siteUrl: {
|
|
1531
|
+
type: "string",
|
|
1532
|
+
description: "Jira Cloud site URL (e.g., https://acme.atlassian.net)."
|
|
1533
|
+
},
|
|
1534
|
+
projectKey: {
|
|
1535
|
+
type: "string",
|
|
1536
|
+
description: "Default Jira project key for new issues."
|
|
1537
|
+
},
|
|
1538
|
+
issueType: {
|
|
1539
|
+
type: "string",
|
|
1540
|
+
description: "Default Jira issue type (e.g., Task, Story)."
|
|
1541
|
+
},
|
|
1542
|
+
defaultLabels: {
|
|
1543
|
+
type: "array",
|
|
1544
|
+
items: { type: "string" },
|
|
1545
|
+
description: "Labels applied to each issue by default."
|
|
1546
|
+
},
|
|
1547
|
+
issueTypeMap: {
|
|
1548
|
+
type: "object",
|
|
1549
|
+
additionalProperties: { type: "string" },
|
|
1550
|
+
description: "Optional mapping from work item types to Jira issue types."
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
example: {
|
|
1555
|
+
siteUrl: "https://acme.atlassian.net",
|
|
1556
|
+
projectKey: "PM",
|
|
1557
|
+
issueType: "Task"
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
secretSchema: {
|
|
1561
|
+
schema: {
|
|
1562
|
+
type: "object",
|
|
1563
|
+
required: ["email", "apiToken"],
|
|
1564
|
+
properties: {
|
|
1565
|
+
email: {
|
|
1566
|
+
type: "string",
|
|
1567
|
+
description: "Jira account email used for API token auth."
|
|
1568
|
+
},
|
|
1569
|
+
apiToken: {
|
|
1570
|
+
type: "string",
|
|
1571
|
+
description: "Jira Cloud API token for the account."
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
example: {
|
|
1576
|
+
email: "user@acme.com",
|
|
1577
|
+
apiToken: "jira_api_token"
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
healthCheck: {
|
|
1581
|
+
method: "custom",
|
|
1582
|
+
timeoutMs: 4000
|
|
1583
|
+
},
|
|
1584
|
+
docsUrl: "https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/",
|
|
1585
|
+
constraints: {},
|
|
1586
|
+
byokSetup: {
|
|
1587
|
+
setupInstructions: "Create a Jira API token and store it with the associated account email."
|
|
1588
|
+
}
|
|
1589
|
+
});
|
|
1590
|
+
function registerJiraIntegration(registry) {
|
|
1591
|
+
return registry.register(jiraIntegrationSpec);
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
// src/integrations/providers/notion.ts
|
|
1595
|
+
import { StabilityEnum as StabilityEnum19 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1596
|
+
var notionIntegrationSpec = defineIntegration({
|
|
1597
|
+
meta: {
|
|
1598
|
+
key: "project-management.notion",
|
|
1599
|
+
version: "1.0.0",
|
|
1600
|
+
category: "project-management",
|
|
1601
|
+
title: "Notion",
|
|
1602
|
+
description: "Notion integration for creating shared project summaries and task entries.",
|
|
1603
|
+
domain: "productivity",
|
|
1604
|
+
owners: ["@platform.integrations"],
|
|
1605
|
+
tags: ["project-management", "notion"],
|
|
1606
|
+
stability: StabilityEnum19.Beta
|
|
1607
|
+
},
|
|
1608
|
+
supportedModes: ["managed", "byok"],
|
|
1609
|
+
capabilities: {
|
|
1610
|
+
provides: [{ key: "project-management.work-items", version: "1.0.0" }]
|
|
1611
|
+
},
|
|
1612
|
+
configSchema: {
|
|
1613
|
+
schema: {
|
|
1614
|
+
type: "object",
|
|
1615
|
+
properties: {
|
|
1616
|
+
databaseId: {
|
|
1617
|
+
type: "string",
|
|
1618
|
+
description: "Optional Notion database ID to store tasks."
|
|
1619
|
+
},
|
|
1620
|
+
summaryParentPageId: {
|
|
1621
|
+
type: "string",
|
|
1622
|
+
description: "Optional parent page ID for summary pages."
|
|
1623
|
+
},
|
|
1624
|
+
titleProperty: {
|
|
1625
|
+
type: "string",
|
|
1626
|
+
description: 'Database title property name (defaults to "Name").'
|
|
1627
|
+
},
|
|
1628
|
+
statusProperty: {
|
|
1629
|
+
type: "string",
|
|
1630
|
+
description: "Database status/select property name."
|
|
1631
|
+
},
|
|
1632
|
+
priorityProperty: {
|
|
1633
|
+
type: "string",
|
|
1634
|
+
description: "Database priority/select property name."
|
|
1635
|
+
},
|
|
1636
|
+
tagsProperty: {
|
|
1637
|
+
type: "string",
|
|
1638
|
+
description: "Database multi-select tags property name."
|
|
1639
|
+
},
|
|
1640
|
+
dueDateProperty: {
|
|
1641
|
+
type: "string",
|
|
1642
|
+
description: "Database date property name for due dates."
|
|
1643
|
+
},
|
|
1644
|
+
descriptionProperty: {
|
|
1645
|
+
type: "string",
|
|
1646
|
+
description: "Database rich-text property for descriptions."
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
example: {
|
|
1651
|
+
databaseId: "xxxxxxxxxxxxxxxx",
|
|
1652
|
+
summaryParentPageId: "yyyyyyyyyyyyyyyy",
|
|
1653
|
+
titleProperty: "Name",
|
|
1654
|
+
statusProperty: "Status"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
secretSchema: {
|
|
1658
|
+
schema: {
|
|
1659
|
+
type: "object",
|
|
1660
|
+
required: ["apiKey"],
|
|
1661
|
+
properties: {
|
|
1662
|
+
apiKey: {
|
|
1663
|
+
type: "string",
|
|
1664
|
+
description: "Notion integration secret token."
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
example: {
|
|
1669
|
+
apiKey: "secret_notion_token"
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
healthCheck: {
|
|
1673
|
+
method: "custom",
|
|
1674
|
+
timeoutMs: 4000
|
|
1675
|
+
},
|
|
1676
|
+
docsUrl: "https://developers.notion.com",
|
|
1677
|
+
constraints: {},
|
|
1678
|
+
byokSetup: {
|
|
1679
|
+
setupInstructions: "Create a Notion internal integration, share the target database/page with it, and store the secret token."
|
|
1680
|
+
}
|
|
1681
|
+
});
|
|
1682
|
+
function registerNotionIntegration(registry) {
|
|
1683
|
+
return registry.register(notionIntegrationSpec);
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
// src/integrations/providers/granola.ts
|
|
1687
|
+
import { StabilityEnum as StabilityEnum20 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1688
|
+
var granolaIntegrationSpec = defineIntegration({
|
|
1689
|
+
meta: {
|
|
1690
|
+
key: "meeting-recorder.granola",
|
|
1691
|
+
version: "1.0.0",
|
|
1692
|
+
category: "meeting-recorder",
|
|
1693
|
+
title: "Granola Meeting Notes",
|
|
1694
|
+
description: "Granola meeting notes and transcripts via Enterprise API or MCP transport.",
|
|
1695
|
+
domain: "productivity",
|
|
1696
|
+
owners: ["platform.integrations"],
|
|
1697
|
+
tags: ["meeting-recorder", "granola", "transcripts"],
|
|
1698
|
+
stability: StabilityEnum20.Experimental
|
|
1699
|
+
},
|
|
1700
|
+
supportedModes: ["byok"],
|
|
1701
|
+
capabilities: {
|
|
1702
|
+
provides: [
|
|
1703
|
+
{ key: "meeting-recorder.meetings.read", version: "1.0.0" },
|
|
1704
|
+
{ key: "meeting-recorder.transcripts.read", version: "1.0.0" }
|
|
1705
|
+
]
|
|
1706
|
+
},
|
|
1707
|
+
configSchema: {
|
|
1708
|
+
schema: {
|
|
1709
|
+
type: "object",
|
|
1710
|
+
properties: {
|
|
1711
|
+
baseUrl: {
|
|
1712
|
+
type: "string",
|
|
1713
|
+
description: "Optional override for the Granola API base URL. Defaults to https://public-api.granola.ai for API transport."
|
|
1714
|
+
},
|
|
1715
|
+
transport: {
|
|
1716
|
+
type: "string",
|
|
1717
|
+
enum: ["api", "mcp"],
|
|
1718
|
+
description: "Transport mode for Granola integration. Use api for Enterprise API or mcp for broader MCP access."
|
|
1719
|
+
},
|
|
1720
|
+
mcpUrl: {
|
|
1721
|
+
type: "string",
|
|
1722
|
+
description: "Optional override for Granola MCP URL. Defaults to https://mcp.granola.ai/mcp."
|
|
1723
|
+
},
|
|
1724
|
+
mcpHeaders: {
|
|
1725
|
+
type: "object",
|
|
1726
|
+
additionalProperties: { type: "string" },
|
|
1727
|
+
description: "Optional static headers for MCP gateway/proxy setups."
|
|
1728
|
+
},
|
|
1729
|
+
pageSize: {
|
|
1730
|
+
type: "number",
|
|
1731
|
+
description: "Page size for listing notes (maximum 30 per Granola API)."
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
example: {
|
|
1736
|
+
transport: "mcp",
|
|
1737
|
+
mcpUrl: "https://mcp.granola.ai/mcp",
|
|
1738
|
+
pageSize: 10
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
secretSchema: {
|
|
1742
|
+
schema: {
|
|
1743
|
+
type: "object",
|
|
1744
|
+
properties: {
|
|
1745
|
+
apiKey: {
|
|
1746
|
+
type: "string",
|
|
1747
|
+
description: "Granola API key used as a Bearer token for Enterprise API requests (transport=api)."
|
|
1748
|
+
},
|
|
1749
|
+
mcpAccessToken: {
|
|
1750
|
+
type: "string",
|
|
1751
|
+
description: "Optional bearer token for MCP proxy/gateway auth (transport=mcp)."
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
},
|
|
1755
|
+
example: {
|
|
1756
|
+
mcpAccessToken: "granola-mcp-***"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
healthCheck: {
|
|
1760
|
+
method: "list",
|
|
1761
|
+
timeoutMs: 8000
|
|
1762
|
+
},
|
|
1763
|
+
docsUrl: "https://docs.granola.ai/help-center/sharing/integrations/mcp",
|
|
1764
|
+
byokSetup: {
|
|
1765
|
+
setupInstructions: "Use Granola MCP for browser OAuth access, or configure an Enterprise API key for REST transport."
|
|
1766
|
+
}
|
|
1767
|
+
});
|
|
1768
|
+
function registerGranolaIntegration(registry) {
|
|
1769
|
+
return registry.register(granolaIntegrationSpec);
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
// src/integrations/providers/tldv.ts
|
|
1773
|
+
import { StabilityEnum as StabilityEnum21 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1774
|
+
var tldvIntegrationSpec = defineIntegration({
|
|
1775
|
+
meta: {
|
|
1776
|
+
key: "meeting-recorder.tldv",
|
|
1777
|
+
version: "1.0.0",
|
|
1778
|
+
category: "meeting-recorder",
|
|
1779
|
+
title: "tl;dv Meeting Recorder",
|
|
1780
|
+
description: "tl;dv Public API for meeting recordings, transcripts, and webhook events.",
|
|
1781
|
+
domain: "productivity",
|
|
1782
|
+
owners: ["platform.integrations"],
|
|
1783
|
+
tags: ["meeting-recorder", "tldv", "transcripts"],
|
|
1784
|
+
stability: StabilityEnum21.Experimental
|
|
1785
|
+
},
|
|
1786
|
+
supportedModes: ["byok"],
|
|
1787
|
+
capabilities: {
|
|
1788
|
+
provides: [
|
|
1789
|
+
{ key: "meeting-recorder.meetings.read", version: "1.0.0" },
|
|
1790
|
+
{ key: "meeting-recorder.transcripts.read", version: "1.0.0" },
|
|
1791
|
+
{ key: "meeting-recorder.webhooks", version: "1.0.0" }
|
|
1792
|
+
]
|
|
1793
|
+
},
|
|
1794
|
+
configSchema: {
|
|
1795
|
+
schema: {
|
|
1796
|
+
type: "object",
|
|
1797
|
+
properties: {
|
|
1798
|
+
baseUrl: {
|
|
1799
|
+
type: "string",
|
|
1800
|
+
description: "Optional override for the tl;dv API base URL. Defaults to https://pasta.tldv.io/v1alpha1."
|
|
1801
|
+
},
|
|
1802
|
+
webhookUrl: {
|
|
1803
|
+
type: "string",
|
|
1804
|
+
description: "Webhook destination URL configured in tl;dv settings (MeetingReady/TranscriptReady)."
|
|
1805
|
+
},
|
|
1806
|
+
webhookEvents: {
|
|
1807
|
+
type: "array",
|
|
1808
|
+
items: { type: "string" },
|
|
1809
|
+
description: "Webhook triggers to enable (MeetingReady, TranscriptReady)."
|
|
1810
|
+
},
|
|
1811
|
+
webhookScope: {
|
|
1812
|
+
type: "string",
|
|
1813
|
+
description: "Webhook scope to configure (user, team, or organization)."
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
example: {
|
|
1818
|
+
baseUrl: "https://pasta.tldv.io/v1alpha1",
|
|
1819
|
+
webhookUrl: "https://example.com/webhooks/tldv",
|
|
1820
|
+
webhookEvents: ["MeetingReady", "TranscriptReady"],
|
|
1821
|
+
webhookScope: "team"
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
secretSchema: {
|
|
1825
|
+
schema: {
|
|
1826
|
+
type: "object",
|
|
1827
|
+
required: ["apiKey"],
|
|
1828
|
+
properties: {
|
|
1829
|
+
apiKey: {
|
|
1830
|
+
type: "string",
|
|
1831
|
+
description: "tl;dv API key used in the x-api-key header for API requests."
|
|
1832
|
+
},
|
|
1833
|
+
webhookSecret: {
|
|
1834
|
+
type: "string",
|
|
1835
|
+
description: "Optional shared secret for webhook verification if configured in your environment."
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
example: {
|
|
1840
|
+
apiKey: "tldv-***",
|
|
1841
|
+
webhookSecret: "tldv-webhook-secret"
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
healthCheck: {
|
|
1845
|
+
method: "ping",
|
|
1846
|
+
timeoutMs: 6000
|
|
1847
|
+
},
|
|
1848
|
+
docsUrl: "https://doc.tldv.io/index.html",
|
|
1849
|
+
byokSetup: {
|
|
1850
|
+
setupInstructions: "Generate a tl;dv API key and optionally configure MeetingReady/TranscriptReady webhooks."
|
|
1851
|
+
}
|
|
1852
|
+
});
|
|
1853
|
+
function registerTldvIntegration(registry) {
|
|
1854
|
+
return registry.register(tldvIntegrationSpec);
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
// src/integrations/providers/fireflies.ts
|
|
1858
|
+
import { StabilityEnum as StabilityEnum22 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1859
|
+
var firefliesIntegrationSpec = defineIntegration({
|
|
1860
|
+
meta: {
|
|
1861
|
+
key: "meeting-recorder.fireflies",
|
|
1862
|
+
version: "1.0.0",
|
|
1863
|
+
category: "meeting-recorder",
|
|
1864
|
+
title: "Fireflies.ai Meeting Recorder",
|
|
1865
|
+
description: "Fireflies GraphQL API for meeting transcripts, metadata, and webhook events.",
|
|
1866
|
+
domain: "productivity",
|
|
1867
|
+
owners: ["platform.integrations"],
|
|
1868
|
+
tags: ["meeting-recorder", "fireflies", "transcripts"],
|
|
1869
|
+
stability: StabilityEnum22.Experimental
|
|
1870
|
+
},
|
|
1871
|
+
supportedModes: ["byok"],
|
|
1872
|
+
capabilities: {
|
|
1873
|
+
provides: [
|
|
1874
|
+
{ key: "meeting-recorder.meetings.read", version: "1.0.0" },
|
|
1875
|
+
{ key: "meeting-recorder.transcripts.read", version: "1.0.0" },
|
|
1876
|
+
{ key: "meeting-recorder.webhooks", version: "1.0.0" }
|
|
1877
|
+
]
|
|
1878
|
+
},
|
|
1879
|
+
configSchema: {
|
|
1880
|
+
schema: {
|
|
1881
|
+
type: "object",
|
|
1882
|
+
properties: {
|
|
1883
|
+
baseUrl: {
|
|
1884
|
+
type: "string",
|
|
1885
|
+
description: "Optional override for the Fireflies GraphQL endpoint. Defaults to https://api.fireflies.ai/graphql."
|
|
1886
|
+
},
|
|
1887
|
+
webhookUrl: {
|
|
1888
|
+
type: "string",
|
|
1889
|
+
description: "Webhook destination URL configured in Fireflies developer settings."
|
|
1890
|
+
},
|
|
1891
|
+
webhookEvents: {
|
|
1892
|
+
type: "array",
|
|
1893
|
+
items: { type: "string" },
|
|
1894
|
+
description: "Webhook events to subscribe to (e.g., Transcription completed)."
|
|
1895
|
+
},
|
|
1896
|
+
transcriptsPageSize: {
|
|
1897
|
+
type: "number",
|
|
1898
|
+
description: "Number of transcripts to request per GraphQL query."
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
example: {
|
|
1903
|
+
baseUrl: "https://api.fireflies.ai/graphql",
|
|
1904
|
+
webhookUrl: "https://example.com/webhooks/fireflies",
|
|
1905
|
+
webhookEvents: ["Transcription completed"],
|
|
1906
|
+
transcriptsPageSize: 25
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
secretSchema: {
|
|
1910
|
+
schema: {
|
|
1911
|
+
type: "object",
|
|
1912
|
+
required: ["apiKey"],
|
|
1913
|
+
properties: {
|
|
1914
|
+
apiKey: {
|
|
1915
|
+
type: "string",
|
|
1916
|
+
description: "Fireflies API key for GraphQL requests."
|
|
1917
|
+
},
|
|
1918
|
+
webhookSecret: {
|
|
1919
|
+
type: "string",
|
|
1920
|
+
description: "Optional webhook secret used to verify x-hub-signature HMAC payloads."
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
example: {
|
|
1925
|
+
apiKey: "fireflies-***",
|
|
1926
|
+
webhookSecret: "fireflies-webhook-secret"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
healthCheck: {
|
|
1930
|
+
method: "custom",
|
|
1931
|
+
timeoutMs: 6000
|
|
1932
|
+
},
|
|
1933
|
+
docsUrl: "https://docs.fireflies.ai/getting-started/introduction",
|
|
1934
|
+
byokSetup: {
|
|
1935
|
+
setupInstructions: "Create a Fireflies API key and optionally configure webhook settings in Developer Settings."
|
|
1936
|
+
}
|
|
1937
|
+
});
|
|
1938
|
+
function registerFirefliesIntegration(registry) {
|
|
1939
|
+
return registry.register(firefliesIntegrationSpec);
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
// src/integrations/providers/fathom.ts
|
|
1943
|
+
import { StabilityEnum as StabilityEnum23 } from "@contractspec/lib.contracts-spec/ownership";
|
|
1944
|
+
var fathomIntegrationSpec = defineIntegration({
|
|
1945
|
+
meta: {
|
|
1946
|
+
key: "meeting-recorder.fathom",
|
|
1947
|
+
version: "1.0.0",
|
|
1948
|
+
category: "meeting-recorder",
|
|
1949
|
+
title: "Fathom Meeting Recorder",
|
|
1950
|
+
description: "Fathom External API for meetings, transcripts, and webhook events.",
|
|
1951
|
+
domain: "productivity",
|
|
1952
|
+
owners: ["platform.integrations"],
|
|
1953
|
+
tags: ["meeting-recorder", "fathom", "transcripts"],
|
|
1954
|
+
stability: StabilityEnum23.Experimental
|
|
1955
|
+
},
|
|
1956
|
+
supportedModes: ["byok"],
|
|
1957
|
+
capabilities: {
|
|
1958
|
+
provides: [
|
|
1959
|
+
{ key: "meeting-recorder.meetings.read", version: "1.0.0" },
|
|
1960
|
+
{ key: "meeting-recorder.transcripts.read", version: "1.0.0" },
|
|
1961
|
+
{ key: "meeting-recorder.webhooks", version: "1.0.0" }
|
|
1962
|
+
]
|
|
1963
|
+
},
|
|
1964
|
+
configSchema: {
|
|
1965
|
+
schema: {
|
|
1966
|
+
type: "object",
|
|
1967
|
+
properties: {
|
|
1968
|
+
baseUrl: {
|
|
1969
|
+
type: "string",
|
|
1970
|
+
description: "Optional override for the Fathom API base URL. Defaults to https://api.fathom.ai/external/v1."
|
|
1971
|
+
},
|
|
1972
|
+
webhookUrl: {
|
|
1973
|
+
type: "string",
|
|
1974
|
+
description: "Webhook destination URL used when registering Fathom webhooks."
|
|
1975
|
+
},
|
|
1976
|
+
includeTranscript: {
|
|
1977
|
+
type: "boolean",
|
|
1978
|
+
description: "Include transcript data in Fathom webhook payloads."
|
|
1979
|
+
},
|
|
1980
|
+
includeSummary: {
|
|
1981
|
+
type: "boolean",
|
|
1982
|
+
description: "Include summary data in Fathom webhook payloads."
|
|
1983
|
+
},
|
|
1984
|
+
includeActionItems: {
|
|
1985
|
+
type: "boolean",
|
|
1986
|
+
description: "Include action items in Fathom webhook payloads."
|
|
1987
|
+
},
|
|
1988
|
+
includeCrmMatches: {
|
|
1989
|
+
type: "boolean",
|
|
1990
|
+
description: "Include CRM matches in Fathom webhook payloads."
|
|
1991
|
+
},
|
|
1992
|
+
triggeredFor: {
|
|
1993
|
+
type: "array",
|
|
1994
|
+
items: { type: "string" },
|
|
1995
|
+
description: "Recording scopes to trigger webhooks for (e.g., my_recordings)."
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
example: {
|
|
2000
|
+
baseUrl: "https://api.fathom.ai/external/v1",
|
|
2001
|
+
webhookUrl: "https://example.com/webhooks/fathom",
|
|
2002
|
+
includeTranscript: true,
|
|
2003
|
+
includeSummary: true,
|
|
2004
|
+
includeActionItems: false,
|
|
2005
|
+
includeCrmMatches: false,
|
|
2006
|
+
triggeredFor: ["my_recordings"]
|
|
2007
|
+
}
|
|
2008
|
+
},
|
|
2009
|
+
secretSchema: {
|
|
2010
|
+
schema: {
|
|
2011
|
+
type: "object",
|
|
2012
|
+
required: ["apiKey"],
|
|
2013
|
+
properties: {
|
|
2014
|
+
apiKey: {
|
|
2015
|
+
type: "string",
|
|
2016
|
+
description: "Fathom API key used in the X-Api-Key header."
|
|
2017
|
+
},
|
|
2018
|
+
webhookSecret: {
|
|
2019
|
+
type: "string",
|
|
2020
|
+
description: "Optional webhook secret used to verify Fathom webhook signatures."
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
example: {
|
|
2025
|
+
apiKey: "fathom-***",
|
|
2026
|
+
webhookSecret: "whsec_***"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
healthCheck: {
|
|
2030
|
+
method: "list",
|
|
2031
|
+
timeoutMs: 8000
|
|
2032
|
+
},
|
|
2033
|
+
docsUrl: "https://developers.fathom.ai/",
|
|
2034
|
+
constraints: {
|
|
2035
|
+
rateLimit: {
|
|
2036
|
+
rpm: 60
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
byokSetup: {
|
|
2040
|
+
setupInstructions: "Generate an API key in Fathom settings and optionally configure webhooks for meeting content readiness."
|
|
2041
|
+
}
|
|
2042
|
+
});
|
|
2043
|
+
function registerFathomIntegration(registry) {
|
|
2044
|
+
return registry.register(fathomIntegrationSpec);
|
|
2045
|
+
}
|
|
2046
|
+
// src/integrations/providers/registry.ts
|
|
2047
|
+
function createDefaultIntegrationSpecRegistry() {
|
|
2048
|
+
const registry = new IntegrationSpecRegistry;
|
|
2049
|
+
registerStripeIntegration(registry);
|
|
2050
|
+
registerPostmarkIntegration(registry);
|
|
2051
|
+
registerQdrantIntegration(registry);
|
|
2052
|
+
registerSupabaseVectorIntegration(registry);
|
|
2053
|
+
registerSupabasePostgresIntegration(registry);
|
|
2054
|
+
registerMistralIntegration(registry);
|
|
2055
|
+
registerElevenLabsIntegration(registry);
|
|
2056
|
+
registerGradiumIntegration(registry);
|
|
2057
|
+
registerFalIntegration(registry);
|
|
2058
|
+
registerGmailIntegration(registry);
|
|
2059
|
+
registerGoogleCalendarIntegration(registry);
|
|
2060
|
+
registerPosthogIntegration(registry);
|
|
2061
|
+
registerTwilioSmsIntegration(registry);
|
|
2062
|
+
registerGcsStorageIntegration(registry);
|
|
2063
|
+
registerPowensIntegration(registry);
|
|
2064
|
+
registerLinearIntegration(registry);
|
|
2065
|
+
registerJiraIntegration(registry);
|
|
2066
|
+
registerNotionIntegration(registry);
|
|
2067
|
+
registerGranolaIntegration(registry);
|
|
2068
|
+
registerTldvIntegration(registry);
|
|
2069
|
+
registerFirefliesIntegration(registry);
|
|
2070
|
+
registerFathomIntegration(registry);
|
|
2071
|
+
return registry;
|
|
2072
|
+
}
|
|
2073
|
+
export {
|
|
2074
|
+
twilioSmsIntegrationSpec,
|
|
2075
|
+
tldvIntegrationSpec,
|
|
2076
|
+
supabaseVectorIntegrationSpec,
|
|
2077
|
+
supabasePostgresIntegrationSpec,
|
|
2078
|
+
stripeIntegrationSpec,
|
|
2079
|
+
registerTwilioSmsIntegration,
|
|
2080
|
+
registerTldvIntegration,
|
|
2081
|
+
registerSupabaseVectorIntegration,
|
|
2082
|
+
registerSupabasePostgresIntegration,
|
|
2083
|
+
registerStripeIntegration,
|
|
2084
|
+
registerQdrantIntegration,
|
|
2085
|
+
registerPowensIntegration,
|
|
2086
|
+
registerPostmarkIntegration,
|
|
2087
|
+
registerPosthogIntegration,
|
|
2088
|
+
registerNotionIntegration,
|
|
2089
|
+
registerMistralIntegration,
|
|
2090
|
+
registerLinearIntegration,
|
|
2091
|
+
registerJiraIntegration,
|
|
2092
|
+
registerGranolaIntegration,
|
|
2093
|
+
registerGradiumIntegration,
|
|
2094
|
+
registerGoogleCalendarIntegration,
|
|
2095
|
+
registerGmailIntegration,
|
|
2096
|
+
registerGcsStorageIntegration,
|
|
2097
|
+
registerFirefliesIntegration,
|
|
2098
|
+
registerFathomIntegration,
|
|
2099
|
+
registerFalIntegration,
|
|
2100
|
+
registerElevenLabsIntegration,
|
|
2101
|
+
redactPostHogLLMTelemetryPayload,
|
|
2102
|
+
qdrantIntegrationSpec,
|
|
2103
|
+
powensIntegrationSpec,
|
|
2104
|
+
postmarkIntegrationSpec,
|
|
2105
|
+
posthogLLMTelemetrySpec,
|
|
2106
|
+
posthogIntegrationSpec,
|
|
2107
|
+
notionIntegrationSpec,
|
|
2108
|
+
mistralIntegrationSpec,
|
|
2109
|
+
linearIntegrationSpec,
|
|
2110
|
+
jiraIntegrationSpec,
|
|
2111
|
+
granolaIntegrationSpec,
|
|
2112
|
+
gradiumIntegrationSpec,
|
|
2113
|
+
googleCalendarIntegrationSpec,
|
|
2114
|
+
gmailIntegrationSpec,
|
|
2115
|
+
gcsStorageIntegrationSpec,
|
|
2116
|
+
firefliesIntegrationSpec,
|
|
2117
|
+
fathomIntegrationSpec,
|
|
2118
|
+
falIntegrationSpec,
|
|
2119
|
+
elevenLabsIntegrationSpec,
|
|
2120
|
+
createDefaultIntegrationSpecRegistry,
|
|
2121
|
+
POSTHOG_LLM_TELEMETRY_EVENTS,
|
|
2122
|
+
POSTHOG_LLM_PII_FIELDS,
|
|
2123
|
+
POSTHOG_EVALUATION_TEMPLATES
|
|
2124
|
+
};
|