Bump the ACPX-owned Claude ACP adapter package range to `^0.31.0` so fresh built-in launches pick up Opus 4.7 support and later ACP compatibility fixes.
Also adds Claude built-in docs, fixes the stale docs package name, locks the range in tests, and hardens temp-home cleanup for a reproduced macOS `ENOTEMPTY` race in the CLI test suite.
Supersedes #253.
* fix: use kiro-cli-chat directly to prevent orphan child processes
kiro-cli is a wrapper that forks kiro-cli-chat as the actual ACP
server process. When acpx sends SIGTERM to kiro-cli on session close,
only the wrapper is killed while kiro-cli-chat continues running as
an orphan process. These orphaned processes accumulate over time and
cause port/resource conflicts that result in ACP_TURN_FAILED errors
on subsequent messages in persistent sessions.
Fix: point the built-in kiro agent directly at kiro-cli-chat acp,
bypassing the wrapper entirely. This ensures clean process lifecycle
without needing process group kill logic.
Related: #42 (proposed process group cleanup approach — this commit
provides a simpler fix by avoiding the wrapper altogether)
* test: cover built-in kiro command (#129)
---------
Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com>
* feat: add Factory Droid as built-in agent
Register droid via droid-acp adapter at position 8 (after copilot).
Also fixes missing cursor entry in skills/acpx/SKILL.md.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: switch droid to native ACP command
Use official `droid exec --output-format acp` instead of community
droid-acp adapter. Factory's native command is the supported path.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: fix acpx skill built-in order
* test: lock full built-in agent order
* test: cover droid built-in resolution
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
* fix: use --acp flag for Gemini CLI instead of deprecated --experimental-acp
Gemini CLI 0.33+ supports --acp as the standard flag and has deprecated
--experimental-acp. Update the agent registry to use the current flag.
See: gemini --help ('--experimental-acp ... deprecated, use --acp instead')
* fix: update all --experimental-acp references to --acp
- src/agent-registry.ts: already updated in previous commit
- src/client.ts: isGeminiAcpCommand now accepts both --acp and
--experimental-acp for backward compat with user config overrides
- test/integration.test.ts: use --acp in test fixture
- README.md, agents/README.md, agents/Gemini.md, skills/acpx/SKILL.md:
update documentation references
- CHANGELOG.md: add entry under Unreleased/Fixes
* fix: gate gemini ACP flag by CLI version
* test: cover Gemini CLI ACP flag compatibility
* docs: clarify Gemini CLI ACP flag compatibility
---------
Co-authored-by: Mike Chong <real.mike.chong@gmail.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>