Owen718/snapgrep

Owen718★ 8TypeScript最后同步: 2026-08-15

在 GitHub 打开

An in-process trigram index that makes code search in Pi&DSH 20-70x faster than ripgrep, with identical results and no sidecar process.

README 摘要

snapgrep An in-process trigram index that makes code search in Pi Typically 40–70× faster than ripgrep on a warm index — and every result is checked against ripgrep, byte for byte. No sidecar process. No daemon. A single 3.2 MB native addon loaded inside the agent process. Install Pi Pi's built-in grep is replaced automatically, in every project. To confirm, ask Pi to search for a string you know exists — the tool detail shows actualBackend: kernel . oh-my-pi (omp) Same package, no changes: omp treats @earendil-works/pi-coding-agent as an aliased scope and its loader accepts .pi directories alongside .omp . DeepSeek Harness (dsh) Verify with dsh --profile headless --dump-config grep snapgrep . It replaces both grep and glob : the registry rejects a duplicate tool name outright, so the built-in search row is disabled and this plugin supplies both. glob runs the same ripgrep invocation the built-in used. Only the addon your machine can run is downloaded — about 1.2 MB, two packages. Nothing is compiled and no daemon is started. Prebuilt for macOS (Apple Silicon and Intel), Linux (x64 and arm64, glibc), and Windows x64. Alpine/musl is not built yet; on an unsupported platform the exte…

在 GitHub 查看完整 README →
搜索ai-coding-agentcode-searchcoding-agentdeepseek-harnessdeveloper-toolsdshdsh-plugingrep

分类