replicas-cli 0.3.280 → 0.3.283
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 +12 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16231,7 +16231,10 @@ var init_languages = __esm({
|
|
|
16231
16231
|
".pl": "perl",
|
|
16232
16232
|
".perl": "perl",
|
|
16233
16233
|
".elm": "elm",
|
|
16234
|
-
".lisp": "lisp"
|
|
16234
|
+
".lisp": "lisp",
|
|
16235
|
+
".tex": "latex",
|
|
16236
|
+
".sty": "latex",
|
|
16237
|
+
".bib": "bibtex"
|
|
16235
16238
|
};
|
|
16236
16239
|
}
|
|
16237
16240
|
});
|
|
@@ -20723,11 +20726,12 @@ function normalizeBackgroundTaskStatus(status) {
|
|
|
20723
20726
|
}
|
|
20724
20727
|
return "in_progress";
|
|
20725
20728
|
}
|
|
20726
|
-
var BACKGROUND_TASK_SUBTYPES;
|
|
20729
|
+
var RUN_STEP_TYPES, BACKGROUND_TASK_SUBTYPES;
|
|
20727
20730
|
var init_types6 = __esm({
|
|
20728
20731
|
"../shared/src/display-message/types.ts"() {
|
|
20729
20732
|
"use strict";
|
|
20730
20733
|
init_type_guards();
|
|
20734
|
+
RUN_STEP_TYPES = ["agent", "reasoning", "command", "file_change", "patch", "tool_call", "web_search", "todo_list", "skill", "subagent"];
|
|
20731
20735
|
BACKGROUND_TASK_SUBTYPES = /* @__PURE__ */ new Set([
|
|
20732
20736
|
"task_started",
|
|
20733
20737
|
"task_progress",
|
|
@@ -21104,7 +21108,7 @@ function stringifyDisplayValue(value) {
|
|
|
21104
21108
|
}
|
|
21105
21109
|
function markTurnEnd(messages, completedAt) {
|
|
21106
21110
|
const last = messages.at(-1);
|
|
21107
|
-
if (last
|
|
21111
|
+
if (last && isRunStep(last)) messages[messages.length - 1] = { ...last, endsTurn: true, ...last.type === "agent" && completedAt ? { completedAt } : {} };
|
|
21108
21112
|
}
|
|
21109
21113
|
function upsertDisplayMessage(messages, message2) {
|
|
21110
21114
|
const index = messages.findIndex((candidate) => candidate.id === message2.id);
|
|
@@ -21203,14 +21207,17 @@ function insertDisplayMessageByTimestamp(messages, message2) {
|
|
|
21203
21207
|
while (index > 0 && parseTimestampMs(messages[index - 1].timestamp) > messageMs) index--;
|
|
21204
21208
|
messages.splice(index, 0, message2);
|
|
21205
21209
|
}
|
|
21206
|
-
var INTERRUPTED_MESSAGE_REGEX, READ_TOOL_NAMES;
|
|
21210
|
+
var INTERRUPTED_MESSAGE_REGEX, runStepTypes, isRunStep, READ_TOOL_NAMES;
|
|
21207
21211
|
var init_utils = __esm({
|
|
21208
21212
|
"../shared/src/display-message/parsers/utils.ts"() {
|
|
21209
21213
|
"use strict";
|
|
21214
|
+
init_types6();
|
|
21210
21215
|
init_agent_event_utils();
|
|
21211
21216
|
init_json();
|
|
21212
21217
|
init_type_guards();
|
|
21213
21218
|
INTERRUPTED_MESSAGE_REGEX = /^\[Request interrupted by user.*\]$/;
|
|
21219
|
+
runStepTypes = new Set(RUN_STEP_TYPES);
|
|
21220
|
+
isRunStep = (message2) => runStepTypes.has(message2.type);
|
|
21214
21221
|
READ_TOOL_NAMES = /* @__PURE__ */ new Set(["read", "read_file", "readfile", "view"]);
|
|
21215
21222
|
}
|
|
21216
21223
|
});
|
|
@@ -31697,7 +31704,7 @@ var CLI_VERSION;
|
|
|
31697
31704
|
var init_cli_version = __esm({
|
|
31698
31705
|
"../shared/src/cli-version.ts"() {
|
|
31699
31706
|
"use strict";
|
|
31700
|
-
CLI_VERSION = "0.3.
|
|
31707
|
+
CLI_VERSION = "0.3.283";
|
|
31701
31708
|
}
|
|
31702
31709
|
});
|
|
31703
31710
|
|