Slothtron/dsh-fff

Slothtron★ 0JavaScriptLast synced: 2026-08-17

Open on GitHub

README excerpt

dsh-fff FFF (Fast File Finder) tools for DeepSeek Harness. Registers fffind (fuzzy file-path search / glob) and ffgrep (content grep) as model tools, backed by a resident @ff-labs/fff-node index whose root follows the current session workspace . Install This links the bundle into the profile's node modules , appends it to dsh.profile.bundles , and inserts the fff-tools plugin row. Remove with dsh plugin --profile remove dsh-fff . The bundle declares @ff-labs/fff-node as a dependency, so pnpm installs the platform native binary ( @ff-labs/fff-bin- ) alongside. How it works The native fff SDK cannot load inside the harness process, so the plugin spawns a resident helper ( lib/fff-server.mjs ) that owns one FileFinder hot index and answers line-delimited JSON on stdio — the same spawn-a-native-binary pattern as @deepseek-ai/dsh-tool-fs-search . Each tool call resolves the calling session's workspace from exec.agent.session.header.cwd . When it differs from the helper's current index root, the plugin asks the helper to reindex (and waits for the new scan, 50–100 ms) before querying. This is what the MCP-injected fff-mcp could not do: its index root was fixed by the process cwd's git-ro…

View full README on GitHub →
Tools / Devdshdsh-plugindsh-pluginssearch

Category