@veruna/api-contracts 6.28.0 → 6.30.0

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.
Files changed (27) hide show
  1. package/build/tsconfig.tsbuildinfo +1 -1
  2. package/build/v1/chat/commands/create-reg-chat.command.d.ts +13 -0
  3. package/build/v1/chat/commands/create-unreg-chat.command.d.ts +13 -0
  4. package/build/v1/chat/commands/update-chat-title.command.d.ts +13 -0
  5. package/build/v1/chat/commands/update-chat.command.d.ts +13 -0
  6. package/build/v1/chat/queries/get-last-active-chat.query.d.ts +13 -0
  7. package/build/v1/chat/queries/get-reg-chat.query.d.ts +13 -0
  8. package/build/v1/chat/queries/get-unreg-chat.query.d.ts +13 -0
  9. package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +13 -0
  10. package/build/v1/message/commands/create-message.command.d.ts +4 -0
  11. package/build/v1/message/queries/get-message-stream-reg.query.d.ts +2 -0
  12. package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +2 -0
  13. package/build/v1/message/schemas/index.d.ts +4 -4
  14. package/build/v1/message/schemas/index.js +6 -2
  15. package/build/v1/message/schemas/index.js.map +1 -1
  16. package/build/v1/message/schemas/message-response.schema.d.ts +13 -0
  17. package/build/v1/message/schemas/message-step-response.schema.d.ts +64 -0
  18. package/build/v1/message/schemas/message-step-response.schema.js +19 -1
  19. package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
  20. package/build/v1/message/schemas/model-attributed-step-types.const.js +1 -0
  21. package/build/v1/message/schemas/model-attributed-step-types.const.js.map +1 -1
  22. package/build/v1/message/schemas/step-metadata.schema.d.ts +6 -0
  23. package/build/v1/message/schemas/step-metadata.schema.js +6 -1
  24. package/build/v1/message/schemas/step-metadata.schema.js.map +1 -1
  25. package/build/v1/message/schemas/stream-events.schema.d.ts +4 -0
  26. package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
  27. package/package.json +1 -1
