@hy-sde-org/dsh-browser 0.2.0-rc.2.1 → 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/package.json +5 -11
- package/dist/invariant.d.ts +0 -16
- package/dist/invariant.d.ts.map +0 -1
- package/dist/invariant.js +0 -22
- package/dist/invariant.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hy-sde-org/dsh-browser",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Agentic browser plumbing for DeepSeek Harness: the host ctx.browser service (launch
|
|
3
|
+
"version": "0.2.1-alpha.2",
|
|
4
|
+
"description": "Agentic browser plumbing for DeepSeek Harness: the host ctx.browser service (stealth launch, CDP-attach, and a relay + companion Chrome extension driving the user's own tabs) backing the browser tool in @hy-sde-org/dsh-tool-browser — no harness changes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -30,10 +30,6 @@
|
|
|
30
30
|
"types": "./dist/relay/index.d.ts",
|
|
31
31
|
"default": "./dist/relay/index.js"
|
|
32
32
|
},
|
|
33
|
-
"./invariant": {
|
|
34
|
-
"types": "./dist/invariant.d.ts",
|
|
35
|
-
"default": "./dist/invariant.js"
|
|
36
|
-
},
|
|
37
33
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
38
34
|
"./package.json": "./package.json"
|
|
39
35
|
},
|
|
@@ -64,18 +60,16 @@
|
|
|
64
60
|
}
|
|
65
61
|
},
|
|
66
62
|
"dependencies": {
|
|
67
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
63
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
68
64
|
"playwright-core": "^1.61.1",
|
|
69
65
|
"ws": "^8.21.0"
|
|
70
66
|
},
|
|
71
67
|
"peerDependencies": {
|
|
72
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
73
|
-
"@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
|
|
68
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
74
69
|
"cloakbrowser": ">=0.5.0"
|
|
75
70
|
},
|
|
76
71
|
"devDependencies": {
|
|
77
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
78
|
-
"@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
|
|
72
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
79
73
|
"@types/node": "^24.0.0",
|
|
80
74
|
"@types/ws": "^8.5.0",
|
|
81
75
|
"playwright-core": "^1.61.1",
|
package/dist/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@hy-sde-org/dsh-browser`.
|
|
3
|
-
* @module @hy-sde-org/dsh-browser/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "browser-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/dist/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,sBAAsB,CAAA;AACvC,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-browser`.
|
|
3
|
-
* @module @hy-sde-org/dsh-browser/invariant
|
|
4
|
-
*/
|
|
5
|
-
const PACKAGE_NAME = '@hy-sde-org/dsh-browser';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export const name = 'browser-invariant';
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export const inject = ['invariants'];
|
|
10
|
-
/**
|
|
11
|
-
* No runtime invariant: the service launches browser processes per call and
|
|
12
|
-
* holds no durable state that outlives its fiber.
|
|
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
|
package/dist/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,yBAAyB,CAAA;AAE9C,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAA;AACvC,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"}
|