replicas-cli 0.3.31 → 0.3.33
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 +7 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -27575,11 +27575,12 @@ function parseClaudeEvents(events, parentToolUseId) {
|
|
|
27575
27575
|
});
|
|
27576
27576
|
};
|
|
27577
27577
|
const taskAccumulator = new TaskAccumulator();
|
|
27578
|
-
const
|
|
27579
|
-
|
|
27580
|
-
completed: task.status === "completed",
|
|
27581
|
-
|
|
27582
|
-
|
|
27578
|
+
const todoItems = /* @__PURE__ */ new WeakMap();
|
|
27579
|
+
const taskSnapshot = () => taskAccumulator.getTasks().map((task) => {
|
|
27580
|
+
const item = todoItems.get(task) ?? { text: task.subject, completed: task.status === "completed", itemStatus: task.status };
|
|
27581
|
+
todoItems.set(task, item);
|
|
27582
|
+
return item;
|
|
27583
|
+
});
|
|
27583
27584
|
filteredEvents.forEach((event) => {
|
|
27584
27585
|
if (event.type === "event_msg" && event.payload.type === "user_message") {
|
|
27585
27586
|
const content = typeof event.payload.message === "string" ? event.payload.message : "";
|
|
@@ -28433,7 +28434,7 @@ var headlessAgentRequestSchema = external_exports.object({
|
|
|
28433
28434
|
});
|
|
28434
28435
|
|
|
28435
28436
|
// ../shared/src/cli-version.ts
|
|
28436
|
-
var CLI_VERSION = "0.3.
|
|
28437
|
+
var CLI_VERSION = "0.3.33";
|
|
28437
28438
|
|
|
28438
28439
|
// ../shared/src/version.ts
|
|
28439
28440
|
function compareVersions(v1, v2) {
|