ai-devkit icon indicating copy to clipboard operation
ai-devkit copied to clipboard

Duplicated Gemini CLI entry in agents.json when running agent start --type gemini_cli

Open codeaholicguy opened this issue 5 months ago • 1 comments

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

codeaholicguy avatar Jun 13 '26 18:06 codeaholicguy

Fixed https://github.com/codeaholicguy/ai-devkit/commit/8a943ff133c86a529e581583c2151a238163f913

codeaholicguy avatar Jun 13 '26 20:06 codeaholicguy