@corbat-tech/coco 2.5.3 → 2.6.0

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.js CHANGED
@@ -19764,7 +19764,7 @@ var codebaseMapTools = [codebaseMapTool];
19764
19764
  init_paths();
19765
19765
  var fs24 = await import('fs/promises');
19766
19766
  var path26 = await import('path');
19767
- var crypto3 = await import('crypto');
19767
+ var crypto2 = await import('crypto');
19768
19768
  var GLOBAL_MEMORIES_DIR = path26.join(COCO_HOME, "memories");
19769
19769
  var PROJECT_MEMORIES_DIR = ".coco/memories";
19770
19770
  var DEFAULT_MAX_MEMORIES = 1e3;
@@ -19846,7 +19846,7 @@ Examples:
19846
19846
  { tool: "create_memory" }
19847
19847
  );
19848
19848
  }
19849
- const id = crypto3.randomUUID();
19849
+ const id = crypto2.randomUUID();
19850
19850
  const memory = {
19851
19851
  id,
19852
19852
  key,
@@ -19957,7 +19957,7 @@ Examples:
19957
19957
  });
19958
19958
  var memoryTools = [createMemoryTool, recallMemoryTool, listMemoriesTool];
19959
19959
  var fs25 = await import('fs/promises');
19960
- var crypto4 = await import('crypto');
19960
+ var crypto3 = await import('crypto');
19961
19961
  var CHECKPOINT_FILE = ".coco/checkpoints.json";
19962
19962
  var DEFAULT_MAX_CHECKPOINTS = 50;
19963
19963
  var STASH_PREFIX = "coco-cp";
@@ -20012,7 +20012,7 @@ Examples:
20012
20012
  description: z.string().min(1).max(200).describe("Description of this checkpoint")
20013
20013
  }),
20014
20014
  async execute({ description }) {
20015
- const id = crypto4.randomUUID().slice(0, 8);
20015
+ const id = crypto3.randomUUID().slice(0, 8);
20016
20016
  const timestamp = (/* @__PURE__ */ new Date()).toISOString();
20017
20017
  const stashMessage = `${STASH_PREFIX}-${id}-${description.replace(/\s+/g, "-").slice(0, 50)}`;
20018
20018
  const changedFiles = await getChangedFiles();