@midscene/core 0.24.2-beta-20250801024655.0 → 0.24.2-beta-20250805024613.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/ai-model.d.ts +8 -4
- package/dist/es/ai-model.js +3 -1
- package/dist/es/{chunk-5HH6E7M4.js → chunk-JS4CT3XV.js} +114 -25
- package/dist/es/chunk-JS4CT3XV.js.map +1 -0
- package/dist/es/{chunk-FMBJ3CM2.js → chunk-NZFWY3M5.js} +3 -3
- package/dist/es/index.d.ts +7 -9
- package/dist/es/index.js +38 -18
- package/dist/es/index.js.map +1 -1
- package/dist/es/{llm-planning-d7096b0d.d.ts → llm-planning-877248da.d.ts} +7 -6
- package/dist/es/{types-d836fa73.d.ts → types-512d3687.d.ts} +31 -12
- package/dist/es/utils.d.ts +1 -1
- package/dist/es/utils.js +1 -1
- package/dist/lib/ai-model.d.ts +8 -4
- package/dist/lib/ai-model.js +4 -2
- package/dist/lib/{chunk-5HH6E7M4.js → chunk-JS4CT3XV.js} +120 -31
- package/dist/lib/chunk-JS4CT3XV.js.map +1 -0
- package/dist/lib/{chunk-FMBJ3CM2.js → chunk-NZFWY3M5.js} +3 -3
- package/dist/lib/index.d.ts +7 -9
- package/dist/lib/index.js +49 -29
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/{llm-planning-d7096b0d.d.ts → llm-planning-877248da.d.ts} +7 -6
- package/dist/{types/types-d836fa73.d.ts → lib/types-512d3687.d.ts} +31 -12
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.js +2 -2
- package/dist/types/ai-model.d.ts +8 -4
- package/dist/types/index.d.ts +7 -9
- package/dist/types/{llm-planning-d7096b0d.d.ts → llm-planning-877248da.d.ts} +7 -6
- package/dist/{lib/types-d836fa73.d.ts → types/types-512d3687.d.ts} +31 -12
- package/dist/types/utils.d.ts +1 -1
- package/package.json +3 -3
- package/dist/es/chunk-5HH6E7M4.js.map +0 -1
- package/dist/lib/chunk-5HH6E7M4.js.map +0 -1
- /package/dist/es/{chunk-FMBJ3CM2.js.map → chunk-NZFWY3M5.js.map} +0 -0
- /package/dist/lib/{chunk-FMBJ3CM2.js.map → chunk-NZFWY3M5.js.map} +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as ExecutionTask, a as ExecutionTaskProgressOptions, b as ExecutionTaskApply, c as ExecutionDump, U as UIContext, I as InsightAction, D as DumpSubscriber, d as InsightTaskInfo, e as InsightOptions, f as DetailedLocateParam, L as LocateResult, g as
|
|
2
|
-
export {
|
|
3
|
-
import { c as callAiFn } from './llm-planning-
|
|
4
|
-
export { a as AiAssert, A as AiLocateElement, d as describeUserPage, p as plan } from './llm-planning-
|
|
1
|
+
import { E as ExecutionTask, a as ExecutionTaskProgressOptions, b as ExecutionTaskApply, c as ExecutionDump, U as UIContext, I as InsightAction, D as DumpSubscriber, d as InsightTaskInfo, e as InsightOptions, f as DetailedLocateParam, L as LocateResult, g as InsightExtractParam, h as InsightExtractOption, T as TMultimodalPrompt, i as TUserPrompt, j as InsightAssertionResponse, A as AIDescribeElementResponse } from './types-512d3687.js';
|
|
2
|
+
export { y as AIAssertionResponse, w as AIDataExtractionResponse, u as AIElementCoordinatesResponse, t as AIElementLocatorResponse, v as AIElementResponse, p as AIResponseFormat, x as AISectionLocatorResponse, s as AISingleElementResponse, q as AISingleElementResponseById, r as AISingleElementResponseByPosition, o as AIUsageInfo, V as AgentAssertOpt, C as AgentDescribeElementAtPointResult, S as AgentWaitForOpt, a9 as BaseAgentParserOpt, F as CallAIFn, aD as CodeGenerationChunk, a8 as Color, J as DumpMeta, O as ElementById, G as EnsureObject, ac as ExecutionRecorderItem, au as ExecutionTaskAction, at as ExecutionTaskActionApply, af as ExecutionTaskHitBy, as as ExecutionTaskInsightAssertion, ar as ExecutionTaskInsightAssertionApply, aq as ExecutionTaskInsightAssertionParam, aj as ExecutionTaskInsightDumpLog, al as ExecutionTaskInsightLocate, ak as ExecutionTaskInsightLocateApply, ai as ExecutionTaskInsightLocateOutput, ah as ExecutionTaskInsightLocateParam, ap as ExecutionTaskInsightQuery, ao as ExecutionTaskInsightQueryApply, an as ExecutionTaskInsightQueryOutput, am as ExecutionTaskInsightQueryParam, aw as ExecutionTaskLog, av as ExecutionTaskLogApply, ay as ExecutionTaskPlanning, ax as ExecutionTaskPlanningApply, ag as ExecutionTaskReturn, ad as ExecutionTaskType, ae as ExecutorContext, b1 as FreeFn, az as GroupedActionDump, K as InsightDump, N as LiteUISection, aF as LocateOption, H as LocateResultElement, B as LocateValidatorResult, z as LocatorValidatorOption, b4 as MidsceneYamlConfig, b5 as MidsceneYamlConfigOutput, n as MidsceneYamlConfigResult, l as MidsceneYamlFlowItem, aM as MidsceneYamlFlowItemAIAction, aR as MidsceneYamlFlowItemAIAsk, aN as MidsceneYamlFlowItemAIAssert, aS as MidsceneYamlFlowItemAIBoolean, aW as MidsceneYamlFlowItemAIHover, aX as MidsceneYamlFlowItemAIInput, aY as MidsceneYamlFlowItemAIKeyboardPress, aT as MidsceneYamlFlowItemAILocate, aP as MidsceneYamlFlowItemAINumber, aO as MidsceneYamlFlowItemAIQuery, m as MidsceneYamlFlowItemAIRightClick, aZ as MidsceneYamlFlowItemAIScroll, aQ as MidsceneYamlFlowItemAIString, aV as MidsceneYamlFlowItemAITap, aU as MidsceneYamlFlowItemAIWaitFor, a_ as MidsceneYamlFlowItemEvaluateJavaScript, b0 as MidsceneYamlFlowItemLogScreenshot, a$ as MidsceneYamlFlowItemSleep, M as MidsceneYamlScript, aK as MidsceneYamlScriptAndroidEnv, aL as MidsceneYamlScriptEnv, aI as MidsceneYamlScriptEnvBase, aJ as MidsceneYamlScriptWebEnv, k as MidsceneYamlTask, Q as OnTaskStartTip, aA as PageType, P as PartialInsightDumpFromSDK, Y as PlanningAIResponse, X as PlanningAction, a6 as PlanningActionParamAndroidLongPress, a7 as PlanningActionParamAndroidPull, a2 as PlanningActionParamAssert, a4 as PlanningActionParamError, _ as PlanningActionParamHover, a0 as PlanningActionParamInputOrKeyPress, $ as PlanningActionParamRightClick, a1 as PlanningActionParamScroll, a3 as PlanningActionParamSleep, Z as PlanningActionParamTap, a5 as PlanningActionParamWaitFor, W as PlanningLocateParam, ab as PlaywrightParserOpt, aa as PuppeteerParserOpt, aG as ReferenceImage, R as ReportDumpWithAttributes, b3 as ScriptPlayerStatusValue, b2 as ScriptPlayerTaskStatus, aE as StreamingAIResponse, aC as StreamingCallback, aB as StreamingCodeGenerationOptions, aH as scrollParam } from './types-512d3687.js';
|
|
3
|
+
import { c as callAiFn } from './llm-planning-877248da.js';
|
|
4
|
+
export { a as AiAssert, A as AiLocateElement, d as describeUserPage, p as plan } from './llm-planning-877248da.js';
|
|
5
5
|
import { BaseElement, Rect } from '@midscene/shared/types';
|
|
6
6
|
export { BaseElement, ElementTreeNode, Point, Rect, Size } from '@midscene/shared/types';
|
|
7
7
|
export { getVersion } from './utils.js';
|
|
@@ -36,13 +36,11 @@ declare class Insight<ElementType extends BaseElement = BaseElement, ContextType
|
|
|
36
36
|
taskInfo?: Omit<InsightTaskInfo, 'durationMs'>;
|
|
37
37
|
constructor(context: ContextType | ((action: InsightAction) => Promise<ContextType> | ContextType), opt?: InsightOptions);
|
|
38
38
|
locate(query: DetailedLocateParam, opt?: LocateOpts): Promise<LocateResult>;
|
|
39
|
-
extract<T
|
|
40
|
-
|
|
41
|
-
extract<T extends object>(input: Record<keyof T, string>, opt?: InsightExtractOption): Promise<T>;
|
|
42
|
-
assert(assertion: string): Promise<InsightAssertionResponse>;
|
|
39
|
+
extract<T>(dataDemand: InsightExtractParam, opt?: InsightExtractOption, multimodalPrompt?: TMultimodalPrompt): Promise<any>;
|
|
40
|
+
assert(assertion: TUserPrompt): Promise<InsightAssertionResponse>;
|
|
43
41
|
describe(target: Rect | [number, number], opt?: {
|
|
44
42
|
deepThink?: boolean;
|
|
45
43
|
}): Promise<Pick<AIDescribeElementResponse, 'description'>>;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
export { AIDescribeElementResponse, DetailedLocateParam, DumpSubscriber, ExecutionDump, ExecutionTask, ExecutionTaskApply, ExecutionTaskProgressOptions, Executor, Insight, InsightAction, InsightAssertionResponse, InsightExtractOption, InsightOptions, InsightTaskInfo, LocateResult, UIContext, Insight as default };
|
|
46
|
+
export { AIDescribeElementResponse, DetailedLocateParam, DumpSubscriber, ExecutionDump, ExecutionTask, ExecutionTaskApply, ExecutionTaskProgressOptions, Executor, Insight, InsightAction, InsightAssertionResponse, InsightExtractOption, InsightExtractParam, InsightOptions, InsightTaskInfo, LocateResult, TMultimodalPrompt, TUserPrompt, UIContext, Insight as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as AIUsageInfo, U as UIContext, i as TUserPrompt, aG as ReferenceImage, t as AIElementLocatorResponse, O as ElementById, T as TMultimodalPrompt, h as InsightExtractOption, w as AIDataExtractionResponse, y as AIAssertionResponse, aA as PageType, Y as PlanningAIResponse } from './types-512d3687.js';
|
|
2
2
|
import { Rect, ElementTreeNode, BaseElement } from '@midscene/shared/types';
|
|
3
3
|
import { ChatCompletionSystemMessageParam, ChatCompletionUserMessageParam } from 'openai/resources';
|
|
4
4
|
|
|
5
5
|
type AIArgs = [
|
|
6
6
|
ChatCompletionSystemMessageParam,
|
|
7
|
-
ChatCompletionUserMessageParam
|
|
7
|
+
...ChatCompletionUserMessageParam[]
|
|
8
8
|
];
|
|
9
9
|
declare enum AIActionType {
|
|
10
10
|
ASSERT = 0,
|
|
@@ -53,7 +53,7 @@ declare function describeUserPage<ElementType extends BaseElement = BaseElement>
|
|
|
53
53
|
|
|
54
54
|
declare function AiLocateElement<ElementType extends BaseElement = BaseElement>(options: {
|
|
55
55
|
context: UIContext<ElementType>;
|
|
56
|
-
targetElementDescription:
|
|
56
|
+
targetElementDescription: TUserPrompt;
|
|
57
57
|
referenceImage?: ReferenceImage;
|
|
58
58
|
callAI?: typeof callAiFn<AIElementResponse | [number, number]>;
|
|
59
59
|
searchConfig?: Awaited<ReturnType<typeof AiLocateSection>>;
|
|
@@ -67,7 +67,7 @@ declare function AiLocateElement<ElementType extends BaseElement = BaseElement>(
|
|
|
67
67
|
}>;
|
|
68
68
|
declare function AiLocateSection(options: {
|
|
69
69
|
context: UIContext<BaseElement>;
|
|
70
|
-
sectionDescription:
|
|
70
|
+
sectionDescription: TUserPrompt;
|
|
71
71
|
callAI?: typeof callAiFn<AISectionLocatorResponse>;
|
|
72
72
|
}): Promise<{
|
|
73
73
|
rect?: Rect;
|
|
@@ -78,6 +78,7 @@ declare function AiLocateSection(options: {
|
|
|
78
78
|
}>;
|
|
79
79
|
declare function AiExtractElementInfo<T, ElementType extends BaseElement = BaseElement>(options: {
|
|
80
80
|
dataQuery: string | Record<string, string>;
|
|
81
|
+
multimodalPrompt?: TMultimodalPrompt;
|
|
81
82
|
context: UIContext<ElementType>;
|
|
82
83
|
extractOption?: InsightExtractOption;
|
|
83
84
|
}): Promise<{
|
|
@@ -86,7 +87,7 @@ declare function AiExtractElementInfo<T, ElementType extends BaseElement = BaseE
|
|
|
86
87
|
usage: AIUsageInfo | undefined;
|
|
87
88
|
}>;
|
|
88
89
|
declare function AiAssert<ElementType extends BaseElement = BaseElement>(options: {
|
|
89
|
-
assertion:
|
|
90
|
+
assertion: TUserPrompt;
|
|
90
91
|
context: UIContext<ElementType>;
|
|
91
92
|
}): Promise<{
|
|
92
93
|
content: AIAssertionResponse;
|
|
@@ -101,4 +102,4 @@ declare function plan(userInstruction: string, opts: {
|
|
|
101
102
|
actionContext?: string;
|
|
102
103
|
}): Promise<PlanningAIResponse>;
|
|
103
104
|
|
|
104
|
-
export { AiLocateElement as A, AiAssert as a, AIActionType as b, callAiFn as c, describeUserPage as d,
|
|
105
|
+
export { AiLocateElement as A, AiAssert as a, AIActionType as b, callAiFn as c, describeUserPage as d, type AIArgs as e, elementByPositionWithElementInfo as f, AiExtractElementInfo as g, AiLocateSection as h, adaptBboxToRect as i, plan as p };
|
|
@@ -3,7 +3,6 @@ import { Rect, BaseElement, ElementTreeNode, Size } from '@midscene/shared/types
|
|
|
3
3
|
import { ChatCompletionMessageParam } from 'openai/resources';
|
|
4
4
|
|
|
5
5
|
interface LocateOption {
|
|
6
|
-
prompt?: string;
|
|
7
6
|
deepThink?: boolean;
|
|
8
7
|
cacheable?: boolean;
|
|
9
8
|
xpath?: string;
|
|
@@ -17,7 +16,7 @@ interface ReferenceImage {
|
|
|
17
16
|
rect?: Rect;
|
|
18
17
|
}
|
|
19
18
|
interface DetailedLocateParam extends LocateOption {
|
|
20
|
-
prompt:
|
|
19
|
+
prompt: TUserPrompt;
|
|
21
20
|
referenceImage?: ReferenceImage;
|
|
22
21
|
}
|
|
23
22
|
interface scrollParam {
|
|
@@ -102,25 +101,25 @@ interface MidsceneYamlFlowItemAIWaitFor {
|
|
|
102
101
|
timeout?: number;
|
|
103
102
|
}
|
|
104
103
|
interface MidsceneYamlFlowItemAITap extends LocateOption {
|
|
105
|
-
aiTap:
|
|
104
|
+
aiTap: TUserPrompt;
|
|
106
105
|
}
|
|
107
106
|
interface MidsceneYamlFlowItemAIRightClick extends LocateOption {
|
|
108
|
-
aiRightClick:
|
|
107
|
+
aiRightClick: TUserPrompt;
|
|
109
108
|
}
|
|
110
109
|
interface MidsceneYamlFlowItemAIHover extends LocateOption {
|
|
111
|
-
aiHover:
|
|
110
|
+
aiHover: TUserPrompt;
|
|
112
111
|
}
|
|
113
112
|
interface MidsceneYamlFlowItemAIInput extends LocateOption {
|
|
114
113
|
aiInput: string;
|
|
115
|
-
locate:
|
|
114
|
+
locate: TUserPrompt;
|
|
116
115
|
}
|
|
117
116
|
interface MidsceneYamlFlowItemAIKeyboardPress extends LocateOption {
|
|
118
117
|
aiKeyboardPress: string;
|
|
119
|
-
locate?:
|
|
118
|
+
locate?: TUserPrompt;
|
|
120
119
|
}
|
|
121
120
|
interface MidsceneYamlFlowItemAIScroll extends LocateOption, PlanningActionParamScroll {
|
|
122
121
|
aiScroll: null;
|
|
123
|
-
locate?:
|
|
122
|
+
locate?: TUserPrompt;
|
|
124
123
|
}
|
|
125
124
|
interface MidsceneYamlFlowItemEvaluateJavaScript {
|
|
126
125
|
javascript: string;
|
|
@@ -310,9 +309,9 @@ interface InsightDump extends DumpMeta {
|
|
|
310
309
|
type: 'locate' | 'extract' | 'assert';
|
|
311
310
|
logId: string;
|
|
312
311
|
userQuery: {
|
|
313
|
-
element?:
|
|
312
|
+
element?: TUserPrompt;
|
|
314
313
|
dataDemand?: InsightExtractParam;
|
|
315
|
-
assertion?:
|
|
314
|
+
assertion?: TUserPrompt;
|
|
316
315
|
};
|
|
317
316
|
matchedElement: BaseElement[];
|
|
318
317
|
matchedRect?: Rect;
|
|
@@ -382,7 +381,7 @@ interface PlanningActionParamInputOrKeyPress {
|
|
|
382
381
|
}
|
|
383
382
|
type PlanningActionParamScroll = scrollParam;
|
|
384
383
|
interface PlanningActionParamAssert {
|
|
385
|
-
assertion:
|
|
384
|
+
assertion: TUserPrompt;
|
|
386
385
|
}
|
|
387
386
|
interface PlanningActionParamSleep {
|
|
388
387
|
timeMs: number;
|
|
@@ -542,5 +541,25 @@ interface StreamingAIResponse {
|
|
|
542
541
|
/** Whether the response was streamed */
|
|
543
542
|
isStreamed: boolean;
|
|
544
543
|
}
|
|
544
|
+
type TMultimodalPrompt = {
|
|
545
|
+
/**
|
|
546
|
+
* Support use image to inspect elements.
|
|
547
|
+
* The "images" field is an object that uses image name as key and image url as value.
|
|
548
|
+
* The image url can be a local path, a http link , or a base64 string.
|
|
549
|
+
*/
|
|
550
|
+
images?: {
|
|
551
|
+
name: string;
|
|
552
|
+
url: string;
|
|
553
|
+
}[];
|
|
554
|
+
/**
|
|
555
|
+
* By default, the image url in the "images" filed starts with `https://` or `http://` will be directly sent to the LLM.
|
|
556
|
+
* In case the images are not accessible to the LLM (One common case is that image url is internal network only.), you can enable this option.
|
|
557
|
+
* Then image will be download and convert to base64 format.
|
|
558
|
+
*/
|
|
559
|
+
convertHttpImage2Base64?: boolean;
|
|
560
|
+
};
|
|
561
|
+
type TUserPrompt = string | ({
|
|
562
|
+
prompt: string;
|
|
563
|
+
} & Partial<TMultimodalPrompt>);
|
|
545
564
|
|
|
546
|
-
export { type
|
|
565
|
+
export { type PlanningActionParamRightClick as $, type AIDescribeElementResponse as A, type LocateValidatorResult as B, type AgentDescribeElementAtPointResult as C, type DumpSubscriber as D, type ExecutionTask as E, type CallAIFn as F, type EnsureObject as G, type LocateResultElement as H, type InsightAction as I, type DumpMeta as J, type InsightDump as K, type LocateResult as L, type MidsceneYamlScript as M, type LiteUISection as N, type ElementById as O, type PartialInsightDumpFromSDK as P, type OnTaskStartTip as Q, type ReportDumpWithAttributes as R, type AgentWaitForOpt as S, type TMultimodalPrompt as T, UIContext as U, type AgentAssertOpt as V, type PlanningLocateParam as W, type PlanningAction as X, type PlanningAIResponse as Y, type PlanningActionParamTap as Z, type PlanningActionParamHover as _, type ExecutionTaskProgressOptions as a, type MidsceneYamlFlowItemSleep as a$, type PlanningActionParamInputOrKeyPress as a0, type PlanningActionParamScroll as a1, type PlanningActionParamAssert as a2, type PlanningActionParamSleep as a3, type PlanningActionParamError as a4, type PlanningActionParamWaitFor as a5, type PlanningActionParamAndroidLongPress as a6, type PlanningActionParamAndroidPull as a7, type Color as a8, type BaseAgentParserOpt as a9, type PageType as aA, type StreamingCodeGenerationOptions as aB, type StreamingCallback as aC, type CodeGenerationChunk as aD, type StreamingAIResponse as aE, type LocateOption as aF, type ReferenceImage as aG, type scrollParam as aH, type MidsceneYamlScriptEnvBase as aI, type MidsceneYamlScriptWebEnv as aJ, type MidsceneYamlScriptAndroidEnv as aK, type MidsceneYamlScriptEnv as aL, type MidsceneYamlFlowItemAIAction as aM, type MidsceneYamlFlowItemAIAssert as aN, type MidsceneYamlFlowItemAIQuery as aO, type MidsceneYamlFlowItemAINumber as aP, type MidsceneYamlFlowItemAIString as aQ, type MidsceneYamlFlowItemAIAsk as aR, type MidsceneYamlFlowItemAIBoolean as aS, type MidsceneYamlFlowItemAILocate as aT, type MidsceneYamlFlowItemAIWaitFor as aU, type MidsceneYamlFlowItemAITap as aV, type MidsceneYamlFlowItemAIHover as aW, type MidsceneYamlFlowItemAIInput as aX, type MidsceneYamlFlowItemAIKeyboardPress as aY, type MidsceneYamlFlowItemAIScroll as aZ, type MidsceneYamlFlowItemEvaluateJavaScript as a_, type PuppeteerParserOpt as aa, type PlaywrightParserOpt as ab, type ExecutionRecorderItem as ac, type ExecutionTaskType as ad, type ExecutorContext as ae, type ExecutionTaskHitBy as af, type ExecutionTaskReturn as ag, type ExecutionTaskInsightLocateParam as ah, type ExecutionTaskInsightLocateOutput as ai, type ExecutionTaskInsightDumpLog as aj, type ExecutionTaskInsightLocateApply as ak, type ExecutionTaskInsightLocate as al, type ExecutionTaskInsightQueryParam as am, type ExecutionTaskInsightQueryOutput as an, type ExecutionTaskInsightQueryApply as ao, type ExecutionTaskInsightQuery as ap, type ExecutionTaskInsightAssertionParam as aq, type ExecutionTaskInsightAssertionApply as ar, type ExecutionTaskInsightAssertion as as, type ExecutionTaskActionApply as at, type ExecutionTaskAction as au, type ExecutionTaskLogApply as av, type ExecutionTaskLog as aw, type ExecutionTaskPlanningApply as ax, type ExecutionTaskPlanning as ay, type GroupedActionDump as az, type ExecutionTaskApply as b, type MidsceneYamlFlowItemLogScreenshot as b0, type FreeFn as b1, type ScriptPlayerTaskStatus as b2, type ScriptPlayerStatusValue as b3, type MidsceneYamlConfig as b4, type MidsceneYamlConfigOutput as b5, type ExecutionDump as c, type InsightTaskInfo as d, type InsightOptions as e, type DetailedLocateParam as f, type InsightExtractParam as g, type InsightExtractOption as h, type TUserPrompt as i, type InsightAssertionResponse as j, type MidsceneYamlTask as k, type MidsceneYamlFlowItem as l, type MidsceneYamlFlowItemAIRightClick as m, type MidsceneYamlConfigResult as n, type AIUsageInfo as o, AIResponseFormat as p, type AISingleElementResponseById as q, type AISingleElementResponseByPosition as r, type AISingleElementResponse as s, type AIElementLocatorResponse as t, type AIElementCoordinatesResponse as u, type AIElementResponse as v, type AIDataExtractionResponse as w, type AISectionLocatorResponse as x, type AIAssertionResponse as y, type LocatorValidatorOption as z };
|
package/dist/types/utils.d.ts
CHANGED
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.24.2-beta-
|
|
4
|
+
"version": "0.24.2-beta-20250805024613.0",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"jsnext:source": "./src/index.ts",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"langsmith": "0.3.7",
|
|
45
45
|
"openai": "4.81.0",
|
|
46
46
|
"socks-proxy-agent": "8.0.4",
|
|
47
|
-
"@midscene/recorder": "0.24.2-beta-
|
|
48
|
-
"@midscene/shared": "0.24.2-beta-
|
|
47
|
+
"@midscene/recorder": "0.24.2-beta-20250805024613.0",
|
|
48
|
+
"@midscene/shared": "0.24.2-beta-20250805024613.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@modern-js/module-tools": "2.60.6",
|