@velvetmonkey/flywheel-memory 2.0.123 → 2.0.125

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 +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6314,7 +6314,11 @@ var indexProgress = { parsed: 0, total: 0 };
6314
6314
  var indexError = null;
6315
6315
  function getIndexState() {
6316
6316
  const scope = getActiveScopeOrNull();
6317
- return scope ? scope.indexState : indexState;
6317
+ if (scope) {
6318
+ if (scope.indexState === "building" && indexState === "ready") return "ready";
6319
+ return scope.indexState;
6320
+ }
6321
+ return indexState;
6318
6322
  }
6319
6323
  function getIndexProgress() {
6320
6324
  return { ...indexProgress };
@@ -10834,6 +10838,7 @@ function enrichResultCompact(result, index, stateDb2, opts) {
10834
10838
  if (preview) enriched.snippet = preview;
10835
10839
  }
10836
10840
  if (note) {
10841
+ if (Object.keys(note.frontmatter).length > 0) enriched.frontmatter = note.frontmatter;
10837
10842
  enriched.backlink_count = backlinks.length;
10838
10843
  enriched.modified = note.modified.toISOString();
10839
10844
  if (note.tags.length > 0) enriched.tags = note.tags;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velvetmonkey/flywheel-memory",
3
- "version": "2.0.123",
3
+ "version": "2.0.125",
4
4
  "description": "MCP server that gives Claude full read/write access to your Obsidian vault. Select from 69 tools for search, backlinks, graph queries, mutations, agent memory, and hybrid semantic search.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",