memtrace-skills 1.1.7 → 1.1.8

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.
@@ -89,6 +89,14 @@ export function registerVsCodeMcpAt(filePath, binary) {
89
89
  type: 'stdio',
90
90
  command: binary,
91
91
  args: ['mcp'],
92
+ // MEMBIZ-50 D2: `cwd` is the ONE anchor that drives both store
93
+ // resolution and repository discovery in `memtrace mcp`. Without it a
94
+ // user-scope entry spawns the server in the editor's own working
95
+ // directory (often the user profile), where it resolves a stale
96
+ // user-level `.memdb` instead of the project's — every project then
97
+ // shares one wrong, empty store. VS Code substitutes the variable per
98
+ // window, so one global entry serves every project correctly.
99
+ cwd: '${workspaceFolder}',
92
100
  env: MEMTRACE_MCP_ENV,
93
101
  };
94
102
  writeJsonAtomic(filePath, cfg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memtrace-skills",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Memtrace skills for AI coding agents — codebase exploration, temporal evolution, impact analysis, and more.",
5
5
  "type": "module",
6
6
  "bin": {