@deepseek-ai/dsh-web 0.1.0-rc.7 → 0.1.1-rc.1
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 +1 -1
- package/README.zh.md +1 -1
- package/lib/types/types.d.ts +4 -3
- package/package.json +5 -5
package/README.i18n.yaml
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
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
5
|
README.md: 8dfc7f032e25e40207bb3880777b814e67175a20
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 98922ad83fedb7ded07b2e180f8a6e4261032112
|
package/README.zh.md
CHANGED
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
## 已知限制与暂缓事项
|
|
57
57
|
|
|
58
58
|
- **没有观测接口**:没有提供方变更事件或能力状态查询;可用性只能通过执行 `search()`/`fetch()` 并按抛出的 `WebError` code 路由来观测,无提供方失败是通用的 `WEB_PROVIDER_UNAVAILABLE`,不会枚举逐提供方原因(见 [Agent Note](../../../.agents/notes/archived/simplification/2026-07-04-drop-unconsumed-web-observation-surface.md))。
|
|
59
|
-
- **`WebSearchRequest` 只携带 `query` + `maxResults`**:提供方无关的控制项(新近程度、域名过滤条件、区域提示、搜索深度)暂缓至 Exa 与 Perplexity 都能诚实支持时(见 [seam Agent Note](../../../.agents/notes/implemented/architecture/2026-06-24-web-capability-seam.md))。
|
|
59
|
+
- **`WebSearchRequest` 只携带 `query` + `maxResults`**:提供方无关的控制项(新近程度、域名过滤条件、区域提示、搜索深度)暂缓至 Exa 与 Perplexity 都能诚实支持时(见 [seam Agent Note](../../../.agents/notes/implemented/architecture/2026-06-24-web-capability-seam.zh.md))。
|
|
60
60
|
- **`WebFetchBody` 没有 `pdf` 分支**:可提取文本的 PDF 支持属于明确的暂缓工作;封闭联合会使新增该分支成为三个 web 包中由编译强制执行的变更。
|
|
61
61
|
- **提供方支持的页面提取不属于 `fetch()` 范围**:Firecrawl/Tavily 风格的 `web_extract` 能力暂缓,而不会扩展抓取操作。
|
package/lib/types/types.d.ts
CHANGED
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HarnessError } from '@deepseek-ai/dsh-llm';
|
|
8
8
|
/**
|
|
9
|
-
* What one search-capable backend
|
|
10
|
-
*
|
|
11
|
-
* and enforced on the way
|
|
9
|
+
* What one search-capable backend is asked to search. Each request carries one
|
|
10
|
+
* query; a consumer may issue several requests. `maxResults` is a
|
|
11
|
+
* `dsh-tool-web`-layer bound passed through unchanged and enforced on the way
|
|
12
|
+
* back by the seam (see {@link WebSearchResult}).
|
|
12
13
|
*/
|
|
13
14
|
export interface WebSearchRequest {
|
|
14
15
|
readonly query: string;
|
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.
|
|
4
|
+
"version": "0.1.1-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
36
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
35
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.1",
|
|
36
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
43
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.1",
|
|
44
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
|
|
45
45
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
46
46
|
}
|
|
47
47
|
}
|