Client gains a Close() method that closes stdin (giving the subprocess a clean EOF) then kills and reaps the process. Executor.Close() calls Close() on all registered clients. agentEnv now carries the mcpExec so the /agent command can close the outgoing executor before building the new one. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| executor.go | ||