Skip to content

Releases: moguiyu/dsh-tavily

v0.1.11 — rc.7 plugin management + code simplification

Choose a tag to compare

@moguiyu moguiyu released this 18 Aug 15:25

Highlights

  • rc.7 plugin management — the Tavily Search card now appears under Settings → Plugins → plugin configuration, keyed by the tavily-search settings namespace the Host registers. It is served exactly when the plugin row is composed.
  • web_search is never replaced — the card switch controls only the opt-in advanced tavily_search tool. No web-search provider is registered and web.searchProvider is never rewritten; the built-in DeepSeek web_search keeps its native provider and schema.
  • Single source of truth@moguiyu/dsh-tavily now composes the two standalone packages instead of carrying duplicate copies: the tool from @moguiyu/dsh-tool-tavily-search, the backend from @moguiyu/dsh-tavily-backend (~1,200 duplicated lines removed, src/index.js 696 → 110 lines).

Packages

Package Role
@moguiyu/dsh-tavily Recommended: tavily_search tool + settings card + backend + tavily-search namespace
@moguiyu/dsh-tavily-backend Standalone settings backend (key manager, usage, tool switch)
@moguiyu/dsh-tool-tavily-search Standalone advanced tavily_search tool (headless, no UI)

All three are published in dependency order (backend and tool first, then the combined package).

Install

dsh plugin --profile web add github:moguiyu/dsh-tavily

Then refresh the browser and open Settings → Plugins → plugin configuration → Tavily Search: add TAVILY_API_KEYS, pick a usage strategy (rotate / low-usage-first / high-usage-first), watch the usage gauge, and toggle the advanced tavily_search tool — off by default.

Full changelog

  • Adapt to DSH 0.1.0-rc.7 plugin management: keyed settings.plugin.item card, tavily-search settings namespace, settings-update-first switch pipeline with row restart.
  • Make tavily_search opt-in and off by default; the switch persists in the settings namespace and ~/.dsh/tavily-tool.json (legacy tavily-toggle.json still migrates).
  • Headless standalone tool package: the client bundle, build script and src/client.js were removed; the card lives only in the combined package.
  • Simplify code: dedup the combined package against the standalone tool/backend packages (shared installTavilyTool / installBackend, ./lib subpath; the duplicate resolveEnabled alias and lib.js removed).
  • Version bump to 0.1.11 for all three packages — 0.1.10 on npm is the pre-rc.7 release.