@velvetmonkey/flywheel-memory 2.5.6 → 2.5.8

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 +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -27919,11 +27919,11 @@ async function runPostIndexWork(ctx) {
27919
27919
  serverLog("watcher", `File watcher enabled (debounce: ${config.debounceMs}ms)`);
27920
27920
  const handleBatch = async (batch) => {
27921
27921
  const vaultPrefixes = /* @__PURE__ */ new Set([
27922
- vp.replace(/\\/g, "/"),
27923
- rvp
27922
+ normalizePath(vp),
27923
+ normalizePath(rvp)
27924
27924
  ]);
27925
27925
  const normalizeEventPath = (rawPath) => {
27926
- const normalized = rawPath.replace(/\\/g, "/");
27926
+ const normalized = normalizePath(rawPath);
27927
27927
  for (const prefix of vaultPrefixes) {
27928
27928
  if (normalized.startsWith(prefix + "/")) {
27929
27929
  return normalized.slice(prefix.length + 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velvetmonkey/flywheel-memory",
3
- "version": "2.5.6",
3
+ "version": "2.5.8",
4
4
  "description": "MCP tools that search, write, and auto-link your Obsidian vault — and learn from your edits.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@huggingface/transformers": "^3.8.1",
57
57
  "@modelcontextprotocol/sdk": "^1.25.1",
58
- "@velvetmonkey/vault-core": "^2.5.6",
58
+ "@velvetmonkey/vault-core": "^2.5.8",
59
59
  "better-sqlite3": "^12.0.0",
60
60
  "chokidar": "^4.0.0",
61
61
  "gray-matter": "^4.0.3",