@velvetmonkey/flywheel-memory 2.0.146 → 2.0.147

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.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10627,7 +10627,7 @@ init_recency();
10627
10627
  init_cooccurrence();
10628
10628
  init_retrievalCooccurrence();
10629
10629
  import * as fs34 from "node:fs/promises";
10630
- import { createHash as createHash3 } from "node:crypto";
10630
+ import { createHash as createHash4 } from "node:crypto";
10631
10631
 
10632
10632
  // src/vault-registry.ts
10633
10633
  var VaultRegistry = class {
@@ -24549,6 +24549,7 @@ import { z as z39 } from "zod";
24549
24549
  // src/core/read/calibrationExport.ts
24550
24550
  init_wikilinkFeedback();
24551
24551
  init_embeddings();
24552
+ import { createHash as createHash3 } from "node:crypto";
24552
24553
  var LAYER_KEYS = [
24553
24554
  "contentMatch",
24554
24555
  "cooccurrenceBoost",
@@ -24801,8 +24802,7 @@ function getCalibrationExport(stateDb2, metrics, config, daysBack = 30, includeV
24801
24802
  const startMs = start.getTime();
24802
24803
  let vaultId;
24803
24804
  if (includeVaultId) {
24804
- const crypto2 = __require("crypto");
24805
- vaultId = crypto2.createHash("sha256").update(stateDb2.vaultPath).digest("hex").slice(0, 16);
24805
+ vaultId = createHash3("sha256").update(stateDb2.vaultPath).digest("hex").slice(0, 16);
24806
24806
  }
24807
24807
  return {
24808
24808
  schema_version: 1,
@@ -25875,7 +25875,7 @@ async function runPostIndexWork(ctx) {
25875
25875
  }
25876
25876
  try {
25877
25877
  const content = await fs34.readFile(path38.join(vp, event.path), "utf-8");
25878
- const hash = createHash3("sha256").update(content).digest("hex").slice(0, 16);
25878
+ const hash = createHash4("sha256").update(content).digest("hex").slice(0, 16);
25879
25879
  if (lastContentHashes.get(event.path) === hash) {
25880
25880
  serverLog("watcher", `Hash unchanged, skipping: ${event.path}`);
25881
25881
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velvetmonkey/flywheel-memory",
3
- "version": "2.0.146",
3
+ "version": "2.0.147",
4
4
  "description": "MCP server that gives Claude full read/write access to your Obsidian vault. Select from 74 tools for search, backlinks, graph queries, mutations, agent memory, and hybrid semantic search.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -54,7 +54,7 @@
54
54
  "dependencies": {
55
55
  "@huggingface/transformers": "^3.8.1",
56
56
  "@modelcontextprotocol/sdk": "^1.25.1",
57
- "@velvetmonkey/vault-core": "^2.0.146",
57
+ "@velvetmonkey/vault-core": "^2.0.147",
58
58
  "better-sqlite3": "^12.0.0",
59
59
  "chokidar": "^4.0.0",
60
60
  "gray-matter": "^4.0.3",