@deepseek-ai/dsh-tool-web 0.1.3-alpha.2 → 0.1.5-alpha.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 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/tool-web/README.md
5
- README.md: 03f82527c299fdf248e33351def0197088ad3749
6
- README.zh.md: dca9ad44cb2b119465ea1f03e9aec37c8f366289
5
+ README.md: 8d7077273469a552f4ea3d62a775f52e9502d878
6
+ README.zh.md: b24921c75a796e0318709058db076684ab3f1d1c
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- With `dsh-tool-web`, the model can search the web and fetch pages through the `web_search` and `web_fetch` tools, backed by the harness web service (`ctx.web`). Choose it when the model should search the web or fetch pages; the two tools register independently, so a product disables either via config. Every successful result labels provider-controlled text as external and untrusted, and HTML conversion removes active or hidden content. Tools stay visible even when their selected provider is missing or unavailable: execution then fails with a structured error the model can read. Neither tool exposes a model-facing timeout; per-tool budgets are deployment config enforced by the timeout policy.
12
+ `dsh-tool-web` lets models search the web with `web_search` and retrieve pages with `web_fetch`. Choose it when an agent needs current information or full source text, and enable either tool independently through package configuration. Results label provider-controlled text as external and untrusted, while fetched HTML excludes active and hidden content. If a configured provider is missing or unavailable, the tool remains visible and returns a structured error the model can act on. Timeout and result-size limits are deployment settings rather than model arguments.
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-tool-web`,模型可以通过 `web_search` `web_fetch` 工具搜索 web 或抓取页面,二者构建于 harness web 服务(`ctx.web`)之上。当模型需要搜索 web 或抓取页面时选择它;两个工具独立注册,因此产品可以通过配置禁用任一工具。每个成功结果都把提供方控制的文本标记为外部不可信数据,HTML 转换会删除活动或隐藏内容。即使选中的提供方缺失或不可用,工具仍保持可见:执行随后以模型可读的结构化错误失败。两个工具都不公开面向模型的超时;每个工具预算都是部署配置,由超时策略强制执行。
12
+ `dsh-tool-web` 让模型使用 `web_search` 搜索 web,并使用 `web_fetch` 取回页面。当 agent 需要当前信息或完整来源文本时选择它,并通过包配置独立启用任一工具。结果会把提供方控制的文本标记为外部不可信数据,而抓取到的 HTML 会排除活动与隐藏内容。如果配置的提供方缺失或不可用,工具仍保持可见,并返回模型可据此采取行动的结构化错误。超时与结果大小上限属于部署设置,而非模型参数。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-web",
3
3
  "description": "Model-facing web tools (web_search, web_fetch) over the DeepSeek Harness web capability seam (ctx.web)",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,31 +27,31 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
31
30
  "@deepseek-ai/cordis": "^4.0.2",
32
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
33
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
34
- "@deepseek-ai/dsh-web": "^0.1.3-alpha.2"
31
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
32
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
33
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
34
+ "@deepseek-ai/dsh-web": "^0.1.5-alpha.1"
35
35
  },
36
36
  "dependencies": {
37
37
  "@joplin/turndown-plugin-gfm": "^1.0.67",
38
38
  "turndown": "^7.2.4",
39
- "@deepseek-ai/dsh-util-values": "^0.1.3-alpha.2",
39
+ "@deepseek-ai/dsh-util-values": "^0.1.5-alpha.1",
40
40
  "@deepseek-ai/schemastery": "^3.18.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/turndown": "^5.0.6",
44
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
45
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
46
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
44
47
  "@deepseek-ai/cordis": "^4.0.2",
45
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-spill-local": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-web": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-web-search-exa": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-spill-policy": "^0.1.3-alpha.2",
55
- "@deepseek-ai/dsh-web-fetch-http": "^0.1.3-alpha.2"
48
+ "@deepseek-ai/dsh-spill-policy": "^0.1.5-alpha.1",
49
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
50
+ "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.5-alpha.1",
51
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
52
+ "@deepseek-ai/dsh-spill-local": "^0.1.5-alpha.1",
53
+ "@deepseek-ai/dsh-web": "^0.1.5-alpha.1",
54
+ "@deepseek-ai/dsh-web-fetch-http": "^0.1.5-alpha.1",
55
+ "@deepseek-ai/dsh-web-search-exa": "^0.1.5-alpha.1"
56
56
  }
57
57
  }