plugins/file/commands/search architecture

Implements the file search command for workspace content search, defining its CLI contract, executing ripgrep with path/extension/regex filtering and limit/truncation handling, and adapting results for CLI text and web UI.

Architectural role

Read-only content search through handleFile with shared workspace validation and ignore filtering. Child renderers own grouped results, breadcrumbs, and timeline integration.

Source map

Integration details