@midscene/core 0.30.11-beta-20251218071621.0 → 1.0.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.
@@ -5,7 +5,7 @@ import type { TaskRunner } from '../task-runner';
5
5
  import { ModelConfigManager } from '@midscene/shared/env';
6
6
  import { TaskCache } from './task-cache';
7
7
  import { TaskExecutor } from './tasks';
8
- type AiActOptions = {
8
+ export type AiActOptions = {
9
9
  cacheable?: boolean;
10
10
  planningStrategy?: 'fast' | 'standard' | 'max';
11
11
  };
@@ -199,4 +199,3 @@ export declare class Agent<InterfaceType extends AbstractInterface = AbstractInt
199
199
  }): Promise<void>;
200
200
  }
201
201
  export declare const createAgent: (interfaceInstance: AbstractInterface, opts?: AgentOpt) => Agent<AbstractInterface>;
202
- export {};
@@ -7,3 +7,4 @@ export { cacheFileExt } from './task-cache';
7
7
  export { TaskExecutor } from './tasks';
8
8
  export { getCurrentExecutionFile } from './utils';
9
9
  export type { AgentOpt } from '../types';
10
+ export type { AiActOptions } from './agent';
@@ -10,4 +10,4 @@ export { z };
10
10
  export default Service;
11
11
  export { TaskRunner, Service, getVersion };
12
12
  export type { MidsceneYamlScript, MidsceneYamlTask, MidsceneYamlFlowItem, MidsceneYamlConfigResult, MidsceneYamlConfig, MidsceneYamlScriptWebEnv, MidsceneYamlScriptAndroidEnv, MidsceneYamlScriptIOSEnv, MidsceneYamlScriptEnv, LocateOption, DetailedLocateParam, } from './yaml';
13
- export { Agent, type AgentOpt, createAgent } from './agent';
13
+ export { Agent, type AgentOpt, type AiActOptions, createAgent } from './agent';
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": "0.30.11-beta-20251218071621.0",
4
+ "version": "1.0.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
  "semver": "7.5.2",
90
90
  "js-yaml": "4.1.0",
91
91
  "zod": "3.24.3",
92
- "@midscene/shared": "0.30.11-beta-20251218071621.0"
92
+ "@midscene/shared": "1.0.0"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@rslib/core": "^0.18.3",