@midscene/core 1.0.1-beta-20251111072933.0 → 1.0.1-beta-20251111100700.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/dist/es/agent/ui-utils.mjs +1 -1
- package/dist/es/agent/ui-utils.mjs.map +1 -1
- package/dist/es/agent/utils.mjs +1 -1
- package/dist/es/device/index.mjs +7 -7
- package/dist/es/device/index.mjs.map +1 -1
- package/dist/es/utils.mjs +2 -2
- package/dist/lib/agent/ui-utils.js +1 -1
- package/dist/lib/agent/ui-utils.js.map +1 -1
- package/dist/lib/agent/utils.js +1 -1
- package/dist/lib/device/index.js +7 -7
- package/dist/lib/device/index.js.map +1 -1
- package/dist/lib/utils.js +2 -2
- package/dist/types/device/index.d.ts +4 -4
- package/package.json +2 -2
|
@@ -999,7 +999,7 @@ export type ActionKeyboardPressParam = {
|
|
|
999
999
|
export declare const defineActionKeyboardPress: (call: (param: ActionKeyboardPressParam) => Promise<void>) => DeviceAction<ActionKeyboardPressParam>;
|
|
1000
1000
|
export declare const actionScrollParamSchema: z.ZodObject<{
|
|
1001
1001
|
direction: z.ZodDefault<z.ZodEnum<["down", "up", "right", "left"]>>;
|
|
1002
|
-
scrollType: z.ZodDefault<z.ZodEnum<["
|
|
1002
|
+
scrollType: z.ZodDefault<z.ZodEnum<["singleAction", "scrollToBottom", "scrollToTop", "scrollToRight", "scrollToLeft"]>>;
|
|
1003
1003
|
distance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1004
1004
|
locate: z.ZodOptional<z.ZodObject<{
|
|
1005
1005
|
prompt: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1109,7 +1109,7 @@ export declare const actionScrollParamSchema: z.ZodObject<{
|
|
|
1109
1109
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1110
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1111
1111
|
direction: "up" | "down" | "right" | "left";
|
|
1112
|
-
scrollType: "
|
|
1112
|
+
scrollType: "singleAction" | "scrollToBottom" | "scrollToTop" | "scrollToRight" | "scrollToLeft";
|
|
1113
1113
|
locate?: z.objectOutputType<{
|
|
1114
1114
|
prompt: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1115
1115
|
prompt: z.ZodString;
|
|
@@ -1185,12 +1185,12 @@ export declare const actionScrollParamSchema: z.ZodObject<{
|
|
|
1185
1185
|
xpath: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
1186
1186
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1187
1187
|
direction?: "up" | "down" | "right" | "left" | undefined;
|
|
1188
|
-
scrollType?: "
|
|
1188
|
+
scrollType?: "singleAction" | "scrollToBottom" | "scrollToTop" | "scrollToRight" | "scrollToLeft" | undefined;
|
|
1189
1189
|
distance?: number | null | undefined;
|
|
1190
1190
|
}>;
|
|
1191
1191
|
export type ActionScrollParam = {
|
|
1192
1192
|
direction?: 'down' | 'up' | 'right' | 'left';
|
|
1193
|
-
scrollType?: '
|
|
1193
|
+
scrollType?: 'singleAction' | 'scrollToBottom' | 'scrollToTop' | 'scrollToRight' | 'scrollToLeft';
|
|
1194
1194
|
distance?: number | null;
|
|
1195
1195
|
locate?: LocateResultElement;
|
|
1196
1196
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/core",
|
|
3
3
|
"description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
|
|
4
|
-
"version": "1.0.1-beta-
|
|
4
|
+
"version": "1.0.1-beta-20251111100700.0",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"main": "./dist/lib/index.js",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"zod": "3.24.3",
|
|
90
90
|
"semver": "7.5.2",
|
|
91
91
|
"js-yaml": "4.1.0",
|
|
92
|
-
"@midscene/shared": "1.0.1-beta-
|
|
92
|
+
"@midscene/shared": "1.0.1-beta-20251111100700.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@rslib/core": "^0.11.2",
|