@rudderhq/cli 0.3.6-canary.17 → 0.3.6-canary.19
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 +31 -5
- 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);
|
|
@@ -7357,9 +7383,9 @@ var RUDDER_AGENT_HEARTBEAT_INSTRUCTION = [
|
|
|
7357
7383
|
"1. Identify yourself and inspect wake context, including `RUDDER_TASK_ID`, `RUDDER_WAKE_REASON`, `RUDDER_WAKE_COMMENT_ID`, and `RUDDER_APPROVAL_ID` when present.",
|
|
7358
7384
|
"2. Local Planning Check:",
|
|
7359
7385
|
" ",
|
|
7360
|
-
"
|
|
7361
|
-
"
|
|
7362
|
-
"
|
|
7386
|
+
"- Read today's plan from `$AGENT_HOME/memory/YYYY-MM-DD.md` under \"## Today's Plan\". You need to clearly know your work plan for today, and work according to the plan.",
|
|
7387
|
+
"- Review each planned item: what's completed, what's blocked, and what up next.",
|
|
7388
|
+
"- Record progress updates in the daily notes.",
|
|
7363
7389
|
" ",
|
|
7364
7390
|
"3.Then handle approval follow-up: read the approval and linked issues, then close resolved work or comment on what remains.",
|
|
7365
7391
|
"4. Inspect your Rudder inbox. Prioritize reviewer rows in `in_review` or `blocked`, then assignee `in_progress`, then assignee `todo`. Do not look for unassigned work.",
|