@deepseek-ai/dsh-web 0.2.3-alpha.2 → 0.2.3-alpha.3

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
@@ -36,8 +36,8 @@
36
36
  en: cf0c7f95d944be5a
37
37
  zh: 1a2b3796acec7c29
38
38
  /deepseek-ai-dsh-web/use-this-package/search-and-fetch-readiness:
39
- en: f843292cd4c207cf
40
- zh: 18371ec971492f46
39
+ en: 8e1a357f020508a4
40
+ zh: 81a3ffbf3a237c71
41
41
  /deepseek-ai-dsh-web/use-this-package/failures-and-recovery:
42
42
  en: d8d09ed3839f6474
43
43
  zh: 7164d902f333592a
package/README.md CHANGED
@@ -114,7 +114,7 @@ A search or fetch backend outside the shipped composition is a plugin package th
114
114
  <a id="search-readiness"></a>
115
115
  ### Search and fetch readiness
116
116
 
117
- `searchReady(llmProvider?)` and `fetchReady(llmProvider?)` ask the provider that `search()` or `fetch()` would select, for a search the one selected for a request with that `llmProvider`, whether an operation made for a model request on that chat route has a credential to send; [`dsh-tool-web`](../tool-web/README.md#search-readiness) uses the answers to decide whether each model step admits `web_search` and `web_fetch`. A provider answers through its optional `ready(llmProvider)`, a configuration-only check that must not make network calls; a provider without it counts as ready. When selection fails, the readiness method answers true, because the operation reports that failure as a structured `WebError`. Readiness never changes which provider is selected.
117
+ `searchReady(llmProvider?)` and `fetchReady(llmProvider?)` ask the provider that `search()` or `fetch()` would select, for a search the one selected for a request with that `llmProvider`, whether an operation made for a model request on that chat route has a credential to send; [`dsh-tool-web`](../tool-web/README.md#search-readiness) uses the answers to decide whether each Agent is offered `web_search` and `web_fetch` for its current route. A provider answers through its optional `ready(llmProvider)`, a configuration-only check that must not make network calls; a provider without it counts as ready. When selection fails, the readiness method answers true, because the operation reports that failure as a structured `WebError`. Readiness never changes which provider is selected.
118
118
 
119
119
  ```text
120
120
  // false only when the selected provider cannot authenticate this route's operations:
package/README.zh.md CHANGED
@@ -114,7 +114,7 @@ ctx.remote.$on('web/providers-changed', () => { /* re-read the lists */ })
114
114
  <a id="search-readiness"></a>
115
115
  ### 搜索与抓取就绪
116
116
 
117
- `searchReady(llmProvider?)` 与 `fetchReady(llmProvider?)` 询问 `search()` 或 `fetch()` 会选中的提供方(搜索为携带该 `llmProvider` 的请求所选中的提供方):为该对话路由上的模型请求发起的操作是否有可发送的凭据;[`dsh-tool-web`](../tool-web/README.zh.md#search-readiness) 据此决定每个模型步骤是否准入 `web_search` 与 `web_fetch`。提供方通过可选的 `ready(llmProvider)` 回答,它是只检查配置的判断,禁止发起网络调用;未实现它的提供方视为就绪。选择失败时就绪方法回答 true,因为对应操作会把该失败报告为结构化 `WebError`。就绪判断从不改变选中哪个提供方。
117
+ `searchReady(llmProvider?)` 与 `fetchReady(llmProvider?)` 询问 `search()` 或 `fetch()` 会选中的提供方(搜索为携带该 `llmProvider` 的请求所选中的提供方):为该对话路由上的模型请求发起的操作是否有可发送的凭据;[`dsh-tool-web`](../tool-web/README.zh.md#search-readiness) 据此决定是否针对每个 Agent 的当前路由向其提供 `web_search` 与 `web_fetch`。提供方通过可选的 `ready(llmProvider)` 回答,它是只检查配置的判断,禁止发起网络调用;未实现它的提供方视为就绪。选择失败时就绪方法回答 true,因为对应操作会把该失败报告为结构化 `WebError`。就绪判断从不改变选中哪个提供方。
118
118
 
119
119
  ```text
120
120
  // false only when the selected provider cannot authenticate this route's operations:
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.2.3-alpha.2",
4
+ "version": "0.2.3-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -50,16 +50,16 @@
50
50
  ],
51
51
  "license": "MIT",
52
52
  "peerDependencies": {
53
- "@deepseek-ai/cordis": "~4.2.0-alpha.1",
54
- "@deepseek-ai/dsh-error": "0.2.3-alpha.2"
53
+ "@deepseek-ai/cordis": "~4.2.0-alpha.2",
54
+ "@deepseek-ai/dsh-error": "0.2.3-alpha.3"
55
55
  },
56
56
  "dependencies": {
57
- "@deepseek-ai/dsh-package-manifest": "0.2.3-alpha.2",
58
- "@deepseek-ai/schemastery": "~3.20.0-alpha.1",
59
- "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2"
57
+ "@deepseek-ai/dsh-package-manifest": "0.2.3-alpha.3",
58
+ "@deepseek-ai/schemastery": "~3.20.0-alpha.2",
59
+ "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.3"
60
60
  },
61
61
  "devDependencies": {
62
- "@deepseek-ai/cordis": "~4.2.0-alpha.1",
63
- "@deepseek-ai/dsh-error": "0.2.3-alpha.2"
62
+ "@deepseek-ai/cordis": "~4.2.0-alpha.2",
63
+ "@deepseek-ai/dsh-error": "0.2.3-alpha.3"
64
64
  }
65
65
  }