search: count --all-repos in the empty-query fast-fail guard

main

Commit

alishakawaguchi3mo ago

The non-interactive "query required" guard built its own hasFilters without --all-repos, so entire search --all-repos --json (or piped/accessible) with an empty query errored instead of running a wildcard search. Mirror search.Config.HasFilters here (the guard runs before git/auth, so it can't call searchCfg.HasFilters() directly).

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 34b6a5be974f

Checkpoints

Redesign Search TUI Table with Master-Detail Layout

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1