@rudderhq/cli 0.3.6-canary.17 → 0.3.6-canary.18
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/dist/index.js +28 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -791,7 +791,7 @@ var init_adapter_skills = __esm({
|
|
|
791
791
|
|
|
792
792
|
// ../packages/shared/dist/validators/chat.js
|
|
793
793
|
import { z as z4 } from "zod";
|
|
794
|
-
var chatConversationStatusSchema, chatIssueCreationModeSchema, chatMessageRoleSchema, chatMessageKindSchema, chatMessageStatusSchema, chatContextEntityTypeSchema, createChatContextLinkSchema, createChatConversationSchema, setChatProjectContextSchema, updateChatConversationSchema, addChatMessageSchema, chatRichReferenceDisplaySchema, chatIssueIdentifierSchema, chatAskUserIdentifierSchema, chatAskUserOptionSchema, chatAskUserQuestionSchema, chatAskUserRequestSchema, chatIssueRichReferenceSchema, chatIssueCommentRichReferenceSchema, chatRichReferenceSchema, chatRichReferencesSchema, chatAutomationCreateSchema, createChatAttachmentMetadataSchema, chatIssueProposalSchema, convertChatToIssueSchema, chatOperationProposalSchema, resolveChatOperationProposalSchema, updateChatConversationUserStateSchema, updateMessengerThreadUserStateSchema, createMessengerCustomGroupSchema, createMessengerCustomGroupWithEntriesSchema, updateMessengerCustomGroupSchema, reorderMessengerCustomGroupsSchema, assignMessengerCustomGroupEntrySchema, reorderMessengerCustomGroupEntriesSchema;
|
|
794
|
+
var chatConversationStatusSchema, chatIssueCreationModeSchema, chatMessageRoleSchema, chatMessageKindSchema, chatMessageStatusSchema, chatContextEntityTypeSchema, createChatContextLinkSchema, createChatConversationSchema, setChatProjectContextSchema, updateChatConversationSchema, addChatMessageSchema, chatQueuedMessagePayloadSchema, createChatQueuedMessageSchema, updateChatQueuedMessageSchema, cancelChatQueuedMessageSchema, steerChatQueuedMessageSchema, chatRichReferenceDisplaySchema, chatIssueIdentifierSchema, chatAskUserIdentifierSchema, chatAskUserOptionSchema, chatAskUserQuestionSchema, chatAskUserRequestSchema, chatIssueRichReferenceSchema, chatIssueCommentRichReferenceSchema, chatRichReferenceSchema, chatRichReferencesSchema, chatAutomationCreateSchema, createChatAttachmentMetadataSchema, chatIssueProposalSchema, convertChatToIssueSchema, chatOperationProposalSchema, resolveChatOperationProposalSchema, updateChatConversationUserStateSchema, updateMessengerThreadUserStateSchema, createMessengerCustomGroupSchema, createMessengerCustomGroupWithEntriesSchema, updateMessengerCustomGroupSchema, reorderMessengerCustomGroupsSchema, assignMessengerCustomGroupEntrySchema, reorderMessengerCustomGroupEntriesSchema;
|
|
795
795
|
var init_chat = __esm({
|
|
796
796
|
"../packages/shared/dist/validators/chat.js"() {
|
|
797
797
|
"use strict";
|
|
@@ -826,7 +826,33 @@ var init_chat = __esm({
|
|
|
826
826
|
});
|
|
827
827
|
addChatMessageSchema = z4.object({
|
|
828
828
|
body: z4.string().trim().min(1).max(2e4),
|
|
829
|
-
editUserMessageId: z4.string().uuid().optional().nullable()
|
|
829
|
+
editUserMessageId: z4.string().uuid().optional().nullable(),
|
|
830
|
+
queuedMessageId: z4.string().uuid().optional().nullable()
|
|
831
|
+
});
|
|
832
|
+
chatQueuedMessagePayloadSchema = z4.object({
|
|
833
|
+
body: z4.string().trim().min(1).max(2e4),
|
|
834
|
+
attachmentIds: z4.array(z4.string().uuid()).optional().default([]),
|
|
835
|
+
projectId: z4.string().uuid().optional().nullable(),
|
|
836
|
+
skillRefs: z4.array(z4.string().trim().min(1).max(240)).optional().default([]),
|
|
837
|
+
accessMode: z4.string().trim().min(1).max(120).optional().nullable(),
|
|
838
|
+
model: z4.string().trim().min(1).max(120).optional().nullable(),
|
|
839
|
+
effort: z4.string().trim().min(1).max(120).optional().nullable(),
|
|
840
|
+
metadata: z4.record(z4.unknown()).optional().nullable()
|
|
841
|
+
});
|
|
842
|
+
createChatQueuedMessageSchema = z4.object({
|
|
843
|
+
clientMutationId: z4.string().trim().min(1).max(120),
|
|
844
|
+
expectedGenerationId: z4.string().uuid().optional().nullable(),
|
|
845
|
+
payload: chatQueuedMessagePayloadSchema
|
|
846
|
+
});
|
|
847
|
+
updateChatQueuedMessageSchema = z4.object({
|
|
848
|
+
version: z4.number().int().positive(),
|
|
849
|
+
payload: chatQueuedMessagePayloadSchema
|
|
850
|
+
});
|
|
851
|
+
cancelChatQueuedMessageSchema = z4.object({
|
|
852
|
+
version: z4.number().int().positive().optional()
|
|
853
|
+
});
|
|
854
|
+
steerChatQueuedMessageSchema = z4.object({
|
|
855
|
+
expectedActiveGenerationId: z4.string().uuid().optional().nullable()
|
|
830
856
|
});
|
|
831
857
|
chatRichReferenceDisplaySchema = z4.enum(["card", "inline"]);
|
|
832
858
|
chatIssueIdentifierSchema = z4.string().trim().min(1).max(64).regex(/^[A-Z0-9][A-Z0-9-]*$/i);
|