@mycelish/cli 0.2.5 → 0.2.6

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 (112) hide show
  1. package/dist/__tests__/unified-item-state.integration.test.js +0 -5
  2. package/dist/__tests__/unified-item-state.integration.test.js.map +1 -1
  3. package/dist/commands/doctor.d.ts +1 -1
  4. package/dist/commands/doctor.d.ts.map +1 -1
  5. package/dist/commands/doctor.js +1 -1
  6. package/dist/commands/doctor.js.map +1 -1
  7. package/dist/commands/doctor.test.js +0 -59
  8. package/dist/commands/doctor.test.js.map +1 -1
  9. package/dist/commands/health-checks/index.d.ts +0 -1
  10. package/dist/commands/health-checks/index.d.ts.map +1 -1
  11. package/dist/commands/health-checks/index.js +0 -1
  12. package/dist/commands/health-checks/index.js.map +1 -1
  13. package/dist/commands/health-checks/runner.d.ts.map +1 -1
  14. package/dist/commands/health-checks/runner.js +5 -19
  15. package/dist/commands/health-checks/runner.js.map +1 -1
  16. package/dist/commands/init.js +2 -2
  17. package/dist/commands/init.js.map +1 -1
  18. package/dist/commands/migrate.d.ts.map +1 -1
  19. package/dist/commands/migrate.js +6 -12
  20. package/dist/commands/migrate.js.map +1 -1
  21. package/dist/commands/preset.js +0 -3
  22. package/dist/commands/preset.js.map +1 -1
  23. package/dist/commands/preset.test.js +1 -5
  24. package/dist/commands/preset.test.js.map +1 -1
  25. package/dist/commands/status.d.ts +0 -2
  26. package/dist/commands/status.d.ts.map +1 -1
  27. package/dist/commands/status.js +2 -30
  28. package/dist/commands/status.js.map +1 -1
  29. package/dist/commands/status.test.d.ts +0 -1
  30. package/dist/commands/status.test.d.ts.map +1 -1
  31. package/dist/commands/status.test.js +1 -22
  32. package/dist/commands/status.test.js.map +1 -1
  33. package/dist/commands/sync.d.ts +0 -1
  34. package/dist/commands/sync.d.ts.map +1 -1
  35. package/dist/commands/sync.js +0 -21
  36. package/dist/commands/sync.js.map +1 -1
  37. package/dist/commands/sync.test.js +0 -41
  38. package/dist/commands/sync.test.js.map +1 -1
  39. package/dist/core/config-merger.d.ts.map +1 -1
  40. package/dist/core/config-merger.js +0 -25
  41. package/dist/core/config-merger.js.map +1 -1
  42. package/dist/core/fs-helpers.d.ts +0 -3
  43. package/dist/core/fs-helpers.d.ts.map +1 -1
  44. package/dist/core/fs-helpers.js +0 -6
  45. package/dist/core/fs-helpers.js.map +1 -1
  46. package/dist/core/fs-helpers.test.js +0 -4
  47. package/dist/core/fs-helpers.test.js.map +1 -1
  48. package/dist/core/migrator/executor.d.ts.map +1 -1
  49. package/dist/core/migrator/executor.js +0 -29
  50. package/dist/core/migrator/executor.js.map +1 -1
  51. package/dist/core/migrator/planner.d.ts.map +1 -1
  52. package/dist/core/migrator/planner.js +0 -3
  53. package/dist/core/migrator/planner.js.map +1 -1
  54. package/dist/core/migrator/scanners.d.ts.map +1 -1
  55. package/dist/core/migrator/scanners.js +1 -95
  56. package/dist/core/migrator/scanners.js.map +1 -1
  57. package/dist/core/migrator/scanners.test.js +0 -15
  58. package/dist/core/migrator/scanners.test.js.map +1 -1
  59. package/dist/core/migrator.test.js +8 -48
  60. package/dist/core/migrator.test.js.map +1 -1
  61. package/dist/core/presets.d.ts +1 -7
  62. package/dist/core/presets.d.ts.map +1 -1
  63. package/dist/core/presets.js +1 -2
  64. package/dist/core/presets.js.map +1 -1
  65. package/dist/core/state-verifier.d.ts +1 -1
  66. package/dist/core/state-verifier.d.ts.map +1 -1
  67. package/dist/core/state-verifier.js +2 -6
  68. package/dist/core/state-verifier.js.map +1 -1
  69. package/dist/core/state-verifier.test.js +1 -1
  70. package/dist/core/state-verifier.test.js.map +1 -1
  71. package/dist/core/watcher.d.ts.map +1 -1
  72. package/dist/core/watcher.js +0 -6
  73. package/dist/core/watcher.js.map +1 -1
  74. package/dist/core/watcher.test.js +0 -9
  75. package/dist/core/watcher.test.js.map +1 -1
  76. package/dist/dashboard/assets/index-Bnzy2ItZ.js +150 -0
  77. package/dist/dashboard/index.html +1 -1
  78. package/dist/mcp/resources.js +1 -1
  79. package/dist/mcp/resources.js.map +1 -1
  80. package/dist/mcp/server.d.ts.map +1 -1
  81. package/dist/mcp/server.js +0 -2
  82. package/dist/mcp/server.js.map +1 -1
  83. package/package.json +2 -2
  84. package/dist/commands/health-checks/memory-check.d.ts +0 -15
  85. package/dist/commands/health-checks/memory-check.d.ts.map +0 -1
  86. package/dist/commands/health-checks/memory-check.js +0 -92
  87. package/dist/commands/health-checks/memory-check.js.map +0 -1
  88. package/dist/core/memory-scoper.d.ts +0 -43
  89. package/dist/core/memory-scoper.d.ts.map +0 -1
  90. package/dist/core/memory-scoper.js +0 -165
  91. package/dist/core/memory-scoper.js.map +0 -1
  92. package/dist/core/memory-scoper.test.d.ts +0 -6
  93. package/dist/core/memory-scoper.test.d.ts.map +0 -1
  94. package/dist/core/memory-scoper.test.js +0 -440
  95. package/dist/core/memory-scoper.test.js.map +0 -1
  96. package/dist/core/smart-memory.d.ts +0 -22
  97. package/dist/core/smart-memory.d.ts.map +0 -1
  98. package/dist/core/smart-memory.js +0 -63
  99. package/dist/core/smart-memory.js.map +0 -1
  100. package/dist/core/smart-memory.test.d.ts +0 -2
  101. package/dist/core/smart-memory.test.d.ts.map +0 -1
  102. package/dist/core/smart-memory.test.js +0 -87
  103. package/dist/core/smart-memory.test.js.map +0 -1
  104. package/dist/dashboard/assets/index-Chu8Q2VW.js +0 -150
  105. package/dist/mcp/tools/memory-tools.d.ts +0 -3
  106. package/dist/mcp/tools/memory-tools.d.ts.map +0 -1
  107. package/dist/mcp/tools/memory-tools.js +0 -68
  108. package/dist/mcp/tools/memory-tools.js.map +0 -1
  109. package/dist/mcp/tools/memory-tools.test.d.ts +0 -2
  110. package/dist/mcp/tools/memory-tools.test.d.ts.map +0 -1
  111. package/dist/mcp/tools/memory-tools.test.js +0 -144
  112. package/dist/mcp/tools/memory-tools.test.js.map +0 -1
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Mycelium Control Center</title>
7
7
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
8
- <script type="module" crossorigin src="/assets/index-Chu8Q2VW.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-Bnzy2ItZ.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-quBYeTeA.css">
10
10
  </head>
