replicas-cli 0.3.31 → 0.3.32

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.
Files changed (2) hide show
  1. package/dist/index.cjs +7 -6
  2. 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 taskSnapshot = () => taskAccumulator.getTasks().map((task) => ({
27579
- text: task.subject,
27580
- completed: task.status === "completed",
27581
- itemStatus: task.status
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.31";
28437
+ var CLI_VERSION = "0.3.32";
28437
28438
 
28438
28439
  // ../shared/src/version.ts
28439
28440
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {