@hy-sde-org/dsh-web-search-public 0.2.0-rc.2 → 0.2.1-alpha.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.md CHANGED
@@ -37,13 +37,13 @@ never pin a search to the tool budget.
37
37
  ## Prerequisites
38
38
 
39
39
  - Node.js 22.19 or newer with npm and pnpm on `PATH`;
40
- - DeepSeek Harness `0.1.2-rc.1` including the standard `dsh` CLI;
40
+ - DeepSeek Harness `0.2.0-rc.2` including the standard `dsh` CLI;
41
41
  - no API keys — nothing else.
42
42
 
43
43
  Install the Harness CLI and pnpm before continuing:
44
44
 
45
45
  ```bash
46
- npm install --global @deepseek-ai/dsh@0.1.2-rc.1 pnpm
46
+ npm install --global @deepseek-ai/dsh@0.2.0-rc.2 pnpm
47
47
  dsh --version
48
48
  ```
49
49
 
@@ -59,14 +59,14 @@ dsh plugin --profile web add @hy-sde-org/dsh-web-search-public
59
59
 
60
60
  ```bash
61
61
  git clone git@github.com:hy-sde/dsh-plugins.git
62
- cd dsh-plugins
62
+ cd dsh-plugins/dsh-web-search-public
63
63
  pnpm install
64
- PACKAGE_TARBALL="$(pnpm pack --silent)"
64
+ PACKAGE_TARBALL="$(pnpm pack | tail -n 1)"
65
65
  dsh plugin --profile web add "$PWD/$PACKAGE_TARBALL"
66
- cd ..
66
+ cd ../..
67
67
  ```
68
68
 
69
- `npm pack` runs the normal `prepack` build and produces a tarball containing `dist/`. A direct
69
+ `pnpm pack` runs the normal `prepack` build and produces a tarball containing `dist/`. A direct
70
70
  `github:<this-repo>` dependency does not contain built output and is not a supported install
71
71
  path — always install the built tarball (or the published package).
72
72
 
@@ -249,7 +249,7 @@ same `WEB_PROVIDER_ERROR` with `public search engines are rate limited (…); re
249
249
  | Component | Supported contract |
250
250
  | --- | --- |
251
251
  | Node.js | 22.19 or newer |
252
- | DeepSeek Harness | `0.1.2-rc.1` (`@deepseek-ai/dsh-web`, `@deepseek-ai/cordis` peer range) |
252
+ | DeepSeek Harness | `0.2.0-rc.2` (`@deepseek-ai/dsh-web`, `@deepseek-ai/cordis` peer range) |
253
253
  | Seam | `ctx.web` `WebSearchProvider` (no key, no fetch provider) |
254
254
 
255
255
  The provider implements only the `WebSearchProvider` seam contract; the model-facing tool is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hy-sde-org/dsh-web-search-public",
3
- "version": "0.2.0-rc.2",
3
+ "version": "0.2.1-alpha.2",
4
4
  "description": "Credential-free concurrent web search fan-out for DeepSeek Harness (Startpage, DuckDuckGo, Ecosia, Google, Mojeek, consensus-merged, soft/hard deadlines)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -10,10 +10,6 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "default": "./dist/index.js"
12
12
  },
13
- "./invariant": {
14
- "types": "./dist/invariant.d.ts",
15
- "default": "./dist/invariant.js"
16
- },
17
13
  "./cordis.patch.yml": "./cordis.patch.yml",
18
14
  "./package.json": "./package.json"
19
15
  },
@@ -61,14 +57,12 @@
61
57
  "effect": "4.0.0-rc.118"
62
58
  },
63
59
  "peerDependencies": {
64
- "@deepseek-ai/cordis": "~4.0.4",
65
- "@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
66
- "@deepseek-ai/dsh-web": "^0.2.0-rc.2"
60
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
61
+ "@deepseek-ai/dsh-web": "^0.2.1-alpha.2"
67
62
  },
68
63
  "devDependencies": {
69
- "@deepseek-ai/cordis": "~4.0.4",
70
- "@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
71
- "@deepseek-ai/dsh-web": "^0.2.0-rc.2",
64
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
65
+ "@deepseek-ai/dsh-web": "^0.2.1-alpha.2",
72
66
  "@types/node": "24.12.4",
73
67
  "publint": "0.3.21",
74
68
  "tsx": "4.22.1",
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@hy-sde-org/dsh-web-search-public`.
3
- * @module @hy-sde-org/dsh-web-search-public/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "web-search-public-invariant";
8
- /** Service required before the companion can reserve package ownership. */
9
- export declare const inject: string[];
10
- /**
11
- * Register this package's invariant companion.
12
- * @param ctx - Cordis context carrying the invariant service.
13
- * @returns the installed registration's disposer after setup succeeds.
14
- */
15
- export declare const apply: (ctx: Context) => Promise<() => void>;
16
- //# sourceMappingURL=invariant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAKlD,oCAAoC;AACpC,eAAO,MAAM,IAAI,gCAAgC,CAAA;AACjD,2EAA2E;AAC3E,eAAO,MAAM,MAAM,UAAiB,CAAA;AAQpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,OAAO,CAAC,MAAM,IAAI,CACU,CAAA"}
package/dist/invariant.js DELETED
@@ -1,22 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@hy-sde-org/dsh-web-search-public`.
3
- * @module @hy-sde-org/dsh-web-search-public/invariant
4
- */
5
- const PACKAGE_NAME = '@hy-sde-org/dsh-web-search-public';
6
- /** Cordis companion plugin name. */
7
- export const name = 'web-search-public-invariant';
8
- /** Service required before the companion can reserve package ownership. */
9
- export const inject = ['invariants'];
10
- /**
11
- * No runtime invariant: this package exposes no independent event sequence or mutable data relation
12
- * beyond contracts enforced at its owning seam.
13
- */
14
- const install = () => { };
15
- /**
16
- * Register this package's invariant companion.
17
- * @param ctx - Cordis context carrying the invariant service.
18
- * @returns the installed registration's disposer after setup succeeds.
19
- */
20
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
21
- /* jscpd:ignore-end */
22
- //# sourceMappingURL=invariant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invariant.js","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,YAAY,GAAG,mCAAmC,CAAA;AAExD,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,6BAA6B,CAAA;AACjD,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,YAAY,CAAC,CAAA;AAEpC;;;GAGG;AACH,MAAM,OAAO,GAAuB,GAAG,EAAE,GAAE,CAAC,CAAA;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAY,EAAuB,EAAE,CACzD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,sBAAsB"}