@donggui/core 1.5.6 → 1.5.9
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/dist/es/agent/utils.mjs +1 -1
- package/dist/es/ai-model/prompt/llm-planning.mjs +14 -199
- package/dist/es/ai-model/prompt/llm-planning.mjs.map +1 -1
- package/dist/es/utils.mjs +2 -2
- package/dist/lib/agent/utils.js +1 -1
- package/dist/lib/ai-model/prompt/llm-planning.js +14 -199
- package/dist/lib/ai-model/prompt/llm-planning.js.map +1 -1
- package/dist/lib/utils.js +2 -2
- package/package.json +43 -24
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@donggui/core",
|
|
3
3
|
"description": "DongGUI Core - Automate browser actions, extract data, and perform assertions using AI.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.9",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"main": "./dist/lib/index.js",
|
|
8
8
|
"types": "./dist/types/index.d.ts",
|
|
9
9
|
"module": "./dist/es/index.mjs",
|
|
10
|
-
"files": [
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
11
14
|
"exports": {
|
|
12
15
|
".": {
|
|
13
16
|
"types": "./dist/types/index.d.ts",
|
|
@@ -57,28 +60,33 @@
|
|
|
57
60
|
},
|
|
58
61
|
"typesVersions": {
|
|
59
62
|
"*": {
|
|
60
|
-
".": [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
63
|
+
".": [
|
|
64
|
+
"./dist/types/index.d.ts"
|
|
65
|
+
],
|
|
66
|
+
"utils": [
|
|
67
|
+
"./dist/types/utils.d.ts"
|
|
68
|
+
],
|
|
69
|
+
"ai-model": [
|
|
70
|
+
"./dist/types/ai-model.d.ts"
|
|
71
|
+
],
|
|
72
|
+
"tree": [
|
|
73
|
+
"./dist/types/tree.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"device": [
|
|
76
|
+
"./dist/types/device.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"agent": [
|
|
79
|
+
"./dist/types/agent.d.ts"
|
|
80
|
+
],
|
|
81
|
+
"yaml": [
|
|
82
|
+
"./dist/types/yaml.d.ts"
|
|
83
|
+
],
|
|
84
|
+
"mcp": [
|
|
85
|
+
"./dist/types/skill/index.d.ts"
|
|
86
|
+
]
|
|
68
87
|
}
|
|
69
88
|
},
|
|
70
|
-
"scripts": {
|
|
71
|
-
"dev": "npm run build:watch",
|
|
72
|
-
"build": "rslib build",
|
|
73
|
-
"build:watch": "USE_DEV_REPORT=1 rslib build --watch --no-clean",
|
|
74
|
-
"test": "vitest --run",
|
|
75
|
-
"test:u": "vitest --run -u",
|
|
76
|
-
"test:ai": "AITEST=true npm run test",
|
|
77
|
-
"computer": "TEST_COMPUTER=true npm run test:ai -- tests/ai/evaluate/computer.test.ts",
|
|
78
|
-
"test:parse-action": "npm run test:ai -- tests/ai/parse-action.test.ts"
|
|
79
|
-
},
|
|
80
89
|
"dependencies": {
|
|
81
|
-
"@midscene/shared": "workspace:*",
|
|
82
90
|
"@ui-tars/action-parser": "1.2.3",
|
|
83
91
|
"dayjs": "^1.11.11",
|
|
84
92
|
"dotenv": "^16.4.5",
|
|
@@ -88,7 +96,8 @@
|
|
|
88
96
|
"openai": "6.3.0",
|
|
89
97
|
"semver": "7.5.2",
|
|
90
98
|
"undici": "^6.0.0",
|
|
91
|
-
"zod": "3.24.3"
|
|
99
|
+
"zod": "3.24.3",
|
|
100
|
+
"@midscene/shared": "1.5.6"
|
|
92
101
|
},
|
|
93
102
|
"devDependencies": {
|
|
94
103
|
"@rslib/core": "^0.18.3",
|
|
@@ -107,5 +116,15 @@
|
|
|
107
116
|
"access": "public",
|
|
108
117
|
"registry": "https://registry.npmjs.org"
|
|
109
118
|
},
|
|
110
|
-
"license": "MIT"
|
|
111
|
-
|
|
119
|
+
"license": "MIT",
|
|
120
|
+
"scripts": {
|
|
121
|
+
"dev": "npm run build:watch",
|
|
122
|
+
"build": "rslib build",
|
|
123
|
+
"build:watch": "USE_DEV_REPORT=1 rslib build --watch --no-clean",
|
|
124
|
+
"test": "vitest --run",
|
|
125
|
+
"test:u": "vitest --run -u",
|
|
126
|
+
"test:ai": "AITEST=true npm run test",
|
|
127
|
+
"computer": "TEST_COMPUTER=true npm run test:ai -- tests/ai/evaluate/computer.test.ts",
|
|
128
|
+
"test:parse-action": "npm run test:ai -- tests/ai/parse-action.test.ts"
|
|
129
|
+
}
|
|
130
|
+
}
|