@vertesia/common 1.5.0-dev.20260807.073259Z → 1.5.0-dev.20260901.005903Z
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/lib/access-control.d.ts +0 -14
- package/lib/access-control.d.ts.map +1 -1
- package/lib/access-control.js +0 -23
- package/lib/access-control.js.map +1 -1
- package/lib/account-values.d.ts +0 -10
- package/lib/account-values.d.ts.map +1 -1
- package/lib/account-values.js +0 -44
- package/lib/account-values.js.map +1 -1
- package/lib/api-contract/components.generated.json +40405 -0
- package/lib/api-contract/index.d.ts +186 -0
- package/lib/api-contract/index.d.ts.map +1 -0
- package/lib/api-contract/index.js +554 -0
- package/lib/api-contract/index.js.map +1 -0
- package/lib/api-schemas/agent-communication.d.ts +199 -0
- package/lib/api-schemas/agent-communication.d.ts.map +1 -0
- package/lib/api-schemas/agent-communication.js +150 -0
- package/lib/api-schemas/agent-communication.js.map +1 -0
- package/lib/api-schemas/agent-runs.d.ts +593 -0
- package/lib/api-schemas/agent-runs.d.ts.map +1 -1
- package/lib/api-schemas/agent-runs.js +44 -2
- package/lib/api-schemas/agent-runs.js.map +1 -1
- package/lib/api-schemas/app-lifecycle.d.ts +19 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
- package/lib/api-schemas/app-lifecycle.js +34 -4
- package/lib/api-schemas/app-lifecycle.js.map +1 -1
- package/lib/api-schemas/app-runtime.d.ts +9871 -9257
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/app-runtime.js +7 -0
- package/lib/api-schemas/app-runtime.js.map +1 -1
- package/lib/api-schemas/apps.d.ts +1 -0
- package/lib/api-schemas/apps.d.ts.map +1 -1
- package/lib/api-schemas/apps.js +4 -3
- package/lib/api-schemas/apps.js.map +1 -1
- package/lib/api-schemas/content-query.d.ts +39 -0
- package/lib/api-schemas/content-query.d.ts.map +1 -0
- package/lib/api-schemas/content-query.js +30 -0
- package/lib/api-schemas/content-query.js.map +1 -0
- package/lib/api-schemas/content.d.ts +835 -29
- package/lib/api-schemas/content.d.ts.map +1 -1
- package/lib/api-schemas/content.js +82 -15
- package/lib/api-schemas/content.js.map +1 -1
- package/lib/api-schemas/dashboard.d.ts +4 -0
- package/lib/api-schemas/dashboard.d.ts.map +1 -1
- package/lib/api-schemas/dashboard.js +3 -0
- package/lib/api-schemas/dashboard.js.map +1 -1
- package/lib/api-schemas/document-processing.d.ts +333 -0
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/events.d.ts +1007 -4
- package/lib/api-schemas/events.d.ts.map +1 -1
- package/lib/api-schemas/events.js +4 -1
- package/lib/api-schemas/events.js.map +1 -1
- package/lib/api-schemas/files.d.ts +17 -0
- package/lib/api-schemas/files.d.ts.map +1 -1
- package/lib/api-schemas/files.js +23 -0
- package/lib/api-schemas/files.js.map +1 -1
- package/lib/api-schemas/group.d.ts +7 -0
- package/lib/api-schemas/group.d.ts.map +1 -1
- package/lib/api-schemas/group.js +9 -0
- package/lib/api-schemas/group.js.map +1 -1
- package/lib/api-schemas/index.d.ts +4 -0
- package/lib/api-schemas/index.d.ts.map +1 -1
- package/lib/api-schemas/index.js +4 -0
- package/lib/api-schemas/index.js.map +1 -1
- package/lib/api-schemas/integrations.d.ts +19 -5
- package/lib/api-schemas/integrations.d.ts.map +1 -1
- package/lib/api-schemas/integrations.js +25 -2
- package/lib/api-schemas/integrations.js.map +1 -1
- package/lib/api-schemas/interaction.d.ts +8399 -1076
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +161 -9
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/oauth-server.d.ts +131 -3
- package/lib/api-schemas/oauth-server.d.ts.map +1 -1
- package/lib/api-schemas/oauth-server.js +137 -3
- package/lib/api-schemas/oauth-server.js.map +1 -1
- package/lib/api-schemas/process.d.ts +1295 -0
- package/lib/api-schemas/process.d.ts.map +1 -1
- package/lib/api-schemas/process.js +318 -2
- package/lib/api-schemas/process.js.map +1 -1
- package/lib/api-schemas/project-configuration.d.ts +1118 -1
- package/lib/api-schemas/project-configuration.d.ts.map +1 -1
- package/lib/api-schemas/project-configuration.js +6 -2
- package/lib/api-schemas/project-configuration.js.map +1 -1
- package/lib/api-schemas/project.d.ts +1680 -6
- package/lib/api-schemas/project.d.ts.map +1 -1
- package/lib/api-schemas/registry.d.ts +87529 -69142
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +234 -413
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/api-schemas/schema-primitives.d.ts +4 -0
- package/lib/api-schemas/schema-primitives.d.ts.map +1 -1
- package/lib/api-schemas/schema-primitives.js +10 -0
- package/lib/api-schemas/schema-primitives.js.map +1 -1
- package/lib/api-schemas/store.d.ts +5596 -37
- package/lib/api-schemas/store.d.ts.map +1 -1
- package/lib/api-schemas/store.js +53 -8
- package/lib/api-schemas/store.js.map +1 -1
- package/lib/api-schemas/tools.d.ts +115 -0
- package/lib/api-schemas/tools.d.ts.map +1 -1
- package/lib/api-schemas/tools.js +55 -0
- package/lib/api-schemas/tools.js.map +1 -1
- package/lib/api-schemas/view-execution.d.ts +330 -854
- package/lib/api-schemas/view-execution.d.ts.map +1 -1
- package/lib/api-schemas/view-execution.js +26 -2
- package/lib/api-schemas/view-execution.js.map +1 -1
- package/lib/api-schemas/views.d.ts +452 -2562
- package/lib/api-schemas/views.d.ts.map +1 -1
- package/lib/api-schemas/views.js +119 -3
- package/lib/api-schemas/views.js.map +1 -1
- package/lib/api-schemas/workflow-runs.d.ts +344 -5
- package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.js +9 -7
- package/lib/api-schemas/workflow-runs.js.map +1 -1
- package/lib/apps.d.ts +8 -145
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js +1 -54
- package/lib/apps.js.map +1 -1
- package/lib/ask-user.d.ts +2 -1
- package/lib/ask-user.d.ts.map +1 -1
- package/lib/audit-trail.d.ts +2 -2
- package/lib/audit-trail.d.ts.map +1 -1
- package/lib/audit-trail.js +2 -2
- package/lib/audit-trail.js.map +1 -1
- package/lib/browser-credentials.d.ts +2 -7
- package/lib/browser-credentials.d.ts.map +1 -1
- package/lib/common.d.ts +4 -1
- package/lib/common.d.ts.map +1 -1
- package/lib/content-query.d.ts +5 -0
- package/lib/content-query.d.ts.map +1 -0
- package/lib/content-query.js +2 -0
- package/lib/content-query.js.map +1 -0
- package/lib/data-platform.d.ts +4 -46
- package/lib/data-platform.d.ts.map +1 -1
- package/lib/data-platform.js.map +1 -1
- package/lib/email.d.ts +12 -18
- package/lib/email.d.ts.map +1 -1
- package/lib/email.js.map +1 -1
- package/lib/environment.d.ts +0 -10
- package/lib/environment.d.ts.map +1 -1
- package/lib/environment.js +1 -12
- package/lib/environment.js.map +1 -1
- package/lib/facets.d.ts +0 -4
- package/lib/facets.d.ts.map +1 -1
- package/lib/group.d.ts +2 -12
- package/lib/group.d.ts.map +1 -1
- package/lib/group.js.map +1 -1
- package/lib/index.d.ts +3 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -10
- package/lib/index.js.map +1 -1
- package/lib/integrations.d.ts +1 -27
- package/lib/integrations.d.ts.map +1 -1
- package/lib/integrations.js +0 -6
- package/lib/integrations.js.map +1 -1
- package/lib/interaction.d.ts +10 -222
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js +0 -31
- package/lib/interaction.js.map +1 -1
- package/lib/meters.d.ts +5 -10
- package/lib/meters.d.ts.map +1 -1
- package/lib/meters.js +1 -9
- package/lib/meters.js.map +1 -1
- package/lib/oauth-scopes.d.ts +2 -16
- package/lib/oauth-scopes.d.ts.map +1 -1
- package/lib/oauth-scopes.js +9 -49
- package/lib/oauth-scopes.js.map +1 -1
- package/lib/oauth-server.d.ts +16 -195
- package/lib/oauth-server.d.ts.map +1 -1
- package/lib/payload.d.ts +2 -5
- package/lib/payload.d.ts.map +1 -1
- package/lib/pending-asks.d.ts +9 -41
- package/lib/pending-asks.d.ts.map +1 -1
- package/lib/platform-event.d.ts +4 -142
- package/lib/platform-event.d.ts.map +1 -1
- package/lib/platform-event.js.map +1 -1
- package/lib/project.d.ts +7 -46
- package/lib/project.d.ts.map +1 -1
- package/lib/project.js +2 -132
- package/lib/project.js.map +1 -1
- package/lib/prompt.d.ts +4 -7
- package/lib/prompt.d.ts.map +1 -1
- package/lib/prompt.js.map +1 -1
- package/lib/query.d.ts +0 -8
- package/lib/query.d.ts.map +1 -1
- package/lib/rate-limiter.d.ts +4 -3
- package/lib/rate-limiter.d.ts.map +1 -1
- package/lib/runs.d.ts +5 -1
- package/lib/runs.d.ts.map +1 -1
- package/lib/schema-for-extraction.d.ts +0 -1
- package/lib/schema-for-extraction.d.ts.map +1 -1
- package/lib/schema-for-extraction.js +1 -1
- package/lib/schema-for-extraction.js.map +1 -1
- package/lib/secrets.d.ts +2 -1
- package/lib/secrets.d.ts.map +1 -1
- package/lib/skill.d.ts +0 -13
- package/lib/skill.d.ts.map +1 -1
- package/lib/store/activity-catalog.d.ts +2 -0
- package/lib/store/activity-catalog.d.ts.map +1 -1
- package/lib/store/agent-approval.d.ts +0 -1
- package/lib/store/agent-approval.d.ts.map +1 -1
- package/lib/store/agent-approval.js +0 -3
- package/lib/store/agent-approval.js.map +1 -1
- package/lib/store/agent-run.d.ts +32 -69
- package/lib/store/agent-run.d.ts.map +1 -1
- package/lib/store/collections.d.ts +2 -6
- package/lib/store/collections.d.ts.map +1 -1
- package/lib/store/collections.js.map +1 -1
- package/lib/store/conversation-state.d.ts +11 -12
- package/lib/store/conversation-state.d.ts.map +1 -1
- package/lib/store/conversation-state.js +0 -18
- package/lib/store/conversation-state.js.map +1 -1
- package/lib/store/doc-analyzer.d.ts +0 -22
- package/lib/store/doc-analyzer.d.ts.map +1 -1
- package/lib/store/dsl-workflow.d.ts +22 -5
- package/lib/store/dsl-workflow.d.ts.map +1 -1
- package/lib/store/dsl-workflow.js.map +1 -1
- package/lib/store/grounded-extraction.d.ts +0 -14
- package/lib/store/grounded-extraction.d.ts.map +1 -1
- package/lib/store/grounded-extraction.js +1 -7
- package/lib/store/grounded-extraction.js.map +1 -1
- package/lib/store/index.d.ts +0 -5
- package/lib/store/index.d.ts.map +1 -1
- package/lib/store/index.js +0 -6
- package/lib/store/index.js.map +1 -1
- package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.js +279 -1
- package/lib/store/intake-policy-schema.generated.js.map +1 -1
- package/lib/store/process.d.ts +43 -1
- package/lib/store/process.d.ts.map +1 -1
- package/lib/store/process.js.map +1 -1
- package/lib/store/rendering.d.ts +3 -5
- package/lib/store/rendering.d.ts.map +1 -1
- package/lib/store/rendering.js +0 -4
- package/lib/store/rendering.js.map +1 -1
- package/lib/store/schedule.d.ts +0 -16
- package/lib/store/schedule.d.ts.map +1 -1
- package/lib/store/schedule.js.map +1 -1
- package/lib/store/signals.d.ts +12 -0
- package/lib/store/signals.d.ts.map +1 -1
- package/lib/store/store.d.ts +80 -94
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js +5 -25
- package/lib/store/store.js.map +1 -1
- package/lib/store/workflow.d.ts +35 -86
- package/lib/store/workflow.d.ts.map +1 -1
- package/lib/store/workflow.js +0 -47
- package/lib/store/workflow.js.map +1 -1
- package/lib/sts-errors.d.ts +0 -1
- package/lib/sts-errors.d.ts.map +1 -1
- package/lib/sts-token-types.d.ts +2 -8
- package/lib/sts-token-types.d.ts.map +1 -1
- package/lib/sts-token-types.js +1 -19
- package/lib/sts-token-types.js.map +1 -1
- package/lib/tools.d.ts +6 -1
- package/lib/tools.d.ts.map +1 -1
- package/lib/transient-tokens.d.ts +0 -2
- package/lib/transient-tokens.d.ts.map +1 -1
- package/lib/user.d.ts +0 -17
- package/lib/user.d.ts.map +1 -1
- package/lib/user.js.map +1 -1
- package/lib/utils/schemas.d.ts +2 -24
- package/lib/utils/schemas.d.ts.map +1 -1
- package/lib/utils/schemas.js +0 -151
- package/lib/utils/schemas.js.map +1 -1
- package/lib/vertesia-common.js +3 -4
- package/lib/vertesia-common.js.map +1 -1
- package/lib/views.d.ts +23 -27
- package/lib/views.d.ts.map +1 -1
- package/lib/views.js +5 -26
- package/lib/views.js.map +1 -1
- package/lib/workflow-analytics.d.ts +12 -34
- package/lib/workflow-analytics.d.ts.map +1 -1
- package/package.json +12 -6
- package/src/access-control.ts +0 -26
- package/src/account-values.ts +0 -49
- package/src/agent-resources.test.ts +1 -12
- package/src/api-contract/components.contract.test.ts +99 -0
- package/src/api-contract/components.generated.json +40405 -0
- package/src/api-contract/index.ts +664 -0
- package/src/api-schemas/agent-communication.contract.test.ts +90 -0
- package/src/api-schemas/agent-communication.ts +169 -0
- package/src/api-schemas/agent-runs.ts +46 -1
- package/src/api-schemas/api-discriminators.test.ts +101 -0
- package/src/api-schemas/app-lifecycle.ts +39 -4
- package/src/api-schemas/app-runtime.ts +8 -0
- package/src/api-schemas/apps.ts +4 -3
- package/src/api-schemas/content-query.ts +31 -0
- package/src/api-schemas/content.ts +88 -15
- package/src/api-schemas/dashboard.contract.test.ts +16 -5
- package/src/api-schemas/dashboard.ts +3 -0
- package/src/api-schemas/events.ts +9 -1
- package/src/api-schemas/files.ts +27 -0
- package/src/api-schemas/group.ts +10 -0
- package/src/api-schemas/index.ts +4 -0
- package/src/api-schemas/integrations.ts +27 -2
- package/src/api-schemas/interaction.contract.test.ts +204 -1
- package/src/api-schemas/interaction.ts +176 -8
- package/src/api-schemas/llumiverse.contract.test.ts +33 -2
- package/src/api-schemas/oauth-server.ts +152 -3
- package/src/api-schemas/oauth.contract.test.ts +64 -1
- package/src/api-schemas/process.ts +352 -2
- package/src/api-schemas/project-configuration.ts +11 -7
- package/src/api-schemas/project.contract.test.ts +83 -6
- package/src/api-schemas/registry.ts +290 -457
- package/src/api-schemas/schema-primitives.ts +13 -0
- package/src/api-schemas/store.contract.test.ts +30 -1
- package/src/api-schemas/store.ts +58 -11
- package/src/api-schemas/tools.ts +62 -0
- package/src/api-schemas/view-execution.ts +28 -2
- package/src/api-schemas/views.contract.test.ts +119 -0
- package/src/api-schemas/views.ts +142 -3
- package/src/api-schemas/workflow-runs.ts +9 -7
- package/src/api-schemas/zeno-response-contracts.test.ts +344 -0
- package/src/apps.test.ts +2 -40
- package/src/apps.ts +14 -181
- package/src/ask-user.ts +1 -1
- package/src/audit-trail.ts +3 -3
- package/src/browser-credentials.ts +3 -7
- package/src/common.ts +13 -1
- package/src/content-query.ts +5 -0
- package/src/data-platform.ts +4 -51
- package/src/email.ts +24 -18
- package/src/environment.ts +1 -14
- package/src/facets.ts +0 -6
- package/src/group.ts +2 -12
- package/src/index.ts +3 -15
- package/src/integrations.ts +1 -52
- package/src/interaction.ts +12 -271
- package/src/meters.ts +10 -11
- package/src/oauth-scopes.test.ts +15 -0
- package/src/oauth-scopes.ts +10 -64
- package/src/oauth-server.ts +28 -215
- package/src/payload.ts +1 -6
- package/src/pending-asks.ts +17 -42
- package/src/platform-event.ts +3 -156
- package/src/project.ts +12 -160
- package/src/prompt.ts +9 -8
- package/src/query.ts +0 -9
- package/src/rate-limiter.ts +3 -3
- package/src/runs.ts +8 -0
- package/src/schema-for-extraction.ts +1 -1
- package/src/secrets.ts +3 -0
- package/src/skill.ts +0 -15
- package/src/store/activity-catalog.ts +3 -0
- package/src/store/agent-approval.ts +0 -4
- package/src/store/agent-run.ts +39 -93
- package/src/store/collections.ts +3 -6
- package/src/store/conversation-state.ts +12 -25
- package/src/store/doc-analyzer.ts +0 -26
- package/src/store/dsl-workflow.ts +28 -5
- package/src/store/grounded-extraction.ts +0 -18
- package/src/store/index.ts +0 -6
- package/src/store/intake-policy-schema.generated.ts +293 -1
- package/src/store/process.ts +84 -0
- package/src/store/rendering.ts +3 -8
- package/src/store/schedule.ts +0 -19
- package/src/store/signals.ts +14 -0
- package/src/store/store.ts +118 -127
- package/src/store/workflow.ts +32 -120
- package/src/sts-errors.ts +0 -2
- package/src/sts-token-types.ts +3 -28
- package/src/tools.ts +15 -0
- package/src/transient-tokens.ts +0 -2
- package/src/user.ts +0 -20
- package/src/utils/schemas.ts +2 -159
- package/src/views.ts +50 -47
- package/src/workflow-analytics.ts +12 -40
- package/tsconfig.dist.json +4 -1
- package/lib/Progress.d.ts +0 -22
- package/lib/Progress.d.ts.map +0 -1
- package/lib/Progress.js +0 -57
- package/lib/Progress.js.map +0 -1
- package/lib/agent-request-template.d.ts +0 -4
- package/lib/agent-request-template.d.ts.map +0 -1
- package/lib/agent-request-template.js +0 -46
- package/lib/agent-request-template.js.map +0 -1
- package/lib/channels.d.ts +0 -22
- package/lib/channels.d.ts.map +0 -1
- package/lib/channels.js +0 -57
- package/lib/channels.js.map +0 -1
- package/lib/host-utils.d.ts +0 -8
- package/lib/host-utils.d.ts.map +0 -1
- package/lib/host-utils.js +0 -84
- package/lib/host-utils.js.map +0 -1
- package/lib/platform-event-validation.d.ts +0 -45
- package/lib/platform-event-validation.d.ts.map +0 -1
- package/lib/platform-event-validation.js +0 -336
- package/lib/platform-event-validation.js.map +0 -1
- package/lib/store/hive-memory.d.ts +0 -117
- package/lib/store/hive-memory.d.ts.map +0 -1
- package/lib/store/hive-memory.js +0 -2
- package/lib/store/hive-memory.js.map +0 -1
- package/lib/store/object-types.d.ts +0 -24
- package/lib/store/object-types.d.ts.map +0 -1
- package/lib/store/object-types.js +0 -95
- package/lib/store/object-types.js.map +0 -1
- package/lib/store/process-schema.d.ts +0 -561
- package/lib/store/process-schema.d.ts.map +0 -1
- package/lib/store/process-schema.js +0 -561
- package/lib/store/process-schema.js.map +0 -1
- package/lib/store/process-validation.d.ts +0 -17
- package/lib/store/process-validation.d.ts.map +0 -1
- package/lib/store/process-validation.js +0 -515
- package/lib/store/process-validation.js.map +0 -1
- package/lib/store/temporalio.d.ts +0 -17
- package/lib/store/temporalio.d.ts.map +0 -1
- package/lib/store/temporalio.js +0 -41
- package/lib/store/temporalio.js.map +0 -1
- package/lib/view-configuration-validation.d.ts +0 -15
- package/lib/view-configuration-validation.d.ts.map +0 -1
- package/lib/view-configuration-validation.js +0 -63
- package/lib/view-configuration-validation.js.map +0 -1
- package/lib/view-query-validation.d.ts +0 -13
- package/lib/view-query-validation.d.ts.map +0 -1
- package/lib/view-query-validation.js +0 -266
- package/lib/view-query-validation.js.map +0 -1
- package/lib/view-validation-helpers.d.ts +0 -15
- package/lib/view-validation-helpers.d.ts.map +0 -1
- package/lib/view-validation-helpers.js +0 -25
- package/lib/view-validation-helpers.js.map +0 -1
- package/lib/views-schema.d.ts +0 -1992
- package/lib/views-schema.d.ts.map +0 -1
- package/lib/views-schema.js +0 -674
- package/lib/views-schema.js.map +0 -1
- package/lib/views-validation.d.ts +0 -21
- package/lib/views-validation.d.ts.map +0 -1
- package/lib/views-validation.js +0 -164
- package/lib/views-validation.js.map +0 -1
- package/src/Progress.ts +0 -59
- package/src/agent-request-template.test.ts +0 -40
- package/src/agent-request-template.ts +0 -45
- package/src/channels.ts +0 -70
- package/src/host-utils.test.ts +0 -61
- package/src/host-utils.ts +0 -93
- package/src/platform-event-validation.test.ts +0 -251
- package/src/platform-event-validation.ts +0 -372
- package/src/project.test.ts +0 -44
- package/src/store/hive-memory.ts +0 -167
- package/src/store/object-types.ts +0 -123
- package/src/store/process-schema.test.ts +0 -149
- package/src/store/process-schema.ts +0 -564
- package/src/store/process-validation.test.ts +0 -635
- package/src/store/process-validation.ts +0 -646
- package/src/store/temporalio.ts +0 -54
- package/src/view-configuration-validation.ts +0 -74
- package/src/view-query-validation.test.ts +0 -21
- package/src/view-query-validation.ts +0 -319
- package/src/view-validation-helpers.ts +0 -28
- package/src/views-schema.test.ts +0 -372
- package/src/views-schema.ts +0 -689
- package/src/views-validation.ts +0 -234
|
@@ -4,7 +4,12 @@ import type { WorkflowDefinitionRefSchema, WorkflowInputFileSchema, WorkflowInpu
|
|
|
4
4
|
import type { ToolExecutionMetadata } from '../tool-execution.js';
|
|
5
5
|
import type { BaseObject } from './common.js';
|
|
6
6
|
import type { WorkflowExecutionPayload } from './index.js';
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Copied from temporalio: the child-workflow parent-close policy, as authored in a DSL workflow
|
|
9
|
+
* step. Declared here rather than in `./temporalio.js` because that module is Vertesia-internal
|
|
10
|
+
* while this union is part of the public DSL that clients write.
|
|
11
|
+
*/
|
|
12
|
+
export type ParentClosePolicyType = 'TERMINATE' | 'ABANDON' | 'REQUEST_CANCEL' | undefined;
|
|
8
13
|
export type DurationValue = z.infer<typeof DurationValueSchema>;
|
|
9
14
|
/**
|
|
10
15
|
* Discriminator for workflow input type - either object IDs or GCS file URIs
|
|
@@ -39,7 +44,7 @@ export interface DSLActivityExecutionPayload<ParamsT extends object> extends Wor
|
|
|
39
44
|
}
|
|
40
45
|
export type ImportSpec = (string | Record<string, string>)[];
|
|
41
46
|
export type ActivityFetchSpec = z.infer<typeof ActivityFetchSpecSchema>;
|
|
42
|
-
|
|
47
|
+
interface DSLWorkflowStepBase {
|
|
43
48
|
/**
|
|
44
49
|
* The type fo the step.
|
|
45
50
|
* If not set defaults to "activity"
|
|
@@ -61,6 +66,10 @@ export type DSLActivityStep<PARAMS extends object = Record<string, unknown>> = O
|
|
|
61
66
|
export interface DSLChildWorkflowStep extends DSLWorkflowStepBase {
|
|
62
67
|
type: 'workflow';
|
|
63
68
|
name: string;
|
|
69
|
+
/** Title displayed for the child workflow in the workflow builder. */
|
|
70
|
+
title?: string;
|
|
71
|
+
/** Description displayed for the child workflow in the workflow builder. */
|
|
72
|
+
description?: string;
|
|
64
73
|
/**
|
|
65
74
|
* The parameters to pass to the child workflow.
|
|
66
75
|
* These parameters will be merged over the parent workflow vars and passed altogether to the child workflow.
|
|
@@ -102,7 +111,7 @@ export interface DSLChildWorkflowStep extends DSLWorkflowStepBase {
|
|
|
102
111
|
* @discriminator type
|
|
103
112
|
*/
|
|
104
113
|
export type DSLWorkflowStep = DSLActivityStep | DSLChildWorkflowStep;
|
|
105
|
-
|
|
114
|
+
interface DSLWorkflowSpecBase {
|
|
106
115
|
name: string;
|
|
107
116
|
description?: string;
|
|
108
117
|
tags?: string[];
|
|
@@ -151,17 +160,25 @@ export type DSLWorkflowSpec = DSLWorkflowSpecWithSteps | DSLWorkflowSpecWithActi
|
|
|
151
160
|
* against the stored value for optimistic concurrency. All server-assigned on the read side, hence
|
|
152
161
|
* optional here and absent from {@link DSLWorkflowSpec}.
|
|
153
162
|
*/
|
|
154
|
-
|
|
163
|
+
interface LegacyWorkflowDefinitionUpsertFields {
|
|
155
164
|
id?: string;
|
|
156
165
|
created_at?: string;
|
|
157
166
|
updated_at?: string;
|
|
158
167
|
}
|
|
159
168
|
export type WorkflowDefinitionPayloadWithSteps = DSLWorkflowSpecWithSteps & LegacyWorkflowDefinitionUpsertFields;
|
|
160
169
|
export type WorkflowDefinitionPayloadWithActivities = DSLWorkflowSpecWithActivities & LegacyWorkflowDefinitionUpsertFields;
|
|
161
|
-
/** The request body of `POST /workflows/definitions
|
|
170
|
+
/** The request body of `POST /workflows/definitions`. */
|
|
162
171
|
export type WorkflowDefinitionPayload = WorkflowDefinitionPayloadWithSteps | WorkflowDefinitionPayloadWithActivities;
|
|
172
|
+
interface ExpectedEditRevision {
|
|
173
|
+
expected_edit_revision?: number;
|
|
174
|
+
}
|
|
175
|
+
export type UpdateWorkflowDefinitionPayloadWithSteps = DSLWorkflowSpecWithSteps & ExpectedEditRevision;
|
|
176
|
+
export type UpdateWorkflowDefinitionPayloadWithActivities = DSLWorkflowSpecWithActivities & ExpectedEditRevision;
|
|
177
|
+
/** The guarded request body of `PUT /workflows/definitions/:id`. */
|
|
178
|
+
export type UpdateWorkflowDefinitionPayload = UpdateWorkflowDefinitionPayloadWithSteps | UpdateWorkflowDefinitionPayloadWithActivities;
|
|
163
179
|
export declare function withDSLWorkflowSpecDiscriminator(spec: DSLWorkflowSpecBase): DSLWorkflowSpec;
|
|
164
180
|
export interface DSLWorkflowDefinition extends BaseObject, DSLWorkflowSpecBase {
|
|
181
|
+
edit_revision: number;
|
|
165
182
|
input_schema?: Record<string, unknown>;
|
|
166
183
|
activities?: DSLActivitySpec[];
|
|
167
184
|
steps?: DSLWorkflowStep[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsl-workflow.d.ts","sourceRoot":"","sources":["../../src/store/dsl-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACR,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EACR,2BAA2B,EAC3B,uBAAuB,EACvB,mBAAmB,EACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"dsl-workflow.d.ts","sourceRoot":"","sources":["../../src/store/dsl-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACR,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EACR,2BAA2B,EAC3B,uBAAuB,EACvB,mBAAmB,EACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D;;;;GAIG;AACH,MAAM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WAAW,6BAA8B,SAAQ,qBAAqB;IACxE,WAAW,EAAE,OAAO,GAAG,YAAY,CAAC;CACvC;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,6BAA6B,mDAAmD,CAAC;AAE9F;;;GAGG;AACH,MAAM,WAAW,8BAA8B,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5F,kEAAkE;IAClE,aAAa,EAAE,MAAM,CAAC;IACtB,uCAAuC;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,qBAAqB,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,gFAAgF;IAChF,MAAM,EAAE,OAAO,CAAC;IAChB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsl-workflow.js","sourceRoot":"","sources":["../../src/store/dsl-workflow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dsl-workflow.js","sourceRoot":"","sources":["../../src/store/dsl-workflow.ts"],"names":[],"mappings":"AAqPA,MAAM,UAAU,gCAAgC,CAAC,IAAyB;IACtE,IAAI,OAAO,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QAChC,OAAO,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,OAAO,EAA8B,CAAC;IACzE,CAAC;IACD,OAAO,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,YAAY,EAAmC,CAAC;AACnF,CAAC;AAgBD,MAAM,CAAC,MAAM,6BAA6B,GAAG,gDAAgD,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import type { GroundedAssistantResponseSchema, GroundedExtractionRequestSchema, GroundedExtractionResultResponseSchema, GroundedExtractionVerdictSchema, GroundedVerificationBreakdownSchema } from '../api-schemas/document-processing.js';
|
|
3
|
-
import type { WorkflowRunStatus } from './workflow.js';
|
|
4
3
|
/**
|
|
5
4
|
* Document-level trust verdict for a grounded extraction. `good_to_go` means the
|
|
6
5
|
* extracted content (after any review corrections) can be used without a human
|
|
@@ -8,11 +7,6 @@ import type { WorkflowRunStatus } from './workflow.js';
|
|
|
8
7
|
* correctness, not how many citation boxes rendered.
|
|
9
8
|
*/
|
|
10
9
|
export type GroundedExtractionVerdict = z.infer<typeof GroundedExtractionVerdictSchema>;
|
|
11
|
-
/**
|
|
12
|
-
* Canonical workflow id for object-scoped grounded extraction. Every entry point
|
|
13
|
-
* must use this id so Temporal prevents overlapping extraction runs per object.
|
|
14
|
-
*/
|
|
15
|
-
export declare function getGroundedExtractionWorkflowId(accountId: string, objectId: string): string;
|
|
16
10
|
/**
|
|
17
11
|
* Request body to start a grounded extraction on a content object. All fields are
|
|
18
12
|
* optional: with none set, the object's own content-type schema drives the
|
|
@@ -26,14 +20,6 @@ export type GroundedExtractionRequest = z.infer<typeof GroundedExtractionRequest
|
|
|
26
20
|
* client renders the conversation with `agent_run_id`.
|
|
27
21
|
*/
|
|
28
22
|
export type GroundedAssistantResponse = z.infer<typeof GroundedAssistantResponseSchema>;
|
|
29
|
-
/**
|
|
30
|
-
* Status of a grounded extraction workflow. Carries the doc-level verdict once the
|
|
31
|
-
* run has completed and written its result.
|
|
32
|
-
*/
|
|
33
|
-
export interface GroundedExtractionRunStatusResponse extends WorkflowRunStatus {
|
|
34
|
-
/** The trust verdict, present once the run has completed. */
|
|
35
|
-
verdict?: GroundedExtractionVerdict;
|
|
36
|
-
}
|
|
37
23
|
/**
|
|
38
24
|
* How each extracted value was verified. Two kinds, both trustworthy:
|
|
39
25
|
* digitally verified (matched the document's text — digital layer or OCR) and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grounded-extraction.d.ts","sourceRoot":"","sources":["../../src/store/grounded-extraction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACR,+BAA+B,EAC/B,+BAA+B,EAC/B,sCAAsC,EACtC,+BAA+B,EAC/B,mCAAmC,EACtC,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"grounded-extraction.d.ts","sourceRoot":"","sources":["../../src/store/grounded-extraction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACR,+BAA+B,EAC/B,+BAA+B,EAC/B,sCAAsC,EACtC,+BAA+B,EAC/B,mCAAmC,EACtC,MAAM,uCAAuC,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;GAKG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG;;;GAGG;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC"}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* Canonical workflow id for object-scoped grounded extraction. Every entry point
|
|
3
|
-
* must use this id so Temporal prevents overlapping extraction runs per object.
|
|
4
|
-
*/
|
|
5
|
-
export function getGroundedExtractionWorkflowId(accountId, objectId) {
|
|
6
|
-
return `${accountId.slice(0, 6)}:workflow_execution_request:${objectId}:grounded`;
|
|
7
|
-
}
|
|
1
|
+
export {};
|
|
8
2
|
//# sourceMappingURL=grounded-extraction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grounded-extraction.js","sourceRoot":"","sources":["../../src/store/grounded-extraction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grounded-extraction.js","sourceRoot":"","sources":["../../src/store/grounded-extraction.ts"],"names":[],"mappings":""}
|
package/lib/store/index.d.ts
CHANGED
|
@@ -8,17 +8,12 @@ export * from './doc-analyzer.js';
|
|
|
8
8
|
export * from './dsl-workflow.js';
|
|
9
9
|
export * from './editing-policy-schema.generated.js';
|
|
10
10
|
export * from './grounded-extraction.js';
|
|
11
|
-
export * from './hive-memory.js';
|
|
12
11
|
export * from './intake-policy-schema.generated.js';
|
|
13
|
-
export * from './object-types.js';
|
|
14
12
|
export * from './process.js';
|
|
15
|
-
export * from './process-schema.js';
|
|
16
|
-
export * from './process-validation.js';
|
|
17
13
|
export * from './rendering.js';
|
|
18
14
|
export * from './schedule.js';
|
|
19
15
|
export * from './signals.js';
|
|
20
16
|
export * from './store.js';
|
|
21
17
|
export * from './task.js';
|
|
22
|
-
export * from './temporalio.js';
|
|
23
18
|
export * from './workflow.js';
|
|
24
19
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/store/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,qCAAqC,CAAC;AACpD,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
package/lib/store/index.js
CHANGED
|
@@ -6,20 +6,14 @@ export * from './common.js';
|
|
|
6
6
|
export * from './conversation-state.js';
|
|
7
7
|
export * from './doc-analyzer.js';
|
|
8
8
|
export * from './dsl-workflow.js';
|
|
9
|
-
// The compiled JSON Schema for ContentTypeIntakePolicy, under the name consumers import.
|
|
10
9
|
export * from './editing-policy-schema.generated.js';
|
|
11
10
|
export * from './grounded-extraction.js';
|
|
12
|
-
export * from './hive-memory.js';
|
|
13
11
|
export * from './intake-policy-schema.generated.js';
|
|
14
|
-
export * from './object-types.js';
|
|
15
12
|
export * from './process.js';
|
|
16
|
-
export * from './process-schema.js';
|
|
17
|
-
export * from './process-validation.js';
|
|
18
13
|
export * from './rendering.js';
|
|
19
14
|
export * from './schedule.js';
|
|
20
15
|
export * from './signals.js';
|
|
21
16
|
export * from './store.js';
|
|
22
17
|
export * from './task.js';
|
|
23
|
-
export * from './temporalio.js';
|
|
24
18
|
export * from './workflow.js';
|
|
25
19
|
//# sourceMappingURL=index.js.map
|
package/lib/store/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,qCAAqC,CAAC;AACpD,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intake-policy-schema.generated.d.ts","sourceRoot":"","sources":["../../src/store/intake-policy-schema.generated.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,6BAA6B,EAAE,
|
|
1
|
+
{"version":3,"file":"intake-policy-schema.generated.d.ts","sourceRoot":"","sources":["../../src/store/intake-policy-schema.generated.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,6BAA6B,EAAE,UAstD3C,CAAC"}
|
|
@@ -243,6 +243,48 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
243
243
|
additionalProperties: false,
|
|
244
244
|
description: 'Per-content-type policy for the standard intake workflows.',
|
|
245
245
|
$defs: {
|
|
246
|
+
AzureFoundryChatOptions: {
|
|
247
|
+
type: 'object',
|
|
248
|
+
properties: {
|
|
249
|
+
_option_id: {
|
|
250
|
+
type: 'string',
|
|
251
|
+
const: 'azure-foundry-chat',
|
|
252
|
+
},
|
|
253
|
+
max_tokens: {
|
|
254
|
+
type: 'number',
|
|
255
|
+
},
|
|
256
|
+
temperature: {
|
|
257
|
+
type: 'number',
|
|
258
|
+
},
|
|
259
|
+
top_p: {
|
|
260
|
+
type: 'number',
|
|
261
|
+
},
|
|
262
|
+
presence_penalty: {
|
|
263
|
+
type: 'number',
|
|
264
|
+
},
|
|
265
|
+
frequency_penalty: {
|
|
266
|
+
type: 'number',
|
|
267
|
+
},
|
|
268
|
+
stop_sequence: {
|
|
269
|
+
type: 'array',
|
|
270
|
+
items: {
|
|
271
|
+
type: 'string',
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
seed: {
|
|
275
|
+
type: 'number',
|
|
276
|
+
},
|
|
277
|
+
image_detail: {
|
|
278
|
+
type: 'string',
|
|
279
|
+
enum: ['low', 'high', 'auto'],
|
|
280
|
+
},
|
|
281
|
+
include_thoughts: {
|
|
282
|
+
type: 'boolean',
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
required: ['_option_id'],
|
|
286
|
+
additionalProperties: false,
|
|
287
|
+
},
|
|
246
288
|
BedrockAI21Options: {
|
|
247
289
|
type: 'object',
|
|
248
290
|
properties: {
|
|
@@ -268,6 +310,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
268
310
|
include_thoughts: {
|
|
269
311
|
type: 'boolean',
|
|
270
312
|
},
|
|
313
|
+
service_tier: {
|
|
314
|
+
type: 'string',
|
|
315
|
+
minLength: 1,
|
|
316
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
317
|
+
},
|
|
271
318
|
},
|
|
272
319
|
required: ['_option_id'],
|
|
273
320
|
additionalProperties: false,
|
|
@@ -314,6 +361,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
314
361
|
type: 'string',
|
|
315
362
|
enum: ['5m', '1h'],
|
|
316
363
|
},
|
|
364
|
+
service_tier: {
|
|
365
|
+
type: 'string',
|
|
366
|
+
minLength: 1,
|
|
367
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
368
|
+
},
|
|
317
369
|
},
|
|
318
370
|
required: ['_option_id'],
|
|
319
371
|
additionalProperties: false,
|
|
@@ -343,6 +395,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
343
395
|
include_thoughts: {
|
|
344
396
|
type: 'boolean',
|
|
345
397
|
},
|
|
398
|
+
service_tier: {
|
|
399
|
+
type: 'string',
|
|
400
|
+
minLength: 1,
|
|
401
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
402
|
+
},
|
|
346
403
|
},
|
|
347
404
|
required: ['_option_id'],
|
|
348
405
|
additionalProperties: false,
|
|
@@ -372,6 +429,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
372
429
|
include_thoughts: {
|
|
373
430
|
type: 'boolean',
|
|
374
431
|
},
|
|
432
|
+
service_tier: {
|
|
433
|
+
type: 'string',
|
|
434
|
+
minLength: 1,
|
|
435
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
436
|
+
},
|
|
375
437
|
},
|
|
376
438
|
required: ['_option_id'],
|
|
377
439
|
additionalProperties: false,
|
|
@@ -408,6 +470,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
408
470
|
presence_penalty: {
|
|
409
471
|
type: 'number',
|
|
410
472
|
},
|
|
473
|
+
service_tier: {
|
|
474
|
+
type: 'string',
|
|
475
|
+
minLength: 1,
|
|
476
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
477
|
+
},
|
|
411
478
|
},
|
|
412
479
|
required: ['_option_id'],
|
|
413
480
|
additionalProperties: false,
|
|
@@ -434,6 +501,14 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
434
501
|
type: 'string',
|
|
435
502
|
},
|
|
436
503
|
},
|
|
504
|
+
effort: {
|
|
505
|
+
type: 'string',
|
|
506
|
+
enum: ['low', 'medium', 'high'],
|
|
507
|
+
},
|
|
508
|
+
reasoning_effort: {
|
|
509
|
+
type: 'string',
|
|
510
|
+
enum: ['low', 'medium', 'high'],
|
|
511
|
+
},
|
|
437
512
|
include_thoughts: {
|
|
438
513
|
type: 'boolean',
|
|
439
514
|
},
|
|
@@ -551,6 +626,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
551
626
|
include_thoughts: {
|
|
552
627
|
type: 'boolean',
|
|
553
628
|
},
|
|
629
|
+
service_tier: {
|
|
630
|
+
type: 'string',
|
|
631
|
+
minLength: 1,
|
|
632
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
633
|
+
},
|
|
554
634
|
},
|
|
555
635
|
required: ['_option_id'],
|
|
556
636
|
additionalProperties: false,
|
|
@@ -580,6 +660,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
580
660
|
include_thoughts: {
|
|
581
661
|
type: 'boolean',
|
|
582
662
|
},
|
|
663
|
+
service_tier: {
|
|
664
|
+
type: 'string',
|
|
665
|
+
minLength: 1,
|
|
666
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
667
|
+
},
|
|
583
668
|
},
|
|
584
669
|
required: ['_option_id'],
|
|
585
670
|
additionalProperties: false,
|
|
@@ -618,6 +703,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
618
703
|
presence_penalty: {
|
|
619
704
|
type: 'number',
|
|
620
705
|
},
|
|
706
|
+
service_tier: {
|
|
707
|
+
type: 'string',
|
|
708
|
+
minLength: 1,
|
|
709
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
710
|
+
},
|
|
621
711
|
},
|
|
622
712
|
required: ['_option_id'],
|
|
623
713
|
additionalProperties: false,
|
|
@@ -808,7 +898,7 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
808
898
|
},
|
|
809
899
|
},
|
|
810
900
|
additionalProperties: false,
|
|
811
|
-
description: "HTTP timeouts applied to a driver's upstream LLM-provider calls.\n\nAll values are in milliseconds. Drivers should map these onto whatever HTTP client their SDK uses; the defaults applied in `@llumiverse/core/createDriverHttpAgent` are: - headersTimeout:
|
|
901
|
+
description: "HTTP timeouts applied to a driver's upstream LLM-provider calls.\n\nAll values are in milliseconds. Drivers should map these onto whatever HTTP client their SDK uses; the defaults applied in `@llumiverse/core/createDriverHttpAgent` are: - headersTimeout: 900_000 - bodyTimeout: 900_000 - connectTimeout: 60_000 - keepAliveTimeout: 300_000\n\nThe response defaults are deliberately longer than the hosting request boundary. Application-level cancellation should end user work first; driver timeouts are bounded-resource safety nets.",
|
|
812
902
|
},
|
|
813
903
|
ImagenMaskMode: {
|
|
814
904
|
type: 'string',
|
|
@@ -959,6 +1049,16 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
959
1049
|
type: 'string',
|
|
960
1050
|
description: 'Stable provider-side routing key for automatic prompt caching.',
|
|
961
1051
|
},
|
|
1052
|
+
prompt_cache_mode: {
|
|
1053
|
+
$ref: '#/$defs/PromptCacheMode',
|
|
1054
|
+
description: 'Controls provider-side explicit caching: auto falls back safely, off disables it, and required surfaces cache preparation failures for diagnostics.',
|
|
1055
|
+
},
|
|
1056
|
+
prompt_cache_ttl_seconds: {
|
|
1057
|
+
type: 'integer',
|
|
1058
|
+
minimum: 60,
|
|
1059
|
+
maximum: 9007199254740991,
|
|
1060
|
+
description: 'Caller-selected explicit cache lifetime in seconds. Defaults remain provider-specific; Vertex Gemini requires at least 60 seconds.',
|
|
1061
|
+
},
|
|
962
1062
|
prompt_cache_schema_suffix: {
|
|
963
1063
|
type: 'boolean',
|
|
964
1064
|
description: 'Put the result schema after the cached prefix; Vertesia still validates the returned JSON against it.',
|
|
@@ -970,11 +1070,72 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
970
1070
|
},
|
|
971
1071
|
additionalProperties: false,
|
|
972
1072
|
},
|
|
1073
|
+
MistralTextOptions: {
|
|
1074
|
+
type: 'object',
|
|
1075
|
+
properties: {
|
|
1076
|
+
_option_id: {
|
|
1077
|
+
type: 'string',
|
|
1078
|
+
const: 'mistral-text',
|
|
1079
|
+
},
|
|
1080
|
+
max_tokens: {
|
|
1081
|
+
type: 'number',
|
|
1082
|
+
},
|
|
1083
|
+
temperature: {
|
|
1084
|
+
type: 'number',
|
|
1085
|
+
},
|
|
1086
|
+
top_p: {
|
|
1087
|
+
type: 'number',
|
|
1088
|
+
},
|
|
1089
|
+
presence_penalty: {
|
|
1090
|
+
type: 'number',
|
|
1091
|
+
},
|
|
1092
|
+
frequency_penalty: {
|
|
1093
|
+
type: 'number',
|
|
1094
|
+
},
|
|
1095
|
+
stop_sequence: {
|
|
1096
|
+
type: 'array',
|
|
1097
|
+
items: {
|
|
1098
|
+
type: 'string',
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
1101
|
+
effort: {
|
|
1102
|
+
type: 'string',
|
|
1103
|
+
enum: ['none', 'high'],
|
|
1104
|
+
},
|
|
1105
|
+
random_seed: {
|
|
1106
|
+
type: 'integer',
|
|
1107
|
+
minimum: -9007199254740991,
|
|
1108
|
+
maximum: 9007199254740991,
|
|
1109
|
+
},
|
|
1110
|
+
safe_prompt: {
|
|
1111
|
+
type: 'boolean',
|
|
1112
|
+
},
|
|
1113
|
+
parallel_tool_calls: {
|
|
1114
|
+
type: 'boolean',
|
|
1115
|
+
},
|
|
1116
|
+
tool_choice: {
|
|
1117
|
+
type: 'string',
|
|
1118
|
+
enum: ['auto', 'none', 'any', 'required'],
|
|
1119
|
+
},
|
|
1120
|
+
prompt_mode: {
|
|
1121
|
+
type: 'string',
|
|
1122
|
+
const: 'reasoning',
|
|
1123
|
+
},
|
|
1124
|
+
include_thoughts: {
|
|
1125
|
+
type: 'boolean',
|
|
1126
|
+
},
|
|
1127
|
+
},
|
|
1128
|
+
required: ['_option_id'],
|
|
1129
|
+
additionalProperties: false,
|
|
1130
|
+
},
|
|
973
1131
|
ModelOptions: {
|
|
974
1132
|
oneOf: [
|
|
975
1133
|
{
|
|
976
1134
|
$ref: '#/$defs/TextFallbackOptions',
|
|
977
1135
|
},
|
|
1136
|
+
{
|
|
1137
|
+
$ref: '#/$defs/AzureFoundryChatOptions',
|
|
1138
|
+
},
|
|
978
1139
|
{
|
|
979
1140
|
$ref: '#/$defs/ImagenOptions',
|
|
980
1141
|
},
|
|
@@ -984,6 +1145,9 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
984
1145
|
{
|
|
985
1146
|
$ref: '#/$defs/VertexAIGeminiOptions',
|
|
986
1147
|
},
|
|
1148
|
+
{
|
|
1149
|
+
$ref: '#/$defs/VertexAIGeminiOmniVideoOptions',
|
|
1150
|
+
},
|
|
987
1151
|
{
|
|
988
1152
|
$ref: '#/$defs/VertexAIGrokOptions',
|
|
989
1153
|
},
|
|
@@ -1038,9 +1202,15 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1038
1202
|
{
|
|
1039
1203
|
$ref: '#/$defs/OpenAiGptImageOptions',
|
|
1040
1204
|
},
|
|
1205
|
+
{
|
|
1206
|
+
$ref: '#/$defs/XAIGrokImageOptions',
|
|
1207
|
+
},
|
|
1041
1208
|
{
|
|
1042
1209
|
$ref: '#/$defs/GroqOptions',
|
|
1043
1210
|
},
|
|
1211
|
+
{
|
|
1212
|
+
$ref: '#/$defs/MistralTextOptions',
|
|
1213
|
+
},
|
|
1044
1214
|
],
|
|
1045
1215
|
},
|
|
1046
1216
|
NovaCanvasOptions: {
|
|
@@ -1203,6 +1373,16 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1203
1373
|
include_thoughts: {
|
|
1204
1374
|
type: 'boolean',
|
|
1205
1375
|
},
|
|
1376
|
+
service_tier: {
|
|
1377
|
+
type: 'string',
|
|
1378
|
+
minLength: 1,
|
|
1379
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1380
|
+
},
|
|
1381
|
+
extra_body: {
|
|
1382
|
+
type: 'object',
|
|
1383
|
+
additionalProperties: true,
|
|
1384
|
+
description: 'Additional provider-specific fields merged into the OpenAI-compatible request body.',
|
|
1385
|
+
},
|
|
1206
1386
|
},
|
|
1207
1387
|
required: ['_option_id'],
|
|
1208
1388
|
additionalProperties: false,
|
|
@@ -1236,10 +1416,24 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1236
1416
|
include_thoughts: {
|
|
1237
1417
|
type: 'boolean',
|
|
1238
1418
|
},
|
|
1419
|
+
service_tier: {
|
|
1420
|
+
type: 'string',
|
|
1421
|
+
minLength: 1,
|
|
1422
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1423
|
+
},
|
|
1424
|
+
extra_body: {
|
|
1425
|
+
type: 'object',
|
|
1426
|
+
additionalProperties: true,
|
|
1427
|
+
description: 'Additional provider-specific fields merged into the OpenAI-compatible request body.',
|
|
1428
|
+
},
|
|
1239
1429
|
},
|
|
1240
1430
|
required: ['_option_id'],
|
|
1241
1431
|
additionalProperties: false,
|
|
1242
1432
|
},
|
|
1433
|
+
PromptCacheMode: {
|
|
1434
|
+
type: 'string',
|
|
1435
|
+
enum: ['auto', 'off', 'required'],
|
|
1436
|
+
},
|
|
1243
1437
|
ReasoningEffort: {
|
|
1244
1438
|
type: 'string',
|
|
1245
1439
|
enum: ['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'max'],
|
|
@@ -1303,6 +1497,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1303
1497
|
max_tokens: {
|
|
1304
1498
|
type: 'number',
|
|
1305
1499
|
},
|
|
1500
|
+
service_tier: {
|
|
1501
|
+
type: 'string',
|
|
1502
|
+
minLength: 1,
|
|
1503
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1504
|
+
},
|
|
1306
1505
|
},
|
|
1307
1506
|
required: ['_option_id'],
|
|
1308
1507
|
additionalProperties: false,
|
|
@@ -1353,6 +1552,30 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1353
1552
|
required: ['_option_id'],
|
|
1354
1553
|
additionalProperties: false,
|
|
1355
1554
|
},
|
|
1555
|
+
VertexAIGeminiOmniVideoOptions: {
|
|
1556
|
+
type: 'object',
|
|
1557
|
+
properties: {
|
|
1558
|
+
_option_id: {
|
|
1559
|
+
type: 'string',
|
|
1560
|
+
const: 'vertexai-gemini-omni-video',
|
|
1561
|
+
},
|
|
1562
|
+
task: {
|
|
1563
|
+
type: 'string',
|
|
1564
|
+
enum: ['text_to_video', 'image_to_video', 'reference_to_video'],
|
|
1565
|
+
},
|
|
1566
|
+
aspect_ratio: {
|
|
1567
|
+
type: 'string',
|
|
1568
|
+
enum: ['16:9', '9:16'],
|
|
1569
|
+
},
|
|
1570
|
+
duration_seconds: {
|
|
1571
|
+
type: 'integer',
|
|
1572
|
+
minimum: 3,
|
|
1573
|
+
maximum: 10,
|
|
1574
|
+
},
|
|
1575
|
+
},
|
|
1576
|
+
required: ['_option_id'],
|
|
1577
|
+
additionalProperties: false,
|
|
1578
|
+
},
|
|
1356
1579
|
VertexAIGeminiOptions: {
|
|
1357
1580
|
type: 'object',
|
|
1358
1581
|
properties: {
|
|
@@ -1400,8 +1623,16 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1400
1623
|
thinking_level: {
|
|
1401
1624
|
$ref: '#/$defs/ThinkingLevel',
|
|
1402
1625
|
},
|
|
1626
|
+
service_tier: {
|
|
1627
|
+
type: 'string',
|
|
1628
|
+
minLength: 1,
|
|
1629
|
+
description: 'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1630
|
+
},
|
|
1403
1631
|
flex: {
|
|
1404
1632
|
type: 'boolean',
|
|
1633
|
+
deprecated: true,
|
|
1634
|
+
'x-deprecated-message': 'Use service_tier="flex" instead.',
|
|
1635
|
+
description: 'Deprecated: Use service_tier="flex" instead.',
|
|
1405
1636
|
},
|
|
1406
1637
|
image_aspect_ratio: {
|
|
1407
1638
|
type: 'string',
|
|
@@ -1456,6 +1687,53 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1456
1687
|
required: ['_option_id'],
|
|
1457
1688
|
additionalProperties: false,
|
|
1458
1689
|
},
|
|
1690
|
+
XAIGrokImageOptions: {
|
|
1691
|
+
type: 'object',
|
|
1692
|
+
properties: {
|
|
1693
|
+
_option_id: {
|
|
1694
|
+
type: 'string',
|
|
1695
|
+
const: 'xai-grok-image',
|
|
1696
|
+
},
|
|
1697
|
+
aspect_ratio: {
|
|
1698
|
+
type: 'string',
|
|
1699
|
+
enum: [
|
|
1700
|
+
'1:1',
|
|
1701
|
+
'16:9',
|
|
1702
|
+
'9:16',
|
|
1703
|
+
'4:3',
|
|
1704
|
+
'3:4',
|
|
1705
|
+
'3:2',
|
|
1706
|
+
'2:3',
|
|
1707
|
+
'2:1',
|
|
1708
|
+
'1:2',
|
|
1709
|
+
'19.5:9',
|
|
1710
|
+
'9:19.5',
|
|
1711
|
+
'20:9',
|
|
1712
|
+
'9:20',
|
|
1713
|
+
'auto',
|
|
1714
|
+
],
|
|
1715
|
+
},
|
|
1716
|
+
resolution: {
|
|
1717
|
+
type: 'string',
|
|
1718
|
+
enum: ['1k', '2k'],
|
|
1719
|
+
},
|
|
1720
|
+
quality: {
|
|
1721
|
+
type: 'string',
|
|
1722
|
+
enum: ['low', 'medium'],
|
|
1723
|
+
},
|
|
1724
|
+
response_format: {
|
|
1725
|
+
type: 'string',
|
|
1726
|
+
enum: ['url', 'b64_json'],
|
|
1727
|
+
},
|
|
1728
|
+
n: {
|
|
1729
|
+
type: 'integer',
|
|
1730
|
+
minimum: 1,
|
|
1731
|
+
maximum: 10,
|
|
1732
|
+
},
|
|
1733
|
+
},
|
|
1734
|
+
required: ['_option_id'],
|
|
1735
|
+
additionalProperties: false,
|
|
1736
|
+
},
|
|
1459
1737
|
},
|
|
1460
1738
|
};
|
|
1461
1739
|
//# sourceMappingURL=intake-policy-schema.generated.js.map
|