@logictan/dsh-browser-agent 0.1.0
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/LICENSE +21 -0
- package/README.md +60 -0
- package/cordis.patch.yml +18 -0
- package/lib/actions.js +155 -0
- package/lib/cdp.js +73 -0
- package/lib/client.js +823 -0
- package/lib/config.js +82 -0
- package/lib/execute.js +106 -0
- package/lib/index.js +104 -0
- package/lib/loop.js +190 -0
- package/lib/observe.js +214 -0
- package/lib/request.js +164 -0
- package/lib/typesafe.js +86 -0
- package/lib/validate.js +72 -0
- package/lib/value.js +103 -0
- package/package.json +90 -0
package/package.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@logictan/dsh-browser-agent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DSH browser agent: a dynamic operation+target decision loop. TypeSafe picks the action, this plugin executes it over CDP against the user's own Chrome. DSH 浏览器 Agent 子插件。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./client": "./lib/client.js",
|
|
10
|
+
"./package.json": "./package.json"
|
|
11
|
+
},
|
|
12
|
+
"dsh": {
|
|
13
|
+
"bundle": {
|
|
14
|
+
"patch": "./cordis.patch.yml"
|
|
15
|
+
},
|
|
16
|
+
"client": {
|
|
17
|
+
"inject": [
|
|
18
|
+
"slots",
|
|
19
|
+
"settingsScope",
|
|
20
|
+
"remote",
|
|
21
|
+
"remote.session"
|
|
22
|
+
],
|
|
23
|
+
"platform": "web"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"lib",
|
|
28
|
+
"cordis.patch.yml",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"test": "node --test",
|
|
34
|
+
"build": "node build.mjs",
|
|
35
|
+
"prepare": "node build.mjs",
|
|
36
|
+
"prepack": "node build.mjs"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"dsh",
|
|
40
|
+
"deepseek-harness",
|
|
41
|
+
"dsh-plugin",
|
|
42
|
+
"browser-agent",
|
|
43
|
+
"cdp",
|
|
44
|
+
"typesafe",
|
|
45
|
+
"playwright"
|
|
46
|
+
],
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/dale0525/dsh-plugins.git",
|
|
51
|
+
"directory": "packages/dsh-browser-agent"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"playwright-core": "^1.63.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
61
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.2",
|
|
63
|
+
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.2",
|
|
64
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
65
|
+
},
|
|
66
|
+
"peerDependenciesMeta": {
|
|
67
|
+
"@deepseek-ai/cordis": {
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
70
|
+
"@deepseek-ai/dsh-llm": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"@deepseek-ai/dsh-settings": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@deepseek-ai/dsh-tools": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"@deepseek-ai/schemastery": {
|
|
80
|
+
"optional": true
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
85
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
|
|
86
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.2",
|
|
87
|
+
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.2",
|
|
88
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
89
|
+
}
|
|
90
|
+
}
|