@rayfalling/dsh-tool-visibility: Controlling Tool Injection in the DeepSeek Harness Model Context
`@rayfalling/dsh-tool-visibility` is a static plugin for DeepSeek Harness (DSH), designed to address context overflow caused by limited model context length and an excessive number of tools. It allows developers to statically control which tool schemas are injected into the context through a browser settings page or a command-line tool. Core features include filtering by name prefix, searching, and batch operations; leveraging DSH's native `tools.restrict` mechanism to filter tools; and persistently saving hidden states. Before model invocation, the plugin removes unauthorized tools by assembling the system prompt, thereby optimizing context space and preventing context overflow. After installation, developers can easily manage tool visibility, making it suitable for tool-only scenarios.
Read More