replicas-cli 0.3.310 → 0.3.311
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.cjs +24 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16172,13 +16172,35 @@ var init_chat_kind = __esm({
|
|
|
16172
16172
|
});
|
|
16173
16173
|
|
|
16174
16174
|
// ../shared/src/routes/reviews.ts
|
|
16175
|
-
var text, optionalText, pullRequestTourSchema;
|
|
16175
|
+
var PULL_REQUEST_COMMENT_DESTINATIONS, diffSideSchema, createPullRequestCommentRequestSchema, PULL_REQUEST_REVIEW_EVENTS, submitPullRequestReviewRequestSchema, text, optionalText, pullRequestTourSchema;
|
|
16176
16176
|
var init_reviews = __esm({
|
|
16177
16177
|
"../shared/src/routes/reviews.ts"() {
|
|
16178
16178
|
"use strict";
|
|
16179
16179
|
init_zod();
|
|
16180
16180
|
init_chat_kind();
|
|
16181
16181
|
init_urls();
|
|
16182
|
+
PULL_REQUEST_COMMENT_DESTINATIONS = ["comment", "review", "agent"];
|
|
16183
|
+
diffSideSchema = external_exports.enum(["additions", "deletions"]);
|
|
16184
|
+
createPullRequestCommentRequestSchema = external_exports.object({
|
|
16185
|
+
body: external_exports.string().trim().min(1).max(65536),
|
|
16186
|
+
destination: external_exports.enum(PULL_REQUEST_COMMENT_DESTINATIONS),
|
|
16187
|
+
quote: external_exports.string().optional(),
|
|
16188
|
+
target: external_exports.union([
|
|
16189
|
+
external_exports.object({
|
|
16190
|
+
path: external_exports.string().min(1),
|
|
16191
|
+
line: external_exports.number().int().positive(),
|
|
16192
|
+
side: diffSideSchema,
|
|
16193
|
+
startLine: external_exports.number().int().positive().optional(),
|
|
16194
|
+
startSide: diffSideSchema.optional()
|
|
16195
|
+
}),
|
|
16196
|
+
external_exports.object({ replyTo: external_exports.string().min(1) })
|
|
16197
|
+
])
|
|
16198
|
+
});
|
|
16199
|
+
PULL_REQUEST_REVIEW_EVENTS = ["comment", "approve", "request_changes"];
|
|
16200
|
+
submitPullRequestReviewRequestSchema = external_exports.object({
|
|
16201
|
+
event: external_exports.enum(PULL_REQUEST_REVIEW_EVENTS),
|
|
16202
|
+
body: external_exports.string().trim().max(65536).default("")
|
|
16203
|
+
});
|
|
16182
16204
|
text = external_exports.string().trim().catch("");
|
|
16183
16205
|
optionalText = external_exports.string().trim().min(1).optional().catch(void 0);
|
|
16184
16206
|
pullRequestTourSchema = external_exports.object({
|
|
@@ -31929,7 +31951,7 @@ var CLI_VERSION;
|
|
|
31929
31951
|
var init_cli_version = __esm({
|
|
31930
31952
|
"../shared/src/cli-version.ts"() {
|
|
31931
31953
|
"use strict";
|
|
31932
|
-
CLI_VERSION = "0.3.
|
|
31954
|
+
CLI_VERSION = "0.3.311";
|
|
31933
31955
|
}
|
|
31934
31956
|
});
|
|
31935
31957
|
|