Replace existsSync collision loop with atomic O_CREAT|O_EXCL file creation, hoist regex to module-level constant, and memoize getPackageDir() to avoid repeated directory walks. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| resources/extensions/memory | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||