ai-devkit
ai-devkit copied to clipboard
Duplicated Gemini CLI entry in agents.json when running agent start --type gemini_cli
How to reproduce:
ai-devkit agent start --type gemini_cli --name repro-gemini --cwd /path/to/project ps -axo pid=,ppid=,tty=,stat=,command= | rg gemini ai-devkit agent list jq '.entries[] | select(.type=="gemini_cli")' ~/.ai-devkit/agents.json
Expected reproduction signal: agent start reports/registers the wrapper PID, ps shows a child Gemini PID shortly after, then agent list adds the child PID as a second registry entry.
Expect only the actual gemini_cli process exists in agents.json
Fixed https://github.com/codeaholicguy/ai-devkit/commit/8a943ff133c86a529e581583c2151a238163f913