mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 15:19:16 +00:00
Move agent dedup/consolidation from a useEffect (that depended on externalAgents while also setting it) into resolveAgentPath, using setExternalAgents(prev => ...) callback form. Use a ref for defaultAgentId to avoid dependency cycles and keep it in sync across concurrent codex+claude resolves. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>