@midscene/core 1.0.1-beta-20251111100700.0 → 1.0.1-beta-20251111120301.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.
@@ -130,7 +130,11 @@ export declare class Agent<InterfaceType extends AbstractInterface = AbstractInt
130
130
  message: string | undefined;
131
131
  } | undefined>;
132
132
  aiWaitFor(assertion: TUserPrompt, opt?: AgentWaitForOpt): Promise<void>;
133
- ai(taskPrompt: string, type?: string): Promise<any>;
133
+ ai(...args: Parameters<typeof this.aiAct>): Promise<{
134
+ result: Record<string, any>;
135
+ } | {
136
+ yamlFlow?: import("../yaml").MidsceneYamlFlowItem[];
137
+ } | undefined>;
134
138
  runYaml(yamlScriptContent: string): Promise<{
135
139
  result: Record<string, any>;
136
140
  }>;
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-20251111100700.0",
4
+ "version": "1.0.1-beta-20251111120301.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-20251111100700.0"
92
+ "@midscene/shared": "1.0.1-beta-20251111120301.0"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@rslib/core": "^0.11.2",