├── .claude-plugin └── marketplace.json ├── .editorconfig ├── .gitignore ├── .rust-analyzer.toml ├── .smignore.example ├── .vscode └── settings.json ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── assets └── logo.png ├── examples ├── format_chunk_text_demo.rs └── format_demo.rs ├── plugins └── smgrep │ ├── .claude-plugin │ └── plugin.json │ ├── .mcp.json │ ├── hooks.json │ └── skills │ └── smgrep │ └── SKILL.md ├── rust-toolchain.toml ├── rustfmt.toml ├── src ├── chunker │ ├── anchor.rs │ └── mod.rs ├── cmd │ ├── claude_install.rs │ ├── clean.rs │ ├── daemon.rs │ ├── doctor.rs │ ├── index.rs │ ├── list.rs │ ├── mcp.rs │ ├── mod.rs │ ├── search.rs │ ├── serve.rs │ ├── setup.rs │ ├── status.rs │ ├── stop.rs │ └── stop_all.rs ├── config.rs ├── embed │ ├── candle.rs │ ├── mod.rs │ └── worker.rs ├── error.rs ├── file │ ├── discovery.rs │ ├── ignore.rs │ ├── mod.rs │ └── watcher.rs ├── format │ ├── json.rs │ ├── mod.rs │ └── text.rs ├── git.rs ├── grammar │ └── mod.rs ├── index_lock.rs ├── ipc.rs ├── lib.rs ├── main.rs ├── meta.rs ├── search │ ├── colbert.rs │ ├── mod.rs │ └── ranking.rs ├── serde_arc_pathbuf.rs ├── sstr.rs ├── store │ ├── lance.rs │ └── mod.rs ├── sync.rs ├── types.rs ├── usock │ ├── mod.rs │ ├── tcp.rs │ └── unix.rs ├── util.rs └── version.rs └── tests ├── chunker_test.rs └── format_chunk_text_test.rs /.claude-plugin/marketplace.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/.claude-plugin/marketplace.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/.gitignore -------------------------------------------------------------------------------- /.rust-analyzer.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/.rust-analyzer.toml -------------------------------------------------------------------------------- /.smignore.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/.smignore.example -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/assets/logo.png -------------------------------------------------------------------------------- /examples/format_chunk_text_demo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/examples/format_chunk_text_demo.rs -------------------------------------------------------------------------------- /examples/format_demo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/examples/format_demo.rs -------------------------------------------------------------------------------- /plugins/smgrep/.claude-plugin/plugin.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/plugins/smgrep/.claude-plugin/plugin.json -------------------------------------------------------------------------------- /plugins/smgrep/.mcp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/plugins/smgrep/.mcp.json -------------------------------------------------------------------------------- /plugins/smgrep/hooks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/plugins/smgrep/hooks.json -------------------------------------------------------------------------------- /plugins/smgrep/skills/smgrep/SKILL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/plugins/smgrep/skills/smgrep/SKILL.md -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /src/chunker/anchor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/chunker/anchor.rs -------------------------------------------------------------------------------- /src/chunker/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/chunker/mod.rs -------------------------------------------------------------------------------- /src/cmd/claude_install.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/claude_install.rs -------------------------------------------------------------------------------- /src/cmd/clean.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/clean.rs -------------------------------------------------------------------------------- /src/cmd/daemon.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/daemon.rs -------------------------------------------------------------------------------- /src/cmd/doctor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/doctor.rs -------------------------------------------------------------------------------- /src/cmd/index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/index.rs -------------------------------------------------------------------------------- /src/cmd/list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/list.rs -------------------------------------------------------------------------------- /src/cmd/mcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/mcp.rs -------------------------------------------------------------------------------- /src/cmd/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/mod.rs -------------------------------------------------------------------------------- /src/cmd/search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/search.rs -------------------------------------------------------------------------------- /src/cmd/serve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/serve.rs -------------------------------------------------------------------------------- /src/cmd/setup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/setup.rs -------------------------------------------------------------------------------- /src/cmd/status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/status.rs -------------------------------------------------------------------------------- /src/cmd/stop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/stop.rs -------------------------------------------------------------------------------- /src/cmd/stop_all.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/cmd/stop_all.rs -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/embed/candle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/embed/candle.rs -------------------------------------------------------------------------------- /src/embed/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/embed/mod.rs -------------------------------------------------------------------------------- /src/embed/worker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/embed/worker.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/file/discovery.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/file/discovery.rs -------------------------------------------------------------------------------- /src/file/ignore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/file/ignore.rs -------------------------------------------------------------------------------- /src/file/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/file/mod.rs -------------------------------------------------------------------------------- /src/file/watcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/file/watcher.rs -------------------------------------------------------------------------------- /src/format/json.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/format/json.rs -------------------------------------------------------------------------------- /src/format/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/format/mod.rs -------------------------------------------------------------------------------- /src/format/text.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/format/text.rs -------------------------------------------------------------------------------- /src/git.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/git.rs -------------------------------------------------------------------------------- /src/grammar/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/grammar/mod.rs -------------------------------------------------------------------------------- /src/index_lock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/index_lock.rs -------------------------------------------------------------------------------- /src/ipc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/ipc.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/meta.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/meta.rs -------------------------------------------------------------------------------- /src/search/colbert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/search/colbert.rs -------------------------------------------------------------------------------- /src/search/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/search/mod.rs -------------------------------------------------------------------------------- /src/search/ranking.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/search/ranking.rs -------------------------------------------------------------------------------- /src/serde_arc_pathbuf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/serde_arc_pathbuf.rs -------------------------------------------------------------------------------- /src/sstr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/sstr.rs -------------------------------------------------------------------------------- /src/store/lance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/store/lance.rs -------------------------------------------------------------------------------- /src/store/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/store/mod.rs -------------------------------------------------------------------------------- /src/sync.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/sync.rs -------------------------------------------------------------------------------- /src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/types.rs -------------------------------------------------------------------------------- /src/usock/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/usock/mod.rs -------------------------------------------------------------------------------- /src/usock/tcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/usock/tcp.rs -------------------------------------------------------------------------------- /src/usock/unix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/usock/unix.rs -------------------------------------------------------------------------------- /src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/util.rs -------------------------------------------------------------------------------- /src/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/src/version.rs -------------------------------------------------------------------------------- /tests/chunker_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/tests/chunker_test.rs -------------------------------------------------------------------------------- /tests/format_chunk_text_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/can1357/smgrep/HEAD/tests/format_chunk_text_test.rs --------------------------------------------------------------------------------