@vertesia/appgen-docs 1.5.0-dev.20260807.073259Z → 1.5.0-dev.20260901.005903Z

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.
@@ -180,6 +180,7 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
180
180
  get objects(): import("./index.js").ObjectsApi;
181
181
  get files(): import("./index.js").FilesApi;
182
182
  get processes(): import("./index.js").ProcessApi;
183
+ get processTestRuns(): import("./index.js").ProcessTestRunApi;
183
184
  get tasks(): import("./index.js").TaskApi;
184
185
  /**
185
186
  * Alias for store.types
@@ -234,14 +235,12 @@ export declare function decodeEndpoints(endpoints: string | Record<string, strin
234
235
  // @vertesia/client: AppsApi.d.ts
235
236
  // -----------------------------------------------------------------------------
236
237
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
237
- import type { AppApiKeyCollectionParams, AppBuildProgress, AppDeleteSummary, AppDevelopmentTaskDetails, AppDevelopmentTaskList, AppInspectionResult, AppInstallation, AppInstallationKind, AppInstallationListEntry, AppInstallationPayload, AppInstallationWithManifest, AppManifest, AppManifestData, AppPackage, AppPackageScope, AppRepoBranch, AppRepoCommits, AppRepoDocumentCommit, AppRepoRefs, AppRepoTree, AppScaffoldProgress, AppToolCollection, AppVersionListQuery, AppVersionRecord, CountResult, CreateAppRepoBranchRequest, DeleteAppVersionResponse, McpApiKeyStatus, ProjectRef, PromoteAppVersionResponse, RequireAtLeastOne, StartAppBuildRequest, StartAppBuildResponse, StartAppScaffoldRequest, StartAppScaffoldResponse, UpsertAppVersionRequest, ValidateUrlResponse } from '@vertesia/common';
238
- export interface OrphanedAppInstallation extends Omit<AppInstallation, 'manifest'> {
239
- manifest: null;
240
- }
238
+ import type { AgentRunResponse, AppApiKeyCollectionParams, AppBuildProgress, AppDeleteSummary, AppDevelopmentTaskDetails, AppDevelopmentTaskList, AppInspectionResult, AppInstallation, AppInstallationKind, AppInstallationListEntry, AppInstallationPayload, AppInstallationWithManifest, AppManifest, AppManifestData, AppPackage, AppPackageScope, AppRepoBranch, AppRepoCommits, AppRepoDocumentCommit, AppRepoRefs, AppRepoTree, AppScaffoldProgress, AppsQuery, AppToolCollection, AppVersionListQuery, AppVersionRecord, CountResult, CreateAppRepoBranchRequest, DeleteAppVersionResponse, McpApiKeyStatus, ProjectRef, PromoteAppVersionResponse, RequireAtLeastOne, StartAppBuildRequest, StartAppBuildResponse, StartAppDevelopmentTaskRequest, StartAppScaffoldRequest, StartAppScaffoldResponse, UpdateAppPayload, UpsertAppVersionRequest, ValidateUrlResponse } from '@vertesia/common';
239
+ export type { OrphanedAppInstallation } from '@vertesia/common';
241
240
  export default class AppsApi extends ApiTopic {
242
241
  constructor(parent: ClientBase);
243
242
  create(manifest: AppManifestData): Promise<AppManifest>;
244
- update(id: string, manifest: AppManifestData): Promise<AppManifest>;
243
+ update(id: string, manifest: UpdateAppPayload): Promise<AppManifest>;
245
244
  /**
246
245
  * Preview what the cascade delete would remove. Calls DELETE without confirm,
247
246
  * which the server treats as a dry-run and returns counts + paths.
@@ -334,8 +333,10 @@ export default class AppsApi extends ApiTopic {
334
333
  getRepoRefs(appIdOrName: string): Promise<AppRepoRefs>;
335
334
  /** List mutable development tasks represented by `agent/*` repository branches. */
336
335
  listDevelopmentTasks(appIdOrName: string): Promise<AppDevelopmentTaskList>;
337
- /** Get a development task and its latest parent Studio Assistant run, when started. */
336
+ /** Get a development task and its latest App Builder parent run, when started. */
338
337
  getDevelopmentTask(appIdOrName: string, taskId: string): Promise<AppDevelopmentTaskDetails>;
338
+ /** Start the policy-controlled App Builder parent on an existing development-task branch. */
339
+ startDevelopmentTask(appIdOrName: string, taskId: string, payload: StartAppDevelopmentTaskRequest): Promise<AgentRunResponse>;
339
340
  /** Create a repository branch from an existing branch, tag, or commit. */
340
341
  createRepoBranch(appIdOrName: string, payload: CreateAppRepoBranchRequest): Promise<AppRepoBranch>;
341
342
  /**
@@ -355,10 +356,11 @@ export default class AppsApi extends ApiTopic {
355
356
  */
356
357
  getSystemToolsPackage(scope?: string): Promise<AppPackage>;
357
358
  /**
358
- * @param ids - ids to filter by
359
+ * @param query - pass `{ scope: 'project' }` to list only the apps installed in, or built in,
360
+ * the current project. Defaults to every app visible to the account, including the public catalog.
359
361
  * @returns the app manifests but without the agent.tool property which can be big.
360
362
  */
361
- list(): Promise<AppManifest[]>;
363
+ list(query?: AppsQuery): Promise<AppManifest[]>;
362
364
  /**
363
365
  * Install the app with the given id in the current project.
364
366
  * @param appId - the id of the app to install
@@ -746,36 +748,14 @@ export default class SkillsApi extends ApiTopic {
746
748
  // -----------------------------------------------------------------------------
747
749
  import type { ExecutionResponse } from '@llumiverse/common';
748
750
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
749
- import type { ComputeRunFacetPayload, ExecutionRun, ExecutionRunDocRef, ExecutionRunRef, FindPayload, PopulatedExecutionRun, RunClonePayload, RunCreatePayload, RunListingFilters, RunListingQueryOptions, RunSearchPayload, ToolResultsPayload, UserMessagePayload } from '@vertesia/common';
750
- import { type EnhancedExecutionRun } from './InteractionOutput.js';
751
+ import type { ComputeRunFacetPayload, ComputeRunFacetsResponse, ExecutionRunDocRef, ExecutionRunRef, FindPayload, FindRunResult, PopulatedExecutionRun, RunClonePayload, RunCreatePayload, RunListingFilters, RunListingQueryOptions, RunSearchPayload, ToolResultsPayload, UserMessagePayload } from '@vertesia/common';
752
+ import { type EnhancedExecutionRun, type EnhancedInteractionExecutionResult } from './InteractionOutput.js';
751
753
  export interface FilterOption {
752
754
  id: string;
753
755
  name: string;
754
756
  count: number;
755
757
  }
756
- export interface ComputeRunFacetsResponse {
757
- environments?: {
758
- _id: string;
759
- count: number;
760
- }[];
761
- interactions?: {
762
- _id: string;
763
- count: number;
764
- }[];
765
- models?: {
766
- _id: string;
767
- count: number;
768
- }[];
769
- tags?: {
770
- _id: string;
771
- count: number;
772
- }[];
773
- status?: {
774
- _id: string;
775
- count: number;
776
- }[];
777
- total?: number;
778
- }
758
+ export type { ComputeRunFacetsResponse } from '@vertesia/common';
779
759
  export declare class RunsApi extends ApiTopic {
780
760
  constructor(parent: ClientBase);
781
761
  /**
@@ -785,7 +765,7 @@ export declare class RunsApi extends ApiTopic {
785
765
  * @returns InteractionResult[]
786
766
  **/
787
767
  list({ limit, offset, filters }: RunListingQueryOptions): Promise<ExecutionRunRef[]>;
788
- find(payload: FindPayload): Promise<ExecutionRun[]>;
768
+ find(payload: FindPayload): Promise<FindRunResult[]>;
789
769
  /**
790
770
  * Get a run by id
791
771
  *
@@ -802,7 +782,7 @@ export declare class RunsApi extends ApiTopic {
802
782
  create<ResultT = unknown, ParamsT = unknown>(payload: RunCreatePayload, options?: {
803
783
  timeoutMs?: number | false | null;
804
784
  signal?: AbortSignal;
805
- }): Promise<EnhancedExecutionRun<ResultT, ParamsT>>;
785
+ }): Promise<EnhancedInteractionExecutionResult<ResultT, ParamsT>>;
806
786
  /**
807
787
  * Send tool results and continues the conversation
808
788
  * @param payload
@@ -824,7 +804,7 @@ export declare class RunsApi extends ApiTopic {
824
804
  /**
825
805
  * Get the list of all runs facets
826
806
  * @param payload query payload to filter facet search
827
- * @returns ComputeRunFacetsResponse[]
807
+ * @returns Facet buckets and the total number of matching runs
828
808
  **/
829
809
  computeFacets(query: ComputeRunFacetPayload): Promise<ComputeRunFacetsResponse>;
830
810
  search(payload: RunSearchPayload): Promise<ExecutionRunRef[]>;
@@ -848,11 +828,11 @@ import { EmailApi } from './EmailApi.js';
848
828
  import { EmbeddingsApi } from './EmbeddingsApi.js';
849
829
  import { EventsApi } from './EventsApi.js';
850
830
  import { FilesApi } from './FilesApi.js';
851
- import { HiveMemoryApi } from './HiveMemoryApi.js';
852
831
  import { IndexingApi } from './IndexingApi.js';
853
832
  import { ObjectsApi } from './ObjectsApi.js';
854
833
  import { PendingAsksApi } from './PendingAsksApi.js';
855
834
  import { ProcessApi } from './ProcessApi.js';
835
+ import { ProcessTestRunApi } from './ProcessTestRunApi.js';
856
836
  import { QueryApi } from './QueryApi.js';
857
837
  import { RenderingApi } from './RenderingApi.js';
858
838
  import { SchedulesApi } from './SchedulesApi.js';
