@exero1/claudecontext 0.1.9 → 0.1.10

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.
@@ -19,7 +19,7 @@ function findCli() {
19
19
  const colocated = join(__dirname, '..', 'dist', 'src', 'cli.js');
20
20
  if (existsSync(colocated)) return { bin: process.execPath, prependArgs: [colocated] };
21
21
  const local = join(projectRoot, 'node_modules', '.bin', 'claudecontext-cli');
22
- if (existsSync(local)) return { bin: local, prependArgs: [] };
22
+ if (existsSync(local)) return { bin: process.execPath, prependArgs: [local] };
23
23
  return { bin: 'claudecontext-cli', prependArgs: [] };
24
24
  }
25
25
 
@@ -22,7 +22,7 @@ function findCli() {
22
22
  const colocated = join(__dirname, '..', 'dist', 'src', 'cli.js');
23
23
  if (existsSync(colocated)) return { bin: process.execPath, prependArgs: [colocated] };
24
24
  const local = join(projectRoot, 'node_modules', '.bin', 'claudecontext-cli');
25
- if (existsSync(local)) return { bin: local, prependArgs: [] };
25
+ if (existsSync(local)) return { bin: process.execPath, prependArgs: [local] };
26
26
  return { bin: 'claudecontext-cli', prependArgs: [] };
27
27
  }
28
28
 
@@ -18,7 +18,7 @@ function findCli() {
18
18
  const colocated = join(__dirname, '..', 'dist', 'src', 'cli.js');
19
19
  if (existsSync(colocated)) return { bin: process.execPath, prependArgs: [colocated] };
20
20
  const local = join(projectRoot, 'node_modules', '.bin', 'claudecontext-cli');
21
- if (existsSync(local)) return { bin: local, prependArgs: [] };
21
+ if (existsSync(local)) return { bin: process.execPath, prependArgs: [local] };
22
22
  return { bin: 'claudecontext-cli', prependArgs: [] };
23
23
  }
24
24
 
@@ -37,7 +37,7 @@ function findCli() {
37
37
  if (existsSync(colocated)) return { bin: process.execPath, prependArgs: [colocated] };
38
38
  // 2. Local project install
39
39
  const local = join(projectRoot, 'node_modules', '.bin', 'claudecontext-cli');
40
- if (existsSync(local)) return { bin: local, prependArgs: [] };
40
+ if (existsSync(local)) return { bin: process.execPath, prependArgs: [local] };
41
41
  // 3. Last resort: hope it's in PATH
42
42
  return { bin: 'claudecontext-cli', prependArgs: [] };
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exero1/claudecontext",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Persistent memory system for Claude Code — hierarchical cache levels + association graph",
5
5
  "type": "module",
6
6
  "engines": {