@midscene/ios 1.12.6-beta-20260910093036.0 → 1.12.6
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/bin.mjs +1 -1
- package/dist/es/cli.mjs +2 -2
- package/dist/es/index.mjs +1 -1
- package/dist/es/test-runner.mjs +1 -1
- package/dist/lib/bin.js +2 -2
- package/dist/lib/cli.js +3 -3
- package/dist/lib/index.js +2 -2
- package/dist/lib/test-runner.js +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/test-runner.d.ts +1 -1
- package/package.json +6 -6
- package/static/index.html +1 -1
- package/static/static/js/{index.f9140de2.js → index.b77f8513.js} +84 -84
- package/static/static/js/index.b77f8513.js.map +1 -0
- package/static/static/js/index.f9140de2.js.map +0 -1
- /package/static/static/js/{index.f9140de2.js.LICENSE.txt → index.b77f8513.js.LICENSE.txt} +0 -0
package/dist/es/bin.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { createDefaultMobileActions, defineAction, resolveTextInputOptions, send
|
|
|
12
12
|
import { sleep } from "@midscene/core/utils";
|
|
13
13
|
import { createImgBase64ByFormat } from "@midscene/shared/img";
|
|
14
14
|
import { WDAManager, WebDriverClient } from "@midscene/webdriver";
|
|
15
|
-
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test
|
|
15
|
+
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test";
|
|
16
16
|
import { z as v4_z } from "zod/v4";
|
|
17
17
|
const defaultAppNameMapping = {
|
|
18
18
|
微信: 'com.tencent.xin',
|
package/dist/es/cli.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { sleep } from "@midscene/core/utils";
|
|
|
12
12
|
import { DEFAULT_WDA_PORT } from "@midscene/shared/constants";
|
|
13
13
|
import { createImgBase64ByFormat } from "@midscene/shared/img";
|
|
14
14
|
import { WDAManager, WebDriverClient } from "@midscene/webdriver";
|
|
15
|
-
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test
|
|
15
|
+
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test";
|
|
16
16
|
import { z as v4_z } from "zod/v4";
|
|
17
17
|
const defaultAppNameMapping = {
|
|
18
18
|
微信: 'com.tencent.xin',
|
|
@@ -1996,7 +1996,7 @@ class IOSMidsceneTools extends BaseMidsceneTools {
|
|
|
1996
1996
|
const tools = new IOSMidsceneTools();
|
|
1997
1997
|
runToolsCLI(tools, 'midscene-ios', {
|
|
1998
1998
|
stripPrefix: 'ios_',
|
|
1999
|
-
version: "1.12.6
|
|
1999
|
+
version: "1.12.6",
|
|
2000
2000
|
extraCommands: createReportCliCommands()
|
|
2001
2001
|
}).catch((e)=>{
|
|
2002
2002
|
process.exit(reportCLIError(e));
|
package/dist/es/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { mergeAndNormalizeAppNameMapping, normalizeForComparison } from "@midsce
|
|
|
9
9
|
import { WDAManager, WebDriverClient } from "@midscene/webdriver";
|
|
10
10
|
import { Agent } from "@midscene/core/agent";
|
|
11
11
|
import { MIDSCENE_IOS_DEVICE_CLASS_OVERRIDE, overrideAIConfig } from "@midscene/shared/env";
|
|
12
|
-
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test
|
|
12
|
+
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test";
|
|
13
13
|
import { z as v4_z } from "zod/v4";
|
|
14
14
|
import { agentBehaviorInitArgShape, getAgentInitArgsSignature, shouldRebuildAgentForInitArgs } from "@midscene/shared/agent-tools/agent-behavior-init-args";
|
|
15
15
|
import { BaseMidsceneTools } from "@midscene/shared/agent-tools/base-tools";
|
package/dist/es/test-runner.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test
|
|
1
|
+
import { createAgentTestRunnerNodeDefinition } from "@midscene/core/agent/test";
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
const defineIOSAgentNode = createAgentTestRunnerNodeDefinition('an iOS Agent');
|
|
4
4
|
const nonBlankText = (description)=>z.string().regex(/\S/, 'value must contain a non-whitespace character').describe(description);
|
package/dist/lib/bin.js
CHANGED
|
@@ -4,9 +4,9 @@ var __webpack_modules__ = {
|
|
|
4
4
|
__webpack_require__.d(__webpack_exports__, {
|
|
5
5
|
iosAgentTestRunnerNodeDefinitions: ()=>iosAgentTestRunnerNodeDefinitions
|
|
6
6
|
});
|
|
7
|
-
const
|
|
7
|
+
const test_namespaceObject = require("@midscene/core/agent/test");
|
|
8
8
|
const v4_namespaceObject = require("zod/v4");
|
|
9
|
-
const defineIOSAgentNode = (0,
|
|
9
|
+
const defineIOSAgentNode = (0, test_namespaceObject.createAgentTestRunnerNodeDefinition)('an iOS Agent');
|
|
10
10
|
const nonBlankText = (description)=>v4_namespaceObject.z.string().regex(/\S/, 'value must contain a non-whitespace character').describe(description);
|
|
11
11
|
const launchInputSchema = v4_namespaceObject.z.strictObject({
|
|
12
12
|
uri: nonBlankText('The app, URL, URI, or bundle identifier to launch.')
|
package/dist/lib/cli.js
CHANGED
|
@@ -4,9 +4,9 @@ var __webpack_modules__ = {
|
|
|
4
4
|
__webpack_require__.d(__webpack_exports__, {
|
|
5
5
|
iosAgentTestRunnerNodeDefinitions: ()=>iosAgentTestRunnerNodeDefinitions
|
|
6
6
|
});
|
|
7
|
-
const
|
|
7
|
+
const test_namespaceObject = require("@midscene/core/agent/test");
|
|
8
8
|
const v4_namespaceObject = require("zod/v4");
|
|
9
|
-
const defineIOSAgentNode = (0,
|
|
9
|
+
const defineIOSAgentNode = (0, test_namespaceObject.createAgentTestRunnerNodeDefinition)('an iOS Agent');
|
|
10
10
|
const nonBlankText = (description)=>v4_namespaceObject.z.string().regex(/\S/, 'value must contain a non-whitespace character').describe(description);
|
|
11
11
|
const launchInputSchema = v4_namespaceObject.z.strictObject({
|
|
12
12
|
uri: nonBlankText('The app, URL, URI, or bundle identifier to launch.')
|
|
@@ -2038,7 +2038,7 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
2038
2038
|
const tools = new IOSMidsceneTools();
|
|
2039
2039
|
(0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-ios', {
|
|
2040
2040
|
stripPrefix: 'ios_',
|
|
2041
|
-
version: "1.12.6
|
|
2041
|
+
version: "1.12.6",
|
|
2042
2042
|
extraCommands: (0, core_namespaceObject.createReportCliCommands)()
|
|
2043
2043
|
}).catch((e)=>{
|
|
2044
2044
|
process.exit((0, cli_namespaceObject.reportCLIError)(e));
|
package/dist/lib/index.js
CHANGED
|
@@ -8,9 +8,9 @@ var __webpack_modules__ = {
|
|
|
8
8
|
iosAgentTestRunnerNodeDefinitions: ()=>iosAgentTestRunnerNodeDefinitions,
|
|
9
9
|
launchInputSchema: ()=>launchInputSchema
|
|
10
10
|
});
|
|
11
|
-
const
|
|
11
|
+
const test_namespaceObject = require("@midscene/core/agent/test");
|
|
12
12
|
const v4_namespaceObject = require("zod/v4");
|
|
13
|
-
const defineIOSAgentNode = (0,
|
|
13
|
+
const defineIOSAgentNode = (0, test_namespaceObject.createAgentTestRunnerNodeDefinition)('an iOS Agent');
|
|
14
14
|
const nonBlankText = (description)=>v4_namespaceObject.z.string().regex(/\S/, 'value must contain a non-whitespace character').describe(description);
|
|
15
15
|
const launchInputSchema = v4_namespaceObject.z.strictObject({
|
|
16
16
|
uri: nonBlankText('The app, URL, URI, or bundle identifier to launch.')
|
package/dist/lib/test-runner.js
CHANGED
|
@@ -30,9 +30,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30
30
|
iosAgentTestRunnerNodeDefinitions: ()=>iosAgentTestRunnerNodeDefinitions,
|
|
31
31
|
launchInputSchema: ()=>launchInputSchema
|
|
32
32
|
});
|
|
33
|
-
const
|
|
33
|
+
const test_namespaceObject = require("@midscene/core/agent/test");
|
|
34
34
|
const v4_namespaceObject = require("zod/v4");
|
|
35
|
-
const defineIOSAgentNode = (0,
|
|
35
|
+
const defineIOSAgentNode = (0, test_namespaceObject.createAgentTestRunnerNodeDefinition)('an iOS Agent');
|
|
36
36
|
const nonBlankText = (description)=>v4_namespaceObject.z.string().regex(/\S/, 'value must contain a non-whitespace character').describe(description);
|
|
37
37
|
const launchInputSchema = v4_namespaceObject.z.strictObject({
|
|
38
38
|
uri: nonBlankText('The app, URL, URI, or bundle identifier to launch.')
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Agent } from '@midscene/core/agent';
|
|
|
5
5
|
import { AgentBehaviorInitArgs } from '@midscene/shared/agent-tools/agent-behavior-init-args';
|
|
6
6
|
import { AgentOpt } from '@midscene/core/agent';
|
|
7
7
|
import { AgentTestRunnerNodeDefinition } from '@midscene/core/agent';
|
|
8
|
-
import { AgentTestRunnerNodeDefinition as AgentTestRunnerNodeDefinition_2 } from '@midscene/core/agent/test
|
|
8
|
+
import { AgentTestRunnerNodeDefinition as AgentTestRunnerNodeDefinition_2 } from '@midscene/core/agent/test';
|
|
9
9
|
import { BaseMidsceneTools } from '@midscene/shared/agent-tools/base-tools';
|
|
10
10
|
import { DeviceAction } from '@midscene/core';
|
|
11
11
|
import type { ElementInfo } from '@midscene/shared/extractor';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentTestRunnerNodeDefinition } from '@midscene/core/agent/test
|
|
1
|
+
import { AgentTestRunnerNodeDefinition } from '@midscene/core/agent/test';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
export declare const iosAgentTestRunnerNodeDefinitions: readonly AgentTestRunnerNodeDefinition[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/ios",
|
|
3
|
-
"version": "1.12.6
|
|
3
|
+
"version": "1.12.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/midscene.git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"import": "./dist/es/index.mjs",
|
|
34
34
|
"require": "./dist/lib/index.js"
|
|
35
35
|
},
|
|
36
|
-
"./test
|
|
36
|
+
"./test": {
|
|
37
37
|
"types": "./dist/types/test-runner.d.ts",
|
|
38
38
|
"import": "./dist/es/test-runner.mjs",
|
|
39
39
|
"require": "./dist/lib/test-runner.js"
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"@inquirer/prompts": "^7.8.6",
|
|
50
50
|
"open": "10.1.0",
|
|
51
51
|
"zod": "^3.25.1",
|
|
52
|
-
"@midscene/core": "1.12.6
|
|
53
|
-
"@midscene/shared": "1.12.6
|
|
54
|
-
"@midscene/
|
|
55
|
-
"@midscene/
|
|
52
|
+
"@midscene/core": "1.12.6",
|
|
53
|
+
"@midscene/shared": "1.12.6",
|
|
54
|
+
"@midscene/webdriver": "1.12.6",
|
|
55
|
+
"@midscene/playground": "1.12.6"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@rslib/core": "^0.18.3",
|
package/static/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.8bb5dc6e.js"></script><script defer src="/static/js/415.bee53531.js"></script><script defer src="/static/js/index.
|
|
1
|
+
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.8bb5dc6e.js"></script><script defer src="/static/js/415.bee53531.js"></script><script defer src="/static/js/index.b77f8513.js"></script><link href="/static/css/index.67caac18.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|