@vertesia/common 1.6.0-dev.20260923.085325Z → 1.6.0-dev.20261008.064737Z
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-values.d.ts +2 -2
- package/lib/access-control-values.d.ts.map +1 -1
- package/lib/access-control-values.js +2 -2
- package/lib/access-control-values.js.map +1 -1
- package/lib/access-control.d.ts +7 -8
- package/lib/access-control.d.ts.map +1 -1
- package/lib/access-control.js +5 -0
- package/lib/access-control.js.map +1 -1
- package/lib/analytics.d.ts +6 -7
- package/lib/analytics.d.ts.map +1 -1
- package/lib/api-contract/components.generated.json +2553 -1046
- package/lib/api-contract/engine.d.ts +65 -0
- package/lib/api-contract/engine.d.ts.map +1 -0
- package/lib/api-contract/engine.js +569 -0
- package/lib/api-contract/engine.js.map +1 -0
- package/lib/api-contract/index.d.ts +21 -182
- package/lib/api-contract/index.d.ts.map +1 -1
- package/lib/api-contract/index.js +13 -551
- package/lib/api-contract/index.js.map +1 -1
- package/lib/api-schemas/access-control.d.ts +33 -10
- package/lib/api-schemas/access-control.d.ts.map +1 -1
- package/lib/api-schemas/access-control.js +7 -6
- package/lib/api-schemas/access-control.js.map +1 -1
- package/lib/api-schemas/account.d.ts +5 -9
- package/lib/api-schemas/account.d.ts.map +1 -1
- package/lib/api-schemas/account.js +0 -7
- package/lib/api-schemas/account.js.map +1 -1
- package/lib/api-schemas/agent-budget.d.ts +15 -0
- package/lib/api-schemas/agent-budget.d.ts.map +1 -0
- package/lib/api-schemas/agent-budget.js +55 -0
- package/lib/api-schemas/agent-budget.js.map +1 -0
- package/lib/api-schemas/agent-runs.d.ts +1525 -100
- package/lib/api-schemas/agent-runs.d.ts.map +1 -1
- package/lib/api-schemas/agent-runs.js +60 -28
- package/lib/api-schemas/agent-runs.js.map +1 -1
- package/lib/api-schemas/apikey.d.ts +11 -10
- package/lib/api-schemas/apikey.d.ts.map +1 -1
- package/lib/api-schemas/apikey.js.map +1 -1
- package/lib/api-schemas/app-lifecycle.d.ts +13 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
- package/lib/api-schemas/app-lifecycle.js +4 -0
- package/lib/api-schemas/app-lifecycle.js.map +1 -1
- package/lib/api-schemas/app-runtime.d.ts +1821 -108
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.d.ts +275 -0
- package/lib/api-schemas/audit-trail.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.js +156 -1
- package/lib/api-schemas/audit-trail.js.map +1 -1
- package/lib/api-schemas/content.d.ts +665 -30
- package/lib/api-schemas/content.d.ts.map +1 -1
- package/lib/api-schemas/content.js +47 -0
- package/lib/api-schemas/content.js.map +1 -1
- package/lib/api-schemas/cost-analytics.d.ts +19 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
- package/lib/api-schemas/cost-analytics.js +38 -2
- package/lib/api-schemas/cost-analytics.js.map +1 -1
- package/lib/api-schemas/document-processing.d.ts +381 -18
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/environment.d.ts +0 -5
- package/lib/api-schemas/environment.d.ts.map +1 -1
- package/lib/api-schemas/environment.js +0 -1
- package/lib/api-schemas/environment.js.map +1 -1
- package/lib/api-schemas/events.d.ts +1143 -54
- package/lib/api-schemas/events.d.ts.map +1 -1
- package/lib/api-schemas/group.d.ts +2 -1
- package/lib/api-schemas/group.d.ts.map +1 -1
- package/lib/api-schemas/group.js.map +1 -1
- package/lib/api-schemas/index.d.ts +2 -0
- package/lib/api-schemas/index.d.ts.map +1 -1
- package/lib/api-schemas/index.js +2 -0
- package/lib/api-schemas/index.js.map +1 -1
- package/lib/api-schemas/inference-profile.d.ts +5017 -0
- package/lib/api-schemas/inference-profile.d.ts.map +1 -0
- package/lib/api-schemas/inference-profile.js +135 -0
- package/lib/api-schemas/inference-profile.js.map +1 -0
- package/lib/api-schemas/integrations.d.ts +6 -6
- package/lib/api-schemas/interaction.d.ts +34391 -703
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +34 -1
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/invites.d.ts +10 -9
- package/lib/api-schemas/invites.d.ts.map +1 -1
- package/lib/api-schemas/invites.js.map +1 -1
- package/lib/api-schemas/process.d.ts +653 -34
- package/lib/api-schemas/process.d.ts.map +1 -1
- package/lib/api-schemas/process.js +66 -0
- package/lib/api-schemas/process.js.map +1 -1
- package/lib/api-schemas/project-configuration.d.ts +1323 -62
- package/lib/api-schemas/project-configuration.d.ts.map +1 -1
- package/lib/api-schemas/project-configuration.js +15 -1
- package/lib/api-schemas/project-configuration.js.map +1 -1
- package/lib/api-schemas/project.d.ts +2031 -116
- package/lib/api-schemas/project.d.ts.map +1 -1
- package/lib/api-schemas/project.js +9 -1
- package/lib/api-schemas/project.js.map +1 -1
- package/lib/api-schemas/quota.d.ts +7 -6
- package/lib/api-schemas/quota.d.ts.map +1 -1
- package/lib/api-schemas/quota.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +28171 -36096
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +77 -30
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/api-schemas/run-budget.d.ts +16 -0
- package/lib/api-schemas/run-budget.d.ts.map +1 -0
- package/lib/api-schemas/run-budget.js +22 -0
- package/lib/api-schemas/run-budget.js.map +1 -0
- package/lib/api-schemas/secrets.d.ts +0 -71
- package/lib/api-schemas/secrets.d.ts.map +1 -1
- package/lib/api-schemas/secrets.js +0 -73
- package/lib/api-schemas/secrets.js.map +1 -1
- package/lib/api-schemas/store.d.ts +6388 -338
- package/lib/api-schemas/store.d.ts.map +1 -1
- package/lib/api-schemas/store.js +11 -0
- package/lib/api-schemas/store.js.map +1 -1
- package/lib/api-schemas/user.d.ts +9 -8
- package/lib/api-schemas/user.d.ts.map +1 -1
- package/lib/api-schemas/user.js.map +1 -1
- package/lib/api-schemas/view-execution.d.ts +8 -0
- package/lib/api-schemas/view-execution.d.ts.map +1 -1
- package/lib/api-schemas/views.d.ts +14 -0
- package/lib/api-schemas/views.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.d.ts +335 -12
- package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.js +2 -0
- package/lib/api-schemas/workflow-runs.js.map +1 -1
- package/lib/apikey.d.ts +30 -25
- package/lib/apikey.d.ts.map +1 -1
- package/lib/apikey.js.map +1 -1
- package/lib/apps.d.ts +116 -121
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js.map +1 -1
- package/lib/audit-trail.d.ts +30 -19
- package/lib/audit-trail.d.ts.map +1 -1
- package/lib/audit-trail.js +6 -0
- package/lib/audit-trail.js.map +1 -1
- package/lib/browser-credentials.d.ts +11 -12
- package/lib/browser-credentials.d.ts.map +1 -1
- package/lib/common.d.ts +17 -24
- package/lib/common.d.ts.map +1 -1
- package/lib/content-query.d.ts +3 -4
- package/lib/content-query.d.ts.map +1 -1
- package/lib/cost-analytics.d.ts +13 -21
- package/lib/cost-analytics.d.ts.map +1 -1
- package/lib/cost-analytics.js +0 -7
- package/lib/cost-analytics.js.map +1 -1
- package/lib/data-platform.d.ts +79 -88
- package/lib/data-platform.d.ts.map +1 -1
- package/lib/data-platform.js.map +1 -1
- package/lib/delegation.d.ts +4 -5
- package/lib/delegation.d.ts.map +1 -1
- package/lib/email.d.ts +15 -17
- package/lib/email.d.ts.map +1 -1
- package/lib/email.js.map +1 -1
- package/lib/embeddings.d.ts +25 -26
- package/lib/embeddings.d.ts.map +1 -1
- package/lib/environment.d.ts +16 -17
- package/lib/environment.d.ts.map +1 -1
- package/lib/environment.js.map +1 -1
- package/lib/facets.d.ts +3 -4
- package/lib/facets.d.ts.map +1 -1
- package/lib/group.d.ts +6 -7
- package/lib/group.d.ts.map +1 -1
- package/lib/group.js.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/inference-profile.d.ts +17 -0
- package/lib/inference-profile.d.ts.map +1 -0
- package/lib/inference-profile.js +2 -0
- package/lib/inference-profile.js.map +1 -0
- package/lib/integrations.d.ts +19 -20
- package/lib/integrations.d.ts.map +1 -1
- package/lib/integrations.js.map +1 -1
- package/lib/interaction.d.ts +68 -73
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js.map +1 -1
- package/lib/meters.d.ts +4 -5
- package/lib/meters.d.ts.map +1 -1
- package/lib/oauth-server.d.ts +40 -41
- package/lib/oauth-server.d.ts.map +1 -1
- package/lib/oauth.d.ts +9 -10
- package/lib/oauth.d.ts.map +1 -1
- package/lib/payload.d.ts +11 -14
- package/lib/payload.d.ts.map +1 -1
- package/lib/pending-asks.d.ts +8 -13
- package/lib/pending-asks.d.ts.map +1 -1
- package/lib/pending-asks.js +0 -4
- package/lib/pending-asks.js.map +1 -1
- package/lib/platform-event.d.ts +48 -71
- package/lib/platform-event.d.ts.map +1 -1
- package/lib/platform-event.js.map +1 -1
- package/lib/principal-context.d.ts +3 -3
- package/lib/principal-context.d.ts.map +1 -1
- package/lib/project.d.ts +42 -43
- package/lib/project.d.ts.map +1 -1
- package/lib/project.js.map +1 -1
- package/lib/prompt.d.ts +14 -16
- package/lib/prompt.d.ts.map +1 -1
- package/lib/prompt.js.map +1 -1
- package/lib/query.d.ts +10 -13
- package/lib/query.d.ts.map +1 -1
- package/lib/rate-limiter.d.ts +7 -11
- package/lib/rate-limiter.d.ts.map +1 -1
- package/lib/refs.d.ts +2 -3
- package/lib/refs.d.ts.map +1 -1
- package/lib/refs.js.map +1 -1
- package/lib/roles/types.d.ts +5 -6
- package/lib/roles/types.d.ts.map +1 -1
- package/lib/roles/types.js.map +1 -1
- package/lib/run-budget.d.ts +4 -0
- package/lib/run-budget.d.ts.map +1 -0
- package/lib/run-budget.js +2 -0
- package/lib/run-budget.js.map +1 -0
- package/lib/runs.d.ts +9 -10
- package/lib/runs.d.ts.map +1 -1
- package/lib/secrets.d.ts +10 -21
- package/lib/secrets.d.ts.map +1 -1
- package/lib/store/agent-approval.d.ts +4 -5
- package/lib/store/agent-approval.d.ts.map +1 -1
- package/lib/store/agent-approval.js.map +1 -1
- package/lib/store/agent-run.d.ts +50 -52
- package/lib/store/agent-run.d.ts.map +1 -1
- package/lib/store/agent-run.js.map +1 -1
- package/lib/store/collections.d.ts +11 -12
- package/lib/store/collections.d.ts.map +1 -1
- package/lib/store/collections.js.map +1 -1
- package/lib/store/conversation-state.d.ts +14 -8
- package/lib/store/conversation-state.d.ts.map +1 -1
- package/lib/store/doc-analyzer.d.ts +7 -8
- package/lib/store/doc-analyzer.d.ts.map +1 -1
- package/lib/store/dsl-workflow.d.ts +10 -12
- package/lib/store/dsl-workflow.d.ts.map +1 -1
- package/lib/store/dsl-workflow.js.map +1 -1
- package/lib/store/duration.d.ts +12 -0
- package/lib/store/duration.d.ts.map +1 -0
- package/lib/store/duration.js +2 -0
- package/lib/store/duration.js.map +1 -0
- package/lib/store/grounded-extraction.d.ts +6 -7
- package/lib/store/grounded-extraction.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.js +143 -2
- package/lib/store/intake-policy-schema.generated.js.map +1 -1
- package/lib/store/process.d.ts +70 -69
- package/lib/store/process.d.ts.map +1 -1
- package/lib/store/process.js.map +1 -1
- package/lib/store/rendering.d.ts +6 -12
- package/lib/store/rendering.d.ts.map +1 -1
- package/lib/store/rendering.js +0 -5
- package/lib/store/rendering.js.map +1 -1
- package/lib/store/signals.d.ts +43 -0
- package/lib/store/signals.d.ts.map +1 -1
- package/lib/store/signals.js +6 -1
- package/lib/store/signals.js.map +1 -1
- package/lib/store/store.d.ts +92 -91
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js.map +1 -1
- package/lib/store/task.d.ts +10 -14
- package/lib/store/task.d.ts.map +1 -1
- package/lib/store/workflow.d.ts +35 -41
- package/lib/store/workflow.d.ts.map +1 -1
- package/lib/store/workflow.js.map +1 -1
- package/lib/sts-token-types.d.ts +14 -19
- package/lib/sts-token-types.d.ts.map +1 -1
- package/lib/tools.d.ts +12 -13
- package/lib/tools.d.ts.map +1 -1
- package/lib/transient-tokens.d.ts +3 -3
- package/lib/transient-tokens.d.ts.map +1 -1
- package/lib/user.d.ts +16 -20
- package/lib/user.d.ts.map +1 -1
- package/lib/user.js.map +1 -1
- package/lib/vertesia-common.js +2 -2
- package/lib/vertesia-common.js.map +1 -1
- package/lib/views.d.ts +61 -64
- package/lib/views.d.ts.map +1 -1
- package/lib/views.js.map +1 -1
- package/lib/wire-types.generated.d.ts +11227 -0
- package/lib/wire-types.generated.d.ts.map +1 -0
- package/lib/wire-types.generated.js +4 -0
- package/lib/wire-types.generated.js.map +1 -0
- package/lib/workflow-analytics.d.ts +21 -19
- package/lib/workflow-analytics.d.ts.map +1 -1
- package/lib/workflow-analytics.js +2 -2
- package/lib/workflow-analytics.js.map +1 -1
- package/package.json +16 -11
- package/src/access-control-values.ts +2 -2
- package/src/access-control.ts +7 -15
- package/src/analytics.ts +6 -13
- package/src/api-contract/components.generated.json +2553 -1046
- package/src/api-contract/engine.ts +641 -0
- package/src/api-contract/index.ts +30 -661
- package/src/api-schemas/access-control.ts +18 -16
- package/src/api-schemas/account.ts +5 -12
- package/src/api-schemas/agent-budget.ts +60 -0
- package/src/api-schemas/agent-runs.ts +63 -27
- package/src/api-schemas/apikey.ts +11 -10
- package/src/api-schemas/app-lifecycle.ts +5 -0
- package/src/api-schemas/audit-trail.ts +175 -1
- package/src/api-schemas/content.ts +55 -0
- package/src/api-schemas/cost-analytics.ts +42 -2
- package/src/api-schemas/environment.ts +0 -1
- package/src/api-schemas/group.ts +2 -1
- package/src/api-schemas/index.ts +2 -0
- package/src/api-schemas/inference-profile.ts +151 -0
- package/src/api-schemas/interaction.ts +40 -1
- package/src/api-schemas/invites.ts +10 -9
- package/src/api-schemas/process.ts +78 -2
- package/src/api-schemas/project-configuration.ts +19 -1
- package/src/api-schemas/project.ts +19 -10
- package/src/api-schemas/quota.ts +7 -6
- package/src/api-schemas/registry.ts +164 -62
- package/src/api-schemas/run-budget.ts +23 -0
- package/src/api-schemas/secrets.ts +0 -84
- package/src/api-schemas/store.ts +12 -0
- package/src/api-schemas/user.ts +9 -8
- package/src/api-schemas/workflow-runs.ts +2 -0
- package/src/apikey.ts +30 -39
- package/src/apps.ts +116 -239
- package/src/audit-trail.ts +37 -35
- package/src/browser-credentials.ts +11 -23
- package/src/common.ts +17 -37
- package/src/content-query.ts +3 -4
- package/src/cost-analytics.ts +13 -35
- package/src/data-platform.ts +79 -168
- package/src/delegation.ts +4 -9
- package/src/email.ts +15 -29
- package/src/embeddings.ts +25 -51
- package/src/environment.ts +16 -33
- package/src/facets.ts +3 -4
- package/src/group.ts +6 -13
- package/src/index.ts +23 -0
- package/src/inference-profile.ts +20 -0
- package/src/integrations.ts +21 -41
- package/src/interaction.ts +68 -137
- package/src/meters.ts +4 -9
- package/src/oauth-server.ts +40 -81
- package/src/oauth.ts +9 -19
- package/src/payload.ts +11 -25
- package/src/pending-asks.ts +8 -22
- package/src/platform-event.ts +48 -122
- package/src/principal-context.ts +3 -3
- package/src/project.ts +43 -86
- package/src/prompt.ts +14 -31
- package/src/query.ts +10 -20
- package/src/rate-limiter.ts +7 -19
- package/src/refs.ts +2 -3
- package/src/roles/types.ts +5 -11
- package/src/run-budget.ts +4 -0
- package/src/runs.ts +9 -19
- package/src/secrets.ts +10 -42
- package/src/store/agent-approval.ts +4 -9
- package/src/store/agent-run.ts +53 -99
- package/src/store/collections.ts +11 -23
- package/src/store/conversation-state.ts +15 -15
- package/src/store/doc-analyzer.ts +7 -15
- package/src/store/dsl-workflow.ts +10 -23
- package/src/store/duration.ts +45 -0
- package/src/store/grounded-extraction.ts +6 -13
- package/src/store/intake-policy-schema.generated.ts +148 -2
- package/src/store/process.ts +70 -140
- package/src/store/rendering.ts +6 -19
- package/src/store/signals.ts +48 -0
- package/src/store/store.ts +92 -181
- package/src/store/task.ts +10 -24
- package/src/store/workflow.ts +35 -71
- package/src/sts-token-types.ts +14 -33
- package/src/tools.ts +12 -25
- package/src/transient-tokens.ts +3 -3
- package/src/user.ts +16 -40
- package/src/views.ts +61 -125
- package/src/wire-types.generated.ts +11888 -0
- package/src/workflow-analytics.ts +21 -19
- package/src/agent-resources.test.ts +0 -89
- package/src/api-contract/components.contract.test.ts +0 -99
- package/src/api-schemas/access-control.contract.test.ts +0 -209
- package/src/api-schemas/account-apikey.test.ts +0 -60
- package/src/api-schemas/account.contract.test.ts +0 -319
- package/src/api-schemas/adapter-edge-cases.test.ts +0 -499
- package/src/api-schemas/agent-communication.contract.test.ts +0 -90
- package/src/api-schemas/agent-history.contract.test.ts +0 -42
- package/src/api-schemas/agent-runs.contract.test.ts +0 -240
- package/src/api-schemas/api-discriminators.test.ts +0 -185
- package/src/api-schemas/apikey.contract.test.ts +0 -270
- package/src/api-schemas/app-delete-summary.contract.test.ts +0 -67
- package/src/api-schemas/bulk-operation.contract.test.ts +0 -39
- package/src/api-schemas/bundle-isolation.test.ts +0 -44
- package/src/api-schemas/commands.contract.test.ts +0 -51
- package/src/api-schemas/cost-analytics.contract.test.ts +0 -64
- package/src/api-schemas/dashboard.contract.test.ts +0 -138
- package/src/api-schemas/data-store.contract.test.ts +0 -97
- package/src/api-schemas/document-processing.contract.test.ts +0 -76
- package/src/api-schemas/emit-json-schema.test.ts +0 -36
- package/src/api-schemas/environment.contract.test.ts +0 -202
- package/src/api-schemas/group.contract.test.ts +0 -205
- package/src/api-schemas/indexing.contract.test.ts +0 -122
- package/src/api-schemas/interaction.contract.test.ts +0 -307
- package/src/api-schemas/invites.contract.test.ts +0 -268
- package/src/api-schemas/llumiverse.contract.test.ts +0 -179
- package/src/api-schemas/mcp-api-key.contract.test.ts +0 -125
- package/src/api-schemas/oauth.contract.test.ts +0 -181
- package/src/api-schemas/parameters.test.ts +0 -402
- package/src/api-schemas/process.contract.test.ts +0 -115
- package/src/api-schemas/project.contract.test.ts +0 -472
- package/src/api-schemas/pruning-limits.test.ts +0 -189
- package/src/api-schemas/quota.contract.test.ts +0 -147
- package/src/api-schemas/registry-groups.test.ts +0 -99
- package/src/api-schemas/response-pruning.test.ts +0 -260
- package/src/api-schemas/store.contract.test.ts +0 -378
- package/src/api-schemas/sts.contract.test.ts +0 -112
- package/src/api-schemas/user.contract.test.ts +0 -197
- package/src/api-schemas/views.contract.test.ts +0 -112
- package/src/api-schemas/zeno-response-contracts.test.ts +0 -380
- package/src/apps.test.ts +0 -89
- package/src/oauth-scopes.test.ts +0 -15
- package/src/roles.test.ts +0 -33
- package/src/schema-for-extraction.test.ts +0 -191
- package/src/store/agent-approval.test.ts +0 -18
- package/src/store/content-type-editing.test.ts +0 -17
- package/src/store/ms.d.ts +0 -42
- package/src/store/schedule.test.ts +0 -59
- package/src/store/workflow.test.ts +0 -640
- package/src/versions.test.ts +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/store/collections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/store/collections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAErE,oBAAY,gBAAgB;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAEnE,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,gBAAgB,CAAC;IAEzB,IAAI,CAAC,EAAE,oBAAo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":"collections.js","sourceRoot":"","sources":["../../src/store/collections.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../src/store/collections.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;AACzB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type { CompletionResult, ExecutionTokenUsage, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
|
|
2
|
-
import type { z } from 'zod';
|
|
3
|
-
import type { ExternalizedToolInputRefSchema, ExternalizedToolInputRefsSchema, PendingMcpConnectionSchema, TextArtifactReferenceSchema, ToolReferenceSchema, UsedSkillSchema } from '../api-schemas/interaction.js';
|
|
4
2
|
import type { ConversationStripOptions, ResolvedInteractionExecutionInfo, UserChannel } from '../interaction.js';
|
|
3
|
+
import type { AgentBudgetConfiguration } from '../project.js';
|
|
5
4
|
import type { ExecutionRunDocRef } from '../runs.js';
|
|
5
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
6
6
|
import type { AgentToolApprovalMode, PendingToolApprovalResults, ToolApprovalGrant } from './agent-approval.js';
|
|
7
7
|
import type { Plan, WorkflowAncestor } from './workflow.js';
|
|
8
8
|
/**
|
|
9
9
|
* Lightweight tool reference for activity payloads.
|
|
10
10
|
* References tools stored in GCP instead of embedding full tool definitions.
|
|
11
11
|
*/
|
|
12
|
-
export type ToolReference =
|
|
12
|
+
export type ToolReference = Wire.ToolReference;
|
|
13
13
|
/** Reference to text content externalized to agent artifact storage. */
|
|
14
|
-
export type TextArtifactReference =
|
|
14
|
+
export type TextArtifactReference = Wire.TextArtifactReference;
|
|
15
15
|
/**
|
|
16
16
|
* Sidecar metadata for generated tool input fields that were stored outside
|
|
17
17
|
* model-visible tool_input. Keyed by tool_use.id on ConversationState.
|
|
18
18
|
*/
|
|
19
|
-
export type ExternalizedToolInputRef =
|
|
20
|
-
export type ExternalizedToolInputRefs =
|
|
19
|
+
export type ExternalizedToolInputRef = Wire.ExternalizedToolInputRef;
|
|
20
|
+
export type ExternalizedToolInputRefs = Wire.ExternalizedToolInputRefs;
|
|
21
21
|
/**
|
|
22
22
|
* Conversation state passed between workflow activities: the activity-safe,
|
|
23
23
|
* per-turn dynamic subset of a multi-turn agent conversation. Rides every
|
|
@@ -116,6 +116,12 @@ export interface ConversationState {
|
|
|
116
116
|
* checkpoint_tokens override, and the model-based default.
|
|
117
117
|
*/
|
|
118
118
|
checkpoint_tokens?: number;
|
|
119
|
+
/**
|
|
120
|
+
* Project-configured agent token budget (cached from project.configuration.agent.budget at
|
|
121
|
+
* conversation start). The workflow resolves the effective budget field-wise from this, the
|
|
122
|
+
* interaction's agent_runner_options.budget, and the per-run budget override.
|
|
123
|
+
*/
|
|
124
|
+
budget?: AgentBudgetConfiguration;
|
|
119
125
|
/**
|
|
120
126
|
* Active communication channels with their current state.
|
|
121
127
|
* Channels can be updated as conversation progresses (e.g., email threading info).
|
|
@@ -242,7 +248,7 @@ export declare const CONVERSATION_CATALOG_ARTIFACT_KEY = "catalog.json";
|
|
|
242
248
|
* Built at tool-discovery time and stored on the conversation state so the agent can
|
|
243
249
|
* discover it (by description) and ask the user to connect.
|
|
244
250
|
*/
|
|
245
|
-
export type PendingMcpConnection =
|
|
251
|
+
export type PendingMcpConnection = Wire.PendingMcpConnection;
|
|
246
252
|
/** Skill metadata collected at workflow start for upfront sandbox hydration */
|
|
247
253
|
export interface AvailableSkill {
|
|
248
254
|
/** Skill name (e.g., "analyze_data") - without the "learn_" prefix */
|
|
@@ -251,7 +257,7 @@ export interface AvailableSkill {
|
|
|
251
257
|
src?: string;
|
|
252
258
|
}
|
|
253
259
|
/** Skill metadata tracked when a skill is used */
|
|
254
|
-
export type UsedSkill =
|
|
260
|
+
export type UsedSkill = Wire.UsedSkill;
|
|
255
261
|
export interface ToolActivationMetadata {
|
|
256
262
|
/** Turn when the tool became active in this conversation. */
|
|
257
263
|
activated_at_iteration: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-state.d.ts","sourceRoot":"","sources":["../../src/store/conversation-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACpH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"conversation-state.d.ts","sourceRoot":"","sources":["../../src/store/conversation-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACpH,OAAO,KAAK,EAAE,wBAAwB,EAAE,gCAAgC,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACjH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAChH,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;AAE/C,wEAAwE;AACxE,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,wBAAwB,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAAyB,CAAC;AAEvE;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,GAAG,EA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ACrC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAE1C,+FAA+F;IAC/F,gBAAgB,CAAC,EAAE,cAAc,EAAE,CAAC;IAEpC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACrE;AAED;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,wBAAwB,EAAE,gBAAgB,GAAG,kBAAkB,CAAC,CAAC;AAE9G,2FAA2F;AAC3F,eAAO,MAAM,iCAAiC,iBAAiB,CAAC;AAEhE;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,CAAC;AAE7D,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC3B,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,+IAA+I;IAC/I,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,kDAAkD;AAClD,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AAEvC,MAAM,WAAW,sBAAsB;IACnC,6DAA6D;IAC7D,sBAAsB,EAAE,MAAM,CAAC;IAC/B,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,4DAA4D;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { DocAnalyzeRunStatusResponseSchema, DocAnalyzerProgressSchema, DocAnalyzerProgressStatusSchema, DocProcessorOutputFormatSchema, DocumentPrepOptionsSchema, DocumentProcessingPhaseSchema } from '../api-schemas/document-processing.js';
|
|
1
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
3
2
|
import type { WorkflowExecutionPayload } from './workflow.js';
|
|
4
|
-
export type DocumentPrepOptions =
|
|
3
|
+
export type DocumentPrepOptions = Wire.DocumentPrepOptions;
|
|
5
4
|
export interface DocumentPrepWorkflowPayload extends Omit<WorkflowExecutionPayload, 'vars'> {
|
|
6
5
|
vars: DocumentPrepOptions;
|
|
7
6
|
}
|
|
8
|
-
export type DocumentProcessingPhase =
|
|
7
|
+
export type DocumentProcessingPhase = Wire.DocumentProcessingPhase;
|
|
9
8
|
/**
|
|
10
9
|
* Output format for document processing workflows
|
|
11
10
|
*/
|
|
12
|
-
export type DocProcessorOutputFormat =
|
|
11
|
+
export type DocProcessorOutputFormat = Wire.DocProcessorOutputFormat;
|
|
13
12
|
/**
|
|
14
13
|
* Represents a document analysis run status
|
|
15
14
|
*/
|
|
16
|
-
export type DocAnalyzeRunStatusResponse =
|
|
17
|
-
export type DocAnalyzerProgress =
|
|
18
|
-
export type DocAnalyzerProgressStatus =
|
|
15
|
+
export type DocAnalyzeRunStatusResponse = Wire.DocAnalyzeRunStatusResponse;
|
|
16
|
+
export type DocAnalyzerProgress = Wire.DocAnalyzerProgress;
|
|
17
|
+
export type DocAnalyzerProgressStatus = Wire.DocAnalyzerProgressStatus;
|
|
19
18
|
/**
|
|
20
19
|
* Adapt Tables Parameters, part of the request
|
|
21
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-analyzer.d.ts","sourceRoot":"","sources":["../../src/store/doc-analyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"doc-analyzer.d.ts","sourceRoot":"","sources":["../../src/store/doc-analyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAC;AACxD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAE3D,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CAAC,wBAAwB,EAAE,MAAM,CAAC;IACvF,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,wBAAwB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,2BAA2B,CAAC;AAE3E,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAE3D,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAAyB,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CACnC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type { z } from 'zod';
|
|
2
|
-
import type { ActivityFetchSpecSchema, DSLActivityOptionsSchema, DSLActivitySpecSchema, DSLActivityStepSchema, DSLRetryPolicySchema, DurationValueSchema } from '../api-schemas/process.js';
|
|
3
|
-
import type { WorkflowDefinitionRefSchema, WorkflowInputFileSchema, WorkflowInputSchema } from '../api-schemas/workflow-runs.js';
|
|
4
1
|
import type { ToolExecutionMetadata } from '../tool-execution.js';
|
|
2
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
5
3
|
import type { BaseObject } from './common.js';
|
|
6
4
|
import type { WorkflowExecutionPayload } from './index.js';
|
|
7
5
|
/**
|
|
@@ -10,13 +8,13 @@ import type { WorkflowExecutionPayload } from './index.js';
|
|
|
10
8
|
* while this union is part of the public DSL that clients write.
|
|
11
9
|
*/
|
|
12
10
|
export type ParentClosePolicyType = 'TERMINATE' | 'ABANDON' | 'REQUEST_CANCEL' | undefined;
|
|
13
|
-
export type DurationValue =
|
|
11
|
+
export type DurationValue = Wire.DurationValue;
|
|
14
12
|
/**
|
|
15
13
|
* Discriminator for workflow input type - either object IDs or GCS file URIs
|
|
16
14
|
*/
|
|
17
15
|
export type WorkflowInputType = 'objectIds' | 'files';
|
|
18
|
-
export type WorkflowInputFile =
|
|
19
|
-
export type WorkflowInput =
|
|
16
|
+
export type WorkflowInputFile = Wire.WorkflowInputFile;
|
|
17
|
+
export type WorkflowInput = Wire.WorkflowInput;
|
|
20
18
|
/**
|
|
21
19
|
* The payload sent when starting a workflow from the temporal client to the workflow instance.
|
|
22
20
|
*/
|
|
@@ -27,8 +25,8 @@ export interface DSLWorkflowExecutionPayload extends WorkflowExecutionPayload<Re
|
|
|
27
25
|
*/
|
|
28
26
|
workflow: DSLWorkflowSpec;
|
|
29
27
|
}
|
|
30
|
-
export type DSLActivityOptions =
|
|
31
|
-
export type DSLRetryPolicy =
|
|
28
|
+
export type DSLActivityOptions = Wire.DSLActivityOptions;
|
|
29
|
+
export type DSLRetryPolicy = Wire.DSLRetryPolicy;
|
|
32
30
|
export type WorkflowSearchAttributeValue = string[] | number[] | boolean[] | Date[];
|
|
33
31
|
export type WorkflowSearchAttributes = Record<string, WorkflowSearchAttributeValue>;
|
|
34
32
|
/**
|
|
@@ -43,7 +41,7 @@ export interface DSLActivityExecutionPayload<ParamsT extends object> extends Wor
|
|
|
43
41
|
activityGroupId?: string;
|
|
44
42
|
}
|
|
45
43
|
export type ImportSpec = (string | Record<string, string>)[];
|
|
46
|
-
export type ActivityFetchSpec =
|
|
44
|
+
export type ActivityFetchSpec = Wire.ActivityFetchSpec;
|
|
47
45
|
interface DSLWorkflowStepBase {
|
|
48
46
|
/**
|
|
49
47
|
* The type fo the step.
|
|
@@ -51,13 +49,13 @@ interface DSLWorkflowStepBase {
|
|
|
51
49
|
*/
|
|
52
50
|
type: 'activity' | 'workflow';
|
|
53
51
|
}
|
|
54
|
-
type DSLActivitySpecWire =
|
|
52
|
+
type DSLActivitySpecWire = Wire.DSLActivitySpecWire;
|
|
55
53
|
/** The published activity shape with a caller-specializable parameter bag. */
|
|
56
54
|
export type DSLActivitySpec<PARAMS extends object = Record<string, unknown>> = Omit<DSLActivitySpecWire, 'params' | 'import'> & {
|
|
57
55
|
params?: PARAMS;
|
|
58
56
|
import?: ImportSpec;
|
|
59
57
|
};
|
|
60
|
-
type DSLActivityStepWire =
|
|
58
|
+
type DSLActivityStepWire = Wire.DSLActivityStepWire;
|
|
61
59
|
/** The published activity-step shape with a caller-specializable parameter bag. */
|
|
62
60
|
export type DSLActivityStep<PARAMS extends object = Record<string, unknown>> = Omit<DSLActivityStepWire, 'params' | 'import'> & {
|
|
63
61
|
params?: PARAMS;
|
|
@@ -186,7 +184,7 @@ export interface DSLWorkflowDefinition extends BaseObject, DSLWorkflowSpecBase {
|
|
|
186
184
|
export interface DSLWorkflowDefinitionResponse extends DSLWorkflowDefinition {
|
|
187
185
|
spec_format: 'steps' | 'activities';
|
|
188
186
|
}
|
|
189
|
-
export type WorkflowDefinitionRef =
|
|
187
|
+
export type WorkflowDefinitionRef = Wire.WorkflowDefinitionRef;
|
|
190
188
|
export declare const WorkflowDefinitionRefPopulate = "id name description tags created_at updated_at";
|
|
191
189
|
/**
|
|
192
190
|
* Payload sent to a remote activity endpoint on a tool server.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsl-workflow.d.ts","sourceRoot":"","sources":["../../src/store/dsl-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
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,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;IACxE,WAAW,EAAE,OAAO,GAAG,YAAY,CAAC;CACvC;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC;AAE/D,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":"AAwOA,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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The units `ms` accepts in a duration string, in any case (`'5s'`, `'2 Hours'`, `'1 min'`).
|
|
3
|
+
*/
|
|
4
|
+
type DurationUnit = 'Years' | 'Year' | 'Yrs' | 'Yr' | 'Y' | 'Weeks' | 'Week' | 'W' | 'Days' | 'Day' | 'D' | 'Hours' | 'Hour' | 'Hrs' | 'Hr' | 'H' | 'Minutes' | 'Minute' | 'Mins' | 'Min' | 'M' | 'Seconds' | 'Second' | 'Secs' | 'Sec' | 's' | 'Milliseconds' | 'Millisecond' | 'Msecs' | 'Msec' | 'Ms';
|
|
5
|
+
/**
|
|
6
|
+
* A duration string as the `ms` package parses it: `'100'`, `'5s'`, `'1 hour'`. Declared here rather than
|
|
7
|
+
* imported from `ms`, which this package does not depend on, so the published types resolve without it.
|
|
8
|
+
* Identical to `ms`'s `StringValue`, so a value passes straight to `ms()`.
|
|
9
|
+
*/
|
|
10
|
+
export type DurationString = `${number}` | `${number}${DurationUnit | Uppercase<DurationUnit> | Lowercase<DurationUnit>}` | `${number} ${DurationUnit | Uppercase<DurationUnit> | Lowercase<DurationUnit>}`;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=duration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration.d.ts","sourceRoot":"","sources":["../../src/store/duration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,KAAK,YAAY,GACX,OAAO,GACP,MAAM,GACN,KAAK,GACL,IAAI,GACJ,GAAG,GACH,OAAO,GACP,MAAM,GACN,GAAG,GACH,MAAM,GACN,KAAK,GACL,GAAG,GACH,OAAO,GACP,MAAM,GACN,KAAK,GACL,IAAI,GACJ,GAAG,GACH,SAAS,GACT,QAAQ,GACR,MAAM,GACN,KAAK,GACL,GAAG,GACH,SAAS,GACT,QAAQ,GACR,MAAM,GACN,KAAK,GACL,GAAG,GACH,cAAc,GACd,aAAa,GACb,OAAO,GACP,MAAM,GACN,IAAI,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACpB,GAAG,MAAM,EAAE,GACX,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAAE,GAC9E,GAAG,MAAM,IAAI,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration.js","sourceRoot":"","sources":["../../src/store/duration.ts"],"names":[],"mappings":""}
|
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { GroundedAssistantResponseSchema, GroundedExtractionRequestSchema, GroundedExtractionResultResponseSchema, GroundedExtractionVerdictSchema, GroundedVerificationBreakdownSchema } from '../api-schemas/document-processing.js';
|
|
1
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
3
2
|
/**
|
|
4
3
|
* Document-level trust verdict for a grounded extraction. `good_to_go` means the
|
|
5
4
|
* extracted content (after any review corrections) can be used without a human
|
|
6
5
|
* check; `needs_review` means a human should verify it. This reflects content
|
|
7
6
|
* correctness, not how many citation boxes rendered.
|
|
8
7
|
*/
|
|
9
|
-
export type GroundedExtractionVerdict =
|
|
8
|
+
export type GroundedExtractionVerdict = Wire.GroundedExtractionVerdict;
|
|
10
9
|
/**
|
|
11
10
|
* Request body to start a grounded extraction on a content object. All fields are
|
|
12
11
|
* optional: with none set, the object's own content-type schema drives the
|
|
13
12
|
* extraction with default models and settings.
|
|
14
13
|
*/
|
|
15
|
-
export type GroundedExtractionRequest =
|
|
14
|
+
export type GroundedExtractionRequest = Wire.GroundedExtractionRequest;
|
|
16
15
|
/**
|
|
17
16
|
* Response from starting the interactive grounded extraction assistant. The agent
|
|
18
17
|
* run + conversation workflow are launched server-side (recordRun -> stage the
|
|
19
18
|
* document into the agent space -> launch the interactive conversation); the
|
|
20
19
|
* client renders the conversation with `agent_run_id`.
|
|
21
20
|
*/
|
|
22
|
-
export type GroundedAssistantResponse =
|
|
21
|
+
export type GroundedAssistantResponse = Wire.GroundedAssistantResponse;
|
|
23
22
|
/**
|
|
24
23
|
* How each extracted value was verified. Two kinds, both trustworthy:
|
|
25
24
|
* digitally verified (matched the document's text — digital layer or OCR) and
|
|
26
25
|
* AI verified (the reviewer confirmed it against the page image — the primary
|
|
27
26
|
* signal for scanned or handwritten content, which has no text layer to match).
|
|
28
27
|
*/
|
|
29
|
-
export type GroundedVerificationBreakdown =
|
|
28
|
+
export type GroundedVerificationBreakdown = Wire.GroundedVerificationBreakdown;
|
|
30
29
|
/**
|
|
31
30
|
* Completed grounded extraction result: the extracted data with its trust verdict
|
|
32
31
|
* and verification breakdown, plus a download URL for the full citations artifact.
|
|
33
32
|
*/
|
|
34
|
-
export type GroundedExtractionResultResponse =
|
|
33
|
+
export type GroundedExtractionResultResponse = Wire.GroundedExtractionResultResponse;
|
|
35
34
|
//# sourceMappingURL=grounded-extraction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grounded-extraction.d.ts","sourceRoot":"","sources":["../../src/store/grounded-extraction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"grounded-extraction.d.ts","sourceRoot":"","sources":["../../src/store/grounded-extraction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAAyB,CAAC;AAEvE;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAAyB,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAAyB,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,6BAA6B,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,gCAAgC,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,UA+mE3C,CAAC"}
|
|
@@ -272,6 +272,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
272
272
|
type: 'string',
|
|
273
273
|
enum: ['low', 'medium', 'high', 'xhigh', 'max'],
|
|
274
274
|
},
|
|
275
|
+
thinking_mode: {
|
|
276
|
+
type: 'string',
|
|
277
|
+
enum: ['adaptive', 'between_tools'],
|
|
278
|
+
description: 'Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved.',
|
|
279
|
+
},
|
|
275
280
|
thinking_budget_tokens: {
|
|
276
281
|
type: 'number',
|
|
277
282
|
},
|
|
@@ -285,6 +290,10 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
285
290
|
type: 'string',
|
|
286
291
|
enum: ['5m', '1h'],
|
|
287
292
|
},
|
|
293
|
+
speed: {
|
|
294
|
+
type: 'string',
|
|
295
|
+
enum: ['standard', 'fast'],
|
|
296
|
+
},
|
|
288
297
|
},
|
|
289
298
|
additionalProperties: false,
|
|
290
299
|
},
|
|
@@ -393,6 +402,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
393
402
|
top_k: {
|
|
394
403
|
type: 'number',
|
|
395
404
|
},
|
|
405
|
+
thinking_mode: {
|
|
406
|
+
type: 'string',
|
|
407
|
+
enum: ['adaptive', 'between_tools'],
|
|
408
|
+
description: 'Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved.',
|
|
409
|
+
},
|
|
396
410
|
thinking_budget_tokens: {
|
|
397
411
|
type: 'number',
|
|
398
412
|
},
|
|
@@ -598,6 +612,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
598
612
|
type: 'string',
|
|
599
613
|
enum: ['low', 'medium', 'high', 'xhigh', 'max'],
|
|
600
614
|
},
|
|
615
|
+
thinking_mode: {
|
|
616
|
+
type: 'string',
|
|
617
|
+
enum: ['adaptive', 'between_tools'],
|
|
618
|
+
description: 'Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved.',
|
|
619
|
+
},
|
|
601
620
|
thinking_budget_tokens: {
|
|
602
621
|
type: 'number',
|
|
603
622
|
},
|
|
@@ -1050,6 +1069,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1050
1069
|
'CUSTOMIZATION_INSTRUCT',
|
|
1051
1070
|
],
|
|
1052
1071
|
},
|
|
1072
|
+
InferenceProfileId: {
|
|
1073
|
+
type: 'string',
|
|
1074
|
+
pattern: '^[a-fA-F0-9]{24}$',
|
|
1075
|
+
description: 'MongoDB ObjectId of the inference profile.',
|
|
1076
|
+
},
|
|
1053
1077
|
IntakePageRanges: {
|
|
1054
1078
|
type: 'array',
|
|
1055
1079
|
items: {
|
|
@@ -1080,6 +1104,21 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1080
1104
|
id: {
|
|
1081
1105
|
type: 'string',
|
|
1082
1106
|
},
|
|
1107
|
+
inference_profile: {
|
|
1108
|
+
anyOf: [
|
|
1109
|
+
{
|
|
1110
|
+
$ref: '#/$defs/InferenceProfileId',
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
type: 'null',
|
|
1114
|
+
},
|
|
1115
|
+
],
|
|
1116
|
+
description: 'Select a project inference profile. Null bypasses profile defaults.',
|
|
1117
|
+
},
|
|
1118
|
+
inherit_model_config: {
|
|
1119
|
+
type: 'boolean',
|
|
1120
|
+
description: "Treat the supplied environment, model and inference_profile as the caller's settings, inherited as a fallback: the interaction's bound or attached profile, or its own model, replaces them.",
|
|
1121
|
+
},
|
|
1083
1122
|
environment: {
|
|
1084
1123
|
type: 'string',
|
|
1085
1124
|
},
|
|
@@ -1399,11 +1438,16 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1399
1438
|
},
|
|
1400
1439
|
size: {
|
|
1401
1440
|
type: 'string',
|
|
1402
|
-
|
|
1441
|
+
},
|
|
1442
|
+
width: {
|
|
1443
|
+
type: 'number',
|
|
1444
|
+
},
|
|
1445
|
+
height: {
|
|
1446
|
+
type: 'number',
|
|
1403
1447
|
},
|
|
1404
1448
|
image_quality: {
|
|
1405
1449
|
type: 'string',
|
|
1406
|
-
enum: ['low', 'medium', 'high', 'auto'],
|
|
1450
|
+
enum: ['low', 'medium', 'high', 'xhigh', 'max', 'auto'],
|
|
1407
1451
|
},
|
|
1408
1452
|
background: {
|
|
1409
1453
|
type: 'string',
|
|
@@ -1413,9 +1457,91 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1413
1457
|
type: 'string',
|
|
1414
1458
|
enum: ['png', 'webp', 'jpeg'],
|
|
1415
1459
|
},
|
|
1460
|
+
n: {
|
|
1461
|
+
type: 'number',
|
|
1462
|
+
},
|
|
1463
|
+
output_compression: {
|
|
1464
|
+
type: 'integer',
|
|
1465
|
+
minimum: 0,
|
|
1466
|
+
maximum: 100,
|
|
1467
|
+
},
|
|
1468
|
+
moderation: {
|
|
1469
|
+
type: 'string',
|
|
1470
|
+
enum: ['auto', 'low'],
|
|
1471
|
+
},
|
|
1472
|
+
input_fidelity: {
|
|
1473
|
+
type: 'string',
|
|
1474
|
+
enum: ['low', 'high'],
|
|
1475
|
+
},
|
|
1476
|
+
partial_images: {
|
|
1477
|
+
type: 'number',
|
|
1478
|
+
},
|
|
1416
1479
|
},
|
|
1417
1480
|
additionalProperties: false,
|
|
1418
1481
|
},
|
|
1482
|
+
OpenAiImageGenerationMask: {
|
|
1483
|
+
type: 'object',
|
|
1484
|
+
properties: {
|
|
1485
|
+
file_id: {
|
|
1486
|
+
type: 'string',
|
|
1487
|
+
},
|
|
1488
|
+
image_url: {
|
|
1489
|
+
type: 'string',
|
|
1490
|
+
},
|
|
1491
|
+
},
|
|
1492
|
+
additionalProperties: false,
|
|
1493
|
+
},
|
|
1494
|
+
OpenAiImageGenerationOptions: {
|
|
1495
|
+
type: 'object',
|
|
1496
|
+
properties: {
|
|
1497
|
+
model: {
|
|
1498
|
+
type: 'string',
|
|
1499
|
+
},
|
|
1500
|
+
force: {
|
|
1501
|
+
type: 'boolean',
|
|
1502
|
+
},
|
|
1503
|
+
action: {
|
|
1504
|
+
type: 'string',
|
|
1505
|
+
enum: ['auto', 'generate', 'edit'],
|
|
1506
|
+
},
|
|
1507
|
+
size: {
|
|
1508
|
+
type: 'string',
|
|
1509
|
+
},
|
|
1510
|
+
quality: {
|
|
1511
|
+
type: 'string',
|
|
1512
|
+
enum: ['auto', 'low', 'medium', 'high', 'xhigh', 'max'],
|
|
1513
|
+
},
|
|
1514
|
+
background: {
|
|
1515
|
+
type: 'string',
|
|
1516
|
+
enum: ['auto', 'opaque', 'transparent'],
|
|
1517
|
+
},
|
|
1518
|
+
output_format: {
|
|
1519
|
+
type: 'string',
|
|
1520
|
+
enum: ['png', 'jpeg', 'webp'],
|
|
1521
|
+
},
|
|
1522
|
+
output_compression: {
|
|
1523
|
+
type: 'integer',
|
|
1524
|
+
minimum: 0,
|
|
1525
|
+
maximum: 100,
|
|
1526
|
+
},
|
|
1527
|
+
moderation: {
|
|
1528
|
+
type: 'string',
|
|
1529
|
+
enum: ['auto', 'low'],
|
|
1530
|
+
},
|
|
1531
|
+
input_fidelity: {
|
|
1532
|
+
type: 'string',
|
|
1533
|
+
enum: ['low', 'high'],
|
|
1534
|
+
},
|
|
1535
|
+
partial_images: {
|
|
1536
|
+
type: 'number',
|
|
1537
|
+
},
|
|
1538
|
+
input_image_mask: {
|
|
1539
|
+
$ref: '#/$defs/OpenAiImageGenerationMask',
|
|
1540
|
+
},
|
|
1541
|
+
},
|
|
1542
|
+
required: ['model'],
|
|
1543
|
+
additionalProperties: false,
|
|
1544
|
+
},
|
|
1419
1545
|
OpenAiSpeechOptions: {
|
|
1420
1546
|
type: 'object',
|
|
1421
1547
|
properties: {
|
|
@@ -1449,6 +1575,9 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1449
1575
|
type: 'string',
|
|
1450
1576
|
const: 'openai-text',
|
|
1451
1577
|
},
|
|
1578
|
+
image_generation: {
|
|
1579
|
+
$ref: '#/$defs/OpenAiImageGenerationOptions',
|
|
1580
|
+
},
|
|
1452
1581
|
max_tokens: {
|
|
1453
1582
|
type: 'number',
|
|
1454
1583
|
},
|
|
@@ -1507,6 +1636,9 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1507
1636
|
type: 'string',
|
|
1508
1637
|
const: 'openai-thinking',
|
|
1509
1638
|
},
|
|
1639
|
+
image_generation: {
|
|
1640
|
+
$ref: '#/$defs/OpenAiImageGenerationOptions',
|
|
1641
|
+
},
|
|
1510
1642
|
max_tokens: {
|
|
1511
1643
|
type: 'number',
|
|
1512
1644
|
},
|
|
@@ -1526,6 +1658,10 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1526
1658
|
reasoning_effort: {
|
|
1527
1659
|
$ref: '#/$defs/ReasoningEffort',
|
|
1528
1660
|
},
|
|
1661
|
+
reasoning_context: {
|
|
1662
|
+
type: 'string',
|
|
1663
|
+
enum: ['auto', 'current_turn', 'all_turns'],
|
|
1664
|
+
},
|
|
1529
1665
|
image_detail: {
|
|
1530
1666
|
type: 'string',
|
|
1531
1667
|
enum: ['low', 'high', 'auto'],
|
|
@@ -1774,6 +1910,11 @@ export const ContentTypeIntakePolicySchema = {
|
|
|
1774
1910
|
type: 'string',
|
|
1775
1911
|
enum: ['low', 'medium', 'high', 'xhigh', 'max'],
|
|
1776
1912
|
},
|
|
1913
|
+
thinking_mode: {
|
|
1914
|
+
type: 'string',
|
|
1915
|
+
enum: ['adaptive', 'between_tools'],
|
|
1916
|
+
description: 'Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved.',
|
|
1917
|
+
},
|
|
1777
1918
|
thinking_budget_tokens: {
|
|
1778
1919
|
type: 'number',
|
|
1779
1920
|
},
|