@midscene/core 1.9.8-beta-20260618091332.0 → 1.9.8
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/agent.mjs +3 -12
- package/dist/es/agent/agent.mjs.map +1 -1
- package/dist/es/agent/utils.mjs +17 -3
- package/dist/es/agent/utils.mjs.map +1 -1
- package/dist/es/utils.mjs +2 -2
- package/dist/lib/agent/agent.js +1 -10
- package/dist/lib/agent/agent.js.map +1 -1
- package/dist/lib/agent/utils.js +19 -2
- package/dist/lib/agent/utils.js.map +1 -1
- package/dist/lib/utils.js +2 -2
- package/dist/types/agent/agent.d.ts +0 -1
- package/dist/types/agent/utils.d.ts +8 -0
- package/package.json +2 -2
|
@@ -230,7 +230,6 @@ export declare class Agent<InterfaceType extends AbstractInterface = AbstractInt
|
|
|
230
230
|
* Process cache configuration and return normalized cache settings
|
|
231
231
|
*/
|
|
232
232
|
private processCacheConfig;
|
|
233
|
-
private normalizeFilePaths;
|
|
234
233
|
private normalizeFileInput;
|
|
235
234
|
/**
|
|
236
235
|
* Manually flush cache to file
|
|
@@ -12,6 +12,14 @@ export declare function createScreenshotBoundUIContext(screenshotBase64: string,
|
|
|
12
12
|
}): Promise<UIContext>;
|
|
13
13
|
export declare function getReportFileName(tag?: string): string;
|
|
14
14
|
export declare function printReportMsg(filepath: string): void;
|
|
15
|
+
type NormalizeFilePathsOptions = {
|
|
16
|
+
fileExists?: (path: string) => boolean;
|
|
17
|
+
isInBrowser?: boolean;
|
|
18
|
+
resolvePath?: (path: string) => string;
|
|
19
|
+
wslDistroName?: string;
|
|
20
|
+
cwd?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function normalizeFilePaths(files: string[], options?: NormalizeFilePathsOptions): string[];
|
|
15
23
|
export declare function isPixelBbox(value: unknown): value is PixelBbox;
|
|
16
24
|
type PlanningLocateParamWithMaybeLocatedPixelBbox = PlanningLocateParam & {
|
|
17
25
|
locatedPixelBbox?: unknown;
|
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.9.8
|
|
4
|
+
"version": "1.9.8",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"main": "./dist/lib/index.js",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"semver": "7.5.2",
|
|
108
108
|
"undici": "^6.0.0",
|
|
109
109
|
"zod": "^3.25.1",
|
|
110
|
-
"@midscene/shared": "1.9.8
|
|
110
|
+
"@midscene/shared": "1.9.8"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@rslib/core": "^0.18.3",
|