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> |
||
|---|---|---|
| .. | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||