dsh-tavily-backend
Verified@moguiyu/dsh-tavily-backend Β· v0.1.11 Β· MIT
Tavily settings backend for DeepSeek Harness: usage endpoint, flat key-list manager, and the opt-in advanced tavily_search tool switch.
Install
dsh plugin add @moguiyu/dsh-tavily-backend Confirm the layer applied with dsh --profile default --dump-config β see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
Readme
@moguiyu/dsh-tavily-backend
Local HTTP backend for the Tavily Search settings card. One composition row registers
three routes on the harness webServer:
| Route | Purpose |
|---|---|
GET /api/tavily-usage |
Per-key Tavily /usage data + totals (no secrets) |
GET/POST /api/tavily-manager |
Flat key list (masked values, saved dates), strategy-ordered writes, ?reveal=<masked> |
GET/POST /api/tavily-tool |
Persisted opt-in switch for the advanced tavily_search tool; POST hot-restarts the tool row |
/api/tavily-toggle remains as a compatibility alias for /api/tavily-tool.
State lives in ~/.dsh/tavily-manager.json and ~/.dsh/tavily-tool.json (mode 600, no
secrets). The backend registers no web search provider and never writes
web.searchProvider β the built-in web_search tool is never replaced; Tavily stays an
opt-in extra search option.
Pure helpers (maskValue, parseKeyList, orderKeys, β¦) are exported from
src/lib.js and unit-tested with node --test.
See the workspace README for install and configuration.