dsh-tool-everything: Full-disk File Name Search via Everything for DSH Agent

Preface

Common approaches for enabling agents to locate local files by name on Windows include Shell recursive searches, PowerShell’s Get-ChildItem, or relying on peripheral interfaces like Everything’s HTTP service or es.exe. With deep paths and multiple drive letters, the former is often slow and hard to control; the latter requires enabling extra services or modifying Everything’s configuration.

Below we introduce the community plugin dsh-tool-everything (maintainer Luoning77). It registers the everything_search tool within DeepSeek Harness (DSH) to perform millisecond-level file name searches on NTFS via Everything’s index. The README states that no Everything HTTP server needs to be enabled, no es.exe is required, and no Everything settings need to be changed—as long as Everything is running.

What is this

dsh-tool-everything is a Cordis plugin for DSH, categorized as a local index search within network tool capabilities (the implementation relies on Windows and Everything rather than remote APIs). The plugin exposes everything_search to the Agent: the caller passes in Everything query syntax, and it returns structured results such as path, file size, and whether it is a folder. The UI can render search cards.

The technical path involves using koffi for FFI within the plugin to directly connect to the bundled Everything64.dll, communicating with the running Everything.exe via the Everything SDK’s IPC. koffi is bundled with DSH, and the plugin declares zero npm runtime dependencies. The version in the current materials is 0.2.1, licensed under MIT. GitHub Repository: Luoning77/dsh-tool-everything; Community Directory Page: skillhub.cn plugin entry.

Core Features

The capabilities verifiable in the materials are as follows:

  1. Ultra-fast Search: No HTTP involved; direct SDK + IPC, designed for “full-disk search by name” scenarios.
  2. Complete Everything Syntax: Supports wildcards (e.g., *.pdf), path:, ext:, size:, regex:, | (OR), ! (NOT), etc. (subject to Everything’s official syntax).
  3. Structured Output: Path, size, and directory flags, facilitating Agent and frontend display.
  4. Zero Extra System Components: Bundled Everything64.dll (from Everything SDK 1.5); generally no need to install the SDK separately.
  5. Native DSH Integration: Cordis plugin supporting HMR (Hot Module Replacement); no DSH restart required.

The Agent-side invocation form in the README’s technical illustration is: everything_search("npm", max=10) (specific parameters are subject to the plugin schema).

Environment & Prerequisites

The following must be met before use:

  • Windows system;
  • Everything is running;
  • DeepSeek Harness version between 0.1.0-rc.6 ~ 0.2.x (materials explicitly include 0.2.1-rc.2).

Installation & Activation

The installation command provided in the official README is as follows (note that the repository identifier differs from Luoning77’s homepage; refer to the README original text for accuracy):

dsh plugin --profile web add "github:roxyyn0304/dsh-tool-everything"

After installation is complete:

  1. Perform a Hard Refresh (Ctrl+Shift+R) on the DSH browser page;
  2. Start a new session to use everything_search.

Version Note: Please install 0.2.1 or above. The peerDependencies for 0.2.0 only declare ^0.1.0-rc.6, which may trigger an incompatible-version rejection under DSH 0.2.x; starting from 0.2.1, the compatibility range is declared via engines.dsh: ">=0.1.0-rc.6 <0.3.0-0".

When upgrading from an older version, re-executing the same add command will overwrite it; if you wrote a compatibility.json exemption for 0.2.0 in your profile, it can be deleted after upgrading.

Configuration

Adjustable in the plugin configuration (fields from README):

Field Default Description
maxResults 100 Maximum number of results returned per call
timeoutMs 30000 Tool timeout budget (milliseconds)
everythingDllPath Package native/ Custom path for Everything64.dll; generally no need to change

Error Codes

Refer to these when troubleshooting:

code Meaning
EVERYTHING_SDK_LOAD_FAILED Everything64.dll not found or failed to load
EVERYTHING_NOT_RUNNING Everything is not running
SEARCH_ABORTED Tool terminated due to timeout or user cancellation

Typical Usage Strategy

  1. Confirm that Everything has been started in the system tray or Task Manager, and that the target drive letter has been indexed by Everything.
  2. In a new DSH session, use natural language to ask the Agent to find files by name, e.g., “Find recently modified zips in the code directory on drive C”; the Agent should convert the intent into an Everything query (e.g., combining path:, ext:zip).
  3. When results are too numerous, rely on maxResults and more precise queries to narrow the scope; pay attention to timeoutMs during long scans.

The README does not provide standalone REST examples; the capability boundary is file name index search, not full-text retrieval or macOS/Linux file systems.

Applicable Scenarios & Notes

Suitable for: Allowing the Agent to quickly list matching file paths in a Windows + DSH development or office environment, and then performing subsequent operations combined with DSH’s other read/write tools.

Important Notes:

  • The plugin runs under the same process privileges as DSH; the paths searchable are within the visibility range of the current user. Read the source code and MIT license before installation to independently assess whether to include it in your workflow.
  • Windows only; if Everything is not running, EVERYTHING_NOT_RUNNING will be returned.
  • The community directory (e.g., skillhub.cn) is an independent site with no official affiliation with DeepSeek / High-Flyer; refer to the plugin README for installation commands.

Conclusion

dsh-tool-everything hands Everything’s indexing capabilities to the Agent in the form of a native DSH tool: zero HTTP, zero es.exe configuration, and direct SDK connection via FFI. If you are already using DSH 0.2.x and have Everything running persistently on Windows, you can install it according to the README and try everything_search in a new session.

  • Directory Page: https://www.skillhub.cn/plugins/Luoning77/dsh-tool-everything
  • GitHub: https://github.com/Luoning77/dsh-tool-everything
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye