@velvetmonkey/flywheel-memory 2.5.3 → 2.5.4
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 +8 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8106,11 +8106,13 @@ async function upsertNote(index, vaultPath2, notePath) {
|
|
|
8106
8106
|
entityFieldChanged
|
|
8107
8107
|
};
|
|
8108
8108
|
} catch (error) {
|
|
8109
|
+
const err = error instanceof Error ? error : new Error(String(error));
|
|
8110
|
+
console.error(`[flywheel] upsertNote FAILED for ${notePath}: ${err.message}`);
|
|
8109
8111
|
return {
|
|
8110
8112
|
success: false,
|
|
8111
8113
|
action: "unchanged",
|
|
8112
8114
|
path: notePath,
|
|
8113
|
-
error:
|
|
8115
|
+
error: err
|
|
8114
8116
|
};
|
|
8115
8117
|
}
|
|
8116
8118
|
}
|
|
@@ -9634,7 +9636,11 @@ var PipelineRunner = class {
|
|
|
9634
9636
|
...p.batch,
|
|
9635
9637
|
events: p.events.map((e) => ({ ...e, path: path15.join(p.vp, e.path) }))
|
|
9636
9638
|
};
|
|
9637
|
-
const batchResult = await processBatch(vaultIndex2, p.vp, absoluteBatch
|
|
9639
|
+
const batchResult = await processBatch(vaultIndex2, p.vp, absoluteBatch, {
|
|
9640
|
+
onError: (filePath, error) => {
|
|
9641
|
+
serverLog("watcher", `File processing error: ${filePath}: ${error.message}`, "error");
|
|
9642
|
+
}
|
|
9643
|
+
});
|
|
9638
9644
|
this.hasEntityRelevantChanges = batchResult.hasEntityRelevantChanges;
|
|
9639
9645
|
vaultIndex2.builtAt = /* @__PURE__ */ new Date();
|
|
9640
9646
|
serverLog("watcher", `Incremental: ${batchResult.successful}/${batchResult.total} files in ${batchResult.durationMs}ms`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velvetmonkey/flywheel-memory",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
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.
|
|
58
|
+
"@velvetmonkey/vault-core": "^2.5.4",
|
|
59
59
|
"better-sqlite3": "^12.0.0",
|
|
60
60
|
"chokidar": "^4.0.0",
|
|
61
61
|
"gray-matter": "^4.0.3",
|