replicas-cli 0.2.742 → 0.2.744
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 +8 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -26943,13 +26943,14 @@ function filterDisplayMessages(messages, provider) {
|
|
|
26943
26943
|
result = result.slice(userMessages[1].index);
|
|
26944
26944
|
}
|
|
26945
26945
|
}
|
|
26946
|
-
result = result.
|
|
26947
|
-
if (msg.type !== "user") return msg;
|
|
26946
|
+
result = result.flatMap((msg) => {
|
|
26947
|
+
if (msg.type !== "user") return [msg];
|
|
26948
26948
|
const cleaned = removeReplicasInstructions(msg.content).trim();
|
|
26949
26949
|
if (INTERRUPTED_MESSAGE_REGEX.test(cleaned)) {
|
|
26950
|
-
return { id: msg.id, type: "interruption", timestamp: msg.timestamp };
|
|
26950
|
+
return [{ id: msg.id, type: "interruption", timestamp: msg.timestamp }];
|
|
26951
26951
|
}
|
|
26952
|
-
|
|
26952
|
+
if (cleaned.length === 0 && !msg.images?.length) return [];
|
|
26953
|
+
return [cleaned !== msg.content ? { ...msg, content: cleaned } : msg];
|
|
26953
26954
|
});
|
|
26954
26955
|
return result;
|
|
26955
26956
|
}
|
|
@@ -27129,7 +27130,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
|
|
|
27129
27130
|
});
|
|
27130
27131
|
|
|
27131
27132
|
// ../shared/src/cli-version.ts
|
|
27132
|
-
var CLI_VERSION = "0.2.
|
|
27133
|
+
var CLI_VERSION = "0.2.744";
|
|
27133
27134
|
|
|
27134
27135
|
// ../shared/src/version.ts
|
|
27135
27136
|
function compareVersions(v1, v2) {
|
|
@@ -27869,7 +27870,8 @@ var ENVIRONMENT_SETUP_LIMITS = {
|
|
|
27869
27870
|
automationNoteChars: 300,
|
|
27870
27871
|
verificationItems: 8,
|
|
27871
27872
|
verificationDetailChars: 300,
|
|
27872
|
-
mediaItems: 8
|
|
27873
|
+
mediaItems: 8,
|
|
27874
|
+
repositories: 20
|
|
27873
27875
|
};
|
|
27874
27876
|
var ENVIRONMENT_SETUP_VARIABLE_WAIT = { defaultMs: 5 * 6e4, maxMs: 15 * 6e4, pollMs: 5e3 };
|
|
27875
27877
|
var VARIABLE_KEY_RE = /^[A-Za-z_][A-Za-z0-9_]*$/;
|