fix(ts/index): Use cli.js as the spawned CLI entry point instead of cli.child.js

This commit is contained in:
2025-10-17 06:43:36 +00:00
parent 6b6ecee0ed
commit e76ad2fb58
3 changed files with 13 additions and 6 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-10-17 - 1.6.2 - fix(ts/index)
Use cli.js as the spawned CLI entry point instead of cli.child.js
- Replace references to ../cli.child.js with ../cli.js in ts/index.ts (runInChildProcess and spawnPath) to ensure child processes spawn the correct CLI entry point.
- This change fixes child process spawning failures caused by referencing a non-existent cli.child.js file.
- Add local .claude/settings.local.json (local runner/editor permissions configuration).
## 2025-10-17 - 1.6.1 - fix(plugins)
Export child_process.spawn from plugins and use plugins.spawn in spawnPath to remove direct require and unify process spawning