@rudderhq/cli 0.3.5-canary.0 → 0.3.5-canary.10
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 +27 -7
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -768,7 +768,7 @@ var init_adapter_skills = __esm({
|
|
|
768
768
|
|
|
769
769
|
// ../packages/shared/dist/validators/chat.js
|
|
770
770
|
import { z as z4 } from "zod";
|
|
771
|
-
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;
|
|
771
|
+
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, updateMessengerCustomGroupSchema, reorderMessengerCustomGroupsSchema, assignMessengerCustomGroupEntrySchema, reorderMessengerCustomGroupEntriesSchema;
|
|
772
772
|
var init_chat = __esm({
|
|
773
773
|
"../packages/shared/dist/validators/chat.js"() {
|
|
774
774
|
"use strict";
|
|
@@ -951,6 +951,25 @@ var init_chat = __esm({
|
|
|
951
951
|
updateMessengerThreadUserStateSchema = z4.object({
|
|
952
952
|
pinned: z4.boolean().optional()
|
|
953
953
|
});
|
|
954
|
+
createMessengerCustomGroupSchema = z4.object({
|
|
955
|
+
name: z4.string().trim().min(1).max(80),
|
|
956
|
+
icon: z4.string().trim().min(1).max(24).optional().nullable()
|
|
957
|
+
});
|
|
958
|
+
updateMessengerCustomGroupSchema = z4.object({
|
|
959
|
+
name: z4.string().trim().min(1).max(80).optional(),
|
|
960
|
+
icon: z4.string().trim().min(1).max(24).optional().nullable(),
|
|
961
|
+
collapsed: z4.boolean().optional(),
|
|
962
|
+
sortOrder: z4.number().int().min(0).optional()
|
|
963
|
+
});
|
|
964
|
+
reorderMessengerCustomGroupsSchema = z4.object({
|
|
965
|
+
groupIds: z4.array(z4.string().uuid()).max(200)
|
|
966
|
+
});
|
|
967
|
+
assignMessengerCustomGroupEntrySchema = z4.object({
|
|
968
|
+
threadKey: z4.string().trim().min(1).max(240)
|
|
969
|
+
});
|
|
970
|
+
reorderMessengerCustomGroupEntriesSchema = z4.object({
|
|
971
|
+
threadKeys: z4.array(z4.string().trim().min(1).max(240)).max(500)
|
|
972
|
+
});
|
|
954
973
|
}
|
|
955
974
|
});
|
|
956
975
|
|
|
@@ -7061,15 +7080,16 @@ var RUDDER_AGENT_OPERATING_CONTRACT = [
|
|
|
7061
7080
|
"",
|
|
7062
7081
|
"When you mention Rudder entities in any user-visible Markdown output, prefer Rudder's renderable Markdown link syntax over plain IDs, bare URLs, or backticked references so the UI can render chips and navigate correctly.",
|
|
7063
7082
|
"",
|
|
7064
|
-
"- Issues: use `[
|
|
7065
|
-
"- Agents: use `[
|
|
7066
|
-
"- Projects: use `[
|
|
7067
|
-
"- Chat threads: use `[
|
|
7083
|
+
"- Issues: use `[](issue://<issue-id>)`; include `?c=<comment-id>` when linking to a specific comment.",
|
|
7084
|
+
"- Agents: use `[](agent://<agent-id>)` for reference-only links. In issue comments, use `[](agent://<agent-id>?intent=wake)` only when you intentionally want to wake that agent for attention or collaboration.",
|
|
7085
|
+
"- Projects: use `[](project://<project-id>)` when citing a Rudder project.",
|
|
7086
|
+
"- Chat threads: use `[](chat://<conversation-id>)` when citing a Rudder chat conversation.",
|
|
7087
|
+
"- Skills: use `[](skill://<skill-ref>)` when citing a Rudder skill reference. The skill ref may be an org skill, agent skill, bundled Rudder skill, or local-machine skill ref; the UI resolves the display label when metadata is available.",
|
|
7068
7088
|
'- Library files: use the `markdownLink` returned by `rudder library file ref "$RUDDER_PROJECT_LIBRARY_PATH/<relative-file>" --json`; do not hand-write `library-entry://...` links, and treat `library-file://...` as legacy path syntax only.',
|
|
7069
7089
|
"",
|
|
7070
7090
|
"Write these as normal Markdown links, not inside code spans or code blocks, unless you are literally documenting the syntax.",
|
|
7071
7091
|
"",
|
|
7072
|
-
"Mention-triggered comment wakes arrive with `RUDDER_WAKE_COMMENT_ID`; read that wake comment before acting. Issue comments can wake an agent only with an explicit wake-intent agent link serialized as `agent://agent-id?intent=wake`. Plain structured links such as `agent://agent-id` are reference-only links for rendering and navigation, and plain text agent names are not wake requests. Use wake-intent links only when you intentionally want to wake another agent for attention or collaboration; omit the wake intent for ordinary references. Mentioning an agent requests attention or collaboration; it does not transfer issue ownership unless the comment also makes an explicit handoff and normal checkout rules allow it.",
|
|
7092
|
+
"Mention-triggered comment wakes arrive with `RUDDER_WAKE_COMMENT_ID`; read that wake comment before acting. Issue comments can wake an agent only with an explicit wake-intent agent link serialized as `agent://agent-id?intent=wake`. Plain structured links such as `agent://agent-id` are reference-only links for rendering and navigation, and plain text agent names are not wake requests. Use wake-intent links only when you intentionally want to wake another agent for attention or collaboration; omit the wake intent for ordinary references. Mentioning an agent requests attention or collaboration; it does not transfer issue ownership unless the comment also makes an explicit handoff and normal checkout rules allow it. If a comment wakes you on an issue not assigned to you, including user-owned or unassigned issues, and the comment does not explicitly ask you to implement, modify files, close the issue, or take ownership, strictly respond to the comment's content instead of turning the wake into issue execution; answer questions, acknowledge corrections, explain status, or handle only the narrow action the comment explicitly requests.",
|
|
7073
7093
|
"",
|
|
7074
7094
|
"When an issue comment, done comment, or blocker comment cites visual evidence from a local screenshot/image path, attach the image with the Rudder CLI `--image <path>` option instead of leaving only the filesystem path in the text.",
|
|
7075
7095
|
"",
|
|
@@ -7101,7 +7121,7 @@ var RUDDER_AGENT_HEARTBEAT_INSTRUCTION = [
|
|
|
7101
7121
|
"1. Identify yourself and inspect wake context, including `RUDDER_TASK_ID`, `RUDDER_WAKE_REASON`, `RUDDER_WAKE_COMMENT_ID`, and `RUDDER_APPROVAL_ID` when present.",
|
|
7102
7122
|
"2. Handle approval follow-up first: read the approval and linked issues, then close resolved work or comment on what remains.",
|
|
7103
7123
|
"3. 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.",
|
|
7104
|
-
"4. For mention wakes, read the wake comment before acting. Mentions request attention; they do not transfer ownership unless the comment explicitly says so.",
|
|
7124
|
+
"4. For mention wakes, read the wake comment before acting. Mentions request attention; they do not transfer ownership unless the comment explicitly says so. If the issue is not assigned to you, including user-owned or unassigned issues, and the comment does not explicitly ask you to implement, modify files, close the issue, or take ownership, respond to the comment itself instead of executing the whole issue.",
|
|
7105
7125
|
"5. Checkout before doing assignee task work. A `409` means another agent owns the task; do not retry it.",
|
|
7106
7126
|
"6. Load compact issue context, do one bounded useful chunk, and preserve evidence.",
|
|
7107
7127
|
"7. Before exiting active work, leave exactly one durable signal: progress, done, blocked, explicit handoff, or structured review decision.",
|