@vertesia/common 1.5.0-dev.20260807.073259Z → 1.5.0-dev.20260826.064249Z
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 +40303 -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 +583 -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 +9843 -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 +825 -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 +327 -0
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/events.d.ts +989 -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 +5 -5
- package/lib/api-schemas/integrations.d.ts.map +1 -1
- package/lib/api-schemas/integrations.js +15 -2
- package/lib/api-schemas/integrations.js.map +1 -1
- package/lib/api-schemas/interaction.d.ts +8313 -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 +309 -1
- package/lib/api-schemas/process.js.map +1 -1
- package/lib/api-schemas/project-configuration.d.ts +1098 -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 +1650 -6
- package/lib/api-schemas/project.d.ts.map +1 -1
- package/lib/api-schemas/registry.d.ts +87211 -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 +5496 -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 +340 -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 +0 -26
- 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 +18 -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 +269 -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 +40303 -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 +15 -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 +18 -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 +343 -1
- package/src/api-schemas/project-configuration.ts +11 -7
- package/src/api-schemas/project.contract.test.ts +64 -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 +320 -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 +0 -51
- 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 +24 -5
- package/src/store/grounded-extraction.ts +0 -18
- package/src/store/index.ts +0 -6
- package/src/store/intake-policy-schema.generated.ts +283 -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
|
@@ -251,6 +251,48 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
251
251
|
additionalProperties: false,
|
|
252
252
|
description: 'Per-content-type policy for the standard intake workflows.',
|
|
253
253
|
$defs: {
|
|
254
|
+
AzureFoundryChatOptions: {
|
|
255
|
+
type: 'object',
|
|
256
|
+
properties: {
|
|
257
|
+
_option_id: {
|
|
258
|
+
type: 'string',
|
|
259
|
+
const: 'azure-foundry-chat',
|
|
260
|
+
},
|
|
261
|
+
max_tokens: {
|
|
262
|
+
type: 'number',
|
|
263
|
+
},
|
|
264
|
+
temperature: {
|
|
265
|
+
type: 'number',
|
|
266
|
+
},
|
|
267
|
+
top_p: {
|
|
268
|
+
type: 'number',
|
|
269
|
+
},
|
|
270
|
+
presence_penalty: {
|
|
271
|
+
type: 'number',
|
|
272
|
+
},
|
|
273
|
+
frequency_penalty: {
|
|
274
|
+
type: 'number',
|
|
275
|
+
},
|
|
276
|
+
stop_sequence: {
|
|
277
|
+
type: 'array',
|
|
278
|
+
items: {
|
|
279
|
+
type: 'string',
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
seed: {
|
|
283
|
+
type: 'number',
|
|
284
|
+
},
|
|
285
|
+
image_detail: {
|
|
286
|
+
type: 'string',
|
|
287
|
+
enum: ['low', 'high', 'auto'],
|
|
288
|
+
},
|
|
289
|
+
include_thoughts: {
|
|
290
|
+
type: 'boolean',
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
required: ['_option_id'],
|
|
294
|
+
additionalProperties: false,
|
|
295
|
+
},
|
|
254
296
|
BedrockAI21Options: {
|
|
255
297
|
type: 'object',
|
|
256
298
|
properties: {
|
|
@@ -276,6 +318,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
276
318
|
include_thoughts: {
|
|
277
319
|
type: 'boolean',
|
|
278
320
|
},
|
|
321
|
+
service_tier: {
|
|
322
|
+
type: 'string',
|
|
323
|
+
minLength: 1,
|
|
324
|
+
description:
|
|
325
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
326
|
+
},
|
|
279
327
|
},
|
|
280
328
|
required: ['_option_id'],
|
|
281
329
|
additionalProperties: false,
|
|
@@ -322,6 +370,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
322
370
|
type: 'string',
|
|
323
371
|
enum: ['5m', '1h'],
|
|
324
372
|
},
|
|
373
|
+
service_tier: {
|
|
374
|
+
type: 'string',
|
|
375
|
+
minLength: 1,
|
|
376
|
+
description:
|
|
377
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
378
|
+
},
|
|
325
379
|
},
|
|
326
380
|
required: ['_option_id'],
|
|
327
381
|
additionalProperties: false,
|
|
@@ -351,6 +405,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
351
405
|
include_thoughts: {
|
|
352
406
|
type: 'boolean',
|
|
353
407
|
},
|
|
408
|
+
service_tier: {
|
|
409
|
+
type: 'string',
|
|
410
|
+
minLength: 1,
|
|
411
|
+
description:
|
|
412
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
413
|
+
},
|
|
354
414
|
},
|
|
355
415
|
required: ['_option_id'],
|
|
356
416
|
additionalProperties: false,
|
|
@@ -380,6 +440,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
380
440
|
include_thoughts: {
|
|
381
441
|
type: 'boolean',
|
|
382
442
|
},
|
|
443
|
+
service_tier: {
|
|
444
|
+
type: 'string',
|
|
445
|
+
minLength: 1,
|
|
446
|
+
description:
|
|
447
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
448
|
+
},
|
|
383
449
|
},
|
|
384
450
|
required: ['_option_id'],
|
|
385
451
|
additionalProperties: false,
|
|
@@ -416,6 +482,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
416
482
|
presence_penalty: {
|
|
417
483
|
type: 'number',
|
|
418
484
|
},
|
|
485
|
+
service_tier: {
|
|
486
|
+
type: 'string',
|
|
487
|
+
minLength: 1,
|
|
488
|
+
description:
|
|
489
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
490
|
+
},
|
|
419
491
|
},
|
|
420
492
|
required: ['_option_id'],
|
|
421
493
|
additionalProperties: false,
|
|
@@ -442,6 +514,14 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
442
514
|
type: 'string',
|
|
443
515
|
},
|
|
444
516
|
},
|
|
517
|
+
effort: {
|
|
518
|
+
type: 'string',
|
|
519
|
+
enum: ['low', 'medium', 'high'],
|
|
520
|
+
},
|
|
521
|
+
reasoning_effort: {
|
|
522
|
+
type: 'string',
|
|
523
|
+
enum: ['low', 'medium', 'high'],
|
|
524
|
+
},
|
|
445
525
|
include_thoughts: {
|
|
446
526
|
type: 'boolean',
|
|
447
527
|
},
|
|
@@ -559,6 +639,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
559
639
|
include_thoughts: {
|
|
560
640
|
type: 'boolean',
|
|
561
641
|
},
|
|
642
|
+
service_tier: {
|
|
643
|
+
type: 'string',
|
|
644
|
+
minLength: 1,
|
|
645
|
+
description:
|
|
646
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
647
|
+
},
|
|
562
648
|
},
|
|
563
649
|
required: ['_option_id'],
|
|
564
650
|
additionalProperties: false,
|
|
@@ -588,6 +674,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
588
674
|
include_thoughts: {
|
|
589
675
|
type: 'boolean',
|
|
590
676
|
},
|
|
677
|
+
service_tier: {
|
|
678
|
+
type: 'string',
|
|
679
|
+
minLength: 1,
|
|
680
|
+
description:
|
|
681
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
682
|
+
},
|
|
591
683
|
},
|
|
592
684
|
required: ['_option_id'],
|
|
593
685
|
additionalProperties: false,
|
|
@@ -626,6 +718,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
626
718
|
presence_penalty: {
|
|
627
719
|
type: 'number',
|
|
628
720
|
},
|
|
721
|
+
service_tier: {
|
|
722
|
+
type: 'string',
|
|
723
|
+
minLength: 1,
|
|
724
|
+
description:
|
|
725
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
726
|
+
},
|
|
629
727
|
},
|
|
630
728
|
required: ['_option_id'],
|
|
631
729
|
additionalProperties: false,
|
|
@@ -822,7 +920,7 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
822
920
|
},
|
|
823
921
|
additionalProperties: false,
|
|
824
922
|
description:
|
|
825
|
-
"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:
|
|
923
|
+
"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.",
|
|
826
924
|
},
|
|
827
925
|
ImagenMaskMode: {
|
|
828
926
|
type: 'string',
|
|
@@ -976,6 +1074,18 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
976
1074
|
type: 'string',
|
|
977
1075
|
description: 'Stable provider-side routing key for automatic prompt caching.',
|
|
978
1076
|
},
|
|
1077
|
+
prompt_cache_mode: {
|
|
1078
|
+
$ref: '#/$defs/PromptCacheMode',
|
|
1079
|
+
description:
|
|
1080
|
+
'Controls provider-side explicit caching: auto falls back safely, off disables it, and required surfaces cache preparation failures for diagnostics.',
|
|
1081
|
+
},
|
|
1082
|
+
prompt_cache_ttl_seconds: {
|
|
1083
|
+
type: 'integer',
|
|
1084
|
+
minimum: 60,
|
|
1085
|
+
maximum: 9007199254740991,
|
|
1086
|
+
description:
|
|
1087
|
+
'Caller-selected explicit cache lifetime in seconds. Defaults remain provider-specific; Vertex Gemini requires at least 60 seconds.',
|
|
1088
|
+
},
|
|
979
1089
|
prompt_cache_schema_suffix: {
|
|
980
1090
|
type: 'boolean',
|
|
981
1091
|
description:
|
|
@@ -988,11 +1098,72 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
988
1098
|
},
|
|
989
1099
|
additionalProperties: false,
|
|
990
1100
|
},
|
|
1101
|
+
MistralTextOptions: {
|
|
1102
|
+
type: 'object',
|
|
1103
|
+
properties: {
|
|
1104
|
+
_option_id: {
|
|
1105
|
+
type: 'string',
|
|
1106
|
+
const: 'mistral-text',
|
|
1107
|
+
},
|
|
1108
|
+
max_tokens: {
|
|
1109
|
+
type: 'number',
|
|
1110
|
+
},
|
|
1111
|
+
temperature: {
|
|
1112
|
+
type: 'number',
|
|
1113
|
+
},
|
|
1114
|
+
top_p: {
|
|
1115
|
+
type: 'number',
|
|
1116
|
+
},
|
|
1117
|
+
presence_penalty: {
|
|
1118
|
+
type: 'number',
|
|
1119
|
+
},
|
|
1120
|
+
frequency_penalty: {
|
|
1121
|
+
type: 'number',
|
|
1122
|
+
},
|
|
1123
|
+
stop_sequence: {
|
|
1124
|
+
type: 'array',
|
|
1125
|
+
items: {
|
|
1126
|
+
type: 'string',
|
|
1127
|
+
},
|
|
1128
|
+
},
|
|
1129
|
+
effort: {
|
|
1130
|
+
type: 'string',
|
|
1131
|
+
enum: ['none', 'high'],
|
|
1132
|
+
},
|
|
1133
|
+
random_seed: {
|
|
1134
|
+
type: 'integer',
|
|
1135
|
+
minimum: -9007199254740991,
|
|
1136
|
+
maximum: 9007199254740991,
|
|
1137
|
+
},
|
|
1138
|
+
safe_prompt: {
|
|
1139
|
+
type: 'boolean',
|
|
1140
|
+
},
|
|
1141
|
+
parallel_tool_calls: {
|
|
1142
|
+
type: 'boolean',
|
|
1143
|
+
},
|
|
1144
|
+
tool_choice: {
|
|
1145
|
+
type: 'string',
|
|
1146
|
+
enum: ['auto', 'none', 'any', 'required'],
|
|
1147
|
+
},
|
|
1148
|
+
prompt_mode: {
|
|
1149
|
+
type: 'string',
|
|
1150
|
+
const: 'reasoning',
|
|
1151
|
+
},
|
|
1152
|
+
include_thoughts: {
|
|
1153
|
+
type: 'boolean',
|
|
1154
|
+
},
|
|
1155
|
+
},
|
|
1156
|
+
required: ['_option_id'],
|
|
1157
|
+
additionalProperties: false,
|
|
1158
|
+
},
|
|
991
1159
|
ModelOptions: {
|
|
992
1160
|
oneOf: [
|
|
993
1161
|
{
|
|
994
1162
|
$ref: '#/$defs/TextFallbackOptions',
|
|
995
1163
|
},
|
|
1164
|
+
{
|
|
1165
|
+
$ref: '#/$defs/AzureFoundryChatOptions',
|
|
1166
|
+
},
|
|
996
1167
|
{
|
|
997
1168
|
$ref: '#/$defs/ImagenOptions',
|
|
998
1169
|
},
|
|
@@ -1002,6 +1173,9 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1002
1173
|
{
|
|
1003
1174
|
$ref: '#/$defs/VertexAIGeminiOptions',
|
|
1004
1175
|
},
|
|
1176
|
+
{
|
|
1177
|
+
$ref: '#/$defs/VertexAIGeminiOmniVideoOptions',
|
|
1178
|
+
},
|
|
1005
1179
|
{
|
|
1006
1180
|
$ref: '#/$defs/VertexAIGrokOptions',
|
|
1007
1181
|
},
|
|
@@ -1056,9 +1230,15 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1056
1230
|
{
|
|
1057
1231
|
$ref: '#/$defs/OpenAiGptImageOptions',
|
|
1058
1232
|
},
|
|
1233
|
+
{
|
|
1234
|
+
$ref: '#/$defs/XAIGrokImageOptions',
|
|
1235
|
+
},
|
|
1059
1236
|
{
|
|
1060
1237
|
$ref: '#/$defs/GroqOptions',
|
|
1061
1238
|
},
|
|
1239
|
+
{
|
|
1240
|
+
$ref: '#/$defs/MistralTextOptions',
|
|
1241
|
+
},
|
|
1062
1242
|
],
|
|
1063
1243
|
},
|
|
1064
1244
|
NovaCanvasOptions: {
|
|
@@ -1221,6 +1401,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1221
1401
|
include_thoughts: {
|
|
1222
1402
|
type: 'boolean',
|
|
1223
1403
|
},
|
|
1404
|
+
service_tier: {
|
|
1405
|
+
type: 'string',
|
|
1406
|
+
minLength: 1,
|
|
1407
|
+
description:
|
|
1408
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1409
|
+
},
|
|
1224
1410
|
},
|
|
1225
1411
|
required: ['_option_id'],
|
|
1226
1412
|
additionalProperties: false,
|
|
@@ -1254,10 +1440,20 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1254
1440
|
include_thoughts: {
|
|
1255
1441
|
type: 'boolean',
|
|
1256
1442
|
},
|
|
1443
|
+
service_tier: {
|
|
1444
|
+
type: 'string',
|
|
1445
|
+
minLength: 1,
|
|
1446
|
+
description:
|
|
1447
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1448
|
+
},
|
|
1257
1449
|
},
|
|
1258
1450
|
required: ['_option_id'],
|
|
1259
1451
|
additionalProperties: false,
|
|
1260
1452
|
},
|
|
1453
|
+
PromptCacheMode: {
|
|
1454
|
+
type: 'string',
|
|
1455
|
+
enum: ['auto', 'off', 'required'],
|
|
1456
|
+
},
|
|
1261
1457
|
ReasoningEffort: {
|
|
1262
1458
|
type: 'string',
|
|
1263
1459
|
enum: ['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'max'],
|
|
@@ -1321,6 +1517,12 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1321
1517
|
max_tokens: {
|
|
1322
1518
|
type: 'number',
|
|
1323
1519
|
},
|
|
1520
|
+
service_tier: {
|
|
1521
|
+
type: 'string',
|
|
1522
|
+
minLength: 1,
|
|
1523
|
+
description:
|
|
1524
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1525
|
+
},
|
|
1324
1526
|
},
|
|
1325
1527
|
required: ['_option_id'],
|
|
1326
1528
|
additionalProperties: false,
|
|
@@ -1371,6 +1573,30 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1371
1573
|
required: ['_option_id'],
|
|
1372
1574
|
additionalProperties: false,
|
|
1373
1575
|
},
|
|
1576
|
+
VertexAIGeminiOmniVideoOptions: {
|
|
1577
|
+
type: 'object',
|
|
1578
|
+
properties: {
|
|
1579
|
+
_option_id: {
|
|
1580
|
+
type: 'string',
|
|
1581
|
+
const: 'vertexai-gemini-omni-video',
|
|
1582
|
+
},
|
|
1583
|
+
task: {
|
|
1584
|
+
type: 'string',
|
|
1585
|
+
enum: ['text_to_video', 'image_to_video', 'reference_to_video'],
|
|
1586
|
+
},
|
|
1587
|
+
aspect_ratio: {
|
|
1588
|
+
type: 'string',
|
|
1589
|
+
enum: ['16:9', '9:16'],
|
|
1590
|
+
},
|
|
1591
|
+
duration_seconds: {
|
|
1592
|
+
type: 'integer',
|
|
1593
|
+
minimum: 3,
|
|
1594
|
+
maximum: 10,
|
|
1595
|
+
},
|
|
1596
|
+
},
|
|
1597
|
+
required: ['_option_id'],
|
|
1598
|
+
additionalProperties: false,
|
|
1599
|
+
},
|
|
1374
1600
|
VertexAIGeminiOptions: {
|
|
1375
1601
|
type: 'object',
|
|
1376
1602
|
properties: {
|
|
@@ -1418,8 +1644,17 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1418
1644
|
thinking_level: {
|
|
1419
1645
|
$ref: '#/$defs/ThinkingLevel',
|
|
1420
1646
|
},
|
|
1647
|
+
service_tier: {
|
|
1648
|
+
type: 'string',
|
|
1649
|
+
minLength: 1,
|
|
1650
|
+
description:
|
|
1651
|
+
'Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility.',
|
|
1652
|
+
},
|
|
1421
1653
|
flex: {
|
|
1422
1654
|
type: 'boolean',
|
|
1655
|
+
deprecated: true,
|
|
1656
|
+
'x-deprecated-message': 'Use service_tier="flex" instead.',
|
|
1657
|
+
description: 'Deprecated: Use service_tier="flex" instead.',
|
|
1423
1658
|
},
|
|
1424
1659
|
image_aspect_ratio: {
|
|
1425
1660
|
type: 'string',
|
|
@@ -1474,5 +1709,52 @@ export const ContentTypeIntakePolicySchema: JSONObject = {
|
|
|
1474
1709
|
required: ['_option_id'],
|
|
1475
1710
|
additionalProperties: false,
|
|
1476
1711
|
},
|
|
1712
|
+
XAIGrokImageOptions: {
|
|
1713
|
+
type: 'object',
|
|
1714
|
+
properties: {
|
|
1715
|
+
_option_id: {
|
|
1716
|
+
type: 'string',
|
|
1717
|
+
const: 'xai-grok-image',
|
|
1718
|
+
},
|
|
1719
|
+
aspect_ratio: {
|
|
1720
|
+
type: 'string',
|
|
1721
|
+
enum: [
|
|
1722
|
+
'1:1',
|
|
1723
|
+
'16:9',
|
|
1724
|
+
'9:16',
|
|
1725
|
+
'4:3',
|
|
1726
|
+
'3:4',
|
|
1727
|
+
'3:2',
|
|
1728
|
+
'2:3',
|
|
1729
|
+
'2:1',
|
|
1730
|
+
'1:2',
|
|
1731
|
+
'19.5:9',
|
|
1732
|
+
'9:19.5',
|
|
1733
|
+
'20:9',
|
|
1734
|
+
'9:20',
|
|
1735
|
+
'auto',
|
|
1736
|
+
],
|
|
1737
|
+
},
|
|
1738
|
+
resolution: {
|
|
1739
|
+
type: 'string',
|
|
1740
|
+
enum: ['1k', '2k'],
|
|
1741
|
+
},
|
|
1742
|
+
quality: {
|
|
1743
|
+
type: 'string',
|
|
1744
|
+
enum: ['low', 'medium'],
|
|
1745
|
+
},
|
|
1746
|
+
response_format: {
|
|
1747
|
+
type: 'string',
|
|
1748
|
+
enum: ['url', 'b64_json'],
|
|
1749
|
+
},
|
|
1750
|
+
n: {
|
|
1751
|
+
type: 'integer',
|
|
1752
|
+
minimum: 1,
|
|
1753
|
+
maximum: 10,
|
|
1754
|
+
},
|
|
1755
|
+
},
|
|
1756
|
+
required: ['_option_id'],
|
|
1757
|
+
additionalProperties: false,
|
|
1758
|
+
},
|
|
1477
1759
|
},
|
|
1478
1760
|
};
|
package/src/store/process.ts
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import type {
|
|
3
|
+
AdvanceProcessPayloadSchema,
|
|
4
|
+
AnswerProcessTaskPayloadSchema,
|
|
3
5
|
BranchDefinitionSchema,
|
|
4
6
|
BranchJoinPolicySchema,
|
|
7
|
+
CreateProcessTestSuitePayloadSchema,
|
|
5
8
|
HumanTaskDefinitionSchema,
|
|
6
9
|
JsonLogicRuleSchema,
|
|
7
10
|
ListProcessDefinitionsQuerySchema,
|
|
11
|
+
ListProcessTestRunsQuerySchema,
|
|
8
12
|
NodeHistoryEntrySchema,
|
|
9
13
|
ParallelCollectDefinitionSchema,
|
|
10
14
|
ParallelCollectFieldSchema,
|
|
11
15
|
ParallelCollectModeSchema,
|
|
12
16
|
ParallelFailurePolicySchema,
|
|
13
17
|
ProcessContextDefinitionSchema,
|
|
18
|
+
ProcessContextResponseSchema,
|
|
14
19
|
ProcessDefinitionFormatVersionSchema,
|
|
15
20
|
ProcessDefinitionMetadataSchema,
|
|
16
21
|
ProcessDefinitionRevisionInfoSchema,
|
|
17
22
|
ProcessDefinitionStatusSchema,
|
|
18
23
|
ProcessHistoryRefSchema,
|
|
24
|
+
ProcessHistoryResponseSchema,
|
|
19
25
|
ProcessNodeReturnsDefinitionSchema,
|
|
20
26
|
ProcessNodeRunTypeSchema,
|
|
21
27
|
ProcessNodeTypeSchema,
|
|
@@ -25,10 +31,37 @@ import type {
|
|
|
25
31
|
ProcessScriptResourceSchema,
|
|
26
32
|
ProcessScriptSourceSchema,
|
|
27
33
|
ProcessStateSchema,
|
|
34
|
+
ProcessTestActorDecisionSchema,
|
|
35
|
+
ProcessTestAssertionResultSchema,
|
|
36
|
+
ProcessTestAssertionsSchema,
|
|
37
|
+
ProcessTestChildTraceSchema,
|
|
38
|
+
ProcessTestCoverageSchema,
|
|
39
|
+
ProcessTestFixtureErrorSchema,
|
|
40
|
+
ProcessTestFixtureResponseSchema,
|
|
41
|
+
ProcessTestFixtureResultSchema,
|
|
42
|
+
ProcessTestHumanActionSchema,
|
|
43
|
+
ProcessTestInlineSubjectSchema,
|
|
44
|
+
ProcessTestNodeFixtureSchema,
|
|
45
|
+
ProcessTestResolvedSubjectSchema,
|
|
46
|
+
ProcessTestRunSchema,
|
|
47
|
+
ProcessTestRunStatusSchema,
|
|
48
|
+
ProcessTestScenarioResultSchema,
|
|
49
|
+
ProcessTestScenarioSchema,
|
|
50
|
+
ProcessTestStoredSubjectSchema,
|
|
51
|
+
ProcessTestSubjectSchema,
|
|
52
|
+
ProcessTestSuiteSchema,
|
|
53
|
+
ProcessTestTargetByIdSchema,
|
|
54
|
+
ProcessTestTargetWithDefinitionSchema,
|
|
55
|
+
ProcessTestVirtualActorSchema,
|
|
28
56
|
PublishProcessDefinitionPayloadSchema,
|
|
57
|
+
RetryProcessNodePayloadSchema,
|
|
29
58
|
RevertProcessDefinitionPayloadSchema,
|
|
59
|
+
StartProcessTestRunPayloadSchema,
|
|
60
|
+
SubmitProcessTestRunPayloadSchema,
|
|
30
61
|
TransitionDefinitionSchema,
|
|
31
62
|
TransitionTriggerSchema,
|
|
63
|
+
UpdateProcessTestScenarioPayloadSchema,
|
|
64
|
+
UpdateProcessTestSuitePayloadSchema,
|
|
32
65
|
} from '../api-schemas/process.js';
|
|
33
66
|
import type { JSONSchema } from '../json-schema.js';
|
|
34
67
|
|
|
@@ -36,6 +69,7 @@ export type JsonLogicRule = z.infer<typeof JsonLogicRuleSchema>;
|
|
|
36
69
|
|
|
37
70
|
export type ProcessDefinitionStatus = z.infer<typeof ProcessDefinitionStatusSchema>;
|
|
38
71
|
export type ListProcessDefinitionsQuery = z.infer<typeof ListProcessDefinitionsQuerySchema>;
|
|
72
|
+
export type ListProcessTestRunsQuery = z.infer<typeof ListProcessTestRunsQuerySchema>;
|
|
39
73
|
export const PROCESS_DEFINITION_FORMAT_VERSION = 1 as const;
|
|
40
74
|
export type ProcessDefinitionFormatVersion = z.infer<typeof ProcessDefinitionFormatVersionSchema>;
|
|
41
75
|
|
|
@@ -165,6 +199,7 @@ export type ProcessDefinitionRevisionInfo = z.infer<typeof ProcessDefinitionRevi
|
|
|
165
199
|
|
|
166
200
|
export interface ProcessDefinition {
|
|
167
201
|
id: string;
|
|
202
|
+
edit_revision: number;
|
|
168
203
|
account: string;
|
|
169
204
|
project: string;
|
|
170
205
|
name: string;
|
|
@@ -210,6 +245,7 @@ export interface CreateProcessDefinitionPayload {
|
|
|
210
245
|
}
|
|
211
246
|
|
|
212
247
|
export interface UpdateProcessDefinitionPayload {
|
|
248
|
+
expected_edit_revision?: number;
|
|
213
249
|
name?: string;
|
|
214
250
|
description?: string;
|
|
215
251
|
/**
|
|
@@ -227,3 +263,51 @@ export interface UpdateProcessDefinitionPayload {
|
|
|
227
263
|
export type PublishProcessDefinitionPayload = z.infer<typeof PublishProcessDefinitionPayloadSchema>;
|
|
228
264
|
|
|
229
265
|
export type RevertProcessDefinitionPayload = z.infer<typeof RevertProcessDefinitionPayloadSchema>;
|
|
266
|
+
|
|
267
|
+
export type AdvanceProcessPayload = z.infer<typeof AdvanceProcessPayloadSchema>;
|
|
268
|
+
|
|
269
|
+
export type AnswerProcessTaskPayload = z.infer<typeof AnswerProcessTaskPayloadSchema>;
|
|
270
|
+
|
|
271
|
+
export type RetryProcessNodePayload = z.infer<typeof RetryProcessNodePayloadSchema>;
|
|
272
|
+
|
|
273
|
+
export type ProcessContextResponse = z.infer<typeof ProcessContextResponseSchema>;
|
|
274
|
+
|
|
275
|
+
export type ProcessHistoryResponse = z.infer<typeof ProcessHistoryResponseSchema>;
|
|
276
|
+
|
|
277
|
+
export type ProcessTestRunStatus = z.infer<typeof ProcessTestRunStatusSchema>;
|
|
278
|
+
export type ProcessTestVirtualActor = z.infer<typeof ProcessTestVirtualActorSchema>;
|
|
279
|
+
export type ProcessTestFixtureResult = z.infer<typeof ProcessTestFixtureResultSchema>;
|
|
280
|
+
export type ProcessTestFixtureError = z.infer<typeof ProcessTestFixtureErrorSchema>;
|
|
281
|
+
export type ProcessTestFixtureResponse = z.infer<typeof ProcessTestFixtureResponseSchema>;
|
|
282
|
+
export type ProcessTestNodeFixture = z.infer<typeof ProcessTestNodeFixtureSchema>;
|
|
283
|
+
export type ProcessTestHumanAction = z.infer<typeof ProcessTestHumanActionSchema>;
|
|
284
|
+
export type ProcessTestAssertions = z.infer<typeof ProcessTestAssertionsSchema>;
|
|
285
|
+
export type ProcessTestScenario = z.infer<typeof ProcessTestScenarioSchema>;
|
|
286
|
+
export type ProcessTestSuite = z.infer<typeof ProcessTestSuiteSchema>;
|
|
287
|
+
export type CreateProcessTestSuitePayload = z.infer<typeof CreateProcessTestSuitePayloadSchema>;
|
|
288
|
+
export type UpdateProcessTestSuitePayload = z.infer<typeof UpdateProcessTestSuitePayloadSchema>;
|
|
289
|
+
export type StartProcessTestRunPayload = z.infer<typeof StartProcessTestRunPayloadSchema>;
|
|
290
|
+
export type ProcessTestAssertionResult = z.infer<typeof ProcessTestAssertionResultSchema>;
|
|
291
|
+
export type ProcessTestActorDecision = z.infer<typeof ProcessTestActorDecisionSchema>;
|
|
292
|
+
export type ProcessTestCoverage = z.infer<typeof ProcessTestCoverageSchema>;
|
|
293
|
+
export type ProcessTestChildTrace = z.infer<typeof ProcessTestChildTraceSchema>;
|
|
294
|
+
export type ProcessTestScenarioResult = z.infer<typeof ProcessTestScenarioResultSchema>;
|
|
295
|
+
export type ProcessTestRun = Omit<z.infer<typeof ProcessTestRunSchema>, 'process_definition_snapshot'> & {
|
|
296
|
+
process_definition_snapshot: ProcessDefinitionBody;
|
|
297
|
+
};
|
|
298
|
+
export type ProcessTestStoredSubject = z.infer<typeof ProcessTestStoredSubjectSchema>;
|
|
299
|
+
export type ProcessTestResolvedSubject = z.infer<typeof ProcessTestResolvedSubjectSchema>;
|
|
300
|
+
export type ProcessTestInlineSubject = z.infer<typeof ProcessTestInlineSubjectSchema>;
|
|
301
|
+
export type ProcessTestSubject = z.infer<typeof ProcessTestSubjectSchema>;
|
|
302
|
+
export type ProcessTestTargetById = z.infer<typeof ProcessTestTargetByIdSchema>;
|
|
303
|
+
export type ProcessTestTargetWithDefinition = Omit<
|
|
304
|
+
z.infer<typeof ProcessTestTargetWithDefinitionSchema>,
|
|
305
|
+
'definition'
|
|
306
|
+
> & {
|
|
307
|
+
definition: ProcessDefinitionBody;
|
|
308
|
+
};
|
|
309
|
+
export type ProcessTestTarget = ProcessTestTargetById | ProcessTestTargetWithDefinition;
|
|
310
|
+
export type SubmitProcessTestRunPayload = Omit<z.infer<typeof SubmitProcessTestRunPayloadSchema>, 'process'> & {
|
|
311
|
+
process: ProcessTestTarget;
|
|
312
|
+
};
|
|
313
|
+
export type UpdateProcessTestScenarioPayload = z.infer<typeof UpdateProcessTestScenarioPayloadSchema>;
|
package/src/store/rendering.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface ImageRenditionVars extends BaseRenditionVars {
|
|
|
33
33
|
max_pages?: number;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
interface ImageRenditionParams {
|
|
37
37
|
max_hw: number;
|
|
38
38
|
format: ImageRenditionFormat;
|
|
39
39
|
outputPath?: string;
|
|
@@ -78,11 +78,6 @@ export interface MarkdownRenditionVars extends BaseRenditionVars {
|
|
|
78
78
|
/** Discriminated union of all rendition workflow vars */
|
|
79
79
|
export type GenerateRenditionVars = ImageRenditionVars | MarkdownRenditionVars;
|
|
80
80
|
|
|
81
|
-
/** Type guard for markdown rendition vars */
|
|
82
|
-
export function isMarkdownRenditionVars(vars: GenerateRenditionVars): vars is MarkdownRenditionVars {
|
|
83
|
-
return vars.format === 'pdf' || vars.format === 'docx';
|
|
84
|
-
}
|
|
85
|
-
|
|
86
81
|
// ============================================================================
|
|
87
82
|
// API Payload Types
|
|
88
83
|
// ============================================================================
|
|
@@ -148,7 +143,7 @@ export interface RenderMarkdownResponse {
|
|
|
148
143
|
// ============================================================================
|
|
149
144
|
|
|
150
145
|
/** A slide rendered from a named SVG template with structured content */
|
|
151
|
-
|
|
146
|
+
interface TemplateSlide {
|
|
152
147
|
type: 'template';
|
|
153
148
|
/** Template name: 'title' | 'section' | 'bullets' | 'two-column' | 'image-text' */
|
|
154
149
|
template: string;
|
|
@@ -157,7 +152,7 @@ export interface TemplateSlide {
|
|
|
157
152
|
}
|
|
158
153
|
|
|
159
154
|
/** A slide with raw SVG markup */
|
|
160
|
-
|
|
155
|
+
interface RawSvgSlide {
|
|
161
156
|
type: 'svg';
|
|
162
157
|
/** Complete SVG markup (should use 1920x1080 viewBox) */
|
|
163
158
|
svg: string;
|
package/src/store/schedule.ts
CHANGED
|
@@ -153,25 +153,6 @@ export interface ScheduleListItem {
|
|
|
153
153
|
updated_at: Date;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
/**
|
|
157
|
-
* Information about a schedule's recent and upcoming runs.
|
|
158
|
-
*/
|
|
159
|
-
export interface ScheduleRunInfo {
|
|
160
|
-
/** The schedule ID */
|
|
161
|
-
schedule_id: string;
|
|
162
|
-
|
|
163
|
-
/** Recent workflow executions from this schedule */
|
|
164
|
-
recent_runs: Array<{
|
|
165
|
-
workflow_id: string;
|
|
166
|
-
run_id: string;
|
|
167
|
-
started_at: Date;
|
|
168
|
-
status: string;
|
|
169
|
-
}>;
|
|
170
|
-
|
|
171
|
-
/** Upcoming scheduled execution times */
|
|
172
|
-
upcoming_runs: Date[];
|
|
173
|
-
}
|
|
174
|
-
|
|
175
156
|
/**
|
|
176
157
|
* Extended schedule information including Temporal execution details.
|
|
177
158
|
*/
|
package/src/store/signals.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ReasoningEffort } from '@llumiverse/common';
|
|
2
|
+
|
|
1
3
|
export interface UserInputSignal {
|
|
2
4
|
message: string;
|
|
3
5
|
/**
|
|
@@ -26,6 +28,18 @@ export interface StopSignal {
|
|
|
26
28
|
auth_token?: string;
|
|
27
29
|
}
|
|
28
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Changes the model used by subsequent turns of a running conversation.
|
|
33
|
+
*
|
|
34
|
+
* The workflow keeps the current execution environment/provider. This is intended for compatible
|
|
35
|
+
* model switches within that environment (for example Opus/Sonnet or Terra/Sol). An omitted field
|
|
36
|
+
* preserves its current value; `effort: null` returns to the provider/model default.
|
|
37
|
+
*/
|
|
38
|
+
export interface ModelConfigChangedSignal {
|
|
39
|
+
model?: string;
|
|
40
|
+
effort?: ReasoningEffort | null;
|
|
41
|
+
}
|
|
42
|
+
|
|
29
43
|
/**
|
|
30
44
|
* Attachment metadata for processing in conversation workflows.
|
|
31
45
|
*/
|