replicas-cli 0.3.688 → 0.3.690
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 +9 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30029,7 +30029,6 @@ var init_replicas_mcp = __esm({
|
|
|
30029
30029
|
getSlackChannel: "get_slack_channel",
|
|
30030
30030
|
linkSlackChannel: "link_slack_channel",
|
|
30031
30031
|
createSlackChannel: "create_slack_channel",
|
|
30032
|
-
unlinkSlackChannel: "unlink_slack_channel",
|
|
30033
30032
|
setSlackChannelLevel: "set_slack_channel_level",
|
|
30034
30033
|
createReplica: "create_replica",
|
|
30035
30034
|
listReplicas: "list_replicas",
|
|
@@ -38864,7 +38863,6 @@ var init_steps = __esm({
|
|
|
38864
38863
|
[REPLICAS_MCP_TOOLS.getSlackChannel]: { icon: "search", live: "Checking Slack channel", done: "Checked Slack channel" },
|
|
38865
38864
|
[REPLICAS_MCP_TOOLS.linkSlackChannel]: { icon: "wrench", live: "Linking Slack channel", done: "Linked Slack channel" },
|
|
38866
38865
|
[REPLICAS_MCP_TOOLS.createSlackChannel]: { icon: "wrench", live: "Creating Slack channel", done: "Created Slack channel" },
|
|
38867
|
-
[REPLICAS_MCP_TOOLS.unlinkSlackChannel]: { icon: "trash", live: "Unlinking Slack channel", done: "Unlinked Slack channel" },
|
|
38868
38866
|
[REPLICAS_MCP_TOOLS.setSlackChannelLevel]: { icon: "wrench", live: "Changing Slack channel level", done: "Changed Slack channel level" },
|
|
38869
38867
|
// Tools Managers no longer have, so older chats still label them.
|
|
38870
38868
|
get_board: { icon: "book", live: "Reading board", done: "Read board" },
|
|
@@ -38922,6 +38920,8 @@ function parseAnnotationsNote(body2) {
|
|
|
38922
38920
|
if (file2) lines.shift();
|
|
38923
38921
|
const source = lines[0]?.match(ANNOTATION_SOURCE_REGEX);
|
|
38924
38922
|
if (source) lines.shift();
|
|
38923
|
+
const image = lines[0]?.match(ANNOTATION_IMAGE_REGEX);
|
|
38924
|
+
if (image) lines.shift();
|
|
38925
38925
|
const occurrence = lines[0]?.match(ANNOTATION_OCCURRENCE_REGEX);
|
|
38926
38926
|
if (occurrence) lines.shift();
|
|
38927
38927
|
const quoteLength = lines.findIndex((line) => !line.startsWith(">"));
|
|
@@ -38932,7 +38932,8 @@ function parseAnnotationsNote(body2) {
|
|
|
38932
38932
|
...comment ? { comment } : {},
|
|
38933
38933
|
...file2 ? { lines: { path: file2[1], start: Number(file2[2]), end: Number(file2[3] ?? file2[2]) } } : {},
|
|
38934
38934
|
...occurrence ? { occurrence: Number(occurrence[1]) - 1 } : {},
|
|
38935
|
-
...source ? { messageId: source[1], ...source[2] ? { endMessageId: source[2] } : {} } : {}
|
|
38935
|
+
...source ? { messageId: source[1], ...source[2] ? { endMessageId: source[2] } : {} } : {},
|
|
38936
|
+
...image ? { image: Number(image[1]) } : {}
|
|
38936
38937
|
};
|
|
38937
38938
|
});
|
|
38938
38939
|
}
|
|
@@ -38973,7 +38974,7 @@ function stripAttachmentNote(text5) {
|
|
|
38973
38974
|
annotations: annotationsNote ? parseAnnotationsNote(annotationsNote.body) : []
|
|
38974
38975
|
};
|
|
38975
38976
|
}
|
|
38976
|
-
var ATTACHMENT_PLACEHOLDER_REGEX, withoutAttachmentPlaceholder, annotationLinesSchema, messageAnnotationSchema, ANNOTATIONS_NOTE_OPENING, ANNOTATIONS_NOTE_REGEX, ANNOTATION_HEADER_REGEX, ANNOTATION_FILE_REGEX, ANNOTATION_OCCURRENCE_REGEX, ANNOTATION_SOURCE_REGEX, APPSHOT_NOTE_REGEX, TRUNCATED_APPSHOT_NOTE_REGEX, XML_UNESCAPES, unescapeXml, WALKTHROUGH_NOTE_REGEX, TRUNCATED_WALKTHROUGH_NOTE_REGEX, VIDEO_SIZES_REGEX, parseVideoSizes;
|
|
38977
|
+
var ATTACHMENT_PLACEHOLDER_REGEX, withoutAttachmentPlaceholder, annotationLinesSchema, messageAnnotationSchema, ANNOTATIONS_NOTE_OPENING, ANNOTATIONS_NOTE_REGEX, ANNOTATION_HEADER_REGEX, ANNOTATION_FILE_REGEX, ANNOTATION_OCCURRENCE_REGEX, ANNOTATION_SOURCE_REGEX, ANNOTATION_IMAGE_REGEX, APPSHOT_NOTE_REGEX, TRUNCATED_APPSHOT_NOTE_REGEX, XML_UNESCAPES, unescapeXml, WALKTHROUGH_NOTE_REGEX, TRUNCATED_WALKTHROUGH_NOTE_REGEX, VIDEO_SIZES_REGEX, parseVideoSizes;
|
|
38977
38978
|
var init_user_message_attachments = __esm({
|
|
38978
38979
|
"../shared/src/user-message-attachments.ts"() {
|
|
38979
38980
|
"use strict";
|
|
@@ -38991,7 +38992,8 @@ var init_user_message_attachments = __esm({
|
|
|
38991
38992
|
occurrence: external_exports.number().int().nonnegative().optional(),
|
|
38992
38993
|
/** The rendered message the quote was selected in, and its last one when it spans several, so clients find it without searching. */
|
|
38993
38994
|
messageId: external_exports.string().optional(),
|
|
38994
|
-
endMessageId: external_exports.string().optional()
|
|
38995
|
+
endMessageId: external_exports.string().optional(),
|
|
38996
|
+
image: external_exports.number().int().positive().optional()
|
|
38995
38997
|
});
|
|
38996
38998
|
ANNOTATIONS_NOTE_OPENING = '<replicas_annotations>\nThe user quoted these passages, some with a comment. Address each annotation, and when you do, refer to it as "Annotation N".';
|
|
38997
38999
|
ANNOTATIONS_NOTE_REGEX = /(?:^|\n\n)<replicas_annotations>\n([\s\S]*?)\n<\/replicas_annotations>$/;
|
|
@@ -38999,6 +39001,7 @@ var init_user_message_attachments = __esm({
|
|
|
38999
39001
|
ANNOTATION_FILE_REGEX = /^File: (.+):(\d+)(?:-(\d+))?$/;
|
|
39000
39002
|
ANNOTATION_OCCURRENCE_REGEX = /^Occurrence: (\d+) /;
|
|
39001
39003
|
ANNOTATION_SOURCE_REGEX = /^Source: (\S+)(?: to (\S+))?$/;
|
|
39004
|
+
ANNOTATION_IMAGE_REGEX = /^Image: (\d+)$/;
|
|
39002
39005
|
APPSHOT_NOTE_REGEX = /(?:^|\n\n)<replicas_appshot app="([^"\n]*)" window="([^"\n]*)" image="(\d+)">\n([^\n<]*)(?:\n\n([^<]*))?\n<\/replicas_appshot>$/;
|
|
39003
39006
|
TRUNCATED_APPSHOT_NOTE_REGEX = /(?:^|\n\n)<replicas_appshot app="([^"\n]*)(?:" window="([^"\n]*)(?:" image="(\d*))?)?[^<]*(?:<\/?[a-z_]*)?$/;
|
|
39004
39007
|
XML_UNESCAPES = { "&": "&", "<": "<", ">": ">", """: '"', "'": "'" };
|
|
@@ -43585,7 +43588,7 @@ var CLI_VERSION;
|
|
|
43585
43588
|
var init_cli_version = __esm({
|
|
43586
43589
|
"../shared/src/cli-version.ts"() {
|
|
43587
43590
|
"use strict";
|
|
43588
|
-
CLI_VERSION = "0.3.
|
|
43591
|
+
CLI_VERSION = "0.3.690";
|
|
43589
43592
|
}
|
|
43590
43593
|
});
|
|
43591
43594
|
|