@velvetmonkey/flywheel-memory 2.0.0 → 2.0.1

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
@@ -3911,7 +3911,7 @@ function stem(word) {
3911
3911
  }
3912
3912
  function tokenize(text) {
3913
3913
  const cleanText = text.replace(/\[\[([^\]|]+)(?:\|[^\]]+)?\]\]/g, "$1").replace(/[*_`#\[\]()]/g, " ").toLowerCase();
3914
- const words = cleanText.match(/\b[a-z]{4,}\b/g) || [];
3914
+ const words = cleanText.match(/\b[a-z]{3,}\b/g) || [];
3915
3915
  return words.filter((word) => !STOPWORDS.has(word));
3916
3916
  }
3917
3917
 
@@ -4327,7 +4327,7 @@ function isLikelyArticleTitle(name) {
4327
4327
  }
4328
4328
  var STRICTNESS_CONFIGS = {
4329
4329
  conservative: {
4330
- minWordLength: 5,
4330
+ minWordLength: 3,
4331
4331
  minSuggestionScore: 15,
4332
4332
  // Requires exact match (10) + at least one stem (5)
4333
4333
  minMatchRatio: 0.6,
@@ -4340,7 +4340,7 @@ var STRICTNESS_CONFIGS = {
4340
4340
  // Standard bonus for exact matches
4341
4341
  },
4342
4342
  balanced: {
4343
- minWordLength: 4,
4343
+ minWordLength: 3,
4344
4344
  minSuggestionScore: 8,
4345
4345
  // At least one exact match or two stem matches
4346
4346
  minMatchRatio: 0.4,
@@ -4352,7 +4352,7 @@ var STRICTNESS_CONFIGS = {
4352
4352
  // Standard bonus for exact matches
4353
4353
  },
4354
4354
  aggressive: {
4355
- minWordLength: 4,
4355
+ minWordLength: 3,
4356
4356
  minSuggestionScore: 5,
4357
4357
  // Single stem match is enough
4358
4358
  minMatchRatio: 0.3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velvetmonkey/flywheel-memory",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "MCP server that gives Claude full read/write access to your Obsidian vault. 76 tools for search, backlinks, graph queries, and mutations.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@modelcontextprotocol/sdk": "^1.25.1",
51
- "@velvetmonkey/vault-core": "^2.0.0",
51
+ "@velvetmonkey/vault-core": "^2.0.1",
52
52
  "better-sqlite3": "^11.0.0",
53
53
  "chokidar": "^4.0.0",
54
54
  "gray-matter": "^4.0.3",