@@ -28,6 +28,9 @@ export declare namespace CreateRegChatCommand {
28
28
  modelUuid: z.ZodNullable<z.ZodString>;
29
29
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
30
30
  content: z.ZodString;
31
+ videoUrl: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ content: z.ZodString;
31
34
  }, z.core.$strip>, z.ZodObject<{
32
35
  queries: z.ZodArray<z.ZodString>;
33
36
  citations: z.ZodArray<z.ZodObject<{
@@ -104,6 +107,16 @@ export declare namespace CreateRegChatCommand {
104
107
  }, z.core.$strip>, z.ZodObject<{
105
108
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
106
109
  text: z.ZodNullable<z.ZodString>;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ query: z.ZodString;
112
+ results: z.ZodArray<z.ZodObject<{
113
+ chatId: z.ZodString;
114
+ messageId: z.ZodNullable<z.ZodString>;
115
+ title: z.ZodString;
116
+ snippet: z.ZodString;
117
+ lastMessageAt: z.ZodString;
118
+ }, z.core.$strip>>;
119
+ hasMore: z.ZodBoolean;
107
120
  }, z.core.$strip>]>>;
108
121
  showInUi: z.ZodBoolean;
109
122
  startedAt: z.ZodNullable<z.ZodString>;
@@ -28,6 +28,9 @@ export declare namespace CreateUnregChatCommand {
28
28
  modelUuid: z.ZodNullable<z.ZodString>;
29
29
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
30
30
  content: z.ZodString;
31
+ videoUrl: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ content: z.ZodString;
31
34
  }, z.core.$strip>, z.ZodObject<{
32
35
  queries: z.ZodArray<z.ZodString>;
33
36
  citations: z.ZodArray<z.ZodObject<{
@@ -104,6 +107,16 @@ export declare namespace CreateUnregChatCommand {
104
107
  }, z.core.$strip>, z.ZodObject<{
105
108
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
106
109
  text: z.ZodNullable<z.ZodString>;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ query: z.ZodString;
112
+ results: z.ZodArray<z.ZodObject<{
113
+ chatId: z.ZodString;
114
+ messageId: z.ZodNullable<z.ZodString>;
115
+ title: z.ZodString;
116
+ snippet: z.ZodString;
117
+ lastMessageAt: z.ZodString;
118
+ }, z.core.$strip>>;
119
+ hasMore: z.ZodBoolean;
107
120
  }, z.core.$strip>]>>;
108
121
  showInUi: z.ZodBoolean;
109
122
  startedAt: z.ZodNullable<z.ZodString>;
@@ -27,6 +27,9 @@ export declare namespace UpdateChatTitleCommand {
27
27
  modelUuid: z.ZodNullable<z.ZodString>;
28
28
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
29
29
  content: z.ZodString;
30
+ videoUrl: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ content: z.ZodString;
30
33
  }, z.core.$strip>, z.ZodObject<{
31
34
  queries: z.ZodArray<z.ZodString>;
32
35
  citations: z.ZodArray<z.ZodObject<{
@@ -103,6 +106,16 @@ export declare namespace UpdateChatTitleCommand {
103
106
  }, z.core.$strip>, z.ZodObject<{
104
107
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
105
108
  text: z.ZodNullable<z.ZodString>;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ query: z.ZodString;
111
+ results: z.ZodArray<z.ZodObject<{
112
+ chatId: z.ZodString;
113
+ messageId: z.ZodNullable<z.ZodString>;
114
+ title: z.ZodString;
115
+ snippet: z.ZodString;
116
+ lastMessageAt: z.ZodString;
117
+ }, z.core.$strip>>;
118
+ hasMore: z.ZodBoolean;
106
119
  }, z.core.$strip>]>>;
107
120
  showInUi: z.ZodBoolean;
108
121
  startedAt: z.ZodNullable<z.ZodString>;
@@ -29,6 +29,9 @@ export declare namespace UpdateChatCommand {
29
29
  modelUuid: z.ZodNullable<z.ZodString>;
30
30
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
31
31
  content: z.ZodString;
32
+ videoUrl: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ content: z.ZodString;
32
35
  }, z.core.$strip>, z.ZodObject<{
33
36
  queries: z.ZodArray<z.ZodString>;
34
37
  citations: z.ZodArray<z.ZodObject<{
@@ -105,6 +108,16 @@ export declare namespace UpdateChatCommand {
105
108
  }, z.core.$strip>, z.ZodObject<{
106
109
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
107
110
  text: z.ZodNullable<z.ZodString>;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ query: z.ZodString;
113
+ results: z.ZodArray<z.ZodObject<{
114
+ chatId: z.ZodString;
115
+ messageId: z.ZodNullable<z.ZodString>;
116
+ title: z.ZodString;
117
+ snippet: z.ZodString;
118
+ lastMessageAt: z.ZodString;
119
+ }, z.core.$strip>>;
120
+ hasMore: z.ZodBoolean;
108
121
  }, z.core.$strip>]>>;
109
122
  showInUi: z.ZodBoolean;
110
123
  startedAt: z.ZodNullable<z.ZodString>;
@@ -25,6 +25,9 @@ export declare namespace GetLastActiveChatQuery {
25
25
  modelUuid: z.ZodNullable<z.ZodString>;
26
26
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
27
27
  content: z.ZodString;
28
+ videoUrl: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ content: z.ZodString;
28
31
  }, z.core.$strip>, z.ZodObject<{
29
32
  queries: z.ZodArray<z.ZodString>;
30
33
  citations: z.ZodArray<z.ZodObject<{
@@ -101,6 +104,16 @@ export declare namespace GetLastActiveChatQuery {
101
104
  }, z.core.$strip>, z.ZodObject<{
102
105
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
103
106
  text: z.ZodNullable<z.ZodString>;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ query: z.ZodString;
109
+ results: z.ZodArray<z.ZodObject<{
110
+ chatId: z.ZodString;
111
+ messageId: z.ZodNullable<z.ZodString>;
112
+ title: z.ZodString;
113
+ snippet: z.ZodString;
114
+ lastMessageAt: z.ZodString;
115
+ }, z.core.$strip>>;
116
+ hasMore: z.ZodBoolean;
104
117
  }, z.core.$strip>]>>;
105
118
  showInUi: z.ZodBoolean;
106
119
  startedAt: z.ZodNullable<z.ZodString>;
@@ -25,6 +25,9 @@ export declare namespace GetRegChatQuery {
25
25
  modelUuid: z.ZodNullable<z.ZodString>;
26
26
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
27
27
  content: z.ZodString;
28
+ videoUrl: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ content: z.ZodString;
28
31
  }, z.core.$strip>, z.ZodObject<{
29
32
  queries: z.ZodArray<z.ZodString>;
30
33
  citations: z.ZodArray<z.ZodObject<{
@@ -101,6 +104,16 @@ export declare namespace GetRegChatQuery {
101
104
  }, z.core.$strip>, z.ZodObject<{
102
105
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
103
106
  text: z.ZodNullable<z.ZodString>;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ query: z.ZodString;
109
+ results: z.ZodArray<z.ZodObject<{
110
+ chatId: z.ZodString;
111
+ messageId: z.ZodNullable<z.ZodString>;
112
+ title: z.ZodString;
113
+ snippet: z.ZodString;
114
+ lastMessageAt: z.ZodString;
115
+ }, z.core.$strip>>;
116
+ hasMore: z.ZodBoolean;
104
117
  }, z.core.$strip>]>>;
105
118
  showInUi: z.ZodBoolean;
106
119
  startedAt: z.ZodNullable<z.ZodString>;
@@ -25,6 +25,9 @@ export declare namespace GetUnregChatQuery {
25
25
  modelUuid: z.ZodNullable<z.ZodString>;
26
26
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
27
27
  content: z.ZodString;
28
+ videoUrl: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ content: z.ZodString;
28
31
  }, z.core.$strip>, z.ZodObject<{
29
32
  queries: z.ZodArray<z.ZodString>;
30
33
  citations: z.ZodArray<z.ZodObject<{
@@ -101,6 +104,16 @@ export declare namespace GetUnregChatQuery {
101
104
  }, z.core.$strip>, z.ZodObject<{
102
105
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
103
106
  text: z.ZodNullable<z.ZodString>;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ query: z.ZodString;
109
+ results: z.ZodArray<z.ZodObject<{
110
+ chatId: z.ZodString;
111
+ messageId: z.ZodNullable<z.ZodString>;
112
+ title: z.ZodString;
113
+ snippet: z.ZodString;
114
+ lastMessageAt: z.ZodString;
115
+ }, z.core.$strip>>;
116
+ hasMore: z.ZodBoolean;
104
117
  }, z.core.$strip>]>>;
105
118
  showInUi: z.ZodBoolean;
106
119
  startedAt: z.ZodNullable<z.ZodString>;
@@ -23,6 +23,9 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
23
23
  modelUuid: z.ZodNullable<z.ZodString>;
24
24
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
25
25
  content: z.ZodString;
26
+ videoUrl: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ content: z.ZodString;
26
29
  }, z.core.$strip>, z.ZodObject<{
27
30
  queries: z.ZodArray<z.ZodString>;
28
31
  citations: z.ZodArray<z.ZodObject<{
@@ -99,6 +102,16 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
99
102
  }, z.core.$strip>, z.ZodObject<{
100
103
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
101
104
  text: z.ZodNullable<z.ZodString>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ query: z.ZodString;
107
+ results: z.ZodArray<z.ZodObject<{
108
+ chatId: z.ZodString;
109
+ messageId: z.ZodNullable<z.ZodString>;
110
+ title: z.ZodString;
111
+ snippet: z.ZodString;
112
+ lastMessageAt: z.ZodString;
113
+ }, z.core.$strip>>;
114
+ hasMore: z.ZodBoolean;
102
115
  }, z.core.$strip>]>>;
103
116
  showInUi: z.ZodBoolean;
104
117
  startedAt: z.ZodNullable<z.ZodString>;
@@ -32,6 +32,8 @@ export declare namespace CreateMessageCommand {
32
32
  modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
33
33
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
34
34
  queries: z.ZodArray<z.ZodString>;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ query: z.ZodString;
35
37
  }, z.core.$strip>, z.ZodObject<{
36
38
  sourceResolution: z.ZodString;
37
39
  sourceImageCount: z.ZodNumber;
@@ -209,6 +211,8 @@ export declare namespace CreateMessageCommand {
209
211
  modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
210
212
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
211
213
  queries: z.ZodArray<z.ZodString>;
214
+ }, z.core.$strip>, z.ZodObject<{
215
+ query: z.ZodString;
212
216
  }, z.core.$strip>, z.ZodObject<{
213
217
  sourceResolution: z.ZodString;
214
218
  sourceImageCount: z.ZodNumber;
@@ -13,6 +13,8 @@ export declare namespace GetMessageStreamRegQuery {
13
13
  modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14
14
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
15
15
  queries: z.ZodArray<z.ZodString>;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ query: z.ZodString;
16
18
  }, z.core.$strip>, z.ZodObject<{
17
19
  sourceResolution: z.ZodString;
18
20
  sourceImageCount: z.ZodNumber;
@@ -13,6 +13,8 @@ export declare namespace GetMessageStreamUnregQuery {
13
13
  modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14
14
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
15
15
  queries: z.ZodArray<z.ZodString>;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ query: z.ZodString;
16
18
  }, z.core.$strip>, z.ZodObject<{
17
19
  sourceResolution: z.ZodString;
18
20
  sourceImageCount: z.ZodNumber;
@@ -4,8 +4,8 @@ export { UserRating } from './user-rating.enum';
4
4
  export { CreateMessageRequestSchema } from './create-message-request.schema';
5
5
  export { CreateMessageResponseSchema } from './create-message-response.schema';
6
6
  export { MessageResponseSchema } from './message-response.schema';
7
- export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, MemoryStepContentSchema, } from './message-step-response.schema';
8
- export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, MemoryStepContent, } from './message-step-response.schema';
7
+ export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, MemoryStepContentSchema, ConversationSearchResultItemSchema, ConversationSearchStepContentSchema, VideoAnalysisStepContentSchema, } from './message-step-response.schema';
8
+ export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, MemoryStepContent, ConversationSearchResultItem, ConversationSearchStepContent, VideoAnalysisStepContent, } from './message-step-response.schema';
9
9
  export { MessageAttachmentResponseSchema, MessageAttachmentsResponseSchema, AttachmentMetaResponseSchema, } from './message-attachment-response.schema';
10
10
  export type { MessageAttachmentResponse, MessageAttachmentsResponse, AttachmentMetaResponse, } from './message-attachment-response.schema';
11
11
  export { MessageCitationResponseSchema, MessageCitationsResponseSchema, } from './message-citation-response.schema';
@@ -14,8 +14,8 @@ export { StreamEventType } from './stream-event-type.enum';
14
14
  export { StreamEventSchema, StreamStepStartEventSchema, StreamStepChunkEventSchema, StreamStepErrorEventSchema, StreamStepDoneEventSchema, StreamStepBilledEventSchema, StreamBillingEstimateEventSchema, StreamImageEventSchema, StreamImageGenerationErrorEventSchema, StreamCitationsEventSchema, StreamHeartbeatEventSchema, StreamDoneEventSchema, StreamCancelledEventSchema, StreamErrorEventSchema, StreamCancellationReason, } from './stream-events.schema';
15
15
  export { CitationStatus } from './citation-status.enum';
16
16
  export { CitationSchema, type Citation } from './citation.schema';
17
- export { StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
18
- export type { WebSearchStepStartMetadata, ImageEditStepStartMetadata, VideoAnalysisStepStartMetadata, CodeExecutionStepStartMetadata, UploadStepDoneMetadata, StepStartMetadata, StepDoneMetadata, } from './step-metadata.schema';
17
+ export { StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ConversationSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
18
+ export type { WebSearchStepStartMetadata, ConversationSearchStepStartMetadata, ImageEditStepStartMetadata, VideoAnalysisStepStartMetadata, CodeExecutionStepStartMetadata, UploadStepDoneMetadata, StepStartMetadata, StepDoneMetadata, } from './step-metadata.schema';
19
19
  export { StepChunkKind } from './step-chunk-kind.enum';
20
20
  export { BashChunkStream } from './bash-chunk-stream.enum';
21
21
  export { STEP_CHUNK_LINE_MAX_LENGTH, STEP_CHUNK_LINES_MAX_ITEMS, StepChunkMetadataSchema, ArgsChunkMetadataSchema, DescribeChunkMetadataSchema, BashChunkMetadataSchema, CreateFileChunkMetadataSchema, StrReplaceChunkMetadataSchema, ViewChunkMetadataSchema, } from './step-chunk-metadata.schema';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BashChunkStream = exports.StepChunkKind = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = exports.UploadStepDoneMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.CitationSchema = exports.CitationStatus = exports.StreamCancellationReason = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamBillingEstimateEventSchema = exports.StreamStepBilledEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
4
- exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoMessageKey = exports.BudgetPromoCta = exports.BudgetPromoKind = exports.MessageStepStatus = exports.isModelAttributedStepType = exports.MODEL_ATTRIBUTED_STEP_TYPES = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = exports.ArgsChunkMetadataSchema = exports.StepChunkMetadataSchema = exports.STEP_CHUNK_LINES_MAX_ITEMS = exports.STEP_CHUNK_LINE_MAX_LENGTH = void 0;
3
+ exports.UploadStepDoneMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.CitationSchema = exports.CitationStatus = exports.StreamCancellationReason = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamBillingEstimateEventSchema = exports.StreamStepBilledEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.VideoAnalysisStepContentSchema = exports.ConversationSearchStepContentSchema = exports.ConversationSearchResultItemSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
4
+ exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoMessageKey = exports.BudgetPromoCta = exports.BudgetPromoKind = exports.MessageStepStatus = exports.isModelAttributedStepType = exports.MODEL_ATTRIBUTED_STEP_TYPES = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = exports.ArgsChunkMetadataSchema = exports.StepChunkMetadataSchema = exports.STEP_CHUNK_LINES_MAX_ITEMS = exports.STEP_CHUNK_LINE_MAX_LENGTH = exports.BashChunkStream = exports.StepChunkKind = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = void 0;
5
5
  var message_role_enum_1 = require("./message-role.enum");
6
6
  Object.defineProperty(exports, "MessageRole", { enumerable: true, get: function () { return message_role_enum_1.MessageRole; } });
7
7
  var message_status_enum_1 = require("./message-status.enum");
@@ -25,6 +25,9 @@ Object.defineProperty(exports, "ImageGenStepContentSchema", { enumerable: true,
25
25
  Object.defineProperty(exports, "UploadStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.UploadStepContentSchema; } });
26
26
  Object.defineProperty(exports, "CodeExecutionStepContentResponseSchema", { enumerable: true, get: function () { return message_step_response_schema_1.CodeExecutionStepContentResponseSchema; } });
27
27
  Object.defineProperty(exports, "MemoryStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.MemoryStepContentSchema; } });
28
+ Object.defineProperty(exports, "ConversationSearchResultItemSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ConversationSearchResultItemSchema; } });
29
+ Object.defineProperty(exports, "ConversationSearchStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ConversationSearchStepContentSchema; } });
30
+ Object.defineProperty(exports, "VideoAnalysisStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.VideoAnalysisStepContentSchema; } });
28
31
  var message_attachment_response_schema_1 = require("./message-attachment-response.schema");
29
32
  Object.defineProperty(exports, "MessageAttachmentResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentResponseSchema; } });
30
33
  Object.defineProperty(exports, "MessageAttachmentsResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentsResponseSchema; } });
@@ -58,6 +61,7 @@ var step_metadata_schema_1 = require("./step-metadata.schema");
58
61
  Object.defineProperty(exports, "StepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.StepStartMetadataSchema; } });
59
62
  Object.defineProperty(exports, "StepDoneMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.StepDoneMetadataSchema; } });
60
63
  Object.defineProperty(exports, "WebSearchStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.WebSearchStepStartMetadataSchema; } });
64
+ Object.defineProperty(exports, "ConversationSearchStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.ConversationSearchStepStartMetadataSchema; } });
61
65
  Object.defineProperty(exports, "ImageEditStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.ImageEditStepStartMetadataSchema; } });
62
66
  Object.defineProperty(exports, "VideoAnalysisStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.VideoAnalysisStepStartMetadataSchema; } });
63
67
  Object.defineProperty(exports, "CodeExecutionStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.CodeExecutionStepStartMetadataSchema; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;A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AACzB,yEAGqC;AAFjC,6HAAA,gBAAgB,OAAA;AAChB,8HAAA,iBAAiB,OAAA;AAGrB,yEAAiE;AAAxD,+HAAA,kBAAkB,OAAA;AAC3B,yFAG6C;AAFzC,gJAAA,2BAA2B,OAAA;AAC3B,8IAAA,yBAAyB,OAAA;AAE7B,uEAA+D;AAAtD,6HAAA,iBAAiB,OAAA;AAC1B,uFAO4C;AANxC,mIAAA,eAAe,OAAA;AACf,kIAAA,cAAc,OAAA;AACd,yIAAA,qBAAqB,OAAA;AACrB,gJAAA,4BAA4B,OAAA;AAC5B,oJAAA,gCAAgC,OAAA;AAChC,iJAAA,6BAA6B,OAAA;AAOjC,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAE7B,6DAI+B;AAH3B,+HAAA,wBAAwB,OAAA;AACxB,gIAAA,yBAAyB,OAAA;AACzB,8HAAA,uBAAuB,OAAA;AAO3B,iEAAiG;AAAxF,kIAAA,yBAAyB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAE/D,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA"}
@@ -17,6 +17,9 @@ export declare const MessageResponseSchema: z.ZodObject<{
17
17
  modelUuid: z.ZodNullable<z.ZodString>;
18
18
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
19
19
  content: z.ZodString;
20
+ videoUrl: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ content: z.ZodString;
20
23
  }, z.core.$strip>, z.ZodObject<{
21
24
  queries: z.ZodArray<z.ZodString>;
22
25
  citations: z.ZodArray<z.ZodObject<{
@@ -93,6 +96,16 @@ export declare const MessageResponseSchema: z.ZodObject<{
93
96
  }, z.core.$strip>, z.ZodObject<{
94
97
  command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
95
98
  text: z.ZodNullable<z.ZodString>;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ query: z.ZodString;
101
+ results: z.ZodArray<z.ZodObject<{
102
+ chatId: z.ZodString;
103
+ messageId: z.ZodNullable<z.ZodString>;
104
+ title: z.ZodString;
105
+ snippet: z.ZodString;
106
+ lastMessageAt: z.ZodString;
107
+ }, z.core.$strip>>;
108
+ hasMore: z.ZodBoolean;
96
109
  }, z.core.$strip>]>>;
97
110
  showInUi: z.ZodBoolean;
98
111
  startedAt: z.ZodNullable<z.ZodString>;
@@ -91,8 +91,33 @@ export declare const MemoryStepContentSchema: z.ZodObject<{
91
91
  command: z.ZodEnum<typeof MemoryEditCommand>;
92
92
  text: z.ZodNullable<z.ZodString>;
93
93
  }, z.core.$strip>;
94
+ export declare const ConversationSearchResultItemSchema: z.ZodObject<{
95
+ chatId: z.ZodString;
96
+ messageId: z.ZodNullable<z.ZodString>;
97
+ title: z.ZodString;
98
+ snippet: z.ZodString;
99
+ lastMessageAt: z.ZodString;
100
+ }, z.core.$strip>;
101
+ export declare const ConversationSearchStepContentSchema: z.ZodObject<{
102
+ query: z.ZodString;
103
+ results: z.ZodArray<z.ZodObject<{
104
+ chatId: z.ZodString;
105
+ messageId: z.ZodNullable<z.ZodString>;
106
+ title: z.ZodString;
107
+ snippet: z.ZodString;
108
+ lastMessageAt: z.ZodString;
109
+ }, z.core.$strip>>;
110
+ hasMore: z.ZodBoolean;
111
+ }, z.core.$strip>;
112
+ export declare const VideoAnalysisStepContentSchema: z.ZodObject<{
113
+ content: z.ZodString;
114
+ videoUrl: z.ZodString;
115
+ }, z.core.$strip>;
94
116
  export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
95
117
  content: z.ZodString;
118
+ videoUrl: z.ZodString;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ content: z.ZodString;
96
121
  }, z.core.$strip>, z.ZodObject<{
97
122
  queries: z.ZodArray<z.ZodString>;
98
123
  citations: z.ZodArray<z.ZodObject<{
@@ -169,6 +194,16 @@ export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject
169
194
  }, z.core.$strip>, z.ZodObject<{
170
195
  command: z.ZodEnum<typeof MemoryEditCommand>;
171
196
  text: z.ZodNullable<z.ZodString>;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ query: z.ZodString;
199
+ results: z.ZodArray<z.ZodObject<{
200
+ chatId: z.ZodString;
201
+ messageId: z.ZodNullable<z.ZodString>;
202
+ title: z.ZodString;
203
+ snippet: z.ZodString;
204
+ lastMessageAt: z.ZodString;
205
+ }, z.core.$strip>>;
206
+ hasMore: z.ZodBoolean;
172
207
  }, z.core.$strip>]>;
173
208
  export declare const MessageStepResponseSchema: z.ZodObject<{
174
209
  uuid: z.ZodString;
@@ -177,6 +212,9 @@ export declare const MessageStepResponseSchema: z.ZodObject<{
177
212
  modelUuid: z.ZodNullable<z.ZodString>;
178
213
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
179
214
  content: z.ZodString;
215
+ videoUrl: z.ZodString;
216
+ }, z.core.$strip>, z.ZodObject<{
217
+ content: z.ZodString;
180
218
  }, z.core.$strip>, z.ZodObject<{
181
219
  queries: z.ZodArray<z.ZodString>;
182
220
  citations: z.ZodArray<z.ZodObject<{
@@ -253,6 +291,16 @@ export declare const MessageStepResponseSchema: z.ZodObject<{
253
291
  }, z.core.$strip>, z.ZodObject<{
254
292
  command: z.ZodEnum<typeof MemoryEditCommand>;
255
293
  text: z.ZodNullable<z.ZodString>;
294
+ }, z.core.$strip>, z.ZodObject<{
295
+ query: z.ZodString;
296
+ results: z.ZodArray<z.ZodObject<{
297
+ chatId: z.ZodString;
298
+ messageId: z.ZodNullable<z.ZodString>;
299
+ title: z.ZodString;
300
+ snippet: z.ZodString;
301
+ lastMessageAt: z.ZodString;
302
+ }, z.core.$strip>>;
303
+ hasMore: z.ZodBoolean;
256
304
  }, z.core.$strip>]>>;
257
305
  showInUi: z.ZodBoolean;
258
306
  startedAt: z.ZodNullable<z.ZodString>;
@@ -269,6 +317,9 @@ export type ImageGenStepContent = z.infer<typeof ImageGenStepContentSchema>;
269
317
  export type UploadStepContent = z.infer<typeof UploadStepContentSchema>;
270
318
  export type CodeExecutionStepContentResponse = z.infer<typeof CodeExecutionStepContentResponseSchema>;
271
319
  export type MemoryStepContent = z.infer<typeof MemoryStepContentSchema>;
320
+ export type ConversationSearchResultItem = z.infer<typeof ConversationSearchResultItemSchema>;
321
+ export type ConversationSearchStepContent = z.infer<typeof ConversationSearchStepContentSchema>;
322
+ export type VideoAnalysisStepContent = z.infer<typeof VideoAnalysisStepContentSchema>;
272
323
  export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
273
324
  uuid: z.ZodString;
274
325
  type: z.ZodEnum<typeof GenerationStepType>;
@@ -276,6 +327,9 @@ export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
276
327
  modelUuid: z.ZodNullable<z.ZodString>;
277
328
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
278
329
  content: z.ZodString;
330
+ videoUrl: z.ZodString;
331
+ }, z.core.$strip>, z.ZodObject<{
332
+ content: z.ZodString;
279
333
  }, z.core.$strip>, z.ZodObject<{
280
334
  queries: z.ZodArray<z.ZodString>;
281
335
  citations: z.ZodArray<z.ZodObject<{
@@ -352,6 +406,16 @@ export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
352
406
  }, z.core.$strip>, z.ZodObject<{
353
407
  command: z.ZodEnum<typeof MemoryEditCommand>;
354
408
  text: z.ZodNullable<z.ZodString>;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ query: z.ZodString;
411
+ results: z.ZodArray<z.ZodObject<{
412
+ chatId: z.ZodString;
413
+ messageId: z.ZodNullable<z.ZodString>;
414
+ title: z.ZodString;
415
+ snippet: z.ZodString;
416
+ lastMessageAt: z.ZodString;
417
+ }, z.core.$strip>>;
418
+ hasMore: z.ZodBoolean;
355
419
  }, z.core.$strip>]>>;
356
420
  showInUi: z.ZodBoolean;
357
421
  startedAt: z.ZodNullable<z.ZodString>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
3
+ exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.VideoAnalysisStepContentSchema = exports.ConversationSearchStepContentSchema = exports.ConversationSearchResultItemSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const primitive_completion_schema_1 = require("../../tool/sandbox/primitive-completion.schema");
6
6
  const generation_step_type_enum_1 = require("./generation-step-type.enum");
@@ -48,13 +48,31 @@ exports.MemoryStepContentSchema = zod_1.z.object({
48
48
  command: zod_1.z.enum(memory_edit_command_enum_1.MemoryEditCommand),
49
49
  text: zod_1.z.string().nullable(),
50
50
  });
51
+ exports.ConversationSearchResultItemSchema = zod_1.z.object({
52
+ chatId: zod_1.z.string().uuid(),
53
+ messageId: zod_1.z.string().uuid().nullable(),
54
+ title: zod_1.z.string(),
55
+ snippet: zod_1.z.string(),
56
+ lastMessageAt: zod_1.z.string(),
57
+ });
58
+ exports.ConversationSearchStepContentSchema = zod_1.z.object({
59
+ query: zod_1.z.string(),
60
+ results: zod_1.z.array(exports.ConversationSearchResultItemSchema),
61
+ hasMore: zod_1.z.boolean(),
62
+ });
63
+ exports.VideoAnalysisStepContentSchema = zod_1.z.object({
64
+ content: zod_1.z.string(),
65
+ videoUrl: zod_1.z.string(),
66
+ });
51
67
  exports.StepContentResponseSchema = zod_1.z.union([
68
+ exports.VideoAnalysisStepContentSchema,
52
69
  exports.TextStepContentSchema,
53
70
  exports.WebSearchStepContentSchema,
54
71
  exports.ImageGenStepContentSchema,
55
72
  exports.UploadStepContentSchema,
56
73
  exports.CodeExecutionStepContentResponseSchema,
57
74
  exports.MemoryStepContentSchema,
75
+ exports.ConversationSearchStepContentSchema,
58
76
  ]);
59
77
  exports.MessageStepResponseSchema = zod_1.z.object({
60
78
  uuid: zod_1.z.string().uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"message-step-response.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/message-step-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAkG;AAClG,2EAAiE;AACjE,yEAA+D;AAC/D,4FAAkF;AAKrE,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,+BAAuB,CAAC;CAC9C,CAAC,CAAC;AAKU,QAAA,yBAAyB,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;AAKrC,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC5B,CAAC,CAAC;AAYU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB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IAEhC,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,4CAAiB,CAAC;IASjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAEvC,OAAO,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IAE7C,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IAErB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAWlC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAiBxD,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAeU,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"message-step-response.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/message-step-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAkG;AAClG,2EAAiE;AACjE,yEAA+D;AAC/D,4FAAkF;AAKrE,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,E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,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAEvC,OAAO,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IAE7C,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IAErB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAWlC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAiBxD,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAkBU,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,CAAC"}
@@ -9,6 +9,7 @@ exports.MODEL_ATTRIBUTED_STEP_TYPES = new Set([
9
9
  generation_step_type_enum_1.GenerationStepType.WEB_SEARCH,
10
10
  generation_step_type_enum_1.GenerationStepType.IMAGE_GENERATION,
11
11
  generation_step_type_enum_1.GenerationStepType.IMAGE_EDIT,
12
+ generation_step_type_enum_1.GenerationStepType.VIDEO_ANALYSIS,
12
13
  ]);
13
14
  function isModelAttributedStepType(type) {
14
15
  return exports.MODEL_ATTRIBUTED_STEP_TYPES.has(type);
@@ -1 +1 @@
1
- {"version":3,"file":"model-attributed-step-types.const.js","sourceRoot":"","sources":["../../../../v1/message/schemas/model-attributed-step-types.const.ts"],"names":[],"mappings":";;;AAsBA,8DAEC;AAxBD,2EAAiE;AAcpD,QAAA,2BAA2B,GAAoC,IAAI,GAAG,CAAC;IAChF,8CAAkB,CAAC,eAAe;IAClC,8CAAkB,CAAC,SAAS;IAC5B,8CAAkB,CAAC,UAAU;IAC7B,8CAAkB,CAAC,gBAAgB;IACnC,8CAAkB,CAAC,UAAU;CAChC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CAAC,IAAwB;IAC9D,OAAO,mCAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC"}
1
+ {"version":3,"file":"model-attributed-step-types.const.js","sourceRoot":"","sources":["../../../../v1/message/schemas/model-attributed-step-types.const.ts"],"names":[],"mappings":";;;AA0BA,8DAEC;AA5BD,2EAAiE;AAiBpD,QAAA,2BAA2B,GAAoC,IAAI,GAAG,CAAC;IAChF,8CAAkB,CAAC,eAAe;IAClC,8CAAkB,CAAC,SAAS;IAC5B,8CAAkB,CAAC,UAAU;IAC7B,8CAAkB,CAAC,gBAAgB;IACnC,8CAAkB,CAAC,UAAU;IAC7B,8CAAkB,CAAC,cAAc;CACpC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CAAC,IAAwB;IAC9D,OAAO,mCAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC"}
@@ -4,6 +4,9 @@ import { GenerationStepType } from './generation-step-type.enum';
4
4
  export declare const WebSearchStepStartMetadataSchema: z.ZodObject<{
5
5
  queries: z.ZodArray<z.ZodString>;
6
6
  }, z.core.$strip>;
7
+ export declare const ConversationSearchStepStartMetadataSchema: z.ZodObject<{
8
+ query: z.ZodString;
9
+ }, z.core.$strip>;
7
10
  export declare const ImageEditStepStartMetadataSchema: z.ZodObject<{
8
11
  sourceResolution: z.ZodString;
9
12
  sourceImageCount: z.ZodNumber;
@@ -17,6 +20,8 @@ export declare const CodeExecutionStepStartMetadataSchema: z.ZodObject<{
17
20
  export declare const StepStartMetadataByType: Partial<Record<GenerationStepType, z.ZodTypeAny>>;
18
21
  export declare const StepStartMetadataSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
19
22
  queries: z.ZodArray<z.ZodString>;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ query: z.ZodString;
20
25
  }, z.core.$strip>, z.ZodObject<{
21
26
  sourceResolution: z.ZodString;
22
27
  sourceImageCount: z.ZodNumber;
@@ -37,6 +42,7 @@ export declare const StepDoneMetadataSchema: z.ZodOptional<z.ZodUnion<readonly [
37
42
  imageUrls: z.ZodArray<z.ZodString>;
38
43
  }, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>>;
39
44
  export type WebSearchStepStartMetadata = z.infer<typeof WebSearchStepStartMetadataSchema>;
45
+ export type ConversationSearchStepStartMetadata = z.infer<typeof ConversationSearchStepStartMetadataSchema>;
40
46
  export type ImageEditStepStartMetadata = z.infer<typeof ImageEditStepStartMetadataSchema>;
41
47
  export type VideoAnalysisStepStartMetadata = z.infer<typeof VideoAnalysisStepStartMetadataSchema>;
42
48
  export type CodeExecutionStepStartMetadata = z.infer<typeof CodeExecutionStepStartMetadataSchema>;
@@ -1,12 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StepDoneMetadataSchema = exports.StepDoneMetadataByType = exports.UploadStepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.StepStartMetadataByType = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = void 0;
3
+ exports.StepDoneMetadataSchema = exports.StepDoneMetadataByType = exports.UploadStepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.StepStartMetadataByType = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const sandbox_primitive_type_enum_1 = require("../../tool/sandbox/sandbox-primitive-type.enum");
6
6
  const generation_step_type_enum_1 = require("./generation-step-type.enum");
7
7
  exports.WebSearchStepStartMetadataSchema = zod_1.z.object({
8
8
  queries: zod_1.z.array(zod_1.z.string()),
9
9
  });
10
+ exports.ConversationSearchStepStartMetadataSchema = zod_1.z.object({
11
+ query: zod_1.z.string(),
12
+ });
10
13
  exports.ImageEditStepStartMetadataSchema = zod_1.z.object({
11
14
  sourceResolution: zod_1.z.string(),
12
15
  sourceImageCount: zod_1.z.number().int().nonnegative(),
@@ -19,6 +22,7 @@ exports.CodeExecutionStepStartMetadataSchema = zod_1.z.object({
19
22
  });
20
23
  exports.StepStartMetadataByType = {
21
24
  [generation_step_type_enum_1.GenerationStepType.WEB_SEARCH]: exports.WebSearchStepStartMetadataSchema,
25
+ [generation_step_type_enum_1.GenerationStepType.CONVERSATION_SEARCH]: exports.ConversationSearchStepStartMetadataSchema,
22
26
  [generation_step_type_enum_1.GenerationStepType.IMAGE_EDIT]: exports.ImageEditStepStartMetadataSchema,
23
27
  [generation_step_type_enum_1.GenerationStepType.VIDEO_ANALYSIS]: exports.VideoAnalysisStepStartMetadataSchema,
24
28
  [generation_step_type_enum_1.GenerationStepType.CODE_EXECUTION]: exports.CodeExecutionStepStartMetadataSchema,
@@ -26,6 +30,7 @@ exports.StepStartMetadataByType = {
26
30
  exports.StepStartMetadataSchema = zod_1.z
27
31
  .union([
28
32
  exports.WebSearchStepStartMetadataSchema,
33
+ exports.ConversationSearchStepStartMetadataSchema,
29
34
  exports.ImageEditStepStartMetadataSchema,
30
35
  exports.VideoAnalysisStepStartMetadataSchema,
31
36
  exports.CodeExecutionStepStartMetadataSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"step-metadata.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/step-metadata.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAsF;AACtF,2EAAiE;AASpD,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAKU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,gBAAgB,EAA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