Skip to content

v0.1.4 — Restore Web Fetch Across DSH Preview Versions

Latest

Choose a tag to compare

@anysearch-ai anysearch-ai released this 25 Aug 04:48
· 1 commit to main since this release
426be7c

v0.1.4 — Restore Web Fetch Across DSH Preview Versions

🩹 What's fixed?

v0.1.4 fixes native web_fetch being unavailable even when AnySearch is correctly selected as the fetch provider.

In supported DSH preview versions, the Host-level tool-web entry may be disabled while Agent presets manage their own scoped tools. The previous profile patch only set fetch: true on the Host entry, which did not reliably make web_fetch available to models.

🧰 What changed?

  • Register Harness's official native web_fetch implementation at plugin runtime.
  • Register it only when no global web_fetch already exists.
  • Preserve existing native definitions instead of replacing or removing them.
  • Allow an Agent preset's scoped web_fetch to keep precedence.
  • Continue routing fetch requests through the AnySearch Fetch Provider and /v1/extract.
  • Remove the ineffective Host-level tool-web.fetch: true profile patch.
  • Add the DSH Web Tool and System Prompt packages as explicit peer dependencies.
  • Declare the exact DSH preview version ranges validated by this release.
  • Preserve existing search, credentials, cancellation, timeout, response validation, and safe error behavior.

No configuration changes are required. Users do not need to add tool-web.fetch: true manually.

🪜 Upgrade

Update the plugin in the web profile:

npx -y @deepseek-ai/dsh plugin --profile web update @anysearch/anysearch-dsh

New installations continue to use:

npx -y @deepseek-ai/dsh plugin --profile web add @anysearch/anysearch-dsh

Restart DeepSeek Harness with the same profile after updating.


🩹 本次修复

v0.1.4 修复 AnySearch 已被正确选为抓取 Provider,但模型仍然看不到原生 web_fetch 的问题。

在当前支持的 DSH 预览版中,Host 层的 tool-web 可能处于禁用状态,而 Agent preset 会单独管理自己的作用域工具。旧版插件只在 profile 配置中为 Host 层设置 fetch: true,因此不能保证模型实际获得 web_fetch

🧰 改动内容

  • 插件启动时注册 Harness 官方的原生 web_fetch 实现。
  • 仅在全局不存在 web_fetch 时注册,避免重复工具。
  • 如果已有原生定义,插件不会覆盖,也不会在卸载时误删。
  • Agent preset 中的同名作用域工具仍然优先。
  • 抓取请求继续通过 AnySearch Fetch Provider 和 /v1/extract 执行。
  • 删除无效的 Host 层 tool-web.fetch: true profile patch。
  • 将 DSH Web Tool 和 System Prompt 包声明为明确的 peer dependency。
  • 明确声明本版本已经验证的 DSH 预览版范围。
  • 保持原有搜索、凭据、取消、超时、响应校验和安全错误处理行为。

本次升级无需修改配置,也不需要手工添加 tool-web.fetch: true

🪜 升级

更新 web profile 中的插件:

npx -y @deepseek-ai/dsh plugin --profile web update @anysearch/anysearch-dsh

全新安装仍使用:

npx -y @deepseek-ai/dsh plugin --profile web add @anysearch/anysearch-dsh

更新后,请使用相同 profile 重启 DeepSeek Harness。