@rudderhq/cli 0.2.1-canary.2 → 0.2.1-canary.3
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/README.md +0 -2
- package/dist/index.js +47 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,6 @@ Rudder began from a fork of an early version of Paperclip. That gave us a practi
|
|
|
8
8
|
|
|
9
9
|
Rudder is built for the moment when agent work stops looking like a single prompt and starts looking like a real team.
|
|
10
10
|
|
|
11
|
-
Current status: V1 is under active development. The current north-star metric is the weekly count of real agent-work loops completed end-to-end through Rudder.
|
|
12
|
-
|
|
13
11
|
## The Design Idea
|
|
14
12
|
|
|
15
13
|
Rudder is shaped by a simple belief: the most useful way to work with agents is closer to the way humans coordinate with each other.
|
package/dist/index.js
CHANGED
|
@@ -117,6 +117,7 @@ var init_constants = __esm({
|
|
|
117
117
|
CHAT_MESSAGE_ROLES = ["user", "assistant", "system"];
|
|
118
118
|
CHAT_MESSAGE_KINDS = [
|
|
119
119
|
"message",
|
|
120
|
+
"ask_user",
|
|
120
121
|
"issue_proposal",
|
|
121
122
|
"operation_proposal",
|
|
122
123
|
"system_event"
|
|
@@ -579,7 +580,7 @@ var init_resource = __esm({
|
|
|
579
580
|
|
|
580
581
|
// ../packages/shared/src/validators/chat.ts
|
|
581
582
|
import { z as z5 } from "zod";
|
|
582
|
-
var chatConversationStatusSchema, chatIssueCreationModeSchema, chatMessageRoleSchema, chatMessageKindSchema, chatMessageStatusSchema, chatContextEntityTypeSchema, createChatContextLinkSchema, createChatConversationSchema, setChatProjectContextSchema, updateChatConversationSchema, addChatMessageSchema, createChatAttachmentMetadataSchema, chatIssueProposalSchema, convertChatToIssueSchema, chatOperationProposalSchema, resolveChatOperationProposalSchema, updateChatConversationUserStateSchema;
|
|
583
|
+
var chatConversationStatusSchema, chatIssueCreationModeSchema, chatMessageRoleSchema, chatMessageKindSchema, chatMessageStatusSchema, chatContextEntityTypeSchema, createChatContextLinkSchema, createChatConversationSchema, setChatProjectContextSchema, updateChatConversationSchema, addChatMessageSchema, chatRichReferenceDisplaySchema, chatIssueIdentifierSchema, chatAskUserIdentifierSchema, chatAskUserOptionSchema, chatAskUserQuestionSchema, chatAskUserRequestSchema, chatIssueRichReferenceSchema, chatIssueCommentRichReferenceSchema, chatRichReferenceSchema, chatRichReferencesSchema, createChatAttachmentMetadataSchema, chatIssueProposalSchema, convertChatToIssueSchema, chatOperationProposalSchema, resolveChatOperationProposalSchema, updateChatConversationUserStateSchema;
|
|
583
584
|
var init_chat = __esm({
|
|
584
585
|
"../packages/shared/src/validators/chat.ts"() {
|
|
585
586
|
"use strict";
|
|
@@ -616,6 +617,47 @@ var init_chat = __esm({
|
|
|
616
617
|
body: z5.string().trim().min(1).max(2e4),
|
|
617
618
|
editUserMessageId: z5.string().uuid().optional().nullable()
|
|
618
619
|
});
|
|
620
|
+
chatRichReferenceDisplaySchema = z5.enum(["card", "inline"]);
|
|
621
|
+
chatIssueIdentifierSchema = z5.string().trim().min(1).max(64).regex(/^[A-Z0-9][A-Z0-9-]*$/i);
|
|
622
|
+
chatAskUserIdentifierSchema = z5.string().trim().min(1).max(64).regex(/^[a-zA-Z0-9_-]+$/);
|
|
623
|
+
chatAskUserOptionSchema = z5.object({
|
|
624
|
+
id: chatAskUserIdentifierSchema,
|
|
625
|
+
label: z5.string().trim().min(1).max(80),
|
|
626
|
+
description: z5.string().trim().min(1).max(220).optional(),
|
|
627
|
+
recommended: z5.boolean().optional()
|
|
628
|
+
});
|
|
629
|
+
chatAskUserQuestionSchema = z5.object({
|
|
630
|
+
id: chatAskUserIdentifierSchema,
|
|
631
|
+
header: z5.string().trim().min(1).max(32).optional(),
|
|
632
|
+
question: z5.string().trim().min(1).max(240),
|
|
633
|
+
options: z5.array(chatAskUserOptionSchema).min(2).max(3),
|
|
634
|
+
allowFreeform: z5.boolean().optional()
|
|
635
|
+
});
|
|
636
|
+
chatAskUserRequestSchema = z5.object({
|
|
637
|
+
questions: z5.array(chatAskUserQuestionSchema).min(1).max(3)
|
|
638
|
+
});
|
|
639
|
+
chatIssueRichReferenceSchema = z5.object({
|
|
640
|
+
type: z5.literal("issue"),
|
|
641
|
+
issueId: z5.string().uuid().optional(),
|
|
642
|
+
identifier: chatIssueIdentifierSchema.optional(),
|
|
643
|
+
display: chatRichReferenceDisplaySchema.optional()
|
|
644
|
+
}).refine((value) => Boolean(value.issueId || value.identifier), {
|
|
645
|
+
message: "issueId or identifier is required"
|
|
646
|
+
});
|
|
647
|
+
chatIssueCommentRichReferenceSchema = z5.object({
|
|
648
|
+
type: z5.literal("issue_comment"),
|
|
649
|
+
issueId: z5.string().uuid().optional(),
|
|
650
|
+
identifier: chatIssueIdentifierSchema.optional(),
|
|
651
|
+
commentId: z5.string().uuid(),
|
|
652
|
+
display: chatRichReferenceDisplaySchema.optional()
|
|
653
|
+
}).refine((value) => Boolean(value.issueId || value.identifier), {
|
|
654
|
+
message: "issueId or identifier is required"
|
|
655
|
+
});
|
|
656
|
+
chatRichReferenceSchema = z5.union([
|
|
657
|
+
chatIssueRichReferenceSchema,
|
|
658
|
+
chatIssueCommentRichReferenceSchema
|
|
659
|
+
]);
|
|
660
|
+
chatRichReferencesSchema = z5.array(chatRichReferenceSchema).max(5);
|
|
619
661
|
createChatAttachmentMetadataSchema = z5.object({
|
|
620
662
|
messageId: z5.string().uuid()
|
|
621
663
|
});
|
|
@@ -2491,7 +2533,10 @@ var init_organization_skill_reference = __esm({
|
|
|
2491
2533
|
"para-memory-files",
|
|
2492
2534
|
"rudder",
|
|
2493
2535
|
"rudder-create-agent",
|
|
2494
|
-
"rudder-create-plugin"
|
|
2536
|
+
"rudder-create-plugin",
|
|
2537
|
+
"skill-creator",
|
|
2538
|
+
"skill-optimizer",
|
|
2539
|
+
"conversation-to-skill"
|
|
2495
2540
|
];
|
|
2496
2541
|
RUDDER_BUNDLED_SKILL_KEYS = new Set(
|
|
2497
2542
|
RUDDER_BUNDLED_SKILL_SLUGS.map((slug) => `rudder/${slug}`)
|