@@ -887,6 +867,7 @@ export declare class ZenoClient extends AbstractFetchClient<ZenoClient> {
887
867
  workflows: WorkflowsApi;
888
868
  schedules: SchedulesApi;
889
869
  processes: ProcessApi;
870
+ processTestRuns: ProcessTestRunApi;
890
871
  tasks: TaskApi;
891
872
  files: FilesApi;
892
873
  collections: CollectionsApi;
@@ -899,7 +880,6 @@ export declare class ZenoClient extends AbstractFetchClient<ZenoClient> {
899
880
  data: DataApi;
900
881
  indexing: IndexingApi;
901
882
  query: QueryApi;
902
- hiveMemory: HiveMemoryApi;
903
883
  rendering: RenderingApi;
904
884
  views: StoreViewsApi;
905
885
  }
@@ -908,15 +888,26 @@ export declare class ZenoClient extends AbstractFetchClient<ZenoClient> {
908
888
  // @vertesia/client: store/ObjectsApi.d.ts
909
889
  // -----------------------------------------------------------------------------
910
890
  import { ApiTopic } from '@vertesia/api-fetch-client';
911
- import { type BulkObjectCreateOptions, type BulkObjectCreateResult, type BulkObjectDeleteResult, type BulkObjectUpdateOptions, type BulkObjectUpdateResult, type Collection, type ComplexSearchPayload, type ComputedFacetResponse, type ComputeObjectFacetPayload, type ContentObject, type ContentObjectExportArtifactFile, type ContentObjectExportResult, type ContentObjectExportStatusResponse, type ContentObjectItem, type ContentObjectProcessingPriority, type ContentObjectTextResponse, type ContentSource, type CreateContentObjectPayload, canGenerateRendition, type DeleteContentObjectExportResponse, type DeleteContentObjectResult, type Embedding, type ExportPropertiesPayload, type ExportPropertiesResponse, type FindPayload, type GetFileUrlPayload, type GetFileUrlResponse, type GetRenditionParams, type GetRenditionResponse, type GetUploadUrlPayload, type ListContentObjectExportsResponse, type ListWorkflowRunsResponse, type ObjectSearchPayload, type ObjectSearchResponse, type SetObjectEmbeddingsResponse, type StartContentObjectExportRequest, type StartContentObjectExportResponse, type SupportedEmbeddingTypes, type ZenoBulkContentObjectExportComposeRequest, type ZenoBulkContentObjectExportPlanRequest, type ZenoBulkContentObjectExportPlanResponse, type ZenoBulkContentObjectExportRequest, type ZenoBulkContentObjectExportShardRequest, type ZenoBulkContentObjectExportShardResult, type ZenoBulkContentObjectExportSplitShardRequest, type ZenoBulkContentObjectExportSplitShardResponse } from '@vertesia/common';
891
+ import { type BulkObjectCreateOptions, type BulkObjectCreateResult, type BulkObjectDeleteResult, type BulkObjectUpdateOptions, type BulkObjectUpdateResult, type Collection, type ComplexSearchPayload, type ComputedFacetResponse, type ComputeObjectFacetPayload, type ContentObject, type ContentObjectExportArtifactFile, type ContentObjectExportResult, type ContentObjectExportStatusResponse, type ContentObjectItem, type ContentObjectProcessingPriority, type ContentObjectTextResponse, type ContentSource, type CreateContentObjectPayload, canGenerateRendition, type DeleteContentObjectExportResponse, type DeleteContentObjectResult, type Embedding, type ExportPropertiesPayload, type ExportPropertiesResponse, type FindPayload, type FullObjectSearchResponse, type GetFileUrlPayload, type GetFileUrlResponse, type GetRenditionParams, type GetRenditionResponse, type GetUploadUrlPayload, type ListContentObjectExportsResponse, type ListWorkflowRunsResponse, type ObjectSearchPayload, type ObjectSearchResponse, type ProjectedContentObjectApiResponse, type SetObjectEmbeddingsResponse, type StartContentObjectExportRequest, type StartContentObjectExportResponse, type SupportedEmbeddingTypes, type UpdateContentObjectPayload, type ZenoBulkContentObjectExportComposeRequest, type ZenoBulkContentObjectExportPlanRequest, type ZenoBulkContentObjectExportPlanResponse, type ZenoBulkContentObjectExportRequest, type ZenoBulkContentObjectExportShardRequest, type ZenoBulkContentObjectExportShardResult, type ZenoBulkContentObjectExportSplitShardRequest, type ZenoBulkContentObjectExportSplitShardResponse } from '@vertesia/common';
912
892
  export { getSupportedRenditionFormats, supportsVisualRendition } from '@vertesia/common';
913
893
  export { canGenerateRendition };
914
894
  import { StreamSource } from '../StreamSource.js';
915
895
  import { AnalyzeDocApi } from './AnalyzeDocApi.js';
916
896
  import type { ZenoClient } from './client.js';
897
+ /**
898
+ * The two write payloads, each widened at `content` so callers can hand us a browser `File` or a
899
+ * `StreamSource` and let the method upload it before sending the wire shape.
900
+ *
901
+ * They are separate on purpose: `POST /objects` and `PUT /objects/:id` publish distinct components,
902
+ * so deriving the update signature from the create payload would silently drift the day the two
903
+ * schemas diverge.
904
+ */
917
905
  type ContentObjectWritePayload = Omit<CreateContentObjectPayload, 'content'> & {
918
906
  content?: ContentSource | File | StreamSource;
919
907
  };
908
+ type ContentObjectUpdateWritePayload = Omit<UpdateContentObjectPayload, 'content'> & {
909
+ content?: ContentSource | File | StreamSource;
910
+ };
920
911
  export declare class ObjectsApi extends ApiTopic {
921
912
  client: ZenoClient;
922
913
  constructor(parent: ZenoClient);
@@ -957,14 +948,28 @@ export declare class ObjectsApi extends ApiTopic {
957
948
  private zenoBulkPost;
958
949
  listFolders(_path?: string): void;
959
950
  /** Find object based on query */
960
- find(payload: FindPayload): Promise<ContentObject[]>;
951
+ find(payload: FindPayload & {
952
+ select?: undefined;
953
+ }): Promise<ContentObject[]>;
954
+ find(payload: FindPayload & {
955
+ select: `+${string}`;
956
+ }): Promise<ContentObject[]>;
957
+ find(payload: FindPayload & {
958
+ select: string;
959
+ }): Promise<ProjectedContentObjectApiResponse[]>;
960
+ find(payload: FindPayload): Promise<ContentObject[] | ProjectedContentObjectApiResponse[]>;
961
961
  /** Count number of objects matching this query */
962
962
  count(payload: FindPayload): Promise<{
963
963
  count: number;
964
964
  }>;
965
965
  /** Search object — different from find because allow full text search */
966
+ search(payload: ComplexSearchPayload & {
967
+ select?: undefined;
968
+ }): Promise<FullObjectSearchResponse>;
966
969
  search(payload: ComplexSearchPayload): Promise<ObjectSearchResponse>;
967
- retrieve(id: string, select?: string): Promise<ContentObject>;
970
+ retrieve(id: string): Promise<ContentObject>;
971
+ retrieve(id: string, select: `+${string}` | undefined): Promise<ContentObject>;
972
+ retrieve(id: string, select: string): Promise<ProjectedContentObjectApiResponse>;
968
973
  getObjectText(id: string): Promise<ContentObjectTextResponse>;
969
974
  upload(source: StreamSource | File): Promise<{
970
975
  source: string;
@@ -1001,7 +1006,7 @@ export declare class ObjectsApi extends ApiTopic {
1001
1006
  * @param options.suppressWorkflows Deprecated. Events are always emitted; this suppresses the Temporal-backed delivery targets (workflow, agent, and process) — webhook deliveries still fire.
1002
1007
  * @returns The updated object or newly created revision
1003
1008
  */
1004
- update(id: string, payload: Partial<ContentObjectWritePayload>, options?: {
1009
+ update(id: string, payload: ContentObjectUpdateWritePayload, options?: {
1005
1010
  createRevision?: boolean;
1006
1011
  revisionLabel?: string;
1007
1012
  processing_priority?: ContentObjectProcessingPriority;
@@ -1058,7 +1063,7 @@ export declare class ObjectsApi extends ApiTopic {
1058
1063
  // @vertesia/client: store/CollectionsApi.d.ts
1059
1064
  // -----------------------------------------------------------------------------
1060
1065
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
1061
- import type { Collection, ComplexCollectionSearchQuery, ComplexSearchPayload, ComputeCollectionFacetPayload, ComputedFacetResponse, ComputeObjectFacetPayload, ContentObjectItem, ContentObjectStatus, CreateCollectionPayload, DynamicCollection, ObjectSearchResponse } from '@vertesia/common';
1066
+ import type { Collection, ComplexCollectionSearchQuery, ComplexSearchPayload, ComputeCollectionFacetPayload, ComputedFacetResponse, ComputeObjectFacetPayload, ContentObjectItem, ContentObjectStatus, CreateCollectionPayload, DynamicCollection, FullObjectSearchResponse, ObjectSearchResponse, UpdateCollectionPayload } from '@vertesia/common';
1062
1067
  export declare class CollectionsApi extends ApiTopic {
1063
1068
  constructor(parent: ClientBase);
1064
1069
  /**
@@ -1080,7 +1085,7 @@ export declare class CollectionsApi extends ApiTopic {
1080
1085
  */
1081
1086
  retrieve(collectionId: string): Promise<Collection | DynamicCollection>;
1082
1087
  create(payload: CreateCollectionPayload): Promise<Collection>;
1083
- update(collectionId: string, payload: Partial<CreateCollectionPayload>): Promise<{
1088
+ update(collectionId: string, payload: UpdateCollectionPayload): Promise<{
1084
1089
  id: string;
1085
1090
  }>;
1086
1091
  addMembers(collectionId: string, members: string[]): Promise<{
@@ -1093,6 +1098,9 @@ export declare class CollectionsApi extends ApiTopic {
1093
1098
  type?: string;
1094
1099
  }): Promise<ContentObjectItem[]>;
1095
1100
  computeFacets(collectionId: string, query: ComputeObjectFacetPayload): Promise<ComputedFacetResponse>;
1101
+ searchMembers(collectionId: string, payload: ComplexSearchPayload & {
1102
+ select?: undefined;
1103
+ }): Promise<FullObjectSearchResponse>;
1096
1104
  searchMembers(collectionId: string, payload: ComplexSearchPayload): Promise<ObjectSearchResponse>;
1097
1105
  deleteMembers(collectionId: string, members: string[]): Promise<{
1098
1106
  id: string;
@@ -1145,6 +1153,8 @@ export declare class CollectionsApi extends ApiTopic {
1145
1153
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
1146
1154
  import { type ActiveWorkstreamsQueryResult, type AgentArtifactContentResponse, type AgentArtifactUrlResponse, type AgentEvent, type AgentMessage, type AgentRun, type AgentRunDetailsStreamEvent, 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';
1147
1155
  export interface AgentRunStreamMessagesOptions {
1156
+ /** Resolve the stream when the root conversation becomes idle. Headless followers should opt in. */
1157
+ closeOnIdle?: boolean;
1148
1158
  onHistoryLoaded?: (messages: AgentMessage[]) => void;
1149
1159
  onHistoryError?: (error: unknown) => void;
1150
1160
  }
@@ -1238,7 +1248,8 @@ export declare class AgentsApi extends ApiTopic {
1238
1248
  bindWorkflowRun(id: string, payload: BindRunWorkflowPayload): Promise<AgentRun | ProcessRun>;
1239
1249
  /**
1240
1250
  * Send a signal to a running agent.
1241
- * Signals: "UserInput", "Stop", "FileUploaded", "FileRemoved"
1251
+ * Signals include "UserInput", "Stop", "ModelConfigChanged", "FileUploaded", "FileRemoved", and
1252
+ * "FileBatchClosed".
1242
1253
  */
1243
1254
  sendSignal(id: string, signalName: string, payload?: SignalAgentPayload): Promise<SignalAgentResponse>;
1244
1255
  /**
@@ -1441,7 +1452,7 @@ export declare class TypesApi extends ApiTopic {
1441
1452
  // @vertesia/client: store/FilesApi.d.ts
1442
1453
  // -----------------------------------------------------------------------------
1443
1454
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
1444
- import type { BucketReadAccessStatusResponse, BulkUploadUrlsPayload, BulkUploadUrlsResponse, DeleteFileResult, EnsureBucketReadAccessResponse, FileBucketResponse, FileListResponse, FileMetadataResponse, FileMetadataUpdateResult, GetFileUrlPayload, GetFileUrlResponse, GetUploadUrlPayload } from '@vertesia/common';
1455
+ import type { BucketCreateAccessStatusResponse, BucketReadAccessStatusResponse, BulkUploadUrlsPayload, BulkUploadUrlsResponse, DeleteFileResult, EnsureBucketCreateAccessResponse, EnsureBucketReadAccessResponse, FileBucketResponse, FileListResponse, FileMetadataResponse, FileMetadataUpdateResult, GetFileUrlPayload, GetFileUrlResponse, GetUploadUrlPayload } from '@vertesia/common';
1445
1456
  import { StreamSource } from '../StreamSource.js';
1446
1457
  export declare const MEMORIES_PREFIX = "memories";
1447
1458
  export declare const ARTIFACTS_PREFIX = "agents";
@@ -1482,6 +1493,8 @@ export declare class FilesApi extends ApiTopic {
1482
1493
  getOrCreateBucket(): Promise<FileBucketResponse>;
1483
1494
  ensureBucketReadAccess(principal: string): Promise<EnsureBucketReadAccessResponse>;
1484
1495
  getBucketReadAccessStatus(principal: string): Promise<BucketReadAccessStatusResponse>;
1496
+ ensureBucketCreateAccess(principal: string): Promise<EnsureBucketCreateAccessResponse>;
1497
+ getBucketCreateAccessStatus(principal: string): Promise<BucketCreateAccessStatusResponse>;
1485
1498
  list(prefix: string): Promise<FileListResponse>;
1486
1499
  getUploadUrl(payload: GetUploadUrlPayload): Promise<GetFileUrlResponse>;
1487
1500
  getDownloadUrl(file: string, name?: string, disposition?: 'inline' | 'attachment'): Promise<GetFileUrlResponse>;
@@ -1952,53 +1965,11 @@ export declare class DataApi extends ApiTopic {
1952
1965
  // @vertesia/client: store/QueryApi.d.ts
1953
1966
  // -----------------------------------------------------------------------------
1954
1967
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
1955
- /**
1956
- * Query payload for agent data access
1957
- */
1958
- export interface QueryPayload {
1959
- /** SQL query (uses ES SQL API) */
1960
- sql?: string;
1961
- /** ES|QL query (Elastic's piped query language) */
1962
- esql?: string;
1963
- /** Raw DSL query for full control */
1964
- dsl?: {
1965
- query?: Record<string, unknown>;
1966
- aggs?: Record<string, unknown>;
1967
- size?: number;
1968
- from?: number;
1969
- sort?: Array<Record<string, unknown>>;
1970
- };
1971
- /** Output format */
1972
- format?: 'json' | 'csv' | 'table';
1973
- }
1974
- /**
1975
- * Query result
1976
- */
1977
- export interface QueryResult {
1978
- /** Result type */
1979
- type: 'sql' | 'esql' | 'dsl';
1980
- /** Column definitions */
1981
- columns?: Array<{
1982
- name: string;
1983
- type: string;
1984
- }>;
1985
- /** Rows for SQL/ES|QL */
1986
- rows?: unknown[][];
1987
- /** Hits for DSL */
1988
- hits?: Array<{
1989
- id: string;
1990
- score: number;
1991
- source: unknown;
1992
- }>;
1993
- /** Total count */
1994
- total?: number;
1995
- /** Aggregations for DSL */
1996
- aggregations?: Record<string, unknown>;
1997
- /** Cursor for pagination (SQL) */
1998
- cursor?: string;
1999
- /** Query execution time in ms */
2000
- took?: number;
2001
- }
1968
+ import type { ContentQueryPayload, ContentQueryResult } from '@vertesia/common';
1969
+ /** @deprecated Use ContentQueryPayload from @vertesia/common. */
1970
+ export type QueryPayload = ContentQueryPayload;
1971
+ /** @deprecated Use ContentQueryResult from @vertesia/common. */
1972
+ export type QueryResult = ContentQueryResult;
2002
1973
  /**
2003
1974
  * API for querying documents using SQL, ES|QL, or raw Elasticsearch DSL.
2004
1975
  * All queries are automatically filtered based on the authenticated user's permissions.
@@ -2036,34 +2007,30 @@ export declare class QueryApi extends ApiTopic {
2036
2007
  * });
2037
2008
  * ```
2038
2009
  */
2039
- execute(payload: QueryPayload): Promise<QueryResult>;
2010
+ execute(payload: ContentQueryPayload): Promise<ContentQueryResult>;
2040
2011
  /**
2041
2012
  * Execute a SQL query
2042
2013
  */
2043
- sql(query: string): Promise<QueryResult>;
2014
+ sql(query: string): Promise<ContentQueryResult>;
2044
2015
  /**
2045
2016
  * Execute an ES|QL query
2046
2017
  */
2047
- esql(query: string): Promise<QueryResult>;
2018
+ esql(query: string): Promise<ContentQueryResult>;
2048
2019
  /**
2049
2020
  * Execute a DSL query
2050
2021
  */
2051
- dsl(query: QueryPayload['dsl']): Promise<QueryResult>;
2022
+ dsl(query: ContentQueryPayload['dsl']): Promise<ContentQueryResult>;
2052
2023
  }
2053
2024
 
2054
2025
  // -----------------------------------------------------------------------------
2055
2026
  // @vertesia/client: store/ProcessApi.d.ts
2056
2027
  // -----------------------------------------------------------------------------
2057
2028
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
2058
- import type { CreateProcessDefinitionPayload, ProcessDefinition, PublishProcessDefinitionPayload, RevertProcessDefinitionPayload, UpdateProcessDefinitionPayload } from '@vertesia/common';
2059
- export interface ListProcessDefinitionsQuery {
2060
- status?: string;
2061
- process?: string;
2062
- limit?: number;
2063
- offset?: number;
2064
- /** Include every revision/version instead of only the latest head revision. */
2029
+ import type { CreateProcessDefinitionPayload, CreateProcessTestSuitePayload, ListProcessDefinitionsQuery as ListProcessDefinitionsWireQuery, ListProcessTestRunsQuery, ProcessDefinition, ProcessTestRun, ProcessTestSuite, PublishProcessDefinitionPayload, RevertProcessDefinitionPayload, StartProcessTestRunPayload, UpdateProcessDefinitionPayload, UpdateProcessTestSuitePayload } from '@vertesia/common';
2030
+ export type ListProcessDefinitionsQuery = ListProcessDefinitionsWireQuery & {
2031
+ /** @deprecated Use the wire-compatible `all_versions` property. */
2065
2032
  allVersions?: boolean;
2066
- }
2033
+ };
2067
2034
  export declare class ProcessApi extends ApiTopic {
2068
2035
  constructor(parent: ClientBase);
2069
2036
  list(query?: ListProcessDefinitionsQuery): Promise<ProcessDefinition[]>;
@@ -2077,17 +2044,28 @@ export declare class ProcessApi extends ApiTopic {
2077
2044
  id: string;
2078
2045
  count: number;
2079
2046
  }>;
2047
+ listTestSuites(processId: string): Promise<ProcessTestSuite[]>;
2048
+ createTestSuite(processId: string, payload: CreateProcessTestSuitePayload): Promise<ProcessTestSuite>;
2049
+ updateTestSuite(processId: string, suiteId: string, payload: UpdateProcessTestSuitePayload): Promise<ProcessTestSuite>;
2050
+ deleteTestSuite(processId: string, suiteId: string): Promise<{
2051
+ id: string;
2052
+ count: number;
2053
+ }>;
2054
+ startTestRun(processId: string, payload: StartProcessTestRunPayload): Promise<ProcessTestRun>;
2055
+ listTestRuns(processId: string, query?: ListProcessTestRunsQuery): Promise<ProcessTestRun[]>;
2056
+ retrieveTestRun(processId: string, runId: string): Promise<ProcessTestRun>;
2057
+ cancelTestRun(processId: string, runId: string): Promise<ProcessTestRun>;
2080
2058
  }
2081
2059
 
2082
2060
  // -----------------------------------------------------------------------------
2083
2061
  // @vertesia/common: store/store.d.ts
2084
2062
  // -----------------------------------------------------------------------------
2085
2063
  import type { z } from 'zod';
2086
- import type { ContentObjectTypeRefSchema } from '../api-schemas/app-lifecycle.js';
2087
- 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, RevisionInfoSchema, SetObjectEmbeddingsResponseSchema, StartContentObjectExportRequestSchema, StartContentObjectExportResponseSchema, TranscriptSchema, TranscriptSegmentSchema, UpdateContentObjectHeadersSchema, UpdateContentObjectQuerySchema } from '../api-schemas/content.js';
2064
+ import type { ContentObjectTypeRefSchema, InCodeTypeRefSchema, StoredTypeRefSchema } from '../api-schemas/app-lifecycle.js';
2065
+ 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';
2088
2066
  import type { MarkdownRenditionFormatSchema } from '../api-schemas/document-processing.js';
2089
- import type { CreateWorkflowRulePayloadSchema, WorkflowRuleItemSchema, WorkflowRuleSchema } from '../api-schemas/events.js';
2090
- import type { BucketReadAccessStatusResponseSchema, BulkUploadUrlsPayloadSchema, BulkUploadUrlsResponseSchema, CopyFilePayloadSchema, CopyFileResponseSchema, DeleteFileResultSchema, EnsureBucketReadAccessPayloadSchema, EnsureBucketReadAccessResponseSchema, FileBucketResponseSchema, FileDeleteQuerySchema, FileListQuerySchema, FileListResponseSchema, FileMetadataQuerySchema, FileMetadataResponseSchema, FileMetadataUpdateResultSchema, GetFileUrlPayloadSchema, GetFileUrlResponseSchema, GetUploadUrlPayloadSchema, SetFileMetadataPayloadSchema } from '../api-schemas/files.js';
2067
+ import type { CreateWorkflowRulePayloadSchema, UpdateWorkflowRulePayloadSchema, WorkflowRuleItemSchema, WorkflowRuleSchema } from '../api-schemas/events.js';
2068
+ 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';
2091
2069
  import type { ColumnLayoutSchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeExtractionGroundingPolicySchema, ContentTypeExtractionGroundingReviewPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, IntakePageRangesSchema, IntakePageScopeSchema, IntakeVisionDetailSchema, UpdateContentObjectTypePayloadSchema } from '../api-schemas/store.js';
2092
2070
  import type { JSONObject } from '../json.js';
2093
2071
  import type { SupportedEmbeddingTypes } from '../project.js';
@@ -2126,34 +2104,6 @@ export declare enum ContentObjectStatus {
2126
2104
  export type Embedding = z.infer<typeof EmbeddingSchema>;
2127
2105
  export type ExportContentObjectsIncludeOptions = z.infer<typeof ExportContentObjectsIncludeOptionsSchema>;
2128
2106
  export type ExportContentObjectsFilter = z.infer<typeof ExportContentObjectsFilterSchema>;
2129
- /**
2130
- * Exported object identity and context for a single content object row.
2131
- */
2132
- export interface ExportedContentObjectRecord {
2133
- id: string;
2134
- name: string;
2135
- location: string;
2136
- external_id?: string;
2137
- type?: {
2138
- ref_type?: 'stored' | 'incode' | 'untyped';
2139
- id?: string;
2140
- code?: string;
2141
- name?: string;
2142
- };
2143
- status?: ContentObjectStatus;
2144
- content?: {
2145
- source?: string;
2146
- type?: string;
2147
- name?: string;
2148
- etag?: string;
2149
- };
2150
- created_at: string;
2151
- updated_at: string;
2152
- revision?: RevisionInfo;
2153
- properties?: Record<string, unknown>;
2154
- metadata?: Record<string, unknown>;
2155
- embeddings?: Partial<Record<SupportedEmbeddingTypes, Embedding>>;
2156
- }
2157
2107
  export type StartContentObjectExportRequest = z.infer<typeof StartContentObjectExportRequestSchema>;
2158
2108
  export type StartContentObjectExportResponse = z.infer<typeof StartContentObjectExportResponseSchema>;
2159
2109
  export interface ZenoBulkContentObjectExportRequest extends Omit<StartContentObjectExportRequest, 'compression'> {
@@ -2228,6 +2178,10 @@ export type ContentObjectApiTypeRef = z.infer<typeof ContentObjectApiTypeRefSche
2228
2178
  export type ContentObjectApiRevision = z.infer<typeof ContentObjectApiRevisionSchema>;
2229
2179
  export type ContentObjectItemApiResponse = z.infer<typeof ContentObjectItemApiResponseSchema>;
2230
2180
  export type ContentObjectApiResponse = z.infer<typeof ContentObjectApiResponseSchema>;
2181
+ export type ProjectedContentObjectApiResponse = z.infer<typeof ProjectedContentObjectApiResponseSchema>;
2182
+ export type FullObjectSearchResponse = Omit<ObjectSearchResponse, 'results'> & {
2183
+ results: ContentObjectItemApiResponse[];
2184
+ };
2231
2185
  export interface ContentObject<T = JSONObject> extends ContentObjectItem<T> {
2232
2186
  text?: string;
2233
2187
  text_etag?: string;
@@ -2362,7 +2316,7 @@ export interface TypeDetectionMetadata {
2362
2316
  min_pages?: number;
2363
2317
  detected_at: string;
2364
2318
  }
2365
- export interface TemporalMediaMetadata extends ContentMetadata {
2319
+ interface TemporalMediaMetadata extends ContentMetadata {
2366
2320
  duration?: number;
2367
2321
  transcript?: Transcript;
2368
2322
  }
@@ -2409,7 +2363,7 @@ export interface DocumentMetadata extends ContentMetadata {
2409
2363
  sections?: TextSection[];
2410
2364
  }
2411
2365
  /** Grounded-extraction summary stored on document metadata. Additional keys allowed. */
2412
- export interface GroundedMetadata {
2366
+ interface GroundedMetadata {
2413
2367
  verdict?: string;
2414
2368
  confidence?: number;
2415
2369
  citation_count?: number;
@@ -2423,15 +2377,6 @@ export interface GroundedMetadata {
2423
2377
  [key: string]: unknown;
2424
2378
  }
2425
2379
  export type Transcript = z.infer<typeof TranscriptSchema>;
2426
- export declare const TextExtractionStatus: {
2427
- readonly success: 'success';
2428
- };
2429
- export interface TranscriptMediaResult {
2430
- hasText: boolean;
2431
- status: typeof TextExtractionStatus.success;
2432
- message?: string;
2433
- gladiaTranscriptionId?: string;
2434
- }
2435
2380
  export type TranscriptSegment = z.infer<typeof TranscriptSegmentSchema>;
2436
2381
  export type ContentSource = z.infer<typeof ContentSourceSchema>;
2437
2382
  export type RevisionInfo = z.infer<typeof RevisionInfoSchema>;
@@ -2502,14 +2447,7 @@ export type CreateContentObjectPayload<T = JSONObject> = Omit<CreateContentObjec
2502
2447
  /** Known metadata interfaces remain assignable; the runtime contract deliberately accepts any object keys. */
2503
2448
  metadata?: ContentObjectItem['metadata'];
2504
2449
  };
2505
- type LegacyContentObjectTypeRef = Partial<ContentObjectTypeRef> & {
2506
- ref_type?: 'stored' | 'incode';
2507
- id?: string;
2508
- code?: string;
2509
- name?: string;
2510
- };
2511
2450
  export declare function getContentTypeRefId(type: ContentObjectTypeRef): string;
2512
- export declare function withContentObjectTypeRefDiscriminator(type: ContentObjectTypeRef | LegacyContentObjectTypeRef): ContentObjectTypeRef;
2513
2451
  export type ContentObjectTypeRef = z.infer<typeof ContentObjectTypeRefSchema>;
2514
2452
  export type ComplexSearchPayload = z.infer<typeof ComplexSearchPayloadSchema>;
2515
2453
  export type ColumnLayout = z.infer<typeof ColumnLayoutSchema>;
@@ -2525,18 +2463,6 @@ export type IntakePageScope = z.infer<typeof IntakePageScopeSchema>;
2525
2463
  * enforced at runtime.
2526
2464
  */
2527
2465
  export type IntakePageRanges = z.infer<typeof IntakePageRangesSchema>;
2528
- /** Rendering settings behind a vision detail name (platform defaults, project-overridable
2529
- * via `configuration.intake.vision_profiles`). */
2530
- export interface IntakeVisionProfileSettings {
2531
- /** Render resolution in dots per inch. */
2532
- dpi: number;
2533
- /** Maximum height/width of the rendered page image in pixels. */
2534
- max_hw: number;
2535
- /** JPEG quality (0-100). */
2536
- quality: number;
2537
- /** grayscale renders gray always; auto keeps color when the plan asks for it. */
2538
- color_mode: 'grayscale' | 'auto';
2539
- }
2540
2466
  export type ContentTypeExtractionGroundingReviewPolicy = z.infer<typeof ContentTypeExtractionGroundingReviewPolicySchema>;
2541
2467
  export type ContentTypeExtractionGroundingPolicy = z.infer<typeof ContentTypeExtractionGroundingPolicySchema>;
2542
2468
  export type ContentTypeIntakePolicy = z.infer<typeof ContentTypeIntakePolicySchema>;
@@ -2549,12 +2475,6 @@ export type ContentObjectTypeCatalogEntry = z.infer<typeof ContentObjectTypeCata
2549
2475
  * The itnerface to be used whend efining types in a plugin app.
2550
2476
  */
2551
2477
  export type InCodeTypeSpec = Omit<InCodeTypeDefinition, 'id'>;
2552
- /**
2553
- * Returns true if the type id represents an in-code type (system or app-contributed).
2554
- * In-code types use colon-separated ids like "sys:Invoice" or "app:myapp:Article".
2555
- * These types are read-only and cannot be edited through the UI.
2556
- */
2557
- export declare function isInCodeType(typeId: string): boolean;
2558
2478
  export type CreateContentObjectTypePayload = z.infer<typeof CreateContentObjectTypePayloadSchema>;
2559
2479
  export type UpdateContentObjectTypePayload = z.infer<typeof UpdateContentObjectTypePayloadSchema>;
2560
2480
  export declare enum WorkflowRuleInputType {
@@ -2586,7 +2506,7 @@ export interface GetRenditionParams {
2586
2506
  }
2587
2507
  export type GetRenditionResponse = z.infer<typeof GetRenditionResponseSchema>;
2588
2508
  export type ObjectSearchResponse = z.infer<typeof ObjectSearchResponseSchema>;
2589
- export type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
2509
+ type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
2590
2510
  /**
2591
2511
  * Check if a specific rendition format can be generated from a content type.
2592
2512
  *
@@ -2600,37 +2520,15 @@ export type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
2600
2520
  * canGenerateRendition('text/markdown', MarkdownRenditionFormat.pdf) // true
2601
2521
  */
2602
2522
  export declare function canGenerateRendition(contentType: string | undefined, format: RenditionFormat | string): boolean;
2603
- /**
2604
- * Get the list of rendition formats supported for a given content type.
2605
- *
2606
- * @param contentType - The MIME type of the source content
2607
- * @returns Array of supported rendition formats, or empty array if none
2608
- *
2609
- * @example
2610
- * getSupportedRenditionFormats('image/png') // [jpeg, png, webp]
2611
- * getSupportedRenditionFormats('text/markdown') // [pdf, docx]
2612
- * getSupportedRenditionFormats('text/html') // []
2613
- */
2614
- export declare function getSupportedRenditionFormats(contentType: string | undefined): RenditionFormat[];
2615
- /**
2616
- * Check if a content type supports visual (image) renditions.
2617
- * This is useful for determining if a document can have thumbnails/previews.
2618
- *
2619
- * @param contentType - The MIME type of the source content
2620
- * @returns true if the content type can generate JPEG renditions
2621
- *
2622
- * @example
2623
- * supportsVisualRendition('image/png') // true
2624
- * supportsVisualRendition('application/pdf') // true
2625
- * supportsVisualRendition('text/markdown') // false
2626
- */
2627
- export declare function supportsVisualRendition(contentType: string | undefined): boolean;
2628
2523
  export type GetUploadUrlPayload = z.infer<typeof GetUploadUrlPayloadSchema>;
2629
2524
  export type GetFileUrlPayload = z.infer<typeof GetFileUrlPayloadSchema>;
2630
2525
  export type GetFileUrlResponse = z.infer<typeof GetFileUrlResponseSchema>;
2631
2526
  export type EnsureBucketReadAccessPayload = z.infer<typeof EnsureBucketReadAccessPayloadSchema>;
2632
2527
  export type EnsureBucketReadAccessResponse = z.infer<typeof EnsureBucketReadAccessResponseSchema>;
2633
2528
  export type BucketReadAccessStatusResponse = z.infer<typeof BucketReadAccessStatusResponseSchema>;
2529
+ export type EnsureBucketCreateAccessPayload = z.infer<typeof EnsureBucketCreateAccessPayloadSchema>;
2530
+ export type EnsureBucketCreateAccessResponse = z.infer<typeof EnsureBucketCreateAccessResponseSchema>;
2531
+ export type BucketCreateAccessStatusResponse = z.infer<typeof BucketCreateAccessStatusResponseSchema>;
2634
2532
  export type FileMetadataResponse = z.infer<typeof FileMetadataResponseSchema>;
2635
2533
  export type SetFileMetadataPayload = z.infer<typeof SetFileMetadataPayloadSchema>;
2636
2534
  export type FileMetadataUpdateResult = z.infer<typeof FileMetadataUpdateResultSchema>;
@@ -2650,6 +2548,72 @@ export declare enum ContentObjectProcessingPriority {
2650
2548
  normal = "normal",
2651
2549
  low = "low"
2652
2550
  }
2551
+ /**
2552
+ * Exported object identity and context for a single content object row.
2553
+ */
2554
+ export interface ExportedContentObjectRecord {
2555
+ id: string;
2556
+ name: string;
2557
+ location: string;
2558
+ external_id?: string;
2559
+ type?: {
2560
+ ref_type?: 'stored' | 'incode' | 'untyped';
2561
+ id?: string;
2562
+ code?: string;
2563
+ name?: string;
2564
+ };
2565
+ status?: ContentObjectStatus;
2566
+ content?: {
2567
+ source?: string;
2568
+ type?: string;
2569
+ name?: string;
2570
+ etag?: string;
2571
+ };
2572
+ created_at: string;
2573
+ updated_at: string;
2574
+ revision?: RevisionInfo;
2575
+ properties?: Record<string, unknown>;
2576
+ metadata?: Record<string, unknown>;
2577
+ embeddings?: Partial<Record<SupportedEmbeddingTypes, Embedding>>;
2578
+ }
2579
+ /**
2580
+ * Get the list of rendition formats supported for a given content type.
2581
+ *
2582
+ * @param contentType - The MIME type of the source content
2583
+ * @returns Array of supported rendition formats, or empty array if none
2584
+ *
2585
+ * @example
2586
+ * getSupportedRenditionFormats('image/png') // [jpeg, png, webp]
2587
+ * getSupportedRenditionFormats('text/markdown') // [pdf, docx]
2588
+ * getSupportedRenditionFormats('text/html') // []
2589
+ */
2590
+ export declare function getSupportedRenditionFormats(contentType: string | undefined): RenditionFormat[];
2591
+ /**
2592
+ * Check if a content type supports visual (image) renditions.
2593
+ * This is useful for determining if a document can have thumbnails/previews.
2594
+ *
2595
+ * @param contentType - The MIME type of the source content
2596
+ * @returns true if the content type can generate JPEG renditions
2597
+ *
2598
+ * @example
2599
+ * supportsVisualRendition('image/png') // true
2600
+ * supportsVisualRendition('application/pdf') // true
2601
+ * supportsVisualRendition('text/markdown') // false
2602
+ */
2603
+ export declare function supportsVisualRendition(contentType: string | undefined): boolean;
2604
+ export type InCodeTypeRef = z.infer<typeof InCodeTypeRefSchema>;
2605
+ export type StoredTypeRef = z.infer<typeof StoredTypeRefSchema>;
2606
+ type UpdateContentObjectPayloadWire = z.infer<typeof UpdateContentObjectPayloadSchema>;
2607
+ /**
2608
+ * Mirrors {@link CreateContentObjectPayload}: `properties` and `metadata` are reopened over the wire
2609
+ * type so the known metadata interfaces stay assignable and callers can name their property shape.
2610
+ * The runtime contract accepts any object keys for both.
2611
+ */
2612
+ export type UpdateContentObjectPayload<T = JSONObject> = Omit<UpdateContentObjectPayloadWire, 'properties' | 'metadata'> & {
2613
+ properties?: T;
2614
+ metadata?: ContentObjectItem['metadata'];
2615
+ };
2616
+ export type UpdateWorkflowRulePayload = z.infer<typeof UpdateWorkflowRulePayloadSchema>;
2653
2617
  export {};
2654
2618
 
2655
2619
  // -----------------------------------------------------------------------------
@@ -2668,18 +2632,18 @@ export {};
2668
2632
  * Client code only ever uses `AgentRun.id` — all Temporal workflow details
2669
2633
  * (workflowId, runId) are internal server concerns.
2670
2634
  */
2635
+ import type { ReasoningEffort } from '@llumiverse/common';
2671
2636
  import type { z } from 'zod';
2672
- import type { AgentArtifactContentResponseSchema, AgentArtifactUrlResponseSchema, AgentRunArchiveStateSchema, AgentRunArtifactQuerySchema, AgentRunArtifactsQuerySchema, AgentRunArtifactUploadHeadersSchema, AgentRunDetailsQuerySchema, AgentRunSchema, AgentRunUpdatesQuerySchema, AgentRunUpdatesResponseSchema, CreateAgentRunPayloadSchema, IngestAgentEventsPayloadSchema, IngestAgentEventsResponseSchema, ListAgentRunsQuerySchema, PostAgentRunUpdatePayloadSchema, PostAgentRunUpdateResponseSchema, SearchAgentRunsQuerySchema, SearchAgentRunsResponseSchema, SignalAgentResponseSchema, StreamAgentRunQuerySchema, TerminateAgentRunResponseSchema, UpdateAgentArtifactContentPayloadSchema, UpdateAgentArtifactContentResponseSchema } from '../api-schemas/agent-runs.js';
2637
+ import type { AgentArtifactContentResponseSchema, AgentArtifactUrlResponseSchema, AgentRunArchiveStateSchema, AgentRunArtifactQuerySchema, AgentRunArtifactsQuerySchema, AgentRunArtifactUploadHeadersSchema, AgentRunDetailsQuerySchema, AgentRunSchema, AgentRunUpdatesQuerySchema, AgentRunUpdatesResponseSchema, CreateAgentRunPayloadSchema, CreateProcessRunByIdPayloadSchema, CreateProcessRunWithDefinitionPayloadSchema, CreateRunPayloadSchema, IngestAgentEventsPayloadSchema, IngestAgentEventsResponseSchema, ListAgentRunsQuerySchema, PostAgentRunUpdatePayloadSchema, PostAgentRunUpdateResponseSchema, SearchAgentRunsQuerySchema, SearchAgentRunsResponseSchema, SignalAgentResponseSchema, StreamAgentRunQuerySchema, TerminateAgentRunResponseSchema, UpdateAgentArtifactContentPayloadSchema, UpdateAgentArtifactContentResponseSchema } from '../api-schemas/agent-runs.js';
2673
2638
  import type { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, RunKindSchema, RunTypeSchema } from '../api-schemas/app-lifecycle.js';
2674
2639
  import type { ProcessRunConfigSchema, ProcessRunTypeSchema } from '../api-schemas/process.js';
2675
- import type { BindRunWorkflowPayloadSchema } from '../api-schemas/workflow-runs.js';
2676
- import type { ConversationVisibility, InitialToolCall, InteractionExecutionConfiguration, RunSource } from '../interaction.js';
2640
+ import type { BindRunWorkflowPayloadSchema, RestartAgentRunPayloadSchema } from '../api-schemas/workflow-runs.js';
2641
+ import type { ConversationVisibility, InteractionExecutionConfiguration, RunSource } from '../interaction.js';
2677
2642
  import type { EventRef } from '../platform-event.js';
2678
2643
  import type { AgentToolApprovalMode } from './agent-approval.js';
2679
2644
  import type { ProcessDefinitionBody, ProcessState } from './process.js';
2680
- import type { StopSignal, UserInputSignal } from './signals.js';
2681
- import type { ContentObjectTypeRef } from './store.js';
2682
- import type { ConversationActivityState, ConversationFileRef, ConversationFileRemovedRef, WorkflowRunEvent } from './workflow.js';
2645
+ import type { ModelConfigChangedSignal, StopSignal, UserInputSignal } from './signals.js';
2646
+ import type { ConversationActivityState, ConversationFileBatchRef, ConversationFileRef, ConversationFileRemovedRef, WorkflowRunEvent } from './workflow.js';
2683
2647
  export type AgentRunStatus = z.infer<typeof AgentRunStatusSchema>;
2684
2648
  export type AgentRunArchiveState = z.infer<typeof AgentRunArchiveStateSchema>;
2685
2649
  export type AgentRunType = z.infer<typeof AgentRunTypeSchema>;
@@ -2689,7 +2653,7 @@ export type ProcessRunType = z.infer<typeof ProcessRunTypeSchema>;
2689
2653
  /**
2690
2654
  * Shared fields for all records stored in the agent_runs collection.
2691
2655
  */
2692
- export interface RunBase {
2656
+ interface RunBase {
2693
2657
  /** The stable identifier used by all client code */
2694
2658
  id: string;
2695
2659
  /** Internal discriminator key */
@@ -2741,60 +2705,6 @@ export interface RunBase {
2741
2705
  /** Timestamp when the document was last updated */
2742
2706
  updated_at: string;
2743
2707
  }
2744
- /**
2745
- * Shared fields between CreateAgentRunPayload and AgentRun.
2746
- *
2747
- * @typeParam TData - The interaction's expected input data type.
2748
- * @typeParam TProperties - The content type's property schema.
2749
- */
2750
- export interface AgentRunBase<TData = Record<string, unknown>, TProperties = Record<string, unknown>> {
2751
- /** Interaction ID or code (e.g. "sys:generic_question"). */
2752
- interaction: string;
2753
- /** Input parameters, typed per interaction */
2754
- data?: TData;
2755
- /** Execution configuration (environment, model, model_options, etc.) */
2756
- config?: InteractionExecutionConfiguration;
2757
- /** Whether the agent accepts user input */
2758
- interactive?: boolean;
2759
- /** How side-effecting tool actions are approved for interactive runs. */
2760
- tool_approval_mode?: AgentToolApprovalMode;
2761
- /** Tools configured for this run (+/- syntax supported) */
2762
- tool_names?: string[];
2763
- /** Builtin system skills activated before the first model turn. */
2764
- initial_skills?: string[];
2765
- /** Ordered, bounded hydration/read calls executed before the first model turn. */
2766
- initial_tool_calls?: InitialToolCall[];
2767
- /** Hard denylist of tool names: never exposed to the model, refused at execution time. */
2768
- excluded_tools?: string[];
2769
- /** Scoped collection (if any) */
2770
- collection_id?: string;
2771
- /**
2772
- * Denylist of MCP tool-collection ids deactivated for this run.
2773
- * `undefined`/empty means all installed/connected MCP collections are active (back-compat,
2774
- * and new servers stay active by default). Listed collections are excluded even if connected.
2775
- */
2776
- disabled_mcp_collections?: string[];
2777
- /** Content type linked to this run — defines the schema for `properties` */
2778
- content_type?: ContentObjectTypeRef;
2779
- /** Conversation visibility */
2780
- visibility?: ConversationVisibility;
2781
- /** User-defined or system tags for categorization */
2782
- tags?: string[];
2783
- /** Categories for organizing runs (e.g. "support", "analysis", "generation") */
2784
- categories?: string[];
2785
- /** Business metadata — typed by the linked content_type schema */
2786
- properties?: TProperties;
2787
- /** How the run was started */
2788
- source?: RunSource;
2789
- /** Schedule ID — set when this run was triggered by a Temporal schedule */
2790
- schedule_id?: string;
2791
- /** How the run was created */
2792
- source_type?: AgentRunType;
2793
- /**
2794
- * @deprecated Use source_type for creation source and run_type for runtime mode.
2795
- */
2796
- type?: AgentRunType;
2797
- }
2798
2708
  type AgentRunWire = z.infer<typeof AgentRunSchema>;
2799
2709
  /**
2800
2710
  * The wire contract is schema-derived; the two generic data bags remain caller-specializable.
@@ -2814,7 +2724,6 @@ export interface ProcessRun extends RunBase {
2814
2724
  process_state: ProcessState;
2815
2725
  config?: ProcessRunConfig;
2816
2726
  }
2817
- export type AnyAgentRun = AgentRun | ProcessRun;
2818
2727
  export type AutonomousRunResponse<TData = Record<string, unknown>, TProperties = Record<string, unknown>> = AgentRun<TData, TProperties>;
2819
2728
  export type SupervisedRunResponse = ProcessRun & {
2820
2729
  run_type: 'supervised';
@@ -2831,7 +2740,7 @@ export type CreateAgentRunPayload<TData = Record<string, unknown>, TProperties =
2831
2740
  data?: TData;
2832
2741
  properties?: TProperties;
2833
2742
  };
2834
- export interface ProcessRunInputPayload<TData = Record<string, unknown>, TSource = RunSource> {
2743
+ interface ProcessRunInputPayload<TData = Record<string, unknown>, TSource = RunSource> {
2835
2744
  process_id?: string;
2836
2745
  /** Optional published process version to pin. Defaults to the latest/head revision. */
2837
2746
  process_version?: number;
@@ -2847,7 +2756,7 @@ export interface ProcessRunInputPayload<TData = Record<string, unknown>, TSource
2847
2756
  export interface CreateProcessRunPayload<TData = Record<string, unknown>, TSource = RunSource> extends ProcessRunInputPayload<TData, TSource> {
2848
2757
  run_type: ProcessRunType;
2849
2758
  }
2850
- export interface RecordRunWorkflowPayload {
2759
+ interface RecordRunWorkflowPayload {
2851
2760
  /** Temporal workflow id. */
2852
2761
  workflow_id: string;
2853
2762
  /** First Temporal run id for this workflow. Required when the workflow has already started. */
@@ -2859,7 +2768,18 @@ export interface RecordRunWorkflowPayload {
2859
2768
  */
2860
2769
  export interface RecordAgentRunPayload<TData = Record<string, unknown>> extends RecordRunWorkflowPayload {
2861
2770
  run_kind?: 'agent';
2771
+ /**
2772
+ * Process run that owns this agent, when a process agent node recorded it. The run's
2773
+ * conversation stays on the parent under {@link workstream_id} — see the note on RunBase.
2774
+ */
2775
+ parent_run_id?: string;
2776
+ /** Workstream this run occupies inside its parent run (the process node id). */
2777
+ workstream_id?: string;
2862
2778
  interaction: string;
2779
+ title?: string;
2780
+ topic?: string;
2781
+ generate_topic?: boolean;
2782
+ generate_lessons?: boolean;
2863
2783
  first_workflow_run_id: string;
2864
2784
  schedule_id?: string;
2865
2785
  visibility?: ConversationVisibility;
@@ -2901,6 +2821,10 @@ export interface UpdateAgentRunStatusPayload {
2901
2821
  disabled_mcp_collections?: string[];
2902
2822
  /** Tool approval mode persisted for interactive agent runs. */
2903
2823
  tool_approval_mode?: AgentToolApprovalMode;
2824
+ /** Model selected for subsequent conversation turns. */
2825
+ model?: string;
2826
+ /** Reasoning effort selected for subsequent turns; null clears the explicit override. */
2827
+ effort?: ReasoningEffort | null;
2904
2828
  /** Archive state fields (set by the archive workflow) */
2905
2829
  archive_state?: AgentRunArchiveState;
2906
2830
  archived_at?: string;
@@ -2909,13 +2833,12 @@ export interface UpdateAgentRunStatusPayload {
2909
2833
  sequence?: number;
2910
2834
  process_state?: ProcessState;
2911
2835
  }
2912
- export type SignalAgentPayload = UserInputSignal | StopSignal | ConversationFileRef | ConversationFileRemovedRef | Record<string, unknown>;
2836
+ export type SignalAgentPayload = UserInputSignal | StopSignal | ModelConfigChangedSignal | ConversationFileRef | ConversationFileRemovedRef | ConversationFileBatchRef | Record<string, unknown>;
2913
2837
  export type SignalAgentResponse = z.infer<typeof SignalAgentResponseSchema>;
2914
2838
  export type AgentRunUpdatesResponse = z.infer<typeof AgentRunUpdatesResponseSchema>;
2915
2839
  export type AgentRunUpdatesQuery = z.infer<typeof AgentRunUpdatesQuerySchema>;
2916
2840
  export type StreamAgentRunQuery = z.infer<typeof StreamAgentRunQuerySchema>;
2917
2841
  export type AgentRunDetailsQuery = z.infer<typeof AgentRunDetailsQuerySchema>;
2918
- export type AgentArtifactVisibility = 'user' | 'internal' | 'all';
2919
2842
  export type AgentRunArtifactsQuery = z.infer<typeof AgentRunArtifactsQuerySchema>;
2920
2843
  export type AgentRunArtifactUploadHeaders = z.infer<typeof AgentRunArtifactUploadHeadersSchema>;
2921
2844
  export type AgentRunArtifactQuery = z.infer<typeof AgentRunArtifactQuerySchema>;
@@ -2936,14 +2859,14 @@ export type IngestAgentEventsResponse = z.infer<typeof IngestAgentEventsResponse
2936
2859
  /**
2937
2860
  * History event payload emitted by the agent details SSE stream.
2938
2861
  */
2939
- export interface AgentRunDetailsHistoryStreamEvent {
2862
+ interface AgentRunDetailsHistoryStreamEvent {
2940
2863
  runId?: string;
2941
2864
  event: WorkflowRunEvent;
2942
2865
  }
2943
2866
  /**
2944
2867
  * Control payload emitted by the agent details SSE stream.
2945
2868
  */
2946
- export type AgentRunDetailsControlStreamEvent = {
2869
+ type AgentRunDetailsControlStreamEvent = {
2947
2870
  type: 'continueAsNew';
2948
2871
  newRunId: string;
2949
2872
  } | {
@@ -2952,7 +2875,7 @@ export type AgentRunDetailsControlStreamEvent = {
2952
2875
  /**
2953
2876
  * Error payload emitted by the agent details SSE stream.
2954
2877
  */
2955
- export interface AgentRunDetailsErrorStreamEvent {
2878
+ interface AgentRunDetailsErrorStreamEvent {
2956
2879
  type: 'error';
2957
2880
  message: string;
2958
2881
  }
@@ -3010,40 +2933,17 @@ export interface AgentRunInternals {
3010
2933
  created_at: string;
3011
2934
  updated_at: string;
3012
2935
  }
2936
+ export type CreateProcessRunByIdPayload = z.infer<typeof CreateProcessRunByIdPayloadSchema>;
2937
+ export type CreateProcessRunWithDefinitionPayload = z.infer<typeof CreateProcessRunWithDefinitionPayloadSchema>;
2938
+ export type CreateRunPayload = z.infer<typeof CreateRunPayloadSchema>;
2939
+ export type RestartAgentRunPayload = z.infer<typeof RestartAgentRunPayloadSchema>;
3013
2940
  export {};
3014
2941
 
3015
- // -----------------------------------------------------------------------------
3016
- // @vertesia/common: store/object-types.d.ts
3017
- // -----------------------------------------------------------------------------
3018
- import type { JSONSchemaType } from 'ajv';
3019
- export interface RenditionProperties {
3020
- mime_type: string;
3021
- source_etag?: string;
3022
- height?: number;
3023
- width?: number;
3024
- multipart?: boolean;
3025
- total_parts?: number;
3026
- }
3027
- export declare const RenditionSchema: JSONSchemaType<RenditionProperties>;
3028
- export interface DocumentPartProperties {
3029
- source_etag?: string;
3030
- part_number: number;
3031
- title?: string;
3032
- source_line_start?: number;
3033
- source_line_end?: number;
3034
- type?: 'text' | 'image' | 'table' | 'chart' | 'diagram' | 'code' | 'other';
3035
- page_number?: number;
3036
- description?: string;
3037
- height?: number;
3038
- width?: number;
3039
- }
3040
- export declare const DocumentPartSchema: JSONSchemaType<DocumentPartProperties>;
3041
-
3042
2942
  // -----------------------------------------------------------------------------
3043
2943
  // @vertesia/common: store/collections.d.ts
3044
2944
  // -----------------------------------------------------------------------------
3045
2945
  import type { z } from 'zod';
3046
- import type { CollectionChildrenUpdatePayloadSchema, CollectionChildrenUpdateResultSchema, CollectionMembersQuerySchema, CollectionMembersUpdatePayloadSchema, CollectionMembersUpdateResultSchema, CollectionPropagationResponseSchema, CollectionSchema, CollectionSecuritySettingsResponseSchema, CreateCollectionPayloadSchema } from '../api-schemas/content.js';
2946
+ import type { CollectionChildrenUpdatePayloadSchema, CollectionChildrenUpdateResultSchema, CollectionMembersQuerySchema, CollectionMembersUpdatePayloadSchema, CollectionMembersUpdateResultSchema, CollectionPropagationResponseSchema, CollectionSchema, CollectionSecuritySettingsResponseSchema, CreateCollectionPayloadSchema, UpdateCollectionPayloadSchema } from '../api-schemas/content.js';
3047
2947
  import type { BaseObject } from './common.js';
3048
2948
  import type { ColumnLayout, ContentObjectTypeRef } from './store.js';
3049
2949
  export declare enum CollectionStatus {
@@ -3081,11 +2981,6 @@ export interface CollectionItem extends BaseObject {
3081
2981
  allowed_types?: string[];
3082
2982
  }
3083
2983
  export type Collection = z.infer<typeof CollectionSchema>;
3084
- export interface StaticCollection extends Collection {
3085
- dynamic: false;
3086
- members: string[];
3087
- query: never;
3088
- }
3089
2984
  export interface DynamicCollection extends Collection {
3090
2985
  dynamic: true;
3091
2986
  }
@@ -3106,16 +3001,18 @@ export type CollectionChildrenUpdateResult = z.infer<typeof CollectionChildrenUp
3106
3001
  export type CollectionMembersUpdatePayload = z.infer<typeof CollectionMembersUpdatePayloadSchema>;
3107
3002
  export type CollectionChildrenUpdatePayload = z.infer<typeof CollectionChildrenUpdatePayloadSchema>;
3108
3003
  export type CollectionMembersQuery = z.infer<typeof CollectionMembersQuerySchema>;
3004
+ export type UpdateCollectionPayload = z.infer<typeof UpdateCollectionPayloadSchema>;
3109
3005
 
3110
3006
  // -----------------------------------------------------------------------------
3111
3007
  // @vertesia/common: store/process.d.ts
3112
3008
  // -----------------------------------------------------------------------------
3113
3009
  import type { z } from 'zod';
3114
- import type { BranchDefinitionSchema, BranchJoinPolicySchema, HumanTaskDefinitionSchema, JsonLogicRuleSchema, ListProcessDefinitionsQuerySchema, NodeHistoryEntrySchema, ParallelCollectDefinitionSchema, ParallelCollectFieldSchema, ParallelCollectModeSchema, ParallelFailurePolicySchema, ProcessContextDefinitionSchema, ProcessDefinitionFormatVersionSchema, ProcessDefinitionMetadataSchema, ProcessDefinitionRevisionInfoSchema, ProcessDefinitionStatusSchema, ProcessHistoryRefSchema, ProcessNodeReturnsDefinitionSchema, ProcessNodeRunTypeSchema, ProcessNodeTypeSchema, ProcessResourcesDefinitionSchema, ProcessScriptInlineSourceSchema, ProcessScriptLanguageSchema, ProcessScriptResourceSchema, ProcessScriptSourceSchema, ProcessStateSchema, PublishProcessDefinitionPayloadSchema, RevertProcessDefinitionPayloadSchema, TransitionDefinitionSchema, TransitionTriggerSchema } from '../api-schemas/process.js';
3010
+ 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';
3115
3011
  import type { JSONSchema } from '../json-schema.js';
3116
3012
  export type JsonLogicRule = z.infer<typeof JsonLogicRuleSchema>;
3117
3013
  export type ProcessDefinitionStatus = z.infer<typeof ProcessDefinitionStatusSchema>;
3118
3014
  export type ListProcessDefinitionsQuery = z.infer<typeof ListProcessDefinitionsQuerySchema>;
3015
+ export type ListProcessTestRunsQuery = z.infer<typeof ListProcessTestRunsQuerySchema>;
3119
3016
  export declare const PROCESS_DEFINITION_FORMAT_VERSION: 1;
3120
3017
  export type ProcessDefinitionFormatVersion = z.infer<typeof ProcessDefinitionFormatVersionSchema>;
3121
3018
  export type ProcessNodeType = z.infer<typeof ProcessNodeTypeSchema>;
@@ -3227,6 +3124,7 @@ export interface InCodeProcessDefinition {
3227
3124
  export type ProcessDefinitionRevisionInfo = z.infer<typeof ProcessDefinitionRevisionInfoSchema>;
3228
3125
  export interface ProcessDefinition {
3229
3126
  id: string;
3127
+ edit_revision: number;
3230
3128
  account: string;
3231
3129
  project: string;
3232
3130
  name: string;
@@ -3266,6 +3164,7 @@ export interface CreateProcessDefinitionPayload {
3266
3164
  definition: ProcessDefinitionBody;
3267
3165
  }
3268
3166
  export interface UpdateProcessDefinitionPayload {
3167
+ expected_edit_revision?: number;
3269
3168
  name?: string;
3270
3169
  description?: string;
3271
3170
  /**
@@ -3281,6 +3180,45 @@ export interface UpdateProcessDefinitionPayload {
3281
3180
  }
3282
3181
  export type PublishProcessDefinitionPayload = z.infer<typeof PublishProcessDefinitionPayloadSchema>;
3283
3182
  export type RevertProcessDefinitionPayload = z.infer<typeof RevertProcessDefinitionPayloadSchema>;
3183
+ export type AdvanceProcessPayload = z.infer<typeof AdvanceProcessPayloadSchema>;
3184
+ export type AnswerProcessTaskPayload = z.infer<typeof AnswerProcessTaskPayloadSchema>;
3185
+ export type RetryProcessNodePayload = z.infer<typeof RetryProcessNodePayloadSchema>;
3186
+ export type ProcessContextResponse = z.infer<typeof ProcessContextResponseSchema>;
3187
+ export type ProcessHistoryResponse = z.infer<typeof ProcessHistoryResponseSchema>;
3188
+ export type ProcessTestRunStatus = z.infer<typeof ProcessTestRunStatusSchema>;
3189
+ export type ProcessTestVirtualActor = z.infer<typeof ProcessTestVirtualActorSchema>;
3190
+ export type ProcessTestFixtureResult = z.infer<typeof ProcessTestFixtureResultSchema>;
3191
+ export type ProcessTestFixtureError = z.infer<typeof ProcessTestFixtureErrorSchema>;
3192
+ export type ProcessTestFixtureResponse = z.infer<typeof ProcessTestFixtureResponseSchema>;
3193
+ export type ProcessTestNodeFixture = z.infer<typeof ProcessTestNodeFixtureSchema>;
3194
+ export type ProcessTestHumanAction = z.infer<typeof ProcessTestHumanActionSchema>;
3195
+ export type ProcessTestAssertions = z.infer<typeof ProcessTestAssertionsSchema>;
3196
+ export type ProcessTestScenario = z.infer<typeof ProcessTestScenarioSchema>;
3197
+ export type ProcessTestSuite = z.infer<typeof ProcessTestSuiteSchema>;
3198
+ export type CreateProcessTestSuitePayload = z.infer<typeof CreateProcessTestSuitePayloadSchema>;
3199
+ export type UpdateProcessTestSuitePayload = z.infer<typeof UpdateProcessTestSuitePayloadSchema>;
3200
+ export type StartProcessTestRunPayload = z.infer<typeof StartProcessTestRunPayloadSchema>;
3201
+ export type ProcessTestAssertionResult = z.infer<typeof ProcessTestAssertionResultSchema>;
3202
+ export type ProcessTestActorDecision = z.infer<typeof ProcessTestActorDecisionSchema>;
3203
+ export type ProcessTestCoverage = z.infer<typeof ProcessTestCoverageSchema>;
3204
+ export type ProcessTestChildTrace = z.infer<typeof ProcessTestChildTraceSchema>;
3205
+ export type ProcessTestScenarioResult = z.infer<typeof ProcessTestScenarioResultSchema>;
3206
+ export type ProcessTestRun = Omit<z.infer<typeof ProcessTestRunSchema>, 'process_definition_snapshot'> & {
3207
+ process_definition_snapshot: ProcessDefinitionBody;
3208
+ };
3209
+ export type ProcessTestStoredSubject = z.infer<typeof ProcessTestStoredSubjectSchema>;
3210
+ export type ProcessTestResolvedSubject = z.infer<typeof ProcessTestResolvedSubjectSchema>;
3211
+ export type ProcessTestInlineSubject = z.infer<typeof ProcessTestInlineSubjectSchema>;
3212
+ export type ProcessTestSubject = z.infer<typeof ProcessTestSubjectSchema>;
3213
+ export type ProcessTestTargetById = z.infer<typeof ProcessTestTargetByIdSchema>;
3214
+ export type ProcessTestTargetWithDefinition = Omit<z.infer<typeof ProcessTestTargetWithDefinitionSchema>, 'definition'> & {
3215
+ definition: ProcessDefinitionBody;
3216
+ };
3217
+ export type ProcessTestTarget = ProcessTestTargetById | ProcessTestTargetWithDefinition;
3218
+ export type SubmitProcessTestRunPayload = Omit<z.infer<typeof SubmitProcessTestRunPayloadSchema>, 'process'> & {
3219
+ process: ProcessTestTarget;
3220
+ };
3221
+ export type UpdateProcessTestScenarioPayload = z.infer<typeof UpdateProcessTestScenarioPayloadSchema>;
3284
3222
 
3285
3223
  // -----------------------------------------------------------------------------
3286
3224
  // @vertesia/common: store/workflow.d.ts
@@ -3454,7 +3392,6 @@ export type SignalTask = z.infer<typeof SignalTaskSchema>;
3454
3392
  export type TimerTask = z.infer<typeof TimerTaskSchema>;
3455
3393
  export type WorkflowTask = z.infer<typeof WorkflowTaskSchema>;
3456
3394
  export type WorkflowHistory = z.infer<typeof WorkflowHistorySchema>;
3457
- export type HistoryFormat = 'events' | 'tasks' | 'agent';
3458
3395
  export type AgentTask = z.infer<typeof AgentTaskSchema>;
3459
3396
  export type WorkflowRun = z.infer<typeof WorkflowRunSchema>;
3460
3397
  export type PendingActivity = z.infer<typeof PendingActivitySchema>;
@@ -3470,22 +3407,6 @@ export type WorkflowUpdatePublishResponse = z.infer<typeof WorkflowUpdatePublish
3470
3407
  export type WorkflowActionResponse = z.infer<typeof WorkflowActionResponseSchema>;
3471
3408
  export type WorkflowQueryResult = z.infer<typeof WorkflowQueryResultSchema>;
3472
3409
  export type WorkflowInteractionVars = z.infer<typeof WorkflowInteractionVarsSchema>;
3473
- export interface MultiDocumentsInteractionParams extends Omit<WorkflowExecutionPayload, 'config'> {
3474
- config: {
3475
- interactionName: string;
3476
- action: DocumentActionConfig;
3477
- data: Record<string, unknown>;
3478
- };
3479
- }
3480
- export interface DocumentActionConfig {
3481
- contentTypeName?: string;
3482
- setAsProperties: boolean;
3483
- setAsText: string;
3484
- setNameFrom: string;
3485
- upsert: boolean;
3486
- documentId?: string;
3487
- parentId?: string;
3488
- }
3489
3410
  export declare const WorkflowExecutionStatusValues: {
3490
3411
  readonly UNKNOWN: 0;
3491
3412
  readonly RUNNING: 1;
@@ -3538,7 +3459,7 @@ export type AgentMessageDetails = z.infer<typeof AgentMessageDetailsSchema>;
3538
3459
  /**
3539
3460
  * Details for THOUGHT messages representing tool calls (event_class: 'activity').
3540
3461
  */
3541
- export interface ToolCallDetails {
3462
+ interface ToolCallDetails {
3542
3463
  event_class: 'activity';
3543
3464
  tool: string;
3544
3465
  tool_event?: 'started' | 'progress' | 'completed' | 'failed';
@@ -3554,54 +3475,11 @@ export interface ToolCallDetails {
3554
3475
  outputFiles?: string[];
3555
3476
  [key: string]: unknown;
3556
3477
  }
3557
- /**
3558
- * Details for UPDATE messages signaling document creation or update.
3559
- */
3560
- export interface DocumentEventDetails {
3561
- event_class: 'document_created' | 'document_updated';
3562
- document_id: string;
3563
- title?: string;
3564
- [key: string]: unknown;
3565
- }
3566
- /**
3567
- * Details for REQUEST_INPUT messages with UX configuration.
3568
- */
3569
- export interface RequestInputDetails {
3570
- ux?: {
3571
- options?: Array<{
3572
- id: string;
3573
- label: string;
3574
- }>;
3575
- variant?: string;
3576
- multiSelect?: boolean;
3577
- };
3578
- [key: string]: unknown;
3579
- }
3580
- /**
3581
- * Details for PLAN messages containing the plan structure.
3582
- */
3583
- export interface PlanMessageDetails {
3584
- plan: PlanTask[];
3585
- comment?: string;
3586
- [key: string]: unknown;
3587
- }
3588
3478
  export declare function isToolCallMessage(msg: AgentMessage): msg is AgentMessage & {
3589
3479
  details: ToolCallDetails;
3590
3480
  };
3591
3481
  /** Extract the normalized resource references carried on a message's details, if any. */
3592
3482
  export declare function getResourcesFromMessage(msg: AgentMessage): AgentResourceReference[];
3593
- export declare function isDocumentEventMessage(msg: AgentMessage): msg is AgentMessage & {
3594
- details: DocumentEventDetails;
3595
- };
3596
- export declare function isFileProcessingMessage(msg: AgentMessage): msg is AgentMessage & {
3597
- details: FileProcessingDetails;
3598
- };
3599
- export declare function isPlanMessage(msg: AgentMessage): msg is AgentMessage & {
3600
- details: PlanMessageDetails;
3601
- };
3602
- export declare function isRequestInputMessage(msg: AgentMessage): msg is AgentMessage & {
3603
- details: RequestInputDetails;
3604
- };
3605
3483
  /**
3606
3484
  * Details for STREAMING_CHUNK messages used for real-time LLM response streaming
3607
3485
  * @deprecated Use CompactMessage with f field for streaming chunks
@@ -3626,7 +3504,7 @@ export type CompactMessage = z.infer<typeof CompactMessageSchema>;
3626
3504
  * Legacy message format for backward compatibility.
3627
3505
  * @deprecated Use CompactMessage instead
3628
3506
  */
3629
- export type LegacyAgentMessage = AgentMessage;
3507
+ type LegacyAgentMessage = AgentMessage;
3630
3508
  /**
3631
3509
  * Check if a message is in compact format
3632
3510
  */
@@ -3715,12 +3593,6 @@ export declare enum FileProcessingStatus {
3715
3593
  ERROR = "error"
3716
3594
  }
3717
3595
  export type ConversationFile = z.infer<typeof ConversationFileSchema>;
3718
- /**
3719
- * A file is deliverable when it is ready and has not yet been delivered to the agent as part
3720
- * of a user message. Deliverable files get attached to the next message; consumed ones stay
3721
- * reachable to tools via artifact_path/md_path but are not re-attached.
3722
- */
3723
- export declare function isDeliverableFile(file: ConversationFile): boolean;
3724
3596
  /**
3725
3597
  * Details for file processing SYSTEM messages.
3726
3598
  * Used when type is AgentMessageType.SYSTEM with system_type: 'file_processing'.
@@ -3754,6 +3626,32 @@ export interface ConversationFileRef {
3754
3626
  /** Artifact path without prefix (e.g., "files/document.pdf") */
3755
3627
  artifact_path: string;
3756
3628
  }
3629
+ /**
3630
+ * Manifest closing a staged-upload batch (the FileBatchClosed signal). Sent by clients that
3631
+ * stage files before the run exists (the agent start screen) after every upload attempt has
3632
+ * finished: those clients cannot wait for text extraction themselves, so the workflow owns the
3633
+ * "[Files Ready]" user turn. The manifest is the batch's authoritative membership — the
3634
+ * workflow delivers once, and only once, every listed file has settled, so a fast first file
3635
+ * can never trigger delivery while later files are still uploading.
3636
+ */
3637
+ export interface ConversationFileBatchRef {
3638
+ /** Client-generated batch id. Stable across retries so redelivering the manifest is a no-op. */
3639
+ batch_id: string;
3640
+ /**
3641
+ * Ids (ConversationFileRef.id) of the files successfully uploaded and signaled for this
3642
+ * batch. Files whose upload failed client-side are listed in `failed_uploads` instead;
3643
+ * empty when every upload failed.
3644
+ */
3645
+ file_ids: string[];
3646
+ /**
3647
+ * Files the client could not upload or signal. Without them a 1-of-2 batch would look
3648
+ * complete to the workflow, so the agent would never learn a file is missing.
3649
+ */
3650
+ failed_uploads?: {
3651
+ name: string;
3652
+ error?: string;
3653
+ }[];
3654
+ }
3757
3655
  /**
3758
3656
  * Reference to a file removed from the conversation attachment set.
3759
3657
  */
@@ -3761,41 +3659,29 @@ export interface ConversationFileRemovedRef {
3761
3659
  /** Client-generated unique ID */
3762
3660
  id: string;
3763
3661
  }
3764
- /**
3765
- * Get the Redis pub/sub channel name for workflow messages.
3766
- * Used by both publishers (workflow activities, studio-server) and subscribers (zeno-server, clients).
3767
- * @param workflowRunId - The Temporal workflow run ID (NOT the interaction execution run ID)
3768
- */
3769
- export declare function getWorkflowChannel(workflowRunId: string): string;
3770
- /**
3771
- * Get the Redis list key for storing workflow message history.
3772
- * Messages are stored here for retrieval by reconnecting clients.
3773
- * @param workflowRunId - The Temporal workflow run ID (NOT the interaction execution run ID)
3774
- */
3775
- export declare function getWorkflowUpdatesKey(workflowRunId: string): string;
3776
3662
  export type PlanTask = z.infer<typeof PlanTaskSchema>;
3777
3663
  export type Plan = z.infer<typeof PlanSchema>;
3778
3664
  export declare const LOW_PRIORITY_TASK_QUEUE = "low_priority";
3779
3665
  /**
3780
3666
  * WebSocket message types for bidirectional communication
3781
3667
  */
3782
- export interface WebSocketSignalMessage {
3668
+ interface WebSocketSignalMessage {
3783
3669
  type: 'signal';
3784
3670
  signalName: string;
3785
3671
  data: unknown;
3786
3672
  requestId?: string | number;
3787
3673
  }
3788
- export interface WebSocketPingMessage {
3674
+ interface WebSocketPingMessage {
3789
3675
  type: 'ping';
3790
3676
  }
3791
- export interface WebSocketPongMessage {
3677
+ interface WebSocketPongMessage {
3792
3678
  type: 'pong';
3793
3679
  }
3794
- export interface WebSocketAckMessage {
3680
+ interface WebSocketAckMessage {
3795
3681
  type: 'ack';
3796
3682
  requestId: string | number;
3797
3683
  }
3798
- export interface WebSocketErrorMessage {
3684
+ interface WebSocketErrorMessage {
3799
3685
  type: 'error';
3800
3686
  requestId?: string | number;
3801
3687
  error: string;
@@ -3897,7 +3783,7 @@ export interface AgentIntakeWorkflowResult {
3897
3783
  generatedEmbeddings?: SupportedEmbeddingTypes[];
3898
3784
  }
3899
3785
  /** Progress reported by a child workstream */
3900
- export interface WorkstreamProgressInfo {
3786
+ interface WorkstreamProgressInfo {
3901
3787
  launch_id: string;
3902
3788
  workstream_id: string;
3903
3789
  phase: 'planning' | 'executing_tool' | 'synthesizing' | 'blocked' | 'done';
@@ -3951,13 +3837,14 @@ export interface ActiveWorkstreamsQueryResult {
3951
3837
  /** True when the workflow could not answer this optional query. */
3952
3838
  unavailable?: boolean;
3953
3839
  }
3840
+ export {};
3954
3841
 
3955
3842
  // -----------------------------------------------------------------------------
3956
3843
  // @vertesia/common: apps.d.ts
3957
3844
  // -----------------------------------------------------------------------------
3958
3845
  import type { z } from 'zod';
3959
- import type { AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, DeleteAppVersionResponseSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema } from './api-schemas/app-lifecycle.js';
3960
- 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 } from './api-schemas/app-runtime.js';
3846
+ 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, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema } from './api-schemas/app-lifecycle.js';
3847
+ 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';
3961
3848
  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';
3962
3849
  import type { RemoteActivityDefinitionSchema } from './api-schemas/integrations.js';
3963
3850
  import type { ProjectToolInfoSchema, RenderingTemplateDefinitionRefSchema, RenderingTemplateDefinitionSchema } from './api-schemas/project.js';
@@ -3992,29 +3879,15 @@ export interface AppUINavItem {
3992
3879
  export type AppUIConfig = z.infer<typeof AppUIConfigSchema>;
3993
3880
  export type AppInstallationProjectsQuery = z.infer<typeof AppInstallationProjectsQuerySchema>;
3994
3881
  export type AppInstallationsQuery = z.infer<typeof AppInstallationsQuerySchema>;
3882
+ export type AppListScope = z.infer<typeof AppListScopeSchema>;
3883
+ export type AppsQuery = z.infer<typeof AppsQuerySchema>;
3995
3884
  export type ToolCollectionAuthType = z.infer<typeof ToolCollectionAuthTypeSchema>;
3996
- /**
3997
- * Tool collection type
3998
- */
3999
- export type ToolCollectionType = 'mcp' | 'vertesia_sdk';
4000
3885
  export type MCPOAuthConfig = z.infer<typeof MCPOAuthConfigSchema>;
4001
3886
  /** Install-time provisioning blueprint for an `auth: 'api_key'` MCP collection. Never holds the key. */
4002
3887
  export type MCPApiKeyConfig = z.infer<typeof MCPApiKeyConfigSchema>;
4003
3888
  export type MCPToolCollectionObject = z.infer<typeof MCPToolCollectionObjectSchema>;
4004
3889
  export type VertesiaSDKToolCollectionObject = z.infer<typeof VertesiaSDKToolCollectionObjectSchema>;
4005
3890
  export type ToolCollectionObject = z.infer<typeof ToolCollectionObjectSchema>;
4006
- /**
4007
- * Backward-compatible TypeScript alias. Public API payloads should reference
4008
- * ToolCollectionObject directly so generated clients do not create a wrapper
4009
- * model around the discriminated union.
4010
- */
4011
- export type ToolCollection = ToolCollectionObject;
4012
- export declare const MCP_COLLECTION_ID_PATTERN: RegExp;
4013
- export declare const MCP_COLLECTION_NAMESPACE_PATTERN: RegExp;
4014
- export declare function isValidMCPCollectionId(id: string): boolean;
4015
- export declare function isValidMCPCollectionNamespace(namespace: string): boolean;
4016
- export declare function deriveMCPCollectionId(input: string): string;
4017
- export declare function getDefaultOAuthAppNameForCollectionId(collectionId: string): string;
4018
3891
  /**
4019
3892
  * Normalizes a tool collection to the object format.
4020
3893
  * Applies optional `{{var}}` substitution to the URL so manifests can reference
@@ -4060,77 +3933,6 @@ export type AppCapabilities = z.infer<typeof AppCapabilitiesSchema>;
4060
3933
  * Resolution-time only; never persisted. Set by the generated app template via client.withAppVersion.
4061
3934
  */
4062
3935
  export declare const APP_VERSION_HEADER = "x-vertesia-app-version";
4063
- /**
4064
- * The platform-artifact types an app build can be required to create. A finer-grained
4065
- * counterpart to {@link AppCapabilities}: a single `interactions` capability may comprise
4066
- * several `interaction` artifacts plus `agent`, `activity`, and `tool` artifacts that
4067
- * {@link AppCapabilities} folds together. Used by the App Solution Architect manifest and
4068
- * the publish-time capability gate.
4069
- */
4070
- export declare const APP_ARTIFACT_TYPES: readonly ['interaction', 'agent', 'type', 'process', 'view', 'template', 'dashboard', 'activity', 'tool', 'hook', 'subscription'];
4071
- export type AppArtifactType = (typeof APP_ARTIFACT_TYPES)[number];
4072
- /**
4073
- * A single platform artifact the App Solution Architect requires the build to create.
4074
- * `id` is the app-owned in-code id the implementation must register and reference
4075
- * (e.g. `app:<name>:main:extract-item` for interactions/agents, `app:<name>:<type>` for
4076
- * types, `app:<name>:<process>` for processes, and `app:<name>:<local-id>` for hooks/subscriptions).
4077
- */
4078
- /**
4079
- * Build progress for one artifact, maintained by the developer agent as a living checklist:
4080
- * - `pending` — defined by the architect, not yet built.
4081
- * - `built` — registered in the package, not yet successfully exercised.
4082
- * - `done` — built AND successfully exercised against real data.
4083
- * This is the agent's self-reported claim for tracking/handoff; the capability gate verifies
4084
- * the truth independently via package registration + run/data telemetry and does not trust it.
4085
- */
4086
- export type AppArtifactStatus = 'pending' | 'built' | 'done';
4087
- export declare const APP_ARTIFACT_STATUSES: readonly AppArtifactStatus[];
4088
- export interface AppPlannedArtifact {
4089
- /** App-owned in-code id the build must register and reference. */
4090
- id: string;
4091
- type: AppArtifactType;
4092
- /** Short human label. */
4093
- name?: string;
4094
- /** Why this artifact exists / what it does — carried into the build checklist. */
4095
- purpose?: string;
4096
- /**
4097
- * When false, the artifact is planned but optional: the capability gate warns rather
4098
- * than blocks if it is missing or never exercised. Defaults to required (true).
4099
- */
4100
- required?: boolean;
4101
- /** Build progress, updated by the developer agent. Defaults to `pending`. */
4102
- status?: AppArtifactStatus;
4103
- }
4104
- /**
4105
- * Structured result the App Solution Architect emits alongside its prose artifacts — the
4106
- * machine-readable contract for the build. The implementation MUST register every required artifact
4107
- * before building a candidate, then successfully exercise it after that candidate is installed and
4108
- * version-pinned. Persisted into the app repo as {@link APP_CAPABILITY_MANIFEST_PATH} so it survives
4109
- * across runs and the package-registration gate can verify it deterministically. If the builder finds the plan
4110
- * wrong or insufficient, the orchestrator relaunches the architect to revise the manifest;
4111
- * the gate always checks against the latest committed copy.
4112
- */
4113
- export interface AppCapabilityManifest {
4114
- /** Artifact-storage ref to the prose architecture spec (e.g. the architecture `.md`). */
4115
- spec_artifact: string;
4116
- /** Platform artifacts the build must create. */
4117
- artifacts: AppPlannedArtifact[];
4118
- /**
4119
- * Monotonic revision, starting at 1, bumped each time the architect evolves the manifest for
4120
- * the SAME app on a later iteration (read the committed manifest, preserve untouched artifacts,
4121
- * add/modify/remove, then bump). Lets downstream agents tell which contract they are building to.
4122
- */
4123
- revision?: number;
4124
- /**
4125
- * Newest-first change notes, one entry per revision (what was added/modified/removed and why).
4126
- * How manifest changes are communicated to downstream agents across iterations.
4127
- */
4128
- changelog?: string[];
4129
- /** Optional free-form notes the architect wants the builder to honor. */
4130
- notes?: string;
4131
- }
4132
- /** Repo-relative path the capability manifest is committed to, read by version-build gates. */
4133
- export declare const APP_CAPABILITY_MANIFEST_PATH = "docs/app-capability-manifest.json";
4134
3936
  export type AppAvailableIn = z.infer<typeof AppAvailableInSchema>;
4135
3937
  export type AppVersionKind = z.infer<typeof AppVersionKindSchema>;
4136
3938
  export type AppVersionState = z.infer<typeof AppVersionStateSchema>;
@@ -4152,41 +3954,12 @@ export interface AppVersionListQuery {
4152
3954
  export type PromoteAppVersionResponse = z.infer<typeof PromoteAppVersionResponseSchema>;
4153
3955
  export type StartAppBuildRequest = z.infer<typeof StartAppBuildRequestSchema>;
4154
3956
  export type StartAppBuildResponse = z.infer<typeof StartAppBuildResponseSchema>;
4155
- export interface AppBuildWorkflowInput extends StartAppBuildRequest {
4156
- app_id: string;
4157
- app_record_id?: string;
4158
- /** Rebuild this persisted version record at its original commit and target. */
4159
- rebuild_version_record_id?: string;
4160
- app_title?: string;
4161
- app_description?: string;
4162
- source_git_url?: string;
4163
- }
4164
- export interface AppBuildWorkflowResult {
4165
- app_id: string;
4166
- version_id: string;
4167
- kind: Extract<AppVersionKind, 'version'>;
4168
- state: AppVersionState;
4169
- source_commit: string;
4170
- source_git?: AppVersionGitSource;
4171
- urls?: AppVersionUrls;
4172
- file_count?: number;
4173
- }
4174
3957
  export type AppBuildProgressStatus = z.infer<typeof AppBuildProgressStatusSchema>;
4175
3958
  export type AppBuildProgress = z.infer<typeof AppBuildProgressSchema>;
4176
3959
  export type AppScaffoldModule = z.infer<typeof AppScaffoldModuleSchema>;
4177
3960
  export type StartAppScaffoldRequest = z.infer<typeof StartAppScaffoldRequestSchema>;
4178
3961
  export type StartAppScaffoldResponse = z.infer<typeof StartAppScaffoldResponseSchema>;
4179
- export interface AppScaffoldWorkflowInput extends StartAppScaffoldRequest {
4180
- }
4181
- export interface AppScaffoldWorkflowResult {
4182
- app_id: string;
4183
- app_record_id?: string;
4184
- installation_id?: string;
4185
- git_url?: string;
4186
- source_git?: AppVersionGitSource;
4187
- files?: number;
4188
- initial_version_build?: StartAppBuildResponse;
4189
- }
3962
+ export type StartAppDevelopmentTaskRequest = z.infer<typeof StartAppDevelopmentTaskRequestSchema>;
4190
3963
  export type AppScaffoldProgressStatus = z.infer<typeof AppScaffoldProgressStatusSchema>;
4191
3964
  export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
4192
3965
  /**
@@ -4202,21 +3975,8 @@ export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
4202
3975
  * Declared on the manifest as the app's default. May be overridden per-installation.
4203
3976
  */
4204
3977
  export type AppAccessControl = z.infer<typeof AppAccessControlSchema>;
4205
- /**
4206
- * Resolve the effective access_control policy for an installed app:
4207
- * installation override wins, then manifest default, then `'all'`.
4208
- *
4209
- * Shared by the STS (JWT generation), the studio-server (validation), and the UI (badge display)
4210
- * so the resolution rule lives in exactly one place. Named `effectiveAppAccessControl` (not just
4211
- * `effectiveAccessControl`) because exports from `@vertesia/common` are flattened — the broader
4212
- * name would risk colliding with other access-control families added later.
4213
- */
4214
- export declare function effectiveAppAccessControl(installation: {
4215
- access_control?: AppAccessControl;
4216
- } | null | undefined, manifest: {
4217
- access_control?: AppAccessControl;
4218
- } | null | undefined): AppAccessControl;
4219
3978
  export type AppManifestData = z.infer<typeof AppManifestDataSchema>;
3979
+ export type UpdateAppPayload = z.infer<typeof UpdateAppPayloadSchema>;
4220
3980
  export type AppGitSourceConfig = z.infer<typeof AppGitSourceConfigSchema>;
4221
3981
  export type AppSourceConfig = z.infer<typeof AppSourceConfigSchema>;
4222
3982
  /**
@@ -4243,11 +4003,6 @@ export interface Endpoints {
4243
4003
  export type AppRepoTreeEntry = z.infer<typeof AppRepoTreeEntrySchema>;
4244
4004
  /** A non-recursive listing of an app git repo directory at a given ref. */
4245
4005
  export type AppRepoTree = z.infer<typeof AppRepoTreeSchema>;
4246
- /** Browser-side limits mirrored by the app Git service document endpoint. */
4247
- export declare const APP_REPO_DOCUMENT_UPLOAD_MAX_FILE_BYTES: number;
4248
- export declare const APP_REPO_DOCUMENT_UPLOAD_MAX_TOTAL_BYTES: number;
4249
- export declare const APP_REPO_DOCUMENT_UPLOAD_MAX_FILES = 20;
4250
- export declare const APP_REPO_DOCUMENT_UPLOAD_PREFIX = "docs/";
4251
4006
  /** Result of committing one or more uploaded documents to an app repository. */
4252
4007
  export type AppRepoDocumentCommit = z.infer<typeof AppRepoDocumentCommitSchema>;
4253
4008
  /** One commit that inserted or changed a file in an app git repository. */
@@ -4319,10 +4074,11 @@ export type AppInstallationOAuthBinding = z.infer<typeof AppInstallationOAuthBin
4319
4074
  export type AppInstallationProviderBinding = z.infer<typeof AppInstallationProviderBindingSchema>;
4320
4075
  export type AppInstallation = z.infer<typeof AppInstallationSchema>;
4321
4076
  export type AppInstallationWithManifest = z.infer<typeof AppInstallationWithManifestSchema>;
4322
- export type AppInstallationListEntry = z.infer<typeof AppInstallationListEntrySchema>;
4077
+ /** An installation whose app manifest could not be resolved (the app was deleted or is unpublished). */
4323
4078
  export interface OrphanedAppInstallation extends Omit<AppInstallation, 'manifest'> {
4324
4079
  manifest: null;
4325
4080
  }
4081
+ export type AppInstallationListEntry = z.infer<typeof AppInstallationListEntrySchema>;
4326
4082
  export type OAuthClientCredentials = z.infer<typeof OAuthClientCredentialsSchema>;
4327
4083
  export type AppOAuthCollectionParams = z.infer<typeof AppOAuthCollectionParamsSchema>;
4328
4084
  /** One installer-supplied MCP API key. */
@@ -4350,10 +4106,6 @@ export type OAuthAuthStatus = z.infer<typeof OAuthAuthStatusSchema>;
4350
4106
  * Response from OAuth authorization endpoint
4351
4107
  */
4352
4108
  export type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>;
4353
- export interface McpOAuthCollectionRef {
4354
- app_install_id: string;
4355
- collection_id: string;
4356
- }
4357
4109
  /**
4358
4110
  * Payload for storing the static bearer token of an `auth: 'api_key'` MCP collection.
4359
4111
  * The key is write-only — it is never echoed back by any endpoint.
@@ -4473,8 +4225,6 @@ export type CompositeAppHomePlugin = z.infer<typeof CompositeAppHomePluginSchema
4473
4225
  export type CompositeAppHeaderItemKind = z.infer<typeof CompositeAppHeaderItemKindSchema>;
4474
4226
  /** Where a header link opens. */
4475
4227
  export type CompositeAppHeaderItemTarget = z.infer<typeof CompositeAppHeaderItemTargetSchema>;
4476
- /** Stable identifiers for the built-in header items. */
4477
- export declare const COMPOSITE_APP_HEADER_BUILTIN_IDS: readonly ['app_portal', 'docs', 'help', 'user_menu'];
4478
4228
  /**
4479
4229
  * A single button in the CompositeApp header bar.
4480
4230
  *
@@ -4509,14 +4259,13 @@ export type AppDeleteSummary = z.infer<typeof AppDeleteSummarySchema>;
4509
4259
  // -----------------------------------------------------------------------------
4510
4260
  // @vertesia/common: interaction.d.ts
4511
4261
  // -----------------------------------------------------------------------------
4512
- import type { CompletionResult, ExecutionTokenUsage, JSONObject, JSONSchema, Modalities, ModelOptions, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
4262
+ import type { CompletionResult, ExecutionTokenUsage, JSONSchema, Modalities, PromptCacheDiagnostic, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
4513
4263
  import type { z } from 'zod';
4514
- 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, InCodePromptSchema, InitialToolCallSchema, InteractionCreatePayloadSchema, InteractionEndpointQuerySchema, InteractionEndpointSchema, InteractionExecutionErrorSchema, InteractionExecutionPayloadSchema, InteractionForkPayloadSchema, InteractionNameSchema, InteractionPublishPayloadSchema, InteractionRefSchema, InteractionRefWithSchemaSchema, InteractionSchema, InteractionsExportPayloadSchema, InteractionTagsSchema, InteractionUpdatePayloadSchema, InteractionVisibilitySchema, NamedInteractionExecutionPayloadSchema, PromptImprovementResponseSchema, PromptModalitiesSchema, RateLimitRequestPayloadSchema, RateLimitRequestResponseSchema, ResolvedEnvironmentInfoSchema, ResolvedInteractionExecutionInfoSchema, ResolvedRuntimeConfigSchema, ResultStorageOptionsSchema, RunSourceSchema, SchemaRefSchema, SkillContextTriggersSchema, StreamingOptionsSchema, StreamingTelemetryContextSchema, ToolResultMetaSchema, ToolResultSchema, ToolResultsPayloadSchema, UserMessagePayloadSchema } from './api-schemas/interaction.js';
4264
+ 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';
4515
4265
  import type { InteractionExecutionConfigurationSchema } from './api-schemas/store.js';
4516
- import type { MCPToolAnnotations } from './apps.js';
4517
4266
  import type { ExecutionEnvironmentRef } from './environment.js';
4518
4267
  import type { ProjectRef } from './project.js';
4519
- import type { ExecutablePromptSegmentDef, PopulatedPromptSegmentDef } from './prompt.js';
4268
+ import type { PopulatedPromptSegmentDef } from './prompt.js';
4520
4269
  import type { TextArtifactReference } from './store/conversation-state.js';
4521
4270
  import type { AccountRef } from './user.js';
4522
4271
  /**
@@ -4525,7 +4274,6 @@ import type { AccountRef } from './user.js';
4525
4274
  * working.
4526
4275
  */
4527
4276
  export * from './interaction-values.js';
4528
- import { ConfigModes, RunDataStorageLevel } from './interaction-values.js';
4529
4277
  export type InteractionExecutionError = z.infer<typeof InteractionExecutionErrorSchema>;
4530
4278
  /**
4531
4279
  * Configuration for stripping large data from conversation history
@@ -4559,102 +4307,9 @@ export interface ResolveInteractionQuery {
4559
4307
  hasVideo?: boolean;
4560
4308
  }
4561
4309
  export type InCodePrompt = z.infer<typeof InCodePromptSchema>;
4562
- export interface InCodeInteraction {
4563
- /**
4564
- * The interaction type.
4565
- */
4566
- type: 'sys' | 'app' | 'stored' | 'draft';
4567
- /**
4568
- * The id of the interaction. Required.
4569
- * The id is a unique identifier for the interaction.
4570
- * It is recommended to use a URL safe string and not include spaces.
4571
- * The id is composed of some namespace or prefix and the interaction name.
4572
- * Example: sys:generic_question, app:review_contract, tmp:my_temp_interaction
4573
- */
4574
- id: string;
4575
- /**
4576
- * The interaction code name. Required.
4577
- * Should be a URL safe string and not include spaces. It is recommended to use kebab-case or camel-case.
4578
- * The endpoints must satisfy the following regexp: /^[a-zA-Z0-9-_]+$/. No whitespaces or special characters are allowed.
4579
- */
4580
- name: string;
4581
- /**
4582
- * Only applies for stored interactions. The version of the interaction.
4583
- * Undefined for non stored interactions
4584
- */
4585
- version?: number;
4586
- /**
4587
- * Only applies for stored interactions. Whether the interaction is published or not.
4588
- */
4589
- published?: boolean;
4590
- /**
4591
- * A title for the interaction. If not provided, the endpoint will be used.
4592
- */
4593
- title?: string;
4594
- /**
4595
- * An optional description of the interaction.
4596
- */
4597
- description?: string;
4598
- /**
4599
- * The JSON schema to be used for the result if any.
4600
- */
4601
- result_schema?: JSONSchema | SchemaRef;
4602
- /**
4603
- * The modality of the interaction output.
4604
- * If not specified Modalities.Text is assumed.
4605
- */
4606
- output_modality?: Modalities;
4607
- /**
4608
- * How to store the run data for executions of this interaction.
4609
- * Defaults to STANDARD.
4610
- */
4611
- storage?: RunDataStorageLevel;
4612
- /**
4613
- * Optional tags for the interaction.
4614
- */
4615
- tags?: string[];
4616
- /**
4617
- * Agent Runner configuration options.
4618
- */
4619
- agent_runner_options?: AgentRunnerOptions;
4620
- /**
4621
- * Default options for the model to be used when executing this interaction.
4622
- * (like temperature etc)
4623
- */
4624
- model_options?: ModelOptions;
4625
- /**
4626
- * The prompts composing the interaction. Required.
4627
- */
4628
- prompts: InCodePrompt[];
4629
- /**
4630
- * Optional reference to an external resource if any.
4631
- * Used internally by the system to synchronize stored interactions with in-code interactions.
4632
- */
4633
- externalId?: string;
4634
- /**
4635
- * Runtime configuration (system use only)
4636
- *
4637
- * This field is populated by the system when converting stored interactions
4638
- * and contains runtime-specific defaults like target model/environment IDs.
4639
- *
4640
- * DO NOT set this field manually when writing interaction definitions.
4641
- * These values are environment-specific and not portable.
4642
- *
4643
- * @internal
4644
- */
4645
- runtime?: {
4646
- /**
4647
- * Default target environment for the interaction execution
4648
- */
4649
- environment?: string;
4650
- /**
4651
- * Default (recommended) target model for the interaction execution
4652
- */
4653
- model?: string;
4654
- };
4655
- }
4656
- export interface InteractionSpec extends Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'> {
4657
- }
4310
+ export type InCodeInteraction = z.infer<typeof InCodeInteractionSchema>;
4311
+ export type ResolvedCatalogInteraction = z.infer<typeof ResolvedCatalogInteractionSchema>;
4312
+ export type InteractionSpec = Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'>;
4658
4313
  /**
4659
4314
  * The payload to query the interaction endpoints
4660
4315
  */
@@ -4667,9 +4322,6 @@ export type InteractionTags = z.infer<typeof InteractionTagsSchema>;
4667
4322
  export type InteractionRef = z.infer<typeof InteractionRefSchema>;
4668
4323
  /** An interaction reduced to the fields a name picker needs. */
4669
4324
  export type InteractionName = z.infer<typeof InteractionNameSchema>;
4670
- export declare const InteractionNamePopulate = "id name";
4671
- export declare const InteractionRefPopulate = "id name endpoint parent description status version visibility tags agent_runner_options updated_at prompts";
4672
- export declare const InteractionRefWithSchemaPopulate = "id name endpoint parent description status version visibility tags agent_runner_options updated_at prompts result_schema";
4673
4325
  /**
4674
4326
  * An interaction reference carrying the schemas an export needs to reconstruct it.
4675
4327
  *
@@ -4693,12 +4345,6 @@ export declare enum ExecutionRunStatus {
4693
4345
  completed = "completed",
4694
4346
  failed = "failed"
4695
4347
  }
4696
- export declare enum RunDataStorageDescription {
4697
- STANDARD = "Run data is stored for both the model inputs and output.",
4698
- RESTRICTED = "No run data is stored for the model inputs \u2014 only the model output.",
4699
- DEBUG = "Run data is stored for the model inputs and output, schema, and final prompt."
4700
- }
4701
- export declare const RunDataStorageOptions: Record<RunDataStorageLevel, RunDataStorageDescription>;
4702
4348
  /**
4703
4349
  * Schema can be stored or specified as a reference to an external schema.
4704
4350
  * We only support "store:" references for now
@@ -4706,35 +4352,7 @@ export declare const RunDataStorageOptions: Record<RunDataStorageLevel, RunDataS
4706
4352
  export type SchemaRef = z.infer<typeof SchemaRefSchema>;
4707
4353
  export type CachePolicy = z.infer<typeof CachePolicySchema>;
4708
4354
  export type InteractionVisibility = z.infer<typeof InteractionVisibilitySchema>;
4709
- export interface InteractionData {
4710
- readonly id: string;
4711
- name: string;
4712
- endpoint: string;
4713
- description?: string;
4714
- project: string | ProjectRef;
4715
- tags: string[];
4716
- agent_runner_options?: AgentRunnerOptions;
4717
- result_schema?: JSONSchema | SchemaRef;
4718
- environment?: string | ExecutionEnvironmentRef;
4719
- model?: string;
4720
- model_options?: ModelOptions;
4721
- restriction?: RunDataStorageLevel;
4722
- /**
4723
- * @deprecated This is deprecated. Use CompletionResult.type information instead.
4724
- */
4725
- output_modality?: Modalities;
4726
- }
4727
4355
  export type Interaction = z.infer<typeof InteractionSchema>;
4728
- export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
4729
- prompts: PopulatedPromptSegmentDef[];
4730
- }
4731
- /**
4732
- * Used to describe an interaction that can be executed. Contains only the interaction data useful
4733
- * to execute the interaction plus the prompt templates
4734
- */
4735
- export interface ExecutableInteraction extends InteractionData {
4736
- prompts: ExecutablePromptSegmentDef[];
4737
- }
4738
4356
  export type InteractionCreatePayload = z.infer<typeof InteractionCreatePayloadSchema>;
4739
4357
  export type InteractionUpdatePayload = z.infer<typeof InteractionUpdatePayloadSchema>;
4740
4358
  export type InteractionPublishPayload = z.infer<typeof InteractionPublishPayloadSchema>;
@@ -4750,10 +4368,6 @@ export interface InteractionDeletePayload {
4750
4368
  export type InteractionForkPayload = z.infer<typeof InteractionForkPayloadSchema>;
4751
4369
  export type InteractionExecutionPayload = z.infer<typeof InteractionExecutionPayloadSchema>;
4752
4370
  export type NamedInteractionExecutionPayload = z.infer<typeof NamedInteractionExecutionPayloadSchema>;
4753
- export type ToolRef = string | {
4754
- name: string;
4755
- description: string;
4756
- };
4757
4371
  export type ConversationVisibility = z.infer<typeof ConversationVisibilitySchema>;
4758
4372
  /**
4759
4373
  * Defines the scope for agent search operations.
@@ -4852,15 +4466,12 @@ export interface ToolResultContent {
4852
4466
  * rather than throwing, and an empty/absent label falls back to the id.
4853
4467
  */
4854
4468
  export declare function normalizeAgentResources(value: unknown): AgentResourceReference[];
4855
- /** Extract the normalized resource references a tool declared in its result metadata. */
4856
- export declare function getResourcesFromToolResult(result: Pick<ToolResultContent, 'meta'>): AgentResourceReference[];
4857
4469
  export type ToolResult = z.infer<typeof ToolResultSchema>;
4858
4470
  /**
4859
4471
  * The payload to sent the tool responses back to the target LLM
4860
4472
  */
4861
4473
  export type ToolResultsPayload = z.infer<typeof ToolResultsPayloadSchema>;
4862
4474
  export type UserMessagePayload = z.infer<typeof UserMessagePayloadSchema>;
4863
- export type CheckpointConversationPayload = Omit<ToolResultsPayload, 'results' | 'tools'>;
4864
4475
  export declare enum RunSourceTypes {
4865
4476
  api = "api",
4866
4477
  cli = "cli",
@@ -4901,6 +4512,7 @@ export interface BaseExecutionRun<P = unknown> {
4901
4512
  finish_reason?: string;
4902
4513
  prompt?: unknown;
4903
4514
  token_use?: ExecutionTokenUsage;
4515
+ prompt_cache_diagnostics?: PromptCacheDiagnostic[];
4904
4516
  chunks?: number;
4905
4517
  execution_time?: number;
4906
4518
  /** @format date-time */
@@ -4943,19 +4555,7 @@ export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionR
4943
4555
  conversation?: unknown;
4944
4556
  options?: StatelessExecutionOptions;
4945
4557
  }
4946
- export interface LegacyInteractionExecutionResult<P = unknown> extends Omit<InteractionExecutionResult<P>, 'result' | 'account' | 'project'> {
4947
- account: string | AccountRef;
4948
- project: string | ProjectRef;
4949
- result?: JSONObject | string | null;
4950
- }
4951
4558
  export type ExecutionRunRef = z.infer<typeof ExecutionRunRefSchema>;
4952
- export declare const ExecutionRunRefSelect = "-result -parameters -result_schema -prompt";
4953
- export declare enum ConfigModesDescription {
4954
- RUN_AND_INTERACTION_CONFIG = "This run configuration is used. Undefined options are filled with interaction configuration.",
4955
- RUN_CONFIG_ONLY = "Only this run configuration is used. Undefined options remain undefined.",
4956
- INTERACTION_CONFIG_ONLY = "Only interaction configuration is used."
4957
- }
4958
- export declare const ConfigModesOptions: Record<ConfigModes, ConfigModesDescription>;
4959
4559
  export type InteractionExecutionConfiguration = z.infer<typeof InteractionExecutionConfigurationSchema>;
4960
4560
  export type GenerateInteractionPayload = z.infer<typeof GenerateInteractionPayloadSchema>;
4961
4561
  export type GenerateTestDataPayload = z.infer<typeof GenerateTestDataPayloadSchema>;
@@ -5001,79 +4601,17 @@ export type ResolvedRuntimeConfig = z.infer<typeof ResolvedRuntimeConfigSchema>;
5001
4601
  * (environment, model) that would be used at execution time.
5002
4602
  */
5003
4603
  export type ResolvedInteractionExecutionInfo = z.infer<typeof ResolvedInteractionExecutionInfoSchema>;
5004
- /**
5005
- * A builtin tool definition from the tools catalog
5006
- */
5007
- export interface BuiltinToolDefinition {
5008
- /**
5009
- * The unique tool name
5010
- */
5011
- name: string;
5012
- /**
5013
- * One-line summary shown in the tool selector UI
5014
- */
5015
- summary?: string;
5016
- /**
5017
- * JSON schema for the tool's parameters
5018
- */
5019
- params: JSONSchema;
5020
- /**
5021
- * Whether this tool is active by default when no explicit tool list is provided.
5022
- * Tools with default: false are only activated by skills.
5023
- */
5024
- default: boolean;
5025
- /**
5026
- * Behavioral hints following the MCP ToolAnnotations spec.
5027
- * Used for display purposes only — not sent to LLMs.
5028
- */
5029
- annotations?: MCPToolAnnotations;
5030
- }
5031
- /**
5032
- * A system skill entry in the tools catalog.
5033
- * System skills are built into the platform and unlock hidden tools.
5034
- */
5035
- export interface SystemSkillCatalogEntry {
5036
- /** Skill name without the learn_ prefix, e.g. "document_search" */
5037
- name: string;
5038
- /** Tool name used in agent selection, i.e. "learn_document_search" */
5039
- tool_name: string;
5040
- /** Human-readable display title */
5041
- title: string;
5042
- /** Description of what the skill unlocks */
5043
- description: string;
5044
- /** Tool names this skill enables (unlocks) when called */
5045
- tools: string[];
5046
- /** Whether this skill is part of the default agent toolkit */
5047
- default?: boolean;
5048
- }
5049
- /**
5050
- * Response from the builtin tools catalog endpoint
5051
- */
5052
- export interface BuiltinToolsCatalogResponse {
5053
- /**
5054
- * List of available builtin tools
5055
- */
5056
- tools: BuiltinToolDefinition[];
5057
- /**
5058
- * When the catalog was generated
5059
- */
5060
- generated_at: string;
5061
- /**
5062
- * Total number of tools in the catalog
5063
- */
5064
- total_tools: number;
5065
- /**
5066
- * System skills bundled in the platform, available without app installation
5067
- */
5068
- skills?: SystemSkillCatalogEntry[];
4604
+ export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
4605
+ prompts: PopulatedPromptSegmentDef[];
5069
4606
  }
4607
+ export type UpdateExecutionRunPayload = z.infer<typeof UpdateExecutionRunPayloadSchema>;
5070
4608
 
5071
4609
  // -----------------------------------------------------------------------------
5072
4610
  // @vertesia/common: prompt.d.ts
5073
4611
  // -----------------------------------------------------------------------------
5074
4612
  import type { JSONSchema, PromptRole } from '@llumiverse/common';
5075
4613
  import type { z } from 'zod';
5076
- import type { PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema } from './api-schemas/interaction.js';
4614
+ import type { ExportedPromptTemplateRefSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema } from './api-schemas/interaction.js';
5077
4615
  import type { PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, RenderPromptPayloadSchema, RenderPromptResponseSchema } from './api-schemas/prompt.js';
5078
4616
  export interface ChatPromptSchema {
5079
4617
  role: PromptRole.user | PromptRole.assistant;
@@ -5094,9 +4632,6 @@ export interface PromptSegmentDef<T = string | PromptTemplate | PromptTemplateRe
5094
4632
  template?: T;
5095
4633
  configuration?: unknown;
5096
4634
  }
5097
- export interface PromptSegmentRef<T = string | PromptTemplate | PromptTemplateRef> extends PromptSegmentDef<T> {
5098
- id: string;
5099
- }
5100
4635
  export interface PopulatedPromptSegmentDef extends Omit<PromptSegmentDef, 'template'> {
5101
4636
  template?: PromptTemplate;
5102
4637
  }
@@ -5107,9 +4642,6 @@ export interface ExecutablePromptSegmentDef extends Omit<PromptSegmentDef, 'temp
5107
4642
  template?: ExecutablePromptTemplate;
5108
4643
  }
5109
4644
  export type PromptTemplateRef = z.infer<typeof PromptTemplateRefSchema>;
5110
- export interface PromptTemplateRefWithSchema extends PromptTemplateRef {
5111
- inputSchema?: JSONSchema;
5112
- }
5113
4645
  export declare enum TemplateType {
5114
4646
  jst = "jst",
5115
4647
  handlebars = "handlebars",
@@ -5122,6 +4654,8 @@ export interface ExecutablePromptTemplate {
5122
4654
  inputSchema?: JSONSchema;
5123
4655
  }
5124
4656
  export type PromptTemplate = z.infer<typeof PromptTemplateSchema>;
4657
+ export type InteractionPromptTemplateInput = z.infer<typeof InteractionPromptTemplateInputSchema>;
4658
+ export type InteractionPromptSegmentInput = z.infer<typeof InteractionPromptSegmentInputSchema>;
5125
4659
  export type PromptTemplateForkPayload = z.infer<typeof PromptTemplateForkPayloadSchema>;
5126
4660
  export type PromptTemplateCreatePayload = z.infer<typeof PromptTemplateCreatePayloadSchema>;
5127
4661
  export type PromptTemplateUpdatePayload = z.infer<typeof PromptTemplateUpdatePayloadSchema>;
@@ -5136,6 +4670,7 @@ export type RenderPromptPayload = z.infer<typeof RenderPromptPayloadSchema>;
5136
4670
  * been a name for it on either side of the wire.
5137
4671
  */
5138
4672
  export type RenderPromptResponse = z.infer<typeof RenderPromptResponseSchema>;
4673
+ export type ExportedPromptTemplateRef = z.infer<typeof ExportedPromptTemplateRefSchema>;
5139
4674
 
5140
4675
  // -----------------------------------------------------------------------------
5141
4676
  // @vertesia/common: skill.d.ts
@@ -5205,29 +4740,19 @@ export interface InjectedSkill {
5205
4740
  */
5206
4741
  match_score?: number;
5207
4742
  }
5208
- /**
5209
- * Result from generateTools activity with skills
5210
- */
5211
- export interface ToolsWithSkills {
5212
- /**
5213
- * Array of tool definitions
5214
- */
5215
- tools: unknown[];
5216
- /**
5217
- * Skills injected based on context
5218
- */
5219
- injected_skills: InjectedSkill[];
5220
- }
5221
4743
 
5222
4744
  // -----------------------------------------------------------------------------
5223
4745
  // @vertesia/common: runs.d.ts
5224
4746
  // -----------------------------------------------------------------------------
5225
4747
  import type { z } from 'zod';
5226
- import type { ExecutionRunDocRefSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunSearchMetaResponseSchema } from './api-schemas/interaction.js';
4748
+ import type { ComputeRunFacetsResponseSchema, ExecutionRunDocRefSchema, FindRunResultArraySchema, FindRunResultSchema, PopulatedExecutionRunResultSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunSearchMetaResponseSchema } from './api-schemas/interaction.js';
5227
4749
  /**
5228
4750
  * The run ref is used to identify a run document in the storage
5229
4751
  */
5230
4752
  export type ExecutionRunDocRef = z.infer<typeof ExecutionRunDocRefSchema>;
4753
+ export type FindRunResult = z.infer<typeof FindRunResultSchema>;
4754
+ export type FindRunResultArray = z.infer<typeof FindRunResultArraySchema>;
4755
+ export type PopulatedExecutionRunResult = z.infer<typeof PopulatedExecutionRunResultSchema>;
5231
4756
  /**
5232
4757
  * Interaction execution payload for creating a new run
5233
4758
  * It uses interaction field (from NamedInteractionExecutionPayload) to pass the interaction ID to run
@@ -5249,6 +4774,7 @@ export interface RangeValue {
5249
4774
  lte?: number | string;
5250
4775
  }
5251
4776
  export type RunSearchMetaResponse = z.infer<typeof RunSearchMetaResponseSchema>;
4777
+ export type ComputeRunFacetsResponse = z.infer<typeof ComputeRunFacetsResponseSchema>;
5252
4778
 
5253
4779
  // -----------------------------------------------------------------------------
5254
4780
  // @vertesia/common: data-platform.d.ts
@@ -5262,7 +4788,7 @@ import type { AppDashboardDefinitionSchema } from './api-schemas/app-runtime.js'
5262
4788
  */
5263
4789
  import type { z } from 'zod';
5264
4790
  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';
5265
- import type { AlterTableOperationSchema, AlterTablePayloadSchema, BatchQueryPayloadSchema, BatchQueryResultItemSchema, BatchQueryResultSchema, CreateDataStorePayloadSchema, CreateSnapshotPayloadSchema, CreateTablePayloadSchema, CreateTablesPayloadSchema, DataColumnForAISchema, DataColumnSchema, DataColumnTypeSchema, 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';
4791
+ 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';
5266
4792
  /**
5267
4793
  * Supported column data types for DuckDB tables.
5268
4794
  */
@@ -5493,7 +5019,7 @@ export type DataSchemaForAI = z.infer<typeof DataSchemaForAISchema>;
5493
5019
  /**
5494
5020
  * Version retention configuration.
5495
5021
  */
5496
- export interface DataStoreRetentionConfig {
5022
+ interface DataStoreRetentionConfig {
5497
5023
  /** Keep versions for this many days */
5498
5024
  retention_days: number;
5499
5025
  /** Named snapshots are exempt from retention */
@@ -5546,14 +5072,6 @@ export type DashboardLayout = z.infer<typeof DashboardLayoutSchema>;
5546
5072
  * @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
5547
5073
  */
5548
5074
  export declare const DEFAULT_DASHBOARD_LAYOUT: DashboardLayout;
5549
- /**
5550
- * SQL query parameters with default values.
5551
- * Supports {{param_name}} placeholders in SQL that get substituted at runtime.
5552
- */
5553
- export interface DashboardQueryParameters {
5554
- /** Default values for SQL parameters. Keys are parameter names (without braces). */
5555
- defaults: Record<string, string>;
5556
- }
5557
5075
  /**
5558
5076
  * Elasticsearch DSL supported by dashboard data sources.
5559
5077
  * Queries execute through Vertesia Store, so project/security filtering remains server-side.
@@ -5611,27 +5129,6 @@ export type CreateDashboardPayload = z.infer<typeof CreateDashboardPayloadSchema
5611
5129
  * Payload for updating a dashboard.
5612
5130
  */
5613
5131
  export type UpdateDashboardPayload = z.infer<typeof UpdateDashboardPayloadSchema>;
5614
- /**
5615
- * Payload for previewing a dashboard (render without saving).
5616
- */
5617
- export interface PreviewDashboardPayload {
5618
- /** Data source used to populate Vega `data.values`. */
5619
- dataSource?: DashboardDataSource;
5620
- /** SQL query that returns all data for the dashboard */
5621
- query?: string;
5622
- /** Maximum rows to return from the query (default: 10000) */
5623
- queryLimit?: number;
5624
- /** Default values for SQL parameters */
5625
- queryParameters?: Record<string, string>;
5626
- /** Complete Vega-Lite specification for the entire dashboard */
5627
- spec?: Record<string, unknown>;
5628
- /** @deprecated Use single `query` field instead */
5629
- queries?: DashboardQuery[];
5630
- /** @deprecated Use single `spec` field with vconcat/hconcat instead */
5631
- panels?: DashboardPanel[];
5632
- /** @deprecated Layout is now handled within the Vega-Lite spec */
5633
- layout?: Partial<DashboardLayout>;
5634
- }
5635
5132
  /**
5636
5133
  * Options for rendering a dashboard.
5637
5134
  */
@@ -5643,21 +5140,6 @@ export interface RenderDashboardOptions {
5643
5140
  /** Background color (default: white) */
5644
5141
  backgroundColor?: string;
5645
5142
  }
5646
- /**
5647
- * Result of rendering a dashboard.
5648
- */
5649
- export interface RenderDashboardResult {
5650
- /** URL to the rendered PNG image */
5651
- url: string;
5652
- /** When the URL expires (seconds from now) */
5653
- expires_in: number;
5654
- /** When the dashboard was rendered */
5655
- rendered_at: string;
5656
- /** Image width in pixels */
5657
- width: number;
5658
- /** Image height in pixels */
5659
- height: number;
5660
- }
5661
5143
  /**
5662
5144
  * A point-in-time version of a dashboard.
5663
5145
  * Stores full snapshot inline (no external storage needed for small JSON documents).
@@ -5675,4 +5157,6 @@ export type CreateDashboardSnapshotPayload = z.infer<typeof CreateDashboardSnaps
5675
5157
  * Payload for promoting a version to current.
5676
5158
  */
5677
5159
  export type PromoteDashboardVersionPayload = z.infer<typeof PromoteDashboardVersionPayloadSchema>;
5160
+ export type DataColumnUpdate = z.infer<typeof DataColumnUpdateSchema>;
5161
+ export {};
5678
5162