@vertesia/appgen-docs 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/docs/symbol-index.json +5328 -5040
- package/lib/docs/ui-interfaces.d.ts +17 -20
- package/lib/docs/vertesia-client.d.ts +561 -596
- package/lib/docs/vertesia-common.d.ts +539 -565
- package/package.json +7 -7
|
@@ -20,8 +20,6 @@ export { default as DelegationGrantsApi } from './DelegationGrantsApi.js';
|
|
|
20
20
|
export type { GroupsQueryOptions } from './GroupsApi.js';
|
|
21
21
|
export * from './InteractionBase.js';
|
|
22
22
|
export * from './InteractionOutput.js';
|
|
23
|
-
export { default as InternalAccountsApi } from './InternalAccountsApi.js';
|
|
24
|
-
export { default as InternalSecretsApi } from './InternalSecretsApi.js';
|
|
25
23
|
export * from './managed-sse.js';
|
|
26
24
|
export { default as OAuthClientsApi } from './OAuthClientsApi.js';
|
|
27
25
|
export { default as OAuthGrantsApi } from './OAuthGrantsApi.js';
|
|
@@ -52,8 +50,9 @@ import CommandsApi from './CommandsApi.js';
|
|
|
52
50
|
import DelegationGrantsApi from './DelegationGrantsApi.js';
|
|
53
51
|
import EnvironmentsApi from './EnvironmentsApi.js';
|
|
54
52
|
import { IamApi } from './IamApi.js';
|
|
53
|
+
import InferenceProfilesApi from './InferenceProfilesApi.js';
|
|
54
|
+
import InteractionConfigurationsApi from './InteractionConfigurationsApi.js';
|
|
55
55
|
import InteractionsApi from './InteractionsApi.js';
|
|
56
|
-
import InternalSecretsApi from './InternalSecretsApi.js';
|
|
57
56
|
import OAuthClientsApi from './OAuthClientsApi.js';
|
|
58
57
|
import OAuthGrantsApi from './OAuthGrantsApi.js';
|
|
59
58
|
import OAuthProvidersApi from './OAuthProvidersApi.js';
|
|
@@ -124,7 +123,6 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
|
|
|
124
123
|
oauthProviders: OAuthProvidersApi;
|
|
125
124
|
remoteMcpConnections: RemoteMcpConnectionsApi;
|
|
126
125
|
secrets: SecretsApi;
|
|
127
|
-
internalSecrets: InternalSecretsApi;
|
|
128
126
|
/**
|
|
129
127
|
* Create a client from the given token.
|
|
130
128
|
* If you already have the decoded token you can pass it as the second argument to avoid decodinf it again.
|
|
@@ -159,16 +157,8 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
|
|
|
159
157
|
withApiKey(apiKey: string | null): Promise<this>;
|
|
160
158
|
getRawJWT(): Promise<string | null>;
|
|
161
159
|
getDecodedJWT(): Promise<AuthTokenPayload | null>;
|
|
162
|
-
getProject(): Promise<
|
|
163
|
-
|
|
164
|
-
name: string;
|
|
165
|
-
account: string;
|
|
166
|
-
restricted?: boolean | undefined;
|
|
167
|
-
} | null>;
|
|
168
|
-
getAccount(): Promise<{
|
|
169
|
-
id: string;
|
|
170
|
-
name: string;
|
|
171
|
-
} | null>;
|
|
160
|
+
getProject(): Promise<import("@vertesia/common/wire-types").ProjectRef | null>;
|
|
161
|
+
getAccount(): Promise<import("@vertesia/common/wire-types").AccountRef | null>;
|
|
172
162
|
/**
|
|
173
163
|
* Alias for store.agents
|
|
174
164
|
*/
|
|
@@ -207,6 +197,8 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
|
|
|
207
197
|
"x-api-version": string;
|
|
208
198
|
};
|
|
209
199
|
projects: ProjectsApi;
|
|
200
|
+
interactionConfigurations: InteractionConfigurationsApi;
|
|
201
|
+
inferenceProfiles: InferenceProfilesApi;
|
|
210
202
|
environments: EnvironmentsApi;
|
|
211
203
|
interactions: InteractionsApi;
|
|
212
204
|
skills: SkillsApi;
|
|
@@ -439,7 +431,7 @@ export default class AppsApi extends ApiTopic {
|
|
|
439
431
|
// @vertesia/client: InteractionsApi.d.ts
|
|
440
432
|
// -----------------------------------------------------------------------------
|
|
441
433
|
import { ApiTopic, type ClientBase, type IRequestParams } from '@vertesia/api-fetch-client';
|
|
442
|
-
import type { AsyncExecutionPayload, AsyncExecutionResult, ComputedFacetResponse, ComputeInteractionFacetPayload, DeleteByIdResult, GeneratedInteractionDefinition, GeneratedTestDataRecord, GenerateInteractionPayload, GenerateTestDataPayload, ImprovePromptPayload, ImprovePromptPayloadConfig, Interaction, InteractionCreatePayload, InteractionDeletePayload, InteractionEndpoint, InteractionEndpointQuery, InteractionExecutionPayload, InteractionForkPayload, InteractionPublishPayload, InteractionRef, InteractionRefWithSchema, InteractionSearchPayload, InteractionSearchQuery, InteractionsExportPayload, InteractionTags, InteractionUpdatePayload, PromptImprovementResponse, RateLimitRequestPayload, RateLimitRequestResponse, ResolvedInteractionExecutionInfo } from '@vertesia/common';
|
|
434
|
+
import type { AsyncExecutionPayload, AsyncExecutionResult, ComputedFacetResponse, ComputeInteractionFacetPayload, DeleteByIdResult, GeneratedInteractionDefinition, GeneratedTestDataRecord, GenerateInteractionPayload, GenerateTestDataPayload, ImprovePromptPayload, ImprovePromptPayloadConfig, Interaction, InteractionCreatePayload, InteractionDeletePayload, InteractionEndpoint, InteractionEndpointQuery, InteractionExecutionPayload, InteractionForkPayload, InteractionPublishPayload, InteractionRef, InteractionRefWithSchema, InteractionSearchPayload, InteractionSearchQuery, InteractionsExportPayload, InteractionTags, InteractionUpdatePayload, PromptImprovementResponse, RateLimitRequestPayload, RateLimitRequestResponse, ResolvedInteractionExecutionInfo, ResolveInteractionQuery } from '@vertesia/common';
|
|
443
435
|
import { InteractionCatalogApi } from './InteractionCatalogApi.js';
|
|
444
436
|
import { type EnhancedInteractionExecutionResult } from './InteractionOutput.js';
|
|
445
437
|
export default class InteractionsApi extends ApiTopic {
|
|
@@ -609,12 +601,7 @@ export default class InteractionsApi extends ApiTopic {
|
|
|
609
601
|
* @param options Optional environment and/or model to resolve with
|
|
610
602
|
* @returns ResolvedInteractionExecutionInfo with the resolved environment and model
|
|
611
603
|
*/
|
|
612
|
-
resolve(nameOrId: string, options?:
|
|
613
|
-
environment?: string;
|
|
614
|
-
model?: string;
|
|
615
|
-
hasImage?: boolean;
|
|
616
|
-
hasVideo?: boolean;
|
|
617
|
-
}): Promise<ResolvedInteractionExecutionInfo>;
|
|
604
|
+
resolve(nameOrId: string, options?: ResolveInteractionQuery): Promise<ResolvedInteractionExecutionInfo>;
|
|
618
605
|
}
|
|
619
606
|
|
|
620
607
|
// -----------------------------------------------------------------------------
|
|
@@ -827,6 +814,7 @@ import { AbstractFetchClient, type FETCH_FN, type IRequestRetryPolicy } from '@v
|
|
|
827
814
|
import { type BulkOperationPayload, type BulkOperationResponse } from '@vertesia/common';
|
|
828
815
|
import { AgentsApi } from './AgentsApi.js';
|
|
829
816
|
import { CollectionsApi } from './CollectionsApi.js';
|
|
817
|
+
import { ContentApi } from './ContentApi.js';
|
|
830
818
|
import { CostApi } from './CostApi.js';
|
|
831
819
|
import { DataApi } from './DataApi.js';
|
|
832
820
|
import { EmailApi } from './EmailApi.js';
|
|
@@ -868,6 +856,7 @@ export declare class ZenoClient extends AbstractFetchClient<ZenoClient> {
|
|
|
868
856
|
agents: AgentsApi;
|
|
869
857
|
cost: CostApi;
|
|
870
858
|
objects: ObjectsApi;
|
|
859
|
+
content: ContentApi;
|
|
871
860
|
types: TypesApi;
|
|
872
861
|
workflows: WorkflowsApi;
|
|
873
862
|
schedules: SchedulesApi;
|
|
@@ -1156,7 +1145,7 @@ export declare class CollectionsApi extends ApiTopic {
|
|
|
1156
1145
|
// @vertesia/client: store/AgentsApi.d.ts
|
|
1157
1146
|
// -----------------------------------------------------------------------------
|
|
1158
1147
|
import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
|
|
1159
|
-
import { type ActiveWorkstreamsQueryResult, type AgentArtifactContentResponse, type AgentArtifactUrlResponse, type AgentEvent, type AgentMessage, type AgentRun, type AgentRunDetailsStreamEvent, type AgentRunFeedbackPayload, type AgentRunFeedbackResponse, type AgentRunInternals, type AgentRunResponse, type BindRunWorkflowPayload, type CreateAgentRunPayload, type CreateProcessRunPayload, type ErrorAnalyticsResponse, type FirstResponseBehaviorAnalyticsResponse, type IngestAgentEventsResponse, type LatencyAnalyticsResponse, type ListAgentRunsQuery, type ListAgentRunsResponse, type ListWorkflowRunsResponse, type PostAgentRunUpdatePayload, type PostAgentRunUpdateResponse, type ProcessRun, type ProcessState, type PromptSizeAnalyticsResponse, type RecordAgentRunPayload, type RecordProcessRunPayload, type RunsByAgentAnalyticsResponse, type SearchAgentRunsQuery, type SearchAgentRunsResponse, type SignalAgentPayload, type SignalAgentResponse, type TerminateAgentRunResponse, type TimeToFirstResponseAnalyticsResponse, type TokenUsageAnalyticsResponse, type ToolAnalyticsResponse, type ToolParameterAnalyticsResponse, type TopPrincipalsAnalyticsResponse, type UpdateAgentArtifactContentPayload, type UpdateAgentArtifactContentResponse, type UpdateAgentRunStatusPayload, type WorkflowAnalyticsFilterOptionsResponse, type WorkflowAnalyticsSummaryQuery, type WorkflowAnalyticsSummaryResponse, type WorkflowAnalyticsTimeSeriesQuery, type WorkflowRunWithDetails, type WorkflowToolParametersQuery } from '@vertesia/common';
|
|
1148
|
+
import { type ActiveWorkstreamsQueryResult, type AgentArtifactContentResponse, type AgentArtifactUrlResponse, type AgentEvent, type AgentMessage, type AgentRun, type AgentRunDetailsStreamEvent, type AgentRunFeedbackPayload, type AgentRunFeedbackResponse, type AgentRunInternals, type AgentRunResponse, type AllocateAgentRunBudgetPayload, type BindRunWorkflowPayload, type CreateAgentRunPayload, type CreateProcessRunPayload, type ErrorAnalyticsResponse, type FirstResponseBehaviorAnalyticsResponse, type IngestAgentEventsResponse, type LatencyAnalyticsResponse, type ListAgentRunsQuery, type ListAgentRunsResponse, type ListWorkflowRunsResponse, type PostAgentRunUpdatePayload, type PostAgentRunUpdateResponse, type ProcessRun, type ProcessState, type PromptSizeAnalyticsResponse, type RecordAgentRunPayload, type RecordProcessRunPayload, type RunsByAgentAnalyticsResponse, type SearchAgentRunsQuery, type SearchAgentRunsResponse, type SignalAgentPayload, type SignalAgentResponse, type TerminateAgentRunResponse, type TimeToFirstResponseAnalyticsResponse, type TokenUsageAnalyticsResponse, type ToolAnalyticsResponse, type ToolParameterAnalyticsResponse, type TopPrincipalsAnalyticsResponse, type UpdateAgentArtifactContentPayload, type UpdateAgentArtifactContentResponse, type UpdateAgentRunStatusPayload, type WorkflowAnalyticsFilterOptionsResponse, type WorkflowAnalyticsSummaryQuery, type WorkflowAnalyticsSummaryResponse, type WorkflowAnalyticsTimeSeriesQuery, type WorkflowRunWithDetails, type WorkflowToolParametersQuery } from '@vertesia/common';
|
|
1160
1149
|
export interface AgentRunStreamMessagesOptions {
|
|
1161
1150
|
/** Resolve the stream when the root conversation becomes idle. Headless followers should opt in. */
|
|
1162
1151
|
closeOnIdle?: boolean;
|
|
@@ -1224,6 +1213,11 @@ export declare class AgentsApi extends ApiTopic {
|
|
|
1224
1213
|
* Returns the updated AgentRun (same id, status back to running).
|
|
1225
1214
|
*/
|
|
1226
1215
|
restart(id: string): Promise<AgentRun>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Add token budget to a run paused because its budget ran out; the run resumes from where it
|
|
1218
|
+
* stopped. The amount is added to the limit the run was granted, so usage past it is paid first.
|
|
1219
|
+
*/
|
|
1220
|
+
allocateBudget(id: string, payload: AllocateAgentRunBudgetPayload): Promise<SignalAgentResponse>;
|
|
1227
1221
|
/**
|
|
1228
1222
|
* Fork a conversation into a new agent run.
|
|
1229
1223
|
*/
|
|
@@ -1952,7 +1946,7 @@ export declare class DataApi extends ApiTopic {
|
|
|
1952
1946
|
* const info = await client.data.getDownloadInfo(storeId);
|
|
1953
1947
|
* // Download if gcs_generation changed
|
|
1954
1948
|
* if (info.gcs_generation !== localGeneration) {
|
|
1955
|
-
* await downloadFile(info.url, '
|
|
1949
|
+
* await downloadFile(info.url, 'databases/store.duckdb');
|
|
1956
1950
|
* }
|
|
1957
1951
|
* ```
|
|
1958
1952
|
*/
|
|
@@ -2087,15 +2081,9 @@ export declare class ProcessApi extends ApiTopic {
|
|
|
2087
2081
|
// -----------------------------------------------------------------------------
|
|
2088
2082
|
// @vertesia/common: store/store.d.ts
|
|
2089
2083
|
// -----------------------------------------------------------------------------
|
|
2090
|
-
import type { z } from 'zod';
|
|
2091
|
-
import type { ContentObjectTypeRefSchema, InCodeTypeRefSchema, StoredTypeRefSchema } from '../api-schemas/app-lifecycle.js';
|
|
2092
|
-
import type { ComplexSearchPayloadSchema, ContentObjectApiResponseSchema, ContentObjectApiRevisionSchema, ContentObjectApiTypeRefSchema, ContentObjectExportArtifactFileSchema, ContentObjectExportArtifactSchema, ContentObjectExportProgressSchema, ContentObjectExportResultSchema, ContentObjectExportStatusResponseSchema, ContentObjectItemApiResponseSchema, ContentObjectTextResponseSchema, ContentObjectUserPermissionsSchema, ContentSourceSchema, CreateContentObjectHeadersSchema, CreateContentObjectPayloadSchema, CreateContentObjectQuerySchema, DeleteContentObjectExportResponseSchema, DeleteContentObjectResultSchema, EmbeddingSchema, ExportContentObjectsFilterSchema, ExportContentObjectsIncludeOptionsSchema, GenerationRunMetadataSchema, GetObjectRenditionQuerySchema, GetRenditionResponseSchema, InheritedPropertyMetadataSchema, ListContentObjectExportsResponseSchema, ObjectSearchResponseSchema, ProjectedContentObjectApiResponseSchema, RevisionInfoSchema, SetObjectEmbeddingsResponseSchema, StartContentObjectExportRequestSchema, StartContentObjectExportResponseSchema, TranscriptSchema, TranscriptSegmentSchema, UpdateContentObjectHeadersSchema, UpdateContentObjectPayloadSchema, UpdateContentObjectQuerySchema } from '../api-schemas/content.js';
|
|
2093
|
-
import type { MarkdownRenditionFormatSchema } from '../api-schemas/document-processing.js';
|
|
2094
|
-
import type { CreateWorkflowRulePayloadSchema, UpdateWorkflowRulePayloadSchema, WorkflowRuleItemSchema, WorkflowRuleSchema } from '../api-schemas/events.js';
|
|
2095
|
-
import type { BucketCreateAccessStatusResponseSchema, BucketReadAccessStatusResponseSchema, BulkUploadUrlsPayloadSchema, BulkUploadUrlsResponseSchema, CopyFilePayloadSchema, CopyFileResponseSchema, DeleteFileResultSchema, EnsureBucketCreateAccessPayloadSchema, EnsureBucketCreateAccessResponseSchema, EnsureBucketReadAccessPayloadSchema, EnsureBucketReadAccessResponseSchema, FileBucketResponseSchema, FileDeleteQuerySchema, FileListQuerySchema, FileListResponseSchema, FileMetadataQuerySchema, FileMetadataResponseSchema, FileMetadataUpdateResultSchema, GetFileUrlPayloadSchema, GetFileUrlResponseSchema, GetUploadUrlPayloadSchema, SetFileMetadataPayloadSchema } from '../api-schemas/files.js';
|
|
2096
|
-
import type { ColumnLayoutSchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeExtractionGroundingPolicySchema, ContentTypeExtractionGroundingReviewPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, IntakePageRangesSchema, IntakePageScopeSchema, IntakeVisionDetailSchema, UpdateContentObjectTypePayloadSchema } from '../api-schemas/store.js';
|
|
2097
2084
|
import type { JSONObject } from '../json.js';
|
|
2098
2085
|
import type { SupportedEmbeddingTypes } from '../project.js';
|
|
2086
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2099
2087
|
import type { BaseObject } from './common.js';
|
|
2100
2088
|
export declare enum ContentObjectApiHeaders {
|
|
2101
2089
|
COLLECTION_ID = "x-collection-id",
|
|
@@ -2107,11 +2095,11 @@ export declare enum ContentObjectApiHeaders {
|
|
|
2107
2095
|
*/
|
|
2108
2096
|
SUPPRESS_WORKFLOWS = "x-suppress-workflows"
|
|
2109
2097
|
}
|
|
2110
|
-
export type CreateContentObjectQuery =
|
|
2111
|
-
export type CreateContentObjectHeaders =
|
|
2112
|
-
export type UpdateContentObjectQuery =
|
|
2113
|
-
export type UpdateContentObjectHeaders =
|
|
2114
|
-
export type GetObjectRenditionQuery =
|
|
2098
|
+
export type CreateContentObjectQuery = Wire.CreateContentObjectQuery;
|
|
2099
|
+
export type CreateContentObjectHeaders = Wire.CreateContentObjectHeaders;
|
|
2100
|
+
export type UpdateContentObjectQuery = Wire.UpdateContentObjectQuery;
|
|
2101
|
+
export type UpdateContentObjectHeaders = Wire.UpdateContentObjectHeaders;
|
|
2102
|
+
export type GetObjectRenditionQuery = Wire.GetObjectRenditionQuery;
|
|
2115
2103
|
/**
|
|
2116
2104
|
* Headers for Data Store API calls.
|
|
2117
2105
|
* Used for Cloud Run session affinity to route requests to the same instance.
|
|
@@ -2128,11 +2116,11 @@ export declare enum ContentObjectStatus {
|
|
|
2128
2116
|
failed = "failed",
|
|
2129
2117
|
archived = "archived"
|
|
2130
2118
|
}
|
|
2131
|
-
export type Embedding =
|
|
2132
|
-
export type ExportContentObjectsIncludeOptions =
|
|
2133
|
-
export type ExportContentObjectsFilter =
|
|
2134
|
-
export type StartContentObjectExportRequest =
|
|
2135
|
-
export type StartContentObjectExportResponse =
|
|
2119
|
+
export type Embedding = Wire.Embedding;
|
|
2120
|
+
export type ExportContentObjectsIncludeOptions = Wire.ExportContentObjectsIncludeOptions;
|
|
2121
|
+
export type ExportContentObjectsFilter = Wire.ExportContentObjectsFilter;
|
|
2122
|
+
export type StartContentObjectExportRequest = Wire.StartContentObjectExportRequest;
|
|
2123
|
+
export type StartContentObjectExportResponse = Wire.StartContentObjectExportResponse;
|
|
2136
2124
|
export interface ZenoBulkContentObjectExportRequest extends Omit<StartContentObjectExportRequest, 'compression'> {
|
|
2137
2125
|
tenant_id: string;
|
|
2138
2126
|
project_id: string;
|
|
@@ -2189,23 +2177,23 @@ export interface ZenoBulkContentObjectExportComposeRequest extends ZenoBulkConte
|
|
|
2189
2177
|
*/
|
|
2190
2178
|
started_at?: string;
|
|
2191
2179
|
}
|
|
2192
|
-
export type ContentObjectExportResult =
|
|
2193
|
-
export type ContentObjectExportProgress =
|
|
2194
|
-
export type ContentObjectExportStatusResponse =
|
|
2195
|
-
export type ContentObjectExportArtifact =
|
|
2196
|
-
export type ContentObjectExportArtifactFile =
|
|
2197
|
-
export type ListContentObjectExportsResponse =
|
|
2198
|
-
export type DeleteContentObjectExportResponse =
|
|
2199
|
-
export type InheritedPropertyMetadata =
|
|
2200
|
-
export type ContentObjectUserPermissions =
|
|
2201
|
-
export type ContentObjectTextResponse =
|
|
2202
|
-
export type DeleteContentObjectResult =
|
|
2203
|
-
export type SetObjectEmbeddingsResponse =
|
|
2204
|
-
export type ContentObjectApiTypeRef =
|
|
2205
|
-
export type ContentObjectApiRevision =
|
|
2206
|
-
export type ContentObjectItemApiResponse =
|
|
2207
|
-
export type ContentObjectApiResponse =
|
|
2208
|
-
export type ProjectedContentObjectApiResponse =
|
|
2180
|
+
export type ContentObjectExportResult = Wire.ContentObjectExportResult;
|
|
2181
|
+
export type ContentObjectExportProgress = Wire.ContentObjectExportProgress;
|
|
2182
|
+
export type ContentObjectExportStatusResponse = Wire.ContentObjectExportStatusResponse;
|
|
2183
|
+
export type ContentObjectExportArtifact = Wire.ContentObjectExportArtifact;
|
|
2184
|
+
export type ContentObjectExportArtifactFile = Wire.ContentObjectExportArtifactFile;
|
|
2185
|
+
export type ListContentObjectExportsResponse = Wire.ListContentObjectExportsResponse;
|
|
2186
|
+
export type DeleteContentObjectExportResponse = Wire.DeleteContentObjectExportResponse;
|
|
2187
|
+
export type InheritedPropertyMetadata = Wire.InheritedPropertyMetadata;
|
|
2188
|
+
export type ContentObjectUserPermissions = Wire.ContentObjectUserPermissions;
|
|
2189
|
+
export type ContentObjectTextResponse = Wire.ContentObjectTextResponse;
|
|
2190
|
+
export type DeleteContentObjectResult = Wire.DeleteContentObjectResult;
|
|
2191
|
+
export type SetObjectEmbeddingsResponse = Wire.SetObjectEmbeddingsResponse;
|
|
2192
|
+
export type ContentObjectApiTypeRef = Wire.ContentObjectApiTypeRef;
|
|
2193
|
+
export type ContentObjectApiRevision = Wire.ContentObjectApiRevision;
|
|
2194
|
+
export type ContentObjectItemApiResponse = Wire.ContentObjectItemApiResponse;
|
|
2195
|
+
export type ContentObjectApiResponse = Wire.ContentObjectApiResponse;
|
|
2196
|
+
export type ProjectedContentObjectApiResponse = Wire.ProjectedContentObjectApiResponse;
|
|
2209
2197
|
export type FullObjectSearchResponse = Omit<ObjectSearchResponse, 'results'> & {
|
|
2210
2198
|
results: ContentObjectItemApiResponse[];
|
|
2211
2199
|
};
|
|
@@ -2221,6 +2209,13 @@ export interface ContentObject<T = JSONObject> extends ContentObjectItem<T> {
|
|
|
2221
2209
|
sensitivity?: number;
|
|
2222
2210
|
/** Compartments — set directly or inherited from collections (union across collections). */
|
|
2223
2211
|
compartments?: string[];
|
|
2212
|
+
/** Effective shared state (readable by non-members via matching shared-content ABAC rules): true
|
|
2213
|
+
* iff this document is a member of an effectively-shared collection (inherited; sync-managed).
|
|
2214
|
+
* Combine with `shared_root` for full readability. */
|
|
2215
|
+
shared?: boolean;
|
|
2216
|
+
/** True iff this document was explicitly shared via the API (a root of the project shared space).
|
|
2217
|
+
* Never set by the sync. */
|
|
2218
|
+
shared_root?: boolean;
|
|
2224
2219
|
/**
|
|
2225
2220
|
* Inherited properties metadata - tracks which properties were inherited from parent collections.
|
|
2226
2221
|
* Used to display readonly inherited properties in the UI and enable incremental sync optimization.
|
|
@@ -2243,7 +2238,7 @@ export interface Location {
|
|
|
2243
2238
|
latitude: number;
|
|
2244
2239
|
longitude: number;
|
|
2245
2240
|
}
|
|
2246
|
-
export type GenerationRunMetadata =
|
|
2241
|
+
export type GenerationRunMetadata = Wire.GenerationRunMetadata;
|
|
2247
2242
|
export interface Rendition {
|
|
2248
2243
|
name: string;
|
|
2249
2244
|
content: ContentSource;
|
|
@@ -2403,10 +2398,10 @@ interface GroundedMetadata {
|
|
|
2403
2398
|
source_text_etag?: string | null;
|
|
2404
2399
|
[key: string]: unknown;
|
|
2405
2400
|
}
|
|
2406
|
-
export type Transcript =
|
|
2407
|
-
export type TranscriptSegment =
|
|
2408
|
-
export type ContentSource =
|
|
2409
|
-
export type RevisionInfo =
|
|
2401
|
+
export type Transcript = Wire.Transcript;
|
|
2402
|
+
export type TranscriptSegment = Wire.TranscriptSegment;
|
|
2403
|
+
export type ContentSource = Wire.ContentSource;
|
|
2404
|
+
export type RevisionInfo = Wire.RevisionInfo;
|
|
2410
2405
|
/**
|
|
2411
2406
|
* The content object item is a simplified version of the ContentObject that is returned by the store API when listing objects.
|
|
2412
2407
|
*/
|
|
@@ -2468,19 +2463,19 @@ export interface ContentObjectItem<T = JSONObject> extends BaseObject {
|
|
|
2468
2463
|
*/
|
|
2469
2464
|
user_permissions?: ContentObjectUserPermissions;
|
|
2470
2465
|
}
|
|
2471
|
-
type CreateContentObjectPayloadWire =
|
|
2466
|
+
type CreateContentObjectPayloadWire = Wire.CreateContentObjectPayloadWire;
|
|
2472
2467
|
export type CreateContentObjectPayload<T = JSONObject> = Omit<CreateContentObjectPayloadWire, 'properties' | 'metadata'> & {
|
|
2473
2468
|
properties?: T;
|
|
2474
2469
|
/** Known metadata interfaces remain assignable; the runtime contract deliberately accepts any object keys. */
|
|
2475
2470
|
metadata?: ContentObjectItem['metadata'];
|
|
2476
2471
|
};
|
|
2477
2472
|
export declare function getContentTypeRefId(type: ContentObjectTypeRef): string;
|
|
2478
|
-
export type ContentObjectTypeRef =
|
|
2479
|
-
export type ComplexSearchPayload =
|
|
2480
|
-
export type ColumnLayout =
|
|
2481
|
-
export type ContentObjectTypeStatus =
|
|
2482
|
-
export type IntakeVisionDetail =
|
|
2483
|
-
export type IntakePageScope =
|
|
2473
|
+
export type ContentObjectTypeRef = Wire.ContentObjectTypeRef;
|
|
2474
|
+
export type ComplexSearchPayload = Wire.ComplexSearchPayload;
|
|
2475
|
+
export type ColumnLayout = Wire.ColumnLayout;
|
|
2476
|
+
export type ContentObjectTypeStatus = Wire.ContentObjectTypeStatus;
|
|
2477
|
+
export type IntakeVisionDetail = Wire.IntakeVisionDetail;
|
|
2478
|
+
export type IntakePageScope = Wire.IntakePageScope;
|
|
2484
2479
|
/**
|
|
2485
2480
|
* Inclusive `[start, end]` pairs.
|
|
2486
2481
|
*
|
|
@@ -2489,29 +2484,29 @@ export type IntakePageScope = z.infer<typeof IntakePageScopeSchema>;
|
|
|
2489
2484
|
* tuple, and reproducing it is what keeps the generated clients unchanged. The length is still
|
|
2490
2485
|
* enforced at runtime.
|
|
2491
2486
|
*/
|
|
2492
|
-
export type IntakePageRanges =
|
|
2493
|
-
export type ContentTypeExtractionGroundingReviewPolicy =
|
|
2494
|
-
export type ContentTypeExtractionGroundingPolicy =
|
|
2495
|
-
export type ContentTypeIntakePolicy =
|
|
2496
|
-
export type ContentTypeEditingPolicy =
|
|
2497
|
-
export type ContentObjectType =
|
|
2498
|
-
export type ContentObjectTypeItem =
|
|
2499
|
-
export type InCodeTypeDefinition =
|
|
2500
|
-
export type ContentObjectTypeCatalogEntry =
|
|
2487
|
+
export type IntakePageRanges = Wire.IntakePageRanges;
|
|
2488
|
+
export type ContentTypeExtractionGroundingReviewPolicy = Wire.ContentTypeExtractionGroundingReviewPolicy;
|
|
2489
|
+
export type ContentTypeExtractionGroundingPolicy = Wire.ContentTypeExtractionGroundingPolicy;
|
|
2490
|
+
export type ContentTypeIntakePolicy = Wire.ContentTypeIntakePolicy;
|
|
2491
|
+
export type ContentTypeEditingPolicy = Wire.ContentTypeEditingPolicy;
|
|
2492
|
+
export type ContentObjectType = Wire.ContentObjectType;
|
|
2493
|
+
export type ContentObjectTypeItem = Wire.ContentObjectTypeItem;
|
|
2494
|
+
export type InCodeTypeDefinition = Wire.InCodeTypeDefinition;
|
|
2495
|
+
export type ContentObjectTypeCatalogEntry = Wire.ContentObjectTypeCatalogEntry;
|
|
2501
2496
|
/**
|
|
2502
2497
|
* The itnerface to be used whend efining types in a plugin app.
|
|
2503
2498
|
*/
|
|
2504
2499
|
export type InCodeTypeSpec = Omit<InCodeTypeDefinition, 'id'>;
|
|
2505
|
-
export type CreateContentObjectTypePayload =
|
|
2506
|
-
export type UpdateContentObjectTypePayload =
|
|
2500
|
+
export type CreateContentObjectTypePayload = Wire.CreateContentObjectTypePayload;
|
|
2501
|
+
export type UpdateContentObjectTypePayload = Wire.UpdateContentObjectTypePayload;
|
|
2507
2502
|
export declare enum WorkflowRuleInputType {
|
|
2508
2503
|
single = "single",
|
|
2509
2504
|
multiple = "multiple",
|
|
2510
2505
|
none = "none"
|
|
2511
2506
|
}
|
|
2512
|
-
export type WorkflowRuleItem =
|
|
2513
|
-
export type WorkflowRule =
|
|
2514
|
-
export type CreateWorkflowRulePayload =
|
|
2507
|
+
export type WorkflowRuleItem = Wire.WorkflowRuleItem;
|
|
2508
|
+
export type WorkflowRule = Wire.WorkflowRule;
|
|
2509
|
+
export type CreateWorkflowRulePayload = Wire.CreateWorkflowRulePayload;
|
|
2515
2510
|
export interface UploadWorkflowRulePayload extends Partial<Omit<WorkflowRule, 'id' | 'created_at' | 'updated_at' | 'owner'>> {
|
|
2516
2511
|
}
|
|
2517
2512
|
export declare enum ImageRenditionFormat {
|
|
@@ -2523,7 +2518,7 @@ export declare const MarkdownRenditionFormat: {
|
|
|
2523
2518
|
readonly docx: 'docx';
|
|
2524
2519
|
readonly pdf: 'pdf';
|
|
2525
2520
|
};
|
|
2526
|
-
export type MarkdownRenditionFormat =
|
|
2521
|
+
export type MarkdownRenditionFormat = Wire.MarkdownRenditionFormat;
|
|
2527
2522
|
export interface GetRenditionParams {
|
|
2528
2523
|
format: ImageRenditionFormat | MarkdownRenditionFormat;
|
|
2529
2524
|
max_hw?: number;
|
|
@@ -2531,8 +2526,8 @@ export interface GetRenditionParams {
|
|
|
2531
2526
|
sign_url?: boolean;
|
|
2532
2527
|
block_on_generation?: boolean;
|
|
2533
2528
|
}
|
|
2534
|
-
export type GetRenditionResponse =
|
|
2535
|
-
export type ObjectSearchResponse =
|
|
2529
|
+
export type GetRenditionResponse = Wire.GetRenditionResponse;
|
|
2530
|
+
export type ObjectSearchResponse = Wire.ObjectSearchResponse;
|
|
2536
2531
|
type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
|
|
2537
2532
|
/**
|
|
2538
2533
|
* Check if a specific rendition format can be generated from a content type.
|
|
@@ -2547,30 +2542,30 @@ type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
|
|
|
2547
2542
|
* canGenerateRendition('text/markdown', MarkdownRenditionFormat.pdf) // true
|
|
2548
2543
|
*/
|
|
2549
2544
|
export declare function canGenerateRendition(contentType: string | undefined, format: RenditionFormat | string): boolean;
|
|
2550
|
-
export type GetUploadUrlPayload =
|
|
2551
|
-
export type GetFileUrlPayload =
|
|
2552
|
-
export type GetFileUrlResponse =
|
|
2553
|
-
export type EnsureBucketReadAccessPayload =
|
|
2554
|
-
export type EnsureBucketReadAccessResponse =
|
|
2555
|
-
export type BucketReadAccessStatusResponse =
|
|
2556
|
-
export type EnsureBucketCreateAccessPayload =
|
|
2557
|
-
export type EnsureBucketCreateAccessResponse =
|
|
2558
|
-
export type BucketCreateAccessStatusResponse =
|
|
2559
|
-
export type FileMetadataResponse =
|
|
2560
|
-
export type SetFileMetadataPayload =
|
|
2561
|
-
export type FileMetadataUpdateResult =
|
|
2562
|
-
export type BulkUploadUrlsPayload =
|
|
2563
|
-
export type BulkUploadUrlsResponse =
|
|
2564
|
-
export type FileBucketResponse =
|
|
2565
|
-
export type FileListResponse =
|
|
2566
|
-
export type FileMetadataQuery =
|
|
2567
|
-
export type FileListQuery =
|
|
2568
|
-
export type FileDeleteQuery =
|
|
2569
|
-
export type ContentObjectTypeCatalogQuery =
|
|
2570
|
-
export type ContentObjectTypeListQuery =
|
|
2571
|
-
export type CopyFilePayload =
|
|
2572
|
-
export type CopyFileResponse =
|
|
2573
|
-
export type DeleteFileResult =
|
|
2545
|
+
export type GetUploadUrlPayload = Wire.GetUploadUrlPayload;
|
|
2546
|
+
export type GetFileUrlPayload = Wire.GetFileUrlPayload;
|
|
2547
|
+
export type GetFileUrlResponse = Wire.GetFileUrlResponse;
|
|
2548
|
+
export type EnsureBucketReadAccessPayload = Wire.EnsureBucketReadAccessPayload;
|
|
2549
|
+
export type EnsureBucketReadAccessResponse = Wire.EnsureBucketReadAccessResponse;
|
|
2550
|
+
export type BucketReadAccessStatusResponse = Wire.BucketReadAccessStatusResponse;
|
|
2551
|
+
export type EnsureBucketCreateAccessPayload = Wire.EnsureBucketCreateAccessPayload;
|
|
2552
|
+
export type EnsureBucketCreateAccessResponse = Wire.EnsureBucketCreateAccessResponse;
|
|
2553
|
+
export type BucketCreateAccessStatusResponse = Wire.BucketCreateAccessStatusResponse;
|
|
2554
|
+
export type FileMetadataResponse = Wire.FileMetadataResponse;
|
|
2555
|
+
export type SetFileMetadataPayload = Wire.SetFileMetadataPayload;
|
|
2556
|
+
export type FileMetadataUpdateResult = Wire.FileMetadataUpdateResult;
|
|
2557
|
+
export type BulkUploadUrlsPayload = Wire.BulkUploadUrlsPayload;
|
|
2558
|
+
export type BulkUploadUrlsResponse = Wire.BulkUploadUrlsResponse;
|
|
2559
|
+
export type FileBucketResponse = Wire.FileBucketResponse;
|
|
2560
|
+
export type FileListResponse = Wire.FileListResponse;
|
|
2561
|
+
export type FileMetadataQuery = Wire.FileMetadataQuery;
|
|
2562
|
+
export type FileListQuery = Wire.FileListQuery;
|
|
2563
|
+
export type FileDeleteQuery = Wire.FileDeleteQuery;
|
|
2564
|
+
export type ContentObjectTypeCatalogQuery = Wire.ContentObjectTypeCatalogQuery;
|
|
2565
|
+
export type ContentObjectTypeListQuery = Wire.ContentObjectTypeListQuery;
|
|
2566
|
+
export type CopyFilePayload = Wire.CopyFilePayload;
|
|
2567
|
+
export type CopyFileResponse = Wire.CopyFileResponse;
|
|
2568
|
+
export type DeleteFileResult = Wire.DeleteFileResult;
|
|
2574
2569
|
export declare enum ContentObjectProcessingPriority {
|
|
2575
2570
|
normal = "normal",
|
|
2576
2571
|
low = "low"
|
|
@@ -2628,9 +2623,9 @@ export declare function getSupportedRenditionFormats(contentType: string | undef
|
|
|
2628
2623
|
* supportsVisualRendition('text/markdown') // false
|
|
2629
2624
|
*/
|
|
2630
2625
|
export declare function supportsVisualRendition(contentType: string | undefined): boolean;
|
|
2631
|
-
export type InCodeTypeRef =
|
|
2632
|
-
export type StoredTypeRef =
|
|
2633
|
-
type UpdateContentObjectPayloadWire =
|
|
2626
|
+
export type InCodeTypeRef = Wire.InCodeTypeRef;
|
|
2627
|
+
export type StoredTypeRef = Wire.StoredTypeRef;
|
|
2628
|
+
type UpdateContentObjectPayloadWire = Wire.UpdateContentObjectPayloadWire;
|
|
2634
2629
|
/**
|
|
2635
2630
|
* Mirrors {@link CreateContentObjectPayload}: `properties` and `metadata` are reopened over the wire
|
|
2636
2631
|
* type so the known metadata interfaces stay assignable and callers can name their property shape.
|
|
@@ -2640,7 +2635,7 @@ export type UpdateContentObjectPayload<T = JSONObject> = Omit<UpdateContentObjec
|
|
|
2640
2635
|
properties?: T;
|
|
2641
2636
|
metadata?: ContentObjectItem['metadata'];
|
|
2642
2637
|
};
|
|
2643
|
-
export type UpdateWorkflowRulePayload =
|
|
2638
|
+
export type UpdateWorkflowRulePayload = Wire.UpdateWorkflowRulePayload;
|
|
2644
2639
|
export {};
|
|
2645
2640
|
|
|
2646
2641
|
// -----------------------------------------------------------------------------
|
|
@@ -2660,24 +2655,20 @@ export {};
|
|
|
2660
2655
|
* (workflowId, runId) are internal server concerns.
|
|
2661
2656
|
*/
|
|
2662
2657
|
import type { ReasoningEffort } from '@llumiverse/common';
|
|
2663
|
-
import type { z } from 'zod';
|
|
2664
|
-
import type { AgentArtifactContentResponseSchema, AgentArtifactUrlResponseSchema, AgentRunArchiveStateSchema, AgentRunArtifactQuerySchema, AgentRunArtifactsQuerySchema, AgentRunArtifactUploadHeadersSchema, AgentRunContradictionReasonSchema, AgentRunDetailsQuerySchema, AgentRunEvaluationRollupSchema, AgentRunEvaluationSchema, AgentRunFeedbackCountsSchema, AgentRunFeedbackEntrySchema, AgentRunFeedbackPayloadSchema, AgentRunFeedbackRatingSchema, AgentRunFeedbackReasonCodeSchema, AgentRunFeedbackResponseSchema, AgentRunFeedbackStatusSchema, AgentRunJudgeResultSchema, AgentRunSchema, AgentRunUpdatesQuerySchema, AgentRunUpdatesResponseSchema, CreateAgentRunPayloadSchema, CreateProcessRunByIdPayloadSchema, CreateProcessRunWithDefinitionPayloadSchema, CreateRunPayloadSchema, IngestAgentEventsPayloadSchema, IngestAgentEventsResponseSchema, ListAgentRunsEvaluationSeveritySchema, ListAgentRunsQuerySchema, PostAgentRunUpdatePayloadSchema, PostAgentRunUpdateResponseSchema, SearchAgentRunsQuerySchema, SearchAgentRunsResponseSchema, SignalAgentResponseSchema, StreamAgentRunQuerySchema, TerminateAgentRunResponseSchema, UpdateAgentArtifactContentPayloadSchema, UpdateAgentArtifactContentResponseSchema } from '../api-schemas/agent-runs.js';
|
|
2665
|
-
import type { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, RunKindSchema, RunTypeSchema } from '../api-schemas/app-lifecycle.js';
|
|
2666
|
-
import type { ProcessRunConfigSchema, ProcessRunTypeSchema } from '../api-schemas/process.js';
|
|
2667
|
-
import type { BindRunWorkflowPayloadSchema, RestartAgentRunPayloadSchema } from '../api-schemas/workflow-runs.js';
|
|
2668
2658
|
import type { ConversationVisibility, InteractionExecutionConfiguration, RunSource } from '../interaction.js';
|
|
2669
2659
|
import type { EventRef } from '../platform-event.js';
|
|
2660
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2670
2661
|
import type { AgentToolApprovalMode } from './agent-approval.js';
|
|
2671
2662
|
import type { ProcessDefinitionBody, ProcessState } from './process.js';
|
|
2672
2663
|
import type { ModelConfigChangedSignal, StopSignal, UserInputSignal } from './signals.js';
|
|
2673
2664
|
import type { ConversationActivityState, ConversationFileBatchRef, ConversationFileRef, ConversationFileRemovedRef, WorkflowRunEvent } from './workflow.js';
|
|
2674
2665
|
export * from './agent-run-values.js';
|
|
2675
|
-
export type AgentRunStatus =
|
|
2676
|
-
export type AgentRunArchiveState =
|
|
2677
|
-
export type AgentRunType =
|
|
2678
|
-
export type RunKind =
|
|
2679
|
-
export type RunType =
|
|
2680
|
-
export type ProcessRunType =
|
|
2666
|
+
export type AgentRunStatus = Wire.AgentRunStatus;
|
|
2667
|
+
export type AgentRunArchiveState = Wire.AgentRunArchiveState;
|
|
2668
|
+
export type AgentRunType = Wire.AgentRunType;
|
|
2669
|
+
export type RunKind = Wire.RunKind;
|
|
2670
|
+
export type RunType = Wire.RunType;
|
|
2671
|
+
export type ProcessRunType = Wire.ProcessRunType;
|
|
2681
2672
|
/**
|
|
2682
2673
|
* Shared fields for all records stored in the agent_runs collection.
|
|
2683
2674
|
*/
|
|
@@ -2733,7 +2724,7 @@ interface RunBase {
|
|
|
2733
2724
|
/** Timestamp when the document was last updated */
|
|
2734
2725
|
updated_at: string;
|
|
2735
2726
|
}
|
|
2736
|
-
type AgentRunWire =
|
|
2727
|
+
type AgentRunWire = Wire.AgentRunWire;
|
|
2737
2728
|
/**
|
|
2738
2729
|
* The wire contract is schema-derived; the two generic data bags remain caller-specializable.
|
|
2739
2730
|
* A single concrete `z.infer` cannot express those type parameters.
|
|
@@ -2742,7 +2733,7 @@ export type AgentRun<TData = Record<string, unknown>, TProperties = Record<strin
|
|
|
2742
2733
|
data?: TData;
|
|
2743
2734
|
properties?: TProperties;
|
|
2744
2735
|
};
|
|
2745
|
-
export type ProcessRunConfig =
|
|
2736
|
+
export type ProcessRunConfig = Wire.ProcessRunConfig;
|
|
2746
2737
|
export interface ProcessRun extends RunBase {
|
|
2747
2738
|
run_kind: 'process';
|
|
2748
2739
|
run_type: ProcessRunType;
|
|
@@ -2763,7 +2754,7 @@ export type ProgrammaticRunResponse = ProcessRun & {
|
|
|
2763
2754
|
* @discriminator run_type
|
|
2764
2755
|
*/
|
|
2765
2756
|
export type AgentRunResponse<TData = Record<string, unknown>, TProperties = Record<string, unknown>> = AutonomousRunResponse<TData, TProperties> | SupervisedRunResponse | ProgrammaticRunResponse;
|
|
2766
|
-
type CreateAgentRunWire =
|
|
2757
|
+
type CreateAgentRunWire = Wire.CreateAgentRunPayloadWire;
|
|
2767
2758
|
export type CreateAgentRunPayload<TData = Record<string, unknown>, TProperties = Record<string, unknown>> = Omit<CreateAgentRunWire, 'data' | 'properties'> & {
|
|
2768
2759
|
data?: TData;
|
|
2769
2760
|
properties?: TProperties;
|
|
@@ -2808,6 +2799,7 @@ export interface RecordAgentRunPayload<TData = Record<string, unknown>> extends
|
|
|
2808
2799
|
topic?: string;
|
|
2809
2800
|
generate_topic?: boolean;
|
|
2810
2801
|
generate_lessons?: boolean;
|
|
2802
|
+
evaluate?: boolean;
|
|
2811
2803
|
first_workflow_run_id: string;
|
|
2812
2804
|
schedule_id?: string;
|
|
2813
2805
|
visibility?: ConversationVisibility;
|
|
@@ -2829,19 +2821,19 @@ export type RecordRunPayload<TData = Record<string, unknown>, TSource = RunSourc
|
|
|
2829
2821
|
* @internal Attaches the first Temporal run id after a pre-created run record
|
|
2830
2822
|
* has successfully started its workflow.
|
|
2831
2823
|
*/
|
|
2832
|
-
export type BindRunWorkflowPayload =
|
|
2833
|
-
export type TerminateAgentRunResponse =
|
|
2834
|
-
export type AgentRunFeedbackRating =
|
|
2835
|
-
export type AgentRunFeedbackReasonCode =
|
|
2836
|
-
export type AgentRunFeedbackPayload =
|
|
2837
|
-
export type AgentRunFeedbackStatus =
|
|
2838
|
-
export type AgentRunFeedbackCounts =
|
|
2839
|
-
export type AgentRunFeedbackResponse =
|
|
2840
|
-
export type AgentRunFeedbackEntry =
|
|
2841
|
-
export type AgentRunEvaluationRollup =
|
|
2842
|
-
export type
|
|
2843
|
-
export type AgentRunContradictionReason =
|
|
2844
|
-
export type AgentRunEvaluation =
|
|
2824
|
+
export type BindRunWorkflowPayload = Wire.BindRunWorkflowPayload;
|
|
2825
|
+
export type TerminateAgentRunResponse = Wire.TerminateAgentRunResponse;
|
|
2826
|
+
export type AgentRunFeedbackRating = Wire.AgentRunFeedbackRating;
|
|
2827
|
+
export type AgentRunFeedbackReasonCode = Wire.AgentRunFeedbackReasonCode;
|
|
2828
|
+
export type AgentRunFeedbackPayload = Wire.AgentRunFeedbackPayload;
|
|
2829
|
+
export type AgentRunFeedbackStatus = Wire.AgentRunFeedbackStatus;
|
|
2830
|
+
export type AgentRunFeedbackCounts = Wire.AgentRunFeedbackCounts;
|
|
2831
|
+
export type AgentRunFeedbackResponse = Wire.AgentRunFeedbackResponse;
|
|
2832
|
+
export type AgentRunFeedbackEntry = Wire.AgentRunFeedbackEntry;
|
|
2833
|
+
export type AgentRunEvaluationRollup = Wire.AgentRunEvaluationRollup;
|
|
2834
|
+
export type AgentRunLlmEvaluationResult = Wire.AgentRunLlmEvaluationResult;
|
|
2835
|
+
export type AgentRunContradictionReason = Wire.AgentRunContradictionReason;
|
|
2836
|
+
export type AgentRunEvaluation = Wire.AgentRunEvaluation;
|
|
2845
2837
|
/**
|
|
2846
2838
|
* Payload for updating an AgentRun's lifecycle and derived metadata.
|
|
2847
2839
|
*/
|
|
@@ -2880,28 +2872,29 @@ export interface UpdateAgentRunStatusPayload {
|
|
|
2880
2872
|
evaluation_rollup?: AgentRunEvaluationRollup;
|
|
2881
2873
|
}
|
|
2882
2874
|
export type SignalAgentPayload = UserInputSignal | StopSignal | ModelConfigChangedSignal | ConversationFileRef | ConversationFileRemovedRef | ConversationFileBatchRef | Record<string, unknown>;
|
|
2883
|
-
export type SignalAgentResponse =
|
|
2884
|
-
export type
|
|
2885
|
-
export type
|
|
2886
|
-
export type
|
|
2887
|
-
export type
|
|
2888
|
-
export type
|
|
2889
|
-
export type
|
|
2890
|
-
export type
|
|
2891
|
-
export type
|
|
2892
|
-
export type
|
|
2893
|
-
export type
|
|
2894
|
-
export type
|
|
2895
|
-
export type
|
|
2896
|
-
export type
|
|
2875
|
+
export type SignalAgentResponse = Wire.SignalAgentResponse;
|
|
2876
|
+
export type AllocateAgentRunBudgetPayload = Wire.AllocateAgentRunBudgetPayload;
|
|
2877
|
+
export type AgentRunUpdatesResponse = Wire.AgentRunUpdatesResponse;
|
|
2878
|
+
export type AgentRunUpdatesQuery = Wire.AgentRunUpdatesQuery;
|
|
2879
|
+
export type StreamAgentRunQuery = Wire.StreamAgentRunQuery;
|
|
2880
|
+
export type AgentRunDetailsQuery = Wire.AgentRunDetailsQuery;
|
|
2881
|
+
export type AgentRunArtifactsQuery = Wire.AgentRunArtifactsQuery;
|
|
2882
|
+
export type AgentRunArtifactUploadHeaders = Wire.AgentRunArtifactUploadHeaders;
|
|
2883
|
+
export type AgentRunArtifactQuery = Wire.AgentRunArtifactQuery;
|
|
2884
|
+
export type PostAgentRunUpdatePayload = Wire.PostAgentRunUpdatePayload;
|
|
2885
|
+
export type PostAgentRunUpdateResponse = Wire.PostAgentRunUpdateResponse;
|
|
2886
|
+
export type AgentArtifactUrlResponse = Wire.AgentArtifactUrlResponse;
|
|
2887
|
+
export type AgentArtifactContentResponse = Wire.AgentArtifactContentResponse;
|
|
2888
|
+
export type UpdateAgentArtifactContentPayload = Wire.UpdateAgentArtifactContentPayload;
|
|
2889
|
+
export type UpdateAgentArtifactContentResponse = Wire.UpdateAgentArtifactContentResponse;
|
|
2897
2890
|
/**
|
|
2898
2891
|
* Telemetry ingestion payload for an agent run.
|
|
2899
2892
|
*/
|
|
2900
|
-
export type IngestAgentEventsPayload =
|
|
2893
|
+
export type IngestAgentEventsPayload = Wire.IngestAgentEventsPayload;
|
|
2901
2894
|
/**
|
|
2902
2895
|
* Telemetry ingestion response for an agent run.
|
|
2903
2896
|
*/
|
|
2904
|
-
export type IngestAgentEventsResponse =
|
|
2897
|
+
export type IngestAgentEventsResponse = Wire.IngestAgentEventsResponse;
|
|
2905
2898
|
/**
|
|
2906
2899
|
* History event payload emitted by the agent details SSE stream.
|
|
2907
2900
|
*/
|
|
@@ -2939,11 +2932,11 @@ export type AgentRunDetailsStreamEvent = {
|
|
|
2939
2932
|
data: AgentRunDetailsErrorStreamEvent;
|
|
2940
2933
|
};
|
|
2941
2934
|
/** Evaluation severity filter values; `unrated` selects runs without an evaluation. */
|
|
2942
|
-
export type ListAgentRunsEvaluationSeverity =
|
|
2935
|
+
export type ListAgentRunsEvaluationSeverity = Wire.ListAgentRunsEvaluationSeverity;
|
|
2943
2936
|
/**
|
|
2944
2937
|
* Filters for listing agent runs.
|
|
2945
2938
|
*/
|
|
2946
|
-
export type ListAgentRunsQuery =
|
|
2939
|
+
export type ListAgentRunsQuery = Wire.ListAgentRunsQuery;
|
|
2947
2940
|
export interface ListAgentRunsResponse {
|
|
2948
2941
|
items: AgentRunResponse[];
|
|
2949
2942
|
total_count: number;
|
|
@@ -2952,9 +2945,9 @@ export interface ListAgentRunsResponse {
|
|
|
2952
2945
|
/**
|
|
2953
2946
|
* Query for searching agent runs via Elasticsearch.
|
|
2954
2947
|
*/
|
|
2955
|
-
export type SearchAgentRunsQuery =
|
|
2956
|
-
export type AgentRunSearchHit =
|
|
2957
|
-
export type SearchAgentRunsResponse =
|
|
2948
|
+
export type SearchAgentRunsQuery = Wire.SearchAgentRunsQuery;
|
|
2949
|
+
export type AgentRunSearchHit = Wire.AgentRunSearchHit;
|
|
2950
|
+
export type SearchAgentRunsResponse = Wire.SearchAgentRunsResponse;
|
|
2958
2951
|
/**
|
|
2959
2952
|
* Internal/Temporal details for an AgentRun.
|
|
2960
2953
|
* Includes fields normally stripped from client responses.
|
|
@@ -2981,23 +2974,22 @@ export interface AgentRunInternals {
|
|
|
2981
2974
|
created_at: string;
|
|
2982
2975
|
updated_at: string;
|
|
2983
2976
|
}
|
|
2984
|
-
export type CreateProcessRunByIdPayload =
|
|
2985
|
-
export type CreateProcessRunWithDefinitionPayload =
|
|
2986
|
-
export type CreateRunPayload =
|
|
2987
|
-
export type RestartAgentRunPayload =
|
|
2977
|
+
export type CreateProcessRunByIdPayload = Wire.CreateProcessRunByIdPayload;
|
|
2978
|
+
export type CreateProcessRunWithDefinitionPayload = Wire.CreateProcessRunWithDefinitionPayload;
|
|
2979
|
+
export type CreateRunPayload = Wire.CreateRunPayload;
|
|
2980
|
+
export type RestartAgentRunPayload = Wire.RestartAgentRunPayload;
|
|
2988
2981
|
|
|
2989
2982
|
// -----------------------------------------------------------------------------
|
|
2990
2983
|
// @vertesia/common: store/collections.d.ts
|
|
2991
2984
|
// -----------------------------------------------------------------------------
|
|
2992
|
-
import type
|
|
2993
|
-
import type { CollectionChildrenUpdatePayloadSchema, CollectionChildrenUpdateResultSchema, CollectionMembersQuerySchema, CollectionMembersUpdatePayloadSchema, CollectionMembersUpdateResultSchema, CollectionPropagationResponseSchema, CollectionSchema, CollectionSecuritySettingsResponseSchema, CreateCollectionPayloadSchema, UpdateCollectionPayloadSchema } from '../api-schemas/content.js';
|
|
2985
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2994
2986
|
import type { BaseObject } from './common.js';
|
|
2995
2987
|
import type { ColumnLayout, ContentObjectTypeRef } from './store.js';
|
|
2996
2988
|
export declare enum CollectionStatus {
|
|
2997
2989
|
active = "active",
|
|
2998
2990
|
archived = "archived"
|
|
2999
2991
|
}
|
|
3000
|
-
export type CreateCollectionPayload =
|
|
2992
|
+
export type CreateCollectionPayload = Wire.CreateCollectionPayload;
|
|
3001
2993
|
export interface CollectionItem extends BaseObject {
|
|
3002
2994
|
/**
|
|
3003
2995
|
* A flag to indicate if the collection is dynamic or static.
|
|
@@ -3027,7 +3019,7 @@ export interface CollectionItem extends BaseObject {
|
|
|
3027
3019
|
*/
|
|
3028
3020
|
allowed_types?: string[];
|
|
3029
3021
|
}
|
|
3030
|
-
export type Collection =
|
|
3022
|
+
export type Collection = Wire.Collection;
|
|
3031
3023
|
export interface DynamicCollection extends Collection {
|
|
3032
3024
|
dynamic: true;
|
|
3033
3025
|
}
|
|
@@ -3041,47 +3033,45 @@ export interface CollectionSearchPayload {
|
|
|
3041
3033
|
type?: string;
|
|
3042
3034
|
types?: string[];
|
|
3043
3035
|
}
|
|
3044
|
-
export type CollectionMembersUpdateResult =
|
|
3045
|
-
export type CollectionSecuritySettingsResponse =
|
|
3046
|
-
export type CollectionPropagationResponse =
|
|
3047
|
-
export type CollectionChildrenUpdateResult =
|
|
3048
|
-
export type CollectionMembersUpdatePayload =
|
|
3049
|
-
export type CollectionChildrenUpdatePayload =
|
|
3050
|
-
export type CollectionMembersQuery =
|
|
3051
|
-
export type UpdateCollectionPayload =
|
|
3036
|
+
export type CollectionMembersUpdateResult = Wire.CollectionMembersUpdateResult;
|
|
3037
|
+
export type CollectionSecuritySettingsResponse = Wire.CollectionSecuritySettingsResponse;
|
|
3038
|
+
export type CollectionPropagationResponse = Wire.CollectionPropagationResponse;
|
|
3039
|
+
export type CollectionChildrenUpdateResult = Wire.CollectionChildrenUpdateResult;
|
|
3040
|
+
export type CollectionMembersUpdatePayload = Wire.CollectionMembersUpdatePayload;
|
|
3041
|
+
export type CollectionChildrenUpdatePayload = Wire.CollectionChildrenUpdatePayload;
|
|
3042
|
+
export type CollectionMembersQuery = Wire.CollectionMembersQuery;
|
|
3043
|
+
export type UpdateCollectionPayload = Wire.UpdateCollectionPayload;
|
|
3052
3044
|
|
|
3053
3045
|
// -----------------------------------------------------------------------------
|
|
3054
3046
|
// @vertesia/common: store/process.d.ts
|
|
3055
3047
|
// -----------------------------------------------------------------------------
|
|
3056
|
-
import type { z } from 'zod';
|
|
3057
|
-
import type { AdvanceProcessPayloadSchema, AnswerProcessTaskPayloadSchema, BranchDefinitionSchema, BranchJoinPolicySchema, CreateProcessTestSuitePayloadSchema, HumanTaskDefinitionSchema, JsonLogicRuleSchema, ListProcessDefinitionsQuerySchema, ListProcessTestRunsQuerySchema, NodeHistoryEntrySchema, ParallelCollectDefinitionSchema, ParallelCollectFieldSchema, ParallelCollectModeSchema, ParallelFailurePolicySchema, ProcessContextDefinitionSchema, ProcessContextResponseSchema, ProcessDefinitionFormatVersionSchema, ProcessDefinitionMetadataSchema, ProcessDefinitionRevisionInfoSchema, ProcessDefinitionStatusSchema, ProcessHistoryRefSchema, ProcessHistoryResponseSchema, ProcessNodeReturnsDefinitionSchema, ProcessNodeRunTypeSchema, ProcessNodeTypeSchema, ProcessResourcesDefinitionSchema, ProcessScriptInlineSourceSchema, ProcessScriptLanguageSchema, ProcessScriptResourceSchema, ProcessScriptSourceSchema, ProcessStateSchema, ProcessTestActorDecisionSchema, ProcessTestAssertionResultSchema, ProcessTestAssertionsSchema, ProcessTestChildTraceSchema, ProcessTestCoverageSchema, ProcessTestFixtureErrorSchema, ProcessTestFixtureResponseSchema, ProcessTestFixtureResultSchema, ProcessTestHumanActionSchema, ProcessTestInlineSubjectSchema, ProcessTestNodeFixtureSchema, ProcessTestResolvedSubjectSchema, ProcessTestRunSchema, ProcessTestRunStatusSchema, ProcessTestScenarioResultSchema, ProcessTestScenarioSchema, ProcessTestStoredSubjectSchema, ProcessTestSubjectSchema, ProcessTestSuiteSchema, ProcessTestTargetByIdSchema, ProcessTestTargetWithDefinitionSchema, ProcessTestVirtualActorSchema, PublishProcessDefinitionPayloadSchema, RetryProcessNodePayloadSchema, RevertProcessDefinitionPayloadSchema, StartProcessTestRunPayloadSchema, SubmitProcessTestRunPayloadSchema, TransitionDefinitionSchema, TransitionTriggerSchema, UpdateProcessTestScenarioPayloadSchema, UpdateProcessTestSuitePayloadSchema } from '../api-schemas/process.js';
|
|
3058
|
-
import type { ProcessAgentExecutionPolicySchema, ProcessAgentPhaseResetSchema, ProcessAgentToolInputContainsSchema, ProcessAgentToolPhaseSchema } from '../api-schemas/process-agent-policy.js';
|
|
3059
3048
|
import type { JSONSchema } from '../json-schema.js';
|
|
3060
|
-
|
|
3061
|
-
export type
|
|
3062
|
-
export type
|
|
3063
|
-
export type
|
|
3049
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
3050
|
+
export type JsonLogicRule = Wire.JsonLogicRule;
|
|
3051
|
+
export type ProcessDefinitionStatus = Wire.ProcessDefinitionStatus;
|
|
3052
|
+
export type ListProcessDefinitionsQuery = Wire.ListProcessDefinitionsQuery;
|
|
3053
|
+
export type ListProcessTestRunsQuery = Wire.ListProcessTestRunsQuery;
|
|
3064
3054
|
export declare const PROCESS_DEFINITION_FORMAT_VERSION: 1;
|
|
3065
|
-
export type ProcessDefinitionFormatVersion =
|
|
3066
|
-
export type ProcessNodeType =
|
|
3067
|
-
export type TransitionTrigger =
|
|
3068
|
-
export type ParallelFailurePolicy =
|
|
3069
|
-
export type ProcessNodeRunType =
|
|
3070
|
-
export type ParallelCollectMode =
|
|
3071
|
-
export type BranchJoinPolicy =
|
|
3072
|
-
export type ProcessDefinitionMetadata =
|
|
3073
|
-
export type ProcessAgentToolPhase =
|
|
3074
|
-
export type ProcessAgentToolInputContains =
|
|
3075
|
-
export type ProcessAgentPhaseReset =
|
|
3076
|
-
export type ProcessAgentExecutionPolicy =
|
|
3077
|
-
export type ProcessScriptLanguage =
|
|
3078
|
-
export type ProcessScriptInlineSource =
|
|
3079
|
-
export type ProcessScriptSource =
|
|
3080
|
-
export type ProcessScriptResource =
|
|
3081
|
-
export type ProcessResourcesDefinition =
|
|
3082
|
-
export type ParallelCollectField =
|
|
3083
|
-
export type TransitionDefinition =
|
|
3084
|
-
export type BranchDefinition =
|
|
3055
|
+
export type ProcessDefinitionFormatVersion = Wire.ProcessDefinitionFormatVersion;
|
|
3056
|
+
export type ProcessNodeType = Wire.ProcessNodeType;
|
|
3057
|
+
export type TransitionTrigger = Wire.TransitionTrigger;
|
|
3058
|
+
export type ParallelFailurePolicy = Wire.ParallelFailurePolicy;
|
|
3059
|
+
export type ProcessNodeRunType = Wire.ProcessNodeRunType;
|
|
3060
|
+
export type ParallelCollectMode = Wire.ParallelCollectMode;
|
|
3061
|
+
export type BranchJoinPolicy = Wire.BranchJoinPolicy;
|
|
3062
|
+
export type ProcessDefinitionMetadata = Wire.ProcessDefinitionMetadata;
|
|
3063
|
+
export type ProcessAgentToolPhase = Wire.ProcessAgentToolPhase;
|
|
3064
|
+
export type ProcessAgentToolInputContains = Wire.ProcessAgentToolInputContains;
|
|
3065
|
+
export type ProcessAgentPhaseReset = Wire.ProcessAgentPhaseReset;
|
|
3066
|
+
export type ProcessAgentExecutionPolicy = Wire.ProcessAgentExecutionPolicy;
|
|
3067
|
+
export type ProcessScriptLanguage = Wire.ProcessScriptLanguage;
|
|
3068
|
+
export type ProcessScriptInlineSource = Wire.ProcessScriptInlineSource;
|
|
3069
|
+
export type ProcessScriptSource = Wire.ProcessScriptSource;
|
|
3070
|
+
export type ProcessScriptResource = Wire.ProcessScriptResource;
|
|
3071
|
+
export type ProcessResourcesDefinition = Wire.ProcessResourcesDefinition;
|
|
3072
|
+
export type ParallelCollectField = Wire.ParallelCollectField;
|
|
3073
|
+
export type TransitionDefinition = Wire.TransitionDefinition;
|
|
3074
|
+
export type BranchDefinition = Wire.BranchDefinition;
|
|
3085
3075
|
export interface BranchNodeBranchDefinition {
|
|
3086
3076
|
id: string;
|
|
3087
3077
|
title?: string;
|
|
@@ -3089,9 +3079,9 @@ export interface BranchNodeBranchDefinition {
|
|
|
3089
3079
|
node: NodeDefinition;
|
|
3090
3080
|
metadata?: ProcessDefinitionMetadata;
|
|
3091
3081
|
}
|
|
3092
|
-
export type HumanTaskDefinition =
|
|
3093
|
-
export type ProcessNodeReturnsDefinition =
|
|
3094
|
-
export type ParallelCollectDefinition =
|
|
3082
|
+
export type HumanTaskDefinition = Wire.HumanTaskDefinition;
|
|
3083
|
+
export type ProcessNodeReturnsDefinition = Wire.ProcessNodeReturnsDefinition;
|
|
3084
|
+
export type ParallelCollectDefinition = Wire.ParallelCollectDefinition;
|
|
3095
3085
|
export interface NodeDefinition {
|
|
3096
3086
|
type: ProcessNodeType;
|
|
3097
3087
|
tool?: string;
|
|
@@ -3160,7 +3150,7 @@ export interface NodeDefinition {
|
|
|
3160
3150
|
branches?: BranchDefinition[] | BranchNodeBranchDefinition[];
|
|
3161
3151
|
metadata?: ProcessDefinitionMetadata;
|
|
3162
3152
|
}
|
|
3163
|
-
export type ProcessContextDefinition =
|
|
3153
|
+
export type ProcessContextDefinition = Wire.ProcessContextDefinition;
|
|
3164
3154
|
export interface ProcessDefinitionBody {
|
|
3165
3155
|
format_version: ProcessDefinitionFormatVersion;
|
|
3166
3156
|
process: string;
|
|
@@ -3185,7 +3175,7 @@ export interface InCodeProcessDefinition {
|
|
|
3185
3175
|
tags?: string[];
|
|
3186
3176
|
definition: ProcessDefinitionBody;
|
|
3187
3177
|
}
|
|
3188
|
-
export type ProcessDefinitionRevisionInfo =
|
|
3178
|
+
export type ProcessDefinitionRevisionInfo = Wire.ProcessDefinitionRevisionInfo;
|
|
3189
3179
|
export interface ProcessDefinition {
|
|
3190
3180
|
id: string;
|
|
3191
3181
|
edit_revision: number;
|
|
@@ -3203,15 +3193,18 @@ export interface ProcessDefinition {
|
|
|
3203
3193
|
created_by: string;
|
|
3204
3194
|
updated_by: string;
|
|
3205
3195
|
}
|
|
3206
|
-
export type NodeHistoryEntry =
|
|
3207
|
-
export type ProcessHistoryRef =
|
|
3196
|
+
export type NodeHistoryEntry = Wire.NodeHistoryEntry;
|
|
3197
|
+
export type ProcessHistoryRef = Wire.ProcessHistoryRef;
|
|
3208
3198
|
export interface ProcessHistoryCheckpoint {
|
|
3209
3199
|
sequence: number;
|
|
3210
3200
|
current_node: string;
|
|
3211
3201
|
written_at: Date | string;
|
|
3212
3202
|
entries: NodeHistoryEntry[];
|
|
3213
3203
|
}
|
|
3214
|
-
export type ProcessState =
|
|
3204
|
+
export type ProcessState = Wire.ProcessState;
|
|
3205
|
+
export type ProcessTerminalReason = Wire.ProcessTerminalReason;
|
|
3206
|
+
export type ProcessBudgetState = Wire.ProcessBudgetState;
|
|
3207
|
+
export type ProcessBudgetSummary = Wire.ProcessBudgetSummary;
|
|
3215
3208
|
export interface CreateProcessDefinitionPayload {
|
|
3216
3209
|
name: string;
|
|
3217
3210
|
description?: string;
|
|
@@ -3242,61 +3235,55 @@ export interface UpdateProcessDefinitionPayload {
|
|
|
3242
3235
|
tags?: string[];
|
|
3243
3236
|
definition?: ProcessDefinitionBody;
|
|
3244
3237
|
}
|
|
3245
|
-
export type PublishProcessDefinitionPayload =
|
|
3246
|
-
export type RevertProcessDefinitionPayload =
|
|
3247
|
-
export type AdvanceProcessPayload =
|
|
3248
|
-
export type AnswerProcessTaskPayload =
|
|
3249
|
-
export type RetryProcessNodePayload =
|
|
3250
|
-
export type ProcessContextResponse =
|
|
3251
|
-
export type ProcessHistoryResponse =
|
|
3252
|
-
export type ProcessTestRunStatus =
|
|
3253
|
-
export type ProcessTestVirtualActor =
|
|
3254
|
-
export type ProcessTestFixtureResult =
|
|
3255
|
-
export type ProcessTestFixtureError =
|
|
3256
|
-
export type ProcessTestFixtureResponse =
|
|
3257
|
-
export type ProcessTestNodeFixture =
|
|
3258
|
-
export type ProcessTestHumanAction =
|
|
3259
|
-
export type ProcessTestAssertions =
|
|
3260
|
-
export type ProcessTestScenario =
|
|
3261
|
-
export type ProcessTestSuite =
|
|
3262
|
-
export type CreateProcessTestSuitePayload =
|
|
3263
|
-
export type UpdateProcessTestSuitePayload =
|
|
3264
|
-
export type StartProcessTestRunPayload =
|
|
3265
|
-
export type ProcessTestAssertionResult =
|
|
3266
|
-
export type ProcessTestActorDecision =
|
|
3267
|
-
export type ProcessTestCoverage =
|
|
3268
|
-
export type ProcessTestChildTrace =
|
|
3269
|
-
export type ProcessTestScenarioResult =
|
|
3270
|
-
export type ProcessTestRun = Omit<
|
|
3238
|
+
export type PublishProcessDefinitionPayload = Wire.PublishProcessDefinitionPayload;
|
|
3239
|
+
export type RevertProcessDefinitionPayload = Wire.RevertProcessDefinitionPayload;
|
|
3240
|
+
export type AdvanceProcessPayload = Wire.AdvanceProcessPayload;
|
|
3241
|
+
export type AnswerProcessTaskPayload = Wire.AnswerProcessTaskPayload;
|
|
3242
|
+
export type RetryProcessNodePayload = Wire.RetryProcessNodePayload;
|
|
3243
|
+
export type ProcessContextResponse = Wire.ProcessContextResponse;
|
|
3244
|
+
export type ProcessHistoryResponse = Wire.ProcessHistoryResponse;
|
|
3245
|
+
export type ProcessTestRunStatus = Wire.ProcessTestRunStatus;
|
|
3246
|
+
export type ProcessTestVirtualActor = Wire.ProcessTestVirtualActor;
|
|
3247
|
+
export type ProcessTestFixtureResult = Wire.ProcessTestFixtureResult;
|
|
3248
|
+
export type ProcessTestFixtureError = Wire.ProcessTestFixtureError;
|
|
3249
|
+
export type ProcessTestFixtureResponse = Wire.ProcessTestFixtureResponse;
|
|
3250
|
+
export type ProcessTestNodeFixture = Wire.ProcessTestNodeFixture;
|
|
3251
|
+
export type ProcessTestHumanAction = Wire.ProcessTestHumanAction;
|
|
3252
|
+
export type ProcessTestAssertions = Wire.ProcessTestAssertions;
|
|
3253
|
+
export type ProcessTestScenario = Wire.ProcessTestScenario;
|
|
3254
|
+
export type ProcessTestSuite = Wire.ProcessTestSuite;
|
|
3255
|
+
export type CreateProcessTestSuitePayload = Wire.CreateProcessTestSuitePayload;
|
|
3256
|
+
export type UpdateProcessTestSuitePayload = Wire.UpdateProcessTestSuitePayload;
|
|
3257
|
+
export type StartProcessTestRunPayload = Wire.StartProcessTestRunPayload;
|
|
3258
|
+
export type ProcessTestAssertionResult = Wire.ProcessTestAssertionResult;
|
|
3259
|
+
export type ProcessTestActorDecision = Wire.ProcessTestActorDecision;
|
|
3260
|
+
export type ProcessTestCoverage = Wire.ProcessTestCoverage;
|
|
3261
|
+
export type ProcessTestChildTrace = Wire.ProcessTestChildTrace;
|
|
3262
|
+
export type ProcessTestScenarioResult = Wire.ProcessTestScenarioResult;
|
|
3263
|
+
export type ProcessTestRun = Omit<Wire.ProcessTestRunWire, 'process_definition_snapshot'> & {
|
|
3271
3264
|
process_definition_snapshot: ProcessDefinitionBody;
|
|
3272
3265
|
};
|
|
3273
|
-
export type ProcessTestStoredSubject =
|
|
3274
|
-
export type ProcessTestResolvedSubject =
|
|
3275
|
-
export type ProcessTestInlineSubject =
|
|
3276
|
-
export type ProcessTestSubject =
|
|
3277
|
-
export type ProcessTestTargetById =
|
|
3278
|
-
export type ProcessTestTargetWithDefinition = Omit<
|
|
3266
|
+
export type ProcessTestStoredSubject = Wire.ProcessTestStoredSubject;
|
|
3267
|
+
export type ProcessTestResolvedSubject = Wire.ProcessTestResolvedSubject;
|
|
3268
|
+
export type ProcessTestInlineSubject = Wire.ProcessTestInlineSubject;
|
|
3269
|
+
export type ProcessTestSubject = Wire.ProcessTestSubject;
|
|
3270
|
+
export type ProcessTestTargetById = Wire.ProcessTestTargetById;
|
|
3271
|
+
export type ProcessTestTargetWithDefinition = Omit<Wire.ProcessTestTargetWithDefinitionWire, 'definition'> & {
|
|
3279
3272
|
definition: ProcessDefinitionBody;
|
|
3280
3273
|
};
|
|
3281
3274
|
export type ProcessTestTarget = ProcessTestTargetById | ProcessTestTargetWithDefinition;
|
|
3282
|
-
export type SubmitProcessTestRunPayload = Omit<
|
|
3275
|
+
export type SubmitProcessTestRunPayload = Omit<Wire.SubmitProcessTestRunPayloadWire, 'process'> & {
|
|
3283
3276
|
process: ProcessTestTarget;
|
|
3284
3277
|
};
|
|
3285
|
-
export type UpdateProcessTestScenarioPayload =
|
|
3278
|
+
export type UpdateProcessTestScenarioPayload = Wire.UpdateProcessTestScenarioPayload;
|
|
3286
3279
|
|
|
3287
3280
|
// -----------------------------------------------------------------------------
|
|
3288
3281
|
// @vertesia/common: store/workflow.d.ts
|
|
3289
3282
|
// -----------------------------------------------------------------------------
|
|
3290
3283
|
import type { HttpTimeoutOptions, ModelOptions } from '@llumiverse/common';
|
|
3291
|
-
import type { z } from 'zod';
|
|
3292
|
-
import type { AgentMessageDetailsSchema, CompactMessageSchema, ConversationFileSchema } from '../api-schemas/agent-runs.js';
|
|
3293
|
-
import type { ConversationActivityStateSchema } from '../api-schemas/app-lifecycle.js';
|
|
3294
|
-
import type { WorkflowExecutionStatusSchema } from '../api-schemas/document-processing.js';
|
|
3295
|
-
import type { PlanSchema, PlanTaskSchema, WorkflowAncestorSchema } from '../api-schemas/interaction.js';
|
|
3296
|
-
import type { WorkflowExecutionStartResultSchema } from '../api-schemas/process.js';
|
|
3297
|
-
import type { ActivityTaskSchema, AgentTaskSchema, ChildWorkflowTaskSchema, EventErrorSchema, ExecuteWorkflowPayloadSchema, ListWorkflowInteractionsResponseSchema, ListWorkflowRunsPayloadSchema, ListWorkflowRunsResponseSchema, PendingActivitySchema, SignalEventPropertiesSchema, SignalTaskSchema, TimerTaskSchema, WorkflowActionResponseSchema, WorkflowHistorySchema, WorkflowInteractionVarsSchema, WorkflowQueryResultSchema, WorkflowRunDetailsQuerySchema, WorkflowRunEventSchema, WorkflowRunSchema, WorkflowRunStreamQuerySchema, WorkflowRunUpdatesQuerySchema, WorkflowRunUpdatesResponseSchema, WorkflowRunWithDetailsSchema, WorkflowTaskSchema, WorkflowUpdatePublishResponseSchema } from '../api-schemas/workflow-runs.js';
|
|
3298
3284
|
import type { AgentResourceReference, InteractionExecutionConfiguration } from '../interaction.js';
|
|
3299
3285
|
import type { SupportedEmbeddingTypes } from '../project.js';
|
|
3286
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
3300
3287
|
import type { WorkflowInput } from './dsl-workflow.js';
|
|
3301
3288
|
export declare enum ContentEventName {
|
|
3302
3289
|
create = "create",
|
|
@@ -3313,7 +3300,7 @@ export interface Queue {
|
|
|
3313
3300
|
queue_suffix?: string;
|
|
3314
3301
|
queue_full_name?: string;
|
|
3315
3302
|
}
|
|
3316
|
-
export type WorkflowAncestor =
|
|
3303
|
+
export type WorkflowAncestor = Wire.WorkflowAncestor;
|
|
3317
3304
|
export interface WorkflowExecutionBaseParams<T = Record<string, unknown>> {
|
|
3318
3305
|
/** Effective principal for private scheduled runs; server supplied. */
|
|
3319
3306
|
subject?: string;
|
|
@@ -3429,12 +3416,12 @@ export interface WorkflowExecutionPayload<T = Record<string, unknown>, EventName
|
|
|
3429
3416
|
auth_token: string;
|
|
3430
3417
|
}
|
|
3431
3418
|
export declare function getDocumentIds(payload: WorkflowExecutionPayload<Record<string, unknown>>): string[];
|
|
3432
|
-
export type ExecuteWorkflowPayload =
|
|
3433
|
-
export type ConversationActivityState =
|
|
3434
|
-
export type ListWorkflowRunsPayload =
|
|
3435
|
-
export type SignalEventProperties =
|
|
3436
|
-
export type EventError =
|
|
3437
|
-
export type WorkflowRunEvent =
|
|
3419
|
+
export type ExecuteWorkflowPayload = Wire.ExecuteWorkflowPayload;
|
|
3420
|
+
export type ConversationActivityState = Wire.ConversationActivityState;
|
|
3421
|
+
export type ListWorkflowRunsPayload = Wire.ListWorkflowRunsPayload;
|
|
3422
|
+
export type SignalEventProperties = Wire.SignalEventProperties;
|
|
3423
|
+
export type EventError = Wire.EventError;
|
|
3424
|
+
export type WorkflowRunEvent = Wire.WorkflowRunEvent;
|
|
3438
3425
|
export declare enum TaskStatus {
|
|
3439
3426
|
SCHEDULED = "scheduled",
|
|
3440
3427
|
RUNNING = "running",
|
|
@@ -3452,27 +3439,27 @@ export declare enum TaskType {
|
|
|
3452
3439
|
SIGNAL = "signal",
|
|
3453
3440
|
TIMER = "timer"
|
|
3454
3441
|
}
|
|
3455
|
-
export type ActivityTask =
|
|
3456
|
-
export type ChildWorkflowTask =
|
|
3457
|
-
export type SignalTask =
|
|
3458
|
-
export type TimerTask =
|
|
3459
|
-
export type WorkflowTask =
|
|
3460
|
-
export type WorkflowHistory =
|
|
3461
|
-
export type AgentTask =
|
|
3462
|
-
export type WorkflowRun =
|
|
3463
|
-
export type PendingActivity =
|
|
3464
|
-
export type WorkflowRunWithDetails =
|
|
3465
|
-
export type ListWorkflowRunsResponse =
|
|
3466
|
-
export type WorkflowExecutionStartResult =
|
|
3467
|
-
export type ListWorkflowInteractionsResponse =
|
|
3468
|
-
export type WorkflowRunUpdatesResponse =
|
|
3469
|
-
export type WorkflowRunDetailsQuery =
|
|
3470
|
-
export type WorkflowRunUpdatesQuery =
|
|
3471
|
-
export type WorkflowRunStreamQuery =
|
|
3472
|
-
export type WorkflowUpdatePublishResponse =
|
|
3473
|
-
export type WorkflowActionResponse =
|
|
3474
|
-
export type WorkflowQueryResult =
|
|
3475
|
-
export type WorkflowInteractionVars =
|
|
3442
|
+
export type ActivityTask = Wire.ActivityTask;
|
|
3443
|
+
export type ChildWorkflowTask = Wire.ChildWorkflowTask;
|
|
3444
|
+
export type SignalTask = Wire.SignalTask;
|
|
3445
|
+
export type TimerTask = Wire.TimerTask;
|
|
3446
|
+
export type WorkflowTask = Wire.WorkflowTask;
|
|
3447
|
+
export type WorkflowHistory = Wire.WorkflowHistory;
|
|
3448
|
+
export type AgentTask = Wire.AgentTask;
|
|
3449
|
+
export type WorkflowRun = Wire.WorkflowRun;
|
|
3450
|
+
export type PendingActivity = Wire.PendingActivity;
|
|
3451
|
+
export type WorkflowRunWithDetails = Wire.WorkflowRunWithDetails;
|
|
3452
|
+
export type ListWorkflowRunsResponse = Wire.ListWorkflowRunsResponse;
|
|
3453
|
+
export type WorkflowExecutionStartResult = Wire.WorkflowExecutionStartResult;
|
|
3454
|
+
export type ListWorkflowInteractionsResponse = Wire.ListWorkflowInteractionsResponse;
|
|
3455
|
+
export type WorkflowRunUpdatesResponse = Wire.WorkflowRunUpdatesResponse;
|
|
3456
|
+
export type WorkflowRunDetailsQuery = Wire.WorkflowRunDetailsQuery;
|
|
3457
|
+
export type WorkflowRunUpdatesQuery = Wire.WorkflowRunUpdatesQuery;
|
|
3458
|
+
export type WorkflowRunStreamQuery = Wire.WorkflowRunStreamQuery;
|
|
3459
|
+
export type WorkflowUpdatePublishResponse = Wire.WorkflowUpdatePublishResponse;
|
|
3460
|
+
export type WorkflowActionResponse = Wire.WorkflowActionResponse;
|
|
3461
|
+
export type WorkflowQueryResult = Wire.WorkflowQueryResult;
|
|
3462
|
+
export type WorkflowInteractionVars = Wire.WorkflowInteractionVars;
|
|
3476
3463
|
export declare const WorkflowExecutionStatusValues: {
|
|
3477
3464
|
readonly UNKNOWN: 0;
|
|
3478
3465
|
readonly RUNNING: 1;
|
|
@@ -3484,7 +3471,7 @@ export declare const WorkflowExecutionStatusValues: {
|
|
|
3484
3471
|
readonly TIMED_OUT: 7;
|
|
3485
3472
|
};
|
|
3486
3473
|
export declare const WorkflowExecutionStatus: typeof WorkflowExecutionStatusValues & Readonly<Record<number, string>>;
|
|
3487
|
-
export type WorkflowExecutionStatus =
|
|
3474
|
+
export type WorkflowExecutionStatus = Wire.WorkflowExecutionStatus;
|
|
3488
3475
|
/**
|
|
3489
3476
|
* Basic response for anything run with an async workflow
|
|
3490
3477
|
*/
|
|
@@ -3521,7 +3508,7 @@ export declare enum AgentMessageType {
|
|
|
3521
3508
|
BATCH_PROGRESS = 13,
|
|
3522
3509
|
RESTARTING = 14
|
|
3523
3510
|
}
|
|
3524
|
-
export type AgentMessageDetails =
|
|
3511
|
+
export type AgentMessageDetails = Wire.AgentMessageDetails;
|
|
3525
3512
|
/**
|
|
3526
3513
|
* Details for THOUGHT messages representing tool calls (event_class: 'activity').
|
|
3527
3514
|
*/
|
|
@@ -3565,7 +3552,7 @@ export interface StreamingChunkDetails {
|
|
|
3565
3552
|
* Primary type used throughout the system.
|
|
3566
3553
|
* ~85% smaller than legacy AgentMessage format.
|
|
3567
3554
|
*/
|
|
3568
|
-
export type CompactMessage =
|
|
3555
|
+
export type CompactMessage = Wire.CompactMessage;
|
|
3569
3556
|
/**
|
|
3570
3557
|
* Legacy message format for backward compatibility.
|
|
3571
3558
|
* @deprecated Use CompactMessage instead
|
|
@@ -3658,7 +3645,7 @@ export declare enum FileProcessingStatus {
|
|
|
3658
3645
|
/** File processing failed */
|
|
3659
3646
|
ERROR = "error"
|
|
3660
3647
|
}
|
|
3661
|
-
export type ConversationFile =
|
|
3648
|
+
export type ConversationFile = Wire.ConversationFile;
|
|
3662
3649
|
/**
|
|
3663
3650
|
* Details for file processing SYSTEM messages.
|
|
3664
3651
|
* Used when type is AgentMessageType.SYSTEM with system_type: 'file_processing'.
|
|
@@ -3725,8 +3712,8 @@ export interface ConversationFileRemovedRef {
|
|
|
3725
3712
|
/** Client-generated unique ID */
|
|
3726
3713
|
id: string;
|
|
3727
3714
|
}
|
|
3728
|
-
export type PlanTask =
|
|
3729
|
-
export type Plan =
|
|
3715
|
+
export type PlanTask = Wire.PlanTask;
|
|
3716
|
+
export type Plan = Wire.Plan;
|
|
3730
3717
|
export declare const LOW_PRIORITY_TASK_QUEUE = "low_priority";
|
|
3731
3718
|
/**
|
|
3732
3719
|
* WebSocket message types for bidirectional communication
|
|
@@ -3908,12 +3895,7 @@ export {};
|
|
|
3908
3895
|
// -----------------------------------------------------------------------------
|
|
3909
3896
|
// @vertesia/common: apps.d.ts
|
|
3910
3897
|
// -----------------------------------------------------------------------------
|
|
3911
|
-
import type
|
|
3912
|
-
import type { AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppListScopeSchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppsQuerySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, DeleteAppVersionResponseSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppDevelopmentTaskRequestSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, UpdateAppInstallationOAuthApprovalPayloadSchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema } from './api-schemas/app-lifecycle.js';
|
|
3913
|
-
import type { AppEventHookDeliverySchema, AppEventHookPayloadSchema, AppEventSubscriptionDefinitionSchema, AppInstallationListEntrySchema, AppInstallationSchema, AppInstallationWithManifestSchema, AppManifestDataSchema, AppManifestSchema, AppPackageEventHookSchema, AppPackageHooksSchema, AppPackageSchema, AppWidgetInfoSchema, CompositeAppCardOverridesSchema, CompositeAppConfigPayloadSchema, CompositeAppConfigSchema, CompositeAppEntrySchema, CompositeAppHeaderItemKindSchema, CompositeAppHeaderItemSchema, CompositeAppHeaderItemTargetSchema, CompositeAppHeaderOverridesSchema, CompositeAppHomePluginSchema, CompositeAppLogoOverridesSchema, CompositeAppMenuSectionSchema, CompositeAppMessageOverridesSchema, CompositeAppMessageStyleSchema, CompositeAppNavItemPermissionsSchema, CompositeAppSidebarOverridesSchema, CompositeAppSwitchersOverridesSchema, CompositeAppThemeOverridesSchema, CompositeAppUserMenuOverridesSchema, PromoteAppVersionResponseSchema, UpdateAppPayloadSchema } from './api-schemas/app-runtime.js';
|
|
3914
|
-
import type { AppAccessControlSchema, AppAvailableInSchema, AppCapabilitiesSchema, AppGitSourceConfigSchema, AppManifestSourceSchema, AppSourceConfigSchema, AppUIConfigSchema, MCPApiKeyConfigSchema, MCPOAuthConfigSchema, MCPToolAnnotationsSchema, MCPToolCollectionObjectSchema, McpApiKeyStatusSchema, McpOAuthConnectResponseSchema, McpOAuthDisconnectResponseSchema, McpOAuthTokenRequestSchema, McpOAuthTokenResponseSchema, OAuthAuthorizeResponseSchema, OAuthAuthStatusSchema, OAuthMetadataResponseSchema, SetMcpApiKeyRequestSchema, ToolCollectionAuthTypeSchema, ToolCollectionObjectSchema, VertesiaSDKToolCollectionObjectSchema } from './api-schemas/apps.js';
|
|
3915
|
-
import type { RemoteActivityDefinitionSchema } from './api-schemas/integrations.js';
|
|
3916
|
-
import type { ProjectToolInfoSchema, RenderingTemplateDefinitionRefSchema, RenderingTemplateDefinitionSchema } from './api-schemas/project.js';
|
|
3898
|
+
import type * as Wire from './wire-types.generated.js';
|
|
3917
3899
|
/** Allowed values for AppUINavItem.preferredSection */
|
|
3918
3900
|
export declare const PREFERRED_SECTIONS: readonly ['default', 'footer', 'settings'];
|
|
3919
3901
|
/**
|
|
@@ -3942,18 +3924,18 @@ export interface AppUINavItem {
|
|
|
3942
3924
|
*/
|
|
3943
3925
|
preferredSection?: (typeof PREFERRED_SECTIONS)[number];
|
|
3944
3926
|
}
|
|
3945
|
-
export type AppUIConfig =
|
|
3946
|
-
export type AppInstallationProjectsQuery =
|
|
3947
|
-
export type AppInstallationsQuery =
|
|
3948
|
-
export type AppListScope =
|
|
3949
|
-
export type AppsQuery =
|
|
3950
|
-
export type ToolCollectionAuthType =
|
|
3951
|
-
export type MCPOAuthConfig =
|
|
3927
|
+
export type AppUIConfig = Wire.AppUIConfig;
|
|
3928
|
+
export type AppInstallationProjectsQuery = Wire.AppInstallationProjectsQuery;
|
|
3929
|
+
export type AppInstallationsQuery = Wire.AppInstallationsQuery;
|
|
3930
|
+
export type AppListScope = Wire.AppListScope;
|
|
3931
|
+
export type AppsQuery = Wire.AppsQuery;
|
|
3932
|
+
export type ToolCollectionAuthType = Wire.ToolCollectionAuthType;
|
|
3933
|
+
export type MCPOAuthConfig = Wire.MCPOAuthConfig;
|
|
3952
3934
|
/** Install-time provisioning blueprint for an `auth: 'api_key'` MCP collection. Never holds the key. */
|
|
3953
|
-
export type MCPApiKeyConfig =
|
|
3954
|
-
export type MCPToolCollectionObject =
|
|
3955
|
-
export type VertesiaSDKToolCollectionObject =
|
|
3956
|
-
export type ToolCollectionObject =
|
|
3935
|
+
export type MCPApiKeyConfig = Wire.MCPApiKeyConfig;
|
|
3936
|
+
export type MCPToolCollectionObject = Wire.MCPToolCollectionObject;
|
|
3937
|
+
export type VertesiaSDKToolCollectionObject = Wire.VertesiaSDKToolCollectionObject;
|
|
3938
|
+
export type ToolCollectionObject = Wire.ToolCollectionObject;
|
|
3957
3939
|
/**
|
|
3958
3940
|
* Normalizes a tool collection to the object format.
|
|
3959
3941
|
* Applies optional `{{var}}` substitution to the URL so manifests can reference
|
|
@@ -3967,7 +3949,7 @@ export declare function normalizeToolCollection(collection: ToolCollectionObject
|
|
|
3967
3949
|
/**
|
|
3968
3950
|
* Metadata hints from MCP tool annotations (per MCP spec).
|
|
3969
3951
|
*/
|
|
3970
|
-
export type MCPToolAnnotations =
|
|
3952
|
+
export type MCPToolAnnotations = Wire.MCPToolAnnotations;
|
|
3971
3953
|
/**
|
|
3972
3954
|
* Approval behavior class for a tool exposed to agents.
|
|
3973
3955
|
*
|
|
@@ -3976,58 +3958,58 @@ export type MCPToolAnnotations = z.infer<typeof MCPToolAnnotationsSchema>;
|
|
|
3976
3958
|
* - `control`: affects agent control flow or tool availability, not user data or external systems.
|
|
3977
3959
|
* - `requires_confirmation`: high-impact action that must ask the user even in interactive full-control mode.
|
|
3978
3960
|
*/
|
|
3979
|
-
export type AgentToolApprovalClass =
|
|
3961
|
+
export type AgentToolApprovalClass = Wire.AgentToolApprovalClass;
|
|
3980
3962
|
/**
|
|
3981
3963
|
* Tool definition with optional activation control for agent exposure.
|
|
3982
3964
|
*/
|
|
3983
|
-
export type AgentToolDefinition =
|
|
3965
|
+
export type AgentToolDefinition = Wire.AgentToolDefinition;
|
|
3984
3966
|
/**
|
|
3985
3967
|
* Definition of a remote activity exposed by a tool server for use in DSL workflows.
|
|
3986
3968
|
* Remote activities are identified in workflow steps using colon-separated names:
|
|
3987
3969
|
* `app:<app_name>:<collection>:<activity_name>` (e.g. `app:my-nlp-app:examples:word_count`).
|
|
3988
3970
|
*/
|
|
3989
|
-
export type RemoteActivityDefinition =
|
|
3971
|
+
export type RemoteActivityDefinition = Wire.RemoteActivityDefinition;
|
|
3990
3972
|
/**
|
|
3991
3973
|
* Canonical app capabilities Studio renders/supports. The public type is derived from
|
|
3992
3974
|
* this list so runtime validation and TypeScript cannot drift.
|
|
3993
3975
|
*/
|
|
3994
3976
|
export declare const APP_CAPABILITIES: readonly ['ui', 'tools', 'interactions', 'types', 'processes', 'views', 'templates', 'dashboards'];
|
|
3995
|
-
export type AppCapabilities =
|
|
3977
|
+
export type AppCapabilities = Wire.AppCapabilities;
|
|
3996
3978
|
/**
|
|
3997
3979
|
* Header carrying the app version a generated-app UI is running, so studio/zeno resolve app-owned
|
|
3998
3980
|
* capability refs (`app:<app>:...`) against that exact version instead of the promoted version.
|
|
3999
3981
|
* Resolution-time only; never persisted. Set by the generated app template via client.withAppVersion.
|
|
4000
3982
|
*/
|
|
4001
3983
|
export declare const APP_VERSION_HEADER = "x-vertesia-app-version";
|
|
4002
|
-
export type AppAvailableIn =
|
|
4003
|
-
export type AppVersionKind =
|
|
4004
|
-
export type AppVersionState =
|
|
4005
|
-
export type AppVersionTarget =
|
|
4006
|
-
export type AppVersionGitRefType =
|
|
4007
|
-
export type AppBuildTrigger =
|
|
4008
|
-
export type AppVersionStorage =
|
|
4009
|
-
export type AppVersionGitSource =
|
|
4010
|
-
export type AppVersionUrls =
|
|
4011
|
-
export type AppVersionRecord =
|
|
4012
|
-
export type DeleteAppVersionResponse =
|
|
4013
|
-
export type UpsertAppVersionRequest =
|
|
3984
|
+
export type AppAvailableIn = Wire.AppAvailableIn;
|
|
3985
|
+
export type AppVersionKind = Wire.AppVersionKind;
|
|
3986
|
+
export type AppVersionState = Wire.AppVersionState;
|
|
3987
|
+
export type AppVersionTarget = Wire.AppVersionTarget;
|
|
3988
|
+
export type AppVersionGitRefType = Wire.AppVersionGitRefType;
|
|
3989
|
+
export type AppBuildTrigger = Wire.AppBuildTrigger;
|
|
3990
|
+
export type AppVersionStorage = Wire.AppVersionStorage;
|
|
3991
|
+
export type AppVersionGitSource = Wire.AppVersionGitSource;
|
|
3992
|
+
export type AppVersionUrls = Wire.AppVersionUrls;
|
|
3993
|
+
export type AppVersionRecord = Wire.AppVersionRecord;
|
|
3994
|
+
export type DeleteAppVersionResponse = Wire.DeleteAppVersionResponse;
|
|
3995
|
+
export type UpsertAppVersionRequest = Wire.UpsertAppVersionRequest;
|
|
4014
3996
|
export interface AppVersionListQuery {
|
|
4015
3997
|
app_id?: string;
|
|
4016
3998
|
kind?: AppVersionKind;
|
|
4017
3999
|
include_expired?: boolean;
|
|
4018
4000
|
limit?: number;
|
|
4019
4001
|
}
|
|
4020
|
-
export type PromoteAppVersionResponse =
|
|
4021
|
-
export type StartAppBuildRequest =
|
|
4022
|
-
export type StartAppBuildResponse =
|
|
4023
|
-
export type AppBuildProgressStatus =
|
|
4024
|
-
export type AppBuildProgress =
|
|
4025
|
-
export type AppScaffoldModule =
|
|
4026
|
-
export type StartAppScaffoldRequest =
|
|
4027
|
-
export type StartAppScaffoldResponse =
|
|
4028
|
-
export type StartAppDevelopmentTaskRequest =
|
|
4029
|
-
export type AppScaffoldProgressStatus =
|
|
4030
|
-
export type AppScaffoldProgress =
|
|
4002
|
+
export type PromoteAppVersionResponse = Wire.PromoteAppVersionResponse;
|
|
4003
|
+
export type StartAppBuildRequest = Wire.StartAppBuildRequest;
|
|
4004
|
+
export type StartAppBuildResponse = Wire.StartAppBuildResponse;
|
|
4005
|
+
export type AppBuildProgressStatus = Wire.AppBuildProgressStatus;
|
|
4006
|
+
export type AppBuildProgress = Wire.AppBuildProgress;
|
|
4007
|
+
export type AppScaffoldModule = Wire.AppScaffoldModule;
|
|
4008
|
+
export type StartAppScaffoldRequest = Wire.StartAppScaffoldRequest;
|
|
4009
|
+
export type StartAppScaffoldResponse = Wire.StartAppScaffoldResponse;
|
|
4010
|
+
export type StartAppDevelopmentTaskRequest = Wire.StartAppDevelopmentTaskRequest;
|
|
4011
|
+
export type AppScaffoldProgressStatus = Wire.AppScaffoldProgressStatus;
|
|
4012
|
+
export type AppScaffoldProgress = Wire.AppScaffoldProgress;
|
|
4031
4013
|
/**
|
|
4032
4014
|
* Access control policy for an app installation.
|
|
4033
4015
|
* Declares which access surfaces are gated by per-user ACEs.
|
|
@@ -4040,11 +4022,11 @@ export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
|
|
|
4040
4022
|
*
|
|
4041
4023
|
* Declared on the manifest as the app's default. May be overridden per-installation.
|
|
4042
4024
|
*/
|
|
4043
|
-
export type AppAccessControl =
|
|
4044
|
-
export type AppManifestData =
|
|
4045
|
-
export type UpdateAppPayload =
|
|
4046
|
-
export type AppGitSourceConfig =
|
|
4047
|
-
export type AppSourceConfig =
|
|
4025
|
+
export type AppAccessControl = Wire.AppAccessControl;
|
|
4026
|
+
export type AppManifestData = Wire.AppManifestData;
|
|
4027
|
+
export type UpdateAppPayload = Wire.UpdateAppPayload;
|
|
4028
|
+
export type AppGitSourceConfig = Wire.AppGitSourceConfig;
|
|
4029
|
+
export type AppSourceConfig = Wire.AppSourceConfig;
|
|
4048
4030
|
/**
|
|
4049
4031
|
* Deployment-time URL endpoints that can be referenced in app manifest URLs
|
|
4050
4032
|
* via `{{key}}` placeholders. The caller (typically studio-server) supplies
|
|
@@ -4066,53 +4048,53 @@ export interface Endpoints {
|
|
|
4066
4048
|
gateway?: string;
|
|
4067
4049
|
}
|
|
4068
4050
|
/** One entry in an app git-repo directory listing (see {@link AppRepoTree}). */
|
|
4069
|
-
export type AppRepoTreeEntry =
|
|
4051
|
+
export type AppRepoTreeEntry = Wire.AppRepoTreeEntry;
|
|
4070
4052
|
/** A non-recursive listing of an app git repo directory at a given ref. */
|
|
4071
|
-
export type AppRepoTree =
|
|
4053
|
+
export type AppRepoTree = Wire.AppRepoTree;
|
|
4072
4054
|
/** Result of committing one or more uploaded documents to an app repository. */
|
|
4073
|
-
export type AppRepoDocumentCommit =
|
|
4055
|
+
export type AppRepoDocumentCommit = Wire.AppRepoDocumentCommit;
|
|
4074
4056
|
/** One commit that inserted or changed a file in an app git repository. */
|
|
4075
|
-
export type AppRepoCommit =
|
|
4057
|
+
export type AppRepoCommit = Wire.AppRepoCommit;
|
|
4076
4058
|
/** Commit history in an app git repository, optionally filtered to a file. */
|
|
4077
|
-
export type AppRepoCommits =
|
|
4059
|
+
export type AppRepoCommits = Wire.AppRepoCommits;
|
|
4078
4060
|
/** A branch or tag in an app git repo, resolved to its latest commit. */
|
|
4079
|
-
export type AppRepoRef =
|
|
4061
|
+
export type AppRepoRef = Wire.AppRepoRef;
|
|
4080
4062
|
/** The branches and tags of an app git repo (see {@link AppRepoRef}). */
|
|
4081
|
-
export type AppRepoRefs =
|
|
4063
|
+
export type AppRepoRefs = Wire.AppRepoRefs;
|
|
4082
4064
|
/** A mutable app development task represented by an `agent/*` Git branch. */
|
|
4083
|
-
export type AppDevelopmentTask =
|
|
4065
|
+
export type AppDevelopmentTask = Wire.AppDevelopmentTask;
|
|
4084
4066
|
/** Git-backed development tasks and the branch used for new tasks by default. */
|
|
4085
|
-
export type AppDevelopmentTaskList =
|
|
4067
|
+
export type AppDevelopmentTaskList = Wire.AppDevelopmentTaskList;
|
|
4086
4068
|
/** Development task details, including the latest parent assistant run when one exists. */
|
|
4087
|
-
export type AppDevelopmentTaskDetails =
|
|
4069
|
+
export type AppDevelopmentTaskDetails = Wire.AppDevelopmentTaskDetails;
|
|
4088
4070
|
/** Request to create a branch from an existing branch, tag, or commit. */
|
|
4089
4071
|
export interface CreateAppRepoBranchRequest {
|
|
4090
4072
|
name: string;
|
|
4091
4073
|
source_ref: string;
|
|
4092
4074
|
}
|
|
4093
4075
|
/** A newly created app repository branch. */
|
|
4094
|
-
export type AppRepoBranch =
|
|
4076
|
+
export type AppRepoBranch = Wire.AppRepoBranch;
|
|
4095
4077
|
/**
|
|
4096
4078
|
* Canonical package scopes, including the catch-all `all`. The public type is derived
|
|
4097
4079
|
* from this list so request parsing and TypeScript cannot drift.
|
|
4098
4080
|
*/
|
|
4099
4081
|
export declare const APP_PACKAGE_SCOPES: readonly ['ui', 'tools', 'interactions', 'types', 'processes', 'views', 'templates', 'dashboards', 'settings', 'widgets', 'activities', 'hooks', 'subscriptions', 'all'];
|
|
4100
4082
|
export type AppPackageScope = (typeof APP_PACKAGE_SCOPES)[number];
|
|
4101
|
-
export type AppPackageEventHook =
|
|
4102
|
-
export type AppPackageHooks =
|
|
4103
|
-
export type AppEventHookDelivery =
|
|
4104
|
-
export type AppEventHookPayload =
|
|
4105
|
-
export type AppEventSubscriptionDefinition =
|
|
4106
|
-
export type AppPackage =
|
|
4083
|
+
export type AppPackageEventHook = Wire.AppPackageEventHook;
|
|
4084
|
+
export type AppPackageHooks = Wire.AppPackageHooks;
|
|
4085
|
+
export type AppEventHookDelivery = Wire.AppEventHookDelivery;
|
|
4086
|
+
export type AppEventHookPayload = Wire.AppEventHookPayload;
|
|
4087
|
+
export type AppEventSubscriptionDefinition = Wire.AppEventSubscriptionDefinition;
|
|
4088
|
+
export type AppPackage = Wire.AppPackage;
|
|
4107
4089
|
/**
|
|
4108
4090
|
* A single diagnostic produced while inspecting an app's registration state.
|
|
4109
4091
|
*/
|
|
4110
|
-
export type AppInspectionIssue =
|
|
4092
|
+
export type AppInspectionIssue = Wire.AppInspectionIssue;
|
|
4111
4093
|
/**
|
|
4112
4094
|
* Per-capability report of what an app's promoted package actually exposes,
|
|
4113
4095
|
* compared against what its manifest declares.
|
|
4114
4096
|
*/
|
|
4115
|
-
export type AppInspectionCapabilityReport =
|
|
4097
|
+
export type AppInspectionCapabilityReport = Wire.AppInspectionCapabilityReport;
|
|
4116
4098
|
/**
|
|
4117
4099
|
* Result of inspecting an app's registration: the resolved manifest state, what
|
|
4118
4100
|
* the promoted package actually exposes per capability, and diagnostics. This
|
|
@@ -4120,92 +4102,92 @@ export type AppInspectionCapabilityReport = z.infer<typeof AppInspectionCapabili
|
|
|
4120
4102
|
* Build › App inspection UI to verify what is registered vs declared, instead of
|
|
4121
4103
|
* inferring it from failed object/import calls.
|
|
4122
4104
|
*/
|
|
4123
|
-
export type AppInspectionResult =
|
|
4124
|
-
export type AppWidgetInfo =
|
|
4125
|
-
export type RenderingTemplateDefinition =
|
|
4126
|
-
export type RenderingTemplateDefinitionRef =
|
|
4127
|
-
export type AppManifest =
|
|
4128
|
-
export type AppManifestSource =
|
|
4105
|
+
export type AppInspectionResult = Wire.AppInspectionResult;
|
|
4106
|
+
export type AppWidgetInfo = Wire.AppWidgetInfo;
|
|
4107
|
+
export type RenderingTemplateDefinition = Wire.RenderingTemplateDefinition;
|
|
4108
|
+
export type RenderingTemplateDefinitionRef = Wire.RenderingTemplateDefinitionRef;
|
|
4109
|
+
export type AppManifest = Wire.AppManifest;
|
|
4110
|
+
export type AppManifestSource = Wire.AppManifestSource;
|
|
4129
4111
|
/**
|
|
4130
4112
|
* Binding between an MCP collection and an OAuth provider created at install time.
|
|
4131
4113
|
* Stored on AppInstallation so the runtime can look up the correct OAuth provider by ID,
|
|
4132
4114
|
* independent of manifest oauth_provider references (which may change).
|
|
4133
4115
|
*/
|
|
4134
|
-
export type AppInstallationOAuthBinding =
|
|
4116
|
+
export type AppInstallationOAuthBinding = Wire.AppInstallationOAuthBinding;
|
|
4135
4117
|
/**
|
|
4136
4118
|
* Binding between a named OAuth provider and the OAuth provider created for it at install time.
|
|
4137
4119
|
* Stored on AppInstallation so the runtime can resolve the correct OAuth provider for collections
|
|
4138
4120
|
* that reference a shared provider via MCPToolCollectionObject.oauth_provider.
|
|
4139
4121
|
*/
|
|
4140
|
-
export type AppInstallationProviderBinding =
|
|
4141
|
-
export type AppInstallation =
|
|
4142
|
-
export type AppInstallationWithManifest =
|
|
4122
|
+
export type AppInstallationProviderBinding = Wire.AppInstallationProviderBinding;
|
|
4123
|
+
export type AppInstallation = Wire.AppInstallation;
|
|
4124
|
+
export type AppInstallationWithManifest = Wire.AppInstallationWithManifest;
|
|
4143
4125
|
/** An installation whose app manifest could not be resolved (the app was deleted or is unpublished). */
|
|
4144
4126
|
export interface OrphanedAppInstallation extends Omit<AppInstallation, 'manifest'> {
|
|
4145
4127
|
manifest: null;
|
|
4146
4128
|
}
|
|
4147
|
-
export type AppInstallationListEntry =
|
|
4148
|
-
export type OAuthClientCredentials =
|
|
4149
|
-
export type AppOAuthCollectionParams =
|
|
4129
|
+
export type AppInstallationListEntry = Wire.AppInstallationListEntry;
|
|
4130
|
+
export type OAuthClientCredentials = Wire.OAuthClientCredentials;
|
|
4131
|
+
export type AppOAuthCollectionParams = Wire.AppOAuthCollectionParams;
|
|
4150
4132
|
/** One installer-supplied MCP API key. */
|
|
4151
|
-
export type McpApiKeyCredential =
|
|
4133
|
+
export type McpApiKeyCredential = Wire.McpApiKeyCredential;
|
|
4152
4134
|
/** Installer-supplied MCP API keys, keyed by collection id. */
|
|
4153
|
-
export type AppApiKeyCollectionParams =
|
|
4154
|
-
export type AppOAuthProviderParams =
|
|
4155
|
-
export type AppInstallationPayload =
|
|
4156
|
-
export type UpdateAppInstallationToolAllowlistPayload =
|
|
4157
|
-
export type AppInstallationKind =
|
|
4135
|
+
export type AppApiKeyCollectionParams = Wire.AppApiKeyCollectionParams;
|
|
4136
|
+
export type AppOAuthProviderParams = Wire.AppOAuthProviderParams;
|
|
4137
|
+
export type AppInstallationPayload = Wire.AppInstallationPayload;
|
|
4138
|
+
export type UpdateAppInstallationToolAllowlistPayload = Wire.UpdateAppInstallationToolAllowlistPayload;
|
|
4139
|
+
export type AppInstallationKind = Wire.AppInstallationKind;
|
|
4158
4140
|
/**
|
|
4159
4141
|
* A description of the tools provided by an app
|
|
4160
4142
|
*/
|
|
4161
|
-
export type AppToolCollection =
|
|
4143
|
+
export type AppToolCollection = Wire.AppToolCollection;
|
|
4162
4144
|
/**
|
|
4163
4145
|
* A tool and the app installation that provides it, inferred from `./api-schemas/project.js` — the
|
|
4164
4146
|
* module that owns it, because it converted with the Projects batch rather than with Apps.
|
|
4165
4147
|
*/
|
|
4166
|
-
export type ProjectToolInfo =
|
|
4148
|
+
export type ProjectToolInfo = Wire.ProjectToolInfo;
|
|
4167
4149
|
/**
|
|
4168
4150
|
* OAuth authentication status for an MCP tool collection
|
|
4169
4151
|
*/
|
|
4170
|
-
export type OAuthAuthStatus =
|
|
4152
|
+
export type OAuthAuthStatus = Wire.OAuthAuthStatus;
|
|
4171
4153
|
/**
|
|
4172
4154
|
* Response from OAuth authorization endpoint
|
|
4173
4155
|
*/
|
|
4174
|
-
export type OAuthAuthorizeResponse =
|
|
4156
|
+
export type OAuthAuthorizeResponse = Wire.OAuthAuthorizeResponse;
|
|
4175
4157
|
/**
|
|
4176
4158
|
* Payload for storing the static bearer token of an `auth: 'api_key'` MCP collection.
|
|
4177
4159
|
* The key is write-only — it is never echoed back by any endpoint.
|
|
4178
4160
|
*/
|
|
4179
|
-
export type SetMcpApiKeyRequest =
|
|
4161
|
+
export type SetMcpApiKeyRequest = Wire.SetMcpApiKeyRequest;
|
|
4180
4162
|
/** Whether an `auth: 'api_key'` MCP collection has a key stored, plus a display-only hint. */
|
|
4181
|
-
export type McpApiKeyStatus =
|
|
4182
|
-
export type McpOAuthTokenRequest =
|
|
4183
|
-
export type McpOAuthTokenResponse =
|
|
4184
|
-
export type McpOAuthConnectResponse =
|
|
4185
|
-
export type McpOAuthDisconnectResponse =
|
|
4163
|
+
export type McpApiKeyStatus = Wire.McpApiKeyStatus;
|
|
4164
|
+
export type McpOAuthTokenRequest = Wire.McpOAuthTokenRequest;
|
|
4165
|
+
export type McpOAuthTokenResponse = Wire.McpOAuthTokenResponse;
|
|
4166
|
+
export type McpOAuthConnectResponse = Wire.McpOAuthConnectResponse;
|
|
4167
|
+
export type McpOAuthDisconnectResponse = Wire.McpOAuthDisconnectResponse;
|
|
4186
4168
|
/**
|
|
4187
4169
|
* Response from OAuth metadata endpoint
|
|
4188
4170
|
*/
|
|
4189
|
-
export type OAuthMetadataResponse =
|
|
4171
|
+
export type OAuthMetadataResponse = Wire.OAuthMetadataResponse;
|
|
4190
4172
|
/**
|
|
4191
4173
|
* Configuration entry for an individual app in the CompositeApp shell.
|
|
4192
4174
|
* References an app installation by name.
|
|
4193
4175
|
*/
|
|
4194
|
-
export type CompositeAppEntry =
|
|
4176
|
+
export type CompositeAppEntry = Wire.CompositeAppEntry;
|
|
4195
4177
|
/**
|
|
4196
4178
|
* Logo overrides for the CompositeApp shell header.
|
|
4197
4179
|
* When provided, these URLs replace the default Vertesia logo.
|
|
4198
4180
|
*/
|
|
4199
|
-
export type CompositeAppLogoOverrides =
|
|
4181
|
+
export type CompositeAppLogoOverrides = Wire.CompositeAppLogoOverrides;
|
|
4200
4182
|
/**
|
|
4201
4183
|
* Message banner overrides for the shell header.
|
|
4202
4184
|
*/
|
|
4203
|
-
export type CompositeAppMessageStyle =
|
|
4204
|
-
export type CompositeAppMessageOverrides =
|
|
4185
|
+
export type CompositeAppMessageStyle = Wire.CompositeAppMessageStyle;
|
|
4186
|
+
export type CompositeAppMessageOverrides = Wire.CompositeAppMessageOverrides;
|
|
4205
4187
|
/**
|
|
4206
4188
|
* Switcher visibility overrides for the CompositeApp header.
|
|
4207
4189
|
*/
|
|
4208
|
-
export type CompositeAppSwitchersOverrides =
|
|
4190
|
+
export type CompositeAppSwitchersOverrides = Wire.CompositeAppSwitchersOverrides;
|
|
4209
4191
|
/**
|
|
4210
4192
|
* Header button visibility overrides for the CompositeApp header.
|
|
4211
4193
|
*
|
|
@@ -4213,7 +4195,7 @@ export type CompositeAppSwitchersOverrides = z.infer<typeof CompositeAppSwitcher
|
|
|
4213
4195
|
* Retained for backward compatibility and to seed the default header menu when no
|
|
4214
4196
|
* `headerMenu` has been configured yet.
|
|
4215
4197
|
*/
|
|
4216
|
-
export type CompositeAppHeaderOverrides =
|
|
4198
|
+
export type CompositeAppHeaderOverrides = Wire.CompositeAppHeaderOverrides;
|
|
4217
4199
|
/**
|
|
4218
4200
|
* User menu overrides for the CompositeApp.
|
|
4219
4201
|
*
|
|
@@ -4221,22 +4203,22 @@ export type CompositeAppHeaderOverrides = z.infer<typeof CompositeAppHeaderOverr
|
|
|
4221
4203
|
* Retained for backward compatibility and to seed the default header menu when no
|
|
4222
4204
|
* `headerMenu` has been configured yet.
|
|
4223
4205
|
*/
|
|
4224
|
-
export type CompositeAppUserMenuOverrides =
|
|
4206
|
+
export type CompositeAppUserMenuOverrides = Wire.CompositeAppUserMenuOverrides;
|
|
4225
4207
|
/**
|
|
4226
4208
|
* Theme overrides for the CompositeApp.
|
|
4227
4209
|
*/
|
|
4228
|
-
export type CompositeAppThemeOverrides =
|
|
4210
|
+
export type CompositeAppThemeOverrides = Wire.CompositeAppThemeOverrides;
|
|
4229
4211
|
/**
|
|
4230
4212
|
* Sidebar display overrides for the CompositeApp.
|
|
4231
4213
|
*/
|
|
4232
|
-
export type CompositeAppSidebarOverrides =
|
|
4214
|
+
export type CompositeAppSidebarOverrides = Wire.CompositeAppSidebarOverrides;
|
|
4233
4215
|
/**
|
|
4234
4216
|
* Card display overrides for the CompositeApp in the App Portal.
|
|
4235
4217
|
* Similar to AppManifest display properties, but specific to the CompositeApp card.
|
|
4236
4218
|
* Allows customers to customize the app portal card (not otherwise possible if using a
|
|
4237
4219
|
* shared, Vertesia-managed manifest across accounts).
|
|
4238
4220
|
*/
|
|
4239
|
-
export type CompositeAppCardOverrides =
|
|
4221
|
+
export type CompositeAppCardOverrides = Wire.CompositeAppCardOverrides;
|
|
4240
4222
|
/**
|
|
4241
4223
|
* Access control settings for a composite app nav item.
|
|
4242
4224
|
*
|
|
@@ -4244,7 +4226,7 @@ export type CompositeAppCardOverrides = z.infer<typeof CompositeAppCardOverrides
|
|
|
4244
4226
|
* access is granted when the user matches ANY list (OR logic).
|
|
4245
4227
|
* All empty/absent means visible to everyone. Admin users bypass all checks.
|
|
4246
4228
|
*/
|
|
4247
|
-
export type CompositeAppNavItemPermissions =
|
|
4229
|
+
export type CompositeAppNavItemPermissions = Wire.CompositeAppNavItemPermissions;
|
|
4248
4230
|
/**
|
|
4249
4231
|
* A navigable item in the sidebar menu.
|
|
4250
4232
|
* An "app" is just a nav-item with `appName` + `route: "/"` that has children.
|
|
@@ -4280,17 +4262,17 @@ export interface CompositeAppMenuNavItem {
|
|
|
4280
4262
|
* A top-level section heading in the sidebar menu.
|
|
4281
4263
|
* Sections are always at root level and contain nav-items.
|
|
4282
4264
|
*/
|
|
4283
|
-
export type CompositeAppMenuSection =
|
|
4284
|
-
export type CompositeAppHomePlugin =
|
|
4265
|
+
export type CompositeAppMenuSection = Wire.CompositeAppMenuSection;
|
|
4266
|
+
export type CompositeAppHomePlugin = Wire.CompositeAppHomePlugin;
|
|
4285
4267
|
/**
|
|
4286
4268
|
* Discriminator for a header item.
|
|
4287
4269
|
* The four built-ins (`app_portal`, `docs`, `help`, `user_menu`) seed the default
|
|
4288
4270
|
* header and cannot be deleted (only hidden/customized); `custom` items are fully
|
|
4289
4271
|
* user-defined buttons.
|
|
4290
4272
|
*/
|
|
4291
|
-
export type CompositeAppHeaderItemKind =
|
|
4273
|
+
export type CompositeAppHeaderItemKind = Wire.CompositeAppHeaderItemKind;
|
|
4292
4274
|
/** Where a header link opens. */
|
|
4293
|
-
export type CompositeAppHeaderItemTarget =
|
|
4275
|
+
export type CompositeAppHeaderItemTarget = Wire.CompositeAppHeaderItemTarget;
|
|
4294
4276
|
/**
|
|
4295
4277
|
* A single button in the CompositeApp header bar.
|
|
4296
4278
|
*
|
|
@@ -4299,16 +4281,16 @@ export type CompositeAppHeaderItemTarget = z.infer<typeof CompositeAppHeaderItem
|
|
|
4299
4281
|
* The `user_menu` item is special — it renders the account dropdown, so its `icon`,
|
|
4300
4282
|
* `href`, and `target` are ignored.
|
|
4301
4283
|
*/
|
|
4302
|
-
export type CompositeAppHeaderItem =
|
|
4284
|
+
export type CompositeAppHeaderItem = Wire.CompositeAppHeaderItem;
|
|
4303
4285
|
/**
|
|
4304
4286
|
* CompositeApp shell configuration.
|
|
4305
4287
|
* This is the main configuration interface for storing CompositeApp settings.
|
|
4306
4288
|
* Used as the MongoDB model for persisting CompositeApp configurations.
|
|
4307
4289
|
*/
|
|
4308
|
-
export type CompositeAppConfig =
|
|
4309
|
-
export type CompositeAppConfigPayload =
|
|
4310
|
-
export type ValidateUrlRequest =
|
|
4311
|
-
export type ValidateUrlResponse =
|
|
4290
|
+
export type CompositeAppConfig = Wire.CompositeAppConfig;
|
|
4291
|
+
export type CompositeAppConfigPayload = Wire.CompositeAppConfigPayload;
|
|
4292
|
+
export type ValidateUrlRequest = Wire.ValidateUrlRequest;
|
|
4293
|
+
export type ValidateUrlResponse = Wire.ValidateUrlResponse;
|
|
4312
4294
|
/**
|
|
4313
4295
|
* Result of DELETE /api/v1/apps/:id. With `?confirm=true` the cascade runs and
|
|
4314
4296
|
* `deleted: true` is set; without it the endpoint returns a dry-run summary so
|
|
@@ -4320,40 +4302,39 @@ export type ValidateUrlResponse = z.infer<typeof ValidateUrlResponseSchema>;
|
|
|
4320
4302
|
* the check fails closed, that surfaced as a 500 raised AFTER the app was
|
|
4321
4303
|
* already deleted. Deriving the type is what keeps the two from drifting again.
|
|
4322
4304
|
*/
|
|
4323
|
-
export type AppDeleteSummary =
|
|
4324
|
-
export type UpdateAppInstallationOAuthApprovalPayload =
|
|
4305
|
+
export type AppDeleteSummary = Wire.AppDeleteSummary;
|
|
4306
|
+
export type UpdateAppInstallationOAuthApprovalPayload = Wire.UpdateAppInstallationOAuthApprovalPayload;
|
|
4325
4307
|
|
|
4326
4308
|
// -----------------------------------------------------------------------------
|
|
4327
4309
|
// @vertesia/common: interaction.d.ts
|
|
4328
4310
|
// -----------------------------------------------------------------------------
|
|
4329
4311
|
import type { CompletionResult, ExecutionTokenUsage, JSONSchema, Modalities, PromptCacheDiagnostic, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
|
|
4330
|
-
import type { z } from 'zod';
|
|
4331
|
-
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';
|
|
4332
|
-
import type { InteractionExecutionConfigurationSchema } from './api-schemas/store.js';
|
|
4333
4312
|
import type { ExecutionEnvironmentRef } from './environment.js';
|
|
4313
|
+
import type { InferenceProfileSnapshot } from './inference-profile.js';
|
|
4334
4314
|
import type { ProjectRef } from './project.js';
|
|
4335
4315
|
import type { PopulatedPromptSegmentDef } from './prompt.js';
|
|
4336
4316
|
import type { TextArtifactReference } from './store/conversation-state.js';
|
|
4337
4317
|
import type { AccountRef } from './user.js';
|
|
4318
|
+
import type * as Wire from './wire-types.generated.js';
|
|
4338
4319
|
/**
|
|
4339
4320
|
* `RunDataStorageLevel` and `ConfigModes` live in `./interaction-values.js` so the API schemas can
|
|
4340
4321
|
* read them without importing this module back. Re-exported here so every existing import path keeps
|
|
4341
4322
|
* working.
|
|
4342
4323
|
*/
|
|
4343
4324
|
export * from './interaction-values.js';
|
|
4344
|
-
export type InteractionExecutionError =
|
|
4325
|
+
export type InteractionExecutionError = Wire.InteractionExecutionError;
|
|
4345
4326
|
/**
|
|
4346
4327
|
* Configuration for stripping large data from conversation history
|
|
4347
4328
|
* to prevent JSON serialization issues and reduce storage bloat.
|
|
4348
4329
|
*/
|
|
4349
|
-
export type ConversationStripOptions =
|
|
4330
|
+
export type ConversationStripOptions = Wire.ConversationStripOptions;
|
|
4350
4331
|
/**
|
|
4351
4332
|
* Reference to an interaction in the catalog.
|
|
4352
4333
|
* Used in catalog listing. The id is composed of the namespace and the interaction name.
|
|
4353
4334
|
* Stored interactions can use `oid:` prefix.
|
|
4354
4335
|
* If no prefix is used it fallback on `oid:`.
|
|
4355
4336
|
*/
|
|
4356
|
-
export type CatalogInteractionRef =
|
|
4337
|
+
export type CatalogInteractionRef = Wire.CatalogInteractionRef;
|
|
4357
4338
|
export interface CatalogTagQuery {
|
|
4358
4339
|
tag?: string;
|
|
4359
4340
|
}
|
|
@@ -4367,28 +4348,23 @@ export interface ExecuteInteractionByEndpointQuery {
|
|
|
4367
4348
|
export interface ExecuteInteractionByEndpointHeaders {
|
|
4368
4349
|
'x-interaction-tag'?: string;
|
|
4369
4350
|
}
|
|
4370
|
-
export
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
hasVideo?: boolean;
|
|
4375
|
-
}
|
|
4376
|
-
export type InCodePrompt = z.infer<typeof InCodePromptSchema>;
|
|
4377
|
-
export type InCodeInteraction = z.infer<typeof InCodeInteractionSchema>;
|
|
4378
|
-
export type ResolvedCatalogInteraction = z.infer<typeof ResolvedCatalogInteractionSchema>;
|
|
4351
|
+
export type ResolveInteractionQuery = Wire.ResolveInteractionQuery;
|
|
4352
|
+
export type InCodePrompt = Wire.InCodePrompt;
|
|
4353
|
+
export type InCodeInteraction = Wire.InCodeInteraction;
|
|
4354
|
+
export type ResolvedCatalogInteraction = Wire.ResolvedCatalogInteraction;
|
|
4379
4355
|
export type InteractionSpec = Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'>;
|
|
4380
4356
|
/**
|
|
4381
4357
|
* The payload to query the interaction endpoints
|
|
4382
4358
|
*/
|
|
4383
|
-
export type InteractionEndpointQuery =
|
|
4359
|
+
export type InteractionEndpointQuery = Wire.InteractionEndpointQuery;
|
|
4384
4360
|
/**
|
|
4385
4361
|
* A description of an interaction endpoint.
|
|
4386
4362
|
*/
|
|
4387
|
-
export type InteractionEndpoint =
|
|
4388
|
-
export type InteractionTags =
|
|
4389
|
-
export type InteractionRef =
|
|
4363
|
+
export type InteractionEndpoint = Wire.InteractionEndpoint;
|
|
4364
|
+
export type InteractionTags = Wire.InteractionTags;
|
|
4365
|
+
export type InteractionRef = Wire.InteractionRef;
|
|
4390
4366
|
/** An interaction reduced to the fields a name picker needs. */
|
|
4391
|
-
export type InteractionName =
|
|
4367
|
+
export type InteractionName = Wire.InteractionName;
|
|
4392
4368
|
/**
|
|
4393
4369
|
* An interaction reference carrying the schemas an export needs to reconstruct it.
|
|
4394
4370
|
*
|
|
@@ -4397,8 +4373,8 @@ export type InteractionName = z.infer<typeof InteractionNameSchema>;
|
|
|
4397
4373
|
* canonical alias — the alias publishes as a bare reference, with no members to omit — and the
|
|
4398
4374
|
* interface also overstated each prompt template, which an export populates with `inputSchema` alone.
|
|
4399
4375
|
*/
|
|
4400
|
-
export type InteractionRefWithSchema =
|
|
4401
|
-
export type InteractionsExportPayload =
|
|
4376
|
+
export type InteractionRefWithSchema = Wire.InteractionRefWithSchema;
|
|
4377
|
+
export type InteractionsExportPayload = Wire.InteractionsExportPayload;
|
|
4402
4378
|
export declare enum InteractionStatus {
|
|
4403
4379
|
draft = "draft",
|
|
4404
4380
|
published = "published",
|
|
@@ -4416,13 +4392,13 @@ export declare enum ExecutionRunStatus {
|
|
|
4416
4392
|
* Schema can be stored or specified as a reference to an external schema.
|
|
4417
4393
|
* We only support "store:" references for now
|
|
4418
4394
|
*/
|
|
4419
|
-
export type SchemaRef =
|
|
4420
|
-
export type CachePolicy =
|
|
4421
|
-
export type InteractionVisibility =
|
|
4422
|
-
export type Interaction =
|
|
4423
|
-
export type InteractionCreatePayload =
|
|
4424
|
-
export type InteractionUpdatePayload =
|
|
4425
|
-
export type InteractionPublishPayload =
|
|
4395
|
+
export type SchemaRef = Wire.SchemaRef;
|
|
4396
|
+
export type CachePolicy = Wire.CachePolicy;
|
|
4397
|
+
export type InteractionVisibility = Wire.InteractionVisibility;
|
|
4398
|
+
export type Interaction = Wire.Interaction;
|
|
4399
|
+
export type InteractionCreatePayload = Wire.InteractionCreatePayload;
|
|
4400
|
+
export type InteractionUpdatePayload = Wire.InteractionUpdatePayload;
|
|
4401
|
+
export type InteractionPublishPayload = Wire.InteractionPublishPayload;
|
|
4426
4402
|
export interface InteractionDeletePayload {
|
|
4427
4403
|
/**
|
|
4428
4404
|
* When true, also delete every interaction in the same family as the target:
|
|
@@ -4432,10 +4408,10 @@ export interface InteractionDeletePayload {
|
|
|
4432
4408
|
*/
|
|
4433
4409
|
cascade?: boolean;
|
|
4434
4410
|
}
|
|
4435
|
-
export type InteractionForkPayload =
|
|
4436
|
-
export type InteractionExecutionPayload =
|
|
4437
|
-
export type NamedInteractionExecutionPayload =
|
|
4438
|
-
export type ConversationVisibility =
|
|
4411
|
+
export type InteractionForkPayload = Wire.InteractionForkPayload;
|
|
4412
|
+
export type InteractionExecutionPayload = Wire.InteractionExecutionPayload;
|
|
4413
|
+
export type NamedInteractionExecutionPayload = Wire.NamedInteractionExecutionPayload;
|
|
4414
|
+
export type ConversationVisibility = Wire.ConversationVisibility;
|
|
4439
4415
|
/**
|
|
4440
4416
|
* Defines the scope for agent search operations.
|
|
4441
4417
|
*/
|
|
@@ -4449,63 +4425,63 @@ export declare enum AgentSearchScope {
|
|
|
4449
4425
|
* Context triggers for auto-injection of skills.
|
|
4450
4426
|
* When these conditions match, the skill is automatically injected into the agent context.
|
|
4451
4427
|
*/
|
|
4452
|
-
export type SkillContextTriggers =
|
|
4428
|
+
export type SkillContextTriggers = Wire.SkillContextTriggers;
|
|
4453
4429
|
/**
|
|
4454
4430
|
* Configuration options for Agent Runner functionality.
|
|
4455
4431
|
* These options control how interactions are exposed and executed in the Agent Runner.
|
|
4456
4432
|
*/
|
|
4457
|
-
export type AgentRunnerOptions =
|
|
4433
|
+
export type AgentRunnerOptions = Wire.AgentRunnerOptions;
|
|
4458
4434
|
export type { EmailChannel, EmailRouteData, InteractiveChannel, UserChannel, } from './email.js';
|
|
4459
4435
|
export { isEmailChannel, isInteractiveChannel, } from './email.js';
|
|
4460
4436
|
/**
|
|
4461
4437
|
* A tool invocation executed before the first model turn of a conversation.
|
|
4462
4438
|
* Results are injected into the initial context so the agent starts with them in hand.
|
|
4463
4439
|
*/
|
|
4464
|
-
export type InitialToolCall =
|
|
4465
|
-
export type AsyncConversationExecutionPayload =
|
|
4466
|
-
export type AsyncInteractionExecutionPayload =
|
|
4440
|
+
export type InitialToolCall = Wire.InitialToolCall;
|
|
4441
|
+
export type AsyncConversationExecutionPayload = Wire.AsyncConversationExecutionPayload;
|
|
4442
|
+
export type AsyncInteractionExecutionPayload = Wire.AsyncInteractionExecutionPayload;
|
|
4467
4443
|
/**
|
|
4468
4444
|
* @discriminator type
|
|
4469
4445
|
*/
|
|
4470
|
-
export type AsyncExecutionPayload =
|
|
4471
|
-
export type AsyncExecutionResult =
|
|
4446
|
+
export type AsyncExecutionPayload = Wire.AsyncExecutionPayload;
|
|
4447
|
+
export type AsyncExecutionResult = Wire.AsyncExecutionResult;
|
|
4472
4448
|
/**
|
|
4473
4449
|
* Telemetry context for streaming mode.
|
|
4474
4450
|
* Contains info not available in current_state needed to send LlmCallEvent.
|
|
4475
4451
|
*/
|
|
4476
|
-
export type StreamingTelemetryContext =
|
|
4452
|
+
export type StreamingTelemetryContext = Wire.StreamingTelemetryContext;
|
|
4477
4453
|
/**
|
|
4478
4454
|
* Options for storing inference results to cloud storage
|
|
4479
4455
|
*/
|
|
4480
|
-
export type ResultStorageOptions =
|
|
4481
|
-
export type AsyncCompletionMode =
|
|
4456
|
+
export type ResultStorageOptions = Wire.ResultStorageOptions;
|
|
4457
|
+
export type AsyncCompletionMode = Wire.AsyncCompletionMode;
|
|
4482
4458
|
/**
|
|
4483
4459
|
* Streaming-specific options (only needed when stream=true)
|
|
4484
4460
|
*/
|
|
4485
|
-
export type StreamingOptions =
|
|
4461
|
+
export type StreamingOptions = Wire.StreamingOptions;
|
|
4486
4462
|
/**
|
|
4487
4463
|
* Options for async completion and/or streaming LLM responses
|
|
4488
4464
|
*/
|
|
4489
|
-
export type AsyncCompletionOptions =
|
|
4465
|
+
export type AsyncCompletionOptions = Wire.AsyncCompletionOptions;
|
|
4490
4466
|
/**
|
|
4491
4467
|
* The kinds of Vertesia resource an agent tool can report having created, updated, or deleted.
|
|
4492
4468
|
* Restricted to resources that have a real detail route to navigate to — do not emit a reference
|
|
4493
4469
|
* for a mutation with no meaningful navigation target. Add new kinds only once their route exists.
|
|
4494
4470
|
*/
|
|
4495
|
-
export type AgentResourceType =
|
|
4496
|
-
export type AgentResourceAction =
|
|
4471
|
+
export type AgentResourceType = Wire.AgentResourceType;
|
|
4472
|
+
export type AgentResourceAction = Wire.AgentResourceAction;
|
|
4497
4473
|
/**
|
|
4498
4474
|
* A navigable reference to a resource an agent tool mutated. Tools return these as tool-result
|
|
4499
4475
|
* metadata (see {@link ToolResultMeta.resources}); the conversation runtime promotes them onto the
|
|
4500
4476
|
* tool's completed lifecycle message so the UI can render deterministic deep links and an
|
|
4501
4477
|
* end-of-turn "resources changed" summary — independent of any link the model writes in prose.
|
|
4502
4478
|
*/
|
|
4503
|
-
export type AgentResourceReference =
|
|
4479
|
+
export type AgentResourceReference = Wire.AgentResourceReference;
|
|
4504
4480
|
/**
|
|
4505
4481
|
* Metadata a tool executor may attach to its result. Kept as an open record for forward
|
|
4506
4482
|
* compatibility while typing the fields the runtime interprets.
|
|
4507
4483
|
*/
|
|
4508
|
-
export type ToolResultMeta =
|
|
4484
|
+
export type ToolResultMeta = Wire.ToolResultMeta;
|
|
4509
4485
|
export interface ToolResultContent {
|
|
4510
4486
|
content: string;
|
|
4511
4487
|
/**
|
|
@@ -4533,12 +4509,12 @@ export interface ToolResultContent {
|
|
|
4533
4509
|
* rather than throwing, and an empty/absent label falls back to the id.
|
|
4534
4510
|
*/
|
|
4535
4511
|
export declare function normalizeAgentResources(value: unknown): AgentResourceReference[];
|
|
4536
|
-
export type ToolResult =
|
|
4512
|
+
export type ToolResult = Wire.ToolResult;
|
|
4537
4513
|
/**
|
|
4538
4514
|
* The payload to sent the tool responses back to the target LLM
|
|
4539
4515
|
*/
|
|
4540
|
-
export type ToolResultsPayload =
|
|
4541
|
-
export type UserMessagePayload =
|
|
4516
|
+
export type ToolResultsPayload = Wire.ToolResultsPayload;
|
|
4517
|
+
export type UserMessagePayload = Wire.UserMessagePayload;
|
|
4542
4518
|
export declare enum RunSourceTypes {
|
|
4543
4519
|
api = "api",
|
|
4544
4520
|
cli = "cli",
|
|
@@ -4548,8 +4524,8 @@ export declare enum RunSourceTypes {
|
|
|
4548
4524
|
system = "system",
|
|
4549
4525
|
schedule = "schedule"
|
|
4550
4526
|
}
|
|
4551
|
-
export type RunSource =
|
|
4552
|
-
export type ExecutionRunInteraction =
|
|
4527
|
+
export type RunSource = Wire.RunSource;
|
|
4528
|
+
export type ExecutionRunInteraction = Wire.ExecutionRunInteraction;
|
|
4553
4529
|
export interface BaseExecutionRun<P = unknown> {
|
|
4554
4530
|
readonly id: string;
|
|
4555
4531
|
/**
|
|
@@ -4589,6 +4565,7 @@ export interface BaseExecutionRun<P = unknown> {
|
|
|
4589
4565
|
account: AccountRef;
|
|
4590
4566
|
project: ProjectRef;
|
|
4591
4567
|
config: InteractionExecutionConfiguration;
|
|
4568
|
+
inference_profile?: InferenceProfileSnapshot;
|
|
4592
4569
|
error?: InteractionExecutionError;
|
|
4593
4570
|
source: RunSource;
|
|
4594
4571
|
/**
|
|
@@ -4612,8 +4589,8 @@ export interface ExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
|
4612
4589
|
export interface PopulatedExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
4613
4590
|
interaction?: ExecutionRunInteraction;
|
|
4614
4591
|
}
|
|
4615
|
-
export type ExecutionRunWorkflow =
|
|
4616
|
-
export type PromptModalities =
|
|
4592
|
+
export type ExecutionRunWorkflow = Wire.ExecutionRunWorkflow;
|
|
4593
|
+
export type PromptModalities = Wire.PromptModalities;
|
|
4617
4594
|
export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionRun<P>, 'account' | 'project' | 'interaction'> {
|
|
4618
4595
|
account: string;
|
|
4619
4596
|
project: string;
|
|
@@ -4622,19 +4599,19 @@ export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionR
|
|
|
4622
4599
|
conversation?: unknown;
|
|
4623
4600
|
options?: StatelessExecutionOptions;
|
|
4624
4601
|
}
|
|
4625
|
-
export type ExecutionRunRef =
|
|
4626
|
-
export type InteractionExecutionConfiguration =
|
|
4627
|
-
export type GenerateInteractionPayload =
|
|
4628
|
-
export type GenerateTestDataPayload =
|
|
4629
|
-
export type GeneratedTestDataRecord =
|
|
4630
|
-
export type ImprovePromptPayloadConfig =
|
|
4631
|
-
export type ImprovePromptPayload =
|
|
4632
|
-
export type GeneratedInteractionPromptTemplate =
|
|
4633
|
-
export type GeneratedInteractionPromptSegment =
|
|
4634
|
-
export type GeneratedInteractionDefinition =
|
|
4635
|
-
export type PromptImprovementResponse =
|
|
4636
|
-
export type RateLimitRequestPayload =
|
|
4637
|
-
export type RateLimitRequestResponse =
|
|
4602
|
+
export type ExecutionRunRef = Wire.ExecutionRunRef;
|
|
4603
|
+
export type InteractionExecutionConfiguration = Wire.InteractionExecutionConfiguration;
|
|
4604
|
+
export type GenerateInteractionPayload = Wire.GenerateInteractionPayload;
|
|
4605
|
+
export type GenerateTestDataPayload = Wire.GenerateTestDataPayload;
|
|
4606
|
+
export type GeneratedTestDataRecord = Wire.GeneratedTestDataRecord;
|
|
4607
|
+
export type ImprovePromptPayloadConfig = Wire.ImprovePromptPayloadConfig;
|
|
4608
|
+
export type ImprovePromptPayload = Wire.ImprovePromptPayload;
|
|
4609
|
+
export type GeneratedInteractionPromptTemplate = Wire.GeneratedInteractionPromptTemplate;
|
|
4610
|
+
export type GeneratedInteractionPromptSegment = Wire.GeneratedInteractionPromptSegment;
|
|
4611
|
+
export type GeneratedInteractionDefinition = Wire.GeneratedInteractionDefinition;
|
|
4612
|
+
export type PromptImprovementResponse = Wire.PromptImprovementResponse;
|
|
4613
|
+
export type RateLimitRequestPayload = Wire.RateLimitRequestPayload;
|
|
4614
|
+
export type RateLimitRequestResponse = Wire.RateLimitRequestResponse;
|
|
4638
4615
|
/**
|
|
4639
4616
|
* Source of the resolved model configuration
|
|
4640
4617
|
*/
|
|
@@ -4657,29 +4634,27 @@ export declare enum ModelSource {
|
|
|
4657
4634
|
/**
|
|
4658
4635
|
* Resolved environment information
|
|
4659
4636
|
*/
|
|
4660
|
-
export type ResolvedEnvironmentInfo =
|
|
4637
|
+
export type ResolvedEnvironmentInfo = Wire.ResolvedEnvironmentInfo;
|
|
4661
4638
|
/**
|
|
4662
4639
|
* Resolved runtime configuration for an interaction
|
|
4663
4640
|
*/
|
|
4664
|
-
export type ResolvedRuntimeConfig =
|
|
4641
|
+
export type ResolvedRuntimeConfig = Wire.ResolvedRuntimeConfig;
|
|
4665
4642
|
/**
|
|
4666
4643
|
* Resolved execution info for an interaction.
|
|
4667
4644
|
* Contains the interaction ID, basic metadata, and the resolved runtime configuration
|
|
4668
4645
|
* (environment, model) that would be used at execution time.
|
|
4669
4646
|
*/
|
|
4670
|
-
export type ResolvedInteractionExecutionInfo =
|
|
4647
|
+
export type ResolvedInteractionExecutionInfo = Wire.ResolvedInteractionExecutionInfo;
|
|
4671
4648
|
export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
|
|
4672
4649
|
prompts: PopulatedPromptSegmentDef[];
|
|
4673
4650
|
}
|
|
4674
|
-
export type UpdateExecutionRunPayload =
|
|
4651
|
+
export type UpdateExecutionRunPayload = Wire.UpdateExecutionRunPayload;
|
|
4675
4652
|
|
|
4676
4653
|
// -----------------------------------------------------------------------------
|
|
4677
4654
|
// @vertesia/common: prompt.d.ts
|
|
4678
4655
|
// -----------------------------------------------------------------------------
|
|
4679
4656
|
import type { JSONSchema, PromptRole } from '@llumiverse/common';
|
|
4680
|
-
import type
|
|
4681
|
-
import type { ExportedPromptTemplateRefSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema } from './api-schemas/interaction.js';
|
|
4682
|
-
import type { PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, RenderPromptPayloadSchema, RenderPromptResponseSchema } from './api-schemas/prompt.js';
|
|
4657
|
+
import type * as Wire from './wire-types.generated.js';
|
|
4683
4658
|
export interface ChatPromptSchema {
|
|
4684
4659
|
role: PromptRole.user | PromptRole.assistant;
|
|
4685
4660
|
content: string;
|
|
@@ -4708,7 +4683,7 @@ export interface PopulatedPromptSegmentDef extends Omit<PromptSegmentDef, 'templ
|
|
|
4708
4683
|
export interface ExecutablePromptSegmentDef extends Omit<PromptSegmentDef, 'template'> {
|
|
4709
4684
|
template?: ExecutablePromptTemplate;
|
|
4710
4685
|
}
|
|
4711
|
-
export type PromptTemplateRef =
|
|
4686
|
+
export type PromptTemplateRef = Wire.PromptTemplateRef;
|
|
4712
4687
|
export declare enum TemplateType {
|
|
4713
4688
|
jst = "jst",
|
|
4714
4689
|
handlebars = "handlebars",
|
|
@@ -4720,24 +4695,24 @@ export interface ExecutablePromptTemplate {
|
|
|
4720
4695
|
content_type: TemplateType;
|
|
4721
4696
|
inputSchema?: JSONSchema;
|
|
4722
4697
|
}
|
|
4723
|
-
export type PromptTemplate =
|
|
4724
|
-
export type InteractionPromptTemplateInput =
|
|
4725
|
-
export type InteractionPromptSegmentInput =
|
|
4726
|
-
export type PromptTemplateForkPayload =
|
|
4727
|
-
export type PromptTemplateCreatePayload =
|
|
4728
|
-
export type PromptTemplateUpdatePayload =
|
|
4729
|
-
export type PromptTemplateInteractionVersion =
|
|
4730
|
-
export type PromptTemplateInteractionUsage =
|
|
4731
|
-
export type PromptTemplateInteractionsResponse =
|
|
4732
|
-
export type RenderPromptPayload =
|
|
4698
|
+
export type PromptTemplate = Wire.PromptTemplate;
|
|
4699
|
+
export type InteractionPromptTemplateInput = Wire.InteractionPromptTemplateInput;
|
|
4700
|
+
export type InteractionPromptSegmentInput = Wire.InteractionPromptSegmentInput;
|
|
4701
|
+
export type PromptTemplateForkPayload = Wire.PromptTemplateForkPayload;
|
|
4702
|
+
export type PromptTemplateCreatePayload = Wire.PromptTemplateCreatePayload;
|
|
4703
|
+
export type PromptTemplateUpdatePayload = Wire.PromptTemplateUpdatePayload;
|
|
4704
|
+
export type PromptTemplateInteractionVersion = Wire.PromptTemplateInteractionVersion;
|
|
4705
|
+
export type PromptTemplateInteractionUsage = Wire.PromptTemplateInteractionUsage;
|
|
4706
|
+
export type PromptTemplateInteractionsResponse = Wire.PromptTemplateInteractionsResponse;
|
|
4707
|
+
export type RenderPromptPayload = Wire.RenderPromptPayload;
|
|
4733
4708
|
/**
|
|
4734
4709
|
* What `POST /prompts/:id/render` answers with: the segment identity plus the rendered body.
|
|
4735
4710
|
*
|
|
4736
4711
|
* Stated here for the first time — the endpoint declared its response inline, so there has never
|
|
4737
4712
|
* been a name for it on either side of the wire.
|
|
4738
4713
|
*/
|
|
4739
|
-
export type RenderPromptResponse =
|
|
4740
|
-
export type ExportedPromptTemplateRef =
|
|
4714
|
+
export type RenderPromptResponse = Wire.RenderPromptResponse;
|
|
4715
|
+
export type ExportedPromptTemplateRef = Wire.ExportedPromptTemplateRef;
|
|
4741
4716
|
|
|
4742
4717
|
// -----------------------------------------------------------------------------
|
|
4743
4718
|
// @vertesia/common: skill.d.ts
|
|
@@ -4811,26 +4786,25 @@ export interface InjectedSkill {
|
|
|
4811
4786
|
// -----------------------------------------------------------------------------
|
|
4812
4787
|
// @vertesia/common: runs.d.ts
|
|
4813
4788
|
// -----------------------------------------------------------------------------
|
|
4814
|
-
import type
|
|
4815
|
-
import type { ComputeRunFacetsResponseSchema, ExecutionRunDocRefSchema, FindRunResultArraySchema, FindRunResultSchema, PopulatedExecutionRunResultSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunSearchMetaResponseSchema } from './api-schemas/interaction.js';
|
|
4789
|
+
import type * as Wire from './wire-types.generated.js';
|
|
4816
4790
|
/**
|
|
4817
4791
|
* The run ref is used to identify a run document in the storage
|
|
4818
4792
|
*/
|
|
4819
|
-
export type ExecutionRunDocRef =
|
|
4820
|
-
export type FindRunResult =
|
|
4821
|
-
export type FindRunResultArray =
|
|
4822
|
-
export type PopulatedExecutionRunResult =
|
|
4793
|
+
export type ExecutionRunDocRef = Wire.ExecutionRunDocRef;
|
|
4794
|
+
export type FindRunResult = Wire.FindRunResult;
|
|
4795
|
+
export type FindRunResultArray = Wire.FindRunResultArray;
|
|
4796
|
+
export type PopulatedExecutionRunResult = Wire.PopulatedExecutionRunResult;
|
|
4823
4797
|
/**
|
|
4824
4798
|
* Interaction execution payload for creating a new run
|
|
4825
4799
|
* It uses interaction field (from NamedInteractionExecutionPayload) to pass the interaction ID to run
|
|
4826
4800
|
*/
|
|
4827
|
-
export type RunCreatePayload =
|
|
4801
|
+
export type RunCreatePayload = Wire.RunCreatePayload;
|
|
4828
4802
|
/**
|
|
4829
4803
|
* Payload for cloning an existing ExecutionRun.
|
|
4830
4804
|
* Creates a new run document with the same interaction/config but fresh status.
|
|
4831
4805
|
* Used by fork flows to create a new ExecutionRun for the forked workflow.
|
|
4832
4806
|
*/
|
|
4833
|
-
export type RunClonePayload =
|
|
4807
|
+
export type RunClonePayload = Wire.RunClonePayload;
|
|
4834
4808
|
/**
|
|
4835
4809
|
* To be used as a value for a numeric or date filters
|
|
4836
4810
|
*/
|
|
@@ -4840,22 +4814,13 @@ export interface RangeValue {
|
|
|
4840
4814
|
lt?: number | string;
|
|
4841
4815
|
lte?: number | string;
|
|
4842
4816
|
}
|
|
4843
|
-
export type RunSearchMetaResponse =
|
|
4844
|
-
export type ComputeRunFacetsResponse =
|
|
4817
|
+
export type RunSearchMetaResponse = Wire.RunSearchMetaResponse;
|
|
4818
|
+
export type ComputeRunFacetsResponse = Wire.ComputeRunFacetsResponse;
|
|
4845
4819
|
|
|
4846
4820
|
// -----------------------------------------------------------------------------
|
|
4847
4821
|
// @vertesia/common: data-platform.d.ts
|
|
4848
4822
|
// -----------------------------------------------------------------------------
|
|
4849
|
-
import type
|
|
4850
|
-
/**
|
|
4851
|
-
* Data Platform Types
|
|
4852
|
-
*
|
|
4853
|
-
* Types for managing versioned analytical data stores with DuckDB + GCS storage.
|
|
4854
|
-
* Supports AI-manageable schemas and multi-table atomic operations.
|
|
4855
|
-
*/
|
|
4856
|
-
import type { z } from 'zod';
|
|
4857
|
-
import type { CreateDashboardPayloadSchema, CreateDashboardSnapshotPayloadSchema, DashboardArchiveResultSchema, DashboardBulkArchiveResultSchema, DashboardBulkDeleteResultSchema, DashboardDataSourceSchema, DashboardElasticsearchDslSchema, DashboardElasticsearchResultMappingSchema, DashboardItemSchema, DashboardLayoutSchema, DashboardPanelPositionSchema, DashboardPanelSchema, DashboardQuerySchema, DashboardSchema, DashboardSqlDataSourceSchema, DashboardStatusSchema, DashboardStoreElasticsearchDataSourceSchema, DashboardVersionItemSchema, DashboardVersioningPayloadSchema, DashboardVersioningStatusResponseSchema, DashboardVersionSchema, PromoteDashboardVersionPayloadSchema, UpdateDashboardPayloadSchema } from './api-schemas/dashboard.js';
|
|
4858
|
-
import type { AlterTableOperationSchema, AlterTablePayloadSchema, BatchQueryPayloadSchema, BatchQueryResultItemSchema, BatchQueryResultSchema, CreateDataStorePayloadSchema, CreateSnapshotPayloadSchema, CreateTablePayloadSchema, CreateTablesPayloadSchema, DataColumnForAISchema, DataColumnSchema, DataColumnTypeSchema, DataColumnUpdateSchema, DataForeignKeyForAISchema, DataForeignKeySchema, DataIndexSchema, DataRelationshipForAISchema, DataRelationshipSchema, DataRelationshipTypeSchema, DataSchemaForAISchema, DataSchemaSchema, DataStoreArchiveResultSchema, DataStoreDownloadInfoSchema, DataStoreFullSchemaResponseSchema, DataStoreItemSchema, DataStoreMutateRowsPayloadSchema, DataStoreMutateRowsResultSchema, DataStoreSchema, DataStoreSchemaResponseSchema, DataStoreStatusSchema, DataStoreTableDetailSchema, DataStoreTableDropResultSchema, DataStoreVersionSchema, DataStoreVersionTableStateSchema, DataTableForAISchema, DataTableSchema, DataTableSemanticTypeSchema, DataTableSummarySchema, GetDataStoreTableQuerySchema, ImportDataFormatSchema, ImportDataPayloadSchema, ImportDataSourceSchema, ImportJobSchema, ImportStatusSchema, ImportTableDataSchema, ListDataStoreVersionsQuerySchema, QueryPayloadSchema, QueryResultColumnSchema, QueryResultSchema, QueryValidationErrorSchema, QueryValidationPayloadSchema, QueryValidationResultSchema, SemanticColumnTypeSchema, UpdateSchemaPayloadSchema } from './api-schemas/data-store.js';
|
|
4823
|
+
import type * as Wire from './wire-types.generated.js';
|
|
4859
4824
|
/**
|
|
4860
4825
|
* Supported column data types for DuckDB tables.
|
|
4861
4826
|
*/
|
|
@@ -4871,7 +4836,7 @@ export declare const DataColumnType: {
|
|
|
4871
4836
|
readonly TIMESTAMP: 'TIMESTAMP';
|
|
4872
4837
|
readonly JSON: 'JSON';
|
|
4873
4838
|
};
|
|
4874
|
-
export type DataColumnType =
|
|
4839
|
+
export type DataColumnType = Wire.DataColumnType;
|
|
4875
4840
|
/**
|
|
4876
4841
|
* Semantic types that provide AI agents with context about column meaning.
|
|
4877
4842
|
*/
|
|
@@ -4887,7 +4852,7 @@ export declare const SemanticColumnType: {
|
|
|
4887
4852
|
readonly DATE_ISO: 'date_iso';
|
|
4888
4853
|
readonly IDENTIFIER: 'identifier';
|
|
4889
4854
|
};
|
|
4890
|
-
export type SemanticColumnType =
|
|
4855
|
+
export type SemanticColumnType = Wire.SemanticColumnType;
|
|
4891
4856
|
/**
|
|
4892
4857
|
* Mapping from DataColumnType to DuckDB SQL types.
|
|
4893
4858
|
*/
|
|
@@ -4895,40 +4860,40 @@ export declare const DATA_COLUMN_TYPE_TO_DUCKDB: Record<DataColumnType, string>;
|
|
|
4895
4860
|
/**
|
|
4896
4861
|
* Column definition for a data table.
|
|
4897
4862
|
*/
|
|
4898
|
-
export type DataColumn =
|
|
4863
|
+
export type DataColumn = Wire.DataColumn;
|
|
4899
4864
|
/**
|
|
4900
4865
|
* Foreign key constraint definition.
|
|
4901
4866
|
*/
|
|
4902
|
-
export type DataForeignKey =
|
|
4867
|
+
export type DataForeignKey = Wire.DataForeignKey;
|
|
4903
4868
|
/**
|
|
4904
4869
|
* Index definition for a table.
|
|
4905
4870
|
*/
|
|
4906
|
-
export type DataIndex =
|
|
4871
|
+
export type DataIndex = Wire.DataIndex;
|
|
4907
4872
|
/**
|
|
4908
4873
|
* Semantic type categorization for tables.
|
|
4909
4874
|
*/
|
|
4910
|
-
export type DataTableSemanticType =
|
|
4875
|
+
export type DataTableSemanticType = Wire.DataTableSemanticType;
|
|
4911
4876
|
/**
|
|
4912
4877
|
* Table definition within a data schema.
|
|
4913
4878
|
*/
|
|
4914
|
-
export type DataTable =
|
|
4879
|
+
export type DataTable = Wire.DataTable;
|
|
4915
4880
|
/**
|
|
4916
4881
|
* Summary view of a data table (for listings).
|
|
4917
4882
|
*/
|
|
4918
|
-
export type DataTableSummary =
|
|
4883
|
+
export type DataTableSummary = Wire.DataTableSummary;
|
|
4919
4884
|
/**
|
|
4920
4885
|
* Relationship type between tables.
|
|
4921
4886
|
*/
|
|
4922
|
-
export type DataRelationshipType =
|
|
4887
|
+
export type DataRelationshipType = Wire.DataRelationshipType;
|
|
4923
4888
|
/**
|
|
4924
4889
|
* Semantic relationship between tables for AI understanding.
|
|
4925
4890
|
*/
|
|
4926
|
-
export type DataRelationship =
|
|
4891
|
+
export type DataRelationship = Wire.DataRelationship;
|
|
4927
4892
|
/**
|
|
4928
4893
|
* Complete schema definition for a data store.
|
|
4929
4894
|
*/
|
|
4930
|
-
export type DataSchema =
|
|
4931
|
-
export type DataStoreFullSchemaResponse =
|
|
4895
|
+
export type DataSchema = Wire.DataSchema;
|
|
4896
|
+
export type DataStoreFullSchemaResponse = Wire.DataStoreFullSchemaResponse;
|
|
4932
4897
|
/**
|
|
4933
4898
|
* Data store lifecycle status.
|
|
4934
4899
|
*/
|
|
@@ -4938,25 +4903,25 @@ export declare const DataStoreStatus: {
|
|
|
4938
4903
|
readonly ERROR: 'error';
|
|
4939
4904
|
readonly ARCHIVED: 'archived';
|
|
4940
4905
|
};
|
|
4941
|
-
export type DataStoreStatus =
|
|
4906
|
+
export type DataStoreStatus = Wire.DataStoreStatus;
|
|
4942
4907
|
/**
|
|
4943
4908
|
* Summary view of a data store (for listings).
|
|
4944
4909
|
*/
|
|
4945
|
-
export type DataStoreItem =
|
|
4910
|
+
export type DataStoreItem = Wire.DataStoreItem;
|
|
4946
4911
|
/**
|
|
4947
4912
|
* Full data store with schema details.
|
|
4948
4913
|
*/
|
|
4949
|
-
export type DataStore =
|
|
4914
|
+
export type DataStore = Wire.DataStore;
|
|
4950
4915
|
/**
|
|
4951
4916
|
* Table state within a version.
|
|
4952
4917
|
*/
|
|
4953
|
-
export type DataStoreVersionTableState =
|
|
4918
|
+
export type DataStoreVersionTableState = Wire.DataStoreVersionTableState;
|
|
4954
4919
|
/**
|
|
4955
4920
|
* A point-in-time version of a data store.
|
|
4956
4921
|
*/
|
|
4957
|
-
export type DataStoreVersion =
|
|
4958
|
-
export type ListDataStoreVersionsQuery =
|
|
4959
|
-
export type GetDataStoreTableQuery =
|
|
4922
|
+
export type DataStoreVersion = Wire.DataStoreVersion;
|
|
4923
|
+
export type ListDataStoreVersionsQuery = Wire.ListDataStoreVersionsQuery;
|
|
4924
|
+
export type GetDataStoreTableQuery = Wire.GetDataStoreTableQuery;
|
|
4960
4925
|
/**
|
|
4961
4926
|
* Import job status.
|
|
4962
4927
|
*/
|
|
@@ -4967,40 +4932,40 @@ export declare const ImportStatus: {
|
|
|
4967
4932
|
readonly FAILED: 'failed';
|
|
4968
4933
|
readonly ROLLED_BACK: 'rolled_back';
|
|
4969
4934
|
};
|
|
4970
|
-
export type ImportStatus =
|
|
4935
|
+
export type ImportStatus = Wire.ImportStatus;
|
|
4971
4936
|
/**
|
|
4972
4937
|
* Import job tracking.
|
|
4973
4938
|
*/
|
|
4974
|
-
export type ImportJob =
|
|
4939
|
+
export type ImportJob = Wire.ImportJob;
|
|
4975
4940
|
/**
|
|
4976
4941
|
* Payload for creating a new data store.
|
|
4977
4942
|
*/
|
|
4978
|
-
export type CreateDataStorePayload =
|
|
4943
|
+
export type CreateDataStorePayload = Wire.CreateDataStorePayload;
|
|
4979
4944
|
/**
|
|
4980
4945
|
* Payload for creating a new table.
|
|
4981
4946
|
*/
|
|
4982
|
-
export type CreateTablePayload =
|
|
4947
|
+
export type CreateTablePayload = Wire.CreateTablePayload;
|
|
4983
4948
|
/**
|
|
4984
4949
|
* Payload for creating multiple tables atomically.
|
|
4985
4950
|
*/
|
|
4986
|
-
export type CreateTablesPayload =
|
|
4987
|
-
export type QueryValidationPayload =
|
|
4988
|
-
export type BatchQueryPayload =
|
|
4951
|
+
export type CreateTablesPayload = Wire.CreateTablesPayload;
|
|
4952
|
+
export type QueryValidationPayload = Wire.QueryValidationPayload;
|
|
4953
|
+
export type BatchQueryPayload = Wire.BatchQueryPayload;
|
|
4989
4954
|
/**
|
|
4990
4955
|
* Schema change operation types.
|
|
4991
4956
|
*/
|
|
4992
4957
|
/**
|
|
4993
4958
|
* @discriminator op
|
|
4994
4959
|
*/
|
|
4995
|
-
export type AlterTableOperation =
|
|
4960
|
+
export type AlterTableOperation = Wire.AlterTableOperation;
|
|
4996
4961
|
/**
|
|
4997
4962
|
* Payload for altering a table schema.
|
|
4998
4963
|
*/
|
|
4999
|
-
export type AlterTablePayload =
|
|
4964
|
+
export type AlterTablePayload = Wire.AlterTablePayload;
|
|
5000
4965
|
/**
|
|
5001
4966
|
* Payload for AI-driven bulk schema updates.
|
|
5002
4967
|
*/
|
|
5003
|
-
export type UpdateSchemaPayload =
|
|
4968
|
+
export type UpdateSchemaPayload = Wire.UpdateSchemaPayload;
|
|
5004
4969
|
/**
|
|
5005
4970
|
* Data source for import.
|
|
5006
4971
|
* - 'inline': data provided directly in the payload
|
|
@@ -5008,81 +4973,81 @@ export type UpdateSchemaPayload = z.infer<typeof UpdateSchemaPayloadSchema>;
|
|
|
5008
4973
|
* - 'url': data at an HTTPS URL
|
|
5009
4974
|
* - 'artifact': data from workflow artifact (resolved to GCS by tool)
|
|
5010
4975
|
*/
|
|
5011
|
-
export type ImportDataSource =
|
|
4976
|
+
export type ImportDataSource = Wire.ImportDataSource;
|
|
5012
4977
|
/**
|
|
5013
4978
|
* Data format for external sources.
|
|
5014
4979
|
*/
|
|
5015
|
-
export type ImportDataFormat =
|
|
4980
|
+
export type ImportDataFormat = Wire.ImportDataFormat;
|
|
5016
4981
|
/**
|
|
5017
4982
|
* Table data specification for import.
|
|
5018
4983
|
*/
|
|
5019
|
-
export type ImportTableData =
|
|
4984
|
+
export type ImportTableData = Wire.ImportTableData;
|
|
5020
4985
|
/**
|
|
5021
4986
|
* Payload for importing data into tables.
|
|
5022
4987
|
*/
|
|
5023
|
-
export type ImportDataPayload =
|
|
4988
|
+
export type ImportDataPayload = Wire.ImportDataPayload;
|
|
5024
4989
|
/**
|
|
5025
4990
|
* Payload for creating a named snapshot.
|
|
5026
4991
|
*/
|
|
5027
|
-
export type CreateSnapshotPayload =
|
|
4992
|
+
export type CreateSnapshotPayload = Wire.CreateSnapshotPayload;
|
|
5028
4993
|
/**
|
|
5029
4994
|
* Payload for executing a query.
|
|
5030
4995
|
*/
|
|
5031
|
-
export type QueryPayload =
|
|
4996
|
+
export type QueryPayload = Wire.QueryPayload;
|
|
5032
4997
|
/**
|
|
5033
4998
|
* Payload for mutating data rows with a single SQL statement.
|
|
5034
4999
|
*/
|
|
5035
|
-
export type DataStoreMutateRowsPayload =
|
|
5000
|
+
export type DataStoreMutateRowsPayload = Wire.DataStoreMutateRowsPayload;
|
|
5036
5001
|
/**
|
|
5037
5002
|
* Result from mutating rows in a data store.
|
|
5038
5003
|
*/
|
|
5039
|
-
export type DataStoreMutateRowsResult =
|
|
5004
|
+
export type DataStoreMutateRowsResult = Wire.DataStoreMutateRowsResult;
|
|
5040
5005
|
/**
|
|
5041
5006
|
* Column metadata in query results.
|
|
5042
5007
|
*/
|
|
5043
|
-
export type QueryResultColumn =
|
|
5008
|
+
export type QueryResultColumn = Wire.QueryResultColumn;
|
|
5044
5009
|
/**
|
|
5045
5010
|
* Query execution result.
|
|
5046
5011
|
*/
|
|
5047
|
-
export type QueryResult =
|
|
5048
|
-
export type BatchQueryResultItem =
|
|
5049
|
-
export type BatchQueryResult =
|
|
5050
|
-
export type QueryValidationError =
|
|
5051
|
-
export type QueryValidationResult =
|
|
5052
|
-
export type DataStoreDownloadInfo =
|
|
5053
|
-
export type DataStoreArchiveResult =
|
|
5012
|
+
export type QueryResult = Wire.QueryResult;
|
|
5013
|
+
export type BatchQueryResultItem = Wire.BatchQueryResultItem;
|
|
5014
|
+
export type BatchQueryResult = Wire.BatchQueryResult;
|
|
5015
|
+
export type QueryValidationError = Wire.QueryValidationError;
|
|
5016
|
+
export type QueryValidationResult = Wire.QueryValidationResult;
|
|
5017
|
+
export type DataStoreDownloadInfo = Wire.DataStoreDownloadInfo;
|
|
5018
|
+
export type DataStoreArchiveResult = Wire.DataStoreArchiveResult;
|
|
5054
5019
|
/**
|
|
5055
5020
|
* @discriminator schema_format
|
|
5056
5021
|
*/
|
|
5057
|
-
export type DataStoreSchemaResponse =
|
|
5058
|
-
export type DataStoreTableDetail =
|
|
5059
|
-
export type DataStoreTableDropResult =
|
|
5060
|
-
export type DashboardArchiveResult =
|
|
5061
|
-
export type DashboardBulkArchiveResult =
|
|
5062
|
-
export type DashboardBulkDeleteResult =
|
|
5063
|
-
export type DashboardVersioningStatusResponse =
|
|
5064
|
-
export type DashboardVersioningPayload =
|
|
5022
|
+
export type DataStoreSchemaResponse = Wire.DataStoreSchemaResponse;
|
|
5023
|
+
export type DataStoreTableDetail = Wire.DataStoreTableDetail;
|
|
5024
|
+
export type DataStoreTableDropResult = Wire.DataStoreTableDropResult;
|
|
5025
|
+
export type DashboardArchiveResult = Wire.DashboardArchiveResult;
|
|
5026
|
+
export type DashboardBulkArchiveResult = Wire.DashboardBulkArchiveResult;
|
|
5027
|
+
export type DashboardBulkDeleteResult = Wire.DashboardBulkDeleteResult;
|
|
5028
|
+
export type DashboardVersioningStatusResponse = Wire.DashboardVersioningStatusResponse;
|
|
5029
|
+
export type DashboardVersioningPayload = Wire.DashboardVersioningPayload;
|
|
5065
5030
|
/**
|
|
5066
5031
|
* Simplified column representation for AI agents.
|
|
5067
5032
|
*/
|
|
5068
|
-
export type DataColumnForAI =
|
|
5033
|
+
export type DataColumnForAI = Wire.DataColumnForAI;
|
|
5069
5034
|
/**
|
|
5070
5035
|
* Simplified foreign key representation for AI agents.
|
|
5071
5036
|
*/
|
|
5072
|
-
export type DataForeignKeyForAI =
|
|
5037
|
+
export type DataForeignKeyForAI = Wire.DataForeignKeyForAI;
|
|
5073
5038
|
/**
|
|
5074
5039
|
* Simplified table representation for AI agents.
|
|
5075
5040
|
*/
|
|
5076
|
-
export type DataTableForAI =
|
|
5041
|
+
export type DataTableForAI = Wire.DataTableForAI;
|
|
5077
5042
|
/**
|
|
5078
5043
|
* Simplified relationship representation for AI agents.
|
|
5079
5044
|
*/
|
|
5080
|
-
export type DataRelationshipForAI =
|
|
5045
|
+
export type DataRelationshipForAI = Wire.DataRelationshipForAI;
|
|
5081
5046
|
/**
|
|
5082
5047
|
* Simplified schema representation optimized for AI agent consumption.
|
|
5083
5048
|
* Provides semantic context for understanding the data model.
|
|
5084
5049
|
*/
|
|
5085
|
-
export type DataSchemaForAI =
|
|
5050
|
+
export type DataSchemaForAI = Wire.DataSchemaForAI;
|
|
5086
5051
|
/**
|
|
5087
5052
|
* Version retention configuration.
|
|
5088
5053
|
*/
|
|
@@ -5105,7 +5070,7 @@ export declare const DashboardStatus: {
|
|
|
5105
5070
|
/** Dashboard has been archived (soft deleted) */
|
|
5106
5071
|
readonly ARCHIVED: 'archived';
|
|
5107
5072
|
};
|
|
5108
|
-
export type DashboardStatus =
|
|
5073
|
+
export type DashboardStatus = Wire.DashboardStatus;
|
|
5109
5074
|
/**
|
|
5110
5075
|
* Named SQL query that maps to a Vega data source.
|
|
5111
5076
|
* Supports parameterized SQL with {{param_name}} placeholders.
|
|
@@ -5113,26 +5078,26 @@ export type DashboardStatus = z.infer<typeof DashboardStatusSchema>;
|
|
|
5113
5078
|
* @deprecated Use single `query` field on Dashboard instead. Multiple queries
|
|
5114
5079
|
* prevent cross-panel interactivity. Use JOINs/CTEs in a single query.
|
|
5115
5080
|
*/
|
|
5116
|
-
export type DashboardQuery =
|
|
5081
|
+
export type DashboardQuery = Wire.DashboardQuery;
|
|
5117
5082
|
/**
|
|
5118
5083
|
* Panel position within the dashboard grid.
|
|
5119
5084
|
*
|
|
5120
5085
|
* @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
|
|
5121
5086
|
*/
|
|
5122
|
-
export type DashboardPanelPosition =
|
|
5087
|
+
export type DashboardPanelPosition = Wire.DashboardPanelPosition;
|
|
5123
5088
|
/**
|
|
5124
5089
|
* Dashboard panel with Vega/Vega-Lite visualization.
|
|
5125
5090
|
*
|
|
5126
5091
|
* @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
|
|
5127
5092
|
* Combined specs enable cross-panel interactivity (selections filtering other panels).
|
|
5128
5093
|
*/
|
|
5129
|
-
export type DashboardPanel =
|
|
5094
|
+
export type DashboardPanel = Wire.DashboardPanel;
|
|
5130
5095
|
/**
|
|
5131
5096
|
* Dashboard layout configuration.
|
|
5132
5097
|
*
|
|
5133
5098
|
* @deprecated Layout is now handled within the Vega-Lite spec via vconcat/hconcat.
|
|
5134
5099
|
*/
|
|
5135
|
-
export type DashboardLayout =
|
|
5100
|
+
export type DashboardLayout = Wire.DashboardLayout;
|
|
5136
5101
|
/**
|
|
5137
5102
|
* Default layout configuration for dashboards.
|
|
5138
5103
|
*
|
|
@@ -5143,34 +5108,34 @@ export declare const DEFAULT_DASHBOARD_LAYOUT: DashboardLayout;
|
|
|
5143
5108
|
* Elasticsearch DSL supported by dashboard data sources.
|
|
5144
5109
|
* Queries execute through Vertesia Store, so project/security filtering remains server-side.
|
|
5145
5110
|
*/
|
|
5146
|
-
export type DashboardElasticsearchDsl =
|
|
5111
|
+
export type DashboardElasticsearchDsl = Wire.DashboardElasticsearchDsl;
|
|
5147
5112
|
/**
|
|
5148
5113
|
* How an Elasticsearch DSL result should be converted into Vega rows.
|
|
5149
5114
|
*/
|
|
5150
|
-
export type DashboardElasticsearchResultMapping =
|
|
5115
|
+
export type DashboardElasticsearchResultMapping = Wire.DashboardElasticsearchResultMapping;
|
|
5151
5116
|
/**
|
|
5152
5117
|
* Dashboard data source backed by a Data Platform SQL query.
|
|
5153
5118
|
*/
|
|
5154
|
-
export type DashboardSqlDataSource =
|
|
5119
|
+
export type DashboardSqlDataSource = Wire.DashboardSqlDataSource;
|
|
5155
5120
|
/**
|
|
5156
5121
|
* Dashboard data source backed by Vertesia Store Elasticsearch DSL.
|
|
5157
5122
|
*/
|
|
5158
|
-
export type DashboardStoreElasticsearchDataSource =
|
|
5123
|
+
export type DashboardStoreElasticsearchDataSource = Wire.DashboardStoreElasticsearchDataSource;
|
|
5159
5124
|
/**
|
|
5160
5125
|
* Data source for a Vega dashboard.
|
|
5161
5126
|
*/
|
|
5162
|
-
export type DashboardDataSource =
|
|
5127
|
+
export type DashboardDataSource = Wire.DashboardDataSource;
|
|
5163
5128
|
/**
|
|
5164
5129
|
* Dashboard definition contributed by an app package.
|
|
5165
5130
|
*
|
|
5166
5131
|
* App dashboard IDs are local to the app. The platform exposes them as
|
|
5167
5132
|
* `app:<app_name>:<id>` when listing or retrieving dashboards.
|
|
5168
5133
|
*/
|
|
5169
|
-
export type AppDashboardDefinition =
|
|
5134
|
+
export type AppDashboardDefinition = Wire.AppDashboardDefinition;
|
|
5170
5135
|
/**
|
|
5171
5136
|
* Summary view of a dashboard (for listings).
|
|
5172
5137
|
*/
|
|
5173
|
-
export type DashboardItem =
|
|
5138
|
+
export type DashboardItem = Wire.DashboardItem;
|
|
5174
5139
|
/**
|
|
5175
5140
|
* Full dashboard with SQL query and Vega-Lite specification.
|
|
5176
5141
|
*
|
|
@@ -5186,16 +5151,16 @@ export type DashboardItem = z.infer<typeof DashboardItemSchema>;
|
|
|
5186
5151
|
* - `layout` for grid positioning
|
|
5187
5152
|
* - No cross-panel interactivity
|
|
5188
5153
|
*/
|
|
5189
|
-
export type Dashboard =
|
|
5154
|
+
export type Dashboard = Wire.Dashboard;
|
|
5190
5155
|
/**
|
|
5191
5156
|
* Payload for creating a new dashboard.
|
|
5192
5157
|
* Requires a data source and spec (Vega-Lite).
|
|
5193
5158
|
*/
|
|
5194
|
-
export type CreateDashboardPayload =
|
|
5159
|
+
export type CreateDashboardPayload = Wire.CreateDashboardPayload;
|
|
5195
5160
|
/**
|
|
5196
5161
|
* Payload for updating a dashboard.
|
|
5197
5162
|
*/
|
|
5198
|
-
export type UpdateDashboardPayload =
|
|
5163
|
+
export type UpdateDashboardPayload = Wire.UpdateDashboardPayload;
|
|
5199
5164
|
/**
|
|
5200
5165
|
* Options for rendering a dashboard.
|
|
5201
5166
|
*/
|
|
@@ -5211,19 +5176,19 @@ export interface RenderDashboardOptions {
|
|
|
5211
5176
|
* A point-in-time version of a dashboard.
|
|
5212
5177
|
* Stores full snapshot inline (no external storage needed for small JSON documents).
|
|
5213
5178
|
*/
|
|
5214
|
-
export type DashboardVersion =
|
|
5179
|
+
export type DashboardVersion = Wire.DashboardVersion;
|
|
5215
5180
|
/**
|
|
5216
5181
|
* Summary view of a dashboard version (for listings).
|
|
5217
5182
|
*/
|
|
5218
|
-
export type DashboardVersionItem =
|
|
5183
|
+
export type DashboardVersionItem = Wire.DashboardVersionItem;
|
|
5219
5184
|
/**
|
|
5220
5185
|
* Payload for creating a named snapshot.
|
|
5221
5186
|
*/
|
|
5222
|
-
export type CreateDashboardSnapshotPayload =
|
|
5187
|
+
export type CreateDashboardSnapshotPayload = Wire.CreateDashboardSnapshotPayload;
|
|
5223
5188
|
/**
|
|
5224
5189
|
* Payload for promoting a version to current.
|
|
5225
5190
|
*/
|
|
5226
|
-
export type PromoteDashboardVersionPayload =
|
|
5227
|
-
export type DataColumnUpdate =
|
|
5191
|
+
export type PromoteDashboardVersionPayload = Wire.PromoteDashboardVersionPayload;
|
|
5192
|
+
export type DataColumnUpdate = Wire.DataColumnUpdate;
|
|
5228
5193
|
export {};
|
|
5229
5194
|
|