@lssm/lib.contracts 1.11.1 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/_virtual/rolldown_runtime.js +1 -0
- package/dist/app-config/app-config.feature.js +1 -0
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/docs/app-config.docblock.js +220 -0
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/index.js +1 -1
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/capabilities/docs/capabilities.docblock.js +1 -0
- package/dist/contract-registry/index.js +1 -0
- package/dist/contract-registry/schemas.js +1 -0
- package/dist/contract-registry/types.js +0 -0
- package/dist/data-views/docs/data-views.docblock.js +1 -0
- package/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/docs/index.js +1 -0
- package/dist/docs/meta.docs.js +13 -0
- package/dist/docs/presentations.js +1 -0
- package/dist/docs/registry.js +1 -0
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/docs/tech/contracts/README.docblock.js +1 -0
- package/dist/docs/tech/contracts/create-subscription.docblock.js +1 -0
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +180 -0
- package/dist/docs/tech/contracts/migrations.docblock.js +1 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +62 -0
- package/dist/docs/tech/contracts/overlays.docblock.js +68 -0
- package/dist/docs/tech/contracts/tests.docblock.js +132 -0
- package/dist/docs/tech/contracts/themes.docblock.js +1 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/docs/tech-contracts.docs.js +76 -0
- package/dist/docs/types.js +0 -0
- package/dist/events.js +1 -1
- package/dist/experiments/docs/experiments.docblock.js +128 -0
- package/dist/forms/docs/forms.docblock.js +1 -0
- package/dist/index.js +1 -1
- package/dist/install.js +1 -1
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/docs/integrations.docblock.js +1 -0
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/index.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/integrations/openbanking/openbanking.feature.js +1 -0
- package/dist/integrations/providers/impls/index.js +1 -1
- package/dist/integrations/providers/impls/provider-factory.js +1 -1
- package/dist/integrations/providers/index.js +1 -1
- package/dist/integrations/providers/registry.js +1 -0
- package/dist/integrations/secrets/aws-secret-manager.js +1 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
- package/dist/integrations/secrets/index.js +1 -1
- package/dist/integrations/secrets/scaleway-secret-manager.js +1 -0
- package/dist/jobs/define-job.js +1 -0
- package/dist/jobs/gcp-cloud-tasks.js +1 -1
- package/dist/jobs/gcp-pubsub.js +1 -1
- package/dist/jobs/handlers/index.js +1 -1
- package/dist/jobs/handlers/ping-handler.js +1 -0
- package/dist/jobs/index.js +1 -1
- package/dist/jobs/memory-queue.js +1 -1
- package/dist/jobs/queue.js +1 -0
- package/dist/jobs/scaleway-sqs-queue.js +1 -0
- package/dist/knowledge/contracts.js +1 -1
- package/dist/knowledge/docs/knowledge.docblock.js +138 -0
- package/dist/llm/exporters.js +8 -0
- package/dist/llm/index.js +1 -0
- package/dist/llm/prompts.js +220 -0
- package/dist/llm/types.js +0 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/calculate-complexity.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/defaults.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/types.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/util.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/validator.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/interface.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/node.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/object.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/union.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/schema-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/util.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/connection-helpers.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/interface-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/model-loader.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/node-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/object-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/prisma-field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/schema-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/types.js +0 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/cursors.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/datamodel.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/deep-equal.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/description.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/get-client.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/loader-map.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/map-query.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/relation-map.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/selections.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/usage.js +1 -0
- package/dist/node_modules/@pothos/plugin-tracing/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-tracing/esm/util.js +1 -0
- package/dist/node_modules/dataloader/index.js +7 -0
- package/dist/node_modules/graphql/error/GraphQLError.js +5 -0
- package/dist/node_modules/graphql/error/index.js +1 -0
- package/dist/node_modules/graphql/error/locatedError.js +1 -0
- package/dist/node_modules/graphql/error/syntaxError.js +1 -0
- package/dist/node_modules/graphql/execution/collectFields.js +1 -0
- package/dist/node_modules/graphql/execution/execute.js +1 -0
- package/dist/node_modules/graphql/execution/index.js +1 -0
- package/dist/node_modules/graphql/execution/mapAsyncIterator.js +1 -0
- package/dist/node_modules/graphql/execution/subscribe.js +1 -0
- package/dist/node_modules/graphql/execution/values.js +1 -0
- package/dist/node_modules/graphql/graphql.js +1 -0
- package/dist/node_modules/graphql/index.js +1 -0
- package/dist/node_modules/graphql/jsutils/Path.js +1 -0
- package/dist/node_modules/graphql/jsutils/devAssert.js +1 -0
- package/dist/node_modules/graphql/jsutils/didYouMean.js +1 -0
- package/dist/node_modules/graphql/jsutils/groupBy.js +1 -0
- package/dist/node_modules/graphql/jsutils/identityFunc.js +1 -0
- package/dist/node_modules/graphql/jsutils/inspect.js +1 -0
- package/dist/node_modules/graphql/jsutils/instanceOf.js +12 -0
- package/dist/node_modules/graphql/jsutils/invariant.js +1 -0
- package/dist/node_modules/graphql/jsutils/isAsyncIterable.js +1 -0
- package/dist/node_modules/graphql/jsutils/isIterableObject.js +1 -0
- package/dist/node_modules/graphql/jsutils/isObjectLike.js +1 -0
- package/dist/node_modules/graphql/jsutils/isPromise.js +1 -0
- package/dist/node_modules/graphql/jsutils/keyMap.js +1 -0
- package/dist/node_modules/graphql/jsutils/keyValMap.js +1 -0
- package/dist/node_modules/graphql/jsutils/mapValue.js +1 -0
- package/dist/node_modules/graphql/jsutils/memoize3.js +1 -0
- package/dist/node_modules/graphql/jsutils/naturalCompare.js +1 -0
- package/dist/node_modules/graphql/jsutils/printPathArray.js +1 -0
- package/dist/node_modules/graphql/jsutils/promiseForObject.js +1 -0
- package/dist/node_modules/graphql/jsutils/promiseReduce.js +1 -0
- package/dist/node_modules/graphql/jsutils/suggestionList.js +1 -0
- package/dist/node_modules/graphql/jsutils/toError.js +1 -0
- package/dist/node_modules/graphql/jsutils/toObjMap.js +1 -0
- package/dist/node_modules/graphql/language/ast.js +1 -0
- package/dist/node_modules/graphql/language/blockString.js +3 -0
- package/dist/node_modules/graphql/language/characterClasses.js +1 -0
- package/dist/node_modules/graphql/language/directiveLocation.js +1 -0
- package/dist/node_modules/graphql/language/index.js +1 -0
- package/dist/node_modules/graphql/language/kinds.js +1 -0
- package/dist/node_modules/graphql/language/lexer.js +3 -0
- package/dist/node_modules/graphql/language/location.js +1 -0
- package/dist/node_modules/graphql/language/parser.js +1 -0
- package/dist/node_modules/graphql/language/predicates.js +1 -0
- package/dist/node_modules/graphql/language/printLocation.js +2 -0
- package/dist/node_modules/graphql/language/printString.js +1 -0
- package/dist/node_modules/graphql/language/printer.js +34 -0
- package/dist/node_modules/graphql/language/schemaCoordinateLexer.js +1 -0
- package/dist/node_modules/graphql/language/source.js +1 -0
- package/dist/node_modules/graphql/language/tokenKind.js +1 -0
- package/dist/node_modules/graphql/language/visitor.js +1 -0
- package/dist/node_modules/graphql/type/assertName.js +1 -0
- package/dist/node_modules/graphql/type/definition.js +1 -0
- package/dist/node_modules/graphql/type/directives.js +1 -0
- package/dist/node_modules/graphql/type/index.js +1 -0
- package/dist/node_modules/graphql/type/introspection.js +3 -0
- package/dist/node_modules/graphql/type/scalars.js +1 -0
- package/dist/node_modules/graphql/type/schema.js +1 -0
- package/dist/node_modules/graphql/type/validate.js +3 -0
- package/dist/node_modules/graphql/utilities/TypeInfo.js +1 -0
- package/dist/node_modules/graphql/utilities/assertValidName.js +1 -0
- package/dist/node_modules/graphql/utilities/astFromValue.js +1 -0
- package/dist/node_modules/graphql/utilities/buildASTSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/buildClientSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/coerceInputValue.js +1 -0
- package/dist/node_modules/graphql/utilities/concatAST.js +1 -0
- package/dist/node_modules/graphql/utilities/extendSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/findBreakingChanges.js +1 -0
- package/dist/node_modules/graphql/utilities/getIntrospectionQuery.js +107 -0
- package/dist/node_modules/graphql/utilities/getOperationAST.js +1 -0
- package/dist/node_modules/graphql/utilities/getOperationRootType.js +1 -0
- package/dist/node_modules/graphql/utilities/index.js +1 -0
- package/dist/node_modules/graphql/utilities/introspectionFromSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/lexicographicSortSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/printSchema.js +13 -0
- package/dist/node_modules/graphql/utilities/resolveSchemaCoordinate.js +1 -0
- package/dist/node_modules/graphql/utilities/separateOperations.js +1 -0
- package/dist/node_modules/graphql/utilities/sortValueNode.js +1 -0
- package/dist/node_modules/graphql/utilities/stripIgnoredCharacters.js +1 -0
- package/dist/node_modules/graphql/utilities/typeComparators.js +1 -0
- package/dist/node_modules/graphql/utilities/typeFromAST.js +1 -0
- package/dist/node_modules/graphql/utilities/valueFromAST.js +1 -0
- package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js +1 -0
- package/dist/node_modules/graphql/validation/ValidationContext.js +1 -0
- package/dist/node_modules/graphql/validation/index.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +1 -0
- package/dist/node_modules/graphql/validation/specifiedRules.js +1 -0
- package/dist/node_modules/graphql/validation/validate.js +5 -0
- package/dist/node_modules/graphql/version.js +1 -0
- package/dist/onboarding-base.js +1 -1
- package/dist/openapi.js +1 -0
- package/dist/openbanking/docs/openbanking.docblock.js +109 -0
- package/dist/policy/docs/policy.docblock.js +1 -0
- package/dist/presentations/docs/presentations-conventions.docblock.js +8 -0
- package/dist/presentations.js +1 -1
- package/dist/presentations.v2.js +7 -1
- package/dist/prompt.js +1 -1
- package/dist/promptRegistry.js +1 -1
- package/dist/regenerator/docs/regenerator.docblock.js +184 -0
- package/dist/registry.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/schema-to-markdown.js +10 -0
- package/dist/server/graphql-pothos.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/server/mcp/mcpTypes.js +0 -0
- package/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/server/mcp/registerPrompts.js +3 -0
- package/dist/server/mcp/registerResources.js +1 -0
- package/dist/server/mcp/registerTools.js +1 -0
- package/dist/server/provider-mcp.js +1 -1
- package/dist/telemetry/docs/telemetry.docblock.js +139 -0
- package/package.json +353 -193
- package/dist/app-config/branding.d.ts +0 -55
- package/dist/app-config/contracts.d.ts +0 -244
- package/dist/app-config/events.d.ts +0 -122
- package/dist/app-config/index.d.ts +0 -8
- package/dist/app-config/lifecycle-contracts.d.ts +0 -382
- package/dist/app-config/lifecycle.d.ts +0 -27
- package/dist/app-config/runtime.d.ts +0 -114
- package/dist/app-config/spec.d.ts +0 -175
- package/dist/app-config/validation.d.ts +0 -47
- package/dist/capabilities/openbanking.d.ts +0 -9
- package/dist/capabilities.d.ts +0 -45
- package/dist/client/index.d.ts +0 -6
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
- package/dist/client/react/drivers/shadcn.d.ts +0 -12
- package/dist/client/react/feature-render.d.ts +0 -20
- package/dist/client/react/form-render.d.ts +0 -91
- package/dist/client/react/index.d.ts +0 -5
- package/dist/contracts-adapter-hydration.d.ts +0 -15
- package/dist/contracts-adapter-input.d.ts +0 -10
- package/dist/data-views/query-generator.d.ts +0 -39
- package/dist/data-views/runtime.d.ts +0 -26
- package/dist/data-views.d.ts +0 -131
- package/dist/events.d.ts +0 -44
- package/dist/experiments/evaluator.d.ts +0 -37
- package/dist/experiments/spec-resolver.d.ts +0 -16
- package/dist/experiments/spec.d.ts +0 -89
- package/dist/features.d.ts +0 -87
- package/dist/forms.d.ts +0 -258
- package/dist/graphql-federation/dist/index.js +0 -1
- package/dist/index.d.ts +0 -130
- package/dist/install.d.ts +0 -76
- package/dist/integrations/binding.d.ts +0 -17
- package/dist/integrations/connection.d.ts +0 -51
- package/dist/integrations/contracts.d.ts +0 -435
- package/dist/integrations/health.d.ts +0 -21
- package/dist/integrations/index.d.ts +0 -53
- package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -287
- package/dist/integrations/openbanking/contracts/balances.d.ts +0 -163
- package/dist/integrations/openbanking/contracts/index.d.ts +0 -9
- package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -211
- package/dist/integrations/openbanking/guards.d.ts +0 -12
- package/dist/integrations/openbanking/models.d.ts +0 -228
- package/dist/integrations/openbanking/telemetry.d.ts +0 -15
- package/dist/integrations/providers/calendar.d.ts +0 -78
- package/dist/integrations/providers/elevenlabs.d.ts +0 -7
- package/dist/integrations/providers/email.d.ts +0 -86
- package/dist/integrations/providers/embedding.d.ts +0 -24
- package/dist/integrations/providers/gcs-storage.d.ts +0 -7
- package/dist/integrations/providers/gmail.d.ts +0 -7
- package/dist/integrations/providers/google-calendar.d.ts +0 -7
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/index.d.ts +0 -36
- package/dist/integrations/providers/llm.d.ts +0 -82
- package/dist/integrations/providers/mistral.d.ts +0 -7
- package/dist/integrations/providers/openbanking.d.ts +0 -128
- package/dist/integrations/providers/payments.d.ts +0 -109
- package/dist/integrations/providers/postmark.d.ts +0 -7
- package/dist/integrations/providers/powens.d.ts +0 -7
- package/dist/integrations/providers/qdrant.d.ts +0 -7
- package/dist/integrations/providers/sms.d.ts +0 -34
- package/dist/integrations/providers/storage.d.ts +0 -60
- package/dist/integrations/providers/stripe.d.ts +0 -7
- package/dist/integrations/providers/twilio-sms.d.ts +0 -7
- package/dist/integrations/providers/vector-store.d.ts +0 -43
- package/dist/integrations/providers/voice.d.ts +0 -34
- package/dist/integrations/runtime.d.ts +0 -99
- package/dist/integrations/secrets/env-secret-provider.d.ts +0 -31
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -32
- package/dist/integrations/secrets/index.d.ts +0 -5
- package/dist/integrations/secrets/manager.d.ts +0 -47
- package/dist/integrations/secrets/provider.d.ts +0 -52
- package/dist/integrations/spec.d.ts +0 -79
- package/dist/jobs/gcp-cloud-tasks.d.ts +0 -41
- package/dist/jobs/gcp-pubsub.d.ts +0 -25
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -9
- package/dist/jobs/handlers/index.d.ts +0 -3
- package/dist/jobs/handlers/storage-document-handler.d.ts +0 -12
- package/dist/jobs/index.d.ts +0 -7
- package/dist/jobs/memory-queue.d.ts +0 -18
- package/dist/jobs/queue.d.ts +0 -26
- package/dist/jsonschema.d.ts +0 -26
- package/dist/knowledge/binding.d.ts +0 -25
- package/dist/knowledge/contracts.d.ts +0 -316
- package/dist/knowledge/index.d.ts +0 -10
- package/dist/knowledge/ingestion/document-processor.d.ts +0 -24
- package/dist/knowledge/ingestion/embedding-service.d.ts +0 -12
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -18
- package/dist/knowledge/ingestion/index.d.ts +0 -6
- package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -15
- package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -18
- package/dist/knowledge/query/index.d.ts +0 -2
- package/dist/knowledge/query/service.d.ts +0 -29
- package/dist/knowledge/runtime.d.ts +0 -32
- package/dist/knowledge/source.d.ts +0 -32
- package/dist/knowledge/spaces/email-threads.d.ts +0 -7
- package/dist/knowledge/spaces/financial-docs.d.ts +0 -7
- package/dist/knowledge/spaces/financial-overview.d.ts +0 -7
- package/dist/knowledge/spaces/index.d.ts +0 -7
- package/dist/knowledge/spaces/product-canon.d.ts +0 -7
- package/dist/knowledge/spaces/support-faq.d.ts +0 -7
- package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -7
- package/dist/knowledge/spec.d.ts +0 -52
- package/dist/markdown.d.ts +0 -21
- package/dist/migrations.d.ts +0 -52
- package/dist/onboarding-base.d.ts +0 -137
- package/dist/ownership.d.ts +0 -75
- package/dist/policy/engine.d.ts +0 -39
- package/dist/policy/opa-adapter.d.ts +0 -45
- package/dist/policy/spec.d.ts +0 -114
- package/dist/presentations.backcompat.d.ts +0 -7
- package/dist/presentations.d.ts +0 -96
- package/dist/presentations.v2.d.ts +0 -95
- package/dist/prompt.d.ts +0 -60
- package/dist/promptRegistry.d.ts +0 -15
- package/dist/regenerator/adapters.d.ts +0 -19
- package/dist/regenerator/executor.d.ts +0 -70
- package/dist/regenerator/index.d.ts +0 -7
- package/dist/regenerator/service.d.ts +0 -33
- package/dist/regenerator/sinks.d.ts +0 -26
- package/dist/regenerator/types.d.ts +0 -107
- package/dist/regenerator/utils.d.ts +0 -9
- package/dist/registry.d.ts +0 -72
- package/dist/resources.d.ts +0 -64
- package/dist/schema/dist/EnumType.js +0 -1
- package/dist/schema/dist/FieldType.js +0 -1
- package/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/schema/dist/index.js +0 -1
- package/dist/server/graphql-pothos.d.ts +0 -31
- package/dist/server/graphql-schema-export.d.ts +0 -6
- package/dist/server/graphql-schema-export.js +0 -1
- package/dist/server/index.d.ts +0 -9
- package/dist/server/provider-mcp.d.ts +0 -51
- package/dist/server/rest-elysia.d.ts +0 -40
- package/dist/server/rest-express.d.ts +0 -16
- package/dist/server/rest-generic.d.ts +0 -32
- package/dist/server/rest-next-app.d.ts +0 -35
- package/dist/server/rest-next-mcp.d.ts +0 -11
- package/dist/server/rest-next-pages.d.ts +0 -9
- package/dist/spec.d.ts +0 -171
- package/dist/telemetry/anomaly.d.ts +0 -27
- package/dist/telemetry/index.d.ts +0 -4
- package/dist/telemetry/spec.d.ts +0 -98
- package/dist/telemetry/tracker.d.ts +0 -51
- package/dist/tests/index.d.ts +0 -3
- package/dist/tests/runner.d.ts +0 -43
- package/dist/tests/spec.d.ts +0 -89
- package/dist/themes.d.ts +0 -55
- package/dist/translations/catalog.d.ts +0 -28
- package/dist/translations/tenant.d.ts +0 -15
- package/dist/types/all.d.ts +0 -60
- package/dist/types.d.ts +0 -88
- package/dist/workflow/adapters/db-adapter.d.ts +0 -34
- package/dist/workflow/adapters/file-adapter.d.ts +0 -14
- package/dist/workflow/adapters/index.d.ts +0 -4
- package/dist/workflow/adapters/memory-store.d.ts +0 -18
- package/dist/workflow/expression.d.ts +0 -9
- package/dist/workflow/index.d.ts +0 -10
- package/dist/workflow/runner.d.ts +0 -74
- package/dist/workflow/sla-monitor.d.ts +0 -20
- package/dist/workflow/spec.d.ts +0 -99
- package/dist/workflow/state.d.ts +0 -35
- package/dist/workflow/validation.d.ts +0 -28
package/dist/jobs/queue.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region src/jobs/queue.d.ts
|
|
2
|
-
type JobStatus = 'pending' | 'running' | 'completed' | 'failed';
|
|
3
|
-
interface Job<TPayload = unknown> {
|
|
4
|
-
id: string;
|
|
5
|
-
type: string;
|
|
6
|
-
payload: TPayload;
|
|
7
|
-
status: JobStatus;
|
|
8
|
-
attempts: number;
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
updatedAt: Date;
|
|
11
|
-
lastError?: string;
|
|
12
|
-
}
|
|
13
|
-
interface EnqueueOptions {
|
|
14
|
-
delaySeconds?: number;
|
|
15
|
-
dedupeKey?: string;
|
|
16
|
-
maxAttempts?: number;
|
|
17
|
-
}
|
|
18
|
-
type JobHandler<TPayload = unknown> = (job: Job<TPayload>) => Promise<void>;
|
|
19
|
-
interface JobQueue {
|
|
20
|
-
enqueue<TPayload>(jobType: string, payload: TPayload, options?: EnqueueOptions): Promise<Job<TPayload>>;
|
|
21
|
-
register<TPayload>(jobType: string, handler: JobHandler<TPayload>): void;
|
|
22
|
-
start(): void;
|
|
23
|
-
stop(): Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { EnqueueOptions, Job, JobHandler, JobQueue, JobStatus };
|
package/dist/jsonschema.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Stability, Tag } from "./ownership.js";
|
|
2
|
-
import { ContractSpec, OpKind } from "./spec.js";
|
|
3
|
-
import z$1 from "zod";
|
|
4
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
5
|
-
|
|
6
|
-
//#region src/jsonschema.d.ts
|
|
7
|
-
declare function jsonSchemaForSpec(spec: ContractSpec<AnySchemaModel, AnySchemaModel>): {
|
|
8
|
-
input: z$1.core.JSONSchema.JSONSchema | null;
|
|
9
|
-
output: z$1.core.JSONSchema.JSONSchema | null;
|
|
10
|
-
meta: {
|
|
11
|
-
name: string;
|
|
12
|
-
version: number;
|
|
13
|
-
kind: OpKind;
|
|
14
|
-
description: string;
|
|
15
|
-
tags: Tag[];
|
|
16
|
-
stability: Stability;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
/** Helper to derive default REST path */
|
|
20
|
-
declare function defaultRestPath(name: string, version: number): string;
|
|
21
|
-
/** Helper to derive default MCP tool name */
|
|
22
|
-
declare function defaultMcpTool(name: string, version: number): string;
|
|
23
|
-
/** Helper to derive default GraphQL field name */
|
|
24
|
-
declare function defaultGqlField(name: string, version: number): string;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { defaultGqlField, defaultMcpTool, defaultRestPath, jsonSchemaForSpec };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//#region src/knowledge/binding.d.ts
|
|
2
|
-
interface AppKnowledgeBinding {
|
|
3
|
-
/** Which KnowledgeSpace to use. */
|
|
4
|
-
spaceKey: string;
|
|
5
|
-
spaceVersion?: number;
|
|
6
|
-
/** Optional: scope to specific workflows/agents. */
|
|
7
|
-
scope?: {
|
|
8
|
-
workflows?: string[];
|
|
9
|
-
agents?: string[];
|
|
10
|
-
operations?: string[];
|
|
11
|
-
};
|
|
12
|
-
/** Usage constraints. */
|
|
13
|
-
constraints?: {
|
|
14
|
-
/** Max tokens per query. */
|
|
15
|
-
maxTokensPerQuery?: number;
|
|
16
|
-
/** Max queries per minute. */
|
|
17
|
-
maxQueriesPerMinute?: number;
|
|
18
|
-
};
|
|
19
|
-
/** Priority when multiple spaces overlap. */
|
|
20
|
-
priority?: number;
|
|
21
|
-
/** Whether access to the space is required (blocking) or optional. */
|
|
22
|
-
required?: boolean;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { AppKnowledgeBinding };
|
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
import { ContractSpec } from "../spec.js";
|
|
2
|
-
import { SpecRegistry } from "../registry.js";
|
|
3
|
-
import * as _lssm_lib_schema282 from "@lssm/lib.schema";
|
|
4
|
-
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
|
-
|
|
6
|
-
//#region src/knowledge/contracts.d.ts
|
|
7
|
-
declare const CreateKnowledgeSource: ContractSpec<SchemaModel<{
|
|
8
|
-
tenantId: {
|
|
9
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
10
|
-
isOptional: false;
|
|
11
|
-
};
|
|
12
|
-
spaceKey: {
|
|
13
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
14
|
-
isOptional: false;
|
|
15
|
-
};
|
|
16
|
-
spaceVersion: {
|
|
17
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
18
|
-
isOptional: false;
|
|
19
|
-
};
|
|
20
|
-
label: {
|
|
21
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
22
|
-
isOptional: false;
|
|
23
|
-
};
|
|
24
|
-
sourceType: {
|
|
25
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
26
|
-
isOptional: false;
|
|
27
|
-
};
|
|
28
|
-
config: {
|
|
29
|
-
type: _lssm_lib_schema282.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
30
|
-
isOptional: false;
|
|
31
|
-
};
|
|
32
|
-
syncSchedule: {
|
|
33
|
-
type: SchemaModel<{
|
|
34
|
-
enabled: {
|
|
35
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
36
|
-
isOptional: false;
|
|
37
|
-
};
|
|
38
|
-
cron: {
|
|
39
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
40
|
-
isOptional: true;
|
|
41
|
-
};
|
|
42
|
-
intervalMs: {
|
|
43
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
44
|
-
isOptional: true;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
isOptional: true;
|
|
48
|
-
};
|
|
49
|
-
}>, SchemaModel<{
|
|
50
|
-
id: {
|
|
51
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
52
|
-
isOptional: false;
|
|
53
|
-
};
|
|
54
|
-
tenantId: {
|
|
55
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
56
|
-
isOptional: false;
|
|
57
|
-
};
|
|
58
|
-
spaceKey: {
|
|
59
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
60
|
-
isOptional: false;
|
|
61
|
-
};
|
|
62
|
-
spaceVersion: {
|
|
63
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
64
|
-
isOptional: false;
|
|
65
|
-
};
|
|
66
|
-
label: {
|
|
67
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
68
|
-
isOptional: false;
|
|
69
|
-
};
|
|
70
|
-
sourceType: {
|
|
71
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
72
|
-
isOptional: false;
|
|
73
|
-
};
|
|
74
|
-
syncSchedule: {
|
|
75
|
-
type: SchemaModel<{
|
|
76
|
-
enabled: {
|
|
77
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
78
|
-
isOptional: false;
|
|
79
|
-
};
|
|
80
|
-
cron: {
|
|
81
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
82
|
-
isOptional: true;
|
|
83
|
-
};
|
|
84
|
-
intervalMs: {
|
|
85
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
86
|
-
isOptional: true;
|
|
87
|
-
};
|
|
88
|
-
}>;
|
|
89
|
-
isOptional: true;
|
|
90
|
-
};
|
|
91
|
-
lastSyncStatus: {
|
|
92
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
93
|
-
isOptional: true;
|
|
94
|
-
};
|
|
95
|
-
lastSyncAt: {
|
|
96
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
97
|
-
isOptional: true;
|
|
98
|
-
};
|
|
99
|
-
itemsProcessed: {
|
|
100
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
101
|
-
isOptional: true;
|
|
102
|
-
};
|
|
103
|
-
createdAt: {
|
|
104
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
105
|
-
isOptional: true;
|
|
106
|
-
};
|
|
107
|
-
updatedAt: {
|
|
108
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
109
|
-
isOptional: true;
|
|
110
|
-
};
|
|
111
|
-
}>, undefined>;
|
|
112
|
-
declare const UpdateKnowledgeSource: ContractSpec<SchemaModel<{
|
|
113
|
-
sourceId: {
|
|
114
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
115
|
-
isOptional: false;
|
|
116
|
-
};
|
|
117
|
-
label: {
|
|
118
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
119
|
-
isOptional: true;
|
|
120
|
-
};
|
|
121
|
-
config: {
|
|
122
|
-
type: _lssm_lib_schema282.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
123
|
-
isOptional: true;
|
|
124
|
-
};
|
|
125
|
-
syncSchedule: {
|
|
126
|
-
type: SchemaModel<{
|
|
127
|
-
enabled: {
|
|
128
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
129
|
-
isOptional: false;
|
|
130
|
-
};
|
|
131
|
-
cron: {
|
|
132
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
133
|
-
isOptional: true;
|
|
134
|
-
};
|
|
135
|
-
intervalMs: {
|
|
136
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
137
|
-
isOptional: true;
|
|
138
|
-
};
|
|
139
|
-
}>;
|
|
140
|
-
isOptional: true;
|
|
141
|
-
};
|
|
142
|
-
}>, SchemaModel<{
|
|
143
|
-
id: {
|
|
144
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
145
|
-
isOptional: false;
|
|
146
|
-
};
|
|
147
|
-
tenantId: {
|
|
148
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
149
|
-
isOptional: false;
|
|
150
|
-
};
|
|
151
|
-
spaceKey: {
|
|
152
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
153
|
-
isOptional: false;
|
|
154
|
-
};
|
|
155
|
-
spaceVersion: {
|
|
156
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
157
|
-
isOptional: false;
|
|
158
|
-
};
|
|
159
|
-
label: {
|
|
160
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
161
|
-
isOptional: false;
|
|
162
|
-
};
|
|
163
|
-
sourceType: {
|
|
164
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
165
|
-
isOptional: false;
|
|
166
|
-
};
|
|
167
|
-
syncSchedule: {
|
|
168
|
-
type: SchemaModel<{
|
|
169
|
-
enabled: {
|
|
170
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
171
|
-
isOptional: false;
|
|
172
|
-
};
|
|
173
|
-
cron: {
|
|
174
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
175
|
-
isOptional: true;
|
|
176
|
-
};
|
|
177
|
-
intervalMs: {
|
|
178
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
179
|
-
isOptional: true;
|
|
180
|
-
};
|
|
181
|
-
}>;
|
|
182
|
-
isOptional: true;
|
|
183
|
-
};
|
|
184
|
-
lastSyncStatus: {
|
|
185
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
186
|
-
isOptional: true;
|
|
187
|
-
};
|
|
188
|
-
lastSyncAt: {
|
|
189
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
190
|
-
isOptional: true;
|
|
191
|
-
};
|
|
192
|
-
itemsProcessed: {
|
|
193
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
194
|
-
isOptional: true;
|
|
195
|
-
};
|
|
196
|
-
createdAt: {
|
|
197
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
198
|
-
isOptional: true;
|
|
199
|
-
};
|
|
200
|
-
updatedAt: {
|
|
201
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
202
|
-
isOptional: true;
|
|
203
|
-
};
|
|
204
|
-
}>, undefined>;
|
|
205
|
-
declare const DeleteKnowledgeSource: ContractSpec<SchemaModel<{
|
|
206
|
-
sourceId: {
|
|
207
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
208
|
-
isOptional: false;
|
|
209
|
-
};
|
|
210
|
-
}>, SchemaModel<{
|
|
211
|
-
success: {
|
|
212
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
213
|
-
isOptional: false;
|
|
214
|
-
};
|
|
215
|
-
}>, undefined>;
|
|
216
|
-
declare const ListKnowledgeSources: ContractSpec<SchemaModel<{
|
|
217
|
-
tenantId: {
|
|
218
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
219
|
-
isOptional: false;
|
|
220
|
-
};
|
|
221
|
-
spaceKey: {
|
|
222
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
223
|
-
isOptional: true;
|
|
224
|
-
};
|
|
225
|
-
}>, SchemaModel<{
|
|
226
|
-
sources: {
|
|
227
|
-
type: SchemaModel<{
|
|
228
|
-
id: {
|
|
229
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
230
|
-
isOptional: false;
|
|
231
|
-
};
|
|
232
|
-
tenantId: {
|
|
233
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
234
|
-
isOptional: false;
|
|
235
|
-
};
|
|
236
|
-
spaceKey: {
|
|
237
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
238
|
-
isOptional: false;
|
|
239
|
-
};
|
|
240
|
-
spaceVersion: {
|
|
241
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
242
|
-
isOptional: false;
|
|
243
|
-
};
|
|
244
|
-
label: {
|
|
245
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
246
|
-
isOptional: false;
|
|
247
|
-
};
|
|
248
|
-
sourceType: {
|
|
249
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
250
|
-
isOptional: false;
|
|
251
|
-
};
|
|
252
|
-
syncSchedule: {
|
|
253
|
-
type: SchemaModel<{
|
|
254
|
-
enabled: {
|
|
255
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
256
|
-
isOptional: false;
|
|
257
|
-
};
|
|
258
|
-
cron: {
|
|
259
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
260
|
-
isOptional: true;
|
|
261
|
-
};
|
|
262
|
-
intervalMs: {
|
|
263
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
264
|
-
isOptional: true;
|
|
265
|
-
};
|
|
266
|
-
}>;
|
|
267
|
-
isOptional: true;
|
|
268
|
-
};
|
|
269
|
-
lastSyncStatus: {
|
|
270
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
271
|
-
isOptional: true;
|
|
272
|
-
};
|
|
273
|
-
lastSyncAt: {
|
|
274
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
275
|
-
isOptional: true;
|
|
276
|
-
};
|
|
277
|
-
itemsProcessed: {
|
|
278
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
279
|
-
isOptional: true;
|
|
280
|
-
};
|
|
281
|
-
createdAt: {
|
|
282
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
283
|
-
isOptional: true;
|
|
284
|
-
};
|
|
285
|
-
updatedAt: {
|
|
286
|
-
type: _lssm_lib_schema282.FieldType<Date, string>;
|
|
287
|
-
isOptional: true;
|
|
288
|
-
};
|
|
289
|
-
}>;
|
|
290
|
-
isOptional: false;
|
|
291
|
-
isArray: true;
|
|
292
|
-
};
|
|
293
|
-
}>, undefined>;
|
|
294
|
-
declare const TriggerKnowledgeSourceSync: ContractSpec<SchemaModel<{
|
|
295
|
-
sourceId: {
|
|
296
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
297
|
-
isOptional: false;
|
|
298
|
-
};
|
|
299
|
-
}>, SchemaModel<{
|
|
300
|
-
success: {
|
|
301
|
-
type: _lssm_lib_schema282.FieldType<boolean, boolean>;
|
|
302
|
-
isOptional: false;
|
|
303
|
-
};
|
|
304
|
-
itemsProcessed: {
|
|
305
|
-
type: _lssm_lib_schema282.FieldType<number, number>;
|
|
306
|
-
isOptional: true;
|
|
307
|
-
};
|
|
308
|
-
error: {
|
|
309
|
-
type: _lssm_lib_schema282.FieldType<string, string>;
|
|
310
|
-
isOptional: true;
|
|
311
|
-
};
|
|
312
|
-
}>, undefined>;
|
|
313
|
-
declare const knowledgeContracts: Record<string, ContractSpec<any, any>>;
|
|
314
|
-
declare function registerKnowledgeContracts(registry: SpecRegistry): SpecRegistry;
|
|
315
|
-
//#endregion
|
|
316
|
-
export { CreateKnowledgeSource, DeleteKnowledgeSource, ListKnowledgeSources, TriggerKnowledgeSourceSync, UpdateKnowledgeSource, knowledgeContracts, registerKnowledgeContracts };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { KnowledgeAccessPolicy, KnowledgeCategory, KnowledgeIndexingConfig, KnowledgeRetentionPolicy, KnowledgeSpaceMeta, KnowledgeSpaceRegistry, KnowledgeSpaceSpec, makeKnowledgeSpaceKey } from "./spec.js";
|
|
2
|
-
import { KnowledgeSourceConfig, KnowledgeSourceMeta, KnowledgeSourceType } from "./source.js";
|
|
3
|
-
import { AppKnowledgeBinding } from "./binding.js";
|
|
4
|
-
import { productCanonKnowledgeSpace, registerProductCanonKnowledgeSpace } from "./spaces/product-canon.js";
|
|
5
|
-
import { registerSupportFaqKnowledgeSpace, supportFaqKnowledgeSpace } from "./spaces/support-faq.js";
|
|
6
|
-
import { emailThreadsKnowledgeSpace, registerEmailThreadsKnowledgeSpace } from "./spaces/email-threads.js";
|
|
7
|
-
import { registerUploadedDocsKnowledgeSpace, uploadedDocsKnowledgeSpace } from "./spaces/uploaded-docs.js";
|
|
8
|
-
import { financialDocsKnowledgeSpace, registerFinancialDocsKnowledgeSpace } from "./spaces/financial-docs.js";
|
|
9
|
-
import { financialOverviewKnowledgeSpace, registerFinancialOverviewKnowledgeSpace } from "./spaces/financial-overview.js";
|
|
10
|
-
export { AppKnowledgeBinding, KnowledgeAccessPolicy, KnowledgeCategory, KnowledgeIndexingConfig, KnowledgeRetentionPolicy, KnowledgeSourceConfig, KnowledgeSourceMeta, KnowledgeSourceType, KnowledgeSpaceMeta, KnowledgeSpaceRegistry, KnowledgeSpaceSpec, emailThreadsKnowledgeSpace, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, makeKnowledgeSpaceKey, productCanonKnowledgeSpace, registerEmailThreadsKnowledgeSpace, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerProductCanonKnowledgeSpace, registerSupportFaqKnowledgeSpace, registerUploadedDocsKnowledgeSpace, supportFaqKnowledgeSpace, uploadedDocsKnowledgeSpace };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region src/knowledge/ingestion/document-processor.d.ts
|
|
2
|
-
interface RawDocument {
|
|
3
|
-
id: string;
|
|
4
|
-
mimeType: string;
|
|
5
|
-
data: Uint8Array;
|
|
6
|
-
metadata?: Record<string, string>;
|
|
7
|
-
}
|
|
8
|
-
interface DocumentFragment {
|
|
9
|
-
id: string;
|
|
10
|
-
documentId: string;
|
|
11
|
-
text: string;
|
|
12
|
-
metadata?: Record<string, string>;
|
|
13
|
-
}
|
|
14
|
-
type Extractor = (input: RawDocument) => Promise<DocumentFragment[]>;
|
|
15
|
-
declare class DocumentProcessor {
|
|
16
|
-
private readonly extractors;
|
|
17
|
-
constructor();
|
|
18
|
-
registerExtractor(mimeType: string, extractor: Extractor): void;
|
|
19
|
-
process(document: RawDocument): Promise<DocumentFragment[]>;
|
|
20
|
-
private extractText;
|
|
21
|
-
private extractJson;
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { DocumentFragment, DocumentProcessor, RawDocument };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EmbeddingProvider, EmbeddingResult } from "../../integrations/providers/embedding.js";
|
|
2
|
-
import { DocumentFragment } from "./document-processor.js";
|
|
3
|
-
|
|
4
|
-
//#region src/knowledge/ingestion/embedding-service.d.ts
|
|
5
|
-
declare class EmbeddingService {
|
|
6
|
-
private readonly provider;
|
|
7
|
-
private readonly batchSize;
|
|
8
|
-
constructor(provider: EmbeddingProvider, batchSize?: number);
|
|
9
|
-
embedFragments(fragments: DocumentFragment[]): Promise<EmbeddingResult[]>;
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { EmbeddingService };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EmailInboundProvider, EmailThread } from "../../integrations/providers/email.js";
|
|
2
|
-
import { DocumentProcessor } from "./document-processor.js";
|
|
3
|
-
import { EmbeddingService } from "./embedding-service.js";
|
|
4
|
-
import { VectorIndexer } from "./vector-indexer.js";
|
|
5
|
-
|
|
6
|
-
//#region src/knowledge/ingestion/gmail-adapter.d.ts
|
|
7
|
-
declare class GmailIngestionAdapter {
|
|
8
|
-
private readonly gmail;
|
|
9
|
-
private readonly processor;
|
|
10
|
-
private readonly embeddings;
|
|
11
|
-
private readonly indexer;
|
|
12
|
-
constructor(gmail: EmailInboundProvider, processor: DocumentProcessor, embeddings: EmbeddingService, indexer: VectorIndexer);
|
|
13
|
-
syncThreads(query?: Parameters<EmailInboundProvider['listThreads']>[0]): Promise<void>;
|
|
14
|
-
ingestThread(thread: EmailThread): Promise<void>;
|
|
15
|
-
private toRawDocument;
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { GmailIngestionAdapter };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DocumentFragment, DocumentProcessor, RawDocument } from "./document-processor.js";
|
|
2
|
-
import { EmbeddingService } from "./embedding-service.js";
|
|
3
|
-
import { VectorIndexConfig, VectorIndexer } from "./vector-indexer.js";
|
|
4
|
-
import { GmailIngestionAdapter } from "./gmail-adapter.js";
|
|
5
|
-
import { StorageIngestionAdapter } from "./storage-adapter.js";
|
|
6
|
-
export { DocumentFragment, DocumentProcessor, EmbeddingService, GmailIngestionAdapter, RawDocument, StorageIngestionAdapter, VectorIndexConfig, VectorIndexer };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { GetObjectResult } from "../../integrations/providers/storage.js";
|
|
2
|
-
import { DocumentProcessor } from "./document-processor.js";
|
|
3
|
-
import { EmbeddingService } from "./embedding-service.js";
|
|
4
|
-
import { VectorIndexer } from "./vector-indexer.js";
|
|
5
|
-
|
|
6
|
-
//#region src/knowledge/ingestion/storage-adapter.d.ts
|
|
7
|
-
declare class StorageIngestionAdapter {
|
|
8
|
-
private readonly processor;
|
|
9
|
-
private readonly embeddings;
|
|
10
|
-
private readonly indexer;
|
|
11
|
-
constructor(processor: DocumentProcessor, embeddings: EmbeddingService, indexer: VectorIndexer);
|
|
12
|
-
ingestObject(object: GetObjectResult): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { StorageIngestionAdapter };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EmbeddingResult } from "../../integrations/providers/embedding.js";
|
|
2
|
-
import { VectorStoreProvider } from "../../integrations/providers/vector-store.js";
|
|
3
|
-
import { DocumentFragment } from "./document-processor.js";
|
|
4
|
-
|
|
5
|
-
//#region src/knowledge/ingestion/vector-indexer.d.ts
|
|
6
|
-
interface VectorIndexConfig {
|
|
7
|
-
collection: string;
|
|
8
|
-
namespace?: string;
|
|
9
|
-
metadata?: Record<string, string>;
|
|
10
|
-
}
|
|
11
|
-
declare class VectorIndexer {
|
|
12
|
-
private readonly provider;
|
|
13
|
-
private readonly config;
|
|
14
|
-
constructor(provider: VectorStoreProvider, config: VectorIndexConfig);
|
|
15
|
-
upsert(fragments: DocumentFragment[], embeddings: EmbeddingResult[]): Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { VectorIndexConfig, VectorIndexer };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { LLMProvider, LLMResponse } from "../../integrations/providers/llm.js";
|
|
2
|
-
import { EmbeddingProvider } from "../../integrations/providers/embedding.js";
|
|
3
|
-
import { VectorSearchResult, VectorStoreProvider } from "../../integrations/providers/vector-store.js";
|
|
4
|
-
|
|
5
|
-
//#region src/knowledge/query/service.d.ts
|
|
6
|
-
interface KnowledgeQueryConfig {
|
|
7
|
-
collection: string;
|
|
8
|
-
namespace?: string;
|
|
9
|
-
topK?: number;
|
|
10
|
-
systemPrompt?: string;
|
|
11
|
-
}
|
|
12
|
-
interface KnowledgeAnswer {
|
|
13
|
-
answer: string;
|
|
14
|
-
references: (VectorSearchResult & {
|
|
15
|
-
text?: string;
|
|
16
|
-
})[];
|
|
17
|
-
usage?: LLMResponse['usage'];
|
|
18
|
-
}
|
|
19
|
-
declare class KnowledgeQueryService {
|
|
20
|
-
private readonly embeddings;
|
|
21
|
-
private readonly vectorStore;
|
|
22
|
-
private readonly llm;
|
|
23
|
-
private readonly config;
|
|
24
|
-
constructor(embeddings: EmbeddingProvider, vectorStore: VectorStoreProvider, llm: LLMProvider, config: KnowledgeQueryConfig);
|
|
25
|
-
query(question: string): Promise<KnowledgeAnswer>;
|
|
26
|
-
private buildMessages;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { KnowledgeAnswer, KnowledgeQueryConfig, KnowledgeQueryService };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { KnowledgeCategory } from "./spec.js";
|
|
2
|
-
import { ResolvedAppConfig, ResolvedKnowledge } from "../app-config/runtime.js";
|
|
3
|
-
|
|
4
|
-
//#region src/knowledge/runtime.d.ts
|
|
5
|
-
interface KnowledgeAccessContext {
|
|
6
|
-
tenantId: string;
|
|
7
|
-
appId: string;
|
|
8
|
-
environment?: string;
|
|
9
|
-
workflowName?: string;
|
|
10
|
-
agentName?: string;
|
|
11
|
-
operation: 'read' | 'write' | 'search';
|
|
12
|
-
}
|
|
13
|
-
interface KnowledgeAccessResult {
|
|
14
|
-
allowed: boolean;
|
|
15
|
-
reason?: string;
|
|
16
|
-
severity?: 'error' | 'warning';
|
|
17
|
-
}
|
|
18
|
-
interface KnowledgeAccessGuardOptions {
|
|
19
|
-
disallowWriteCategories?: KnowledgeCategory[];
|
|
20
|
-
requireWorkflowBinding?: boolean;
|
|
21
|
-
requireAgentBinding?: boolean;
|
|
22
|
-
}
|
|
23
|
-
declare class KnowledgeAccessGuard {
|
|
24
|
-
private readonly disallowedWrite;
|
|
25
|
-
private readonly requireWorkflowBinding;
|
|
26
|
-
private readonly requireAgentBinding;
|
|
27
|
-
constructor(options?: KnowledgeAccessGuardOptions);
|
|
28
|
-
checkAccess(spaceBinding: ResolvedKnowledge, context: KnowledgeAccessContext, appConfig: ResolvedAppConfig): KnowledgeAccessResult;
|
|
29
|
-
private isSpaceBound;
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
export { KnowledgeAccessContext, KnowledgeAccessGuard, KnowledgeAccessGuardOptions, KnowledgeAccessResult };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
//#region src/knowledge/source.d.ts
|
|
2
|
-
type KnowledgeSourceType = 'notion' | 'url' | 'file_upload' | 'email' | 'api' | 'manual';
|
|
3
|
-
interface KnowledgeSourceMeta {
|
|
4
|
-
id: string;
|
|
5
|
-
tenantId: string;
|
|
6
|
-
spaceKey: string;
|
|
7
|
-
spaceVersion: number;
|
|
8
|
-
label: string;
|
|
9
|
-
sourceType: KnowledgeSourceType;
|
|
10
|
-
createdAt: string | Date;
|
|
11
|
-
updatedAt: string | Date;
|
|
12
|
-
}
|
|
13
|
-
interface KnowledgeSourceConfig {
|
|
14
|
-
meta: KnowledgeSourceMeta;
|
|
15
|
-
/** Source-specific configuration (URLs, credentials, filters). */
|
|
16
|
-
config: Record<string, unknown>;
|
|
17
|
-
/** Sync schedule (cron or interval). */
|
|
18
|
-
syncSchedule?: {
|
|
19
|
-
enabled: boolean;
|
|
20
|
-
cron?: string;
|
|
21
|
-
intervalMs?: number;
|
|
22
|
-
};
|
|
23
|
-
/** Last sync status. */
|
|
24
|
-
lastSync?: {
|
|
25
|
-
timestamp: Date;
|
|
26
|
-
success: boolean;
|
|
27
|
-
itemsProcessed?: number;
|
|
28
|
-
error?: string;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
export { KnowledgeSourceConfig, KnowledgeSourceMeta, KnowledgeSourceType };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KnowledgeSpaceRegistry, KnowledgeSpaceSpec } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/knowledge/spaces/email-threads.d.ts
|
|
4
|
-
declare const emailThreadsKnowledgeSpace: KnowledgeSpaceSpec;
|
|
5
|
-
declare function registerEmailThreadsKnowledgeSpace(registry: KnowledgeSpaceRegistry): KnowledgeSpaceRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { emailThreadsKnowledgeSpace, registerEmailThreadsKnowledgeSpace };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KnowledgeSpaceRegistry, KnowledgeSpaceSpec } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/knowledge/spaces/financial-docs.d.ts
|
|
4
|
-
declare const financialDocsKnowledgeSpace: KnowledgeSpaceSpec;
|
|
5
|
-
declare function registerFinancialDocsKnowledgeSpace(registry: KnowledgeSpaceRegistry): KnowledgeSpaceRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { financialDocsKnowledgeSpace, registerFinancialDocsKnowledgeSpace };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KnowledgeSpaceRegistry, KnowledgeSpaceSpec } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/knowledge/spaces/financial-overview.d.ts
|
|
4
|
-
declare const financialOverviewKnowledgeSpace: KnowledgeSpaceSpec;
|
|
5
|
-
declare function registerFinancialOverviewKnowledgeSpace(registry: KnowledgeSpaceRegistry): KnowledgeSpaceRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { financialOverviewKnowledgeSpace, registerFinancialOverviewKnowledgeSpace };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { productCanonKnowledgeSpace, registerProductCanonKnowledgeSpace } from "./product-canon.js";
|
|
2
|
-
import { registerSupportFaqKnowledgeSpace, supportFaqKnowledgeSpace } from "./support-faq.js";
|
|
3
|
-
import { emailThreadsKnowledgeSpace, registerEmailThreadsKnowledgeSpace } from "./email-threads.js";
|
|
4
|
-
import { registerUploadedDocsKnowledgeSpace, uploadedDocsKnowledgeSpace } from "./uploaded-docs.js";
|
|
5
|
-
import { financialDocsKnowledgeSpace, registerFinancialDocsKnowledgeSpace } from "./financial-docs.js";
|
|
6
|
-
import { financialOverviewKnowledgeSpace, registerFinancialOverviewKnowledgeSpace } from "./financial-overview.js";
|
|
7
|
-
export { emailThreadsKnowledgeSpace, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, productCanonKnowledgeSpace, registerEmailThreadsKnowledgeSpace, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerProductCanonKnowledgeSpace, registerSupportFaqKnowledgeSpace, registerUploadedDocsKnowledgeSpace, supportFaqKnowledgeSpace, uploadedDocsKnowledgeSpace };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KnowledgeSpaceRegistry, KnowledgeSpaceSpec } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/knowledge/spaces/product-canon.d.ts
|
|
4
|
-
declare const productCanonKnowledgeSpace: KnowledgeSpaceSpec;
|
|
5
|
-
declare function registerProductCanonKnowledgeSpace(registry: KnowledgeSpaceRegistry): KnowledgeSpaceRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { productCanonKnowledgeSpace, registerProductCanonKnowledgeSpace };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KnowledgeSpaceRegistry, KnowledgeSpaceSpec } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/knowledge/spaces/support-faq.d.ts
|
|
4
|
-
declare const supportFaqKnowledgeSpace: KnowledgeSpaceSpec;
|
|
5
|
-
declare function registerSupportFaqKnowledgeSpace(registry: KnowledgeSpaceRegistry): KnowledgeSpaceRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { registerSupportFaqKnowledgeSpace, supportFaqKnowledgeSpace };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { KnowledgeSpaceRegistry, KnowledgeSpaceSpec } from "../spec.js";
|
|
2
|
-
|
|
3
|
-
//#region src/knowledge/spaces/uploaded-docs.d.ts
|
|
4
|
-
declare const uploadedDocsKnowledgeSpace: KnowledgeSpaceSpec;
|
|
5
|
-
declare function registerUploadedDocsKnowledgeSpace(registry: KnowledgeSpaceRegistry): KnowledgeSpaceRegistry;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { registerUploadedDocsKnowledgeSpace, uploadedDocsKnowledgeSpace };
|