@deepseek-ai/dsh-web 0.0.1-rc.1 → 0.0.1-rc.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: 2acb5022a83c08c33a26be626a93b7355c07a0ed
5
+ README.md: 237c7e28416a1f920042d2713a2b2e67dc882c42
6
6
  README.zh.md: b77b0a897082dba01e10be3f7b0ca3b3f0260a9f
package/README.md CHANGED
@@ -39,7 +39,7 @@ Selection never depends on registration, config, or HMR order. A capability has
39
39
  | no id, no usable provider | `WEB_PROVIDER_UNAVAILABLE` |
40
40
  | no id, multiple usable providers | `WEB_PROVIDER_AMBIGUOUS` |
41
41
 
42
- The failure branches throw `WebError`, whose structured code (plus message detail — the missing id, the ambiguous candidate set) is the surface callers route on. A provider's own `available()` is a cheap local check (credential presence, parseable config) that feeds this execution-time selection and **must not make network calls**; `dsh-tool-web` never calls it — the tool executes through `ctx.web.search()`/`fetch()` and routes on the thrown codes, so provider selection has one owner.
42
+ The failure branches throw `WebError`, whose structured code (plus message detail — the missing id, the ambiguous candidate set) is the direct callers route on. A provider's own `available()` is a cheap local check (credential presence, parseable config) that feeds this execution-time selection and **must not make network calls**; `dsh-tool-web` never calls it — the tool executes through `ctx.web.search()`/`fetch()` and routes on the thrown codes, so provider selection has one owner.
43
43
 
44
44
  ## Vocabulary
45
45
 
@@ -25,7 +25,7 @@ export interface WebSearchRequest {
25
25
  * Normalized search outcome. `content` is optional provider-generated answer
26
26
  * text or summary (Exa and DeepSeek return none; Perplexity returns a
27
27
  * generated answer).
28
- * `sources[]` is the portable citation surface. `truncated` is set by the seam
28
+ * `sources[]` is the portable citation shape. `truncated` is set by the seam
29
29
  * when it cut `sources[]` down to `maxResults`.
30
30
  */
31
31
  export interface WebSearchResult {
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.0.1-rc.1",
4
+ "version": "0.0.1-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
@@ -32,16 +32,16 @@
32
32
  ],
33
33
  "license": "BSD-3-Clause",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
36
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
37
- "@deepseek-ai/cordis": "^4.0.1-rc.1"
35
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
36
+ "@deepseek-ai/cordis": "^4.0.1-rc.1",
37
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.2"
38
38
  },
39
39
  "dependencies": {
40
40
  "@deepseek-ai/schemastery": "^3.18.1-rc.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
44
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
43
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
44
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.2",
45
45
  "@deepseek-ai/cordis": "^4.0.1-rc.1"
46
46
  }
47
47
  }