moguiyu/dsh-tavily--packages-dsh-tavily-backend ↗★ 0
@moguiyu/dsh-tavily-backend
Tavily settings backend for the DeepSeek Harness: usage endpoint, flat key-list manager with usage strategies, and the web_search on/off toggle.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 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= |
GET/POST /api/tavily-toggle | Persisted on/off for the web provider; POST flips the live provider |
State lives in ~/.dsh/tavily-manager.json and ~/.dsh/tavily-toggle.json (mode 600, no
secrets). 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.