@aabadin/project-memory-context 0.2.14 → 0.2.16

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.
@@ -33,7 +33,7 @@ function killPortProcess(port) {
33
33
  const pids = new Set();
34
34
  for (const line of output.trim().split('\n')) {
35
35
  const match = line.trim().match(/\s+(\d+)$/);
36
- if (match) pids.add(match[1]);
36
+ if (match && match[1] !== '0') pids.add(match[1]);
37
37
  }
38
38
  for (const pid of pids) {
39
39
  try {
@@ -14,7 +14,7 @@ import { createLocalModelProvider } from '../src/providers/local-model-provider.
14
14
  import { appendSyncEntry, createSyncEntry } from '../src/sync-manifest.mjs';
15
15
 
16
16
  const __dirname = dirname(fileURLToPath(import.meta.url));
17
- const PROJECT_ROOT = resolve(__dirname, '..', '..', '..');
17
+ const PROJECT_ROOT = process.cwd();
18
18
 
19
19
  export function parseQueueConcurrency(rawValue) {
20
20
  const parsed = parseInt(rawValue || '8', 10);
@@ -615,7 +615,7 @@ export async function maybeLaunchRetryErrors({
615
615
  return { launched: false, reason: 'already-running', retryState };
616
616
  }
617
617
 
618
- const scriptPath = resolve(PROJECT_ROOT, 'tools/project-memory-context/cli/retry-errors.mjs');
618
+ const scriptPath = resolve(__dirname, 'retry-errors.mjs');
619
619
  const stdoutPath = resolve(enrichmentDir, 'retry-stdout.log');
620
620
  const stderrPath = resolve(enrichmentDir, 'retry-stderr.log');
621
621
  const startedAt = new Date().toISOString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aabadin/project-memory-context",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "Portable project memory context CLI — bootstraps semantic enrichment workflows for any AI coding agent.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "type": "module",