@veruna/api-contracts 6.27.0 → 6.29.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.
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/chat/commands/create-reg-chat.command.d.ts +13 -0
- package/build/v1/chat/commands/create-unreg-chat.command.d.ts +13 -0
- package/build/v1/chat/commands/update-chat-title.command.d.ts +13 -0
- package/build/v1/chat/commands/update-chat.command.d.ts +13 -0
- package/build/v1/chat/queries/get-last-active-chat.query.d.ts +13 -0
- package/build/v1/chat/queries/get-reg-chat.query.d.ts +13 -0
- package/build/v1/chat/queries/get-unreg-chat.query.d.ts +13 -0
- package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +13 -0
- package/build/v1/memory/memory.errors.d.ts +2 -1
- package/build/v1/memory/memory.errors.js +5 -0
- package/build/v1/memory/memory.errors.js.map +1 -1
- package/build/v1/message/commands/create-message.command.d.ts +4 -0
- package/build/v1/message/queries/get-message-stream-reg.query.d.ts +2 -0
- package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +2 -0
- package/build/v1/message/schemas/index.d.ts +4 -4
- package/build/v1/message/schemas/index.js +6 -2
- package/build/v1/message/schemas/index.js.map +1 -1
- package/build/v1/message/schemas/message-response.schema.d.ts +13 -0
- package/build/v1/message/schemas/message-step-response.schema.d.ts +65 -0
- package/build/v1/message/schemas/message-step-response.schema.js +20 -1
- package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
- package/build/v1/message/schemas/step-metadata.schema.d.ts +6 -0
- package/build/v1/message/schemas/step-metadata.schema.js +6 -1
- package/build/v1/message/schemas/step-metadata.schema.js.map +1 -1
- package/build/v1/message/schemas/stream-events.schema.d.ts +4 -0
- package/build/v1/plans/schemas/plan-feature.enum.d.ts +2 -1
- package/build/v1/plans/schemas/plan-feature.enum.js +1 -0
- package/build/v1/plans/schemas/plan-feature.enum.js.map +1 -1
- package/package.json +1 -1
|
@@ -101,6 +101,19 @@ export declare namespace CreateRegChatCommand {
|
|
|
101
101
|
}, z.core.$strip>], "type">;
|
|
102
102
|
}, z.core.$strip>], "type">>;
|
|
103
103
|
description: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
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>;
|
|
@@ -101,6 +101,19 @@ export declare namespace CreateUnregChatCommand {
|
|
|
101
101
|
}, z.core.$strip>], "type">;
|
|
102
102
|
}, z.core.$strip>], "type">>;
|
|
103
103
|
description: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
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>;
|
|
@@ -100,6 +100,19 @@ export declare namespace UpdateChatTitleCommand {
|
|
|
100
100
|
}, z.core.$strip>], "type">;
|
|
101
101
|
}, z.core.$strip>], "type">>;
|
|
102
102
|
description: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
105
|
+
text: z.ZodNullable<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
+
query: z.ZodString;
|
|
108
|
+
results: z.ZodArray<z.ZodObject<{
|
|
109
|
+
chatId: z.ZodString;
|
|
110
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
111
|
+
title: z.ZodString;
|
|
112
|
+
snippet: z.ZodString;
|
|
113
|
+
lastMessageAt: z.ZodString;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
hasMore: z.ZodBoolean;
|
|
103
116
|
}, z.core.$strip>]>>;
|
|
104
117
|
showInUi: z.ZodBoolean;
|
|
105
118
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -102,6 +102,19 @@ export declare namespace UpdateChatCommand {
|
|
|
102
102
|
}, z.core.$strip>], "type">;
|
|
103
103
|
}, z.core.$strip>], "type">>;
|
|
104
104
|
description: z.ZodOptional<z.ZodString>;
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
107
|
+
text: z.ZodNullable<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
query: z.ZodString;
|
|
110
|
+
results: z.ZodArray<z.ZodObject<{
|
|
111
|
+
chatId: z.ZodString;
|
|
112
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
113
|
+
title: z.ZodString;
|
|
114
|
+
snippet: z.ZodString;
|
|
115
|
+
lastMessageAt: z.ZodString;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
hasMore: z.ZodBoolean;
|
|
105
118
|
}, z.core.$strip>]>>;
|
|
106
119
|
showInUi: z.ZodBoolean;
|
|
107
120
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -98,6 +98,19 @@ export declare namespace GetLastActiveChatQuery {
|
|
|
98
98
|
}, z.core.$strip>], "type">;
|
|
99
99
|
}, z.core.$strip>], "type">>;
|
|
100
100
|
description: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
103
|
+
text: z.ZodNullable<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
query: z.ZodString;
|
|
106
|
+
results: z.ZodArray<z.ZodObject<{
|
|
107
|
+
chatId: z.ZodString;
|
|
108
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
109
|
+
title: z.ZodString;
|
|
110
|
+
snippet: z.ZodString;
|
|
111
|
+
lastMessageAt: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
hasMore: z.ZodBoolean;
|
|
101
114
|
}, z.core.$strip>]>>;
|
|
102
115
|
showInUi: z.ZodBoolean;
|
|
103
116
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -98,6 +98,19 @@ export declare namespace GetRegChatQuery {
|
|
|
98
98
|
}, z.core.$strip>], "type">;
|
|
99
99
|
}, z.core.$strip>], "type">>;
|
|
100
100
|
description: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
103
|
+
text: z.ZodNullable<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
query: z.ZodString;
|
|
106
|
+
results: z.ZodArray<z.ZodObject<{
|
|
107
|
+
chatId: z.ZodString;
|
|
108
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
109
|
+
title: z.ZodString;
|
|
110
|
+
snippet: z.ZodString;
|
|
111
|
+
lastMessageAt: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
hasMore: z.ZodBoolean;
|
|
101
114
|
}, z.core.$strip>]>>;
|
|
102
115
|
showInUi: z.ZodBoolean;
|
|
103
116
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -98,6 +98,19 @@ export declare namespace GetUnregChatQuery {
|
|
|
98
98
|
}, z.core.$strip>], "type">;
|
|
99
99
|
}, z.core.$strip>], "type">>;
|
|
100
100
|
description: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
103
|
+
text: z.ZodNullable<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
query: z.ZodString;
|
|
106
|
+
results: z.ZodArray<z.ZodObject<{
|
|
107
|
+
chatId: z.ZodString;
|
|
108
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
109
|
+
title: z.ZodString;
|
|
110
|
+
snippet: z.ZodString;
|
|
111
|
+
lastMessageAt: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
hasMore: z.ZodBoolean;
|
|
101
114
|
}, z.core.$strip>]>>;
|
|
102
115
|
showInUi: z.ZodBoolean;
|
|
103
116
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -96,6 +96,19 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
|
|
|
96
96
|
}, z.core.$strip>], "type">;
|
|
97
97
|
}, z.core.$strip>], "type">>;
|
|
98
98
|
description: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
101
|
+
text: z.ZodNullable<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
query: z.ZodString;
|
|
104
|
+
results: z.ZodArray<z.ZodObject<{
|
|
105
|
+
chatId: z.ZodString;
|
|
106
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
107
|
+
title: z.ZodString;
|
|
108
|
+
snippet: z.ZodString;
|
|
109
|
+
lastMessageAt: z.ZodString;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
hasMore: z.ZodBoolean;
|
|
99
112
|
}, z.core.$strip>]>>;
|
|
100
113
|
showInUi: z.ZodBoolean;
|
|
101
114
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5,6 +5,7 @@ export declare enum MemoryErrorCode {
|
|
|
5
5
|
EMPTY_TEXT = "EMPTY_TEXT",
|
|
6
6
|
EDIT_NOT_FOUND = "EDIT_NOT_FOUND",
|
|
7
7
|
SECRET_REJECTED = "SECRET_REJECTED",
|
|
8
|
-
PROFILE_TOO_LONG = "PROFILE_TOO_LONG"
|
|
8
|
+
PROFILE_TOO_LONG = "PROFILE_TOO_LONG",
|
|
9
|
+
MEMORY_ACCESS_DENIED = "MEMORY_ACCESS_DENIED"
|
|
9
10
|
}
|
|
10
11
|
export declare const MEMORY_ERRORS: Record<MemoryErrorCode, ErrorMetadata>;
|
|
@@ -9,6 +9,7 @@ var MemoryErrorCode;
|
|
|
9
9
|
MemoryErrorCode["EDIT_NOT_FOUND"] = "EDIT_NOT_FOUND";
|
|
10
10
|
MemoryErrorCode["SECRET_REJECTED"] = "SECRET_REJECTED";
|
|
11
11
|
MemoryErrorCode["PROFILE_TOO_LONG"] = "PROFILE_TOO_LONG";
|
|
12
|
+
MemoryErrorCode["MEMORY_ACCESS_DENIED"] = "MEMORY_ACCESS_DENIED";
|
|
12
13
|
})(MemoryErrorCode || (exports.MemoryErrorCode = MemoryErrorCode = {}));
|
|
13
14
|
exports.MEMORY_ERRORS = {
|
|
14
15
|
[MemoryErrorCode.EDIT_LIMIT_REACHED]: {
|
|
@@ -35,5 +36,9 @@ exports.MEMORY_ERRORS = {
|
|
|
35
36
|
code: MemoryErrorCode.PROFILE_TOO_LONG,
|
|
36
37
|
statusCode: 422,
|
|
37
38
|
},
|
|
39
|
+
[MemoryErrorCode.MEMORY_ACCESS_DENIED]: {
|
|
40
|
+
code: MemoryErrorCode.MEMORY_ACCESS_DENIED,
|
|
41
|
+
statusCode: 403,
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
//# sourceMappingURL=memory.errors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.errors.js","sourceRoot":"","sources":["../../../v1/memory/memory.errors.ts"],"names":[],"mappings":";;;AAEA,IAAY,
|
|
1
|
+
{"version":3,"file":"memory.errors.js","sourceRoot":"","sources":["../../../v1/memory/memory.errors.ts"],"names":[],"mappings":";;;AAEA,IAAY,eASX;AATD,WAAY,eAAe;IACvB,4DAAyC,CAAA;IACzC,kDAA+B,CAAA;IAC/B,4CAAyB,CAAA;IACzB,oDAAiC,CAAA;IACjC,sDAAmC,CAAA;IACnC,wDAAqC,CAAA;IAErC,gEAA6C,CAAA;AACjD,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAEY,QAAA,aAAa,GAA2C;IACjE,CAAC,eAAe,CAAC,kBAAkB,CAAC,EAAE;QAClC,IAAI,EAAE,eAAe,CAAC,kBAAkB;QACxC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE;QAC7B,IAAI,EAAE,eAAe,CAAC,aAAa;QACnC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE;QAC1B,IAAI,EAAE,eAAe,CAAC,UAAU;QAChC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE;QAC9B,IAAI,EAAE,eAAe,CAAC,cAAc;QACpC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE;QAC/B,IAAI,EAAE,eAAe,CAAC,eAAe;QACrC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAAE;QAChC,IAAI,EAAE,eAAe,CAAC,gBAAgB;QACtC,UAAU,EAAE,GAAG;KAClB;IACD,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAE;QACpC,IAAI,EAAE,eAAe,CAAC,oBAAoB;QAC1C,UAAU,EAAE,GAAG;KAClB;CACK,CAAC"}
|
|
@@ -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, } from './message-step-response.schema';
|
|
8
|
-
export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, } from './message-step-response.schema';
|
|
7
|
+
export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, MemoryStepContentSchema, ConversationSearchResultItemSchema, ConversationSearchStepContentSchema, } from './message-step-response.schema';
|
|
8
|
+
export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, MemoryStepContent, ConversationSearchResultItem, ConversationSearchStepContent, } 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.
|
|
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 = void 0;
|
|
3
|
+
exports.StepStartMetadataByType = 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.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 = 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");
|
|
@@ -24,6 +24,9 @@ Object.defineProperty(exports, "WebSearchStepContentSchema", { enumerable: true,
|
|
|
24
24
|
Object.defineProperty(exports, "ImageGenStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ImageGenStepContentSchema; } });
|
|
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
|
+
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; } });
|
|
27
30
|
var message_attachment_response_schema_1 = require("./message-attachment-response.schema");
|
|
28
31
|
Object.defineProperty(exports, "MessageAttachmentResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentResponseSchema; } });
|
|
29
32
|
Object.defineProperty(exports, "MessageAttachmentsResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentsResponseSchema; } });
|
|
@@ -57,6 +60,7 @@ var step_metadata_schema_1 = require("./step-metadata.schema");
|
|
|
57
60
|
Object.defineProperty(exports, "StepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.StepStartMetadataSchema; } });
|
|
58
61
|
Object.defineProperty(exports, "StepDoneMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.StepDoneMetadataSchema; } });
|
|
59
62
|
Object.defineProperty(exports, "WebSearchStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.WebSearchStepStartMetadataSchema; } });
|
|
63
|
+
Object.defineProperty(exports, "ConversationSearchStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.ConversationSearchStepStartMetadataSchema; } });
|
|
60
64
|
Object.defineProperty(exports, "ImageEditStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.ImageEditStepStartMetadataSchema; } });
|
|
61
65
|
Object.defineProperty(exports, "VideoAnalysisStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.VideoAnalysisStepStartMetadataSchema; } });
|
|
62
66
|
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":";;;;AAAA,yDAAkD;AAA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C,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"}
|
|
@@ -90,6 +90,19 @@ export declare const MessageResponseSchema: z.ZodObject<{
|
|
|
90
90
|
}, z.core.$strip>], "type">;
|
|
91
91
|
}, z.core.$strip>], "type">>;
|
|
92
92
|
description: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
+
command: z.ZodEnum<typeof import("../..").MemoryEditCommand>;
|
|
95
|
+
text: z.ZodNullable<z.ZodString>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
query: z.ZodString;
|
|
98
|
+
results: z.ZodArray<z.ZodObject<{
|
|
99
|
+
chatId: z.ZodString;
|
|
100
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
101
|
+
title: z.ZodString;
|
|
102
|
+
snippet: z.ZodString;
|
|
103
|
+
lastMessageAt: z.ZodString;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
hasMore: z.ZodBoolean;
|
|
93
106
|
}, z.core.$strip>]>>;
|
|
94
107
|
showInUi: z.ZodBoolean;
|
|
95
108
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { GenerationStepType } from './generation-step-type.enum';
|
|
3
3
|
import { MessageStepStatus } from './message-step-status.enum';
|
|
4
|
+
import { MemoryEditCommand } from '../../memory/schemas/memory-edit-command.enum';
|
|
4
5
|
export declare const TextStepContentSchema: z.ZodObject<{
|
|
5
6
|
content: z.ZodString;
|
|
6
7
|
}, z.core.$strip>;
|
|
@@ -86,6 +87,28 @@ export declare const CodeExecutionStepContentResponseSchema: z.ZodObject<{
|
|
|
86
87
|
}, z.core.$strip>], "type">>;
|
|
87
88
|
description: z.ZodOptional<z.ZodString>;
|
|
88
89
|
}, z.core.$strip>;
|
|
90
|
+
export declare const MemoryStepContentSchema: z.ZodObject<{
|
|
91
|
+
command: z.ZodEnum<typeof MemoryEditCommand>;
|
|
92
|
+
text: z.ZodNullable<z.ZodString>;
|
|
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>;
|
|
89
112
|
export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
90
113
|
content: z.ZodString;
|
|
91
114
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -161,6 +184,19 @@ export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
161
184
|
}, z.core.$strip>], "type">;
|
|
162
185
|
}, z.core.$strip>], "type">>;
|
|
163
186
|
description: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
command: z.ZodEnum<typeof MemoryEditCommand>;
|
|
189
|
+
text: z.ZodNullable<z.ZodString>;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
query: z.ZodString;
|
|
192
|
+
results: z.ZodArray<z.ZodObject<{
|
|
193
|
+
chatId: z.ZodString;
|
|
194
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
195
|
+
title: z.ZodString;
|
|
196
|
+
snippet: z.ZodString;
|
|
197
|
+
lastMessageAt: z.ZodString;
|
|
198
|
+
}, z.core.$strip>>;
|
|
199
|
+
hasMore: z.ZodBoolean;
|
|
164
200
|
}, z.core.$strip>]>;
|
|
165
201
|
export declare const MessageStepResponseSchema: z.ZodObject<{
|
|
166
202
|
uuid: z.ZodString;
|
|
@@ -242,6 +278,19 @@ export declare const MessageStepResponseSchema: z.ZodObject<{
|
|
|
242
278
|
}, z.core.$strip>], "type">;
|
|
243
279
|
}, z.core.$strip>], "type">>;
|
|
244
280
|
description: z.ZodOptional<z.ZodString>;
|
|
281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
282
|
+
command: z.ZodEnum<typeof MemoryEditCommand>;
|
|
283
|
+
text: z.ZodNullable<z.ZodString>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
query: z.ZodString;
|
|
286
|
+
results: z.ZodArray<z.ZodObject<{
|
|
287
|
+
chatId: z.ZodString;
|
|
288
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
289
|
+
title: z.ZodString;
|
|
290
|
+
snippet: z.ZodString;
|
|
291
|
+
lastMessageAt: z.ZodString;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
hasMore: z.ZodBoolean;
|
|
245
294
|
}, z.core.$strip>]>>;
|
|
246
295
|
showInUi: z.ZodBoolean;
|
|
247
296
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -257,6 +306,9 @@ export type WebSearchStepContent = z.infer<typeof WebSearchStepContentSchema>;
|
|
|
257
306
|
export type ImageGenStepContent = z.infer<typeof ImageGenStepContentSchema>;
|
|
258
307
|
export type UploadStepContent = z.infer<typeof UploadStepContentSchema>;
|
|
259
308
|
export type CodeExecutionStepContentResponse = z.infer<typeof CodeExecutionStepContentResponseSchema>;
|
|
309
|
+
export type MemoryStepContent = z.infer<typeof MemoryStepContentSchema>;
|
|
310
|
+
export type ConversationSearchResultItem = z.infer<typeof ConversationSearchResultItemSchema>;
|
|
311
|
+
export type ConversationSearchStepContent = z.infer<typeof ConversationSearchStepContentSchema>;
|
|
260
312
|
export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
261
313
|
uuid: z.ZodString;
|
|
262
314
|
type: z.ZodEnum<typeof GenerationStepType>;
|
|
@@ -337,6 +389,19 @@ export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
337
389
|
}, z.core.$strip>], "type">;
|
|
338
390
|
}, z.core.$strip>], "type">>;
|
|
339
391
|
description: z.ZodOptional<z.ZodString>;
|
|
392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
393
|
+
command: z.ZodEnum<typeof MemoryEditCommand>;
|
|
394
|
+
text: z.ZodNullable<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
396
|
+
query: z.ZodString;
|
|
397
|
+
results: z.ZodArray<z.ZodObject<{
|
|
398
|
+
chatId: z.ZodString;
|
|
399
|
+
messageId: z.ZodNullable<z.ZodString>;
|
|
400
|
+
title: z.ZodString;
|
|
401
|
+
snippet: z.ZodString;
|
|
402
|
+
lastMessageAt: z.ZodString;
|
|
403
|
+
}, z.core.$strip>>;
|
|
404
|
+
hasMore: z.ZodBoolean;
|
|
340
405
|
}, z.core.$strip>]>>;
|
|
341
406
|
showInUi: z.ZodBoolean;
|
|
342
407
|
startedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
|
|
3
|
+
exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = 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");
|
|
7
7
|
const message_step_status_enum_1 = require("./message-step-status.enum");
|
|
8
|
+
const memory_edit_command_enum_1 = require("../../memory/schemas/memory-edit-command.enum");
|
|
8
9
|
exports.TextStepContentSchema = zod_1.z.object({
|
|
9
10
|
content: zod_1.z.string(),
|
|
10
11
|
});
|
|
@@ -43,12 +44,30 @@ exports.CodeExecutionStepContentResponseSchema = zod_1.z.object({
|
|
|
43
44
|
primitive: primitive_completion_schema_1.SandboxPrimitiveCompletionSchema.optional(),
|
|
44
45
|
description: zod_1.z.string().optional(),
|
|
45
46
|
});
|
|
47
|
+
exports.MemoryStepContentSchema = zod_1.z.object({
|
|
48
|
+
command: zod_1.z.enum(memory_edit_command_enum_1.MemoryEditCommand),
|
|
49
|
+
text: zod_1.z.string().nullable(),
|
|
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
|
+
});
|
|
46
63
|
exports.StepContentResponseSchema = zod_1.z.union([
|
|
47
64
|
exports.TextStepContentSchema,
|
|
48
65
|
exports.WebSearchStepContentSchema,
|
|
49
66
|
exports.ImageGenStepContentSchema,
|
|
50
67
|
exports.UploadStepContentSchema,
|
|
51
68
|
exports.CodeExecutionStepContentResponseSchema,
|
|
69
|
+
exports.MemoryStepContentSchema,
|
|
70
|
+
exports.ConversationSearchStepContentSchema,
|
|
52
71
|
]);
|
|
53
72
|
exports.MessageStepResponseSchema = zod_1.z.object({
|
|
54
73
|
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;
|
|
1
|
+
{"version":3,"file":"message-step-response.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/message-step-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,g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ACvB,8CAAsC;IACtC,+BAAuB;IACvB,2CAAmC;CACtC,CAAC,CAAC;AAMU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAE9C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAEvB,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,8CAAkB,CAAC;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;AAiBU,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,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,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;CACnD,CAAC,CAAC;AAKU,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC7B,CAAC,CAAC;AAUU,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,kDAAoB,CAAC;CAC9C,CAAC,CAAC;AAOU,QAAA,uBAAuB,GAEhC;IACA,CAAC,8CAAkB,CAAC,UAAU,CAAC,EAAE,wCAAgC;IACjE,CAAC,8CAAkB,CAAC,UAAU,CAAC,EAAE,wCAAgC;IACjE,CAAC,8CAAkB,CAAC,cAAc,CAAC,EAAE,4CAAoC;IACzE,CAAC,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sB,GAAG,oCAA4B,CAAC,QAAQ,EAAE,CAAC"}
|
|
@@ -12,6 +12,8 @@ export declare const StreamStepStartEventSchema: z.ZodObject<{
|
|
|
12
12
|
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
14
14
|
queries: z.ZodArray<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
+
query: z.ZodString;
|
|
15
17
|
}, z.core.$strip>, z.ZodObject<{
|
|
16
18
|
sourceResolution: z.ZodString;
|
|
17
19
|
sourceImageCount: z.ZodNumber;
|
|
@@ -206,6 +208,8 @@ export declare const StreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
206
208
|
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
207
209
|
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
208
210
|
queries: z.ZodArray<z.ZodString>;
|
|
211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
+
query: z.ZodString;
|
|
209
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
210
214
|
sourceResolution: z.ZodString;
|
|
211
215
|
sourceImageCount: z.ZodNumber;
|
|
@@ -6,5 +6,6 @@ var PlanFeature;
|
|
|
6
6
|
PlanFeature["WEB_SEARCH"] = "WEB_SEARCH";
|
|
7
7
|
PlanFeature["FILE_ATTACH"] = "FILE_ATTACH";
|
|
8
8
|
PlanFeature["REASONING"] = "REASONING";
|
|
9
|
+
PlanFeature["MEMORY"] = "MEMORY";
|
|
9
10
|
})(PlanFeature || (exports.PlanFeature = PlanFeature = {}));
|
|
10
11
|
//# sourceMappingURL=plan-feature.enum.js.map
|