knowmind 0.3.0 → 0.3.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.
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "knowmind",
3
- "version": "0.3.0",
4
- "mcpName": "io.github.Schubeler-Consulting/knowmind",
5
- "description": "Knowmind — das Agentengehirn aus Deutschland: CLI + MCP-Server (Langzeitgedächtnis & Wissensgraph für Ihre KI, Server in Deutschland).",
6
- "type": "module",
7
- "license": "Apache-2.0",
8
- "homepage": "https://knowmind.de",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/Schubeler-Consulting/knowmind.git"
12
- },
13
- "bugs": {
14
- "url": "https://knowmind.de/support",
15
- "email": "info@schuebeler-consulting.de"
16
- },
17
- "author": {
18
- "name": "Knowmind",
19
- "email": "info@schuebeler-consulting.de",
20
- "url": "https://knowmind.de"
21
- },
22
- "engines": {
23
- "node": ">=20"
24
- },
25
- "bin": {
26
- "knowmind": "bin/knowmind.js"
27
- },
28
- "files": [
29
- "bin",
30
- "src",
31
- "!src/*.test.js",
32
- "README.md",
33
- "CHANGELOG.md",
34
- "LICENSE"
35
- ],
36
- "scripts": {
37
- "test": "node --test src/*.test.js"
38
- },
39
- "dependencies": {
40
- "@huggingface/transformers": "^3.5.0"
41
- },
42
- "overrides": {
43
- "global-agent": "^4.1.3"
44
- },
45
- "keywords": [
46
- "knowmind",
47
- "mcp",
48
- "model-context-protocol",
49
- "knowledge-graph",
50
- "recall",
51
- "memory",
52
- "rag",
53
- "claude",
54
- "openai",
55
- "anthropic",
56
- "ai"
57
- ],
58
- "publishConfig": {
59
- "access": "public"
60
- }
61
- }
1
+ {
2
+ "name": "knowmind",
3
+ "version": "0.3.1",
4
+ "mcpName": "io.github.Schubeler-Consulting/knowmind",
5
+ "description": "Knowmind — das Agentengehirn aus Deutschland: CLI + MCP-Server (Langzeitgedächtnis & Wissensgraph für Ihre KI, Server in Deutschland).",
6
+ "type": "module",
7
+ "license": "Apache-2.0",
8
+ "homepage": "https://knowmind.de",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Schubeler-Consulting/knowmind.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://knowmind.de/support",
15
+ "email": "info@schuebeler-consulting.de"
16
+ },
17
+ "author": {
18
+ "name": "Knowmind",
19
+ "email": "info@schuebeler-consulting.de",
20
+ "url": "https://knowmind.de"
21
+ },
22
+ "engines": {
23
+ "node": ">=20"
24
+ },
25
+ "bin": {
26
+ "knowmind": "bin/knowmind.js"
27
+ },
28
+ "files": [
29
+ "bin",
30
+ "src",
31
+ "!src/*.test.js",
32
+ "README.md",
33
+ "CHANGELOG.md",
34
+ "LICENSE"
35
+ ],
36
+ "scripts": {
37
+ "test": "node --test src/*.test.js"
38
+ },
39
+ "dependencies": {
40
+ "@huggingface/transformers": "^3.5.0"
41
+ },
42
+ "overrides": {
43
+ "global-agent": "^4.1.3"
44
+ },
45
+ "keywords": [
46
+ "knowmind",
47
+ "mcp",
48
+ "model-context-protocol",
49
+ "knowledge-graph",
50
+ "recall",
51
+ "memory",
52
+ "rag",
53
+ "claude",
54
+ "openai",
55
+ "anthropic",
56
+ "ai"
57
+ ],
58
+ "publishConfig": {
59
+ "access": "public"
60
+ }
61
+ }
package/src/config.js CHANGED
@@ -76,15 +76,17 @@ function _lockdown(target) {
76
76
  // `knowmind login` unter Windows machte die CLI unbrauchbar.)
77
77
  const suffix = statSync(target).isDirectory() ? ":(OI)(CI)F" : ":F";
78
78
  // /reset alleine reicht nicht — die geerbten Berechtigungen müssen weg.
79
- spawnSync("icacls", [target, "/inheritance:r"], { stdio: "ignore" });
80
- spawnSync("icacls", [target, "/grant:r", `${user}${suffix}`], { stdio: "ignore" });
81
- spawnSync("icacls", [target, "/grant:r", `SYSTEM${suffix}`], { stdio: "ignore" });
79
+ spawnSync("icacls", [target, "/inheritance:r"], { stdio: "ignore", windowsHide: true });
80
+ spawnSync("icacls", [target, "/grant:r", `${user}${suffix}`], { stdio: "ignore", windowsHide: true });
81
+ spawnSync("icacls", [target, "/grant:r", `SYSTEM${suffix}`], { stdio: "ignore", windowsHide: true });
82
82
  spawnSync("icacls", [target, "/grant:r", `Administratoren${suffix}`], {
83
83
  stdio: "ignore",
84
+ windowsHide: true,
84
85
  });
85
86
  // EN-Variante als Fallback (icacls akzeptiert beide nur in jeweiliger Locale)
86
87
  spawnSync("icacls", [target, "/grant:r", `Administrators${suffix}`], {
87
88
  stdio: "ignore",
89
+ windowsHide: true,
88
90
  });
89
91
  } catch {
90
92
  // best effort — wenn icacls fehlt, fallen wir auf Standard-NTFS zurück
package/src/status.js CHANGED
@@ -144,6 +144,7 @@ function spawnProbe() {
144
144
  const child = spawn(process.execPath, [self, "status", "--probe"], {
145
145
  detached: true,
146
146
  stdio: "ignore",
147
+ windowsHide: true,
147
148
  });
148
149
  child.unref();
149
150
  } catch {