@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
package/lib/interaction.d.ts
CHANGED
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
import type { CompletionResult, ExecutionTokenUsage, JSONSchema, Modalities, PromptCacheDiagnostic, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
|
|
2
|
-
import type { z } from 'zod';
|
|
3
|
-
import type { AgentResourceActionSchema, AgentResourceReferenceSchema, AgentResourceTypeSchema, AgentRunnerOptionsSchema, AsyncCompletionModeSchema, AsyncCompletionOptionsSchema, AsyncConversationExecutionPayloadSchema, AsyncExecutionPayloadSchema, AsyncExecutionResultSchema, AsyncInteractionExecutionPayloadSchema, CachePolicySchema, CatalogInteractionRefSchema, ConversationStripOptionsSchema, ConversationVisibilitySchema, ExecutionRunInteractionSchema, ExecutionRunRefSchema, ExecutionRunWorkflowSchema, GeneratedInteractionDefinitionSchema, GeneratedInteractionPromptSegmentSchema, GeneratedInteractionPromptTemplateSchema, GeneratedTestDataRecordSchema, GenerateInteractionPayloadSchema, GenerateTestDataPayloadSchema, ImprovePromptPayloadConfigSchema, ImprovePromptPayloadSchema, InCodeInteractionSchema, InCodePromptSchema, InitialToolCallSchema, InteractionCreatePayloadSchema, InteractionEndpointQuerySchema, InteractionEndpointSchema, InteractionExecutionErrorSchema, InteractionExecutionPayloadSchema, InteractionForkPayloadSchema, InteractionNameSchema, InteractionPublishPayloadSchema, InteractionRefSchema, InteractionRefWithSchemaSchema, InteractionSchema, InteractionsExportPayloadSchema, InteractionTagsSchema, InteractionUpdatePayloadSchema, InteractionVisibilitySchema, NamedInteractionExecutionPayloadSchema, PromptImprovementResponseSchema, PromptModalitiesSchema, RateLimitRequestPayloadSchema, RateLimitRequestResponseSchema, ResolvedCatalogInteractionSchema, ResolvedEnvironmentInfoSchema, ResolvedInteractionExecutionInfoSchema, ResolvedRuntimeConfigSchema, ResultStorageOptionsSchema, RunSourceSchema, SchemaRefSchema, SkillContextTriggersSchema, StreamingOptionsSchema, StreamingTelemetryContextSchema, ToolResultMetaSchema, ToolResultSchema, ToolResultsPayloadSchema, UpdateExecutionRunPayloadSchema, UserMessagePayloadSchema } from './api-schemas/interaction.js';
|
|
4
|
-
import type { InteractionExecutionConfigurationSchema } from './api-schemas/store.js';
|
|
5
2
|
import type { ExecutionEnvironmentRef } from './environment.js';
|
|
3
|
+
import type { InferenceProfileSnapshot } from './inference-profile.js';
|
|
6
4
|
import type { ProjectRef } from './project.js';
|
|
7
5
|
import type { PopulatedPromptSegmentDef } from './prompt.js';
|
|
8
6
|
import type { TextArtifactReference } from './store/conversation-state.js';
|
|
9
7
|
import type { AccountRef } from './user.js';
|
|
8
|
+
import type * as Wire from './wire-types.generated.js';
|
|
10
9
|
/**
|
|
11
10
|
* `RunDataStorageLevel` and `ConfigModes` live in `./interaction-values.js` so the API schemas can
|
|
12
11
|
* read them without importing this module back. Re-exported here so every existing import path keeps
|
|
13
12
|
* working.
|
|
14
13
|
*/
|
|
15
14
|
export * from './interaction-values.js';
|
|
16
|
-
export type InteractionExecutionError =
|
|
15
|
+
export type InteractionExecutionError = Wire.InteractionExecutionError;
|
|
17
16
|
/**
|
|
18
17
|
* Configuration for stripping large data from conversation history
|
|
19
18
|
* to prevent JSON serialization issues and reduce storage bloat.
|
|
20
19
|
*/
|
|
21
|
-
export type ConversationStripOptions =
|
|
20
|
+
export type ConversationStripOptions = Wire.ConversationStripOptions;
|
|
22
21
|
/**
|
|
23
22
|
* Reference to an interaction in the catalog.
|
|
24
23
|
* Used in catalog listing. The id is composed of the namespace and the interaction name.
|
|
25
24
|
* Stored interactions can use `oid:` prefix.
|
|
26
25
|
* If no prefix is used it fallback on `oid:`.
|
|
27
26
|
*/
|
|
28
|
-
export type CatalogInteractionRef =
|
|
27
|
+
export type CatalogInteractionRef = Wire.CatalogInteractionRef;
|
|
29
28
|
export interface CatalogTagQuery {
|
|
30
29
|
tag?: string;
|
|
31
30
|
}
|
|
@@ -39,28 +38,23 @@ export interface ExecuteInteractionByEndpointQuery {
|
|
|
39
38
|
export interface ExecuteInteractionByEndpointHeaders {
|
|
40
39
|
'x-interaction-tag'?: string;
|
|
41
40
|
}
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
hasVideo?: boolean;
|
|
47
|
-
}
|
|
48
|
-
export type InCodePrompt = z.infer<typeof InCodePromptSchema>;
|
|
49
|
-
export type InCodeInteraction = z.infer<typeof InCodeInteractionSchema>;
|
|
50
|
-
export type ResolvedCatalogInteraction = z.infer<typeof ResolvedCatalogInteractionSchema>;
|
|
41
|
+
export type ResolveInteractionQuery = Wire.ResolveInteractionQuery;
|
|
42
|
+
export type InCodePrompt = Wire.InCodePrompt;
|
|
43
|
+
export type InCodeInteraction = Wire.InCodeInteraction;
|
|
44
|
+
export type ResolvedCatalogInteraction = Wire.ResolvedCatalogInteraction;
|
|
51
45
|
export type InteractionSpec = Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'>;
|
|
52
46
|
/**
|
|
53
47
|
* The payload to query the interaction endpoints
|
|
54
48
|
*/
|
|
55
|
-
export type InteractionEndpointQuery =
|
|
49
|
+
export type InteractionEndpointQuery = Wire.InteractionEndpointQuery;
|
|
56
50
|
/**
|
|
57
51
|
* A description of an interaction endpoint.
|
|
58
52
|
*/
|
|
59
|
-
export type InteractionEndpoint =
|
|
60
|
-
export type InteractionTags =
|
|
61
|
-
export type InteractionRef =
|
|
53
|
+
export type InteractionEndpoint = Wire.InteractionEndpoint;
|
|
54
|
+
export type InteractionTags = Wire.InteractionTags;
|
|
55
|
+
export type InteractionRef = Wire.InteractionRef;
|
|
62
56
|
/** An interaction reduced to the fields a name picker needs. */
|
|
63
|
-
export type InteractionName =
|
|
57
|
+
export type InteractionName = Wire.InteractionName;
|
|
64
58
|
/**
|
|
65
59
|
* An interaction reference carrying the schemas an export needs to reconstruct it.
|
|
66
60
|
*
|
|
@@ -69,8 +63,8 @@ export type InteractionName = z.infer<typeof InteractionNameSchema>;
|
|
|
69
63
|
* canonical alias — the alias publishes as a bare reference, with no members to omit — and the
|
|
70
64
|
* interface also overstated each prompt template, which an export populates with `inputSchema` alone.
|
|
71
65
|
*/
|
|
72
|
-
export type InteractionRefWithSchema =
|
|
73
|
-
export type InteractionsExportPayload =
|
|
66
|
+
export type InteractionRefWithSchema = Wire.InteractionRefWithSchema;
|
|
67
|
+
export type InteractionsExportPayload = Wire.InteractionsExportPayload;
|
|
74
68
|
export declare enum InteractionStatus {
|
|
75
69
|
draft = "draft",
|
|
76
70
|
published = "published",
|
|
@@ -88,13 +82,13 @@ export declare enum ExecutionRunStatus {
|
|
|
88
82
|
* Schema can be stored or specified as a reference to an external schema.
|
|
89
83
|
* We only support "store:" references for now
|
|
90
84
|
*/
|
|
91
|
-
export type SchemaRef =
|
|
92
|
-
export type CachePolicy =
|
|
93
|
-
export type InteractionVisibility =
|
|
94
|
-
export type Interaction =
|
|
95
|
-
export type InteractionCreatePayload =
|
|
96
|
-
export type InteractionUpdatePayload =
|
|
97
|
-
export type InteractionPublishPayload =
|
|
85
|
+
export type SchemaRef = Wire.SchemaRef;
|
|
86
|
+
export type CachePolicy = Wire.CachePolicy;
|
|
87
|
+
export type InteractionVisibility = Wire.InteractionVisibility;
|
|
88
|
+
export type Interaction = Wire.Interaction;
|
|
89
|
+
export type InteractionCreatePayload = Wire.InteractionCreatePayload;
|
|
90
|
+
export type InteractionUpdatePayload = Wire.InteractionUpdatePayload;
|
|
91
|
+
export type InteractionPublishPayload = Wire.InteractionPublishPayload;
|
|
98
92
|
export interface InteractionDeletePayload {
|
|
99
93
|
/**
|
|
100
94
|
* When true, also delete every interaction in the same family as the target:
|
|
@@ -104,10 +98,10 @@ export interface InteractionDeletePayload {
|
|
|
104
98
|
*/
|
|
105
99
|
cascade?: boolean;
|
|
106
100
|
}
|
|
107
|
-
export type InteractionForkPayload =
|
|
108
|
-
export type InteractionExecutionPayload =
|
|
109
|
-
export type NamedInteractionExecutionPayload =
|
|
110
|
-
export type ConversationVisibility =
|
|
101
|
+
export type InteractionForkPayload = Wire.InteractionForkPayload;
|
|
102
|
+
export type InteractionExecutionPayload = Wire.InteractionExecutionPayload;
|
|
103
|
+
export type NamedInteractionExecutionPayload = Wire.NamedInteractionExecutionPayload;
|
|
104
|
+
export type ConversationVisibility = Wire.ConversationVisibility;
|
|
111
105
|
/**
|
|
112
106
|
* Defines the scope for agent search operations.
|
|
113
107
|
*/
|
|
@@ -121,63 +115,63 @@ export declare enum AgentSearchScope {
|
|
|
121
115
|
* Context triggers for auto-injection of skills.
|
|
122
116
|
* When these conditions match, the skill is automatically injected into the agent context.
|
|
123
117
|
*/
|
|
124
|
-
export type SkillContextTriggers =
|
|
118
|
+
export type SkillContextTriggers = Wire.SkillContextTriggers;
|
|
125
119
|
/**
|
|
126
120
|
* Configuration options for Agent Runner functionality.
|
|
127
121
|
* These options control how interactions are exposed and executed in the Agent Runner.
|
|
128
122
|
*/
|
|
129
|
-
export type AgentRunnerOptions =
|
|
123
|
+
export type AgentRunnerOptions = Wire.AgentRunnerOptions;
|
|
130
124
|
export type { EmailChannel, EmailRouteData, InteractiveChannel, UserChannel, } from './email.js';
|
|
131
125
|
export { isEmailChannel, isInteractiveChannel, } from './email.js';
|
|
132
126
|
/**
|
|
133
127
|
* A tool invocation executed before the first model turn of a conversation.
|
|
134
128
|
* Results are injected into the initial context so the agent starts with them in hand.
|
|
135
129
|
*/
|
|
136
|
-
export type InitialToolCall =
|
|
137
|
-
export type AsyncConversationExecutionPayload =
|
|
138
|
-
export type AsyncInteractionExecutionPayload =
|
|
130
|
+
export type InitialToolCall = Wire.InitialToolCall;
|
|
131
|
+
export type AsyncConversationExecutionPayload = Wire.AsyncConversationExecutionPayload;
|
|
132
|
+
export type AsyncInteractionExecutionPayload = Wire.AsyncInteractionExecutionPayload;
|
|
139
133
|
/**
|
|
140
134
|
* @discriminator type
|
|
141
135
|
*/
|
|
142
|
-
export type AsyncExecutionPayload =
|
|
143
|
-
export type AsyncExecutionResult =
|
|
136
|
+
export type AsyncExecutionPayload = Wire.AsyncExecutionPayload;
|
|
137
|
+
export type AsyncExecutionResult = Wire.AsyncExecutionResult;
|
|
144
138
|
/**
|
|
145
139
|
* Telemetry context for streaming mode.
|
|
146
140
|
* Contains info not available in current_state needed to send LlmCallEvent.
|
|
147
141
|
*/
|
|
148
|
-
export type StreamingTelemetryContext =
|
|
142
|
+
export type StreamingTelemetryContext = Wire.StreamingTelemetryContext;
|
|
149
143
|
/**
|
|
150
144
|
* Options for storing inference results to cloud storage
|
|
151
145
|
*/
|
|
152
|
-
export type ResultStorageOptions =
|
|
153
|
-
export type AsyncCompletionMode =
|
|
146
|
+
export type ResultStorageOptions = Wire.ResultStorageOptions;
|
|
147
|
+
export type AsyncCompletionMode = Wire.AsyncCompletionMode;
|
|
154
148
|
/**
|
|
155
149
|
* Streaming-specific options (only needed when stream=true)
|
|
156
150
|
*/
|
|
157
|
-
export type StreamingOptions =
|
|
151
|
+
export type StreamingOptions = Wire.StreamingOptions;
|
|
158
152
|
/**
|
|
159
153
|
* Options for async completion and/or streaming LLM responses
|
|
160
154
|
*/
|
|
161
|
-
export type AsyncCompletionOptions =
|
|
155
|
+
export type AsyncCompletionOptions = Wire.AsyncCompletionOptions;
|
|
162
156
|
/**
|
|
163
157
|
* The kinds of Vertesia resource an agent tool can report having created, updated, or deleted.
|
|
164
158
|
* Restricted to resources that have a real detail route to navigate to — do not emit a reference
|
|
165
159
|
* for a mutation with no meaningful navigation target. Add new kinds only once their route exists.
|
|
166
160
|
*/
|
|
167
|
-
export type AgentResourceType =
|
|
168
|
-
export type AgentResourceAction =
|
|
161
|
+
export type AgentResourceType = Wire.AgentResourceType;
|
|
162
|
+
export type AgentResourceAction = Wire.AgentResourceAction;
|
|
169
163
|
/**
|
|
170
164
|
* A navigable reference to a resource an agent tool mutated. Tools return these as tool-result
|
|
171
165
|
* metadata (see {@link ToolResultMeta.resources}); the conversation runtime promotes them onto the
|
|
172
166
|
* tool's completed lifecycle message so the UI can render deterministic deep links and an
|
|
173
167
|
* end-of-turn "resources changed" summary — independent of any link the model writes in prose.
|
|
174
168
|
*/
|
|
175
|
-
export type AgentResourceReference =
|
|
169
|
+
export type AgentResourceReference = Wire.AgentResourceReference;
|
|
176
170
|
/**
|
|
177
171
|
* Metadata a tool executor may attach to its result. Kept as an open record for forward
|
|
178
172
|
* compatibility while typing the fields the runtime interprets.
|
|
179
173
|
*/
|
|
180
|
-
export type ToolResultMeta =
|
|
174
|
+
export type ToolResultMeta = Wire.ToolResultMeta;
|
|
181
175
|
export interface ToolResultContent {
|
|
182
176
|
content: string;
|
|
183
177
|
/**
|
|
@@ -205,12 +199,12 @@ export interface ToolResultContent {
|
|
|
205
199
|
* rather than throwing, and an empty/absent label falls back to the id.
|
|
206
200
|
*/
|
|
207
201
|
export declare function normalizeAgentResources(value: unknown): AgentResourceReference[];
|
|
208
|
-
export type ToolResult =
|
|
202
|
+
export type ToolResult = Wire.ToolResult;
|
|
209
203
|
/**
|
|
210
204
|
* The payload to sent the tool responses back to the target LLM
|
|
211
205
|
*/
|
|
212
|
-
export type ToolResultsPayload =
|
|
213
|
-
export type UserMessagePayload =
|
|
206
|
+
export type ToolResultsPayload = Wire.ToolResultsPayload;
|
|
207
|
+
export type UserMessagePayload = Wire.UserMessagePayload;
|
|
214
208
|
export declare enum RunSourceTypes {
|
|
215
209
|
api = "api",
|
|
216
210
|
cli = "cli",
|
|
@@ -220,8 +214,8 @@ export declare enum RunSourceTypes {
|
|
|
220
214
|
system = "system",
|
|
221
215
|
schedule = "schedule"
|
|
222
216
|
}
|
|
223
|
-
export type RunSource =
|
|
224
|
-
export type ExecutionRunInteraction =
|
|
217
|
+
export type RunSource = Wire.RunSource;
|
|
218
|
+
export type ExecutionRunInteraction = Wire.ExecutionRunInteraction;
|
|
225
219
|
export interface BaseExecutionRun<P = unknown> {
|
|
226
220
|
readonly id: string;
|
|
227
221
|
/**
|
|
@@ -261,6 +255,7 @@ export interface BaseExecutionRun<P = unknown> {
|
|
|
261
255
|
account: AccountRef;
|
|
262
256
|
project: ProjectRef;
|
|
263
257
|
config: InteractionExecutionConfiguration;
|
|
258
|
+
inference_profile?: InferenceProfileSnapshot;
|
|
264
259
|
error?: InteractionExecutionError;
|
|
265
260
|
source: RunSource;
|
|
266
261
|
/**
|
|
@@ -284,8 +279,8 @@ export interface ExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
|
284
279
|
export interface PopulatedExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
285
280
|
interaction?: ExecutionRunInteraction;
|
|
286
281
|
}
|
|
287
|
-
export type ExecutionRunWorkflow =
|
|
288
|
-
export type PromptModalities =
|
|
282
|
+
export type ExecutionRunWorkflow = Wire.ExecutionRunWorkflow;
|
|
283
|
+
export type PromptModalities = Wire.PromptModalities;
|
|
289
284
|
export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionRun<P>, 'account' | 'project' | 'interaction'> {
|
|
290
285
|
account: string;
|
|
291
286
|
project: string;
|
|
@@ -294,19 +289,19 @@ export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionR
|
|
|
294
289
|
conversation?: unknown;
|
|
295
290
|
options?: StatelessExecutionOptions;
|
|
296
291
|
}
|
|
297
|
-
export type ExecutionRunRef =
|
|
298
|
-
export type InteractionExecutionConfiguration =
|
|
299
|
-
export type GenerateInteractionPayload =
|
|
300
|
-
export type GenerateTestDataPayload =
|
|
301
|
-
export type GeneratedTestDataRecord =
|
|
302
|
-
export type ImprovePromptPayloadConfig =
|
|
303
|
-
export type ImprovePromptPayload =
|
|
304
|
-
export type GeneratedInteractionPromptTemplate =
|
|
305
|
-
export type GeneratedInteractionPromptSegment =
|
|
306
|
-
export type GeneratedInteractionDefinition =
|
|
307
|
-
export type PromptImprovementResponse =
|
|
308
|
-
export type RateLimitRequestPayload =
|
|
309
|
-
export type RateLimitRequestResponse =
|
|
292
|
+
export type ExecutionRunRef = Wire.ExecutionRunRef;
|
|
293
|
+
export type InteractionExecutionConfiguration = Wire.InteractionExecutionConfiguration;
|
|
294
|
+
export type GenerateInteractionPayload = Wire.GenerateInteractionPayload;
|
|
295
|
+
export type GenerateTestDataPayload = Wire.GenerateTestDataPayload;
|
|
296
|
+
export type GeneratedTestDataRecord = Wire.GeneratedTestDataRecord;
|
|
297
|
+
export type ImprovePromptPayloadConfig = Wire.ImprovePromptPayloadConfig;
|
|
298
|
+
export type ImprovePromptPayload = Wire.ImprovePromptPayload;
|
|
299
|
+
export type GeneratedInteractionPromptTemplate = Wire.GeneratedInteractionPromptTemplate;
|
|
300
|
+
export type GeneratedInteractionPromptSegment = Wire.GeneratedInteractionPromptSegment;
|
|
301
|
+
export type GeneratedInteractionDefinition = Wire.GeneratedInteractionDefinition;
|
|
302
|
+
export type PromptImprovementResponse = Wire.PromptImprovementResponse;
|
|
303
|
+
export type RateLimitRequestPayload = Wire.RateLimitRequestPayload;
|
|
304
|
+
export type RateLimitRequestResponse = Wire.RateLimitRequestResponse;
|
|
310
305
|
/**
|
|
311
306
|
* Source of the resolved model configuration
|
|
312
307
|
*/
|
|
@@ -329,19 +324,19 @@ export declare enum ModelSource {
|
|
|
329
324
|
/**
|
|
330
325
|
* Resolved environment information
|
|
331
326
|
*/
|
|
332
|
-
export type ResolvedEnvironmentInfo =
|
|
327
|
+
export type ResolvedEnvironmentInfo = Wire.ResolvedEnvironmentInfo;
|
|
333
328
|
/**
|
|
334
329
|
* Resolved runtime configuration for an interaction
|
|
335
330
|
*/
|
|
336
|
-
export type ResolvedRuntimeConfig =
|
|
331
|
+
export type ResolvedRuntimeConfig = Wire.ResolvedRuntimeConfig;
|
|
337
332
|
/**
|
|
338
333
|
* Resolved execution info for an interaction.
|
|
339
334
|
* Contains the interaction ID, basic metadata, and the resolved runtime configuration
|
|
340
335
|
* (environment, model) that would be used at execution time.
|
|
341
336
|
*/
|
|
342
|
-
export type ResolvedInteractionExecutionInfo =
|
|
337
|
+
export type ResolvedInteractionExecutionInfo = Wire.ResolvedInteractionExecutionInfo;
|
|
343
338
|
export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
|
|
344
339
|
prompts: PopulatedPromptSegmentDef[];
|
|
345
340
|
}
|
|
346
|
-
export type UpdateExecutionRunPayload =
|
|
341
|
+
export type UpdateExecutionRunPayload = Wire.UpdateExecutionRunPayload;
|
|
347
342
|
//# sourceMappingURL=interaction.d.ts.map
|
package/lib/interaction.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../src/interaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,yBAAyB,EACzB,OAAO,EACV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../src/interaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,yBAA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oot":"","sources":["../src/interaction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../src/interaction.ts"],"names":[],"mappings":"AAiBA;;;;GAIG;AACH,cAAc,yBAAyB,CAAC;AAyExC,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,wCAAmB,CAAA;AACvB,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B;AAED,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;AACrB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAmCD;;GAEG;AACH,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IACxB;;OAEG;IACH,6CAAyB,CAAA;AAC7B,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAuBD,wDAAwD;AACxD,OAAO,EACH,cAAc,EACd,oBAAoB,GACvB,MAAM,YAAY,CAAC;AAwFpB,MAAM,oBAAoB,GAAiC;IACvD,UAAU;IACV,YAAY;IACZ,cAAc;IACd,aAAa;IACb,QAAQ;IACR,OAAO;IACP,UAAU;IACV,SAAS;IACT,aAAa;IACb,iBAAiB;IACjB,MAAM;CACT,CAAC;AAEF,MAAM,sBAAsB,GAAmC,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEjG;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAc;IAClD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACrC,MAAM,MAAM,GAA6B,EAAE,CAAC;IAC5C,KAAK,MAAM,KAAK,IAAI,KAAK,EAAE,CAAC;QACxB,IAAI,CAAC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AiB,CAAA;IACjB,kDAAkD;IAClD,0CAA2B,CAAA;IAC3B,mDAAmD;IACnD,wDAAyC,CAAA;IACzC,2DAA2D;IAC3D,4DAA6C,CAAA;IAC7C,6CAA6C;IAC7C,wDAAyC,CAAA;IACzC,0DAA0D;IAC1D,gEAAiD,CAAA;IACjD,+CAA+C;IAC/C,4DAA6C,CAAA;AACjD,CAAC,EAfW,WAAW,KAAX,WAAW,QAetB"}
|
package/lib/meters.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { StripeBillingDisabledSchema, StripeBillingEnabledSchema, StripeBillingStatusResponseSchema } from './api-schemas/account.js';
|
|
1
|
+
import type * as Wire from './wire-types.generated.js';
|
|
3
2
|
interface MeterAdjustment {
|
|
4
3
|
meter: string;
|
|
5
4
|
value: string;
|
|
@@ -16,8 +15,8 @@ export interface AdjustMetersMeterWorkflowParams {
|
|
|
16
15
|
* generated client two unrelated optionals with no way to tell which was populated. Narrowing on
|
|
17
16
|
* `status` now tells TypeScript which fields exist.
|
|
18
17
|
*/
|
|
19
|
-
export type StripeBillingStatusResponse =
|
|
20
|
-
export type StripeBillingEnabled =
|
|
21
|
-
export type StripeBillingDisabled =
|
|
18
|
+
export type StripeBillingStatusResponse = Wire.StripeBillingStatusResponse;
|
|
19
|
+
export type StripeBillingEnabled = Wire.StripeBillingEnabled;
|
|
20
|
+
export type StripeBillingDisabled = Wire.StripeBillingDisabled;
|
|
22
21
|
export {};
|
|
23
22
|
//# sourceMappingURL=meters.d.ts.map
|
package/lib/meters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meters.d.ts","sourceRoot":"","sources":["../src/meters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"meters.d.ts","sourceRoot":"","sources":["../src/meters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,2BAA2B,CAAC;AAEvD,UAAU,eAAe;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,+BAA+B;IAC5C,WAAW,EAAE,eAAe,EAAE,CAAC;CAClC;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,2BAA2B,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,CAAC;AAE7D,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC"}
|
package/lib/oauth-server.d.ts
CHANGED
|
@@ -1,49 +1,48 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { ApproveOAuthAuthorizationRequestPayloadSchema, BulkRevokeOAuthGrantsPayloadSchema, CreateOAuthAuthorizationRequestPayloadSchema, CreateOAuthClientPayloadSchema, ListOAuthGrantsQuerySchema, OAuthAuthorizationDecisionResponseSchema, OAuthAuthorizationRequestGeneratedAppSchema, OAuthAuthorizationRequestSchema, OAuthAuthorizationRequestStatusSchema, OAuthAuthorizationServerMetadataSchema, OAuthAuthorizeQuerySchema, OAuthClientCreateResponseSchema, OAuthClientDataSchema, OAuthClientDisplayMetadataSchema, OAuthClientRegistrationModeSchema, OAuthClientSchema, OAuthClientScopeMetadataSchema, OAuthClientStatusSchema, OAuthClientTypeSchema, OAuthDeviceAuthorizationRequestSchema, OAuthDeviceAuthorizationResponseSchema, OAuthGrantableScopesResponseSchema, OAuthGrantListResponseSchema, OAuthGrantRevokeResponseSchema, OAuthGrantSchema, OAuthGrantSortFieldSchema, OAuthGrantSortOrderSchema, OAuthGrantStatusSchema, OAuthGrantTypeSchema, OAuthLoginDecisionResponseSchema, OAuthLoginPayloadSchema, OAuthLoginUserNotFoundResponseSchema, OAuthProjectBindingModeSchema, OAuthRegistrationSourceSchema, OAuthResponseTypeSchema, OAuthTokenEndpointAuthMethodSchema, OAuthTokenResponseSchema, RevokeOAuthGrantQuerySchema, UpdateOAuthClientPayloadSchema } from './api-schemas/oauth-server.js';
|
|
1
|
+
import type * as Wire from './wire-types.generated.js';
|
|
3
2
|
/**
|
|
4
3
|
* These public OAuth wire types are inferred from `./api-schemas/oauth-server.js` — the same
|
|
5
4
|
* contracts used for runtime parsing and OpenAPI components.
|
|
6
5
|
*/
|
|
7
|
-
export type OAuthClientType =
|
|
8
|
-
export type OAuthClientStatus =
|
|
9
|
-
export type OAuthRegistrationSource =
|
|
10
|
-
export type OAuthProjectBindingMode =
|
|
11
|
-
export type OAuthTokenEndpointAuthMethod =
|
|
12
|
-
export type OAuthGrantType =
|
|
13
|
-
export type OAuthResponseType =
|
|
14
|
-
export type OAuthAuthorizationRequestStatus =
|
|
15
|
-
export type OAuthClientRegistrationMode =
|
|
16
|
-
export type OAuthGrantStatus =
|
|
17
|
-
export type OAuthGrantSortField =
|
|
18
|
-
export type OAuthGrantSortOrder =
|
|
6
|
+
export type OAuthClientType = Wire.OAuthClientType;
|
|
7
|
+
export type OAuthClientStatus = Wire.OAuthClientStatus;
|
|
8
|
+
export type OAuthRegistrationSource = Wire.OAuthRegistrationSource;
|
|
9
|
+
export type OAuthProjectBindingMode = Wire.OAuthProjectBindingMode;
|
|
10
|
+
export type OAuthTokenEndpointAuthMethod = Wire.OAuthTokenEndpointAuthMethod;
|
|
11
|
+
export type OAuthGrantType = Wire.OAuthGrantType;
|
|
12
|
+
export type OAuthResponseType = Wire.OAuthResponseType;
|
|
13
|
+
export type OAuthAuthorizationRequestStatus = Wire.OAuthAuthorizationRequestStatus;
|
|
14
|
+
export type OAuthClientRegistrationMode = Wire.OAuthClientRegistrationMode;
|
|
15
|
+
export type OAuthGrantStatus = Wire.OAuthGrantStatus;
|
|
16
|
+
export type OAuthGrantSortField = Wire.OAuthGrantSortField;
|
|
17
|
+
export type OAuthGrantSortOrder = Wire.OAuthGrantSortOrder;
|
|
19
18
|
/** An OAuth client's registration, without the id the server issues for it. */
|
|
20
|
-
export type OAuthClientData =
|
|
21
|
-
export type OAuthClient =
|
|
19
|
+
export type OAuthClientData = Wire.OAuthClientData;
|
|
20
|
+
export type OAuthClient = Wire.OAuthClient;
|
|
22
21
|
/** The read shape plus the client secret, which is returned by the create call and never again. */
|
|
23
|
-
export type OAuthClientCreateResponse =
|
|
24
|
-
export type OAuthClientScopeMetadata =
|
|
25
|
-
export type OAuthGrant =
|
|
26
|
-
export type ListOAuthGrantsQuery =
|
|
22
|
+
export type OAuthClientCreateResponse = Wire.OAuthClientCreateResponse;
|
|
23
|
+
export type OAuthClientScopeMetadata = Wire.OAuthClientScopeMetadata;
|
|
24
|
+
export type OAuthGrant = Wire.OAuthGrant;
|
|
25
|
+
export type ListOAuthGrantsQuery = Wire.ListOAuthGrantsQuery;
|
|
27
26
|
/** Whether revoking a grant also withdraws the stored consent behind it. */
|
|
28
|
-
export type RevokeOAuthGrantQuery =
|
|
29
|
-
export type OAuthGrantListResponse =
|
|
30
|
-
export type BulkRevokeOAuthGrantsPayload =
|
|
31
|
-
export type OAuthGrantRevokeResponse =
|
|
32
|
-
export type CreateOAuthClientPayload =
|
|
33
|
-
export type UpdateOAuthClientPayload =
|
|
34
|
-
export type OAuthAuthorizationServerMetadata =
|
|
35
|
-
export type OAuthClientDisplayMetadata =
|
|
36
|
-
export type OAuthAuthorizeQuery =
|
|
37
|
-
export type CreateOAuthAuthorizationRequestPayload =
|
|
38
|
-
export type OAuthAuthorizationRequest =
|
|
39
|
-
export type ApproveOAuthAuthorizationRequestPayload =
|
|
40
|
-
export type OAuthGrantableScopesResponse =
|
|
41
|
-
export type OAuthAuthorizationDecisionResponse =
|
|
42
|
-
export type OAuthDeviceAuthorizationRequest =
|
|
43
|
-
export type OAuthDeviceAuthorizationResponse =
|
|
44
|
-
export type OAuthTokenResponse =
|
|
45
|
-
export type OAuthAuthorizationRequestGeneratedApp =
|
|
46
|
-
export type OAuthLoginPayload =
|
|
47
|
-
export type OAuthLoginDecisionResponse =
|
|
48
|
-
export type OAuthLoginUserNotFoundResponse =
|
|
27
|
+
export type RevokeOAuthGrantQuery = Wire.RevokeOAuthGrantQuery;
|
|
28
|
+
export type OAuthGrantListResponse = Wire.OAuthGrantListResponse;
|
|
29
|
+
export type BulkRevokeOAuthGrantsPayload = Wire.BulkRevokeOAuthGrantsPayload;
|
|
30
|
+
export type OAuthGrantRevokeResponse = Wire.OAuthGrantRevokeResponse;
|
|
31
|
+
export type CreateOAuthClientPayload = Wire.CreateOAuthClientPayload;
|
|
32
|
+
export type UpdateOAuthClientPayload = Wire.UpdateOAuthClientPayload;
|
|
33
|
+
export type OAuthAuthorizationServerMetadata = Wire.OAuthAuthorizationServerMetadata;
|
|
34
|
+
export type OAuthClientDisplayMetadata = Wire.OAuthClientDisplayMetadata;
|
|
35
|
+
export type OAuthAuthorizeQuery = Wire.OAuthAuthorizeQuery;
|
|
36
|
+
export type CreateOAuthAuthorizationRequestPayload = Wire.CreateOAuthAuthorizationRequestPayload;
|
|
37
|
+
export type OAuthAuthorizationRequest = Wire.OAuthAuthorizationRequest;
|
|
38
|
+
export type ApproveOAuthAuthorizationRequestPayload = Wire.ApproveOAuthAuthorizationRequestPayload;
|
|
39
|
+
export type OAuthGrantableScopesResponse = Wire.OAuthGrantableScopesResponse;
|
|
40
|
+
export type OAuthAuthorizationDecisionResponse = Wire.OAuthAuthorizationDecisionResponse;
|
|
41
|
+
export type OAuthDeviceAuthorizationRequest = Wire.OAuthDeviceAuthorizationRequest;
|
|
42
|
+
export type OAuthDeviceAuthorizationResponse = Wire.OAuthDeviceAuthorizationResponse;
|
|
43
|
+
export type OAuthTokenResponse = Wire.OAuthTokenResponse;
|
|
44
|
+
export type OAuthAuthorizationRequestGeneratedApp = Wire.OAuthAuthorizationRequestGeneratedApp;
|
|
45
|
+
export type OAuthLoginPayload = Wire.OAuthLoginPayload;
|
|
46
|
+
export type OAuthLoginDecisionResponse = Wire.OAuthLoginDecisionResponse;
|
|
47
|
+
export type OAuthLoginUserNotFoundResponse = Wire.OAuthLoginUserNotFoundResponse;
|
|
49
48
|
//# sourceMappingURL=oauth-server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-server.d.ts","sourceRoot":"","sources":["../src/oauth-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"oauth-server.d.ts","sourceRoot":"","sources":["../src/oauth-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,2BAA2B,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;AACnD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACvD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;AACnE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;AACnE,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,4BAA4B,CAAC;AAC7E,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;AACjD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACvD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,+BAA+B,CAAC;AACnF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,2BAA2B,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;AACrD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAE3D,+EAA+E;AAC/E,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;AAE3C,mGAAmG;AACnG,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,yBAA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AqC,GAAG,IAAI,CAAC,qCAAqC,CAAC;AAE/F,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACvD,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,0BAA0B,CAAC;AAEzE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,8BAA8B,CAAC"}
|
package/lib/oauth.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { CreateOAuthProviderPayloadSchema, OAuthProviderAccessTokenResponseSchema, OAuthProviderAuthorizeResponseSchema, OAuthProviderAuthStatusSchema, OAuthProviderDataSchema, OAuthProviderExchangePayloadSchema, OAuthProviderSchema, UpdateOAuthProviderPayloadSchema } from './api-schemas/oauth.js';
|
|
1
|
+
import type * as Wire from './wire-types.generated.js';
|
|
3
2
|
/**
|
|
4
3
|
* OAuth Provider types for generic, project-level OAuth 2.0 integration.
|
|
5
4
|
* Decoupled from MCP — can be used by MCP collections, tool activities, or any OAuth-protected API.
|
|
@@ -12,32 +11,32 @@ import type { CreateOAuthProviderPayloadSchema, OAuthProviderAccessTokenResponse
|
|
|
12
11
|
* OAuth Provider data stored in MongoDB.
|
|
13
12
|
* Represents the configuration for an OAuth 2.0 provider at the project level.
|
|
14
13
|
*/
|
|
15
|
-
export type OAuthProviderData =
|
|
14
|
+
export type OAuthProviderData = Wire.OAuthProviderData;
|
|
16
15
|
/**
|
|
17
16
|
* OAuth Provider as returned by the API (with id).
|
|
18
17
|
*/
|
|
19
|
-
export type OAuthProvider =
|
|
18
|
+
export type OAuthProvider = Wire.OAuthProvider;
|
|
20
19
|
/**
|
|
21
20
|
* Payload for creating an OAuth Provider.
|
|
22
21
|
* The client_secret is accepted as plaintext on create and stored encrypted.
|
|
23
22
|
*/
|
|
24
|
-
export type CreateOAuthProviderPayload =
|
|
23
|
+
export type CreateOAuthProviderPayload = Wire.CreateOAuthProviderPayload;
|
|
25
24
|
/**
|
|
26
25
|
* Payload for updating an OAuth Provider.
|
|
27
26
|
* All fields are optional — only provided fields are updated.
|
|
28
27
|
* To clear the client_secret, set it to an empty string.
|
|
29
28
|
*/
|
|
30
|
-
export type UpdateOAuthProviderPayload =
|
|
29
|
+
export type UpdateOAuthProviderPayload = Wire.UpdateOAuthProviderPayload;
|
|
31
30
|
/**
|
|
32
31
|
* OAuth authentication status for a user against an OAuth Provider.
|
|
33
32
|
*/
|
|
34
|
-
export type OAuthProviderAuthStatus =
|
|
33
|
+
export type OAuthProviderAuthStatus = Wire.OAuthProviderAuthStatus;
|
|
35
34
|
/**
|
|
36
35
|
* Response from the OAuth authorize endpoint.
|
|
37
36
|
* For authorization_code flow: contains authorization_url and state for browser redirect.
|
|
38
37
|
* For client_credentials flow: contains connected=true (token was fetched server-side, no redirect needed).
|
|
39
38
|
*/
|
|
40
|
-
export type OAuthProviderAuthorizeResponse =
|
|
41
|
-
export type OAuthProviderAccessTokenResponse =
|
|
42
|
-
export type OAuthProviderExchangePayload =
|
|
39
|
+
export type OAuthProviderAuthorizeResponse = Wire.OAuthProviderAuthorizeResponse;
|
|
40
|
+
export type OAuthProviderAccessTokenResponse = Wire.OAuthProviderAccessTokenResponse;
|
|
41
|
+
export type OAuthProviderExchangePayload = Wire.OAuthProviderExchangePayload;
|
|
43
42
|
//# sourceMappingURL=oauth.d.ts.map
|
package/lib/oauth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../src/oauth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../src/oauth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,2BAA2B,CAAC;AAEvD;;;;;;;GAOG;AAEH;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,0BAA0B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,0BAA0B,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,8BAA8B,CAAC;AAEjF,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,gCAAgC,CAAC;AAErF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,4BAA4B,CAAC"}
|
package/lib/payload.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import type { z } from 'zod';
|
|
2
|
-
import type { ComputeCollectionFacetPayloadSchema, ComputeObjectFacetPayloadSchema, ExportPropertiesPayloadSchema, ExportPropertiesResponseSchema } from './api-schemas/content.js';
|
|
3
|
-
import type { ComputeInteractionFacetPayloadSchema, ComputeRunFacetPayloadSchema, RunSearchPayloadSchema, SortOptionSchema, SortOrderSchema } from './api-schemas/interaction.js';
|
|
4
|
-
import type { ComputePromptFacetPayloadSchema } from './api-schemas/prompt.js';
|
|
5
1
|
import type { FacetSpec } from './facets.js';
|
|
6
2
|
import type { InteractionSearchQuery, ObjectSearchQuery, ObjectTypeSearchQuery, PromptSearchQuery, SimpleSearchQuery } from './query.js';
|
|
7
|
-
|
|
8
|
-
export type
|
|
3
|
+
import type * as Wire from './wire-types.generated.js';
|
|
4
|
+
export type SortOrder = Wire.SortOrder;
|
|
5
|
+
export type SortOption = Wire.SortOption;
|
|
9
6
|
interface SearchPayload {
|
|
10
7
|
facets?: FacetSpec[];
|
|
11
8
|
/**
|
|
@@ -36,13 +33,13 @@ export interface ObjectTypeSearchPayload extends SearchPayload {
|
|
|
36
33
|
export interface PromptSearchPayload extends SearchPayload {
|
|
37
34
|
query?: PromptSearchQuery;
|
|
38
35
|
}
|
|
39
|
-
export type RunSearchPayload =
|
|
40
|
-
export type ComputeCollectionFacetPayload =
|
|
41
|
-
export type ComputeInteractionFacetPayload =
|
|
42
|
-
export type ComputeObjectFacetPayload =
|
|
43
|
-
export type ComputePromptFacetPayload =
|
|
44
|
-
export type ComputeRunFacetPayload =
|
|
45
|
-
export type ExportPropertiesPayload =
|
|
46
|
-
export type ExportPropertiesResponse =
|
|
36
|
+
export type RunSearchPayload = Wire.RunSearchPayload;
|
|
37
|
+
export type ComputeCollectionFacetPayload = Wire.ComputeCollectionFacetPayload;
|
|
38
|
+
export type ComputeInteractionFacetPayload = Wire.ComputeInteractionFacetPayload;
|
|
39
|
+
export type ComputeObjectFacetPayload = Wire.ComputeObjectFacetPayload;
|
|
40
|
+
export type ComputePromptFacetPayload = Wire.ComputePromptFacetPayload;
|
|
41
|
+
export type ComputeRunFacetPayload = Wire.ComputeRunFacetPayload;
|
|
42
|
+
export type ExportPropertiesPayload = Wire.ExportPropertiesPayload;
|
|
43
|
+
export type ExportPropertiesResponse = Wire.ExportPropertiesResponse;
|
|
47
44
|
export {};
|
|
48
45
|
//# sourceMappingURL=payload.d.ts.map
|