Skip to content

sweep

Combine path suggestions, text search, and listing into one result set.

Updated View as Markdown

Usage

machine-memory sweep --files "src/a.ts,src/b.ts" (--local|--remote) --json-min
machine-memory sweep --files "src/a.ts" --query "backend" (--local|--remote)

sweep requires exactly one of --files or --files-json. It runs the suggest path analysis, optionally runs a --query, also scores filtered listing results, merges duplicate IDs, and returns the combined ranking. Each result records whether it came from suggestions, full-text query, or listing.

Use --tags and --limit to narrow the sweep. --explain-score exposes ranking weights, while --brief, --json-min, and --quiet keep the output small.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close