@midscene/core 1.10.9-beta-20260804015945.0 → 1.10.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.
@@ -117,7 +117,7 @@ export type AndroidDeviceOpt = {
117
117
  /**
118
118
  * Video bit rate for H.264 encoding in bits per second.
119
119
  * Higher values improve quality but increase bandwidth usage.
120
- * @default 2000000 (2 Mbps)
120
+ * @default 100000000 (100 Mbps)
121
121
  */
122
122
  videoBitRate?: number;
123
123
  };
@@ -10,6 +10,19 @@ import type { ReportFileWithAttributes } from './types';
10
10
  * filesystem heuristic (an `index.html` that has a sibling `screenshots/` dir).
11
11
  */
12
12
  export declare function isDirectoryModeReport(reportFilePath: string): boolean;
13
+ /**
14
+ * Remove a complete report artifact from disk.
15
+ *
16
+ * Standalone reports own only their HTML file, while directory-based reports
17
+ * own the directory containing `index.html`. Callers must decide whether they
18
+ * own the source artifact and should only invoke this after its replacement
19
+ * has been produced successfully.
20
+ *
21
+ * @param reportFilePath Path to the standalone report or directory report's
22
+ * `index.html` entry point.
23
+ * @throws When the owned report artifact cannot be removed.
24
+ */
25
+ export declare function removeReportArtifact(reportFilePath: string): void;
13
26
  /**
14
27
  * Deduplicate executions by stable id, keeping only the last occurrence.
15
28
  * Old-format executions without id are always preserved.
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.10.9-beta-20260804015945.0",
4
+ "version": "1.10.9",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "main": "./dist/lib/index.js",
@@ -115,7 +115,7 @@
115
115
  "semver": "7.5.2",
116
116
  "undici": "^6.0.0",
117
117
  "zod": "^3.25.1",
118
- "@midscene/shared": "1.10.9-beta-20260804015945.0"
118
+ "@midscene/shared": "1.10.9"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@rslib/core": "^0.18.3",