@contractspec/lib.contracts 1.56.1 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-config/app-config.capability.d.ts +2 -7
- package/dist/app-config/app-config.capability.d.ts.map +1 -0
- package/dist/app-config/app-config.capability.js +729 -22
- package/dist/app-config/app-config.contracts.d.ts +226 -231
- package/dist/app-config/app-config.contracts.d.ts.map +1 -0
- package/dist/app-config/app-config.contracts.js +908 -376
- package/dist/app-config/app-config.contracts.test.d.ts +2 -0
- package/dist/app-config/app-config.contracts.test.d.ts.map +1 -0
- package/dist/app-config/app-config.feature.d.ts +2 -7
- package/dist/app-config/app-config.feature.d.ts.map +1 -0
- package/dist/app-config/app-config.feature.js +252 -58
- package/dist/app-config/branding.d.ts +47 -49
- package/dist/app-config/branding.d.ts.map +1 -0
- package/dist/app-config/branding.js +1 -0
- package/dist/app-config/branding.test.d.ts +2 -0
- package/dist/app-config/branding.test.d.ts.map +1 -0
- package/dist/app-config/docs/app-config.docblock.d.ts +3 -6
- package/dist/app-config/docs/app-config.docblock.d.ts.map +1 -0
- package/dist/app-config/docs/app-config.docblock.js +382 -20
- package/dist/app-config/events.d.ts +112 -118
- package/dist/app-config/events.d.ts.map +1 -0
- package/dist/app-config/events.js +380 -168
- package/dist/app-config/events.test.d.ts +2 -0
- package/dist/app-config/events.test.d.ts.map +1 -0
- package/dist/app-config/index.d.ts +10 -10
- package/dist/app-config/index.d.ts.map +1 -0
- package/dist/app-config/index.js +3113 -9
- package/dist/app-config/lifecycle-contracts.d.ts +249 -256
- package/dist/app-config/lifecycle-contracts.d.ts.map +1 -0
- package/dist/app-config/lifecycle-contracts.js +1078 -434
- package/dist/app-config/lifecycle-contracts.test.d.ts +2 -0
- package/dist/app-config/lifecycle-contracts.test.d.ts.map +1 -0
- package/dist/app-config/lifecycle.d.ts +21 -24
- package/dist/app-config/lifecycle.d.ts.map +1 -0
- package/dist/app-config/lifecycle.js +1 -0
- package/dist/app-config/lifecycle.test.d.ts +2 -0
- package/dist/app-config/lifecycle.test.d.ts.map +1 -0
- package/dist/app-config/runtime.d.ts +103 -111
- package/dist/app-config/runtime.d.ts.map +1 -0
- package/dist/app-config/runtime.js +672 -555
- package/dist/app-config/runtime.test.d.ts +2 -0
- package/dist/app-config/runtime.test.d.ts.map +1 -0
- package/dist/app-config/spec.d.ts +153 -158
- package/dist/app-config/spec.d.ts.map +1 -0
- package/dist/app-config/spec.js +226 -16
- package/dist/app-config/spec.test.d.ts +2 -0
- package/dist/app-config/spec.test.d.ts.map +1 -0
- package/dist/app-config/validation.d.ts +41 -46
- package/dist/app-config/validation.d.ts.map +1 -0
- package/dist/app-config/validation.js +607 -495
- package/dist/app-config/validation.test.d.ts +2 -0
- package/dist/app-config/validation.test.d.ts.map +1 -0
- package/dist/capabilities/capabilities.d.ts +77 -80
- package/dist/capabilities/capabilities.d.ts.map +1 -0
- package/dist/capabilities/capabilities.js +209 -165
- package/dist/capabilities/capabilities.test.d.ts +2 -0
- package/dist/capabilities/capabilities.test.d.ts.map +1 -0
- package/dist/capabilities/context.d.ts +73 -50
- package/dist/capabilities/context.d.ts.map +1 -0
- package/dist/capabilities/context.js +93 -79
- package/dist/capabilities/context.test.d.ts +2 -0
- package/dist/capabilities/context.test.d.ts.map +1 -0
- package/dist/capabilities/docs/capabilities.docblock.d.ts +3 -6
- package/dist/capabilities/docs/capabilities.docblock.d.ts.map +1 -0
- package/dist/capabilities/docs/capabilities.docblock.js +165 -22
- package/dist/capabilities/guards.d.ts +40 -28
- package/dist/capabilities/guards.d.ts.map +1 -0
- package/dist/capabilities/guards.js +158 -127
- package/dist/capabilities/index.d.ts +7 -6
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/index.js +738 -6
- package/dist/capabilities/meeting-recorder.d.ts +6 -0
- package/dist/capabilities/meeting-recorder.d.ts.map +1 -0
- package/dist/capabilities/meeting-recorder.js +154 -0
- package/dist/capabilities/openbanking.d.ts +6 -10
- package/dist/capabilities/openbanking.d.ts.map +1 -0
- package/dist/capabilities/openbanking.js +160 -86
- package/dist/capabilities/validation.d.ts +42 -38
- package/dist/capabilities/validation.d.ts.map +1 -0
- package/dist/capabilities/validation.js +179 -135
- package/dist/capabilities/validation.test.d.ts +2 -0
- package/dist/capabilities/validation.test.d.ts.map +1 -0
- package/dist/client/index.d.ts +2 -6
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +1377 -7
- package/dist/client/react/drivers/rn-reusables.d.ts +8 -8
- package/dist/client/react/drivers/rn-reusables.d.ts.map +1 -0
- package/dist/client/react/drivers/rn-reusables.js +36 -19
- package/dist/client/react/drivers/shadcn.d.ts +4 -8
- package/dist/client/react/drivers/shadcn.d.ts.map +1 -0
- package/dist/client/react/drivers/shadcn.js +36 -9
- package/dist/client/react/feature-render.d.ts +14 -21
- package/dist/client/react/feature-render.d.ts.map +1 -0
- package/dist/client/react/feature-render.js +824 -35
- package/dist/client/react/form-render.d.ts +83 -88
- package/dist/client/react/form-render.d.ts.map +1 -0
- package/dist/client/react/form-render.js +667 -287
- package/dist/client/react/index.d.ts +5 -5
- package/dist/client/react/index.d.ts.map +1 -0
- package/dist/client/react/index.js +1374 -6
- package/dist/contract-registry/index.d.ts +4 -3
- package/dist/contract-registry/index.d.ts.map +1 -0
- package/dist/contract-registry/index.js +128 -2
- package/dist/contract-registry/schemas.d.ts +88 -91
- package/dist/contract-registry/schemas.d.ts.map +1 -0
- package/dist/contract-registry/schemas.js +124 -56
- package/dist/contract-registry/schemas.test.d.ts +2 -0
- package/dist/contract-registry/schemas.test.d.ts.map +1 -0
- package/dist/contract-registry/types.d.ts +40 -43
- package/dist/contract-registry/types.d.ts.map +1 -0
- package/dist/contract-registry/types.js +1 -0
- package/dist/data-views/data-views.d.ts +5 -6
- package/dist/data-views/data-views.d.ts.map +1 -0
- package/dist/data-views/data-views.js +231 -4
- package/dist/data-views/data-views.test.d.ts +2 -0
- package/dist/data-views/data-views.test.d.ts.map +1 -0
- package/dist/data-views/docs/data-views.docblock.d.ts +3 -6
- package/dist/data-views/docs/data-views.docblock.d.ts.map +1 -0
- package/dist/data-views/docs/data-views.docblock.js +162 -19
- package/dist/data-views/index.d.ts +5 -5
- package/dist/data-views/index.d.ts.map +1 -0
- package/dist/data-views/index.js +231 -3
- package/dist/data-views/query-generator.d.ts +32 -36
- package/dist/data-views/query-generator.d.ts.map +1 -0
- package/dist/data-views/query-generator.js +87 -46
- package/dist/data-views/registry.d.ts +6 -10
- package/dist/data-views/registry.d.ts.map +1 -0
- package/dist/data-views/registry.js +223 -17
- package/dist/data-views/registry.test.d.ts +2 -0
- package/dist/data-views/registry.test.d.ts.map +1 -0
- package/dist/data-views/report/contractVerificationTable.d.ts +2 -7
- package/dist/data-views/report/contractVerificationTable.d.ts.map +1 -0
- package/dist/data-views/report/contractVerificationTable.js +237 -92
- package/dist/data-views/report/contractVerificationTable.test.d.ts +2 -0
- package/dist/data-views/report/contractVerificationTable.test.d.ts.map +1 -0
- package/dist/data-views/runtime.d.ts +23 -29
- package/dist/data-views/runtime.d.ts.map +1 -0
- package/dist/data-views/runtime.js +104 -64
- package/dist/data-views/runtime.test.d.ts +2 -0
- package/dist/data-views/runtime.test.d.ts.map +1 -0
- package/dist/data-views/spec.d.ts +16 -19
- package/dist/data-views/spec.d.ts.map +1 -0
- package/dist/data-views/spec.js +36 -8
- package/dist/data-views/spec.test.d.ts +2 -0
- package/dist/data-views/spec.test.d.ts.map +1 -0
- package/dist/data-views/types.d.ts +91 -95
- package/dist/data-views/types.d.ts.map +1 -0
- package/dist/data-views/types.js +1 -0
- package/dist/data-views/types.test.d.ts +2 -0
- package/dist/data-views/types.test.d.ts.map +1 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +3 -6
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts.map +1 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +512 -16
- package/dist/docs/capabilities/documentationSystem.capability.d.ts +2 -7
- package/dist/docs/capabilities/documentationSystem.capability.d.ts.map +1 -0
- package/dist/docs/capabilities/documentationSystem.capability.js +782 -69
- package/dist/docs/capabilities/index.d.ts +2 -2
- package/dist/docs/capabilities/index.d.ts.map +1 -0
- package/dist/docs/capabilities/index.js +783 -2
- package/dist/docs/commands/docsGenerate.command.d.ts +82 -88
- package/dist/docs/commands/docsGenerate.command.d.ts.map +1 -0
- package/dist/docs/commands/docsGenerate.command.js +1011 -137
- package/dist/docs/commands/docsPublish.command.d.ts +55 -61
- package/dist/docs/commands/docsPublish.command.d.ts.map +1 -0
- package/dist/docs/commands/docsPublish.command.js +991 -103
- package/dist/docs/commands/index.d.ts +3 -3
- package/dist/docs/commands/index.d.ts.map +1 -0
- package/dist/docs/commands/index.js +1119 -3
- package/dist/docs/constants.d.ts +5 -7
- package/dist/docs/constants.d.ts.map +1 -0
- package/dist/docs/constants.js +76 -8
- package/dist/docs/contracts.d.ts +411 -422
- package/dist/docs/contracts.d.ts.map +1 -0
- package/dist/docs/contracts.js +2383 -58
- package/dist/docs/ensure-docblocks.d.ts +2 -1
- package/dist/docs/ensure-docblocks.d.ts.map +1 -0
- package/dist/docs/ensure-docblocks.js +264 -1
- package/dist/docs/events/docsGenerated.event.d.ts +55 -60
- package/dist/docs/events/docsGenerated.event.d.ts.map +1 -0
- package/dist/docs/events/docsGenerated.event.js +530 -50
- package/dist/docs/events/docsPublished.event.d.ts +63 -68
- package/dist/docs/events/docsPublished.event.d.ts.map +1 -0
- package/dist/docs/events/docsPublished.event.js +531 -54
- package/dist/docs/events/index.d.ts +3 -3
- package/dist/docs/events/index.d.ts.map +1 -0
- package/dist/docs/events/index.js +566 -3
- package/dist/docs/forms/docsSearch.form.d.ts +16 -21
- package/dist/docs/forms/docsSearch.form.d.ts.map +1 -0
- package/dist/docs/forms/docsSearch.form.js +673 -110
- package/dist/docs/forms/index.d.ts +2 -2
- package/dist/docs/forms/index.d.ts.map +1 -0
- package/dist/docs/forms/index.js +675 -2
- package/dist/docs/index.d.ts +41 -28
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +5491 -54
- package/dist/docs/meta.docs.d.ts +3 -6
- package/dist/docs/meta.docs.d.ts.map +1 -0
- package/dist/docs/meta.docs.js +162 -15
- package/dist/docs/presentations/docsLayout.presentation.d.ts +3 -7
- package/dist/docs/presentations/docsLayout.presentation.d.ts.map +1 -0
- package/dist/docs/presentations/docsLayout.presentation.js +1088 -33
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts +3 -7
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts.map +1 -0
- package/dist/docs/presentations/docsReferencePage.presentation.js +1088 -33
- package/dist/docs/presentations/index.d.ts +3 -3
- package/dist/docs/presentations/index.d.ts.map +1 -0
- package/dist/docs/presentations/index.js +1117 -3
- package/dist/docs/presentations.d.ts +26 -29
- package/dist/docs/presentations.d.ts.map +1 -0
- package/dist/docs/presentations.js +83 -43
- package/dist/docs/presentations.test.d.ts +2 -0
- package/dist/docs/presentations.test.d.ts.map +1 -0
- package/dist/docs/queries/contractReference.query.d.ts +190 -195
- package/dist/docs/queries/contractReference.query.d.ts.map +1 -0
- package/dist/docs/queries/contractReference.query.js +961 -120
- package/dist/docs/queries/docsIndex.query.d.ts +238 -243
- package/dist/docs/queries/docsIndex.query.d.ts.map +1 -0
- package/dist/docs/queries/docsIndex.query.js +961 -128
- package/dist/docs/queries/index.d.ts +3 -3
- package/dist/docs/queries/index.d.ts.map +1 -0
- package/dist/docs/queries/index.js +1040 -3
- package/dist/docs/registry.d.ts +18 -21
- package/dist/docs/registry.d.ts.map +1 -0
- package/dist/docs/registry.js +145 -43
- package/dist/docs/registry.test.d.ts +2 -0
- package/dist/docs/registry.test.d.ts.map +1 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +3 -6
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts.map +1 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +164 -24
- package/dist/docs/tech/cli.docblock.d.ts +3 -6
- package/dist/docs/tech/cli.docblock.d.ts.map +1 -0
- package/dist/docs/tech/cli.docblock.js +164 -21
- package/dist/docs/tech/contracts/README.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/README.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/README.docblock.js +162 -19
- package/dist/docs/tech/contracts/migrations.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/migrations.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/migrations.docblock.js +162 -19
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.js +165 -22
- package/dist/docs/tech/contracts/openapi-import.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/openapi-import.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/openapi-import.docblock.js +163 -21
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +224 -20
- package/dist/docs/tech/contracts/overlays.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/overlays.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/overlays.docblock.js +230 -20
- package/dist/docs/tech/contracts/tests.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/tests.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/tests.docblock.js +162 -19
- package/dist/docs/tech/contracts/themes.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/themes.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/themes.docblock.js +256 -20
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +3 -6
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts.map +1 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +163 -20
- package/dist/docs/tech/docs-system.docblock.d.ts +2 -1
- package/dist/docs/tech/docs-system.docblock.d.ts.map +1 -0
- package/dist/docs/tech/docs-system.docblock.js +211 -75
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +3 -6
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts.map +1 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +375 -16
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +8 -7
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts.map +1 -0
- package/dist/docs/tech/llm/llm-integration.docblock.js +193 -69
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts +3 -6
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts.map +1 -0
- package/dist/docs/tech/mcp-endpoints.docblock.js +170 -23
- package/dist/docs/tech/presentation-runtime.docblock.d.ts +3 -6
- package/dist/docs/tech/presentation-runtime.docblock.d.ts.map +1 -0
- package/dist/docs/tech/presentation-runtime.docblock.js +220 -16
- package/dist/docs/tech/report-verification-table.docblock.d.ts +2 -1
- package/dist/docs/tech/report-verification-table.docblock.d.ts.map +1 -0
- package/dist/docs/tech/report-verification-table.docblock.js +163 -22
- package/dist/docs/tech/report-verification-table.test.d.ts +2 -0
- package/dist/docs/tech/report-verification-table.test.d.ts.map +1 -0
- package/dist/docs/tech/schema/README.docblock.d.ts +3 -6
- package/dist/docs/tech/schema/README.docblock.d.ts.map +1 -0
- package/dist/docs/tech/schema/README.docblock.js +162 -19
- package/dist/docs/tech/studio/learning-events.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/learning-events.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/learning-events.docblock.js +168 -27
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.js +178 -31
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +163 -22
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.js +176 -24
- package/dist/docs/tech/studio/project-routing.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/project-routing.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/project-routing.docblock.js +173 -32
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +163 -21
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/team-invitations.docblock.js +198 -40
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.js +163 -22
- package/dist/docs/tech/studio/workspaces.docblock.d.ts +3 -6
- package/dist/docs/tech/studio/workspaces.docblock.d.ts.map +1 -0
- package/dist/docs/tech/studio/workspaces.docblock.js +164 -23
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts +3 -6
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts.map +1 -0
- package/dist/docs/tech/telemetry-ingest.docblock.js +177 -38
- package/dist/docs/tech/vscode-extension.docblock.d.ts +3 -6
- package/dist/docs/tech/vscode-extension.docblock.d.ts.map +1 -0
- package/dist/docs/tech/vscode-extension.docblock.js +175 -36
- package/dist/docs/tech-contracts.docs.d.ts +3 -6
- package/dist/docs/tech-contracts.docs.d.ts.map +1 -0
- package/dist/docs/tech-contracts.docs.js +166 -23
- package/dist/docs/types.d.ts +36 -39
- package/dist/docs/types.d.ts.map +1 -0
- package/dist/docs/types.js +1 -0
- package/dist/docs/views/contractReference.dataView.d.ts +3 -7
- package/dist/docs/views/contractReference.dataView.d.ts.map +1 -0
- package/dist/docs/views/contractReference.dataView.js +1045 -79
- package/dist/docs/views/docsIndex.dataView.d.ts +3 -7
- package/dist/docs/views/docsIndex.dataView.d.ts.map +1 -0
- package/dist/docs/views/docsIndex.dataView.js +1039 -134
- package/dist/docs/views/exampleCatalog.dataView.d.ts +3 -7
- package/dist/docs/views/exampleCatalog.dataView.d.ts.map +1 -0
- package/dist/docs/views/exampleCatalog.dataView.js +1023 -89
- package/dist/docs/views/index.d.ts +4 -4
- package/dist/docs/views/index.d.ts.map +1 -0
- package/dist/docs/views/index.js +1239 -4
- package/dist/events.d.ts +77 -47
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +225 -46
- package/dist/events.test.d.ts +2 -0
- package/dist/events.test.d.ts.map +1 -0
- package/dist/examples/docs/examples.docblock.d.ts +3 -6
- package/dist/examples/docs/examples.docblock.d.ts.map +1 -0
- package/dist/examples/docs/examples.docblock.js +163 -21
- package/dist/examples/index.d.ts +9 -10
- package/dist/examples/index.d.ts.map +1 -0
- package/dist/examples/index.js +604 -13
- package/dist/examples/registry.d.ts +23 -27
- package/dist/examples/registry.d.ts.map +1 -0
- package/dist/examples/registry.js +284 -86
- package/dist/examples/registry.test.d.ts +2 -0
- package/dist/examples/registry.test.d.ts.map +1 -0
- package/dist/examples/schema.d.ts +255 -258
- package/dist/examples/schema.d.ts.map +1 -0
- package/dist/examples/schema.js +141 -100
- package/dist/examples/schema.test.d.ts +2 -0
- package/dist/examples/schema.test.d.ts.map +1 -0
- package/dist/examples/types.d.ts +102 -106
- package/dist/examples/types.d.ts.map +1 -0
- package/dist/examples/types.js +66 -32
- package/dist/examples/types.test.d.ts +2 -0
- package/dist/examples/types.test.d.ts.map +1 -0
- package/dist/examples/validation.d.ts +37 -40
- package/dist/examples/validation.d.ts.map +1 -0
- package/dist/examples/validation.js +278 -135
- package/dist/examples/validation.test.d.ts +2 -0
- package/dist/examples/validation.test.d.ts.map +1 -0
- package/dist/experiments/docs/experiments.docblock.d.ts +3 -6
- package/dist/experiments/docs/experiments.docblock.d.ts.map +1 -0
- package/dist/experiments/docs/experiments.docblock.js +290 -20
- package/dist/experiments/evaluator.d.ts +30 -33
- package/dist/experiments/evaluator.d.ts.map +1 -0
- package/dist/experiments/evaluator.js +153 -99
- package/dist/experiments/evaluator.test.d.ts +2 -0
- package/dist/experiments/evaluator.test.d.ts.map +1 -0
- package/dist/experiments/spec-resolver.d.ts +12 -16
- package/dist/experiments/spec-resolver.d.ts.map +1 -0
- package/dist/experiments/spec-resolver.js +1 -0
- package/dist/experiments/spec.d.ts +66 -69
- package/dist/experiments/spec.d.ts.map +1 -0
- package/dist/experiments/spec.js +224 -12
- package/dist/experiments/spec.test.d.ts +2 -0
- package/dist/experiments/spec.test.d.ts.map +1 -0
- package/dist/features/index.d.ts +7 -10
- package/dist/features/index.d.ts.map +1 -0
- package/dist/features/index.js +275 -12
- package/dist/features/install.d.ts +12 -19
- package/dist/features/install.d.ts.map +1 -0
- package/dist/features/install.js +93 -34
- package/dist/features/install.test.d.ts +2 -0
- package/dist/features/install.test.d.ts.map +1 -0
- package/dist/features/registry.d.ts +20 -24
- package/dist/features/registry.d.ts.map +1 -0
- package/dist/features/registry.js +188 -45
- package/dist/features/registry.test.d.ts +2 -0
- package/dist/features/registry.test.d.ts.map +1 -0
- package/dist/features/types.d.ts +52 -57
- package/dist/features/types.d.ts.map +1 -0
- package/dist/features/types.js +1 -0
- package/dist/features/types.test.d.ts +2 -0
- package/dist/features/types.test.d.ts.map +1 -0
- package/dist/features/validation.d.ts +4 -7
- package/dist/features/validation.d.ts.map +1 -0
- package/dist/features/validation.js +46 -12
- package/dist/features/validation.test.d.ts +2 -0
- package/dist/features/validation.test.d.ts.map +1 -0
- package/dist/features.capabilities.test.d.ts +2 -0
- package/dist/features.capabilities.test.d.ts.map +1 -0
- package/dist/forms/docs/forms.docblock.d.ts +3 -6
- package/dist/forms/docs/forms.docblock.d.ts.map +1 -0
- package/dist/forms/docs/forms.docblock.js +162 -19
- package/dist/forms/forms.d.ts +222 -223
- package/dist/forms/forms.d.ts.map +1 -0
- package/dist/forms/forms.js +321 -132
- package/dist/forms/index.d.ts +2 -2
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/index.js +331 -2
- package/dist/index.d.ts +50 -185
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18233 -157
- package/dist/install.d.ts +53 -54
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +53 -33
- package/dist/integrations/binding.d.ts +14 -16
- package/dist/integrations/binding.d.ts.map +1 -0
- package/dist/integrations/binding.js +1 -0
- package/dist/integrations/connection.d.ts +44 -47
- package/dist/integrations/connection.d.ts.map +1 -0
- package/dist/integrations/connection.js +1 -0
- package/dist/integrations/docs/integrations.docblock.d.ts +3 -6
- package/dist/integrations/docs/integrations.docblock.d.ts.map +1 -0
- package/dist/integrations/docs/integrations.docblock.js +191 -30
- package/dist/integrations/health.d.ts +15 -18
- package/dist/integrations/health.d.ts.map +1 -0
- package/dist/integrations/health.js +100 -66
- package/dist/integrations/health.test.d.ts +2 -0
- package/dist/integrations/health.test.d.ts.map +1 -0
- package/dist/integrations/index.d.ts +12 -34
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/index.js +3809 -23
- package/dist/integrations/integrations.capability.d.ts +2 -7
- package/dist/integrations/integrations.capability.d.ts.map +1 -0
- package/dist/integrations/integrations.capability.js +726 -17
- package/dist/integrations/integrations.feature.d.ts +2 -7
- package/dist/integrations/integrations.feature.d.ts.map +1 -0
- package/dist/integrations/integrations.feature.js +298 -64
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +8 -0
- package/dist/integrations/meeting-recorder/contracts/index.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/contracts/index.js +1231 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +452 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.js +866 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +167 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +933 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +86 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +819 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +2 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +726 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +6 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +301 -0
- package/dist/integrations/meeting-recorder/models.d.ts +403 -0
- package/dist/integrations/meeting-recorder/models.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/models.js +152 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts +14 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts.map +1 -0
- package/dist/integrations/meeting-recorder/telemetry.js +84 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +258 -264
- package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -0
- package/dist/integrations/openbanking/contracts/accounts.js +971 -233
- package/dist/integrations/openbanking/contracts/balances.d.ts +151 -157
- package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -0
- package/dist/integrations/openbanking/contracts/balances.js +935 -163
- package/dist/integrations/openbanking/contracts/index.d.ts +8 -10
- package/dist/integrations/openbanking/contracts/index.d.ts.map +1 -0
- package/dist/integrations/openbanking/contracts/index.js +1396 -9
- package/dist/integrations/openbanking/contracts/transactions.d.ts +190 -196
- package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -0
- package/dist/integrations/openbanking/contracts/transactions.js +941 -214
- package/dist/integrations/openbanking/guards.d.ts +8 -11
- package/dist/integrations/openbanking/guards.d.ts.map +1 -0
- package/dist/integrations/openbanking/guards.js +68 -29
- package/dist/integrations/openbanking/guards.test.d.ts +2 -0
- package/dist/integrations/openbanking/guards.test.d.ts.map +1 -0
- package/dist/integrations/openbanking/models.d.ts +221 -225
- package/dist/integrations/openbanking/models.d.ts.map +1 -0
- package/dist/integrations/openbanking/models.js +136 -236
- package/dist/integrations/openbanking/openbanking.capability.d.ts +2 -7
- package/dist/integrations/openbanking/openbanking.capability.d.ts.map +1 -0
- package/dist/integrations/openbanking/openbanking.capability.js +726 -21
- package/dist/integrations/openbanking/openbanking.feature.d.ts +2 -7
- package/dist/integrations/openbanking/openbanking.feature.d.ts.map +1 -0
- package/dist/integrations/openbanking/openbanking.feature.js +300 -73
- package/dist/integrations/openbanking/telemetry.d.ts +12 -14
- package/dist/integrations/openbanking/telemetry.d.ts.map +1 -0
- package/dist/integrations/openbanking/telemetry.js +75 -33
- package/dist/integrations/operations.d.ts +421 -427
- package/dist/integrations/operations.d.ts.map +1 -0
- package/dist/integrations/operations.js +926 -375
- package/dist/integrations/operations.test.d.ts +2 -0
- package/dist/integrations/operations.test.d.ts.map +1 -0
- package/dist/integrations/providers/analytics-reader.d.ts +104 -0
- package/dist/integrations/providers/analytics-reader.d.ts.map +1 -0
- package/dist/integrations/providers/analytics-reader.js +1 -0
- package/dist/integrations/providers/analytics-writer.d.ts +7 -0
- package/dist/integrations/providers/analytics-writer.d.ts.map +1 -0
- package/dist/integrations/providers/analytics-writer.js +1 -0
- package/dist/integrations/providers/analytics.d.ts +48 -0
- package/dist/integrations/providers/analytics.d.ts.map +1 -0
- package/dist/integrations/providers/analytics.js +1 -0
- package/dist/integrations/providers/calendar.d.ts +68 -70
- package/dist/integrations/providers/calendar.d.ts.map +1 -0
- package/dist/integrations/providers/calendar.js +1 -0
- package/dist/integrations/providers/database.d.ts +13 -0
- package/dist/integrations/providers/database.d.ts.map +1 -0
- package/dist/integrations/providers/database.js +1 -0
- package/dist/integrations/providers/elevenlabs.d.ts +4 -8
- package/dist/integrations/providers/elevenlabs.d.ts.map +1 -0
- package/dist/integrations/providers/elevenlabs.js +327 -52
- package/dist/integrations/providers/email.d.ts +74 -76
- package/dist/integrations/providers/email.d.ts.map +1 -0
- package/dist/integrations/providers/email.js +1 -0
- package/dist/integrations/providers/embedding.d.ts +19 -21
- package/dist/integrations/providers/embedding.d.ts.map +1 -0
- package/dist/integrations/providers/embedding.js +1 -0
- package/dist/integrations/providers/fal.d.ts +4 -0
- package/dist/integrations/providers/fal.d.ts.map +1 -0
- package/dist/integrations/providers/fal.js +357 -0
- package/dist/integrations/providers/fathom.d.ts +4 -0
- package/dist/integrations/providers/fathom.d.ts.map +1 -0
- package/dist/integrations/providers/fathom.js +371 -0
- package/dist/integrations/providers/fireflies.d.ts +4 -0
- package/dist/integrations/providers/fireflies.d.ts.map +1 -0
- package/dist/integrations/providers/fireflies.js +351 -0
- package/dist/integrations/providers/gcs-storage.d.ts +4 -8
- package/dist/integrations/providers/gcs-storage.d.ts.map +1 -0
- package/dist/integrations/providers/gcs-storage.js +338 -75
- package/dist/integrations/providers/gmail.d.ts +4 -8
- package/dist/integrations/providers/gmail.d.ts.map +1 -0
- package/dist/integrations/providers/gmail.js +350 -87
- package/dist/integrations/providers/google-calendar.d.ts +4 -8
- package/dist/integrations/providers/google-calendar.d.ts.map +1 -0
- package/dist/integrations/providers/google-calendar.js +333 -66
- package/dist/integrations/providers/gradium.d.ts +4 -0
- package/dist/integrations/providers/gradium.d.ts.map +1 -0
- package/dist/integrations/providers/gradium.js +355 -0
- package/dist/integrations/providers/granola.d.ts +4 -0
- package/dist/integrations/providers/granola.d.ts.map +1 -0
- package/dist/integrations/providers/granola.js +352 -0
- package/dist/integrations/providers/index.d.ts +38 -22
- package/dist/integrations/providers/index.d.ts.map +1 -0
- package/dist/integrations/providers/index.js +2142 -13
- package/dist/integrations/providers/jira.d.ts +4 -0
- package/dist/integrations/providers/jira.d.ts.map +1 -0
- package/dist/integrations/providers/jira.js +353 -0
- package/dist/integrations/providers/linear.d.ts +4 -0
- package/dist/integrations/providers/linear.d.ts.map +1 -0
- package/dist/integrations/providers/linear.js +352 -0
- package/dist/integrations/providers/llm.d.ts +65 -67
- package/dist/integrations/providers/llm.d.ts.map +1 -0
- package/dist/integrations/providers/llm.js +1 -0
- package/dist/integrations/providers/meeting-recorder.d.ts +130 -0
- package/dist/integrations/providers/meeting-recorder.d.ts.map +1 -0
- package/dist/integrations/providers/meeting-recorder.js +1 -0
- package/dist/integrations/providers/mistral.d.ts +4 -8
- package/dist/integrations/providers/mistral.d.ts.map +1 -0
- package/dist/integrations/providers/mistral.js +335 -68
- package/dist/integrations/providers/notion.d.ts +4 -0
- package/dist/integrations/providers/notion.d.ts.map +1 -0
- package/dist/integrations/providers/notion.js +358 -0
- package/dist/integrations/providers/openbanking.d.ts +113 -115
- package/dist/integrations/providers/openbanking.d.ts.map +1 -0
- package/dist/integrations/providers/openbanking.js +1 -0
- package/dist/integrations/providers/payments.d.ts +94 -96
- package/dist/integrations/providers/payments.d.ts.map +1 -0
- package/dist/integrations/providers/payments.js +1 -0
- package/dist/integrations/providers/posthog.d.ts +4 -0
- package/dist/integrations/providers/posthog.d.ts.map +1 -0
- package/dist/integrations/providers/posthog.js +349 -0
- package/dist/integrations/providers/postmark.d.ts +4 -8
- package/dist/integrations/providers/postmark.d.ts.map +1 -0
- package/dist/integrations/providers/postmark.js +339 -68
- package/dist/integrations/providers/powens.d.ts +4 -8
- package/dist/integrations/providers/powens.d.ts.map +1 -0
- package/dist/integrations/providers/powens.js +365 -116
- package/dist/integrations/providers/project-management.d.ts +33 -0
- package/dist/integrations/providers/project-management.d.ts.map +1 -0
- package/dist/integrations/providers/project-management.js +1 -0
- package/dist/integrations/providers/providers.test.d.ts +2 -0
- package/dist/integrations/providers/providers.test.d.ts.map +1 -0
- package/dist/integrations/providers/qdrant.d.ts +4 -8
- package/dist/integrations/providers/qdrant.d.ts.map +1 -0
- package/dist/integrations/providers/qdrant.js +342 -73
- package/dist/integrations/providers/registry.d.ts +3 -7
- package/dist/integrations/providers/registry.d.ts.map +1 -0
- package/dist/integrations/providers/registry.js +2099 -33
- package/dist/integrations/providers/sms.d.ts +28 -30
- package/dist/integrations/providers/sms.d.ts.map +1 -0
- package/dist/integrations/providers/sms.js +1 -0
- package/dist/integrations/providers/storage.d.ts +49 -51
- package/dist/integrations/providers/storage.d.ts.map +1 -0
- package/dist/integrations/providers/storage.js +1 -0
- package/dist/integrations/providers/stripe.d.ts +4 -8
- package/dist/integrations/providers/stripe.d.ts.map +1 -0
- package/dist/integrations/providers/stripe.js +346 -83
- package/dist/integrations/providers/supabase-postgres.d.ts +4 -0
- package/dist/integrations/providers/supabase-postgres.d.ts.map +1 -0
- package/dist/integrations/providers/supabase-postgres.js +332 -0
- package/dist/integrations/providers/supabase-vector.d.ts +4 -0
- package/dist/integrations/providers/supabase-vector.d.ts.map +1 -0
- package/dist/integrations/providers/supabase-vector.js +352 -0
- package/dist/integrations/providers/tldv.d.ts +4 -0
- package/dist/integrations/providers/tldv.d.ts.map +1 -0
- package/dist/integrations/providers/tldv.js +351 -0
- package/dist/integrations/providers/twilio-sms.d.ts +4 -8
- package/dist/integrations/providers/twilio-sms.d.ts.map +1 -0
- package/dist/integrations/providers/twilio-sms.js +332 -61
- package/dist/integrations/providers/vector-store.d.ts +34 -37
- package/dist/integrations/providers/vector-store.d.ts.map +1 -0
- package/dist/integrations/providers/vector-store.js +1 -0
- package/dist/integrations/providers/voice.d.ts +28 -30
- package/dist/integrations/providers/voice.d.ts.map +1 -0
- package/dist/integrations/providers/voice.js +1 -0
- package/dist/integrations/runtime.d.ts +87 -90
- package/dist/integrations/runtime.d.ts.map +1 -0
- package/dist/integrations/runtime.js +234 -181
- package/dist/integrations/runtime.test.d.ts +2 -0
- package/dist/integrations/runtime.test.d.ts.map +1 -0
- package/dist/integrations/secrets/aws-secret-manager.d.ts +24 -26
- package/dist/integrations/secrets/aws-secret-manager.d.ts.map +1 -0
- package/dist/integrations/secrets/aws-secret-manager.js +367 -222
- package/dist/integrations/secrets/env-secret-provider.d.ts +21 -23
- package/dist/integrations/secrets/env-secret-provider.d.ts.map +1 -0
- package/dist/integrations/secrets/env-secret-provider.js +187 -79
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +26 -28
- package/dist/integrations/secrets/gcp-secret-manager.d.ts.map +1 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +369 -221
- package/dist/integrations/secrets/index.d.ts +7 -7
- package/dist/integrations/secrets/index.d.ts.map +1 -0
- package/dist/integrations/secrets/index.js +1159 -8
- package/dist/integrations/secrets/manager.d.ts +33 -35
- package/dist/integrations/secrets/manager.d.ts.map +1 -0
- package/dist/integrations/secrets/manager.js +210 -100
- package/dist/integrations/secrets/provider.d.ts +43 -45
- package/dist/integrations/secrets/provider.d.ts.map +1 -0
- package/dist/integrations/secrets/provider.js +99 -53
- package/dist/integrations/secrets/provider.test.d.ts +2 -0
- package/dist/integrations/secrets/provider.test.d.ts.map +1 -0
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +33 -35
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts.map +1 -0
- package/dist/integrations/secrets/scaleway-secret-manager.js +394 -236
- package/dist/integrations/secrets-types.d.ts +9 -11
- package/dist/integrations/secrets-types.d.ts.map +1 -0
- package/dist/integrations/secrets-types.js +1 -0
- package/dist/integrations/spec.d.ts +61 -65
- package/dist/integrations/spec.d.ts.map +1 -0
- package/dist/integrations/spec.js +229 -19
- package/dist/integrations/spec.test.d.ts +2 -0
- package/dist/integrations/spec.test.d.ts.map +1 -0
- package/dist/jobs/define-job.d.ts +9 -11
- package/dist/jobs/define-job.d.ts.map +1 -0
- package/dist/jobs/define-job.js +39 -14
- package/dist/jobs/gcp-cloud-tasks.d.ts +34 -36
- package/dist/jobs/gcp-cloud-tasks.d.ts.map +1 -0
- package/dist/jobs/gcp-cloud-tasks.js +100 -50
- package/dist/jobs/gcp-pubsub.d.ts +19 -21
- package/dist/jobs/gcp-pubsub.d.ts.map +1 -0
- package/dist/jobs/gcp-pubsub.js +88 -36
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +6 -9
- package/dist/jobs/handlers/gmail-sync-handler.d.ts.map +1 -0
- package/dist/jobs/handlers/gmail-sync-handler.js +38 -7
- package/dist/jobs/handlers/handlers.test.d.ts +2 -0
- package/dist/jobs/handlers/handlers.test.d.ts.map +1 -0
- package/dist/jobs/handlers/index.d.ts +6 -9
- package/dist/jobs/handlers/index.d.ts.map +1 -0
- package/dist/jobs/handlers/index.js +80 -9
- package/dist/jobs/handlers/ping-handler.d.ts +7 -10
- package/dist/jobs/handlers/ping-handler.d.ts.map +1 -0
- package/dist/jobs/handlers/ping-handler.js +45 -13
- package/dist/jobs/handlers/storage-document-handler.d.ts +8 -11
- package/dist/jobs/handlers/storage-document-handler.d.ts.map +1 -0
- package/dist/jobs/handlers/storage-document-handler.js +45 -12
- package/dist/jobs/index.d.ts +3 -3
- package/dist/jobs/index.d.ts.map +1 -0
- package/dist/jobs/index.js +63 -3
- package/dist/jobs/memory-queue.d.ts +14 -17
- package/dist/jobs/memory-queue.d.ts.map +1 -0
- package/dist/jobs/memory-queue.js +126 -68
- package/dist/jobs/queue.d.ts +88 -92
- package/dist/jobs/queue.d.ts.map +1 -0
- package/dist/jobs/queue.js +49 -27
- package/dist/jobs/queue.test.d.ts +2 -0
- package/dist/jobs/queue.test.d.ts.map +1 -0
- package/dist/jobs/scaleway-sqs-queue.d.ts +25 -27
- package/dist/jobs/scaleway-sqs-queue.d.ts.map +1 -0
- package/dist/jobs/scaleway-sqs-queue.js +219 -150
- package/dist/jsonschema.d.ts +23 -25
- package/dist/jsonschema.d.ts.map +1 -0
- package/dist/jsonschema.js +60 -38
- package/dist/jsonschema.test.d.ts +2 -0
- package/dist/jsonschema.test.d.ts.map +1 -0
- package/dist/knowledge/binding.d.ts +22 -24
- package/dist/knowledge/binding.d.ts.map +1 -0
- package/dist/knowledge/binding.js +1 -0
- package/dist/knowledge/docs/knowledge.docblock.d.ts +3 -6
- package/dist/knowledge/docs/knowledge.docblock.d.ts.map +1 -0
- package/dist/knowledge/docs/knowledge.docblock.js +300 -20
- package/dist/knowledge/index.d.ts +5 -11
- package/dist/knowledge/index.d.ts.map +1 -0
- package/dist/knowledge/index.js +468 -10
- package/dist/knowledge/ingestion/document-processor.d.ts +19 -20
- package/dist/knowledge/ingestion/document-processor.d.ts.map +1 -0
- package/dist/knowledge/ingestion/document-processor.js +93 -52
- package/dist/knowledge/ingestion/embedding-service.d.ts +8 -11
- package/dist/knowledge/ingestion/embedding-service.d.ts.map +1 -0
- package/dist/knowledge/ingestion/embedding-service.js +55 -23
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +14 -17
- package/dist/knowledge/ingestion/gmail-adapter.d.ts.map +1 -0
- package/dist/knowledge/ingestion/gmail-adapter.js +96 -44
- package/dist/knowledge/ingestion/index.d.ts +6 -6
- package/dist/knowledge/ingestion/index.d.ts.map +1 -0
- package/dist/knowledge/ingestion/index.js +251 -6
- package/dist/knowledge/ingestion/ingestion.test.d.ts +2 -0
- package/dist/knowledge/ingestion/ingestion.test.d.ts.map +1 -0
- package/dist/knowledge/ingestion/storage-adapter.d.ts +11 -14
- package/dist/knowledge/ingestion/storage-adapter.d.ts.map +1 -0
- package/dist/knowledge/ingestion/storage-adapter.js +60 -24
- package/dist/knowledge/ingestion/vector-indexer.d.ts +13 -16
- package/dist/knowledge/ingestion/vector-indexer.d.ts.map +1 -0
- package/dist/knowledge/ingestion/vector-indexer.js +61 -30
- package/dist/knowledge/knowledge.capability.d.ts +2 -7
- package/dist/knowledge/knowledge.capability.d.ts.map +1 -0
- package/dist/knowledge/knowledge.capability.js +726 -21
- package/dist/knowledge/knowledge.feature.d.ts +2 -7
- package/dist/knowledge/knowledge.feature.d.ts.map +1 -0
- package/dist/knowledge/knowledge.feature.js +298 -65
- package/dist/knowledge/operations.d.ts +283 -289
- package/dist/knowledge/operations.d.ts.map +1 -0
- package/dist/knowledge/operations.js +851 -303
- package/dist/knowledge/operations.test.d.ts +2 -0
- package/dist/knowledge/operations.test.d.ts.map +1 -0
- package/dist/knowledge/query/index.d.ts +2 -2
- package/dist/knowledge/query/index.d.ts.map +1 -0
- package/dist/knowledge/query/index.js +109 -2
- package/dist/knowledge/query/service.d.ts +23 -26
- package/dist/knowledge/query/service.d.ts.map +1 -0
- package/dist/knowledge/query/service.js +105 -60
- package/dist/knowledge/query/service.test.d.ts +2 -0
- package/dist/knowledge/query/service.test.d.ts.map +1 -0
- package/dist/knowledge/runtime.d.ts +25 -28
- package/dist/knowledge/runtime.d.ts.map +1 -0
- package/dist/knowledge/runtime.js +89 -47
- package/dist/knowledge/runtime.test.d.ts +2 -0
- package/dist/knowledge/runtime.test.d.ts.map +1 -0
- package/dist/knowledge/source.d.ts +28 -30
- package/dist/knowledge/source.d.ts.map +1 -0
- package/dist/knowledge/source.js +1 -0
- package/dist/knowledge/spaces/email-threads.d.ts +4 -7
- package/dist/knowledge/spaces/email-threads.d.ts.map +1 -0
- package/dist/knowledge/spaces/email-threads.js +98 -33
- package/dist/knowledge/spaces/financial-docs.d.ts +4 -7
- package/dist/knowledge/spaces/financial-docs.d.ts.map +1 -0
- package/dist/knowledge/spaces/financial-docs.js +98 -33
- package/dist/knowledge/spaces/financial-overview.d.ts +4 -7
- package/dist/knowledge/spaces/financial-overview.d.ts.map +1 -0
- package/dist/knowledge/spaces/financial-overview.js +98 -37
- package/dist/knowledge/spaces/index.d.ts +7 -7
- package/dist/knowledge/spaces/index.d.ts.map +1 -0
- package/dist/knowledge/spaces/index.js +273 -8
- package/dist/knowledge/spaces/product-canon.d.ts +4 -7
- package/dist/knowledge/spaces/product-canon.d.ts.map +1 -0
- package/dist/knowledge/spaces/product-canon.js +98 -33
- package/dist/knowledge/spaces/spaces.test.d.ts +2 -0
- package/dist/knowledge/spaces/spaces.test.d.ts.map +1 -0
- package/dist/knowledge/spaces/support-faq.d.ts +4 -7
- package/dist/knowledge/spaces/support-faq.d.ts.map +1 -0
- package/dist/knowledge/spaces/support-faq.js +99 -36
- package/dist/knowledge/spaces/uploaded-docs.d.ts +4 -7
- package/dist/knowledge/spaces/uploaded-docs.d.ts.map +1 -0
- package/dist/knowledge/spaces/uploaded-docs.js +98 -33
- package/dist/knowledge/spec.d.ts +37 -40
- package/dist/knowledge/spec.d.ts.map +1 -0
- package/dist/knowledge/spec.js +225 -14
- package/dist/knowledge/spec.test.d.ts +2 -0
- package/dist/knowledge/spec.test.d.ts.map +1 -0
- package/dist/llm/exporters.d.ts +31 -32
- package/dist/llm/exporters.d.ts.map +1 -0
- package/dist/llm/exporters.js +1248 -529
- package/dist/llm/index.d.ts +13 -4
- package/dist/llm/index.d.ts.map +1 -0
- package/dist/llm/index.js +1714 -3
- package/dist/llm/prompts.d.ts +26 -24
- package/dist/llm/prompts.d.ts.map +1 -0
- package/dist/llm/prompts.js +1508 -212
- package/dist/llm/types.d.ts +180 -182
- package/dist/llm/types.d.ts.map +1 -0
- package/dist/llm/types.js +1 -0
- package/dist/markdown.d.ts +10 -15
- package/dist/markdown.d.ts.map +1 -0
- package/dist/markdown.js +776 -116
- package/dist/migrations.d.ts +49 -52
- package/dist/migrations.d.ts.map +1 -0
- package/dist/migrations.js +64 -28
- package/dist/migrations.test.d.ts +2 -0
- package/dist/migrations.test.d.ts.map +1 -0
- package/dist/model-registry.d.ts +8 -11
- package/dist/model-registry.d.ts.map +1 -0
- package/dist/model-registry.js +60 -29
- package/dist/model-registry.test.d.ts +2 -0
- package/dist/model-registry.test.d.ts.map +1 -0
- package/dist/node/app-config/app-config.capability.js +730 -0
- package/dist/node/app-config/app-config.contracts.js +927 -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 +3113 -0
- package/dist/node/app-config/lifecycle-contracts.js +1084 -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/client/index.js +1379 -0
- package/dist/node/client/react/drivers/rn-reusables.js +38 -0
- package/dist/node/client/react/drivers/shadcn.js +38 -0
- package/dist/node/client/react/feature-render.js +833 -0
- package/dist/node/client/react/form-render.js +681 -0
- package/dist/node/client/react/index.js +1376 -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 +1016 -0
- package/dist/node/docs/commands/docsPublish.command.js +995 -0
- package/dist/node/docs/commands/index.js +1120 -0
- package/dist/node/docs/constants.js +78 -0
- package/dist/node/docs/contracts.js +2383 -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 +5491 -0
- package/dist/node/docs/meta.docs.js +176 -0
- package/dist/node/docs/presentations/docsLayout.presentation.js +1090 -0
- package/dist/node/docs/presentations/docsReferencePage.presentation.js +1090 -0
- package/dist/node/docs/presentations/index.js +1118 -0
- package/dist/node/docs/presentations.js +97 -0
- package/dist/node/docs/queries/contractReference.query.js +966 -0
- package/dist/node/docs/queries/docsIndex.query.js +966 -0
- package/dist/node/docs/queries/index.js +1041 -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 +1047 -0
- package/dist/node/docs/views/docsIndex.dataView.js +1041 -0
- package/dist/node/docs/views/exampleCatalog.dataView.js +1025 -0
- package/dist/node/docs/views/index.js +1240 -0
- package/dist/node/events.js +228 -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 +0 -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 +18236 -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 +255 -0
- package/dist/node/integrations/health.js +103 -0
- package/dist/node/integrations/index.js +3809 -0
- package/dist/node/integrations/integrations.capability.js +726 -0
- package/dist/node/integrations/integrations.feature.js +301 -0
- package/dist/node/integrations/meeting-recorder/contracts/index.js +1231 -0
- package/dist/node/integrations/meeting-recorder/contracts/meetings.js +866 -0
- package/dist/node/integrations/meeting-recorder/contracts/transcripts.js +933 -0
- package/dist/node/integrations/meeting-recorder/contracts/webhooks.js +819 -0
- package/dist/node/integrations/meeting-recorder/meeting-recorder.capability.js +726 -0
- package/dist/node/integrations/meeting-recorder/meeting-recorder.feature.js +301 -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 +974 -0
- package/dist/node/integrations/openbanking/contracts/balances.js +938 -0
- package/dist/node/integrations/openbanking/contracts/index.js +1399 -0
- package/dist/node/integrations/openbanking/contracts/transactions.js +944 -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 +726 -0
- package/dist/node/integrations/openbanking/openbanking.feature.js +303 -0
- package/dist/node/integrations/openbanking/telemetry.js +81 -0
- package/dist/node/integrations/operations.js +943 -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 +331 -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 +357 -0
- package/dist/node/integrations/providers/fathom.js +371 -0
- package/dist/node/integrations/providers/fireflies.js +351 -0
- package/dist/node/integrations/providers/gcs-storage.js +342 -0
- package/dist/node/integrations/providers/gmail.js +354 -0
- package/dist/node/integrations/providers/google-calendar.js +337 -0
- package/dist/node/integrations/providers/gradium.js +355 -0
- package/dist/node/integrations/providers/granola.js +352 -0
- package/dist/node/integrations/providers/index.js +2142 -0
- package/dist/node/integrations/providers/jira.js +353 -0
- package/dist/node/integrations/providers/linear.js +352 -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 +339 -0
- package/dist/node/integrations/providers/notion.js +358 -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.js +349 -0
- package/dist/node/integrations/providers/postmark.js +343 -0
- package/dist/node/integrations/providers/powens.js +369 -0
- package/dist/node/integrations/providers/project-management.js +0 -0
- package/dist/node/integrations/providers/qdrant.js +346 -0
- package/dist/node/integrations/providers/registry.js +2100 -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 +350 -0
- package/dist/node/integrations/providers/supabase-postgres.js +332 -0
- package/dist/node/integrations/providers/supabase-vector.js +352 -0
- package/dist/node/integrations/providers/tldv.js +351 -0
- package/dist/node/integrations/providers/twilio-sms.js +336 -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 +232 -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 +468 -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 +301 -0
- package/dist/node/knowledge/operations.js +869 -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 +1261 -0
- package/dist/node/llm/index.js +1715 -0
- package/dist/node/llm/prompts.js +1706 -0
- package/dist/node/llm/types.js +0 -0
- package/dist/node/markdown.js +779 -0
- package/dist/node/migrations.js +67 -0
- package/dist/node/model-registry.js +64 -0
- package/dist/node/onboarding-base.js +810 -0
- package/dist/node/openapi.js +151 -0
- package/dist/node/operations/index.js +665 -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 +795 -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 +342 -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/server/contracts-adapter-hydration.js +71 -0
- package/dist/node/server/contracts-adapter-input.js +130 -0
- package/dist/node/server/graphql-pothos.js +338 -0
- package/dist/node/server/index.js +1469 -0
- package/dist/node/server/mcp/createMcpServer.js +994 -0
- package/dist/node/server/mcp/mcpTypes.js +0 -0
- package/dist/node/server/mcp/registerPresentations.js +877 -0
- package/dist/node/server/mcp/registerPrompts.js +109 -0
- package/dist/node/server/mcp/registerResources.js +75 -0
- package/dist/node/server/mcp/registerTools.js +86 -0
- package/dist/node/server/provider-mcp.js +994 -0
- package/dist/node/server/rest-elysia.js +209 -0
- package/dist/node/server/rest-express.js +224 -0
- package/dist/node/server/rest-generic.js +192 -0
- package/dist/node/server/rest-next-app.js +200 -0
- package/dist/node/server/rest-next-mcp.js +103 -0
- package/dist/node/server/rest-next-pages.js +211 -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 +116 -122
- package/dist/onboarding-base.d.ts.map +1 -0
- package/dist/onboarding-base.js +807 -192
- package/dist/openapi.d.ts +30 -27
- package/dist/openapi.d.ts.map +1 -0
- package/dist/openapi.js +140 -71
- package/dist/operations/index.d.ts +4 -6
- package/dist/operations/index.d.ts.map +1 -0
- package/dist/operations/index.js +664 -6
- package/dist/operations/operation.d.ts +151 -151
- package/dist/operations/operation.d.ts.map +1 -0
- package/dist/operations/operation.js +49 -33
- package/dist/operations/registry.d.ts +53 -48
- package/dist/operations/registry.d.ts.map +1 -0
- package/dist/operations/registry.js +401 -172
- package/dist/operations/report/getContractVerificationStatus.d.ts +61 -67
- package/dist/operations/report/getContractVerificationStatus.d.ts.map +1 -0
- package/dist/operations/report/getContractVerificationStatus.js +166 -92
- package/dist/operations/report/getContractVerificationStatus.test.d.ts +2 -0
- package/dist/operations/report/getContractVerificationStatus.test.d.ts.map +1 -0
- package/dist/operations/report/index.d.ts +8 -10
- package/dist/operations/report/index.d.ts.map +1 -0
- package/dist/operations/report/index.js +301 -41
- package/dist/operations/report/index.test.d.ts +2 -0
- package/dist/operations/report/index.test.d.ts.map +1 -0
- package/dist/ownership.d.ts +154 -151
- package/dist/ownership.d.ts.map +1 -0
- package/dist/ownership.js +70 -60
- package/dist/ownership.test.d.ts +2 -0
- package/dist/ownership.test.d.ts.map +1 -0
- package/dist/policy/context.d.ts +154 -156
- package/dist/policy/context.d.ts.map +1 -0
- package/dist/policy/context.js +197 -218
- package/dist/policy/context.test.d.ts +2 -0
- package/dist/policy/context.test.d.ts.map +1 -0
- package/dist/policy/docs/policy.docblock.d.ts +3 -6
- package/dist/policy/docs/policy.docblock.d.ts.map +1 -0
- package/dist/policy/docs/policy.docblock.js +312 -20
- package/dist/policy/engine.d.ts +32 -35
- package/dist/policy/engine.d.ts.map +1 -0
- package/dist/policy/engine.js +298 -198
- package/dist/policy/engine.test.d.ts +2 -0
- package/dist/policy/engine.test.d.ts.map +1 -0
- package/dist/policy/guards.d.ts +47 -35
- package/dist/policy/guards.d.ts.map +1 -0
- package/dist/policy/guards.js +373 -240
- package/dist/policy/guards.test.d.ts +2 -0
- package/dist/policy/guards.test.d.ts.map +1 -0
- package/dist/policy/index.d.ts +10 -13
- package/dist/policy/index.d.ts.map +1 -0
- package/dist/policy/index.js +1313 -15
- package/dist/policy/opa-adapter.d.ts +37 -40
- package/dist/policy/opa-adapter.d.ts.map +1 -0
- package/dist/policy/opa-adapter.js +103 -64
- package/dist/policy/opa-adapter.test.d.ts +2 -0
- package/dist/policy/opa-adapter.test.d.ts.map +1 -0
- package/dist/policy/registry.d.ts +5 -8
- package/dist/policy/registry.d.ts.map +1 -0
- package/dist/policy/registry.js +219 -9
- package/dist/policy/spec.d.ts +84 -87
- package/dist/policy/spec.d.ts.map +1 -0
- package/dist/policy/spec.js +1 -0
- package/dist/policy/validation.d.ts +45 -27
- package/dist/policy/validation.d.ts.map +1 -0
- package/dist/policy/validation.js +369 -285
- package/dist/policy/validation.test.d.ts +2 -0
- package/dist/policy/validation.test.d.ts.map +1 -0
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts +3 -6
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts.map +1 -0
- package/dist/presentations/docs/presentations-conventions.docblock.js +169 -19
- package/dist/presentations/index.d.ts +4 -4
- package/dist/presentations/index.d.ts.map +1 -0
- package/dist/presentations/index.js +794 -4
- package/dist/presentations/presentations.d.ts +42 -45
- package/dist/presentations/presentations.d.ts.map +1 -0
- package/dist/presentations/presentations.js +36 -5
- package/dist/presentations/registry.d.ts +5 -8
- package/dist/presentations/registry.d.ts.map +1 -0
- package/dist/presentations/registry.js +219 -10
- package/dist/presentations/transform-engine.d.ts +43 -46
- package/dist/presentations/transform-engine.d.ts.map +1 -0
- package/dist/presentations/transform-engine.js +580 -262
- package/dist/presentations/transform-engine.test.d.ts +2 -0
- package/dist/presentations/transform-engine.test.d.ts.map +1 -0
- package/dist/product-intent/contract-patch-intent.d.ts +101 -0
- package/dist/product-intent/contract-patch-intent.d.ts.map +1 -0
- package/dist/product-intent/contract-patch-intent.js +68 -0
- package/dist/product-intent/contract-spec-patch.d.ts +87 -0
- package/dist/product-intent/contract-spec-patch.d.ts.map +1 -0
- package/dist/product-intent/contract-spec-patch.js +75 -0
- package/dist/product-intent/evidence.d.ts +15 -0
- package/dist/product-intent/evidence.d.ts.map +1 -0
- package/dist/product-intent/evidence.js +45 -0
- package/dist/product-intent/findings.d.ts +58 -0
- package/dist/product-intent/findings.d.ts.map +1 -0
- package/dist/product-intent/findings.js +81 -0
- package/dist/product-intent/impact-report.d.ts +58 -0
- package/dist/product-intent/impact-report.d.ts.map +1 -0
- package/dist/product-intent/impact-report.js +62 -0
- package/dist/product-intent/index.d.ts +14 -0
- package/dist/product-intent/index.d.ts.map +1 -0
- package/dist/product-intent/index.js +742 -0
- package/dist/product-intent/insights.d.ts +63 -0
- package/dist/product-intent/insights.d.ts.map +1 -0
- package/dist/product-intent/insights.js +63 -0
- package/dist/product-intent/opportunity-brief.d.ts +193 -0
- package/dist/product-intent/opportunity-brief.d.ts.map +1 -0
- package/dist/product-intent/opportunity-brief.js +106 -0
- package/dist/product-intent/problems.d.ts +60 -0
- package/dist/product-intent/problems.d.ts.map +1 -0
- package/dist/product-intent/problems.js +55 -0
- package/dist/product-intent/registry.d.ts +29 -0
- package/dist/product-intent/registry.d.ts.map +1 -0
- package/dist/product-intent/registry.js +242 -0
- package/dist/product-intent/registry.test.d.ts +2 -0
- package/dist/product-intent/registry.test.d.ts.map +1 -0
- package/dist/product-intent/runtime.d.ts +93 -0
- package/dist/product-intent/runtime.d.ts.map +1 -0
- package/dist/product-intent/runtime.js +320 -0
- package/dist/product-intent/runtime.test.d.ts +2 -0
- package/dist/product-intent/runtime.test.d.ts.map +1 -0
- package/dist/product-intent/spec.d.ts +665 -0
- package/dist/product-intent/spec.d.ts.map +1 -0
- package/dist/product-intent/spec.js +425 -0
- package/dist/product-intent/task-pack.d.ts +99 -0
- package/dist/product-intent/task-pack.d.ts.map +1 -0
- package/dist/product-intent/task-pack.js +69 -0
- package/dist/product-intent/tickets.d.ts +68 -0
- package/dist/product-intent/tickets.d.ts.map +1 -0
- package/dist/product-intent/tickets.js +57 -0
- package/dist/product-intent/types.d.ts +12 -0
- package/dist/product-intent/types.d.ts.map +1 -0
- package/dist/product-intent/types.js +378 -0
- package/dist/product-intent/ui-wireframe.d.ts +101 -0
- package/dist/product-intent/ui-wireframe.d.ts.map +1 -0
- package/dist/product-intent/ui-wireframe.js +73 -0
- package/dist/prompt.d.ts +37 -40
- package/dist/prompt.d.ts.map +1 -0
- package/dist/prompt.js +35 -7
- package/dist/prompt.test.d.ts +2 -0
- package/dist/prompt.test.d.ts.map +1 -0
- package/dist/promptRegistry.d.ts +11 -14
- package/dist/promptRegistry.d.ts.map +1 -0
- package/dist/promptRegistry.js +60 -28
- package/dist/promptRegistry.test.d.ts +2 -0
- package/dist/promptRegistry.test.d.ts.map +1 -0
- package/dist/regenerator/adapters.d.ts +12 -15
- package/dist/regenerator/adapters.d.ts.map +1 -0
- package/dist/regenerator/adapters.js +1 -0
- package/dist/regenerator/docs/regenerator.docblock.d.ts +3 -6
- package/dist/regenerator/docs/regenerator.docblock.d.ts.map +1 -0
- package/dist/regenerator/docs/regenerator.docblock.js +162 -19
- package/dist/regenerator/executor.d.ts +52 -55
- package/dist/regenerator/executor.d.ts.map +1 -0
- package/dist/regenerator/executor.js +154 -83
- package/dist/regenerator/executor.test.d.ts +2 -0
- package/dist/regenerator/executor.test.d.ts.map +1 -0
- package/dist/regenerator/index.d.ts +7 -7
- package/dist/regenerator/index.d.ts.map +1 -0
- package/dist/regenerator/index.js +341 -5
- package/dist/regenerator/service.d.ts +28 -31
- package/dist/regenerator/service.d.ts.map +1 -0
- package/dist/regenerator/service.js +181 -91
- package/dist/regenerator/service.test.d.ts +2 -0
- package/dist/regenerator/service.test.d.ts.map +1 -0
- package/dist/regenerator/sinks.d.ts +20 -22
- package/dist/regenerator/sinks.d.ts.map +1 -0
- package/dist/regenerator/sinks.js +62 -30
- package/dist/regenerator/sinks.test.d.ts +2 -0
- package/dist/regenerator/sinks.test.d.ts.map +1 -0
- package/dist/regenerator/types.d.ts +87 -90
- package/dist/regenerator/types.d.ts.map +1 -0
- package/dist/regenerator/types.js +1 -0
- package/dist/regenerator/utils.d.ts +6 -8
- package/dist/regenerator/utils.d.ts.map +1 -0
- package/dist/regenerator/utils.js +73 -37
- package/dist/registry-utils.d.ts +63 -63
- package/dist/registry-utils.d.ts.map +1 -0
- package/dist/registry-utils.js +144 -103
- package/dist/registry-utils.test.d.ts +2 -0
- package/dist/registry-utils.test.d.ts.map +1 -0
- package/dist/registry.d.ts +25 -29
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +212 -58
- package/dist/resources.d.ts +56 -59
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +76 -43
- package/dist/schema-to-markdown.d.ts +35 -32
- package/dist/schema-to-markdown.d.ts.map +1 -0
- package/dist/schema-to-markdown.js +251 -190
- package/dist/serialization/index.d.ts +11 -3
- package/dist/serialization/index.d.ts.map +1 -0
- package/dist/serialization/index.js +179 -3
- package/dist/serialization/serializers.d.ts +18 -22
- package/dist/serialization/serializers.d.ts.map +1 -0
- package/dist/serialization/serializers.js +164 -132
- package/dist/serialization/types.d.ts +82 -84
- package/dist/serialization/types.d.ts.map +1 -0
- package/dist/serialization/types.js +1 -0
- package/dist/server/contracts-adapter-hydration.d.ts +10 -13
- package/dist/server/contracts-adapter-hydration.d.ts.map +1 -0
- package/dist/server/contracts-adapter-hydration.js +67 -37
- package/dist/server/contracts-adapter-input.d.ts +5 -8
- package/dist/server/contracts-adapter-input.d.ts.map +1 -0
- package/dist/server/contracts-adapter-input.js +121 -74
- package/dist/server/graphql-pothos.d.ts +10 -14
- package/dist/server/graphql-pothos.d.ts.map +1 -0
- package/dist/server/graphql-pothos.js +334 -130
- package/dist/server/index.d.ts +8 -9
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +1469 -10
- package/dist/server/mcp/createMcpServer.d.ts +7 -11
- package/dist/server/mcp/createMcpServer.d.ts.map +1 -0
- package/dist/server/mcp/createMcpServer.js +993 -26
- package/dist/server/mcp/mcpTypes.d.ts +22 -26
- package/dist/server/mcp/mcpTypes.d.ts.map +1 -0
- package/dist/server/mcp/mcpTypes.js +1 -0
- package/dist/server/mcp/registerPresentations.d.ts +4 -7
- package/dist/server/mcp/registerPresentations.d.ts.map +1 -0
- package/dist/server/mcp/registerPresentations.js +873 -50
- package/dist/server/mcp/registerPrompts.d.ts +5 -8
- package/dist/server/mcp/registerPrompts.d.ts.map +1 -0
- package/dist/server/mcp/registerPrompts.js +103 -35
- package/dist/server/mcp/registerResources.d.ts +5 -8
- package/dist/server/mcp/registerResources.d.ts.map +1 -0
- package/dist/server/mcp/registerResources.js +70 -30
- package/dist/server/mcp/registerTools.d.ts +5 -8
- package/dist/server/mcp/registerTools.d.ts.map +1 -0
- package/dist/server/mcp/registerTools.js +83 -19
- package/dist/server/provider-mcp.d.ts +2 -2
- package/dist/server/provider-mcp.d.ts.map +1 -0
- package/dist/server/provider-mcp.js +993 -2
- package/dist/server/provider-mcp.test.d.ts +2 -0
- package/dist/server/provider-mcp.test.d.ts.map +1 -0
- package/dist/server/rest-elysia.d.ts +30 -33
- package/dist/server/rest-elysia.d.ts.map +1 -0
- package/dist/server/rest-elysia.js +206 -17
- package/dist/server/rest-express.d.ts +8 -12
- package/dist/server/rest-express.d.ts.map +1 -0
- package/dist/server/rest-express.js +221 -33
- package/dist/server/rest-generic.d.ts +22 -25
- package/dist/server/rest-generic.d.ts.map +1 -0
- package/dist/server/rest-generic.js +185 -117
- package/dist/server/rest-next-app.d.ts +5 -9
- package/dist/server/rest-next-app.d.ts.map +1 -0
- package/dist/server/rest-next-app.js +197 -35
- package/dist/server/rest-next-mcp.d.ts +7 -10
- package/dist/server/rest-next-mcp.d.ts.map +1 -0
- package/dist/server/rest-next-mcp.js +100 -42
- package/dist/server/rest-next-pages.d.ts +6 -9
- package/dist/server/rest-next-pages.d.ts.map +1 -0
- package/dist/server/rest-next-pages.js +208 -19
- package/dist/telemetry/anomaly.d.ts +21 -24
- package/dist/telemetry/anomaly.d.ts.map +1 -0
- package/dist/telemetry/anomaly.js +89 -46
- package/dist/telemetry/anomaly.test.d.ts +2 -0
- package/dist/telemetry/anomaly.test.d.ts.map +1 -0
- package/dist/telemetry/docs/telemetry.docblock.d.ts +3 -6
- package/dist/telemetry/docs/telemetry.docblock.d.ts.map +1 -0
- package/dist/telemetry/docs/telemetry.docblock.js +162 -19
- package/dist/telemetry/index.d.ts +4 -4
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +416 -4
- package/dist/telemetry/spec.d.ts +78 -81
- package/dist/telemetry/spec.d.ts.map +1 -0
- package/dist/telemetry/spec.js +257 -38
- package/dist/telemetry/spec.test.d.ts +2 -0
- package/dist/telemetry/spec.test.d.ts.map +1 -0
- package/dist/telemetry/tracker.d.ts +44 -47
- package/dist/telemetry/tracker.d.ts.map +1 -0
- package/dist/telemetry/tracker.js +126 -73
- package/dist/telemetry/tracker.test.d.ts +2 -0
- package/dist/telemetry/tracker.test.d.ts.map +1 -0
- package/dist/tests/index.d.ts +3 -3
- package/dist/tests/index.d.ts.map +1 -0
- package/dist/tests/index.js +230 -3
- package/dist/tests/runner.d.ts +34 -38
- package/dist/tests/runner.d.ts.map +1 -0
- package/dist/tests/runner.js +186 -147
- package/dist/tests/runner.test.d.ts +2 -0
- package/dist/tests/runner.test.d.ts.map +1 -0
- package/dist/tests/spec.d.ts +59 -63
- package/dist/tests/spec.d.ts.map +1 -0
- package/dist/tests/spec.js +68 -28
- package/dist/tests/spec.test.d.ts +2 -0
- package/dist/tests/spec.test.d.ts.map +1 -0
- package/dist/themes.d.ts +44 -47
- package/dist/themes.d.ts.map +1 -0
- package/dist/themes.js +222 -14
- package/dist/themes.test.d.ts +2 -0
- package/dist/themes.test.d.ts.map +1 -0
- package/dist/translations/catalog.d.ts +22 -24
- package/dist/translations/catalog.d.ts.map +1 -0
- package/dist/translations/catalog.js +1 -0
- package/dist/translations/index.d.ts +45 -6
- package/dist/translations/index.d.ts.map +1 -0
- package/dist/translations/index.js +532 -4
- package/dist/translations/registry.d.ts +167 -138
- package/dist/translations/registry.d.ts.map +1 -0
- package/dist/translations/registry.js +168 -221
- package/dist/translations/registry.test.d.ts +2 -0
- package/dist/translations/registry.test.d.ts.map +1 -0
- package/dist/translations/spec.d.ts +114 -86
- package/dist/translations/spec.d.ts.map +1 -0
- package/dist/translations/spec.js +35 -30
- package/dist/translations/spec.test.d.ts +2 -0
- package/dist/translations/spec.test.d.ts.map +1 -0
- package/dist/translations/tenant.d.ts +11 -14
- package/dist/translations/tenant.d.ts.map +1 -0
- package/dist/translations/tenant.js +1 -0
- package/dist/translations/validation.d.ts +58 -36
- package/dist/translations/validation.d.ts.map +1 -0
- package/dist/translations/validation.js +366 -302
- package/dist/translations/validation.test.d.ts +2 -0
- package/dist/translations/validation.test.d.ts.map +1 -0
- package/dist/types.d.ts +117 -122
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -0
- package/dist/versioning/index.d.ts +10 -4
- package/dist/versioning/index.d.ts.map +1 -0
- package/dist/versioning/index.js +273 -4
- package/dist/versioning/refs.d.ts +22 -24
- package/dist/versioning/refs.d.ts.map +1 -0
- package/dist/versioning/refs.js +83 -145
- package/dist/versioning/refs.test.d.ts +5 -0
- package/dist/versioning/refs.test.d.ts.map +1 -0
- package/dist/versioning/types.d.ts +110 -106
- package/dist/versioning/types.d.ts.map +1 -0
- package/dist/versioning/types.js +49 -18
- package/dist/versioning/utils.d.ts +18 -19
- package/dist/versioning/utils.d.ts.map +1 -0
- package/dist/versioning/utils.js +158 -154
- package/dist/versioning/utils.test.d.ts +5 -0
- package/dist/versioning/utils.test.d.ts.map +1 -0
- package/dist/workflow/adapters/db-adapter.d.ts +39 -41
- package/dist/workflow/adapters/db-adapter.d.ts.map +1 -0
- package/dist/workflow/adapters/db-adapter.js +125 -81
- package/dist/workflow/adapters/file-adapter.d.ts +6 -9
- package/dist/workflow/adapters/file-adapter.d.ts.map +1 -0
- package/dist/workflow/adapters/file-adapter.js +36 -9
- package/dist/workflow/adapters/index.d.ts +4 -4
- package/dist/workflow/adapters/index.d.ts.map +1 -0
- package/dist/workflow/adapters/index.js +193 -4
- package/dist/workflow/adapters/memory-store.d.ts +9 -13
- package/dist/workflow/adapters/memory-store.d.ts.map +1 -0
- package/dist/workflow/adapters/memory-store.js +89 -54
- package/dist/workflow/context.d.ts +168 -141
- package/dist/workflow/context.d.ts.map +1 -0
- package/dist/workflow/context.js +237 -217
- package/dist/workflow/context.test.d.ts +2 -0
- package/dist/workflow/context.test.d.ts.map +1 -0
- package/dist/workflow/expression.d.ts +6 -8
- package/dist/workflow/expression.d.ts.map +1 -0
- package/dist/workflow/expression.js +143 -85
- package/dist/workflow/expression.test.d.ts +2 -0
- package/dist/workflow/expression.test.d.ts.map +1 -0
- package/dist/workflow/index.d.ts +11 -17
- package/dist/workflow/index.d.ts.map +1 -0
- package/dist/workflow/index.js +1546 -18
- package/dist/workflow/overview.docblock.d.ts +3 -6
- package/dist/workflow/overview.docblock.d.ts.map +1 -0
- package/dist/workflow/overview.docblock.js +162 -19
- package/dist/workflow/runner.d.ts +65 -70
- package/dist/workflow/runner.d.ts.map +1 -0
- package/dist/workflow/runner.js +519 -324
- package/dist/workflow/runner.test.d.ts +2 -0
- package/dist/workflow/runner.test.d.ts.map +1 -0
- package/dist/workflow/sla-monitor.d.ts +15 -18
- package/dist/workflow/sla-monitor.d.ts.map +1 -0
- package/dist/workflow/sla-monitor.js +82 -45
- package/dist/workflow/spec.d.ts +71 -75
- package/dist/workflow/spec.d.ts.map +1 -0
- package/dist/workflow/spec.js +219 -9
- package/dist/workflow/state.d.ts +28 -31
- package/dist/workflow/state.d.ts.map +1 -0
- package/dist/workflow/state.js +1 -0
- package/dist/workflow/validation.d.ts +35 -38
- package/dist/workflow/validation.d.ts.map +1 -0
- package/dist/workflow/validation.js +396 -340
- package/dist/workflow/validation.test.d.ts +2 -0
- package/dist/workflow/validation.test.d.ts.map +1 -0
- package/dist/workspace-config/contractsrc-schema.d.ts +44 -41
- package/dist/workspace-config/contractsrc-schema.d.ts.map +1 -0
- package/dist/workspace-config/contractsrc-schema.js +312 -390
- package/dist/workspace-config/contractsrc-schema.test.d.ts +2 -0
- package/dist/workspace-config/contractsrc-schema.test.d.ts.map +1 -0
- package/dist/workspace-config/contractsrc-types.d.ts +302 -304
- package/dist/workspace-config/contractsrc-types.d.ts.map +1 -0
- package/dist/workspace-config/contractsrc-types.js +1 -0
- package/dist/workspace-config/index.d.ts +6 -3
- package/dist/workspace-config/index.d.ts.map +1 -0
- package/dist/workspace-config/index.js +325 -3
- package/dist/workspace-config/workspace-config.docblock.d.ts +3 -6
- package/dist/workspace-config/workspace-config.docblock.d.ts.map +1 -0
- package/dist/workspace-config/workspace-config.docblock.js +163 -20
- package/package.json +2743 -587
- package/dist/_virtual/rolldown_runtime.js +0 -37
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/elevenlabs-voice.js +0 -95
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gcs-storage.js +0 -88
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-inbound.js +0 -200
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/gmail-outbound.js +0 -105
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/google-calendar.js +0 -154
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/index.js +0 -16
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-embedding.js +0 -41
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/mistral-llm.js +0 -247
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/postmark-email.js +0 -55
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-client.js +0 -171
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/powens-openbanking.js +0 -218
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/provider-factory.js +0 -146
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/qdrant-vector.js +0 -69
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/stripe-payments.js +0 -202
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/impls/twilio-sms.js +0 -58
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.test.d.ts","sourceRoot":"","sources":["../../src/translations/validation.test.ts"],"names":[],"mappings":""}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import { ConsentDefinition, PolicySpec, RateLimitDefinition } from "./policy/spec.js";
|
|
2
|
-
import { TelemetryTracker } from "./telemetry/tracker.js";
|
|
3
|
-
import "./telemetry/index.js";
|
|
4
|
-
import { ResolvedBranding } from "./app-config/branding.js";
|
|
5
|
-
import { Locale, MessageKey } from "./translations/catalog.js";
|
|
6
|
-
import { ResolvedAppConfig, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation } from "./app-config/runtime.js";
|
|
7
|
-
import { SecretProvider } from "./integrations/secrets/provider.js";
|
|
8
|
-
import { SpecVariantResolver } from "./experiments/spec-resolver.js";
|
|
9
|
-
import { EventRegistry } from "./events.js";
|
|
10
|
-
|
|
11
|
-
//#region src/types.d.ts
|
|
12
|
-
|
|
13
1
|
/**
|
|
14
2
|
* Common runtime types for ContractSpec execution.
|
|
15
3
|
*
|
|
@@ -25,7 +13,7 @@ import { EventRegistry } from "./events.js";
|
|
|
25
13
|
* - `user`: Authenticated end-user
|
|
26
14
|
* - `admin`: Administrative/system user with elevated privileges
|
|
27
15
|
*/
|
|
28
|
-
type Actor = 'anonymous' | 'user' | 'admin';
|
|
16
|
+
export type Actor = 'anonymous' | 'user' | 'admin';
|
|
29
17
|
/**
|
|
30
18
|
* Channel through which a request originates.
|
|
31
19
|
*
|
|
@@ -34,24 +22,32 @@ type Actor = 'anonymous' | 'user' | 'admin';
|
|
|
34
22
|
* - `job`: Background job/scheduled task
|
|
35
23
|
* - `agent`: AI agent or automated system
|
|
36
24
|
*/
|
|
37
|
-
type Channel = 'web' | 'mobile' | 'job' | 'agent' | 'ci';
|
|
25
|
+
export type Channel = 'web' | 'mobile' | 'job' | 'agent' | 'ci';
|
|
26
|
+
import type { ConsentDefinition, PolicySpec, RateLimitDefinition } from './policy/spec';
|
|
27
|
+
import type { TelemetryTracker } from './telemetry';
|
|
28
|
+
import type { ResolvedAppConfig, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation } from './app-config/runtime';
|
|
29
|
+
import type { ResolvedBranding } from './app-config/branding';
|
|
30
|
+
import type { Locale, MessageKey } from './translations/catalog';
|
|
31
|
+
import type { SecretProvider } from './integrations/secrets/provider';
|
|
32
|
+
import type { SpecVariantResolver } from './experiments/spec-resolver';
|
|
33
|
+
import type { EventRegistry } from './events';
|
|
38
34
|
/**
|
|
39
35
|
* Discriminator for all ContractSpec specification types.
|
|
40
36
|
*
|
|
41
37
|
* Used to identify the kind of spec in registries and runtime operations.
|
|
42
38
|
*/
|
|
43
|
-
type ContractSpecType = 'operation' | 'event' | 'presentation' | 'feature' | 'capability' | 'data-view' | 'form' | 'agent' | 'migration' | 'workflow' | 'experiment' | 'integration' | 'theme' | 'knowledge' | 'telemetry' | 'example' | 'app-config' | 'policy' | 'test-spec' | 'type' | 'knowledge-space';
|
|
39
|
+
export type ContractSpecType = 'operation' | 'event' | 'presentation' | 'feature' | 'capability' | 'data-view' | 'form' | 'agent' | 'migration' | 'workflow' | 'experiment' | 'integration' | 'theme' | 'knowledge' | 'telemetry' | 'example' | 'app-config' | 'product-intent' | 'policy' | 'test-spec' | 'type' | 'knowledge-space';
|
|
44
40
|
/**
|
|
45
41
|
* Decision for a specific field access.
|
|
46
42
|
* Used for fine-grained field-level authorization.
|
|
47
43
|
*/
|
|
48
|
-
interface FieldLevelDecision {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
44
|
+
export interface FieldLevelDecision {
|
|
45
|
+
/** The field path being evaluated. */
|
|
46
|
+
field: string;
|
|
47
|
+
/** Whether access is allowed or denied. */
|
|
48
|
+
effect: 'allow' | 'deny';
|
|
49
|
+
/** Human-readable reason for the decision. */
|
|
50
|
+
reason?: string;
|
|
55
51
|
}
|
|
56
52
|
/**
|
|
57
53
|
* Result of a policy evaluation.
|
|
@@ -59,52 +55,52 @@ interface FieldLevelDecision {
|
|
|
59
55
|
* Contains the access decision and any applicable constraints
|
|
60
56
|
* like rate limits, escalation requirements, or consent needs.
|
|
61
57
|
*/
|
|
62
|
-
interface PolicyDecision {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
58
|
+
export interface PolicyDecision {
|
|
59
|
+
/** Overall access decision: allow or deny. */
|
|
60
|
+
effect: 'allow' | 'deny';
|
|
61
|
+
/** Human-readable reason for the decision. */
|
|
62
|
+
reason?: string;
|
|
63
|
+
/** Rate limit constraints to apply if allowed. */
|
|
64
|
+
rateLimit?: Pick<RateLimitDefinition, 'rpm' | 'key' | 'windowSeconds' | 'burst'>;
|
|
65
|
+
/** Escalation requirement for manual review. */
|
|
66
|
+
escalate?: 'human_review' | null;
|
|
67
|
+
/** Per-field access decisions. */
|
|
68
|
+
fieldDecisions?: FieldLevelDecision[];
|
|
69
|
+
/** PII handling policy. */
|
|
70
|
+
pii?: PolicySpec['pii'];
|
|
71
|
+
/** Consents required before proceeding. */
|
|
72
|
+
requiredConsents?: ConsentDefinition[];
|
|
73
|
+
/** Which engine produced this decision. */
|
|
74
|
+
evaluatedBy?: 'engine' | 'opa';
|
|
79
75
|
}
|
|
80
76
|
/**
|
|
81
77
|
* Input for policy evaluation.
|
|
82
78
|
* Contains context about the request being authorized.
|
|
83
79
|
*/
|
|
84
|
-
interface PolicyDeciderInput {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
80
|
+
export interface PolicyDeciderInput {
|
|
81
|
+
/** Service name (e.g., "sigil"). */
|
|
82
|
+
service: string;
|
|
83
|
+
/** Command/operation name (e.g., "beginSignup"). */
|
|
84
|
+
command: string;
|
|
85
|
+
/** Operation version. */
|
|
86
|
+
version: string;
|
|
87
|
+
/** Actor type making the request. */
|
|
88
|
+
actor: Actor;
|
|
89
|
+
/** Channel the request came from. */
|
|
90
|
+
channel?: Channel;
|
|
91
|
+
/** Roles assigned to the actor. */
|
|
92
|
+
roles?: string[];
|
|
93
|
+
/** Organization context if applicable. */
|
|
94
|
+
organizationId?: string | null;
|
|
95
|
+
/** User context if authenticated. */
|
|
96
|
+
userId?: string | null;
|
|
97
|
+
/** Active feature flags. */
|
|
98
|
+
flags?: string[];
|
|
103
99
|
}
|
|
104
100
|
/**
|
|
105
101
|
* Function that evaluates policy rules and returns a decision.
|
|
106
102
|
*/
|
|
107
|
-
type PolicyDecider = (input: PolicyDeciderInput) => Promise<PolicyDecision>;
|
|
103
|
+
export type PolicyDecider = (input: PolicyDeciderInput) => Promise<PolicyDecision>;
|
|
108
104
|
/**
|
|
109
105
|
* Function that enforces rate limits.
|
|
110
106
|
*
|
|
@@ -113,24 +109,24 @@ type PolicyDecider = (input: PolicyDeciderInput) => Promise<PolicyDecision>;
|
|
|
113
109
|
* @param rpm - Requests per minute limit
|
|
114
110
|
* @throws When rate limit is exceeded
|
|
115
111
|
*/
|
|
116
|
-
type RateLimiter = (key: string, cost: number, rpm: number) => Promise<void>;
|
|
112
|
+
export type RateLimiter = (key: string, cost: number, rpm: number) => Promise<void>;
|
|
117
113
|
/**
|
|
118
114
|
* Function that resolves translation keys to localized strings.
|
|
119
115
|
*/
|
|
120
|
-
type TranslationResolver = (key: MessageKey, locale?: Locale) => Promise<string | null> | string | null;
|
|
116
|
+
export type TranslationResolver = (key: MessageKey, locale?: Locale) => Promise<string | null> | string | null;
|
|
121
117
|
/**
|
|
122
118
|
* Function that publishes events to the outbox/message bus.
|
|
123
119
|
* Called after validation and guard checks pass.
|
|
124
120
|
*/
|
|
125
|
-
type EventPublisher = (envelope: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
121
|
+
export type EventPublisher = (envelope: {
|
|
122
|
+
/** Event key (e.g., "user.created"). */
|
|
123
|
+
key: string;
|
|
124
|
+
/** Event version. */
|
|
125
|
+
version: string;
|
|
126
|
+
/** Validated event payload. */
|
|
127
|
+
payload: unknown;
|
|
128
|
+
/** Trace ID for correlation. */
|
|
129
|
+
traceId?: string;
|
|
134
130
|
}) => Promise<void>;
|
|
135
131
|
/**
|
|
136
132
|
* Execution context passed to operation handlers.
|
|
@@ -163,56 +159,55 @@ type EventPublisher = (envelope: {
|
|
|
163
159
|
* }
|
|
164
160
|
* ```
|
|
165
161
|
*/
|
|
166
|
-
interface HandlerCtx {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
162
|
+
export interface HandlerCtx {
|
|
163
|
+
/** Distributed trace identifier for request correlation. */
|
|
164
|
+
traceId?: string;
|
|
165
|
+
/** Idempotency key for deduplication. */
|
|
166
|
+
idemKey?: string;
|
|
167
|
+
/** Organization context for multi-tenant operations. */
|
|
168
|
+
organizationId?: string | null;
|
|
169
|
+
/** Authenticated user ID. */
|
|
170
|
+
userId?: string | null;
|
|
171
|
+
/** Actor type making the request. */
|
|
172
|
+
actor?: Actor;
|
|
173
|
+
/** Channel the request originated from. */
|
|
174
|
+
channel?: Channel;
|
|
175
|
+
/** Roles assigned to the authenticated user. */
|
|
176
|
+
roles?: string[];
|
|
177
|
+
/** Policy engine for authorization decisions. */
|
|
178
|
+
decide?: PolicyDecider;
|
|
179
|
+
/** Rate limiter service (e.g., Redis-backed). */
|
|
180
|
+
rateLimit?: RateLimiter;
|
|
181
|
+
/** Telemetry tracker for metrics and events. */
|
|
182
|
+
telemetry?: TelemetryTracker;
|
|
183
|
+
/** Event publisher for domain events (outbox/bus). */
|
|
184
|
+
eventPublisher?: EventPublisher;
|
|
185
|
+
/** Secret provider for secure credential access. */
|
|
186
|
+
secretProvider?: SecretProvider;
|
|
187
|
+
/**
|
|
188
|
+
* Internal emit guard for enforcing declared event emissions.
|
|
189
|
+
* Populated by the executor runtime.
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
192
|
+
__emitGuard__?: (key: string, version: string, payload: unknown) => Promise<void>;
|
|
193
|
+
/** Resolved application configuration for this execution. */
|
|
194
|
+
appConfig?: ResolvedAppConfig;
|
|
195
|
+
/** Resolved integration connections available to this execution. */
|
|
196
|
+
integrations?: ResolvedIntegration[];
|
|
197
|
+
/** Resolved knowledge spaces available to this execution. */
|
|
198
|
+
knowledge?: ResolvedKnowledge[];
|
|
199
|
+
/** Resolved branding context (logos, colors, etc.). */
|
|
200
|
+
branding?: ResolvedBranding;
|
|
201
|
+
/** Translation context with config and resolver. */
|
|
202
|
+
translation?: {
|
|
203
|
+
/** Resolved translation configuration. */
|
|
204
|
+
config: ResolvedTranslation;
|
|
205
|
+
/** Function to resolve translation keys. */
|
|
206
|
+
resolve?: TranslationResolver;
|
|
207
|
+
};
|
|
208
|
+
/** Spec variant resolver for A/B testing and experiments. */
|
|
209
|
+
specVariantResolver?: SpecVariantResolver;
|
|
210
|
+
/** Event registry for runtime event spec lookup. */
|
|
211
|
+
eventSpecResolver?: EventRegistry;
|
|
216
212
|
}
|
|
217
|
-
//#
|
|
218
|
-
export { Actor, Channel, ContractSpecType, EventPublisher, FieldLevelDecision, HandlerCtx, PolicyDecider, PolicyDeciderInput, PolicyDecision, RateLimiter, TranslationResolver };
|
|
213
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH;;;;;;GAMG;AACH,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnD;;;;;;;GAOG;AACH,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,IAAI,CAAC;AAEhE,OAAO,KAAK,EACV,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAM9C;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,OAAO,GACP,cAAc,GACd,SAAS,GACT,YAAY,GACZ,WAAW,GACX,MAAM,GACN,OAAO,GACP,WAAW,GACX,UAAU,GACV,YAAY,GACZ,aAAa,GACb,OAAO,GACP,WAAW,GACX,WAAW,GACX,SAAS,GACT,YAAY,GACZ,gBAAgB,GAChB,QAAQ,GACR,WAAW,GACX,MAAM,GACN,iBAAiB,CAAC;AAMtB;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,SAAS,CAAC,EAAE,IAAI,CACd,mBAAmB,EACnB,KAAK,GAAG,KAAK,GAAG,eAAe,GAAG,OAAO,CAC1C,CAAC;IACF,gDAAgD;IAChD,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACjC,kCAAkC;IAClC,cAAc,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACtC,2BAA2B;IAC3B,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IACxB,2CAA2C;IAC3C,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACvC,2CAA2C;IAC3C,WAAW,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,qCAAqC;IACrC,KAAK,EAAE,KAAK,CAAC;IACb,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,CAC1B,KAAK,EAAE,kBAAkB,KACtB,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,CACxB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,KACR,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAChC,GAAG,EAAE,UAAU,EACf,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,QAAQ,EAAE;IACtC,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,qBAAqB;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAMpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,UAAU;IACzB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,6BAA6B;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,qCAAqC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,iDAAiD;IACjD,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,iDAAiD;IACjD,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,gDAAgD;IAChD,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,sDAAsD;IACtD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,oDAAoD;IACpD,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;;;OAIG;IACH,aAAa,CAAC,EAAE,CACd,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,OAAO,KACb,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,oEAAoE;IACpE,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC,6DAA6D;IAC7D,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAChC,uDAAuD;IACvD,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,oDAAoD;IACpD,WAAW,CAAC,EAAE;QACZ,0CAA0C;QAC1C,MAAM,EAAE,mBAAmB,CAAC;QAC5B,4CAA4C;QAC5C,OAAO,CAAC,EAAE,mBAAmB,CAAC;KAC/B,CAAC;IACF,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC"}
|
package/dist/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Versioning module exports.
|
|
3
|
+
*
|
|
4
|
+
* Provides types and utilities for semantic versioning,
|
|
5
|
+
* changelog management, version analysis, and spec references.
|
|
6
|
+
*/
|
|
7
|
+
export * from './refs';
|
|
8
|
+
export * from './types';
|
|
9
|
+
export * from './utils';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/versioning/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
package/dist/versioning/index.js
CHANGED
|
@@ -1,5 +1,274 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// @bun
|
|
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 = import.meta.require;
|
|
4
31
|
|
|
5
|
-
|
|
32
|
+
// src/versioning/refs.ts
|
|
33
|
+
function isVersionedSpecRef(ref) {
|
|
34
|
+
return typeof ref === "object" && ref !== null && "key" in ref && typeof ref.key === "string" && ref.key.length > 0 && "version" in ref && typeof ref.version === "string" && ref.version.length > 0;
|
|
35
|
+
}
|
|
36
|
+
function isOptionalVersionedSpecRef(ref) {
|
|
37
|
+
if (typeof ref !== "object" || ref === null)
|
|
38
|
+
return false;
|
|
39
|
+
if (!("key" in ref))
|
|
40
|
+
return false;
|
|
41
|
+
if (typeof ref.key !== "string" || ref.key.length === 0) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
if ("version" in ref && ref.version != null) {
|
|
45
|
+
return typeof ref.version === "string";
|
|
46
|
+
}
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function isSpecKeyRef(ref) {
|
|
50
|
+
return typeof ref === "object" && ref !== null && "key" in ref && typeof ref.key === "string" && ref.key.length > 0;
|
|
51
|
+
}
|
|
52
|
+
function createVersionedRef(key, version) {
|
|
53
|
+
if (!key || key.trim().length === 0) {
|
|
54
|
+
throw new Error("Spec key cannot be empty");
|
|
55
|
+
}
|
|
56
|
+
if (!version || version.trim().length === 0) {
|
|
57
|
+
throw new Error("Spec version cannot be empty");
|
|
58
|
+
}
|
|
59
|
+
return { key: key.trim(), version: version.trim() };
|
|
60
|
+
}
|
|
61
|
+
function createOptionalRef(key, version) {
|
|
62
|
+
if (!key || key.trim().length === 0) {
|
|
63
|
+
throw new Error("Spec key cannot be empty");
|
|
64
|
+
}
|
|
65
|
+
const ref = { key: key.trim() };
|
|
66
|
+
if (version != null && version.trim().length > 0) {
|
|
67
|
+
ref.version = version.trim();
|
|
68
|
+
}
|
|
69
|
+
return ref;
|
|
70
|
+
}
|
|
71
|
+
function createKeyRef(key) {
|
|
72
|
+
if (!key || key.trim().length === 0) {
|
|
73
|
+
throw new Error("Spec key cannot be empty");
|
|
74
|
+
}
|
|
75
|
+
return { key: key.trim() };
|
|
76
|
+
}
|
|
77
|
+
function formatVersionedRefKey(ref) {
|
|
78
|
+
return `${ref.key}.v${ref.version}`;
|
|
79
|
+
}
|
|
80
|
+
function parseVersionedRefKey(refKey) {
|
|
81
|
+
const match = refKey.match(/^(.+)\.v(\d+\.\d+\.\d+(?:-.+)?)$/);
|
|
82
|
+
if (!match)
|
|
83
|
+
return;
|
|
84
|
+
const key = match[1];
|
|
85
|
+
const version = match[2];
|
|
86
|
+
if (!key || !version)
|
|
87
|
+
return;
|
|
88
|
+
return { key, version };
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// src/versioning/types.ts
|
|
92
|
+
function isChangelogDocBlock(doc) {
|
|
93
|
+
return doc.kind === "changelog" && "specKey" in doc && "entries" in doc;
|
|
94
|
+
}
|
|
95
|
+
function isVersionBumpType(value) {
|
|
96
|
+
return value === "patch" || value === "minor" || value === "major";
|
|
97
|
+
}
|
|
98
|
+
function isChangeType(value) {
|
|
99
|
+
const validTypes = [
|
|
100
|
+
"added",
|
|
101
|
+
"changed",
|
|
102
|
+
"fixed",
|
|
103
|
+
"removed",
|
|
104
|
+
"deprecated",
|
|
105
|
+
"breaking",
|
|
106
|
+
"security"
|
|
107
|
+
];
|
|
108
|
+
return typeof value === "string" && validTypes.includes(value);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// src/versioning/utils.ts
|
|
112
|
+
var SEMVER_REGEX = /^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*))?(?:\+([a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*))?$/;
|
|
113
|
+
function parseVersion(version) {
|
|
114
|
+
const match = version.trim().match(SEMVER_REGEX);
|
|
115
|
+
if (!match) {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
const majorStr = match[1];
|
|
119
|
+
const minorStr = match[2];
|
|
120
|
+
const patchStr = match[3];
|
|
121
|
+
const prerelease = match[4];
|
|
122
|
+
const build = match[5];
|
|
123
|
+
if (!majorStr || !minorStr || !patchStr) {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
return {
|
|
127
|
+
major: parseInt(majorStr, 10),
|
|
128
|
+
minor: parseInt(minorStr, 10),
|
|
129
|
+
patch: parseInt(patchStr, 10),
|
|
130
|
+
...prerelease && { prerelease },
|
|
131
|
+
...build && { build }
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function parseVersionStrict(version) {
|
|
135
|
+
const parsed = parseVersion(version);
|
|
136
|
+
if (!parsed) {
|
|
137
|
+
throw new Error(`Invalid semantic version: "${version}"`);
|
|
138
|
+
}
|
|
139
|
+
return parsed;
|
|
140
|
+
}
|
|
141
|
+
function formatVersion(version) {
|
|
142
|
+
let result = `${version.major}.${version.minor}.${version.patch}`;
|
|
143
|
+
if (version.prerelease) {
|
|
144
|
+
result += `-${version.prerelease}`;
|
|
145
|
+
}
|
|
146
|
+
if (version.build) {
|
|
147
|
+
result += `+${version.build}`;
|
|
148
|
+
}
|
|
149
|
+
return result;
|
|
150
|
+
}
|
|
151
|
+
function compareVersions(a, b) {
|
|
152
|
+
const versionA = parseVersionStrict(a);
|
|
153
|
+
const versionB = parseVersionStrict(b);
|
|
154
|
+
if (versionA.major !== versionB.major) {
|
|
155
|
+
return versionA.major > versionB.major ? 1 : -1;
|
|
156
|
+
}
|
|
157
|
+
if (versionA.minor !== versionB.minor) {
|
|
158
|
+
return versionA.minor > versionB.minor ? 1 : -1;
|
|
159
|
+
}
|
|
160
|
+
if (versionA.patch !== versionB.patch) {
|
|
161
|
+
return versionA.patch > versionB.patch ? 1 : -1;
|
|
162
|
+
}
|
|
163
|
+
if (versionA.prerelease && !versionB.prerelease) {
|
|
164
|
+
return -1;
|
|
165
|
+
}
|
|
166
|
+
if (!versionA.prerelease && versionB.prerelease) {
|
|
167
|
+
return 1;
|
|
168
|
+
}
|
|
169
|
+
if (versionA.prerelease && versionB.prerelease) {
|
|
170
|
+
return versionA.prerelease < versionB.prerelease ? -1 : versionA.prerelease > versionB.prerelease ? 1 : 0;
|
|
171
|
+
}
|
|
172
|
+
return 0;
|
|
173
|
+
}
|
|
174
|
+
function isVersionGreater(a, b) {
|
|
175
|
+
return compareVersions(a, b) === 1;
|
|
176
|
+
}
|
|
177
|
+
function isVersionLess(a, b) {
|
|
178
|
+
return compareVersions(a, b) === -1;
|
|
179
|
+
}
|
|
180
|
+
function isVersionEqual(a, b) {
|
|
181
|
+
return compareVersions(a, b) === 0;
|
|
182
|
+
}
|
|
183
|
+
function bumpVersion(current, bumpType) {
|
|
184
|
+
const version = parseVersionStrict(current);
|
|
185
|
+
switch (bumpType) {
|
|
186
|
+
case "major":
|
|
187
|
+
return formatVersion({
|
|
188
|
+
major: version.major + 1,
|
|
189
|
+
minor: 0,
|
|
190
|
+
patch: 0
|
|
191
|
+
});
|
|
192
|
+
case "minor":
|
|
193
|
+
return formatVersion({
|
|
194
|
+
major: version.major,
|
|
195
|
+
minor: version.minor + 1,
|
|
196
|
+
patch: 0
|
|
197
|
+
});
|
|
198
|
+
case "patch":
|
|
199
|
+
return formatVersion({
|
|
200
|
+
major: version.major,
|
|
201
|
+
minor: version.minor,
|
|
202
|
+
patch: version.patch + 1
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
function determineBumpType(hasBreaking, hasNonBreaking) {
|
|
207
|
+
if (hasBreaking) {
|
|
208
|
+
return "major";
|
|
209
|
+
}
|
|
210
|
+
if (hasNonBreaking) {
|
|
211
|
+
return "minor";
|
|
212
|
+
}
|
|
213
|
+
return "patch";
|
|
214
|
+
}
|
|
215
|
+
function getBumpTypePriority(bumpType) {
|
|
216
|
+
switch (bumpType) {
|
|
217
|
+
case "major":
|
|
218
|
+
return 3;
|
|
219
|
+
case "minor":
|
|
220
|
+
return 2;
|
|
221
|
+
case "patch":
|
|
222
|
+
return 1;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
function getMaxBumpType(bumpTypes) {
|
|
226
|
+
if (bumpTypes.length === 0) {
|
|
227
|
+
return null;
|
|
228
|
+
}
|
|
229
|
+
return bumpTypes.reduce((max, current) => getBumpTypePriority(current) > getBumpTypePriority(max) ? current : max);
|
|
230
|
+
}
|
|
231
|
+
function isValidVersion(version) {
|
|
232
|
+
return parseVersion(version) !== null;
|
|
233
|
+
}
|
|
234
|
+
function validateVersion(version) {
|
|
235
|
+
const errors = [];
|
|
236
|
+
if (!version || typeof version !== "string") {
|
|
237
|
+
errors.push("Version must be a non-empty string");
|
|
238
|
+
return errors;
|
|
239
|
+
}
|
|
240
|
+
const trimmed = version.trim();
|
|
241
|
+
if (trimmed !== version) {
|
|
242
|
+
errors.push("Version should not have leading or trailing whitespace");
|
|
243
|
+
}
|
|
244
|
+
if (!parseVersion(trimmed)) {
|
|
245
|
+
errors.push(`Invalid semantic version format: "${version}". Expected format: MAJOR.MINOR.PATCH[-prerelease][+build]`);
|
|
246
|
+
}
|
|
247
|
+
return errors;
|
|
248
|
+
}
|
|
249
|
+
export {
|
|
250
|
+
validateVersion,
|
|
251
|
+
parseVersionedRefKey,
|
|
252
|
+
parseVersionStrict,
|
|
253
|
+
parseVersion,
|
|
254
|
+
isVersionedSpecRef,
|
|
255
|
+
isVersionLess,
|
|
256
|
+
isVersionGreater,
|
|
257
|
+
isVersionEqual,
|
|
258
|
+
isVersionBumpType,
|
|
259
|
+
isValidVersion,
|
|
260
|
+
isSpecKeyRef,
|
|
261
|
+
isOptionalVersionedSpecRef,
|
|
262
|
+
isChangelogDocBlock,
|
|
263
|
+
isChangeType,
|
|
264
|
+
getMaxBumpType,
|
|
265
|
+
getBumpTypePriority,
|
|
266
|
+
formatVersionedRefKey,
|
|
267
|
+
formatVersion,
|
|
268
|
+
determineBumpType,
|
|
269
|
+
createVersionedRef,
|
|
270
|
+
createOptionalRef,
|
|
271
|
+
createKeyRef,
|
|
272
|
+
compareVersions,
|
|
273
|
+
bumpVersion
|
|
274
|
+
};
|