@dsh-cc/tool-web-fetch 0.9.2-rc.1 → 0.9.3-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 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 check:readme --write
5
- README.md: 55c062d4189e593e3581519720e2a83fa3763a7a
6
- README.zh.md: d14c8ac38c8be9178753e2921e929d2961ba9e3f
5
+ README.md: 9c08a815daae046dbc214c2fa9ee62246d91ad43
6
+ README.zh.md: 7a219f6657aba0dbe2502fbaf0f47b056cfdbaa8
package/README.md CHANGED
@@ -13,7 +13,7 @@ stock `@deepseek-ai/dsh-tool-web` `web_fetch` when the CC preset sets `tool-web`
13
13
  - **With `prompt`** and a configured `haiku` model alias (`ccModelRoutes.resolve('haiku')`):
14
14
  the fetched document is converted and passed, together with the prompt, to a one-shot
15
15
  summarize call on that cheap lane. The tool returns only the extraction. A string-form
16
- alias (`haiku: deepseek-v4-flash`, model only) inherits the missing provider from the
16
+ alias (`haiku: deepseek-chat`, model only) inherits the missing provider from the
17
17
  calling agent's request-header; with no calling agent (hence no parent provider) the
18
18
  tool fails hard.
19
19
  - **With `prompt`** but the `haiku` alias unconfigured (no `ccModelRoutes` service or the
package/README.zh.md CHANGED
@@ -11,7 +11,7 @@ CC 风格的 `web_fetch` 替代工具,带可选 `prompt` 参数。当 CC prese
11
11
  - **不传 `prompt`**(或为空白):与 stock 工具完全一致——返回原始转换后的页面文本。
12
12
  - **传 `prompt`** 且已配置 `haiku` 模型别名(`ccModelRoutes.resolve('haiku')`):
13
13
  抓取的文档经转换后与 prompt 一起送入该廉价 lane 上的一次性摘要调用,工具只返回提取结果。
14
- 字符串形式别名(`haiku: deepseek-v4-flash`,仅 model)会从调用方 agent 的 request-header 继承缺失的 provider;
14
+ 字符串形式别名(`haiku: deepseek-chat`,仅 model)会从调用方 agent 的 request-header 继承缺失的 provider;
15
15
  没有调用方 agent(即无父 provider)时工具直接失败。
16
16
  - **传 `prompt`** 但 `haiku` 别名未配置(无 `ccModelRoutes` 服务或 resolver 返回空):
17
17
  工具抛出 `web_fetch: prompt requires a configured haiku model alias`,且**在任何抓取之前**——
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dsh-cc/tool-web-fetch",
3
3
  "description": "CC-style web_fetch replacement with an optional prompt: summarizes the fetched page on the cheap lane (haiku alias) when configured; passing a prompt without haiku fails before fetching",
4
- "version": "0.9.2-rc.1",
4
+ "version": "0.9.3-rc.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/dsh-cc/dsh-cc.git",
@@ -32,8 +32,8 @@
32
32
  "@deepseek-ai/dsh-tool-web": ">=0.2.0-rc.2",
33
33
  "@deepseek-ai/dsh-web": ">=0.2.0-rc.2",
34
34
  "@deepseek-ai/schemastery": "^3.18.1",
35
- "@dsh-cc/model-aliases": "^0.9.2-rc.1",
36
- "@dsh-cc/tools": "^0.9.2-rc.1"
35
+ "@dsh-cc/model-aliases": "^0.9.3-rc.1",
36
+ "@dsh-cc/tools": "^0.9.3-rc.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
@@ -43,8 +43,8 @@
43
43
  "@deepseek-ai/dsh-tool-web": "link:../../../../deepseek-harness/packages/web/tool-web",
44
44
  "@deepseek-ai/dsh-web": "link:../../../../deepseek-harness/packages/web/web",
45
45
  "@deepseek-ai/schemastery": "link:../../../../deepseek-harness/vendor/schemastery",
46
- "@dsh-cc/tools": "^0.9.2-rc.1",
47
- "@dsh-cc/model-aliases": "^0.9.2-rc.1"
46
+ "@dsh-cc/model-aliases": "^0.9.3-rc.1",
47
+ "@dsh-cc/tools": "^0.9.3-rc.1"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"