knowmind 0.1.10 → 0.1.13

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/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "knowmind",
3
- "version": "0.1.10",
3
+ "version": "0.1.13",
4
+ "mcpName": "io.github.whosoeverm8/knowmind",
4
5
  "description": "Kommandozeile und lokale MCP-Vermittlung für Knowmind — das Gedächtnis für Ihre KI.",
5
6
  "type": "module",
6
7
  "license": "Apache-2.0",
7
8
  "homepage": "https://knowmind.de",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/WhoSoEverM8/knowmind.git"
12
+ },
8
13
  "bugs": {
9
14
  "url": "https://knowmind.de/support",
10
15
  "email": "info@schuebeler-consulting.de"
package/src/mcp-stdio.js CHANGED
@@ -10,7 +10,7 @@
10
10
  * Protokoll: stdio mit zeilenweise JSON (NDJSON-Style). Jedes Frame ist ein
11
11
  * vollständiges JSON-RPC-Objekt.
12
12
  */
13
- import { loadConfig } from "./config.js";
13
+ import { loadConfig, VERSION } from "./config.js";
14
14
  import { createInterface } from "node:readline";
15
15
 
16
16
  // Typisierte Beziehungen zwischen Erinnerungen. Diese Liste ist die einzige
@@ -410,7 +410,7 @@ export async function runStdioServer() {
410
410
  id: req.id ?? null,
411
411
  result: {
412
412
  protocolVersion: "2025-06-18",
413
- serverInfo: { name: "knowmind", version: "0.1.5" },
413
+ serverInfo: { name: "knowmind", version: VERSION },
414
414
  capabilities: { tools: {} },
415
415
  },
416
416
  });
package/src/sync.js CHANGED
@@ -21,6 +21,12 @@ const IGNORE_DIRS = new Set([
21
21
  "node_modules", ".git", ".next", "dist", "build",
22
22
  ".venv", "venv", "__pycache__", ".cache",
23
23
  ]);
24
+ // Reine Navigations-/Index-Dateien sind KEIN Recall-Ziel: ihre Einzeiler-Hooks
25
+ // matchen schwach fast jede Query und verdrängen die echten Detail-Dokumente.
26
+ // MEMORY.md änderte sich bei jedem Memory-Write → der Sync legte jedes Mal ein
27
+ // NEUES Dokument an (kein Replace), Ergebnis waren 24 Versionen / 1224 Chunks
28
+ // (~38 % des Stores). Index-Dateien werden daher nie synchronisiert.
29
+ const IGNORE_FILES = new Set(["MEMORY.md"]);
24
30
 
25
31
  function* walk(root, exts) {
26
32
  const entries = readdirSync(root, { withFileTypes: true });
@@ -31,6 +37,7 @@ function* walk(root, exts) {
31
37
  if (IGNORE_DIRS.has(e.name)) continue;
32
38
  yield* walk(full, exts);
33
39
  } else if (e.isFile()) {
40
+ if (IGNORE_FILES.has(e.name)) continue;
34
41
  const ext = extname(e.name).toLowerCase();
35
42
  if (exts.includes(ext)) yield full;
36
43
  }