11
11
  <body>
@@ -1,5 +1,5 @@
1
1
  export function registerResources(server) {
2
- server.registerResource("mycelium_config", "mycelium://config", { description: "Current merged mycelium configuration (MCPs, skills, memory scopes)" }, async () => {
2
+ server.registerResource("mycelium_config", "mycelium://config", { description: "Current merged mycelium configuration (MCPs, skills)" }, async () => {
3
3
  const { loadAndMergeAllConfigs } = await import("../core/config-merger.js");
4
4
  const config = await loadAndMergeAllConfigs(process.cwd());
5
5
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../src/mcp/resources.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,iBAAiB,CAAC,MAAiB;IACjD,MAAM,CAAC,gBAAgB,CACrB,iBAAiB,EACjB,mBAAmB,EACnB,EAAE,WAAW,EAAE,qEAAqE,EAAE,EACtF,KAAK,IAAI,EAAE;QACT,MAAM,EAAE,sBAAsB,EAAE,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,sBAAsB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QAC3D,OAAO;YACL,QAAQ,EAAE,CAAC;oBACT,GAAG,EAAE,mBAAmB;oBACxB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;oBACrC,QAAQ,EAAE,kBAAkB;iBAC7B,CAAC;SACH,CAAC;IACJ,CAAC,CACF,CAAC;IAEF,MAAM,CAAC,gBAAgB,CACrB,gBAAgB,EAChB,kBAAkB,EAClB,EAAE,WAAW,EAAE,6EAA6E,EAAE,EAC9F,KAAK,IAAI,EA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,EAAE,CAAC,CAAC;oBAC5C,QAAQ,EAAE,kBAAkB;iBAC7B,CAAC;SACH,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AASpE,wBAAgB,uBAAuB,IAAI,SAAS,CAgBnD"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAQpE,wBAAgB,uBAAuB,IAAI,SAAS,CAenD"}
@@ -5,7 +5,6 @@
5
5
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
6
6
  import { registerConfigTools } from "./tools/config-tools.js";
7
7
  import { registerItemTools } from "./tools/item-tools.js";
8
- import { registerMemoryTools } from "./tools/memory-tools.js";
9
8
  import { registerMarketplaceTools } from "./tools/marketplace-tools.js";
10
9
  import { registerObserveTools } from "./tools/observe-tools.js";
11
10
  import { registerResources } from "./resources.js";
@@ -17,7 +16,6 @@ export function createMyceliumMcpServer() {
17
16
  });
18
17
  registerConfigTools(server);
19
18
  registerItemTools(server);
20
- registerMemoryTools(server);
21
19
  registerMarketplaceTools(server);
22
20
  registerObserveTools(server);
23
21
  registerResources(server);
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OA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AEH,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC5B,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC1B,wBAAwB,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAE7B,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC1B,eAAe,CAAC,MAAM,CAAC,CAAC;IAExB,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycelish/cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "CLI for Mycelium - Universal AI Tool Orchestrator",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "picocolors": "^1.1.1",
40
40
  "yaml": "^2.8.2",
41
41
  "zod": "^4.3.6",
42
- "@mycelish/core": "0.2.5"
42
+ "@mycelish/core": "0.2.6"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "tsc && cp -r ../dashboard/dist dist/dashboard 2>/dev/null || true",
@@ -1,15 +0,0 @@
1
- /**
2
- * Memory size/limit checks for doctor command.
3
- */
4
- import { MEMORY_LINE_LIMIT } from "../../core/fs-helpers.js";
5
- import type { DiagnosticResult } from "./types.js";
6
- export { MEMORY_LINE_LIMIT };
7
- /**
8
- * Check if memory files exist
9
- */
10
- export declare function checkMemoryFilesExist(): Promise<DiagnosticResult>;
11
- /**
12
- * Check if a memory file exceeds the line limit for a tool
13
- */
14
- export declare function checkMemoryFileSize(filePath: string, maxLines: number): Promise<DiagnosticResult>;
15
- //# sourceMappingURL=memory-check.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-check.d.ts","sourceRoot":"","sources":["../../../src/commands/health-checks/memory-check.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B;;GAEG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA+CvE;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,gBAAgB,CAAC,CAkC3B"}
@@ -1,92 +0,0 @@
1
- /**
2
- * Memory size/limit checks for doctor command.
3
- */
4
- import * as fs from "node:fs/promises";
5
- import * as path from "node:path";
6
- import { expandPath, pathExists } from "@mycelish/core";
7
- import { MEMORY_LINE_LIMIT } from "../../core/fs-helpers.js";
8
- export { MEMORY_LINE_LIMIT };
9
- /**
10
- * Check if memory files exist
11
- */
12
- export async function checkMemoryFilesExist() {
13
- const memoryBasePath = expandPath("~/.mycelium/global/memory");
14
- const exists = await pathExists(memoryBasePath);
15
- if (!exists) {
16
- return {
17
- name: "Memory Files",
18
- status: "warn",
19
- message: "Memory directory not found",
20
- fix: "Run: mycelium init --global",
21
- };
22
- }
23
- try {
24
- const scopes = ["shared", "coding", "personal"];
25
- let totalFiles = 0;
26
- for (const scope of scopes) {
27
- const scopePath = path.join(memoryBasePath, scope);
28
- if (await pathExists(scopePath)) {
29
- const files = await fs.readdir(scopePath);
30
- const mdFiles = files.filter((f) => f.endsWith(".md"));
31
- totalFiles += mdFiles.length;
32
- }
33
- }
34
- if (totalFiles === 0) {
35
- return {
36
- name: "Memory Files",
37
- status: "warn",
38
- message: "No memory files found in any scope",
39
- fix: "Add .md files to ~/.mycelium/global/memory/{shared,coding,personal}/",
40
- };
41
- }
42
- return {
43
- name: "Memory Files",
44
- status: "pass",
45
- message: `${totalFiles} memory files found`,
46
- };
47
- }
48
- catch (error) {
49
- return {
50
- name: "Memory Files",
51
- status: "warn",
52
- message: `Error checking memory files: ${error instanceof Error ? error.message : String(error)}`,
53
- };
54
- }
55
- }
56
- /**
57
- * Check if a memory file exceeds the line limit for a tool
58
- */
59
- export async function checkMemoryFileSize(filePath, maxLines) {
60
- if (!(await pathExists(filePath))) {
61
- return {
62
- name: "Memory File Size",
63
- status: "pass",
64
- message: `File not present: ${filePath}`,
65
- };
66
- }
67
- try {
68
- const content = await fs.readFile(filePath, "utf-8");
69
- const lineCount = content.split("\n").length;
70
- if (lineCount > maxLines) {
71
- return {
72
- name: "Memory File Size",
73
- status: "warn",
74
- message: `${filePath} has ${lineCount} lines (limit: ${maxLines})`,
75
- fix: "Run: mycelium sync (smart compression will reduce it)",
76
- };
77
- }
78
- return {
79
- name: "Memory File Size",
80
- status: "pass",
81
- message: `${filePath} is within limits (${lineCount}/${maxLines} lines)`,
82
- };
83
- }
84
- catch (error) {
85
- return {
86
- name: "Memory File Size",
87
- status: "warn",
88
- message: `Error reading ${filePath}: ${error instanceof Error ? error.message : String(error)}`,
89
- };
90
- }
91
- }
92
- //# sourceMappingURL=memory-check.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-check.js","sourceRoot":"","sources":["../../../src/commands/health-checks/memory-check.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,MAAM,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,cAAc,CAAC,CAAC;IAEhD,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO;YACL,IAAI,EAAE,cAAc;YACpB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,4BAA4B;YACrC,GAAG,E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,EAChB,QAAgB;IAEhB,IAAI,CAAC,CAAC,MAAM,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;QAClC,OAAO;YACL,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,qBAAqB,QAAQ,EAAE;SACzC,CAAC;IACJ,CAAC;IAED,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACrD,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;QAE7C,IAAI,SAAS,GAAG,QAAQ,EAAE,CAAC;YACzB,OAAO;gBACL,IAAI,EAAE,kBAAkB;gBACxB,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,GAAG,QAAQ,QAAQ,SAAS,kBAAkB,QAAQ,GAAG;gBAClE,GAAG,EAAE,uDAAuD;aAC7D,CAAC;QACJ,CAAC;QAED,OAAO;YACL,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,GAAG,QAAQ,sBAAsB,SAAS,IAAI,QAAQ,SAAS;SACzE,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,iBAAiB,QAAQ,KAAK,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;SAChG,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Memory Scoper Module
3
- * Manages memory file syncing across AI tools with privacy scopes
4
- */
5
- import { type ToolId, type MemoryScope } from "@mycelish/core";
6
- export interface MemoryScopeDefinition {
7
- syncTo: ToolId[];
8
- excludeFrom?: ToolId[];
9
- path: string;
10
- }
11
- export interface MemoryFile {
12
- scope: MemoryScope;
13
- filename: string;
14
- path: string;
15
- content?: string;
16
- }
17
- export interface SyncResult {
18
- success: boolean;
19
- filesWritten: number;
20
- error?: string;
21
- }
22
- /**
23
- * Memory scope configuration defining which tools receive which scopes
24
- */
25
- export declare const MEMORY_SCOPE_CONFIG: Record<MemoryScope, MemoryScopeDefinition>;
26
- /**
27
- * Check if a tool should receive a specific memory scope
28
- */
29
- export declare function isToolInScope(tool: ToolId, scope: MemoryScope): boolean;
30
- /**
31
- * Get all memory scopes applicable to a tool
32
- */
33
- export declare function getScopesForTool(tool: ToolId): MemoryScope[];
34
- /**
35
- * Load all memory files from a specific scope directory
36
- */
37
- export declare function loadMemoryFiles(scope: MemoryScope): Promise<MemoryFile[]>;
38
- /**
39
- * Get all memory files applicable to a tool (without content)
40
- */
41
- export declare function getMemoryFilesForTool(tool: ToolId): Promise<MemoryFile[]>;
42
- export declare function syncMemoryToTool(tool: ToolId): Promise<SyncResult>;
43
- //# sourceMappingURL=memory-scoper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-scoper.d.ts","sourceRoot":"","sources":["../../src/core/memory-scoper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,KAAK,MAAM,EACX,KAAK,WAAW,EAMjB,MAAM,gBAAgB,CAAC;AAOxB,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAMD;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,qBAAqB,CAmB1E,CAAC;AAMF;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,OAAO,CAGvE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAQ5D;AAUD;;GAEG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAuB/E;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAwB/E;AAQD,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAyDxE"}
@@ -1,165 +0,0 @@
1
- /**
2
- * Memory Scoper Module
3
- * Manages memory file syncing across AI tools with privacy scopes
4
- */
5
- import * as fs from "node:fs/promises";
6
- import * as path from "node:path";
7
- import { TOOL_REGISTRY, toolsForScope, expandPath, pathExists, ensureDir, } from "@mycelish/core";
8
- import { compressMemory, mergeMemoryFiles } from "./smart-memory.js";
9
- // ============================================================================
10
- // Configuration
11
- // ============================================================================
12
- /**
13
- * Memory scope configuration defining which tools receive which scopes
14
- */
15
- export const MEMORY_SCOPE_CONFIG = {
16
- shared: {
17
- syncTo: toolsForScope("shared").map(t => t.id),
18
- path: "global/memory/shared/",
19
- },
20
- coding: {
21
- syncTo: toolsForScope("coding").map(t => t.id),
22
- excludeFrom: Object.values(TOOL_REGISTRY)
23
- .filter(t => !t.scopes.includes("coding"))
24
- .map(t => t.id),
25
- path: "global/memory/coding/",
26
- },
27
- personal: {
28
- syncTo: toolsForScope("personal").map(t => t.id),
29
- excludeFrom: Object.values(TOOL_REGISTRY)
30
- .filter(t => !t.scopes.includes("personal"))
31
- .map(t => t.id),
32
- path: "global/memory/personal/",
33
- },
34
- };
35
- // ============================================================================
36
- // Functions
37
- // ============================================================================
38
- /**
39
- * Check if a tool should receive a specific memory scope
40
- */
41
- export function isToolInScope(tool, scope) {
42
- const scopeConfig = MEMORY_SCOPE_CONFIG[scope];
43
- return scopeConfig.syncTo.includes(tool);
44
- }
45
- /**
46
- * Get all memory scopes applicable to a tool
47
- */
48
- export function getScopesForTool(tool) {
49
- const scopes = [];
50
- for (const [scope, config] of Object.entries(MEMORY_SCOPE_CONFIG)) {
51
- if (config.syncTo.includes(tool)) {
52
- scopes.push(scope);
53
- }
54
- }
55
- return scopes;
56
- }
57
- /**
58
- * Get the full path to a scope's memory directory
59
- */
60
- function getScopeDirectory(scope) {
61
- const scopeConfig = MEMORY_SCOPE_CONFIG[scope];
62
- return expandPath(`~/.mycelium/${scopeConfig.path}`);
63
- }
64
- /**
65
- * Load all memory files from a specific scope directory
66
- */
67
- export async function loadMemoryFiles(scope) {
68
- const scopeDir = getScopeDirectory(scope);
69
- if (!(await pathExists(scopeDir))) {
70
- return [];
71
- }
72
- const entries = await fs.readdir(scopeDir);
73
- const mdFiles = entries.filter((f) => f.endsWith(".md"));
74
- const files = [];
75
- for (const filename of mdFiles) {
76
- const filePath = path.join(scopeDir, filename);
77
- const content = await fs.readFile(filePath, "utf-8");
78
- files.push({
79
- scope,
80
- filename,
81
- path: filePath,
82
- content,
83
- });
84
- }
85
- return files;
86
- }
87
- /**
88
- * Get all memory files applicable to a tool (without content)
89
- */
90
- export async function getMemoryFilesForTool(tool) {
91
- const scopes = getScopesForTool(tool);
92
- const allFiles = [];
93
- for (const scope of scopes) {
94
- const scopeDir = getScopeDirectory(scope);
95
- if (!(await pathExists(scopeDir))) {
96
- continue;
97
- }
98
- const entries = await fs.readdir(scopeDir);
99
- const mdFiles = entries.filter((f) => f.endsWith(".md"));
100
- for (const filename of mdFiles) {
101
- allFiles.push({
102
- scope,
103
- filename,
104
- path: path.join(scopeDir, filename),
105
- });
106
- }
107
- }
108
- return allFiles;
109
- }
110
- /**
111
- * Sync memory files to a specific tool
112
- * Concatenates all applicable memory files with scope headers
113
- */
114
- import { TOOL_MAX_LINES } from "./fs-helpers.js";
115
- export async function syncMemoryToTool(tool) {
116
- try {
117
- const scopes = getScopesForTool(tool);
118
- const memoryFiles = [];
119
- for (const scope of scopes) {
120
- const files = await loadMemoryFiles(scope);
121
- for (const file of files) {
122
- if (file.content) {
123
- memoryFiles.push({ scope, content: file.content });
124
- }
125
- }
126
- }
127
- // No files to write
128
- if (memoryFiles.length === 0) {
129
- return { success: true, filesWritten: 0 };
130
- }
131
- // Merge and deduplicate across scopes
132
- let content = mergeMemoryFiles(memoryFiles);
133
- // Compress if tool has a max line limit
134
- const maxLines = TOOL_MAX_LINES[tool];
135
- if (maxLines) {
136
- content = compressMemory(content, { maxLines });
137
- }
138
- // Get tool's memory path — use expandPath so mocks work in tests
139
- const desc = TOOL_REGISTRY[tool];
140
- const gm = desc.paths.globalMemory;
141
- const rawMemPath = typeof gm === "string"
142
- ? gm
143
- : gm === null
144
- ? null
145
- : gm[process.platform] ?? gm.linux;
146
- const memoryPath = rawMemPath ? expandPath(rawMemPath) : null;
147
- if (!memoryPath) {
148
- return { success: true, filesWritten: 0 };
149
- }
150
- const memoryDir = path.dirname(memoryPath);
151
- // Ensure target directory exists
152
- await ensureDir(memoryDir);
153
- // Write content
154
- await fs.writeFile(memoryPath, content, "utf-8");
155
- return { success: true, filesWritten: 1 };
156
- }
157
- catch (error) {
158
- return {
159
- success: false,
160
- filesWritten: 0,
161
- error: error instanceof Error ? error.message : String(error),
162
- };
163
- }
164
- }
165
- //# sourceMappingURL=memory-scoper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-scoper.js","sourceRoot":"","sources":["../../src/core/memory-scoper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,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AO,CAAC,QAAQ,CAAC,IAAK,EAAwC,CAAC,KAAK,CAAC;QACrH,MAAM,UAAU,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9D,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;QAC5C,CAAC;QACD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAE3C,iCAAiC;QACjC,MAAM,SAAS,CAAC,SAAS,CAAC,CAAC;QAE3B,gBAAgB;QAChB,MAAM,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAEjD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAC5C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,CAAC;YACf,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;SAC9D,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Tests for memory-scoper module
3
- * TDD: Write tests first, then implement
4
- */
5
- export {};
6
- //# sourceMappingURL=memory-scoper.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-scoper.test.d.ts","sourceRoot":"","sources":["../../src/core/memory-scoper.test.ts"],"names":[],"mappings":"AAAA;;;GAGG"}