@deepseek-ai/dsh-web 0.1.3-alpha.2 → 0.1.5-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/web/web/README.md
5
- README.md: 331c5488ee13b1006314153046c42abb89c584e5
6
- README.zh.md: f4c25a047f66fce6ddca92c587a7dd03a0c26b07
5
+ README.md: 157c6d9e3a33b58b982e7c513b5e89af3878fa6d
6
+ README.zh.md: c30ca3cfe065e26460994678bbe1073ab41a8d7b
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- Any plugin or tool can search the web or fetch a URL through `dsh-web` (`ctx.web`) without binding to any vendor's API. Search and fetch providers plug in as backends, and the service picks one usable provider per operation, so callers never track which vendor runs behind a call. Choose it when building web tooling or another backend; the shipped model-facing tools (`dsh-tool-web`) mount it automatically. The service itself makes no network calls and registers no model-facing tool: a provider must be mounted before search or fetch can run. Search and fetch share one selection policy, one cancellation and error vocabulary, and one configuration surface, so "how this harness reaches the web" has a single owner.
12
+ Use `dsh-web` to search the web or fetch a URL without tying callers to a specific vendor. It selects a usable backend for each operation and gives callers consistent cancellation, errors, and result limits. Choose it for plugins or tools that call `ctx.web.search()` or `ctx.web.fetch()`; the shipped `dsh-tool-web` tools load it for you. A search or fetch requires a configured, usable provider because this package does not make network requests on its own.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- 任何插件或工具都可以通过 `dsh-web`(`ctx.web`)搜索 web 或抓取 URL,而无需绑定任何厂商的 API。搜索与抓取提供方以后端形式接入,服务按操作挑选一个可用的提供方,调用方无需追踪每次调用背后是哪家厂商。在构建 web 工具或其他后端时选择它;已交付的面向模型工具(`dsh-tool-web`)会自动挂载它。服务本身不发起网络调用、不注册面向模型的工具:搜索或抓取执行前必须已挂载提供方。搜索与抓取共用同一套选择策略、取消与错误词汇以及配置接口,因此「这个 harness 如何访问 web」只有一个归属方。
12
+ 使用 `dsh-web` 搜索 web 或抓取 URL,而无需让调用方依赖特定厂商。它为每项操作选择可用后端,并为调用方提供一致的取消、错误和结果上限。在调用 `ctx.web.search()` 或 `ctx.web.fetch()` 的插件或工具中选择它;已交付的 `dsh-tool-web` 工具会为你加载它。搜索或抓取需要已配置且可用的提供方,因为本包自身不发起网络请求。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-web",
3
3
  "description": "Abstract web access capability seam (ctx.web) for the DeepSeek Harness — search/fetch provider registry, registration-order-independent selection, request/result vocabulary, and the WebError taxonomy",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,14 +27,14 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
30
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
31
31
  "@deepseek-ai/cordis": "^4.0.2"
32
32
  },
33
33
  "dependencies": {
34
34
  "@deepseek-ai/schemastery": "^3.18.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
37
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
38
38
  "@deepseek-ai/cordis": "^4.0.2"
39
39
  }
40
40
  }