@vertesia/common 1.6.0-dev.20260918.115658Z → 1.6.0-dev.20261004.085740Z
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 +4500 -2720
- 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 +10 -4
- package/lib/api-schemas/account.d.ts.map +1 -1
- package/lib/api-schemas/account.js +7 -0
- 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 +2459 -404
- 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 +17 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
- package/lib/api-schemas/app-lifecycle.js +14 -0
- package/lib/api-schemas/app-lifecycle.js.map +1 -1
- package/lib/api-schemas/app-runtime.d.ts +3174 -539
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/app-runtime.js +14 -0
- package/lib/api-schemas/app-runtime.js.map +1 -1
- package/lib/api-schemas/audit-trail.d.ts +20 -0
- package/lib/api-schemas/audit-trail.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.js +7 -1
- package/lib/api-schemas/audit-trail.js.map +1 -1
- package/lib/api-schemas/content.d.ts +1130 -180
- 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 +18 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
- package/lib/api-schemas/cost-analytics.js +31 -2
- package/lib/api-schemas/cost-analytics.js.map +1 -1
- package/lib/api-schemas/document-processing.d.ts +660 -108
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/environment.d.ts +2 -7
- 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 +1980 -324
- 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 +1 -0
- package/lib/api-schemas/index.d.ts.map +1 -1
- package/lib/api-schemas/index.js +1 -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 +39078 -2420
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +35 -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/oauth-server.d.ts +27 -0
- package/lib/api-schemas/oauth-server.d.ts.map +1 -1
- package/lib/api-schemas/oauth-server.js +32 -0
- package/lib/api-schemas/oauth-server.js.map +1 -1
- package/lib/api-schemas/process.d.ts +839 -94
- 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 +2262 -364
- package/lib/api-schemas/project-configuration.d.ts.map +1 -1
- package/lib/api-schemas/project-configuration.js +21 -1
- package/lib/api-schemas/project-configuration.js.map +1 -1
- package/lib/api-schemas/project.d.ts +3450 -569
- 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/prompt.d.ts +1 -0
- package/lib/api-schemas/prompt.d.ts.map +1 -1
- package/lib/api-schemas/prompt.js +1 -0
- package/lib/api-schemas/prompt.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 +32375 -58756
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +97 -38
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/api-schemas/run-budget.d.ts +52 -0
- package/lib/api-schemas/run-budget.d.ts.map +1 -0
- package/lib/api-schemas/run-budget.js +55 -0
- package/lib/api-schemas/run-budget.js.map +1 -0
- package/lib/api-schemas/store.d.ts +11000 -1800
- 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/sts.d.ts +10 -0
- package/lib/api-schemas/sts.d.ts.map +1 -1
- package/lib/api-schemas/sts.js +14 -0
- package/lib/api-schemas/sts.js.map +1 -1
- package/lib/api-schemas/user.d.ts +36 -19
- package/lib/api-schemas/user.d.ts.map +1 -1
- package/lib/api-schemas/user.js +23 -17
- 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 +521 -72
- 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 -120
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js.map +1 -1
- package/lib/audit-trail.d.ts +17 -18
- package/lib/audit-trail.d.ts.map +1 -1
- package/lib/audit-trail.js +2 -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 +4 -2
- 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 -37
- 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 -51
- package/lib/platform-event.d.ts.map +1 -1
- package/lib/platform-event.js.map +1 -1
- package/lib/principal-context.d.ts +23 -14
- 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 +10 -0
- 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 +8 -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 +20 -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 +309 -34
- 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 -17
- 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 +17 -19
- 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 +11231 -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 +17 -12
- 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 +4500 -2720
- package/src/api-schemas/access-control.ts +18 -16
- package/src/api-schemas/account.ts +13 -4
- 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 +16 -0
- package/src/api-schemas/app-runtime.ts +15 -0
- package/src/api-schemas/audit-trail.ts +7 -1
- package/src/api-schemas/content.ts +55 -0
- package/src/api-schemas/cost-analytics.ts +34 -2
- package/src/api-schemas/environment.ts +0 -1
- package/src/api-schemas/group.ts +2 -1
- package/src/api-schemas/index.ts +1 -0
- package/src/api-schemas/inference-profile.ts +151 -0
- package/src/api-schemas/interaction.ts +41 -1
- package/src/api-schemas/invites.ts +10 -9
- package/src/api-schemas/oauth-server.ts +36 -0
- package/src/api-schemas/process.ts +78 -2
- package/src/api-schemas/project-configuration.ts +25 -1
- package/src/api-schemas/project.ts +19 -10
- package/src/api-schemas/prompt.ts +1 -0
- package/src/api-schemas/quota.ts +7 -6
- package/src/api-schemas/registry.ts +210 -44
- package/src/api-schemas/run-budget.ts +60 -0
- package/src/api-schemas/store.ts +12 -0
- package/src/api-schemas/sts.ts +16 -0
- package/src/api-schemas/user.ts +32 -25
- package/src/api-schemas/workflow-runs.ts +2 -0
- package/src/apikey.ts +30 -39
- package/src/apps.ts +117 -237
- package/src/audit-trail.ts +18 -33
- 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 +36 -2
- 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 +43 -73
- 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 -97
- package/src/principal-context.ts +24 -14
- package/src/project.ts +53 -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 +8 -0
- package/src/runs.ts +9 -19
- package/src/secrets.ts +20 -41
- 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 +314 -34
- 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 +15 -29
- package/src/tools.ts +12 -25
- package/src/transient-tokens.ts +3 -3
- package/src/user.ts +18 -33
- package/src/views.ts +61 -125
- package/src/wire-types.generated.ts +11889 -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 -149
- 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 -457
- 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 -91
- 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 -191
- package/src/api-schemas/views.contract.test.ts +0 -119
- 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,6 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { AgentBudgetConfigurationSchema } from './agent-budget.js';
|
|
3
|
+
|
|
4
|
+
export { AgentBudgetConfigurationSchema } from './agent-budget.js';
|
|
5
|
+
|
|
2
6
|
// From the values module, for the reason `./apikey.js` gives.
|
|
3
7
|
import { ResourceVisibility } from '../project-values.js';
|
|
8
|
+
import { ProjectInferenceProfilesSchema } from './inference-profile.js';
|
|
4
9
|
import { ContentTypeIntakePolicySchema } from './store.js';
|
|
5
10
|
|
|
6
11
|
/**
|
|
@@ -145,9 +150,18 @@ export const AgentCheckpointConfigurationSchema = z
|
|
|
145
150
|
|
|
146
151
|
export const AgentProjectConfigurationSchema = z
|
|
147
152
|
.strictObject({
|
|
153
|
+
evaluation_policy: z.enum(['disabled', 'opt_in', 'always_on']).optional().meta({
|
|
154
|
+
description:
|
|
155
|
+
'LLM evaluation policy. Defaults to always_on when omitted. disabled prevents evaluation even when requested; opt_in requires evaluate=true on the run; always_on evaluates every eligible run without sampling. Deterministic diagnostics are unaffected.',
|
|
156
|
+
}),
|
|
148
157
|
checkpoint: AgentCheckpointConfigurationSchema.optional().meta({
|
|
149
158
|
description: 'Conversation checkpoint (context compaction) tuning.',
|
|
150
159
|
}),
|
|
160
|
+
budget: AgentBudgetConfigurationSchema.optional().meta({
|
|
161
|
+
description:
|
|
162
|
+
'Default token budget for agent runs in this project. Field-wise overridden by the ' +
|
|
163
|
+
"interaction's `agent_runner_options.budget` and the per-run `budget`.",
|
|
164
|
+
}),
|
|
151
165
|
})
|
|
152
166
|
.meta({
|
|
153
167
|
id: 'AgentProjectConfiguration',
|
|
@@ -422,7 +436,11 @@ export const ProjectConfigurationSchema = z
|
|
|
422
436
|
default_environment: z.string().optional(),
|
|
423
437
|
default_model: z.string().optional(),
|
|
424
438
|
human_context: z.string().optional(),
|
|
425
|
-
defaults: ProjectModelDefaultsSchema.optional()
|
|
439
|
+
defaults: ProjectModelDefaultsSchema.optional().meta({
|
|
440
|
+
deprecated: true,
|
|
441
|
+
description: 'Legacy model defaults, replaced by inference profile assignments after migration.',
|
|
442
|
+
}),
|
|
443
|
+
inference: ProjectInferenceProfilesSchema.optional(),
|
|
426
444
|
default_visibility: ResourceVisibilitySchema.optional(),
|
|
427
445
|
sync_content_properties: z.boolean().optional(),
|
|
428
446
|
embeddings: z.strictObject({
|
|
@@ -460,6 +478,12 @@ export const ProjectConfigurationSchema = z
|
|
|
460
478
|
"'de'). Determines which Elasticsearch analyzer is used for the text field. Defaults to 'en' " +
|
|
461
479
|
'(English/standard analyzer).\n\nChanging this value requires a full reindex to take effect.',
|
|
462
480
|
}),
|
|
481
|
+
oauth_clients: z
|
|
482
|
+
.strictObject({
|
|
483
|
+
external_clients: z.enum(['allow_all', 'allowlist']).optional(),
|
|
484
|
+
allowed_origins: z.array(z.string()).optional(),
|
|
485
|
+
})
|
|
486
|
+
.optional(),
|
|
463
487
|
browser_use: BrowserUseProjectConfigurationSchema.optional().meta({
|
|
464
488
|
description: 'Project defaults and caps for browser_use agent workstreams.',
|
|
465
489
|
}),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
// From the values module, for the reason `./apikey.js` gives.
|
|
3
3
|
import { SupportedIntegrations } from '../integrations.js';
|
|
4
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
4
5
|
import { ProjectConfigurationSchema } from './project-configuration.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -103,15 +104,15 @@ export const ProjectToolInfoSchema = z
|
|
|
103
104
|
|
|
104
105
|
export const ProjectToolInfoArraySchema = z.array(ProjectToolInfoSchema).meta({ id: 'ProjectToolInfoArray' });
|
|
105
106
|
|
|
106
|
-
export type ListProjectsQueryFromSchema =
|
|
107
|
-
export type ProjectTagQueryFromSchema =
|
|
108
|
-
export type CreateProjectPayloadFromSchema =
|
|
109
|
-
export type ProjectPluginsUpdatePayloadFromSchema =
|
|
110
|
-
export type CountResultFromSchema =
|
|
111
|
-
export type ProjectIntegrationListEntryFromSchema =
|
|
112
|
-
export type ProjectIntegrationListResponseFromSchema =
|
|
113
|
-
export type ProjectToolInfoFromSchema =
|
|
114
|
-
export type ProjectToolInfoArrayFromSchema =
|
|
107
|
+
export type ListProjectsQueryFromSchema = Wire.ListProjectsQueryFromSchema;
|
|
108
|
+
export type ProjectTagQueryFromSchema = Wire.ProjectTagQueryFromSchema;
|
|
109
|
+
export type CreateProjectPayloadFromSchema = Wire.CreateProjectPayloadFromSchema;
|
|
110
|
+
export type ProjectPluginsUpdatePayloadFromSchema = Wire.ProjectPluginsUpdatePayloadFromSchema;
|
|
111
|
+
export type CountResultFromSchema = Wire.CountResultFromSchema;
|
|
112
|
+
export type ProjectIntegrationListEntryFromSchema = Wire.ProjectIntegrationListEntryFromSchema;
|
|
113
|
+
export type ProjectIntegrationListResponseFromSchema = Wire.ProjectIntegrationListResponseFromSchema;
|
|
114
|
+
export type ProjectToolInfoFromSchema = Wire.ProjectToolInfoFromSchema;
|
|
115
|
+
export type ProjectToolInfoArrayFromSchema = Wire.ProjectToolInfoArrayFromSchema;
|
|
115
116
|
|
|
116
117
|
/**
|
|
117
118
|
* The rendering templates an app ships, and the reference form the manifest embeds.
|
|
@@ -194,6 +195,11 @@ export const ProjectSchema = z
|
|
|
194
195
|
configuration: ProjectConfigurationSchema,
|
|
195
196
|
integrations: z.record(z.string(), z.unknown()).optional(),
|
|
196
197
|
plugins: z.array(z.string()),
|
|
198
|
+
annotations: z.array(z.string()).meta({ description: 'Classification annotations' }).optional(),
|
|
199
|
+
last_activity_at: z
|
|
200
|
+
.string()
|
|
201
|
+
.meta({ format: 'date-time', description: 'When the project last saw activity. Not yet populated.' })
|
|
202
|
+
.optional(),
|
|
197
203
|
created_by: z.string(),
|
|
198
204
|
updated_by: z.string(),
|
|
199
205
|
created_at: z.string().meta({ format: 'date-time' }),
|
|
@@ -206,8 +212,11 @@ export const ProjectSchema = z
|
|
|
206
212
|
*
|
|
207
213
|
* `.partial()` keeps both update contracts tied to the corresponding response contract, so a field
|
|
208
214
|
* added to either source schema is available to its update payload without a hand-written twin.
|
|
215
|
+
* `annotations` and `last_activity_at` are vertesia-managed, so they are read-only.
|
|
209
216
|
*/
|
|
210
|
-
export const UpdateProjectPayloadSchema = ProjectSchema.
|
|
217
|
+
export const UpdateProjectPayloadSchema = ProjectSchema.omit({ annotations: true, last_activity_at: true })
|
|
218
|
+
.partial()
|
|
219
|
+
.meta({ id: 'UpdateProjectPayload' });
|
|
211
220
|
|
|
212
221
|
export const UpdateProjectConfigurationPayloadSchema = ProjectConfigurationSchema.partial().meta({
|
|
213
222
|
id: 'UpdateProjectConfigurationPayload',
|
package/src/api-schemas/quota.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Runtime API schemas for quota standing and tier endpoints.
|
|
@@ -114,9 +115,9 @@ export const QuotaTierResponseSchema = z
|
|
|
114
115
|
* definitions of one contract, only one of which OpenAPI publishes and AJV compiles.
|
|
115
116
|
* `../rate-limiter.ts` re-exports these under their public names.
|
|
116
117
|
*/
|
|
117
|
-
export type QuotaEffectiveTierFromSchema =
|
|
118
|
-
export type QuotaStandingWindowFromSchema =
|
|
119
|
-
export type QuotaStandingResourceFromSchema =
|
|
120
|
-
export type QuotaStandingAdmissionClassFromSchema =
|
|
121
|
-
export type QuotaStandingResponseFromSchema =
|
|
122
|
-
export type QuotaTierResponseFromSchema =
|
|
118
|
+
export type QuotaEffectiveTierFromSchema = Wire.QuotaEffectiveTierFromSchema;
|
|
119
|
+
export type QuotaStandingWindowFromSchema = Wire.QuotaStandingWindowFromSchema;
|
|
120
|
+
export type QuotaStandingResourceFromSchema = Wire.QuotaStandingResourceFromSchema;
|
|
121
|
+
export type QuotaStandingAdmissionClassFromSchema = Wire.QuotaStandingAdmissionClassFromSchema;
|
|
122
|
+
export type QuotaStandingResponseFromSchema = Wire.QuotaStandingResponseFromSchema;
|
|
123
|
+
export type QuotaTierResponseFromSchema = Wire.QuotaTierResponseFromSchema;
|
|
@@ -69,6 +69,7 @@ import type {
|
|
|
69
69
|
UpdateProcessDefinitionPayload,
|
|
70
70
|
} from '../store/process.js';
|
|
71
71
|
import type { ViewNavigationNode } from '../views.js';
|
|
72
|
+
import type { ApiComponentTypes } from '../wire-types.generated.js';
|
|
72
73
|
import {
|
|
73
74
|
ACECreatePayloadSchema,
|
|
74
75
|
ACEUpdatePayloadSchema,
|
|
@@ -77,7 +78,12 @@ import {
|
|
|
77
78
|
RoleDefinitionArraySchema,
|
|
78
79
|
SystemRoleDefinitionArraySchema,
|
|
79
80
|
} from './access-control.js';
|
|
80
|
-
import {
|
|
81
|
+
import {
|
|
82
|
+
AccountApiVersionPolicySchema,
|
|
83
|
+
AccountSchema,
|
|
84
|
+
StripeBillingStatusResponseSchema,
|
|
85
|
+
UpdateAccountPayloadSchema,
|
|
86
|
+
} from './account.js';
|
|
81
87
|
import { type JsonObject, toOpenApiComponents } from './adapter.js';
|
|
82
88
|
import * as AgentCommunicationSchemas from './agent-communication.js';
|
|
83
89
|
import * as AgentRunSchemas from './agent-runs.js';
|
|
@@ -175,6 +181,7 @@ import {
|
|
|
175
181
|
StartAppScaffoldResponseSchema,
|
|
176
182
|
StoredTypeRefSchema,
|
|
177
183
|
SystemPackageQuerySchema,
|
|
184
|
+
UpdateAppInstallationOAuthApprovalPayloadSchema,
|
|
178
185
|
UpdateAppInstallationToolAllowlistPayloadSchema,
|
|
179
186
|
UpsertAppVersionRequestSchema,
|
|
180
187
|
ValidateUrlRequestSchema,
|
|
@@ -461,6 +468,23 @@ import {
|
|
|
461
468
|
ReindexAgentRunsResponseSchema,
|
|
462
469
|
StartProjectReindexPayloadSchema,
|
|
463
470
|
} from './indexing.js';
|
|
471
|
+
import {
|
|
472
|
+
CreateInferenceProfilePayloadSchema,
|
|
473
|
+
InferenceProfileIdSchema,
|
|
474
|
+
InferenceProfileNameSchema,
|
|
475
|
+
InferenceProfileRecordArraySchema,
|
|
476
|
+
InferenceProfileRecordSchema,
|
|
477
|
+
InferenceProfileSchema,
|
|
478
|
+
InferenceProfileSnapshotSchema,
|
|
479
|
+
InferenceProfileUsageEntrySchema,
|
|
480
|
+
InferenceProfileUsageQuerySchema,
|
|
481
|
+
InferenceProfileUsageSchema,
|
|
482
|
+
InteractionConfigurationRecordSchema,
|
|
483
|
+
InteractionConfigurationResultSchema,
|
|
484
|
+
ProjectInferenceProfilesSchema,
|
|
485
|
+
UpdateInferenceProfilePayloadSchema,
|
|
486
|
+
UpdateInteractionConfigurationPayloadSchema,
|
|
487
|
+
} from './inference-profile.js';
|
|
464
488
|
import * as IntegrationSchemas from './integrations.js';
|
|
465
489
|
import {
|
|
466
490
|
AgentResourceActionSchema,
|
|
@@ -630,6 +654,7 @@ import {
|
|
|
630
654
|
CreateOAuthClientPayloadSchema,
|
|
631
655
|
ListOAuthGrantsQuerySchema,
|
|
632
656
|
OAuthAuthorizationDecisionResponseSchema,
|
|
657
|
+
OAuthAuthorizationRequestGeneratedAppSchema,
|
|
633
658
|
OAuthAuthorizationRequestSchema,
|
|
634
659
|
OAuthAuthorizationRequestStatusSchema,
|
|
635
660
|
OAuthAuthorizationServerMetadataSchema,
|
|
@@ -652,6 +677,9 @@ import {
|
|
|
652
677
|
OAuthGrantSortOrderSchema,
|
|
653
678
|
OAuthGrantStatusSchema,
|
|
654
679
|
OAuthGrantTypeSchema,
|
|
680
|
+
OAuthLoginDecisionResponseSchema,
|
|
681
|
+
OAuthLoginPayloadSchema,
|
|
682
|
+
OAuthLoginUserNotFoundResponseSchema,
|
|
655
683
|
OAuthProjectBindingModeSchema,
|
|
656
684
|
OAuthRegistrationSourceSchema,
|
|
657
685
|
OAuthResponseTypeSchema,
|
|
@@ -698,6 +726,7 @@ import {
|
|
|
698
726
|
RenderPromptResponseSchema,
|
|
699
727
|
} from './prompt.js';
|
|
700
728
|
import { QuotaStandingResponseSchema, QuotaTierResponseSchema } from './quota.js';
|
|
729
|
+
import * as RunBudgetSchemas from './run-budget.js';
|
|
701
730
|
import * as SecretSchemas from './secrets.js';
|
|
702
731
|
import {
|
|
703
732
|
ColumnLayoutSchema,
|
|
@@ -833,6 +862,7 @@ import * as WorkflowRunSchemas from './workflow-runs.js';
|
|
|
833
862
|
* group approaches the proven-safe size.
|
|
834
863
|
*/
|
|
835
864
|
const IAM_AND_ACCOUNT_SCHEMAS = {
|
|
865
|
+
AccountApiVersionPolicy: AccountApiVersionPolicySchema,
|
|
836
866
|
Account: AccountSchema,
|
|
837
867
|
UpdateAccountPayload: UpdateAccountPayloadSchema,
|
|
838
868
|
StripeBillingStatusResponse: StripeBillingStatusResponseSchema,
|
|
@@ -975,6 +1005,10 @@ const OAUTH_SCHEMAS = {
|
|
|
975
1005
|
OAuthAuthorizeQuery: OAuthAuthorizeQuerySchema,
|
|
976
1006
|
CreateOAuthAuthorizationRequestPayload: CreateOAuthAuthorizationRequestPayloadSchema,
|
|
977
1007
|
OAuthAuthorizationRequest: OAuthAuthorizationRequestSchema,
|
|
1008
|
+
OAuthAuthorizationRequestGeneratedApp: OAuthAuthorizationRequestGeneratedAppSchema,
|
|
1009
|
+
OAuthLoginPayload: OAuthLoginPayloadSchema,
|
|
1010
|
+
OAuthLoginUserNotFoundResponse: OAuthLoginUserNotFoundResponseSchema,
|
|
1011
|
+
OAuthLoginDecisionResponse: OAuthLoginDecisionResponseSchema,
|
|
978
1012
|
ApproveOAuthAuthorizationRequestPayload: ApproveOAuthAuthorizationRequestPayloadSchema,
|
|
979
1013
|
OAuthGrantableScopesResponse: OAuthGrantableScopesResponseSchema,
|
|
980
1014
|
OAuthAuthorizationDecisionResponse: OAuthAuthorizationDecisionResponseSchema,
|
|
@@ -1100,6 +1134,21 @@ const LLM_COMPLETION_SCHEMAS = {
|
|
|
1100
1134
|
} as const satisfies Record<string, z.ZodType>;
|
|
1101
1135
|
|
|
1102
1136
|
const INTERACTION_SCHEMAS = {
|
|
1137
|
+
UpdateInteractionConfigurationPayload: UpdateInteractionConfigurationPayloadSchema,
|
|
1138
|
+
InteractionConfigurationRecord: InteractionConfigurationRecordSchema,
|
|
1139
|
+
InteractionConfigurationResult: InteractionConfigurationResultSchema,
|
|
1140
|
+
CreateInferenceProfilePayload: CreateInferenceProfilePayloadSchema,
|
|
1141
|
+
UpdateInferenceProfilePayload: UpdateInferenceProfilePayloadSchema,
|
|
1142
|
+
InferenceProfileRecord: InferenceProfileRecordSchema,
|
|
1143
|
+
InferenceProfileUsage: InferenceProfileUsageSchema,
|
|
1144
|
+
InferenceProfileUsageEntry: InferenceProfileUsageEntrySchema,
|
|
1145
|
+
InferenceProfileUsageQuery: InferenceProfileUsageQuerySchema,
|
|
1146
|
+
InferenceProfileRecordArray: InferenceProfileRecordArraySchema,
|
|
1147
|
+
InferenceProfileId: InferenceProfileIdSchema,
|
|
1148
|
+
InferenceProfileName: InferenceProfileNameSchema,
|
|
1149
|
+
InferenceProfile: InferenceProfileSchema,
|
|
1150
|
+
InferenceProfileSnapshot: InferenceProfileSnapshotSchema,
|
|
1151
|
+
ProjectInferenceProfiles: ProjectInferenceProfilesSchema,
|
|
1103
1152
|
// The interaction definition and the prompt tree under it.
|
|
1104
1153
|
InteractionStatus: InteractionStatusSchema,
|
|
1105
1154
|
InteractionVisibility: InteractionVisibilitySchema,
|
|
@@ -1216,7 +1265,27 @@ const AGENT_CONVERSATION_SCHEMAS = {
|
|
|
1216
1265
|
ConversationState: ConversationStateSchema,
|
|
1217
1266
|
} as const satisfies Record<string, z.ZodType>;
|
|
1218
1267
|
|
|
1219
|
-
|
|
1268
|
+
// Reference schema types by name to keep declaration output bounded without erasing payload types.
|
|
1269
|
+
type ExecutionRunSchemaMap = {
|
|
1270
|
+
ExecutionRunStatus: typeof ExecutionRunStatusSchema;
|
|
1271
|
+
RunSourceTypes: typeof RunSourceTypesSchema;
|
|
1272
|
+
RunSource: typeof RunSourceSchema;
|
|
1273
|
+
ExecutionRunDocRef: typeof ExecutionRunDocRefSchema;
|
|
1274
|
+
ExecutionRunWorkflow: typeof ExecutionRunWorkflowSchema;
|
|
1275
|
+
ExecutionRunInteraction: typeof ExecutionRunInteractionSchema;
|
|
1276
|
+
ExecutionRun: typeof ExecutionRunSchema;
|
|
1277
|
+
ExecutionRunRef: typeof ExecutionRunRefSchema;
|
|
1278
|
+
ExecutionRunRefArray: typeof ExecutionRunRefArraySchema;
|
|
1279
|
+
UpdateExecutionRunPayload: typeof UpdateExecutionRunPayloadSchema;
|
|
1280
|
+
RunCreatePayload: typeof RunCreatePayloadSchema;
|
|
1281
|
+
SortOrder: typeof SortOrderSchema;
|
|
1282
|
+
SortOption: typeof SortOptionSchema;
|
|
1283
|
+
RunSearchQuery: typeof RunSearchQuerySchema;
|
|
1284
|
+
RunListQuery: typeof RunListQuerySchema;
|
|
1285
|
+
RunSearchPayload: typeof RunSearchPayloadSchema;
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
const EXECUTION_RUN_SCHEMAS: ExecutionRunSchemaMap = {
|
|
1220
1289
|
// A run: what was executed, by whom, and how it ended.
|
|
1221
1290
|
ExecutionRunStatus: ExecutionRunStatusSchema,
|
|
1222
1291
|
RunSourceTypes: RunSourceTypesSchema,
|
|
@@ -1235,6 +1304,38 @@ const EXECUTION_RUN_SCHEMAS = {
|
|
|
1235
1304
|
RunSearchQuery: RunSearchQuerySchema,
|
|
1236
1305
|
RunListQuery: RunListQuerySchema,
|
|
1237
1306
|
RunSearchPayload: RunSearchPayloadSchema,
|
|
1307
|
+
} as const satisfies Record<string, z.ZodType>;
|
|
1308
|
+
|
|
1309
|
+
const EXECUTION_REQUEST_SCHEMAS: {
|
|
1310
|
+
InteractionExecutionPayload: typeof InteractionExecutionPayloadSchema;
|
|
1311
|
+
NamedInteractionExecutionPayload: typeof NamedInteractionExecutionPayloadSchema;
|
|
1312
|
+
InteractionExecutionResult: typeof InteractionExecutionResultSchema;
|
|
1313
|
+
FindRunResult: typeof FindRunResultSchema;
|
|
1314
|
+
FindRunResultArray: typeof FindRunResultArraySchema;
|
|
1315
|
+
PopulatedExecutionRunResult: typeof PopulatedExecutionRunResultSchema;
|
|
1316
|
+
LegacyExecutionRunResult: typeof LegacyExecutionRunResultSchema;
|
|
1317
|
+
LegacyPopulatedExecutionRunResult: typeof LegacyPopulatedExecutionRunResultSchema;
|
|
1318
|
+
InteractionExecutionConfiguration: typeof InteractionExecutionConfigurationSchema;
|
|
1319
|
+
InteractionExecutionError: typeof InteractionExecutionErrorSchema;
|
|
1320
|
+
ResultStorageOptions: typeof ResultStorageOptionsSchema;
|
|
1321
|
+
ExecuteInteractionByEndpointQuery: typeof ExecuteInteractionByEndpointQuerySchema;
|
|
1322
|
+
ExecuteInteractionByEndpointHeaders: typeof ExecuteInteractionByEndpointHeadersSchema;
|
|
1323
|
+
AsyncCompletionMode: typeof AsyncCompletionModeSchema;
|
|
1324
|
+
AsyncCompletionOptions: typeof AsyncCompletionOptionsSchema;
|
|
1325
|
+
AsyncExecutionPayload: typeof AsyncExecutionPayloadSchema;
|
|
1326
|
+
AsyncInteractionExecutionPayload: typeof AsyncInteractionExecutionPayloadSchema;
|
|
1327
|
+
AsyncConversationExecutionPayload: typeof AsyncConversationExecutionPayloadSchema;
|
|
1328
|
+
AsyncExecutionResult: typeof AsyncExecutionResultSchema;
|
|
1329
|
+
RateLimitRequestPayload: typeof RateLimitRequestPayloadSchema;
|
|
1330
|
+
RateLimitRequestResponse: typeof RateLimitRequestResponseSchema;
|
|
1331
|
+
ComputeRunFacetPayload: typeof ComputeRunFacetPayloadSchema;
|
|
1332
|
+
ComputeRunFacetsResponse: typeof ComputeRunFacetsResponseSchema;
|
|
1333
|
+
RunSearchMetaResponse: typeof RunSearchMetaResponseSchema;
|
|
1334
|
+
ToolResultsPayload: typeof ToolResultsPayloadSchema;
|
|
1335
|
+
UserMessagePayload: typeof UserMessagePayloadSchema;
|
|
1336
|
+
ExecutionResponse: typeof ExecutionResponseSchema;
|
|
1337
|
+
RunClonePayload: typeof RunClonePayloadSchema;
|
|
1338
|
+
} = {
|
|
1238
1339
|
// Executing an interaction, synchronously or as a workflow.
|
|
1239
1340
|
InteractionExecutionPayload: InteractionExecutionPayloadSchema,
|
|
1240
1341
|
NamedInteractionExecutionPayload: NamedInteractionExecutionPayloadSchema,
|
|
@@ -1313,7 +1414,22 @@ const DURABLE_TASK_SCHEMAS = {
|
|
|
1313
1414
|
ListTasksQuery: ListTasksQuerySchema,
|
|
1314
1415
|
} as const satisfies Record<string, z.ZodType>;
|
|
1315
1416
|
|
|
1316
|
-
|
|
1417
|
+
// Keep declaration emit from expanding the nested content-type schemas.
|
|
1418
|
+
const CONTENT_TYPE_CATALOG_SCHEMAS: {
|
|
1419
|
+
readonly ColumnLayout: typeof ColumnLayoutSchema;
|
|
1420
|
+
readonly ContentTypeEditingPolicy: typeof ContentTypeEditingPolicySchema;
|
|
1421
|
+
readonly ContentObjectTypeStatus: typeof ContentObjectTypeStatusSchema;
|
|
1422
|
+
readonly ContentObjectTypeItem: typeof ContentObjectTypeItemSchema;
|
|
1423
|
+
readonly ContentObjectTypeItemArray: typeof ContentObjectTypeItemArraySchema;
|
|
1424
|
+
readonly ContentObjectTypeCatalogEntry: typeof ContentObjectTypeCatalogEntrySchema;
|
|
1425
|
+
readonly ContentObjectTypeCatalogEntryArray: typeof ContentObjectTypeCatalogEntryArraySchema;
|
|
1426
|
+
readonly InCodeTypeDefinition: typeof InCodeTypeDefinitionSchema;
|
|
1427
|
+
readonly CreateContentObjectTypePayload: typeof CreateContentObjectTypePayloadSchema;
|
|
1428
|
+
readonly UpdateContentObjectTypePayload: typeof UpdateContentObjectTypePayloadSchema;
|
|
1429
|
+
readonly ContentObjectType: typeof ContentObjectTypeSchema;
|
|
1430
|
+
readonly ContentObjectTypeCatalogQuery: typeof ContentObjectTypeCatalogQuerySchema;
|
|
1431
|
+
readonly ContentObjectTypeListQuery: typeof ContentObjectTypeListQuerySchema;
|
|
1432
|
+
} = {
|
|
1317
1433
|
ColumnLayout: ColumnLayoutSchema,
|
|
1318
1434
|
ContentTypeEditingPolicy: ContentTypeEditingPolicySchema,
|
|
1319
1435
|
ContentObjectTypeStatus: ContentObjectTypeStatusSchema,
|
|
@@ -1690,6 +1806,9 @@ const PROCESS_RUNTIME_SCHEMAS = {
|
|
|
1690
1806
|
AnswerProcessTaskPayload: ProcessSchemas.AnswerProcessTaskPayloadSchema,
|
|
1691
1807
|
AdvanceProcessPayload: ProcessSchemas.AdvanceProcessPayloadSchema,
|
|
1692
1808
|
ProcessState: ProcessSchemas.ProcessStateSchema,
|
|
1809
|
+
ProcessTerminalReason: ProcessSchemas.ProcessTerminalReasonSchema,
|
|
1810
|
+
ProcessBudgetState: ProcessSchemas.ProcessBudgetStateSchema,
|
|
1811
|
+
ProcessBudgetSummary: ProcessSchemas.ProcessBudgetSummarySchema,
|
|
1693
1812
|
WorkflowExecutionStartResultArray: ProcessSchemas.WorkflowExecutionStartResultArraySchema,
|
|
1694
1813
|
RecordProcessRunPayload: ProcessSchemas.RecordProcessRunPayloadSchema,
|
|
1695
1814
|
ProcessTestRunStatus: ProcessSchemas.ProcessTestRunStatusSchema,
|
|
@@ -1811,6 +1930,7 @@ const AGENT_RUN_SCHEMAS = {
|
|
|
1811
1930
|
AgentRunArchiveState: AgentRunSchemas.AgentRunArchiveStateSchema,
|
|
1812
1931
|
ResourceRef: AgentRunSchemas.ResourceRefSchema,
|
|
1813
1932
|
SignalAgentResponse: AgentRunSchemas.SignalAgentResponseSchema,
|
|
1933
|
+
AllocateAgentRunBudgetPayload: AgentRunSchemas.AllocateAgentRunBudgetPayloadSchema,
|
|
1814
1934
|
AutonomousRunResponse: AgentRunSchemas.AutonomousRunResponseSchema,
|
|
1815
1935
|
AgentRun: AgentRunSchemas.AgentRunSchema,
|
|
1816
1936
|
CreateAgentRunPayload: AgentRunSchemas.CreateAgentRunPayloadSchema,
|
|
@@ -1841,16 +1961,16 @@ const AGENT_RUN_SCHEMAS = {
|
|
|
1841
1961
|
AgentRunFeedbackResponse: AgentRunSchemas.AgentRunFeedbackResponseSchema,
|
|
1842
1962
|
AgentRunFeedbackEntry: AgentRunSchemas.AgentRunFeedbackEntrySchema,
|
|
1843
1963
|
AgentRunEvaluationRollup: AgentRunSchemas.AgentRunEvaluationRollupSchema,
|
|
1844
|
-
|
|
1964
|
+
AgentRunLlmEvaluationResult: AgentRunSchemas.AgentRunLlmEvaluationResultSchema,
|
|
1845
1965
|
AgentRunContradictionReason: AgentRunSchemas.AgentRunContradictionReasonSchema,
|
|
1846
1966
|
AgentRunEvaluation: AgentRunSchemas.AgentRunEvaluationSchema,
|
|
1847
1967
|
TurnTerminalType: AgentRunSchemas.TurnTerminalTypeSchema,
|
|
1848
1968
|
EvaluationSeverity: AgentRunSchemas.EvaluationSeveritySchema,
|
|
1849
1969
|
TurnEvaluationFlag: AgentRunSchemas.TurnEvaluationFlagSchema,
|
|
1850
1970
|
ToolErrorClass: AgentRunSchemas.ToolErrorClassSchema,
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1971
|
+
EvaluationGateReason: AgentRunSchemas.EvaluationGateReasonSchema,
|
|
1972
|
+
EvaluationOutcome: AgentRunSchemas.EvaluationOutcomeSchema,
|
|
1973
|
+
EvaluationVerdict: AgentRunSchemas.EvaluationVerdictSchema,
|
|
1854
1974
|
ListAgentRunsEvaluationSeverity: AgentRunSchemas.ListAgentRunsEvaluationSeveritySchema,
|
|
1855
1975
|
AgentEvent: AgentRunSchemas.AgentEventSchema,
|
|
1856
1976
|
IngestAgentEventsPayload: AgentRunSchemas.IngestAgentEventsPayloadSchema,
|
|
@@ -2083,6 +2203,7 @@ const VIEW_EXPERIENCE_SCHEMAS = {
|
|
|
2083
2203
|
const APP_LIFECYCLE_SCHEMAS = {
|
|
2084
2204
|
// What an app does once it exists: versions, builds, scaffolds, git repositories,
|
|
2085
2205
|
// development tasks, installations and inspection.
|
|
2206
|
+
UpdateAppInstallationOAuthApprovalPayload: UpdateAppInstallationOAuthApprovalPayloadSchema,
|
|
2086
2207
|
UpdateAppInstallationToolAllowlistPayload: UpdateAppInstallationToolAllowlistPayloadSchema,
|
|
2087
2208
|
ValidateUrlResponse: ValidateUrlResponseSchema,
|
|
2088
2209
|
ValidateUrlRequest: ValidateUrlRequestSchema,
|
|
@@ -2280,6 +2401,8 @@ const STS_SCHEMAS = {
|
|
|
2280
2401
|
EnvironmentTokenRequest: StsSchemas.EnvironmentTokenRequestSchema,
|
|
2281
2402
|
AgentTokenRequest: StsSchemas.AgentTokenRequestSchema,
|
|
2282
2403
|
ServiceAccountTokenRequest: StsSchemas.ServiceAccountTokenRequestSchema,
|
|
2404
|
+
AppSessionTokenRequest: StsSchemas.AppSessionTokenRequestSchema,
|
|
2405
|
+
AppSessionTokenResponse: StsSchemas.AppSessionTokenResponseSchema,
|
|
2283
2406
|
IssueTokenRequest: StsSchemas.IssueTokenRequestSchema,
|
|
2284
2407
|
IssueTokenResponse: StsSchemas.IssueTokenResponseSchema,
|
|
2285
2408
|
IssueTokenForbiddenResponse: StsSchemas.IssueTokenForbiddenResponseSchema,
|
|
@@ -2317,7 +2440,16 @@ const DELEGATION_SCHEMAS = {
|
|
|
2317
2440
|
DelegationGrant: DelegationGrantSchema,
|
|
2318
2441
|
DelegationGrantArray: DelegationGrantArraySchema,
|
|
2319
2442
|
};
|
|
2443
|
+
const RUN_BUDGET_SCHEMAS = {
|
|
2444
|
+
RunBudgetOwner: RunBudgetSchemas.RunBudgetOwnerSchema,
|
|
2445
|
+
RunBudgetUsage: RunBudgetSchemas.RunBudgetUsageSchema,
|
|
2446
|
+
ReadRunBudgetUsagePayload: RunBudgetSchemas.ReadRunBudgetUsagePayloadSchema,
|
|
2447
|
+
RunBudgetTotals: RunBudgetSchemas.RunBudgetTotalsSchema,
|
|
2448
|
+
RunBudgetCapability: RunBudgetSchemas.RunBudgetCapabilitySchema,
|
|
2449
|
+
RunBudgetCapabilityQuery: RunBudgetSchemas.RunBudgetCapabilityQuerySchema,
|
|
2450
|
+
};
|
|
2320
2451
|
const API_SCHEMA_GROUPS = [
|
|
2452
|
+
RUN_BUDGET_SCHEMAS,
|
|
2321
2453
|
DELEGATION_SCHEMAS,
|
|
2322
2454
|
IAM_AND_ACCOUNT_SCHEMAS,
|
|
2323
2455
|
PROJECT_AND_APP_SCHEMAS,
|
|
@@ -2328,6 +2460,7 @@ const API_SCHEMA_GROUPS = [
|
|
|
2328
2460
|
INTERACTION_AUTHORING_SCHEMAS,
|
|
2329
2461
|
AGENT_CONVERSATION_SCHEMAS,
|
|
2330
2462
|
EXECUTION_RUN_SCHEMAS,
|
|
2463
|
+
EXECUTION_REQUEST_SCHEMAS,
|
|
2331
2464
|
PROMPT_AUTHORING_SCHEMAS,
|
|
2332
2465
|
PROJECT_TOOL_SCHEMAS,
|
|
2333
2466
|
REMOTE_MCP_SCHEMAS,
|
|
@@ -2381,7 +2514,8 @@ const API_SCHEMA_GROUPS = [
|
|
|
2381
2514
|
* have inferred to. `mergeComponentGroups` rejects a name declared by two groups, so no key is ever
|
|
2382
2515
|
* intersected with a second schema.
|
|
2383
2516
|
*/
|
|
2384
|
-
type ApiSchemaMap = typeof
|
|
2517
|
+
type ApiSchemaMap = typeof RUN_BUDGET_SCHEMAS &
|
|
2518
|
+
typeof DELEGATION_SCHEMAS &
|
|
2385
2519
|
typeof IAM_AND_ACCOUNT_SCHEMAS &
|
|
2386
2520
|
typeof PROJECT_AND_APP_SCHEMAS &
|
|
2387
2521
|
typeof OAUTH_SCHEMAS &
|
|
@@ -2391,6 +2525,7 @@ type ApiSchemaMap = typeof DELEGATION_SCHEMAS &
|
|
|
2391
2525
|
typeof INTERACTION_AUTHORING_SCHEMAS &
|
|
2392
2526
|
typeof AGENT_CONVERSATION_SCHEMAS &
|
|
2393
2527
|
typeof EXECUTION_RUN_SCHEMAS &
|
|
2528
|
+
typeof EXECUTION_REQUEST_SCHEMAS &
|
|
2394
2529
|
typeof PROMPT_AUTHORING_SCHEMAS &
|
|
2395
2530
|
typeof PROJECT_TOOL_SCHEMAS &
|
|
2396
2531
|
typeof REMOTE_MCP_SCHEMAS &
|
|
@@ -2453,6 +2588,15 @@ const API_SCHEMAS: Readonly<Record<ApiComponentName, z.ZodType>> = mergeComponen
|
|
|
2453
2588
|
* objects, so a body carrying an undeclared property is rejected rather than quietly accepted.
|
|
2454
2589
|
*/
|
|
2455
2590
|
const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
2591
|
+
'UpdateInteractionConfigurationPayload',
|
|
2592
|
+
'InteractionConfigurationRecord',
|
|
2593
|
+
'InteractionConfigurationResult',
|
|
2594
|
+
'CreateInferenceProfilePayload',
|
|
2595
|
+
'UpdateInferenceProfilePayload',
|
|
2596
|
+
'InferenceProfileRecord',
|
|
2597
|
+
'InferenceProfile',
|
|
2598
|
+
'InferenceProfileSnapshot',
|
|
2599
|
+
'ProjectInferenceProfiles',
|
|
2456
2600
|
'AccountApiKey',
|
|
2457
2601
|
'AccountApiKeyWithValue',
|
|
2458
2602
|
'CreateAccountApiKeyPayload',
|
|
@@ -2500,6 +2644,8 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2500
2644
|
'EnvironmentTokenRequest',
|
|
2501
2645
|
'AgentTokenRequest',
|
|
2502
2646
|
'ServiceAccountTokenRequest',
|
|
2647
|
+
'AppSessionTokenRequest',
|
|
2648
|
+
'AppSessionTokenResponse',
|
|
2503
2649
|
'IssueTokenResponse',
|
|
2504
2650
|
'IssueTokenForbiddenResponse',
|
|
2505
2651
|
'IssueTokenUnavailableResponse',
|
|
@@ -2515,7 +2661,7 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2515
2661
|
'QuotaStandingWindow',
|
|
2516
2662
|
'QuotaStandingAdmissionClass',
|
|
2517
2663
|
'QuotaTierResponse',
|
|
2518
|
-
// The IAM closure.
|
|
2664
|
+
// The IAM closure. AbacPrincipalContext is composed into PrincipalIdentity rather than hoisted,
|
|
2519
2665
|
// so it has no component of its own to list.
|
|
2520
2666
|
'User',
|
|
2521
2667
|
'UpdateUserPayload',
|
|
@@ -2611,6 +2757,8 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2611
2757
|
// The agent configuration block under `ProjectConfiguration`, published closed on both sides.
|
|
2612
2758
|
'AgentProjectConfiguration',
|
|
2613
2759
|
'AgentCheckpointConfiguration',
|
|
2760
|
+
'AgentBudgetConfiguration',
|
|
2761
|
+
...Object.keys(RUN_BUDGET_SCHEMAS),
|
|
2614
2762
|
// Declared in @llumiverse/common beside the type, like the ModelOptions members above.
|
|
2615
2763
|
'HttpTimeoutOptions',
|
|
2616
2764
|
// The intake policy tree. Every object in it is published closed today, including the inline
|
|
@@ -2638,34 +2786,14 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2638
2786
|
//
|
|
2639
2787
|
// `JSONSchema` is deliberately absent: it is OPEN by design and by long-standing publication —
|
|
2640
2788
|
// a JSON Schema carries keywords the type never enumerated. `JSONSchemaProperties` is a map.
|
|
2641
|
-
|
|
2642
|
-
'
|
|
2643
|
-
'
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
'BedrockConverseOptions',
|
|
2650
|
-
'BedrockNovaOptions',
|
|
2651
|
-
'BedrockMistralOptions',
|
|
2652
|
-
'BedrockAI21Options',
|
|
2653
|
-
'BedrockCohereCommandOptions',
|
|
2654
|
-
'BedrockClaudeOptions',
|
|
2655
|
-
'BedrockPalmyraOptions',
|
|
2656
|
-
'BedrockGptOssOptions',
|
|
2657
|
-
'TwelvelabsPegasusOptions',
|
|
2658
|
-
'BedrockMantleResponsesOptions',
|
|
2659
|
-
'BedrockMantleChatCompletionsOptions',
|
|
2660
|
-
'BedrockMantleClaudeOptions',
|
|
2661
|
-
'OpenAiThinkingOptions',
|
|
2662
|
-
'OpenAiTextOptions',
|
|
2663
|
-
'OpenRouterTextOptions',
|
|
2664
|
-
'OpenAiDalleOptions',
|
|
2665
|
-
'OpenAiGptImageOptions',
|
|
2666
|
-
'XAIGrokImageOptions',
|
|
2667
|
-
'GroqOptions',
|
|
2668
|
-
'MistralTextOptions',
|
|
2789
|
+
// Derive membership so new provider schemas inherit this enforcement check automatically.
|
|
2790
|
+
'OpenAiImageGenerationOptions',
|
|
2791
|
+
'OpenAiImageGenerationMask',
|
|
2792
|
+
...ModelOptionsSchema.options.map((schema) => {
|
|
2793
|
+
const id = schema.meta()?.id;
|
|
2794
|
+
if (!id) throw new Error('Model option schemas must declare a component id');
|
|
2795
|
+
return id;
|
|
2796
|
+
}),
|
|
2669
2797
|
// The app-manifest leaves. Every object among them is published closed today, the nested `git`
|
|
2670
2798
|
// block included, and it is spelled `strictObject` so the emission carries it directly. The five
|
|
2671
2799
|
// enums take no `additionalProperties` at all.
|
|
@@ -2866,7 +2994,7 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2866
2994
|
'AgentRunFeedbackCounts',
|
|
2867
2995
|
'AgentRunFeedbackEntry',
|
|
2868
2996
|
'AgentRunEvaluationRollup',
|
|
2869
|
-
'
|
|
2997
|
+
'AgentRunLlmEvaluationResult',
|
|
2870
2998
|
'AgentRunEvaluation',
|
|
2871
2999
|
'StartContentObjectExportResponse',
|
|
2872
3000
|
'ExportContentObjectsIncludeOptions',
|
|
@@ -2906,6 +3034,8 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2906
3034
|
'ContentObjectExportArtifactFile',
|
|
2907
3035
|
'ProcessRunConfig',
|
|
2908
3036
|
'ProcessHistoryRef',
|
|
3037
|
+
'ProcessBudgetState',
|
|
3038
|
+
'ProcessBudgetSummary',
|
|
2909
3039
|
'NodeHistoryEntry',
|
|
2910
3040
|
'ResourceRef',
|
|
2911
3041
|
'WorkflowRun',
|
|
@@ -2940,6 +3070,7 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
2940
3070
|
'WorkflowActionResponse',
|
|
2941
3071
|
'AnswerProcessTaskPayload',
|
|
2942
3072
|
'SignalAgentResponse',
|
|
3073
|
+
'AllocateAgentRunBudgetPayload',
|
|
2943
3074
|
'AdvanceProcessPayload',
|
|
2944
3075
|
'BranchDefinition',
|
|
2945
3076
|
'ParallelCollectDefinition',
|
|
@@ -3076,6 +3207,10 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
3076
3207
|
'OAuthAuthorizeQuery',
|
|
3077
3208
|
'CreateOAuthAuthorizationRequestPayload',
|
|
3078
3209
|
'OAuthAuthorizationRequest',
|
|
3210
|
+
'OAuthAuthorizationRequestGeneratedApp',
|
|
3211
|
+
'OAuthLoginPayload',
|
|
3212
|
+
'OAuthLoginUserNotFoundResponse',
|
|
3213
|
+
'OAuthLoginDecisionResponse',
|
|
3079
3214
|
'ApproveOAuthAuthorizationRequestPayload',
|
|
3080
3215
|
'OAuthGrantableScopesResponse',
|
|
3081
3216
|
'OAuthAuthorizationDecisionResponse',
|
|
@@ -3316,6 +3451,7 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
3316
3451
|
'AuditTrailQuery',
|
|
3317
3452
|
'ViewExperienceListQuery',
|
|
3318
3453
|
'UpdateAppInstallationToolAllowlistPayload',
|
|
3454
|
+
'UpdateAppInstallationOAuthApprovalPayload',
|
|
3319
3455
|
'ValidateUrlResponse',
|
|
3320
3456
|
'ValidateUrlRequest',
|
|
3321
3457
|
'AppVersionUrls',
|
|
@@ -3474,8 +3610,25 @@ const STRICT_COMPONENTS: ReadonlySet<string> = new Set<string>([
|
|
|
3474
3610
|
* divergence. Note that `.refine()` is silently DROPPED rather than rejected, so refinements must
|
|
3475
3611
|
* not be used to express contract rules — they would be invisible to both the spec and AJV.
|
|
3476
3612
|
*/
|
|
3613
|
+
function emitSchema(name: string, schema: z.ZodType): unknown {
|
|
3614
|
+
const emitted = emitJsonSchema(schema) as Record<string, unknown>;
|
|
3615
|
+
const rootRef = emitted.$ref;
|
|
3616
|
+
const defs = emitted.$defs;
|
|
3617
|
+
const expectedRef = `#/$defs/${name}`;
|
|
3618
|
+
if (rootRef !== expectedRef || !defs || typeof defs !== 'object' || Array.isArray(defs)) return emitted;
|
|
3619
|
+
|
|
3620
|
+
const root = (defs as Record<string, unknown>)[name];
|
|
3621
|
+
if (!root || typeof root !== 'object' || Array.isArray(root)) return emitted;
|
|
3622
|
+
const remainingDefs = Object.fromEntries(
|
|
3623
|
+
Object.entries(defs as Record<string, unknown>).filter(([id]) => id !== name),
|
|
3624
|
+
);
|
|
3625
|
+
return Object.keys(remainingDefs).length === 0
|
|
3626
|
+
? root
|
|
3627
|
+
: { ...(root as Record<string, unknown>), $defs: remainingDefs };
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3477
3630
|
function emitRawSchemas(): Record<string, unknown> {
|
|
3478
|
-
return Object.fromEntries(Object.entries(API_SCHEMAS).map(([name, schema]) => [name,
|
|
3631
|
+
return Object.fromEntries(Object.entries(API_SCHEMAS).map(([name, schema]) => [name, emitSchema(name, schema)]));
|
|
3479
3632
|
}
|
|
3480
3633
|
|
|
3481
3634
|
/**
|
|
@@ -3542,12 +3695,25 @@ interface ZenoRecursiveComponentTypes {
|
|
|
3542
3695
|
/**
|
|
3543
3696
|
* The wire type a component publishes.
|
|
3544
3697
|
*
|
|
3545
|
-
* `ApiComponentType<'Account'>` is
|
|
3546
|
-
*
|
|
3698
|
+
* `ApiComponentType<'Account'>` is the plain type `gen:schemas` writes for `AccountSchema` into
|
|
3699
|
+
* `ApiComponentTypes`, which `wire-types.generated.test.ts` proves identical to its `z.infer`. Indexing
|
|
3700
|
+
* that map rather than `z.infer<ApiSchemaMap[N]>` keeps Zod's inference out of every program that names
|
|
3701
|
+
* a component. A component the generator has not seen yet resolves to `never`, which
|
|
3702
|
+
* `registry-groups.test.ts` rejects.
|
|
3703
|
+
*
|
|
3704
|
+
* It is wrapped in `NoInfer` because `N` always comes from a component-name argument and can never be
|
|
3705
|
+
* recovered from the wire type. Without it, a call whose result has a contextual type — a destructuring
|
|
3706
|
+
* `const { file } = validatedQuery(ctx, 'FileMetadataQuery')`, an `await`, a typed `return` — makes the
|
|
3707
|
+
* checker infer `N` from that context while `N` is still unresolved, which evaluates `z.infer` across
|
|
3708
|
+
* every component in the registry: about 500k types, 1 GB and 2 s of `tsc` in each consuming program.
|
|
3547
3709
|
*/
|
|
3548
|
-
export type ApiComponentType<N extends ApiComponentName> =
|
|
3549
|
-
|
|
3550
|
-
|
|
3710
|
+
export type ApiComponentType<N extends ApiComponentName> = NoInfer<
|
|
3711
|
+
N extends keyof ZenoRecursiveComponentTypes
|
|
3712
|
+
? ZenoRecursiveComponentTypes[N]
|
|
3713
|
+
: N extends keyof ApiComponentTypes
|
|
3714
|
+
? ApiComponentTypes[N]
|
|
3715
|
+
: never
|
|
3716
|
+
>;
|
|
3551
3717
|
|
|
3552
3718
|
/**
|
|
3553
3719
|
* Names a published component from inside a handler signature:
|