@dsh-cc/tool-web-fetch 0.9.3-rc.3 → 0.9.3
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/package.json +9 -15
- package/lib/invariant.d.ts +0 -16
- package/lib/invariant.d.ts.map +0 -1
- package/lib/invariant.js +0 -23
- package/lib/invariant.js.map +0 -1
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.3
|
|
4
|
+
"version": "0.9.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/dsh-cc/dsh-cc.git",
|
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
"types": "./lib/index.d.ts",
|
|
14
14
|
"default": "./lib/index.js"
|
|
15
15
|
},
|
|
16
|
-
"./invariant": {
|
|
17
|
-
"types": "./lib/invariant.d.ts",
|
|
18
|
-
"default": "./lib/invariant.js"
|
|
19
|
-
},
|
|
20
16
|
"./src/*": "./src/*",
|
|
21
17
|
"./package.json": "./package.json"
|
|
22
18
|
},
|
|
@@ -26,25 +22,23 @@
|
|
|
26
22
|
"license": "Apache-2.0",
|
|
27
23
|
"peerDependencies": {
|
|
28
24
|
"@deepseek-ai/cordis": ">=0.2.0-rc.2",
|
|
29
|
-
"@deepseek-ai/dsh-
|
|
30
|
-
"@deepseek-ai/dsh-
|
|
31
|
-
"@deepseek-ai/dsh-
|
|
32
|
-
"@deepseek-ai/dsh-
|
|
33
|
-
"@deepseek-ai/dsh-web": ">=0.2.0-rc.2",
|
|
25
|
+
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.5",
|
|
26
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.2.1-rc.5",
|
|
27
|
+
"@deepseek-ai/dsh-tool-web": ">=0.2.1-rc.5",
|
|
28
|
+
"@deepseek-ai/dsh-web": ">=0.2.1-rc.5",
|
|
34
29
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
35
|
-
"@dsh-cc/model-aliases": "^0.9.3
|
|
36
|
-
"@dsh-cc/tools": "^0.9.3
|
|
30
|
+
"@dsh-cc/model-aliases": "^0.9.3",
|
|
31
|
+
"@dsh-cc/tools": "^0.9.3"
|
|
37
32
|
},
|
|
38
33
|
"devDependencies": {
|
|
39
34
|
"@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
|
|
40
|
-
"@deepseek-ai/dsh-invariants": "link:../../../../deepseek-harness/packages/runtime-diagnostics/invariants",
|
|
41
35
|
"@deepseek-ai/dsh-llm": "link:../../../../deepseek-harness/packages/llm/llm",
|
|
42
36
|
"@deepseek-ai/dsh-system-prompt": "link:../../../../deepseek-harness/packages/core/system-prompt",
|
|
43
37
|
"@deepseek-ai/dsh-tool-web": "link:../../../../deepseek-harness/packages/web/tool-web",
|
|
44
38
|
"@deepseek-ai/dsh-web": "link:../../../../deepseek-harness/packages/web/web",
|
|
45
39
|
"@deepseek-ai/schemastery": "link:../../../../deepseek-harness/vendor/schemastery",
|
|
46
|
-
"@dsh-cc/model-aliases": "^0.9.3
|
|
47
|
-
"@dsh-cc/tools": "^0.9.3
|
|
40
|
+
"@dsh-cc/model-aliases": "^0.9.3",
|
|
41
|
+
"@dsh-cc/tools": "^0.9.3"
|
|
48
42
|
},
|
|
49
43
|
"publishConfig": {
|
|
50
44
|
"access": "public"
|
package/lib/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@dsh-cc/tool-web-fetch`.
|
|
3
|
-
* @module @dsh-cc/tool-web-fetch/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "tool-web-fetch-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
|
package/lib/invariant.d.ts.map
DELETED
|
@@ -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,6BAA6B,CAAA;AAC9C,2EAA2E;AAC3E,eAAO,MAAM,MAAM,UAAiB,CAAA;AASpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,OAAO,CAAC,MAAM,IAAI,CACU,CAAA"}
|
package/lib/invariant.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@dsh-cc/tool-web-fetch`.
|
|
3
|
-
* @module @dsh-cc/tool-web-fetch/invariant
|
|
4
|
-
*/
|
|
5
|
-
const PACKAGE_NAME = '@dsh-cc/tool-web-fetch';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export const name = 'tool-web-fetch-invariant';
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export const inject = ['invariants'];
|
|
10
|
-
/**
|
|
11
|
-
* No runtime invariant: the tool composes an upstream seam (`ctx.web.fetch`)
|
|
12
|
-
* with a one-shot summarize call, neither of which publishes a durable
|
|
13
|
-
* projection a companion could cross-check.
|
|
14
|
-
*/
|
|
15
|
-
const install = () => { };
|
|
16
|
-
/**
|
|
17
|
-
* Register this package's invariant companion.
|
|
18
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
19
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
20
|
-
*/
|
|
21
|
-
export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
22
|
-
/* jscpd:ignore-end */
|
|
23
|
-
//# sourceMappingURL=invariant.js.map
|
package/lib/invariant.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invariant.js","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,YAAY,GAAG,wBAAwB,CAAA;AAE7C,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,0BAA0B,CAAA;AAC9C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,YAAY,CAAC,CAAA;AAEpC;;;;GAIG;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"}
|