You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: optimize SubagentLocator to avoid wasteful file I/O
- hasSubagents(): Remove redundant readFile after stat size check;
stat.size > 0 is sufficient to confirm non-empty files
- hasSubagentsSync(): Same optimization using statSync instead of
reading entire file contents
- subagentBelongsToSession(): Use createReadStream + readline to
stream only the first line instead of reading entire file via
readFile, then close the stream immediately
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments