@swmansion/argent 0.28.1-next.1 → 0.28.1-next.2
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/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-args.generated.d.ts +6 -0
- package/dist/tool-server.cjs +400 -323
- package/package.json +1 -1
package/dist/tool-server.cjs
CHANGED
|
@@ -13223,8 +13223,8 @@ function finalize(ctx, schema) {
|
|
|
13223
13223
|
const root = ctx.seen.get(schema);
|
|
13224
13224
|
if (!root)
|
|
13225
13225
|
throw new Error("Unprocessed schema. This is a bug in Zod.");
|
|
13226
|
-
const flattenRef = (
|
|
13227
|
-
const seen = ctx.seen.get(
|
|
13226
|
+
const flattenRef = (zodSchema80) => {
|
|
13227
|
+
const seen = ctx.seen.get(zodSchema80);
|
|
13228
13228
|
if (seen.ref === null)
|
|
13229
13229
|
return;
|
|
13230
13230
|
const schema2 = seen.def ?? seen.schema;
|
|
@@ -13242,7 +13242,7 @@ function finalize(ctx, schema) {
|
|
|
13242
13242
|
Object.assign(schema2, refSchema);
|
|
13243
13243
|
}
|
|
13244
13244
|
Object.assign(schema2, _cached);
|
|
13245
|
-
const isParentRef =
|
|
13245
|
+
const isParentRef = zodSchema80._zod.parent === ref;
|
|
13246
13246
|
if (isParentRef) {
|
|
13247
13247
|
for (const key2 in schema2) {
|
|
13248
13248
|
if (key2 === "$ref" || key2 === "allOf")
|
|
@@ -13262,7 +13262,7 @@ function finalize(ctx, schema) {
|
|
|
13262
13262
|
}
|
|
13263
13263
|
}
|
|
13264
13264
|
}
|
|
13265
|
-
const parent =
|
|
13265
|
+
const parent = zodSchema80._zod.parent;
|
|
13266
13266
|
if (parent && parent !== ref) {
|
|
13267
13267
|
flattenRef(parent);
|
|
13268
13268
|
const parentSeen = ctx.seen.get(parent);
|
|
@@ -13280,7 +13280,7 @@ function finalize(ctx, schema) {
|
|
|
13280
13280
|
}
|
|
13281
13281
|
}
|
|
13282
13282
|
ctx.override({
|
|
13283
|
-
zodSchema:
|
|
13283
|
+
zodSchema: zodSchema80,
|
|
13284
13284
|
jsonSchema: schema2,
|
|
13285
13285
|
path: seen.path ?? []
|
|
13286
13286
|
});
|
|
@@ -16081,10 +16081,10 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16081
16081
|
}
|
|
16082
16082
|
ctx.processing.add(refPath);
|
|
16083
16083
|
const resolved = resolveRef(refPath, ctx);
|
|
16084
|
-
const
|
|
16085
|
-
ctx.refs.set(refPath,
|
|
16084
|
+
const zodSchema81 = convertSchema(resolved, ctx);
|
|
16085
|
+
ctx.refs.set(refPath, zodSchema81);
|
|
16086
16086
|
ctx.processing.delete(refPath);
|
|
16087
|
-
return
|
|
16087
|
+
return zodSchema81;
|
|
16088
16088
|
}
|
|
16089
16089
|
if (schema.enum !== void 0) {
|
|
16090
16090
|
const enumValues = schema.enum;
|
|
@@ -16126,7 +16126,7 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16126
16126
|
if (!type) {
|
|
16127
16127
|
return z.any();
|
|
16128
16128
|
}
|
|
16129
|
-
let
|
|
16129
|
+
let zodSchema80;
|
|
16130
16130
|
switch (type) {
|
|
16131
16131
|
case "string": {
|
|
16132
16132
|
let stringSchema = z.string();
|
|
@@ -16189,7 +16189,7 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16189
16189
|
if (schema.pattern) {
|
|
16190
16190
|
stringSchema = stringSchema.regex(new RegExp(schema.pattern));
|
|
16191
16191
|
}
|
|
16192
|
-
|
|
16192
|
+
zodSchema80 = stringSchema;
|
|
16193
16193
|
break;
|
|
16194
16194
|
}
|
|
16195
16195
|
case "number":
|
|
@@ -16214,15 +16214,15 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16214
16214
|
if (typeof schema.multipleOf === "number") {
|
|
16215
16215
|
numberSchema = numberSchema.multipleOf(schema.multipleOf);
|
|
16216
16216
|
}
|
|
16217
|
-
|
|
16217
|
+
zodSchema80 = numberSchema;
|
|
16218
16218
|
break;
|
|
16219
16219
|
}
|
|
16220
16220
|
case "boolean": {
|
|
16221
|
-
|
|
16221
|
+
zodSchema80 = z.boolean();
|
|
16222
16222
|
break;
|
|
16223
16223
|
}
|
|
16224
16224
|
case "null": {
|
|
16225
|
-
|
|
16225
|
+
zodSchema80 = z.null();
|
|
16226
16226
|
break;
|
|
16227
16227
|
}
|
|
16228
16228
|
case "object": {
|
|
@@ -16237,12 +16237,12 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16237
16237
|
const keySchema = convertSchema(schema.propertyNames, ctx);
|
|
16238
16238
|
const valueSchema = schema.additionalProperties && typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : z.any();
|
|
16239
16239
|
if (Object.keys(shape).length === 0) {
|
|
16240
|
-
|
|
16240
|
+
zodSchema80 = z.record(keySchema, valueSchema);
|
|
16241
16241
|
break;
|
|
16242
16242
|
}
|
|
16243
16243
|
const objectSchema2 = z.object(shape).passthrough();
|
|
16244
16244
|
const recordSchema = z.looseRecord(keySchema, valueSchema);
|
|
16245
|
-
|
|
16245
|
+
zodSchema80 = z.intersection(objectSchema2, recordSchema);
|
|
16246
16246
|
break;
|
|
16247
16247
|
}
|
|
16248
16248
|
if (schema.patternProperties) {
|
|
@@ -16260,25 +16260,25 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16260
16260
|
}
|
|
16261
16261
|
schemasToIntersect.push(...looseRecords);
|
|
16262
16262
|
if (schemasToIntersect.length === 0) {
|
|
16263
|
-
|
|
16263
|
+
zodSchema80 = z.object({}).passthrough();
|
|
16264
16264
|
} else if (schemasToIntersect.length === 1) {
|
|
16265
|
-
|
|
16265
|
+
zodSchema80 = schemasToIntersect[0];
|
|
16266
16266
|
} else {
|
|
16267
16267
|
let result = z.intersection(schemasToIntersect[0], schemasToIntersect[1]);
|
|
16268
16268
|
for (let i = 2; i < schemasToIntersect.length; i++) {
|
|
16269
16269
|
result = z.intersection(result, schemasToIntersect[i]);
|
|
16270
16270
|
}
|
|
16271
|
-
|
|
16271
|
+
zodSchema80 = result;
|
|
16272
16272
|
}
|
|
16273
16273
|
break;
|
|
16274
16274
|
}
|
|
16275
16275
|
const objectSchema = z.object(shape);
|
|
16276
16276
|
if (schema.additionalProperties === false) {
|
|
16277
|
-
|
|
16277
|
+
zodSchema80 = objectSchema.strict();
|
|
16278
16278
|
} else if (typeof schema.additionalProperties === "object") {
|
|
16279
|
-
|
|
16279
|
+
zodSchema80 = objectSchema.catchall(convertSchema(schema.additionalProperties, ctx));
|
|
16280
16280
|
} else {
|
|
16281
|
-
|
|
16281
|
+
zodSchema80 = objectSchema.passthrough();
|
|
16282
16282
|
}
|
|
16283
16283
|
break;
|
|
16284
16284
|
}
|
|
@@ -16289,29 +16289,29 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16289
16289
|
const tupleItems = prefixItems.map((item) => convertSchema(item, ctx));
|
|
16290
16290
|
const rest = items && typeof items === "object" && !Array.isArray(items) ? convertSchema(items, ctx) : void 0;
|
|
16291
16291
|
if (rest) {
|
|
16292
|
-
|
|
16292
|
+
zodSchema80 = z.tuple(tupleItems).rest(rest);
|
|
16293
16293
|
} else {
|
|
16294
|
-
|
|
16294
|
+
zodSchema80 = z.tuple(tupleItems);
|
|
16295
16295
|
}
|
|
16296
16296
|
if (typeof schema.minItems === "number") {
|
|
16297
|
-
|
|
16297
|
+
zodSchema80 = zodSchema80.check(z.minLength(schema.minItems));
|
|
16298
16298
|
}
|
|
16299
16299
|
if (typeof schema.maxItems === "number") {
|
|
16300
|
-
|
|
16300
|
+
zodSchema80 = zodSchema80.check(z.maxLength(schema.maxItems));
|
|
16301
16301
|
}
|
|
16302
16302
|
} else if (Array.isArray(items)) {
|
|
16303
16303
|
const tupleItems = items.map((item) => convertSchema(item, ctx));
|
|
16304
16304
|
const rest = schema.additionalItems && typeof schema.additionalItems === "object" ? convertSchema(schema.additionalItems, ctx) : void 0;
|
|
16305
16305
|
if (rest) {
|
|
16306
|
-
|
|
16306
|
+
zodSchema80 = z.tuple(tupleItems).rest(rest);
|
|
16307
16307
|
} else {
|
|
16308
|
-
|
|
16308
|
+
zodSchema80 = z.tuple(tupleItems);
|
|
16309
16309
|
}
|
|
16310
16310
|
if (typeof schema.minItems === "number") {
|
|
16311
|
-
|
|
16311
|
+
zodSchema80 = zodSchema80.check(z.minLength(schema.minItems));
|
|
16312
16312
|
}
|
|
16313
16313
|
if (typeof schema.maxItems === "number") {
|
|
16314
|
-
|
|
16314
|
+
zodSchema80 = zodSchema80.check(z.maxLength(schema.maxItems));
|
|
16315
16315
|
}
|
|
16316
16316
|
} else if (items !== void 0) {
|
|
16317
16317
|
const element = convertSchema(items, ctx);
|
|
@@ -16322,16 +16322,16 @@ function convertBaseSchema(schema, ctx) {
|
|
|
16322
16322
|
if (typeof schema.maxItems === "number") {
|
|
16323
16323
|
arraySchema = arraySchema.max(schema.maxItems);
|
|
16324
16324
|
}
|
|
16325
|
-
|
|
16325
|
+
zodSchema80 = arraySchema;
|
|
16326
16326
|
} else {
|
|
16327
|
-
|
|
16327
|
+
zodSchema80 = z.array(z.any());
|
|
16328
16328
|
}
|
|
16329
16329
|
break;
|
|
16330
16330
|
}
|
|
16331
16331
|
default:
|
|
16332
16332
|
throw new Error(`Unsupported type: ${type}`);
|
|
16333
16333
|
}
|
|
16334
|
-
return
|
|
16334
|
+
return zodSchema80;
|
|
16335
16335
|
}
|
|
16336
16336
|
function convertSchema(schema, ctx) {
|
|
16337
16337
|
if (typeof schema === "boolean") {
|
|
@@ -73655,16 +73655,16 @@ function lookupExternalDeviceNow(id) {
|
|
|
73655
73655
|
}
|
|
73656
73656
|
return device;
|
|
73657
73657
|
}
|
|
73658
|
-
async function assertExternalCapability(namespace, device,
|
|
73659
|
-
assertExternalCapabilitySync(namespace, device,
|
|
73658
|
+
async function assertExternalCapability(namespace, device, capability37) {
|
|
73659
|
+
assertExternalCapabilitySync(namespace, device, capability37);
|
|
73660
73660
|
}
|
|
73661
|
-
function assertExternalCapabilitySync(namespace, device,
|
|
73661
|
+
function assertExternalCapabilitySync(namespace, device, capability37) {
|
|
73662
73662
|
const id = typeof device === "string" ? device : device.id;
|
|
73663
73663
|
const externalDevice = isExternalId(id) ? lookupExternalDeviceNow(id) : externalClaimForNativeId(id);
|
|
73664
73664
|
if (!externalDevice) return;
|
|
73665
|
-
if (externalDevice.capabilities.has(
|
|
73665
|
+
if (externalDevice.capabilities.has(capability37)) return;
|
|
73666
73666
|
throw new FailureError(
|
|
73667
|
-
`${namespace} is not available on '${externalDevice.name}': ${externalDevice.provider.name} did not grant the '${
|
|
73667
|
+
`${namespace} is not available on '${externalDevice.name}': ${externalDevice.provider.name} did not grant the '${capability37}' capability for this device.`,
|
|
73668
73668
|
{
|
|
73669
73669
|
error_code: FAILURE_CODES.EXTERNAL_DEVICE_CAPABILITY_DENIED,
|
|
73670
73670
|
error_kind: "unsupported",
|
|
@@ -94920,7 +94920,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94920
94920
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94921
94921
|
function readCliVersion() {
|
|
94922
94922
|
if (true) {
|
|
94923
|
-
return "0.28.1-next.
|
|
94923
|
+
return "0.28.1-next.2";
|
|
94924
94924
|
}
|
|
94925
94925
|
return "0.0.0";
|
|
94926
94926
|
}
|
|
@@ -96694,8 +96694,8 @@ async function simctlArgsForUdid(udid, args, options) {
|
|
|
96694
96694
|
return [...simctlPrefix(await deviceSetForUdid(udid)), ...nativeArgs(udid, args)];
|
|
96695
96695
|
}
|
|
96696
96696
|
function assertSimctlEntitlement(udid, options) {
|
|
96697
|
-
const
|
|
96698
|
-
assertExternalCapabilitySync(
|
|
96697
|
+
const capability37 = options?.granted ?? "simctl";
|
|
96698
|
+
assertExternalCapabilitySync(capability37, udid, capability37);
|
|
96699
96699
|
}
|
|
96700
96700
|
async function simctlTargetForUdid(udid, options) {
|
|
96701
96701
|
assertSimctlEntitlement(udid, options);
|
|
@@ -97869,23 +97869,23 @@ var InvalidToolInputError = class extends Error {
|
|
|
97869
97869
|
});
|
|
97870
97870
|
}
|
|
97871
97871
|
};
|
|
97872
|
-
function platformMatrix(platform,
|
|
97872
|
+
function platformMatrix(platform, capability37) {
|
|
97873
97873
|
switch (platform) {
|
|
97874
97874
|
case "ios":
|
|
97875
|
-
return
|
|
97875
|
+
return capability37.apple;
|
|
97876
97876
|
case "ios-remote":
|
|
97877
|
-
return
|
|
97877
|
+
return capability37.appleRemote;
|
|
97878
97878
|
case "android":
|
|
97879
|
-
return
|
|
97879
|
+
return capability37.android;
|
|
97880
97880
|
case "chromium":
|
|
97881
|
-
return
|
|
97881
|
+
return capability37.chromium;
|
|
97882
97882
|
case "vega":
|
|
97883
|
-
return
|
|
97883
|
+
return capability37.vega;
|
|
97884
97884
|
}
|
|
97885
97885
|
}
|
|
97886
|
-
function assertSupported(toolId,
|
|
97887
|
-
if (!
|
|
97888
|
-
const matrix = platformMatrix(device.platform,
|
|
97886
|
+
function assertSupported(toolId, capability37, device) {
|
|
97887
|
+
if (!capability37) return;
|
|
97888
|
+
const matrix = platformMatrix(device.platform, capability37);
|
|
97889
97889
|
if (!matrix) {
|
|
97890
97890
|
throw new UnsupportedOperationError(toolId, device, `no ${device.platform} support declared`);
|
|
97891
97891
|
}
|
|
@@ -97893,7 +97893,7 @@ function assertSupported(toolId, capability36, device) {
|
|
|
97893
97893
|
if (!supported) {
|
|
97894
97894
|
throw new UnsupportedOperationError(toolId, device, `kind '${device.kind}' not supported`);
|
|
97895
97895
|
}
|
|
97896
|
-
if (
|
|
97896
|
+
if (capability37.supports && !capability37.supports(device)) {
|
|
97897
97897
|
throw new UnsupportedOperationError(toolId, device, "supports() refiner rejected device");
|
|
97898
97898
|
}
|
|
97899
97899
|
}
|
|
@@ -122976,15 +122976,91 @@ Returns { restarted, bundleId }. Fails if the app is not installed.`,
|
|
|
122976
122976
|
};
|
|
122977
122977
|
}
|
|
122978
122978
|
|
|
122979
|
+
// ../tool-server/src/tools/terminate-app/index.ts
|
|
122980
|
+
var import_node_child_process28 = require("node:child_process");
|
|
122981
|
+
var import_node_util21 = require("node:util");
|
|
122982
|
+
init_zod();
|
|
122983
|
+
init_adb();
|
|
122984
|
+
var execFileAsync21 = (0, import_node_util21.promisify)(import_node_child_process28.execFile);
|
|
122985
|
+
var zodSchema12 = external_exports.object({
|
|
122986
|
+
udid: external_exports.string().min(1).describe("Target device id from `list-devices`."),
|
|
122987
|
+
bundleId: external_exports.string().min(1).regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).describe("App identifier. iOS: bundle id. Android: package name.")
|
|
122988
|
+
});
|
|
122989
|
+
var capability4 = {
|
|
122990
|
+
apple: { simulator: true },
|
|
122991
|
+
appleRemote: { simulator: true },
|
|
122992
|
+
android: { emulator: true, device: true, unknown: true },
|
|
122993
|
+
vega: { vvd: true }
|
|
122994
|
+
};
|
|
122995
|
+
async function tolerateNotRunning(terminate) {
|
|
122996
|
+
try {
|
|
122997
|
+
await terminate;
|
|
122998
|
+
return true;
|
|
122999
|
+
} catch (err) {
|
|
123000
|
+
const e = err;
|
|
123001
|
+
if (/found nothing to terminate/i.test(`${e.stderr ?? ""} ${e.message ?? ""}`)) return false;
|
|
123002
|
+
throw err;
|
|
123003
|
+
}
|
|
123004
|
+
}
|
|
123005
|
+
var terminateAppTool = {
|
|
123006
|
+
id: "terminate-app",
|
|
123007
|
+
interaction: {
|
|
123008
|
+
startedMsg: ({ params }) => `Terminating ${params.bundleId}`,
|
|
123009
|
+
completedMsg: ({ params }) => `Terminated ${params.bundleId}`,
|
|
123010
|
+
failedMsg: ({ params, failureSignal: failureSignal2 }) => `Failed to terminate ${params.bundleId}: ${failureSignal2.error_code}`
|
|
123011
|
+
},
|
|
123012
|
+
description: `Stop a running app without relaunching it, for SDK callers.
|
|
123013
|
+
Use when a program needs the app closed between steps; agents use restart-app.
|
|
123014
|
+
Returns { terminated, bundleId }; terminated is false on iOS when the app was not running.
|
|
123015
|
+
Succeeds when the app is not running or not installed.`,
|
|
123016
|
+
hideFromMcp: true,
|
|
123017
|
+
zodSchema: zodSchema12,
|
|
123018
|
+
capability: capability4,
|
|
123019
|
+
services: () => ({}),
|
|
123020
|
+
execute: dispatchByPlatform({
|
|
123021
|
+
toolId: "terminate-app",
|
|
123022
|
+
capability: capability4,
|
|
123023
|
+
ios: {
|
|
123024
|
+
requires: ["xcrun"],
|
|
123025
|
+
handler: async (_services, { udid, bundleId }) => {
|
|
123026
|
+
const args = await simctlArgsForUdid(udid, ["terminate", udid, bundleId]);
|
|
123027
|
+
const terminated = await tolerateNotRunning(execFileAsync21("xcrun", args));
|
|
123028
|
+
return { terminated, bundleId };
|
|
123029
|
+
}
|
|
123030
|
+
},
|
|
123031
|
+
iosRemote: {
|
|
123032
|
+
requires: ["sim-remote"],
|
|
123033
|
+
handler: async (_services, { udid, bundleId }) => {
|
|
123034
|
+
const terminated = await tolerateNotRunning(remoteSimctl.terminate(udid, bundleId));
|
|
123035
|
+
return { terminated, bundleId };
|
|
123036
|
+
}
|
|
123037
|
+
},
|
|
123038
|
+
android: {
|
|
123039
|
+
requires: ["adb"],
|
|
123040
|
+
handler: async (_services, { udid, bundleId }) => {
|
|
123041
|
+
await adbShell(udid, `am force-stop ${shellQuote(bundleId)}`, { timeoutMs: 15e3 });
|
|
123042
|
+
return { terminated: true, bundleId };
|
|
123043
|
+
}
|
|
123044
|
+
},
|
|
123045
|
+
vega: {
|
|
123046
|
+
requires: ["vega"],
|
|
123047
|
+
handler: async (_services, { udid, bundleId }) => {
|
|
123048
|
+
await vegaDevice(udid, ["terminate-app", "-a", bundleId], { timeoutMs: 4e4 });
|
|
123049
|
+
return { terminated: true, bundleId };
|
|
123050
|
+
}
|
|
123051
|
+
}
|
|
123052
|
+
})
|
|
123053
|
+
};
|
|
123054
|
+
|
|
122979
123055
|
// ../tool-server/src/tools/reinstall-app/index.ts
|
|
122980
123056
|
init_zod();
|
|
122981
123057
|
|
|
122982
123058
|
// ../tool-server/src/tools/reinstall-app/platforms/ios.ts
|
|
122983
|
-
var
|
|
122984
|
-
var
|
|
123059
|
+
var import_node_child_process29 = require("node:child_process");
|
|
123060
|
+
var import_node_util22 = require("node:util");
|
|
122985
123061
|
var import_node_path16 = require("node:path");
|
|
122986
123062
|
init_src2();
|
|
122987
|
-
var
|
|
123063
|
+
var execFileAsync22 = (0, import_node_util22.promisify)(import_node_child_process29.execFile);
|
|
122988
123064
|
var iosImpl = {
|
|
122989
123065
|
requires: ["xcrun"],
|
|
122990
123066
|
handler: async (_services, params) => {
|
|
@@ -122992,11 +123068,11 @@ var iosImpl = {
|
|
|
122992
123068
|
const absolute = (0, import_node_path16.resolve)(appPath);
|
|
122993
123069
|
const { nativeId, prefix } = await simctlTargetForUdid(udid);
|
|
122994
123070
|
try {
|
|
122995
|
-
await
|
|
123071
|
+
await execFileAsync22("xcrun", [...prefix, "uninstall", nativeId, bundleId]);
|
|
122996
123072
|
} catch {
|
|
122997
123073
|
}
|
|
122998
123074
|
try {
|
|
122999
|
-
await
|
|
123075
|
+
await execFileAsync22("xcrun", [...prefix, "install", nativeId, absolute]);
|
|
123000
123076
|
} catch (err) {
|
|
123001
123077
|
throw new FailureError(
|
|
123002
123078
|
`Failed to install iOS app bundle on ${udid}.`,
|
|
@@ -123113,7 +123189,7 @@ ${stderr}`;
|
|
|
123113
123189
|
};
|
|
123114
123190
|
|
|
123115
123191
|
// ../tool-server/src/tools/reinstall-app/index.ts
|
|
123116
|
-
var
|
|
123192
|
+
var zodSchema13 = external_exports.object({
|
|
123117
123193
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
123118
123194
|
bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).describe(
|
|
123119
123195
|
"App identifier that matches the bundle at `appPath`. iOS: bundle id (used to uninstall first). Android: package name (used to uninstall first; the install itself identifies the app from the APK). Vega: interactive component app id (e.g. com.example.app.main), used to uninstall first."
|
|
@@ -123122,7 +123198,7 @@ var zodSchema12 = external_exports.object({
|
|
|
123122
123198
|
"Path to the app bundle. iOS: `.app` directory (e.g. ./build/.../MyApp.app). Android: `.apk` file (e.g. android/app/build/outputs/apk/debug/app-debug.apk). Vega: `.vpkg` file. Relative paths are resolved from the current working directory."
|
|
123123
123199
|
)
|
|
123124
123200
|
});
|
|
123125
|
-
var
|
|
123201
|
+
var capability5 = {
|
|
123126
123202
|
apple: { simulator: true, device: true },
|
|
123127
123203
|
appleRemote: { simulator: true },
|
|
123128
123204
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -123138,13 +123214,13 @@ var reinstallAppTool = {
|
|
|
123138
123214
|
description: `Install or reinstall an app on the device. The previous installation (if any) is uninstalled first so app data and runtime permissions are cleared.
|
|
123139
123215
|
Use for a full reinstall after rebuilding, or to start from a clean app state.
|
|
123140
123216
|
Returns { reinstalled, bundleId }. Fails if the app path does not exist or the package does not match the platform (.app for iOS, .apk for Android, .vpkg for Vega).`,
|
|
123141
|
-
zodSchema:
|
|
123142
|
-
capability:
|
|
123217
|
+
zodSchema: zodSchema13,
|
|
123218
|
+
capability: capability5,
|
|
123143
123219
|
fileInputs: [{ target: "appPath", path: "${appPath}", kind: "tar-upload" }],
|
|
123144
123220
|
services: () => ({}),
|
|
123145
123221
|
execute: dispatchByPlatform({
|
|
123146
123222
|
toolId: "reinstall-app",
|
|
123147
|
-
capability:
|
|
123223
|
+
capability: capability5,
|
|
123148
123224
|
ios: iosImpl,
|
|
123149
123225
|
android: androidImpl3,
|
|
123150
123226
|
iosDevice: iosDeviceImpl3,
|
|
@@ -123173,10 +123249,10 @@ var PERMISSION_NAMES = [
|
|
|
123173
123249
|
];
|
|
123174
123250
|
|
|
123175
123251
|
// ../tool-server/src/tools/settings-permissions/platforms/ios.ts
|
|
123176
|
-
var
|
|
123177
|
-
var
|
|
123252
|
+
var import_node_child_process30 = require("node:child_process");
|
|
123253
|
+
var import_node_util23 = require("node:util");
|
|
123178
123254
|
init_src2();
|
|
123179
|
-
var
|
|
123255
|
+
var execFileAsync23 = (0, import_node_util23.promisify)(import_node_child_process30.execFile);
|
|
123180
123256
|
var SIMCTL_ACTION = {
|
|
123181
123257
|
grant: "grant",
|
|
123182
123258
|
deny: "revoke",
|
|
@@ -123201,7 +123277,7 @@ var NON_TCC_GRANT_NEEDS_INSTALL = /* @__PURE__ */ new Set([
|
|
|
123201
123277
|
]);
|
|
123202
123278
|
var localBackend = {
|
|
123203
123279
|
async run(udid, simctlAction, service, bundleId) {
|
|
123204
|
-
await
|
|
123280
|
+
await execFileAsync23(
|
|
123205
123281
|
"xcrun",
|
|
123206
123282
|
await simctlArgsForUdid(udid, ["privacy", udid, simctlAction, service, bundleId]),
|
|
123207
123283
|
{ timeout: 3e4 }
|
|
@@ -123209,7 +123285,7 @@ var localBackend = {
|
|
|
123209
123285
|
},
|
|
123210
123286
|
async isInstalled(udid, bundleId) {
|
|
123211
123287
|
try {
|
|
123212
|
-
await
|
|
123288
|
+
await execFileAsync23(
|
|
123213
123289
|
"xcrun",
|
|
123214
123290
|
await simctlArgsForUdid(udid, ["get_app_container", udid, bundleId]),
|
|
123215
123291
|
{ timeout: 15e3 }
|
|
@@ -123435,7 +123511,7 @@ var androidImpl4 = {
|
|
|
123435
123511
|
};
|
|
123436
123512
|
|
|
123437
123513
|
// ../tool-server/src/tools/settings-permissions/index.ts
|
|
123438
|
-
var
|
|
123514
|
+
var zodSchema14 = external_exports.object({
|
|
123439
123515
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS simulator UDID or Android serial)."),
|
|
123440
123516
|
action: external_exports.enum(PERMISSION_ACTIONS).describe(
|
|
123441
123517
|
"`grant` pre-authorizes the permission, `deny` refuses it, `reset` returns it to the not-yet-asked state so the app prompts on next use."
|
|
@@ -123452,7 +123528,7 @@ var permissionAction = {
|
|
|
123452
123528
|
deny: { started: "Denying", completed: "Denied" },
|
|
123453
123529
|
reset: { started: "Resetting", completed: "Reset" }
|
|
123454
123530
|
};
|
|
123455
|
-
var
|
|
123531
|
+
var capability6 = {
|
|
123456
123532
|
// `simctl privacy` edits the simulator's TCC store; physical iPhones have no
|
|
123457
123533
|
// equivalent host-side switch, hence no `device: true`.
|
|
123458
123534
|
apple: { simulator: true },
|
|
@@ -123475,12 +123551,12 @@ Android: changes the mapped \`android.permission.*\` runtime permissions (reset
|
|
|
123475
123551
|
Some permission changes terminate the app if it is running (system behavior on both platforms) \u2014 set permissions before launching, or relaunch after.
|
|
123476
123552
|
Returns { action, permission, bundleId, applied, skipped? }: \`applied\` lists the platform-level services/permissions actually changed; \`skipped\` (Android) lists mapped permissions the package manager rejected, e.g. ones the manifest doesn't declare. Fails if nothing could be applied.`,
|
|
123477
123553
|
searchHint: "grant deny reset revoke app permissions privacy camera microphone location settings",
|
|
123478
|
-
zodSchema:
|
|
123479
|
-
capability:
|
|
123554
|
+
zodSchema: zodSchema14,
|
|
123555
|
+
capability: capability6,
|
|
123480
123556
|
services: () => ({}),
|
|
123481
123557
|
execute: dispatchByPlatform({
|
|
123482
123558
|
toolId: "settings-permissions",
|
|
123483
|
-
capability:
|
|
123559
|
+
capability: capability6,
|
|
123484
123560
|
ios: iosImpl2,
|
|
123485
123561
|
iosRemote: iosRemoteImpl4,
|
|
123486
123562
|
android: androidImpl4
|
|
@@ -123492,8 +123568,8 @@ init_zod();
|
|
|
123492
123568
|
init_device_info();
|
|
123493
123569
|
|
|
123494
123570
|
// ../tool-server/src/tools/open-url/platforms/ios.ts
|
|
123495
|
-
var
|
|
123496
|
-
var
|
|
123571
|
+
var import_node_child_process31 = require("node:child_process");
|
|
123572
|
+
var import_node_util24 = require("node:util");
|
|
123497
123573
|
init_src2();
|
|
123498
123574
|
|
|
123499
123575
|
// ../tool-server/src/tools/open-url/deep-link-note.ts
|
|
@@ -123503,12 +123579,12 @@ function httpDeepLinkNote(url2) {
|
|
|
123503
123579
|
}
|
|
123504
123580
|
|
|
123505
123581
|
// ../tool-server/src/tools/open-url/platforms/ios.ts
|
|
123506
|
-
var
|
|
123582
|
+
var execFileAsync24 = (0, import_node_util24.promisify)(import_node_child_process31.execFile);
|
|
123507
123583
|
var iosImpl3 = {
|
|
123508
123584
|
requires: ["xcrun"],
|
|
123509
123585
|
handler: async (_services, params) => {
|
|
123510
123586
|
try {
|
|
123511
|
-
await
|
|
123587
|
+
await execFileAsync24(
|
|
123512
123588
|
"xcrun",
|
|
123513
123589
|
await simctlArgsForUdid(params.udid, ["openurl", params.udid, params.url])
|
|
123514
123590
|
);
|
|
@@ -123607,7 +123683,7 @@ var chromiumImpl2 = {
|
|
|
123607
123683
|
};
|
|
123608
123684
|
|
|
123609
123685
|
// ../tool-server/src/tools/open-url/index.ts
|
|
123610
|
-
var
|
|
123686
|
+
var zodSchema15 = external_exports.object({
|
|
123611
123687
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id)."),
|
|
123612
123688
|
url: external_exports.string().describe(
|
|
123613
123689
|
"URL or scheme to open (e.g. https://example.com, messages://, tel:555, geo:37.0,-122.0). For Chromium this navigates the renderer."
|
|
@@ -123624,7 +123700,7 @@ function safeDestination(value) {
|
|
|
123624
123700
|
return "URL";
|
|
123625
123701
|
}
|
|
123626
123702
|
}
|
|
123627
|
-
var
|
|
123703
|
+
var capability7 = {
|
|
123628
123704
|
apple: { simulator: true, device: true },
|
|
123629
123705
|
appleRemote: { simulator: true },
|
|
123630
123706
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -123643,8 +123719,8 @@ Cross-platform schemes: https://, tel:, mailto:. iOS also: messages://, settings
|
|
|
123643
123719
|
Deep-linking caveat: an https:// link opens the native app only when an installed app is verified for the link's domain (iOS Universal Links / Android App Links) \u2014 otherwise it opens in the browser, and on iOS simulators it may open in Safari even when the owning app is installed. To reliably open an installed app, use its custom scheme (scheme://path) or launch-app with its bundle id.
|
|
123644
123720
|
On a physical iPhone, http(s) URLs default to Safari and any other scheme needs bundleId; the receiving app becomes the app under automation.
|
|
123645
123721
|
Returns { opened, url, note? }. note carries the deep-linking caveat when a web URL was opened on a native device. Fails if no app is registered to handle the URI (iOS/Android) or the renderer rejects the navigation (Chromium).`,
|
|
123646
|
-
zodSchema:
|
|
123647
|
-
capability:
|
|
123722
|
+
zodSchema: zodSchema15,
|
|
123723
|
+
capability: capability7,
|
|
123648
123724
|
services: (params) => {
|
|
123649
123725
|
const device = resolveDevice(params.udid);
|
|
123650
123726
|
if (device.platform === "chromium") {
|
|
@@ -123654,7 +123730,7 @@ Returns { opened, url, note? }. note carries the deep-linking caveat when a web
|
|
|
123654
123730
|
},
|
|
123655
123731
|
execute: dispatchByPlatform({
|
|
123656
123732
|
toolId: "open-url",
|
|
123657
|
-
capability:
|
|
123733
|
+
capability: capability7,
|
|
123658
123734
|
ios: iosImpl3,
|
|
123659
123735
|
iosDevice: iosDeviceImpl4,
|
|
123660
123736
|
android: androidImpl5,
|
|
@@ -123664,8 +123740,8 @@ Returns { opened, url, note? }. note carries the deep-linking caveat when a web
|
|
|
123664
123740
|
};
|
|
123665
123741
|
|
|
123666
123742
|
// ../tool-server/src/tools/screenshot/index.ts
|
|
123667
|
-
var
|
|
123668
|
-
var
|
|
123743
|
+
var import_node_child_process32 = require("node:child_process");
|
|
123744
|
+
var import_node_util25 = require("node:util");
|
|
123669
123745
|
var os13 = __toESM(require("node:os"));
|
|
123670
123746
|
var path29 = __toESM(require("node:path"));
|
|
123671
123747
|
init_zod();
|
|
@@ -124237,8 +124313,8 @@ function scalePng(src, scale) {
|
|
|
124237
124313
|
|
|
124238
124314
|
// ../tool-server/src/tools/screenshot/index.ts
|
|
124239
124315
|
var fs35 = __toESM(require("node:fs/promises"));
|
|
124240
|
-
var
|
|
124241
|
-
var
|
|
124316
|
+
var execFileAsync25 = (0, import_node_util25.promisify)(import_node_child_process32.execFile);
|
|
124317
|
+
var zodSchema16 = external_exports.object({
|
|
124242
124318
|
udid: external_exports.string().describe(
|
|
124243
124319
|
"Target device id from `list-devices` (iOS UDID, Android serial, Apple TV UDID, Vega serial, or Chromium id)."
|
|
124244
124320
|
),
|
|
@@ -124255,7 +124331,7 @@ var zodSchema15 = external_exports.object({
|
|
|
124255
124331
|
"Downscaling algorithm when scale<1 on Chromium. Defaults to lanczos3 (highest quality). Mirrors sim-server's wire enum. Ignored on physical iPhones."
|
|
124256
124332
|
)
|
|
124257
124333
|
});
|
|
124258
|
-
var
|
|
124334
|
+
var capability8 = {
|
|
124259
124335
|
apple: { simulator: true, device: true },
|
|
124260
124336
|
appleRemote: { simulator: true },
|
|
124261
124337
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -124278,11 +124354,11 @@ async function tvScreenshot(udid, scale, signal) {
|
|
|
124278
124354
|
os13.tmpdir(),
|
|
124279
124355
|
`argent-tv-screenshot-${udid.slice(0, 8)}-${process.hrtime.bigint()}.png`
|
|
124280
124356
|
);
|
|
124281
|
-
await
|
|
124357
|
+
await execFileAsync25("xcrun", await simctlArgsForUdid(udid, ["io", udid, "screenshot", file2]), {
|
|
124282
124358
|
signal
|
|
124283
124359
|
});
|
|
124284
124360
|
if (scale < 1) {
|
|
124285
|
-
await
|
|
124361
|
+
await execFileAsync25("sips", ["-Z", String(await tvTargetLongSide(file2, scale)), file2], {
|
|
124286
124362
|
signal
|
|
124287
124363
|
}).catch(() => {
|
|
124288
124364
|
});
|
|
@@ -124292,7 +124368,7 @@ async function tvScreenshot(udid, scale, signal) {
|
|
|
124292
124368
|
async function tvTargetLongSide(file2, scale) {
|
|
124293
124369
|
let longSide = 3840;
|
|
124294
124370
|
try {
|
|
124295
|
-
const { stdout } = await
|
|
124371
|
+
const { stdout } = await execFileAsync25("sips", ["-g", "pixelWidth", "-g", "pixelHeight", file2]);
|
|
124296
124372
|
const width = Number(/pixelWidth:\s*(\d+)/.exec(stdout)?.[1]);
|
|
124297
124373
|
const height = Number(/pixelHeight:\s*(\d+)/.exec(stdout)?.[1]);
|
|
124298
124374
|
if (Number.isFinite(width) && Number.isFinite(height) && width > 0 && height > 0) {
|
|
@@ -124306,7 +124382,7 @@ async function downscalePngInPlace(file2, scale, signal) {
|
|
|
124306
124382
|
if (scale >= 1) {
|
|
124307
124383
|
return;
|
|
124308
124384
|
}
|
|
124309
|
-
await
|
|
124385
|
+
await execFileAsync25("sips", ["-Z", String(await tvTargetLongSide(file2, scale)), file2], {
|
|
124310
124386
|
signal
|
|
124311
124387
|
}).catch(() => {
|
|
124312
124388
|
});
|
|
@@ -124324,9 +124400,9 @@ Use when you need a baseline image before an interaction or to inspect the curre
|
|
|
124324
124400
|
Fails if the simulator-server / emulator backend / Chromium CDP is not reachable for the given device.`,
|
|
124325
124401
|
alwaysLoad: true,
|
|
124326
124402
|
searchHint: "device simulator emulator chromium screen image capture baseline tvos apple tv",
|
|
124327
|
-
zodSchema:
|
|
124403
|
+
zodSchema: zodSchema16,
|
|
124328
124404
|
outputHint: "image",
|
|
124329
|
-
capability:
|
|
124405
|
+
capability: capability8,
|
|
124330
124406
|
// No eager service: a tvOS udid classifies as iOS by shape, so declaring
|
|
124331
124407
|
// simulator-server here would spawn it for a device it cannot drive and hang
|
|
124332
124408
|
// on the ready timeout. Resolve the backend lazily instead.
|
|
@@ -124450,7 +124526,7 @@ async function assertChromiumWindowVisible(chromium, action) {
|
|
|
124450
124526
|
// ../tool-server/src/tools/gesture-tap/index.ts
|
|
124451
124527
|
init_device_info();
|
|
124452
124528
|
var sleep2 = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
124453
|
-
var
|
|
124529
|
+
var zodSchema17 = external_exports.object({
|
|
124454
124530
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id)."),
|
|
124455
124531
|
x: external_exports.number().describe("Normalized horizontal position 0.0\u20131.0 (left=0, right=1), not pixels"),
|
|
124456
124532
|
y: external_exports.number().describe("Normalized vertical position 0.0\u20131.0 (top=0, bottom=1), not pixels"),
|
|
@@ -124463,7 +124539,7 @@ function tapDescription(params, tense) {
|
|
|
124463
124539
|
const action = count2 === 1 ? tense === "present" ? "Tapping" : "Tapped" : count2 === 2 ? tense === "present" ? "Double-tapping" : "Double-tapped" : `${tense === "present" ? "Tapping" : "Tapped"} ${count2} times`;
|
|
124464
124540
|
return `${action} at (${Math.round(params.x * 100)}%, ${Math.round(params.y * 100)}%)`;
|
|
124465
124541
|
}
|
|
124466
|
-
var
|
|
124542
|
+
var capability9 = {
|
|
124467
124543
|
apple: { simulator: true, device: true },
|
|
124468
124544
|
appleRemote: { simulator: true },
|
|
124469
124545
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -124499,8 +124575,8 @@ On a physical iPhone use \`describe\`; \`native-describe-screen\` is simulator-o
|
|
|
124499
124575
|
Before tapping, determine the correct coordinates by using discovery tools \u2014 pick by platform: iOS / Android use \`describe\`, \`native-describe-screen\`, or \`debugger-component-tree\`; Chromium uses \`describe\` (the DOM walker), since the native and RN-specific discovery tools don't apply. More information in \`argent-device-interact\` skill`,
|
|
124500
124576
|
alwaysLoad: true,
|
|
124501
124577
|
searchHint: "tap press button element device simulator emulator chromium touch down up click",
|
|
124502
|
-
zodSchema:
|
|
124503
|
-
capability:
|
|
124578
|
+
zodSchema: zodSchema17,
|
|
124579
|
+
capability: capability9,
|
|
124504
124580
|
services: (params) => {
|
|
124505
124581
|
const device = resolveDevice(params.udid);
|
|
124506
124582
|
if (device.platform === "chromium") {
|
|
@@ -124565,7 +124641,7 @@ var MOMENTUM_FREE_EASE_EXPONENT = 3;
|
|
|
124565
124641
|
var DEFAULT_DURATION_MS = 300;
|
|
124566
124642
|
var MOMENTUM_FREE_MIN_DURATION_MS = 150;
|
|
124567
124643
|
var MAX_DURATION_MS = 1e4;
|
|
124568
|
-
var
|
|
124644
|
+
var zodSchema18 = external_exports.object({
|
|
124569
124645
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
124570
124646
|
fromX: external_exports.number().describe("Start x: normalized 0.0\u20131.0 (not pixels; same as tap)"),
|
|
124571
124647
|
fromY: external_exports.number().describe("Start y: normalized 0.0\u20131.0 (not pixels; same as tap)"),
|
|
@@ -124594,7 +124670,7 @@ var zodSchema17 = external_exports.object({
|
|
|
124594
124670
|
path: ["durationMs"]
|
|
124595
124671
|
}
|
|
124596
124672
|
);
|
|
124597
|
-
var
|
|
124673
|
+
var capability10 = {
|
|
124598
124674
|
apple: { simulator: true, device: true },
|
|
124599
124675
|
appleRemote: { simulator: true },
|
|
124600
124676
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -124616,8 +124692,8 @@ Physical iOS: an edge gesture (back-swipe) needs fromX 0 exactly; durationMs set
|
|
|
124616
124692
|
Pass momentum:false for a momentum-free swipe that lands where the finger lifts (little to no fling at the 300 default), when you need a deterministic scroll distance; it needs durationMs >= 150 and is rejected below that, a shorter ease-out leaving the OS too little wall clock to read the deceleration as a stop. At 150 it lands short of the lift point instead, and 2 of 47 runs still flung backwards. A plain swipe takes any duration up to 10000ms and is delivered as close to the speed it was authored as a 16ms frame allows: below ~32ms the whole travel lands in one or two frames, which the OS flings as hard as it flings anything. Returns { swiped: true, timestampMs }. On physical iOS, reactivated: true = app was re-fronted; re-describe. Fails if the simulator-server / emulator backend is not reachable for the given device.`,
|
|
124617
124693
|
alwaysLoad: true,
|
|
124618
124694
|
searchHint: "swipe scroll drag pan gesture device simulator emulator touch move",
|
|
124619
|
-
zodSchema:
|
|
124620
|
-
capability:
|
|
124695
|
+
zodSchema: zodSchema18,
|
|
124696
|
+
capability: capability10,
|
|
124621
124697
|
services: (params) => {
|
|
124622
124698
|
const device = resolveDevice(params.udid);
|
|
124623
124699
|
if (isIosPhysicalDevice(device)) {
|
|
@@ -124711,7 +124787,7 @@ Pass momentum:false for a momentum-free swipe that lands where the finger lifts
|
|
|
124711
124787
|
init_zod();
|
|
124712
124788
|
init_device_info();
|
|
124713
124789
|
var sleep4 = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
124714
|
-
var
|
|
124790
|
+
var zodSchema19 = external_exports.object({
|
|
124715
124791
|
udid: external_exports.string().describe("Target Chromium device id from `list-devices` (chromium-cdp-<port>)."),
|
|
124716
124792
|
x: external_exports.number().describe(
|
|
124717
124793
|
"Anchor x: normalized 0.0\u20131.0 (fraction of window width, not pixels). The wheel events land here \u2014 put it over the element you want to scroll."
|
|
@@ -124736,7 +124812,7 @@ function scrollDirection(params) {
|
|
|
124736
124812
|
if ((params.deltaY ?? 0) === 0) return horizontal;
|
|
124737
124813
|
return `${vertical} and ${horizontal}`;
|
|
124738
124814
|
}
|
|
124739
|
-
var
|
|
124815
|
+
var capability11 = {
|
|
124740
124816
|
chromium: { app: true }
|
|
124741
124817
|
};
|
|
124742
124818
|
var gestureScrollTool = {
|
|
@@ -124751,8 +124827,8 @@ Use when content is below/above the fold (describe shows off-screen elements wit
|
|
|
124751
124827
|
Returns { scrolled: true, timestampMs }. Fails if the Chromium CDP session is not reachable for the given device.`,
|
|
124752
124828
|
alwaysLoad: true,
|
|
124753
124829
|
searchHint: "scroll wheel list page chromium mouse down up content fold",
|
|
124754
|
-
zodSchema:
|
|
124755
|
-
capability:
|
|
124830
|
+
zodSchema: zodSchema19,
|
|
124831
|
+
capability: capability11,
|
|
124756
124832
|
services: (params) => ({
|
|
124757
124833
|
chromium: chromiumCdpRef(resolveDevice(params.udid))
|
|
124758
124834
|
}),
|
|
@@ -124781,7 +124857,7 @@ var sleep5 = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
|
124781
124857
|
var MOMENTUM_FREE_EASE_EXPONENT2 = 3;
|
|
124782
124858
|
var MOMENTUM_FREE_MIN_STEPS = 8;
|
|
124783
124859
|
var MAX_DURATION_MS2 = 1e4;
|
|
124784
|
-
var
|
|
124860
|
+
var zodSchema20 = external_exports.object({
|
|
124785
124861
|
udid: external_exports.string().describe("Target Chromium device id from `list-devices` (chromium-cdp-<port>)."),
|
|
124786
124862
|
fromX: external_exports.number().describe("Press x: normalized 0.0\u20131.0 (fraction of window width, not pixels)."),
|
|
124787
124863
|
fromY: external_exports.number().describe("Press y: normalized 0.0\u20131.0 (fraction of window height, not pixels)."),
|
|
@@ -124803,7 +124879,7 @@ var zodSchema19 = external_exports.object({
|
|
|
124803
124879
|
"Retired: renamed to `momentum` with the opposite sense. Pass `momentum: false` for what `settle: true` meant; `settle: false` was the default, so drop the key."
|
|
124804
124880
|
)
|
|
124805
124881
|
});
|
|
124806
|
-
var
|
|
124882
|
+
var capability12 = {
|
|
124807
124883
|
chromium: { app: true }
|
|
124808
124884
|
};
|
|
124809
124885
|
var gestureDragTool = {
|
|
@@ -124818,8 +124894,8 @@ Use for slider thumbs, drag-and-drop, text selection, or draggable UI elements.
|
|
|
124818
124894
|
Pass momentum:false for a momentum-free drag that decelerates into the release, so apps that compute a fling from the pointer stream read ~0 velocity and the drag ends where it was aimed instead of flinging past it (a durationMs under ~100ms is too short for the deceleration to suppress the fling entirely). Returns { dragged: true, timestampMs }. Fails if the Chromium CDP session is not reachable for the given device.`,
|
|
124819
124895
|
alwaysLoad: true,
|
|
124820
124896
|
searchHint: "drag drop slider mouse press move release chromium select",
|
|
124821
|
-
zodSchema:
|
|
124822
|
-
capability:
|
|
124897
|
+
zodSchema: zodSchema20,
|
|
124898
|
+
capability: capability12,
|
|
124823
124899
|
services: (params) => ({
|
|
124824
124900
|
chromium: chromiumCdpRef(resolveDevice(params.udid))
|
|
124825
124901
|
}),
|
|
@@ -124959,7 +125035,7 @@ var eventSchema = external_exports.object({
|
|
|
124959
125035
|
y2: external_exports.number().optional().describe("Second touch y for two-finger gestures: normalized 0.0\u20131.0 (not pixels)"),
|
|
124960
125036
|
delayMs: external_exports.number().optional().describe("Delay before this event in milliseconds (default 16ms \u2248 60fps)")
|
|
124961
125037
|
});
|
|
124962
|
-
var
|
|
125038
|
+
var zodSchema21 = external_exports.object({
|
|
124963
125039
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
124964
125040
|
events: external_exports.array(eventSchema).describe(
|
|
124965
125041
|
"Sequence of touch events; x/y (and optional second touch) are normalized 0.0\u20131.0, not pixels"
|
|
@@ -124968,7 +125044,7 @@ var zodSchema20 = external_exports.object({
|
|
|
124968
125044
|
"Number of intermediate Move events to auto-insert between each pair of consecutive events. Smooths out gestures by linearly interpolating both primary (x,y) and secondary (x2,y2) coordinates. The delay is split evenly across interpolated frames. Default: no interpolation."
|
|
124969
125045
|
)
|
|
124970
125046
|
});
|
|
124971
|
-
var
|
|
125047
|
+
var capability13 = {
|
|
124972
125048
|
apple: { simulator: true, device: true },
|
|
124973
125049
|
appleRemote: { simulator: true },
|
|
124974
125050
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -125052,8 +125128,8 @@ Example pinch-to-zoom (with interpolate:10 for smoothness):
|
|
|
125052
125128
|
events: [{"type":"Down","x":0.4,"y":0.5,"x2":0.6,"y2":0.5},
|
|
125053
125129
|
{"type":"Up","x":0.2,"y":0.5,"x2":0.8,"y2":0.5}]
|
|
125054
125130
|
interpolate: 10`,
|
|
125055
|
-
zodSchema:
|
|
125056
|
-
capability:
|
|
125131
|
+
zodSchema: zodSchema21,
|
|
125132
|
+
capability: capability13,
|
|
125057
125133
|
// Declare the runner only for a train execute can replay. A rejected train must not pay a runner cold start.
|
|
125058
125134
|
services: (params) => {
|
|
125059
125135
|
const device = resolveDevice(params.udid);
|
|
@@ -125093,7 +125169,7 @@ Example pinch-to-zoom (with interpolate:10 for smoothness):
|
|
|
125093
125169
|
// ../tool-server/src/tools/gesture-pinch/index.ts
|
|
125094
125170
|
init_zod();
|
|
125095
125171
|
init_device_info();
|
|
125096
|
-
var
|
|
125172
|
+
var zodSchema22 = external_exports.object({
|
|
125097
125173
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
125098
125174
|
centerX: external_exports.number().describe(
|
|
125099
125175
|
"Center of pinch, horizontal: normalized 0.0\u20131.0 (fraction of screen width, not pixels)"
|
|
@@ -125116,7 +125192,7 @@ var zodSchema21 = external_exports.object({
|
|
|
125116
125192
|
angle: external_exports.number().optional().describe("Axis angle in degrees along which the fingers are placed (default 0 = horizontal)."),
|
|
125117
125193
|
durationMs: external_exports.number().optional().describe("Total gesture duration in milliseconds (default 300)")
|
|
125118
125194
|
});
|
|
125119
|
-
var
|
|
125195
|
+
var capability14 = {
|
|
125120
125196
|
apple: { simulator: true },
|
|
125121
125197
|
appleRemote: { simulator: true },
|
|
125122
125198
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -125133,8 +125209,8 @@ startDistance > endDistance = pinch in (zoom out). startDistance < endDistance =
|
|
|
125133
125209
|
Typical values: startDistance 0.2, endDistance 0.6 for a zoom-in pinch at screen center.
|
|
125134
125210
|
Auto-generates interpolated frames at ~60fps. The angle parameter controls the axis (0 = horizontal, 90 = vertical). Optional endCenterX/endCenterY drift the centroid linearly over the gesture (omitted = fixed center).
|
|
125135
125211
|
Use when you need to zoom in or out on a map, image, or zoomable view. Returns { pinched: true, timestampMs }. Fails if the simulator-server / emulator backend is not reachable for the given device.`,
|
|
125136
|
-
zodSchema:
|
|
125137
|
-
capability:
|
|
125212
|
+
zodSchema: zodSchema22,
|
|
125213
|
+
capability: capability14,
|
|
125138
125214
|
services: (params) => ({
|
|
125139
125215
|
simulatorServer: simulatorServerRef(resolveDevice(params.udid))
|
|
125140
125216
|
}),
|
|
@@ -125173,7 +125249,7 @@ Use when you need to zoom in or out on a map, image, or zoomable view. Returns {
|
|
|
125173
125249
|
// ../tool-server/src/tools/gesture-rotate/index.ts
|
|
125174
125250
|
init_zod();
|
|
125175
125251
|
init_device_info();
|
|
125176
|
-
var
|
|
125252
|
+
var zodSchema23 = external_exports.object({
|
|
125177
125253
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
125178
125254
|
centerX: external_exports.number().describe(
|
|
125179
125255
|
"Center of rotation, horizontal: normalized 0.0\u20131.0 (fraction of screen width, not pixels)"
|
|
@@ -125198,7 +125274,7 @@ var zodSchema22 = external_exports.object({
|
|
|
125198
125274
|
}).refine((p) => p.radius !== void 0 || p.radiusX !== void 0, {
|
|
125199
125275
|
message: "Pass radius, or both radiusX and radiusY."
|
|
125200
125276
|
});
|
|
125201
|
-
var
|
|
125277
|
+
var capability15 = {
|
|
125202
125278
|
apple: { simulator: true },
|
|
125203
125279
|
appleRemote: { simulator: true },
|
|
125204
125280
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -125224,8 +125300,8 @@ Auto-generates interpolated frames at ~60fps.
|
|
|
125224
125300
|
Unlike gesture-pinch which moves fingers linearly to zoom, this orbits fingers in an arc to change orientation.
|
|
125225
125301
|
Use when you need to rotate a map, image picker, or any rotateable UI element. Returns { rotated: true, timestampMs }. Fails if the simulator-server / emulator backend is not reachable for the given device.
|
|
125226
125302
|
Size the orbit with radius, or with radiusX and radiusY together (the pair overrides radius); one half of the pair alone, or none of the three, is rejected.`,
|
|
125227
|
-
zodSchema:
|
|
125228
|
-
capability:
|
|
125303
|
+
zodSchema: zodSchema23,
|
|
125304
|
+
capability: capability15,
|
|
125229
125305
|
services: (params) => ({
|
|
125230
125306
|
simulatorServer: simulatorServerRef(resolveDevice(params.udid))
|
|
125231
125307
|
}),
|
|
@@ -125281,7 +125357,7 @@ Size the orbit with radius, or with radiusX and radiusY together (the pair overr
|
|
|
125281
125357
|
init_zod();
|
|
125282
125358
|
init_device_info();
|
|
125283
125359
|
var sleep7 = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
125284
|
-
var
|
|
125360
|
+
var zodSchema24 = external_exports.object({
|
|
125285
125361
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
125286
125362
|
button: external_exports.enum(["home", "back", "power", "volumeUp", "volumeDown", "appSwitch", "actionButton"]).describe("Hardware button to press")
|
|
125287
125363
|
});
|
|
@@ -125295,7 +125371,7 @@ var BUTTONS_BY_PLATFORM = {
|
|
|
125295
125371
|
// `vega`, so this entry only keeps the record total.
|
|
125296
125372
|
"vega": /* @__PURE__ */ new Set([])
|
|
125297
125373
|
};
|
|
125298
|
-
var
|
|
125374
|
+
var capability16 = {
|
|
125299
125375
|
apple: { simulator: true, device: true },
|
|
125300
125376
|
appleRemote: { simulator: true },
|
|
125301
125377
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -125322,8 +125398,8 @@ Supported buttons depend on the platform: home, back, power, volumeUp, volumeDow
|
|
|
125322
125398
|
Use when you need to trigger hardware button events.
|
|
125323
125399
|
Returns { pressed: buttonName }.
|
|
125324
125400
|
Fails if the device backend is not reachable: the simulator-server for iOS, or \`adb\` for Android (Android presses are injected with \`adb shell input keyevent\`).`,
|
|
125325
|
-
zodSchema:
|
|
125326
|
-
capability:
|
|
125401
|
+
zodSchema: zodSchema24,
|
|
125402
|
+
capability: capability16,
|
|
125327
125403
|
// Declare only the service the resolved path actually consumes. The Android
|
|
125328
125404
|
// path uses `adb`, so a sim-server here would spawn a service the tool never
|
|
125329
125405
|
// uses (up to a 30s ready-wait) and could throw ServiceInitializationError
|
|
@@ -126014,7 +126090,7 @@ var vegaImpl4 = {
|
|
|
126014
126090
|
};
|
|
126015
126091
|
|
|
126016
126092
|
// ../tool-server/src/tools/keyboard/index.ts
|
|
126017
|
-
var
|
|
126093
|
+
var zodSchema25 = external_exports.object({
|
|
126018
126094
|
udid: external_exports.string().describe(
|
|
126019
126095
|
"Target device id from `list-devices` (iOS UDID, Android serial, Vega serial, or Chromium id)."
|
|
126020
126096
|
),
|
|
@@ -126028,7 +126104,7 @@ var zodSchema24 = external_exports.object({
|
|
|
126028
126104
|
"Delay in ms between key presses (default 50). Ignored on Android phones/tablets (typed via `adb input text`, which has no per-key cadence), on Vega (text/keys injected in a single shot), on TV targets (Apple TV / Android TV type the whole string at the daemon's own cadence), and on physical iOS."
|
|
126029
126105
|
)
|
|
126030
126106
|
});
|
|
126031
|
-
var
|
|
126107
|
+
var capability17 = {
|
|
126032
126108
|
apple: { simulator: true, device: true },
|
|
126033
126109
|
appleRemote: { simulator: true },
|
|
126034
126110
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -126038,7 +126114,7 @@ var capability16 = {
|
|
|
126038
126114
|
function createKeyboardTool(registry2) {
|
|
126039
126115
|
const dispatch = dispatchByPlatform({
|
|
126040
126116
|
toolId: "keyboard",
|
|
126041
|
-
capability:
|
|
126117
|
+
capability: capability17,
|
|
126042
126118
|
ios: makeIosImpl3(registry2),
|
|
126043
126119
|
iosDevice: makeIosDeviceImpl(registry2),
|
|
126044
126120
|
iosRemote: makeIosRemoteImpl(registry2),
|
|
@@ -126072,8 +126148,8 @@ A failure is not rolled back. An unsupported key name is always rejected before
|
|
|
126072
126148
|
- key: presses a single named key (enter, escape, backspace, tab, arrow-up/down/left/right, f1-f12). NOT supported on TV targets; move focus with \`tv-remote\` instead. Physical iOS: only \`enter\` and \`backspace\`.
|
|
126073
126149
|
On a TV target (runtimeKind 'tv') only \`text\` applies \u2014 focus a text field first (with \`tv-remote\`), then type into it (injected HID keyboard on Apple TV, \`adb input text\` on Android TV).
|
|
126074
126150
|
One call does one action: pass text OR key, never both. To type and then press a key, send two \`keyboard\` steps in one \`run-sequence\` \u2014 { text: "hello" } then { key: "enter" } \u2014 which also keeps it to a single round-trip.`,
|
|
126075
|
-
zodSchema:
|
|
126076
|
-
capability:
|
|
126151
|
+
zodSchema: zodSchema25,
|
|
126152
|
+
capability: capability17,
|
|
126077
126153
|
searchHint: "type text keyboard input named key enter escape arrow tv vega fire tv search field hid leanback",
|
|
126078
126154
|
services: () => ({}),
|
|
126079
126155
|
execute: async (services, params, options) => {
|
|
@@ -126231,7 +126307,7 @@ function makeAndroidImpl2(registry2) {
|
|
|
126231
126307
|
}
|
|
126232
126308
|
|
|
126233
126309
|
// ../tool-server/src/tools/paste/index.ts
|
|
126234
|
-
var
|
|
126310
|
+
var capability18 = {
|
|
126235
126311
|
apple: { simulator: true },
|
|
126236
126312
|
// A remote sim pastes over the MoQ transport (`simctl pbcopy` + ⌘V); the HTTP
|
|
126237
126313
|
// clipboard route does not exist there.
|
|
@@ -126265,7 +126341,7 @@ function serializedPerDevice(deviceId, task) {
|
|
|
126265
126341
|
function createPasteTool(registry2) {
|
|
126266
126342
|
const dispatch = dispatchByPlatform({
|
|
126267
126343
|
toolId: "paste",
|
|
126268
|
-
capability:
|
|
126344
|
+
capability: capability18,
|
|
126269
126345
|
ios: makeIosImpl4(registry2),
|
|
126270
126346
|
iosRemote: makeIosRemoteImpl2(registry2),
|
|
126271
126347
|
android: makeAndroidImpl2(registry2)
|
|
@@ -126283,7 +126359,7 @@ Tap the field first so it has focus. Returns { pasted: true }, plus via: "keyboa
|
|
|
126283
126359
|
Supports \`{{secret:<NAME>}}\` placeholders like \`keyboard\`; the value is never echoed back.`,
|
|
126284
126360
|
searchHint: "paste clipboard pasteboard otp 2fa code fill field",
|
|
126285
126361
|
zodSchema: pasteZodSchema,
|
|
126286
|
-
capability:
|
|
126362
|
+
capability: capability18,
|
|
126287
126363
|
services: () => ({}),
|
|
126288
126364
|
execute: async (services, params, options) => {
|
|
126289
126365
|
const { text, secrets } = resolveSecretPlaceholders(params.text);
|
|
@@ -126302,11 +126378,11 @@ Supports \`{{secret:<NAME>}}\` placeholders like \`keyboard\`; the value is neve
|
|
|
126302
126378
|
// ../tool-server/src/tools/rotate/index.ts
|
|
126303
126379
|
init_zod();
|
|
126304
126380
|
init_device_info();
|
|
126305
|
-
var
|
|
126381
|
+
var zodSchema26 = external_exports.object({
|
|
126306
126382
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
126307
126383
|
orientation: external_exports.enum(["Portrait", "LandscapeLeft", "LandscapeRight", "PortraitUpsideDown"]).describe("Target orientation")
|
|
126308
126384
|
});
|
|
126309
|
-
var
|
|
126385
|
+
var capability19 = {
|
|
126310
126386
|
apple: { simulator: true },
|
|
126311
126387
|
appleRemote: { simulator: true },
|
|
126312
126388
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -126322,8 +126398,8 @@ var rotateTool = {
|
|
|
126322
126398
|
Use to test layout in a different orientation. Re-run \`describe\` afterwards \u2014 frame coordinates change with the orientation.
|
|
126323
126399
|
On an unfolded foldable iOS simulator (the iPhone Duo), the value sets the orientation of the device, not of the UI: \`Portrait\` gives a landscape UI and \`LandscapeLeft\` gives a portrait UI. To fold or unfold the device, use \`fold\`.
|
|
126324
126400
|
Returns { orientation }. Fails if the target device is not booted.`,
|
|
126325
|
-
zodSchema:
|
|
126326
|
-
capability:
|
|
126401
|
+
zodSchema: zodSchema26,
|
|
126402
|
+
capability: capability19,
|
|
126327
126403
|
services: (params) => ({
|
|
126328
126404
|
simulatorServer: simulatorServerRef(resolveDevice(params.udid))
|
|
126329
126405
|
}),
|
|
@@ -126347,12 +126423,12 @@ var shakeZodSchema = external_exports.object({
|
|
|
126347
126423
|
});
|
|
126348
126424
|
|
|
126349
126425
|
// ../tool-server/src/tools/shake/platforms/ios.ts
|
|
126350
|
-
var
|
|
126351
|
-
var
|
|
126426
|
+
var import_node_child_process34 = require("node:child_process");
|
|
126427
|
+
var import_node_util26 = require("node:util");
|
|
126352
126428
|
init_src2();
|
|
126353
126429
|
|
|
126354
126430
|
// ../tool-server/src/utils/window-shake.ts
|
|
126355
|
-
var
|
|
126431
|
+
var import_node_child_process33 = require("node:child_process");
|
|
126356
126432
|
init_src();
|
|
126357
126433
|
var MICROINTERACTIONS_FLAG = "microinteractions";
|
|
126358
126434
|
var AMPLITUDE = 22;
|
|
@@ -126459,7 +126535,7 @@ end run
|
|
|
126459
126535
|
}
|
|
126460
126536
|
function runOsascript(script) {
|
|
126461
126537
|
return new Promise((resolve14, reject) => {
|
|
126462
|
-
const child = (0,
|
|
126538
|
+
const child = (0, import_node_child_process33.execFile)(
|
|
126463
126539
|
"/usr/bin/osascript",
|
|
126464
126540
|
["-"],
|
|
126465
126541
|
{ timeout: OSASCRIPT_TIMEOUT_MS },
|
|
@@ -126552,7 +126628,7 @@ async function prepareHostWindowShake(target) {
|
|
|
126552
126628
|
}
|
|
126553
126629
|
|
|
126554
126630
|
// ../tool-server/src/tools/shake/platforms/ios.ts
|
|
126555
|
-
var
|
|
126631
|
+
var execFileAsync26 = (0, import_node_util26.promisify)(import_node_child_process34.execFile);
|
|
126556
126632
|
var SHAKE_NOTIFICATION = "com.apple.UIKit.SimulatorShake";
|
|
126557
126633
|
var SHAKE_INTERVAL_MS = 400;
|
|
126558
126634
|
var sleep11 = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
@@ -126594,7 +126670,7 @@ var iosImpl4 = {
|
|
|
126594
126670
|
if (i > 0) await sleep11(SHAKE_INTERVAL_MS);
|
|
126595
126671
|
shaker.begin();
|
|
126596
126672
|
try {
|
|
126597
|
-
await
|
|
126673
|
+
await execFileAsync26("xcrun", args, { timeout: 15e3 });
|
|
126598
126674
|
} catch (err) {
|
|
126599
126675
|
const error52 = err instanceof Error ? err : new Error(String(err));
|
|
126600
126676
|
throw shakeFailure(udid, error52.message, error52);
|
|
@@ -126757,7 +126833,7 @@ var androidImpl6 = {
|
|
|
126757
126833
|
};
|
|
126758
126834
|
|
|
126759
126835
|
// ../tool-server/src/tools/shake/index.ts
|
|
126760
|
-
var
|
|
126836
|
+
var capability20 = {
|
|
126761
126837
|
// Simulator only: a physical iPhone's motion is real hardware, with no
|
|
126762
126838
|
// host-side hook to fake it.
|
|
126763
126839
|
apple: { simulator: true },
|
|
@@ -126791,13 +126867,13 @@ Works on local and remote (sim-remote) iOS simulators.
|
|
|
126791
126867
|
Only phone/tablet simulators and emulators are supported.`,
|
|
126792
126868
|
searchHint: "shake motion accelerometer undo typing dev menu gesture",
|
|
126793
126869
|
zodSchema: shakeZodSchema,
|
|
126794
|
-
capability:
|
|
126870
|
+
capability: capability20,
|
|
126795
126871
|
// No simulator-server is resolved: `simctl`/`adb` are called directly, so a
|
|
126796
126872
|
// tool that never uses one doesn't spawn it or wait for it to be ready.
|
|
126797
126873
|
services: () => ({}),
|
|
126798
126874
|
execute: dispatchByPlatform({
|
|
126799
126875
|
toolId: "shake",
|
|
126800
|
-
capability:
|
|
126876
|
+
capability: capability20,
|
|
126801
126877
|
ios: iosImpl4,
|
|
126802
126878
|
iosRemote: iosRemoteImpl6,
|
|
126803
126879
|
android: androidImpl6
|
|
@@ -126811,7 +126887,7 @@ init_device_info();
|
|
|
126811
126887
|
var POSTURES = ["closed", "half-open", "open"];
|
|
126812
126888
|
var POSTURE_ANGLE = { "closed": 0, "half-open": 120, "open": 180 };
|
|
126813
126889
|
var HINGE_REQUEST_TIMEOUT_MS = 3e4;
|
|
126814
|
-
var
|
|
126890
|
+
var zodSchema27 = external_exports.object({
|
|
126815
126891
|
udid: external_exports.string().describe("Target device id from `list-devices` (a foldable iOS simulator UDID)."),
|
|
126816
126892
|
posture: external_exports.enum(POSTURES).optional().describe(
|
|
126817
126893
|
"Where to move the hinge: `closed` (0\xB0, the cover panel), `half-open` (120\xB0) or `open` (180\xB0, the inner panel). Exactly one of `posture` and `angle`."
|
|
@@ -126822,7 +126898,7 @@ var zodSchema26 = external_exports.object({
|
|
|
126822
126898
|
}).refine((p) => p.posture === void 0 !== (p.angle === void 0), {
|
|
126823
126899
|
message: "Pass exactly one of `posture` and `angle`."
|
|
126824
126900
|
});
|
|
126825
|
-
var
|
|
126901
|
+
var capability21 = {
|
|
126826
126902
|
// Local simulators only. A remote (MoQ) simulator is driven on its main
|
|
126827
126903
|
// screen and carries no hinge message; the server itself rejects a device
|
|
126828
126904
|
// that is not foldable, with its own reason.
|
|
@@ -126891,8 +126967,8 @@ A fold between two angles that are not closed or open can keep the current panel
|
|
|
126891
126967
|
Returns { activeScreen, screen: { id, panel, width, height }, posture?, hingeAngle, warning? }. screen names the active panel and gives its size in pixels. posture is set only at 0\xB0, 120\xB0 and 180\xB0. warning is set when argent cannot find the active panel, or when the device did not change to the expected panel.
|
|
126892
126968
|
Fails if the device is not foldable or is a remote simulator.`,
|
|
126893
126969
|
searchHint: "fold unfold hinge foldable duo posture open closed half-open panel screen",
|
|
126894
|
-
zodSchema:
|
|
126895
|
-
capability:
|
|
126970
|
+
zodSchema: zodSchema27,
|
|
126971
|
+
capability: capability21,
|
|
126896
126972
|
services: (params) => ({
|
|
126897
126973
|
simulatorServer: simulatorServerRef(resolveDevice(params.udid))
|
|
126898
126974
|
}),
|
|
@@ -127044,14 +127120,14 @@ var buttonSchema = external_exports.preprocess(
|
|
|
127044
127120
|
).describe(
|
|
127045
127121
|
'A single TV-remote button, or a path of them run in one call. Buttons: up/down/left/right (D-pad), select (OK), back, home, menu, playPause, rewind, fastForward, next, previous, volumeUp, volumeDown, mute. The media-transport and volume keys work on Android TV and Vega; on the Apple TV simulator they are rejected (its HID stack ignores them) \u2014 the D-pad/select/back/menu/home/playPause core works on all three. For multi-step navigation pass an array, e.g. ["up","right","right","select"] \u2014 strongly prefer this over multiple `tv-remote` calls: the whole path runs in a single call.'
|
|
127046
127122
|
);
|
|
127047
|
-
var
|
|
127123
|
+
var zodSchema28 = external_exports.object({
|
|
127048
127124
|
udid: external_exports.string().describe("Target TV device id from `list-devices` (Apple TV, Android TV, or Vega)."),
|
|
127049
127125
|
button: buttonSchema,
|
|
127050
127126
|
repeat: external_exports.number().int().min(1).max(50).optional().describe(
|
|
127051
127127
|
'Repeat the whole `button` value this many times (default 1). Compact for long same-button runs, e.g. { button: "down", repeat: 12 }.'
|
|
127052
127128
|
)
|
|
127053
127129
|
});
|
|
127054
|
-
var
|
|
127130
|
+
var capability22 = {
|
|
127055
127131
|
apple: { simulator: true },
|
|
127056
127132
|
android: { emulator: true, device: true, unknown: true },
|
|
127057
127133
|
vega: { vvd: true }
|
|
@@ -127075,12 +127151,12 @@ Returns { pressed, count }.`,
|
|
|
127075
127151
|
// one round-trip at a time on the Apple/Android path — minutes of wall-clock.
|
|
127076
127152
|
longRunning: true,
|
|
127077
127153
|
searchHint: "tv remote dpad d-pad navigate focus up down left right select ok back home menu play pause rewind fast forward sequence path apple tv tvos android tv leanback vega fire tv",
|
|
127078
|
-
zodSchema:
|
|
127079
|
-
capability:
|
|
127154
|
+
zodSchema: zodSchema28,
|
|
127155
|
+
capability: capability22,
|
|
127080
127156
|
services: () => ({}),
|
|
127081
127157
|
execute: dispatchByPlatform({
|
|
127082
127158
|
toolId: "tv-remote",
|
|
127083
|
-
capability:
|
|
127159
|
+
capability: capability22,
|
|
127084
127160
|
ios: makeIosImpl5(registry2),
|
|
127085
127161
|
android: makeAndroidImpl3(registry2),
|
|
127086
127162
|
vega: vegaImpl5
|
|
@@ -127121,9 +127197,9 @@ async function invokeSubTool(registry2, ctx, toolId, args, extra) {
|
|
|
127121
127197
|
}
|
|
127122
127198
|
function describeNestedParamError(registry2, err, toolId, dispatchedArgs, authoredArgs) {
|
|
127123
127199
|
if (getFailureSignal(err)?.error_code !== FAILURE_CODES.TOOL_INPUT_INVALID) return void 0;
|
|
127124
|
-
const
|
|
127125
|
-
if (!
|
|
127126
|
-
const parsed =
|
|
127200
|
+
const zodSchema80 = registry2.getTool(toolId)?.zodSchema;
|
|
127201
|
+
if (!zodSchema80) return void 0;
|
|
127202
|
+
const parsed = zodSchema80.safeParse(dispatchedArgs ?? {});
|
|
127127
127203
|
if (parsed.success) return void 0;
|
|
127128
127204
|
return `Invalid params for tool "${toolId}": ${describeParamIssues(parsed.error, authoredArgs)}`;
|
|
127129
127205
|
}
|
|
@@ -133417,7 +133493,7 @@ function unmetUiWaitCause(result) {
|
|
|
133417
133493
|
}
|
|
133418
133494
|
var DEFAULT_TIMEOUT_MS3 = 5e3;
|
|
133419
133495
|
var DEFAULT_POLL_INTERVAL_MS = 400;
|
|
133420
|
-
var
|
|
133496
|
+
var zodSchema29 = external_exports.object({
|
|
133421
133497
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id)."),
|
|
133422
133498
|
condition: external_exports.enum(["exists", "visible", "hidden", "text"]).describe(
|
|
133423
133499
|
"What to wait for. `exists`: selector is anywhere in the tree. `visible`: selector is present with a non-zero on-screen frame. `hidden`: selector is absent or zero-area. `text`: the first visible match in reading order (topmost), falling back to the first match overall if none is visible, contains (or, with textMatch `equals`, exactly matches) expectedText \u2014 if a loose selector hits several elements, only that one is checked, so narrow it to target the intended element."
|
|
@@ -133465,7 +133541,7 @@ function timeoutCause(condition, lastTrustedReadAt, finalRead, pollIntervalMs) {
|
|
|
133465
133541
|
);
|
|
133466
133542
|
return darkTailMs > tolerance ? "unreadable" : "unmet";
|
|
133467
133543
|
}
|
|
133468
|
-
var
|
|
133544
|
+
var capability23 = {
|
|
133469
133545
|
apple: { simulator: true, device: true },
|
|
133470
133546
|
appleRemote: { simulator: true },
|
|
133471
133547
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -133559,8 +133635,8 @@ tap/navigation to wait for the next screen, or before tapping an element that ap
|
|
|
133559
133635
|
alwaysLoad: true,
|
|
133560
133636
|
searchHint: "wait await poll until visible hidden exists text appears disappears timeout element condition settle",
|
|
133561
133637
|
longRunning: true,
|
|
133562
|
-
zodSchema:
|
|
133563
|
-
capability:
|
|
133638
|
+
zodSchema: zodSchema29,
|
|
133639
|
+
capability: capability23,
|
|
133564
133640
|
services: (params) => {
|
|
133565
133641
|
const device = resolveDevice(params.udid);
|
|
133566
133642
|
if (device.platform === "chromium") {
|
|
@@ -133571,7 +133647,7 @@ tap/navigation to wait for the next screen, or before tapping an element that ap
|
|
|
133571
133647
|
async execute(services, params, ctx) {
|
|
133572
133648
|
const signal = ctx?.signal;
|
|
133573
133649
|
const device = resolveDevice(params.udid);
|
|
133574
|
-
assertSupported(AWAIT_UI_ELEMENT_TOOL_ID,
|
|
133650
|
+
assertSupported(AWAIT_UI_ELEMENT_TOOL_ID, capability23, device);
|
|
133575
133651
|
if (device.platform === "ios") await ensureDeps(iosRequires);
|
|
133576
133652
|
else if (device.platform === "ios-remote") await ensureDeps(["sim-remote"]);
|
|
133577
133653
|
else if (device.platform === "android") await ensureDeps(androidRequires);
|
|
@@ -133648,7 +133724,7 @@ var ALLOWED_TOOLS = /* @__PURE__ */ new Set([
|
|
|
133648
133724
|
"tv-remote",
|
|
133649
133725
|
AWAIT_UI_ELEMENT_TOOL_ID
|
|
133650
133726
|
]);
|
|
133651
|
-
var
|
|
133727
|
+
var zodSchema30 = external_exports.object({
|
|
133652
133728
|
udid: external_exports.string().describe(
|
|
133653
133729
|
"Target device id from `list-devices` (iOS UDID, Android serial, Vega serial, or Chromium id) \u2014 shared across all steps."
|
|
133654
133730
|
),
|
|
@@ -133664,7 +133740,7 @@ var zodSchema29 = external_exports.object({
|
|
|
133664
133740
|
})
|
|
133665
133741
|
).min(1).describe("Ordered list of interaction steps to execute sequentially")
|
|
133666
133742
|
});
|
|
133667
|
-
var
|
|
133743
|
+
var capability24 = {
|
|
133668
133744
|
// Physical iOS is a valid outer target. Unsupported steps fail at their own gate, not the whole sequence.
|
|
133669
133745
|
apple: { simulator: true, device: true },
|
|
133670
133746
|
appleRemote: { simulator: true },
|
|
@@ -133746,8 +133822,8 @@ Stops on the first error (or unmet await-ui-element condition) and returns parti
|
|
|
133746
133822
|
alwaysLoad: true,
|
|
133747
133823
|
longRunning: true,
|
|
133748
133824
|
searchHint: "batch sequence multiple gesture steps sequentially",
|
|
133749
|
-
zodSchema:
|
|
133750
|
-
capability:
|
|
133825
|
+
zodSchema: zodSchema30,
|
|
133826
|
+
capability: capability24,
|
|
133751
133827
|
// Each step resolves its own services. An eager resolver can't be used
|
|
133752
133828
|
// because a tvOS udid shape-classifies as `ios` (there is no `tvos`
|
|
133753
133829
|
// platform), so declaring simulator-server would spawn a controller it
|
|
@@ -133844,7 +133920,7 @@ function debuggerServiceRef(params) {
|
|
|
133844
133920
|
}
|
|
133845
133921
|
|
|
133846
133922
|
// ../tool-server/src/tools/debugger/debugger-connect.ts
|
|
133847
|
-
var
|
|
133923
|
+
var zodSchema31 = external_exports.object({
|
|
133848
133924
|
port: metroPortField,
|
|
133849
133925
|
device_id: external_exports.string().describe(
|
|
133850
133926
|
"Device id from list-devices: iOS simulator UDID, Android serial, Vega serial (amazon-...), or Chromium device id (chromium-cdp-<port>). Pass this SAME id as device_id to every subsequent debugger-* call to pin them to this device. The returned logicalDeviceId is informational (Metro's own per-connection handle, absent on Vega); you do not switch to it \u2014 forwarding it still resolves here, but the list-devices id is the stable one."
|
|
@@ -133861,7 +133937,7 @@ var debuggerConnectTool = {
|
|
|
133861
133937
|
iOS / Android / Vega: connects to Metro's CDP endpoint on the given port. Chromium: re-uses the page CDP session opened by boot-device \u2014 port is ignored.
|
|
133862
133938
|
Returns connection info including port, projectRoot (empty on Chromium and on legacy Metro, e.g. Vega), deviceName, appName, logicalDeviceId (absent on Vega), and isNewDebugger. If already connected, returns the existing connection.
|
|
133863
133939
|
Use when starting a debug session or before calling other debugger-* tools. Fails if the runtime is unreachable (Metro down, or Chromium CDP terminated).`,
|
|
133864
|
-
zodSchema:
|
|
133940
|
+
zodSchema: zodSchema31,
|
|
133865
133941
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
133866
133942
|
services: (params) => ({
|
|
133867
133943
|
debugger: debuggerServiceRef(params)
|
|
@@ -133967,7 +134043,7 @@ function isDebuggerNotConnectedResult(toolId, result) {
|
|
|
133967
134043
|
}
|
|
133968
134044
|
|
|
133969
134045
|
// ../tool-server/src/tools/debugger/debugger-status.ts
|
|
133970
|
-
var
|
|
134046
|
+
var zodSchema32 = external_exports.object({
|
|
133971
134047
|
port: metroPortField,
|
|
133972
134048
|
device_id: external_exports.string().describe(
|
|
133973
134049
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID, Android serial, Vega serial, or Chromium device id). The logicalDeviceId debugger-connect returns also resolves here, but prefer the stable list-devices id."
|
|
@@ -133985,7 +134061,7 @@ function createDebuggerStatusTool(registry2) {
|
|
|
133985
134061
|
Use when you need to verify connectivity before using other debugger tools. Never fails when the runtime is simply unreachable \u2014 it returns a discriminated result instead:
|
|
133986
134062
|
- { status: "connected", ... } with port, projectRoot (empty on Chromium and on legacy Metro, e.g. Vega), deviceName, appName, logicalDeviceId (absent on Vega), isNewDebugger (false on the legacy inspector), connected flag, loadedScripts count, and sourceMapReady (always true \u2014 waits for pending source maps before returning; no-op on Chromium).
|
|
133987
134063
|
- { status: "not_connected", connected: false, reason, detail, guidance } (port omitted on Chromium) when Metro is not running (reason "metro_not_running"), no app is attached ("no_app_connected"), the device_id matches no target ("device_mismatch"), the CDP endpoint is unreachable or answered malformed ("cdp_unreachable"), the runtime accepted the connection but never answered ("runtime_unresponsive"), the cached connection went stale ("stale_connection"), or a reconnect is in flight ("reconnecting"). Follow the guidance field \u2014 do not retry in a loop.`,
|
|
133988
|
-
zodSchema:
|
|
134064
|
+
zodSchema: zodSchema32,
|
|
133989
134065
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
133990
134066
|
// Resolved manually in execute so a not-connected precondition becomes a
|
|
133991
134067
|
// structured result instead of a tool failure.
|
|
@@ -134042,7 +134118,7 @@ Use when you need to verify connectivity before using other debugger tools. Neve
|
|
|
134042
134118
|
// ../tool-server/src/tools/debugger/debugger-evaluate.ts
|
|
134043
134119
|
init_zod();
|
|
134044
134120
|
init_src2();
|
|
134045
|
-
var
|
|
134121
|
+
var zodSchema33 = external_exports.object({
|
|
134046
134122
|
port: metroPortField,
|
|
134047
134123
|
device_id: external_exports.string().describe(
|
|
134048
134124
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID, Android serial, Vega serial, or Chromium device id). The logicalDeviceId debugger-connect returns also resolves here, but prefer the stable list-devices id."
|
|
@@ -134058,7 +134134,7 @@ var debuggerEvaluateTool = {
|
|
|
134058
134134
|
},
|
|
134059
134135
|
description: `Execute arbitrary JavaScript in the app's JS runtime via CDP \u2014 Hermes on iOS / Android / Vega, V8 on Chromium.
|
|
134060
134136
|
Returns the evaluation result as a JSON-serializable value, along with deviceName, appName, and logicalDeviceId for context. Use when you need to read app state, call app functions, or test logic at runtime. The result is serialized by value, so cyclic objects (many RN runtime values \u2014 fiber nodes, navigation refs, global \u2014 are cyclic) fail with a serialization error rather than returning silently. Fails if the expression throws or the runtime is not connected.`,
|
|
134061
|
-
zodSchema:
|
|
134137
|
+
zodSchema: zodSchema33,
|
|
134062
134138
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
134063
134139
|
services: (params) => ({
|
|
134064
134140
|
debugger: debuggerServiceRef(params)
|
|
@@ -134095,7 +134171,7 @@ Returns the evaluation result as a JSON-serializable value, along with deviceNam
|
|
|
134095
134171
|
// ../tool-server/src/tools/debugger/debugger-reload-metro.ts
|
|
134096
134172
|
init_zod();
|
|
134097
134173
|
init_src2();
|
|
134098
|
-
var
|
|
134174
|
+
var zodSchema34 = external_exports.object({
|
|
134099
134175
|
port: metroPortField,
|
|
134100
134176
|
device_id: external_exports.string().describe(
|
|
134101
134177
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID or Android serial)."
|
|
@@ -134110,7 +134186,7 @@ var debuggerReloadMetroTool = {
|
|
|
134110
134186
|
},
|
|
134111
134187
|
description: `Restart the Metro JS bundle in the connected React Native app without restarting the native process.
|
|
134112
134188
|
Use when you want to apply code changes or reset JS state. Returns { reloaded, port, method, deviceName, appName, logicalDeviceId } indicating which reload path was used and which device/app was targeted. Fails if Metro is not running on the given port.`,
|
|
134113
|
-
zodSchema:
|
|
134189
|
+
zodSchema: zodSchema34,
|
|
134114
134190
|
// RN-only: reloading a Chromium page is a different operation from restarting
|
|
134115
134191
|
// the Metro bundle, so it would need its own tool.
|
|
134116
134192
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -135047,7 +135123,7 @@ async function readTapAxes(registry2, app) {
|
|
|
135047
135123
|
clearTimeout(timer);
|
|
135048
135124
|
}
|
|
135049
135125
|
}
|
|
135050
|
-
var
|
|
135126
|
+
var zodSchema35 = external_exports.object({
|
|
135051
135127
|
port: metroPortField,
|
|
135052
135128
|
device_id: external_exports.string().describe(
|
|
135053
135129
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID or Android serial)."
|
|
@@ -135096,7 +135172,7 @@ Set includeSkipped=true to see a summary of all filtered components.
|
|
|
135096
135172
|
Use when you need tap coordinates for a React Native UI element. Returns a compact text tree with (tap: x,y) coords. Fails if Metro debugger is not connected.`,
|
|
135097
135173
|
alwaysLoad: true,
|
|
135098
135174
|
searchHint: "react native component tree discovery tap coordinates",
|
|
135099
|
-
zodSchema:
|
|
135175
|
+
zodSchema: zodSchema35,
|
|
135100
135176
|
// RN-only: needs the React DevTools backend from the dev JS bundle. Chromium has
|
|
135101
135177
|
// no equivalent — use `describe` there.
|
|
135102
135178
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -135574,7 +135650,7 @@ function filterInspectItems(items, includeSkipped = false) {
|
|
|
135574
135650
|
}
|
|
135575
135651
|
return result;
|
|
135576
135652
|
}
|
|
135577
|
-
var
|
|
135653
|
+
var zodSchema36 = external_exports.object({
|
|
135578
135654
|
port: metroPortField,
|
|
135579
135655
|
device_id: external_exports.string().describe(
|
|
135580
135656
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID or Android serial)."
|
|
@@ -135612,7 +135688,7 @@ Uses getInspectorDataForViewAtPoint + _debugStack + Metro /symbolicate.
|
|
|
135612
135688
|
Set resolveSourceMaps to false to skip symbolication and get raw bundled locations instead.
|
|
135613
135689
|
Set includeSkipped=true to see filtered items annotated with skip reasons.
|
|
135614
135690
|
Use when you need the source file and line for a component at a tap coordinate. Fails if the app is not connected or the coordinate is outside the screen.`,
|
|
135615
|
-
zodSchema:
|
|
135691
|
+
zodSchema: zodSchema36,
|
|
135616
135692
|
// RN-only: needs React Native's internal getInspectorDataForViewAtPoint and
|
|
135617
135693
|
// Metro's /symbolicate; the Chromium session has no source resolver.
|
|
135618
135694
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -135711,7 +135787,7 @@ Use when you need the source file and line for a component at a tap coordinate.
|
|
|
135711
135787
|
|
|
135712
135788
|
// ../tool-server/src/tools/debugger/debugger-log-registry.ts
|
|
135713
135789
|
init_zod();
|
|
135714
|
-
var
|
|
135790
|
+
var zodSchema37 = external_exports.object({
|
|
135715
135791
|
port: metroPortField,
|
|
135716
135792
|
device_id: external_exports.string().describe(
|
|
135717
135793
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID, Android serial, Vega serial, or Chromium device id). The logicalDeviceId debugger-connect returns also resolves here, but prefer the stable list-devices id."
|
|
@@ -135729,7 +135805,7 @@ function createDebuggerLogRegistryTool(registry2) {
|
|
|
135729
135805
|
Returns the log file path, entry counts by level, and message clusters (grouped by similarity). Works against Hermes (iOS / Android / Vega) and V8 (Chromium).
|
|
135730
135806
|
Use when investigating warnings, errors, or unexpected output \u2014 call this first for an overview, then read the returned file for details. Returns empty stats if no log data has been captured yet \u2014 but check { note }, which is present only when the stats are empty BECAUSE a stop-all-simulator-servers tore the previous debugger session down and deleted its log file. Absent that note, empty really does mean the app has logged nothing.
|
|
135731
135807
|
When the debugger cannot be reached, this tool does not fail: it returns { status: "not_connected", reason, detail, guidance } with NO log file \u2014 follow the guidance (do not retry in a loop, and do not try to read a log file from this state). A "connected" result's stats may come from a session whose socket has since died \u2014 use debugger-status, not this tool, to judge debugger health.`,
|
|
135732
|
-
zodSchema:
|
|
135808
|
+
zodSchema: zodSchema37,
|
|
135733
135809
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
135734
135810
|
// Resolved manually in execute so a not-connected precondition becomes a
|
|
135735
135811
|
// structured result instead of a service-resolution tool failure.
|
|
@@ -135832,7 +135908,7 @@ function renderChromiumPage(records, pageIndexParam) {
|
|
|
135832
135908
|
|
|
135833
135909
|
${lines.join("\n")}`;
|
|
135834
135910
|
}
|
|
135835
|
-
var
|
|
135911
|
+
var zodSchema38 = external_exports.object({
|
|
135836
135912
|
port: metroPortField,
|
|
135837
135913
|
device_id: external_exports.string().describe(
|
|
135838
135914
|
"Device id from list-devices (iOS simulator UDID or Android serial) \u2014 the same id used with debugger-connect."
|
|
@@ -135854,7 +135930,7 @@ Each entry includes a requestId that can be passed to view-network-request-detai
|
|
|
135854
135930
|
On React Native (iOS / Android / Vega) interception is injected into the JS runtime \u2014 it captures fetch() calls. On Chromium it reads the browser's native CDP Network domain (the active tab; all request types).
|
|
135855
135931
|
Use when inspecting outbound HTTP traffic or debugging API calls in the running app.
|
|
135856
135932
|
Fails if the app is not connected (RN) or the device is not reachable (Chromium).`,
|
|
135857
|
-
zodSchema:
|
|
135933
|
+
zodSchema: zodSchema38,
|
|
135858
135934
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
135859
135935
|
services: (params) => {
|
|
135860
135936
|
const device = resolveDevice(params.device_id);
|
|
@@ -135926,7 +136002,7 @@ function redactHeaders(headers) {
|
|
|
135926
136002
|
return result;
|
|
135927
136003
|
}
|
|
135928
136004
|
var MAX_BODY_SIZE = 1e3;
|
|
135929
|
-
var
|
|
136005
|
+
var zodSchema39 = external_exports.object({
|
|
135930
136006
|
port: metroPortField,
|
|
135931
136007
|
device_id: external_exports.string().describe(
|
|
135932
136008
|
"Device id from list-devices (iOS simulator UDID or Android serial) \u2014 the same id used with debugger-connect."
|
|
@@ -135945,7 +136021,7 @@ var networkRequestTool = {
|
|
|
135945
136021
|
Returns request/response headers (sensitive headers redacted), status, timing, and optionally the response body.
|
|
135946
136022
|
Large response bodies are truncated. Use when you need headers, body, or timing for a specific request after listing logs.
|
|
135947
136023
|
Returns an error message string if the requestId is not found \u2014 use view-network-logs to get valid requestId values.`,
|
|
135948
|
-
zodSchema:
|
|
136024
|
+
zodSchema: zodSchema39,
|
|
135949
136025
|
capability: DEBUGGER_TOOL_CAPABILITY,
|
|
135950
136026
|
services: (params) => {
|
|
135951
136027
|
const device = resolveDevice(params.device_id);
|
|
@@ -136260,7 +136336,7 @@ function withDescription(data) {
|
|
|
136260
136336
|
if (data.hint) out.hint = data.hint;
|
|
136261
136337
|
return out;
|
|
136262
136338
|
}
|
|
136263
|
-
var
|
|
136339
|
+
var zodSchema40 = external_exports.object({
|
|
136264
136340
|
udid: external_exports.string().min(1).describe(
|
|
136265
136341
|
"Target device id from `list-devices` (iOS UDID, Android serial, Vega serial, or Chromium id)."
|
|
136266
136342
|
),
|
|
@@ -136268,7 +136344,7 @@ var zodSchema39 = external_exports.object({
|
|
|
136268
136344
|
"Optional app bundle ID. Used as a target hint on iOS when the AX-service returns no elements and the describe tool falls back to native-devtools inspection. If omitted, the fallback auto-detects the frontmost connected app. Ignored on Android / Chromium, and on a physical iOS device."
|
|
136269
136345
|
)
|
|
136270
136346
|
});
|
|
136271
|
-
var
|
|
136347
|
+
var capability25 = {
|
|
136272
136348
|
apple: { simulator: true, device: true },
|
|
136273
136349
|
appleRemote: { simulator: true },
|
|
136274
136350
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -136278,7 +136354,7 @@ var capability24 = {
|
|
|
136278
136354
|
function makeDescribeExecute(registry2) {
|
|
136279
136355
|
return dispatchByPlatform({
|
|
136280
136356
|
toolId: "describe",
|
|
136281
|
-
capability:
|
|
136357
|
+
capability: capability25,
|
|
136282
136358
|
ios: {
|
|
136283
136359
|
requires: iosRequires,
|
|
136284
136360
|
handler: async (_services, params, device) => (
|
|
@@ -136368,8 +136444,8 @@ since a TV UI has no tap coordinates. Move the highlight with \`tv-remote\` (up/
|
|
|
136368
136444
|
back/menu/home), then call describe again to confirm where focus landed.`,
|
|
136369
136445
|
alwaysLoad: true,
|
|
136370
136446
|
searchHint: "accessibility element tree ui hierarchy tap coordinates ios android chromium vega dom tv tvos apple tv android tv fire tv focus focusable remote dpad",
|
|
136371
|
-
zodSchema:
|
|
136372
|
-
capability:
|
|
136447
|
+
zodSchema: zodSchema40,
|
|
136448
|
+
capability: capability25,
|
|
136373
136449
|
services: (params) => {
|
|
136374
136450
|
const device = resolveDevice(params.udid);
|
|
136375
136451
|
if (device.platform === "chromium") {
|
|
@@ -136846,10 +136922,10 @@ async function readAndroidUiTree(registry2, device) {
|
|
|
136846
136922
|
}
|
|
136847
136923
|
|
|
136848
136924
|
// ../tool-server/src/tools/ui-tree/index.ts
|
|
136849
|
-
var
|
|
136925
|
+
var zodSchema41 = external_exports.object({
|
|
136850
136926
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices`.")
|
|
136851
136927
|
});
|
|
136852
|
-
var
|
|
136928
|
+
var capability26 = {
|
|
136853
136929
|
apple: { simulator: true },
|
|
136854
136930
|
appleRemote: { simulator: true },
|
|
136855
136931
|
android: { emulator: true, device: true, unknown: true }
|
|
@@ -136867,12 +136943,12 @@ Use when a program needs element ancestry, such as an e2e engine's scoped select
|
|
|
136867
136943
|
Returns { schemaVersion, roots, truncated, alertVisible, keyboardVisible, foregroundApp, unsupportedFields }.
|
|
136868
136944
|
Fails if the iOS ax-service predates the tree command; update argent.`,
|
|
136869
136945
|
hideFromMcp: true,
|
|
136870
|
-
zodSchema:
|
|
136871
|
-
capability:
|
|
136946
|
+
zodSchema: zodSchema41,
|
|
136947
|
+
capability: capability26,
|
|
136872
136948
|
services: () => ({}),
|
|
136873
136949
|
execute: dispatchByPlatform({
|
|
136874
136950
|
toolId: "ui-tree",
|
|
136875
|
-
capability:
|
|
136951
|
+
capability: capability26,
|
|
136876
136952
|
ios: {
|
|
136877
136953
|
requires: iosRequires,
|
|
136878
136954
|
handler: async (_services, _params, device) => {
|
|
@@ -136904,7 +136980,7 @@ var AWAIT_SCREEN_IDLE_TOOL_ID = "await-screen-idle";
|
|
|
136904
136980
|
var DEFAULT_TIMEOUT_MS4 = 3e3;
|
|
136905
136981
|
var DEFAULT_POLL_INTERVAL_MS2 = 200;
|
|
136906
136982
|
var DEFAULT_MIN_STABLE_MS = 250;
|
|
136907
|
-
var
|
|
136983
|
+
var zodSchema42 = external_exports.object({
|
|
136908
136984
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id)."),
|
|
136909
136985
|
timeoutMs: external_exports.number().int().positive().max(12e4).optional().describe(
|
|
136910
136986
|
`Max time to wait for the screen to settle before giving up (default ${DEFAULT_TIMEOUT_MS4}).`
|
|
@@ -136914,7 +136990,7 @@ var zodSchema41 = external_exports.object({
|
|
|
136914
136990
|
`The screen must hold the same content for at least this long to count as settled (default ${DEFAULT_MIN_STABLE_MS}).`
|
|
136915
136991
|
)
|
|
136916
136992
|
});
|
|
136917
|
-
var
|
|
136993
|
+
var capability27 = {
|
|
136918
136994
|
apple: { simulator: true, device: true },
|
|
136919
136995
|
appleRemote: { simulator: true },
|
|
136920
136996
|
android: { emulator: true, device: true, unknown: true },
|
|
@@ -136961,8 +137037,8 @@ ${DEFAULT_TIMEOUT_MS4}ms) is reached. Returns { settled, waitedMs, polls } \u201
|
|
|
136961
137037
|
still before the timeout. Use after a launch/navigation to wait for the UI to render before screenshotting or tapping.`,
|
|
136962
137038
|
searchHint: "wait until screen settles idle stable stops changing animation transition rendered ready before screenshot",
|
|
136963
137039
|
longRunning: true,
|
|
136964
|
-
zodSchema:
|
|
136965
|
-
capability:
|
|
137040
|
+
zodSchema: zodSchema42,
|
|
137041
|
+
capability: capability27,
|
|
136966
137042
|
services: (params) => {
|
|
136967
137043
|
const device = resolveDevice(params.udid);
|
|
136968
137044
|
if (device.platform === "chromium") {
|
|
@@ -136972,7 +137048,7 @@ still before the timeout. Use after a launch/navigation to wait for the UI to re
|
|
|
136972
137048
|
},
|
|
136973
137049
|
async execute(services, params, ctx) {
|
|
136974
137050
|
const device = resolveDevice(params.udid);
|
|
136975
|
-
assertSupported(AWAIT_SCREEN_IDLE_TOOL_ID,
|
|
137051
|
+
assertSupported(AWAIT_SCREEN_IDLE_TOOL_ID, capability27, device);
|
|
136976
137052
|
if (device.platform === "ios") await ensureDeps(iosRequires);
|
|
136977
137053
|
else if (device.platform === "ios-remote") await ensureDeps(["sim-remote"]);
|
|
136978
137054
|
else if (device.platform === "android") await ensureDeps(androidRequires);
|
|
@@ -137059,7 +137135,7 @@ function bootstrapFailureMessage(bootstrap) {
|
|
|
137059
137135
|
// ../tool-server/src/tools/profiler/react/react-profiler-start.ts
|
|
137060
137136
|
var NO_DEVTOOLS_HOOK_ERROR = "React DevTools hook (__REACT_DEVTOOLS_GLOBAL_HOOK__) is not present in this app's JavaScript runtime. React profiling requires a development build with React DevTools enabled. Likely causes: (1) the app is a release/production build \u2014 DevTools is stripped to reduce bundle size; (2) you connected to the wrong JS runtime; (3) this isn't a React (Native) app. Fix: rebuild in debug/dev mode (e.g. `npx react-native run-ios` without --configuration Release; for Expo, run a dev client). Once the app is running with DevTools attached, call react-profiler-start again.";
|
|
137061
137137
|
var NO_RENDERERS_ATTACHED_ERROR = "React DevTools hook is present but no React renderer has registered yet. The hook is loaded but no fiber renderer has attached \u2014 typically because the app has not committed its first render, or the DevTools backend has not been bootstrapped on a bridgeless React Native dev build. Fix: ensure the app has rendered (interact with it once, then retry); if it stays empty, call react-profiler-start first \u2014 it will attempt to attach the DevTools backend automatically.";
|
|
137062
|
-
var
|
|
137138
|
+
var zodSchema43 = external_exports.object({
|
|
137063
137139
|
port: metroPortField,
|
|
137064
137140
|
device_id: external_exports.string().describe(
|
|
137065
137141
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID or Android serial)."
|
|
@@ -137091,7 +137167,7 @@ Before calling this, ask the user if they also want native profiling (native-pro
|
|
|
137091
137167
|
After starting, ask the user to perform the interaction to profile, then call react-profiler-stop.
|
|
137092
137168
|
Returns { started_at, startedAtEpochMs, hermes_version, detected_architecture } on success, or the already_running payload described above.
|
|
137093
137169
|
Fails if the Hermes runtime is not reachable or the Metro CDP connection cannot be established.`,
|
|
137094
|
-
zodSchema:
|
|
137170
|
+
zodSchema: zodSchema43,
|
|
137095
137171
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
137096
137172
|
services: () => ({}),
|
|
137097
137173
|
async execute(_services, params) {
|
|
@@ -137362,7 +137438,7 @@ async function readCommitTree(path53) {
|
|
|
137362
137438
|
}
|
|
137363
137439
|
|
|
137364
137440
|
// ../tool-server/src/tools/profiler/react/react-profiler-stop.ts
|
|
137365
|
-
var
|
|
137441
|
+
var zodSchema44 = external_exports.object({
|
|
137366
137442
|
port: metroPortField,
|
|
137367
137443
|
device_id: external_exports.string().describe(
|
|
137368
137444
|
"Device id from list-devices \u2014 the SAME id you passed to debugger-connect (iOS simulator UDID or Android serial)."
|
|
@@ -137451,7 +137527,7 @@ Call react-profiler-start first, then exercise the app, then call this.
|
|
|
137451
137527
|
Returns { duration_ms, sample_count, fiber_renders_captured, total_react_commits, hot_commit_indices } summarizing the session.
|
|
137452
137528
|
When any commit had fibers whose display name could not be resolved at stop time (typically transient components like modals/tooltips/animations that unmounted before stop), the response also includes { unattributed_ms, unattributed_fiber_count, unattributed_commit_count } \u2014 these quantify how much work is not accounted for in the per-component breakdown (the per-commit duration itself remains correct).
|
|
137453
137529
|
Fails if no active profiling session exists or the CDP connection was lost during recording.`,
|
|
137454
|
-
zodSchema:
|
|
137530
|
+
zodSchema: zodSchema44,
|
|
137455
137531
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
137456
137532
|
services: () => ({}),
|
|
137457
137533
|
async execute(_services, params) {
|
|
@@ -137676,7 +137752,7 @@ Fails if no active profiling session exists or the CDP connection was lost durin
|
|
|
137676
137752
|
|
|
137677
137753
|
// ../tool-server/src/tools/profiler/react/react-profiler-status.ts
|
|
137678
137754
|
init_zod();
|
|
137679
|
-
var
|
|
137755
|
+
var zodSchema45 = external_exports.object({
|
|
137680
137756
|
port: metroPortField,
|
|
137681
137757
|
device_id: external_exports.string().describe(
|
|
137682
137758
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -137691,7 +137767,7 @@ function createReactProfilerStatusTool(registry2) {
|
|
|
137691
137767
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to check React profiler: ${failureSignal2.error_code}`
|
|
137692
137768
|
},
|
|
137693
137769
|
description: `Check the state of the React profiler session without side effects. Use after an interruption (debugger disconnect, unexpected error, agent pause) to decide whether to continue with react-profiler-stop, start a new session, or reconnect the debugger. Ownership is verified server-side against this tool-server's in-memory session \u2014 no token-threading is required. Returns { session_status, is_running, current_owner, \u2026 }. If this tool-server process restarted after react-profiler-start, status will report 'taken_over'; use react-profiler-start { force: true } to reclaim.`,
|
|
137694
|
-
zodSchema:
|
|
137770
|
+
zodSchema: zodSchema45,
|
|
137695
137771
|
// RN-only: companion to react-profiler-start.
|
|
137696
137772
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
137697
137773
|
services: () => ({}),
|
|
@@ -139305,7 +139381,7 @@ var annotationSchema = external_exports.object({
|
|
|
139305
139381
|
),
|
|
139306
139382
|
label: external_exports.string().describe("Description of the action performed")
|
|
139307
139383
|
});
|
|
139308
|
-
var
|
|
139384
|
+
var zodSchema46 = external_exports.object({
|
|
139309
139385
|
port: metroPortField,
|
|
139310
139386
|
device_id: external_exports.string().describe(
|
|
139311
139387
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -139338,7 +139414,7 @@ where tapTimestampMs is the timestampMs returned by the tap/swipe tool and start
|
|
|
139338
139414
|
is returned by react-profiler-start.
|
|
139339
139415
|
Use when the profiling session is complete and you need to interpret the collected data.
|
|
139340
139416
|
Fails if react-profiler-stop has not been called or no profiling data is stored.`,
|
|
139341
|
-
zodSchema:
|
|
139417
|
+
zodSchema: zodSchema46,
|
|
139342
139418
|
// RN-only: reads commit data captured via the React DevTools backend, which
|
|
139343
139419
|
// Chromium does not have.
|
|
139344
139420
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -139475,7 +139551,7 @@ Fails if react-profiler-stop has not been called or no profiling data is stored.
|
|
|
139475
139551
|
// ../tool-server/src/tools/profiler/react/react-profiler-component-source.ts
|
|
139476
139552
|
init_zod();
|
|
139477
139553
|
var import_fs6 = require("fs");
|
|
139478
|
-
var
|
|
139554
|
+
var zodSchema47 = external_exports.object({
|
|
139479
139555
|
component_name: external_exports.string().describe("Name of the React component to look up"),
|
|
139480
139556
|
project_root: external_exports.string().describe("Absolute path to the RN project root")
|
|
139481
139557
|
});
|
|
@@ -139493,7 +139569,7 @@ var reactProfilerComponentSourceTool = {
|
|
|
139493
139569
|
Call this per-finding after react-profiler-analyze to inspect source before proposing a fix.
|
|
139494
139570
|
Returns found: false if the component is not found in user-owned code (e.g. lives in node_modules).
|
|
139495
139571
|
When several files define a component with the same name (e.g. platform variants like List.tsx and List.web.tsx), returns the primary match and lists the rest under otherMatches[] (file/line/col) \u2014 check it before assuming the returned file is the one you meant.`,
|
|
139496
|
-
zodSchema:
|
|
139572
|
+
zodSchema: zodSchema47,
|
|
139497
139573
|
// Declared so the tool catalogue groups this with the other react-profiler-*
|
|
139498
139574
|
// tools; the HTTP gate itself is a no-op here, as there is no device arg to
|
|
139499
139575
|
// inspect.
|
|
@@ -139549,7 +139625,7 @@ When several files define a component with the same name (e.g. platform variants
|
|
|
139549
139625
|
// ../tool-server/src/tools/profiler/react/react-profiler-cpu-summary.ts
|
|
139550
139626
|
init_zod();
|
|
139551
139627
|
init_src2();
|
|
139552
|
-
var
|
|
139628
|
+
var zodSchema48 = external_exports.object({
|
|
139553
139629
|
port: metroPortField,
|
|
139554
139630
|
device_id: external_exports.string().describe(
|
|
139555
139631
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -139631,7 +139707,7 @@ Use when you specifically need to investigate JS CPU hotspots that are NOT tied
|
|
|
139631
139707
|
Call react-profiler-stop first. Reads directly from the stored cpuProfile.
|
|
139632
139708
|
Returns a markdown table of the top hotspot functions with self-time, total-time, and location.
|
|
139633
139709
|
Fails if react-profiler-stop has not been called or no CPU profile is stored.`,
|
|
139634
|
-
zodSchema:
|
|
139710
|
+
zodSchema: zodSchema48,
|
|
139635
139711
|
// RN-only: reads a Hermes CPU profile; Chromium's V8 sample format differs.
|
|
139636
139712
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
139637
139713
|
services: () => ({}),
|
|
@@ -139727,7 +139803,7 @@ function renderMarkdownTable2(entries) {
|
|
|
139727
139803
|
);
|
|
139728
139804
|
return [header, sep5, ...rows].join("\n");
|
|
139729
139805
|
}
|
|
139730
|
-
var
|
|
139806
|
+
var zodSchema49 = external_exports.object({
|
|
139731
139807
|
port: metroPortField,
|
|
139732
139808
|
device_id: external_exports.string().describe(
|
|
139733
139809
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -139745,7 +139821,7 @@ var reactProfilerRendersTool = {
|
|
|
139745
139821
|
Returns a markdown table of the top re-rendering components. No profiling session required \u2014 works on a live connected app.
|
|
139746
139822
|
Use when you want a quick snapshot of render counts without a full profiling session.
|
|
139747
139823
|
Fails if the React DevTools hook is not present in the runtime or the app is not connected.`,
|
|
139748
|
-
zodSchema:
|
|
139824
|
+
zodSchema: zodSchema49,
|
|
139749
139825
|
// RN-only: queries the React DevTools backend hook on the live runtime.
|
|
139750
139826
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
139751
139827
|
services: (params) => ({
|
|
@@ -139902,7 +139978,7 @@ function buildFiberTreeScript(maxDepth, filter) {
|
|
|
139902
139978
|
}
|
|
139903
139979
|
})()`;
|
|
139904
139980
|
}
|
|
139905
|
-
var
|
|
139981
|
+
var zodSchema50 = external_exports.object({
|
|
139906
139982
|
port: metroPortField,
|
|
139907
139983
|
device_id: external_exports.string().describe(
|
|
139908
139984
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -139921,7 +139997,7 @@ var reactProfilerFiberTreeTool = {
|
|
|
139921
139997
|
Use when tracing ancestry of a library component or checking for useMemoCache hook (confirms React Compiler is active on a component).
|
|
139922
139998
|
Returns a nested JSON tree of fiber nodes with name, tag, actualDuration, selfBaseDuration, and children.
|
|
139923
139999
|
Fails if the React DevTools hook is not present or no fiber roots have been committed yet.`,
|
|
139924
|
-
zodSchema:
|
|
140000
|
+
zodSchema: zodSchema50,
|
|
139925
140001
|
// RN-only: walks the fiber tree via the React DevTools backend hook.
|
|
139926
140002
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
139927
140003
|
services: (params) => ({
|
|
@@ -140343,8 +140419,8 @@ var import_util8 = require("util");
|
|
|
140343
140419
|
var DEFAULT_EXEC_TIMEOUT_MS = 6e4;
|
|
140344
140420
|
var DEFAULT_EXEC_MAX_BUFFER = 256 * 1024 * 1024;
|
|
140345
140421
|
async function execFileAsyncWithTimeout(file2, args, options = {}) {
|
|
140346
|
-
const
|
|
140347
|
-
const { stdout, stderr } = await
|
|
140422
|
+
const execFileAsync31 = (0, import_util8.promisify)(import_child_process2.execFile);
|
|
140423
|
+
const { stdout, stderr } = await execFileAsync31(file2, args, {
|
|
140348
140424
|
encoding: "utf-8",
|
|
140349
140425
|
...options,
|
|
140350
140426
|
// Applied after ...options so a caller cannot weaken the guards; maxBuffer
|
|
@@ -143719,7 +143795,7 @@ function metroDeviceIdParam(description) {
|
|
|
143719
143795
|
}
|
|
143720
143796
|
|
|
143721
143797
|
// ../tool-server/src/tools/profiler/native-profiler/native-profiler-start.ts
|
|
143722
|
-
var
|
|
143798
|
+
var zodSchema51 = external_exports.object({
|
|
143723
143799
|
device_id: metroDeviceIdParam(
|
|
143724
143800
|
"Target device id from `list-devices` (iOS UDID or Android serial)."
|
|
143725
143801
|
),
|
|
@@ -143733,7 +143809,7 @@ var zodSchema50 = external_exports.object({
|
|
|
143733
143809
|
"iOS-only. When true, cold-launches the app under the profiler with Malloc Stack Logging enabled so memory leaks carry an allocation backtrace (responsible frame + library). Without it, leaks are still detected but unattributable \u2014 Instruments reports '<Call stack limit reached>'. Trade-offs: this RESTARTS the app (current state is lost), adds memory/CPU overhead, and makes the app noticeably slow to launch (every startup allocation records a backtrace), so leave it off for pure CPU/hang profiling. Requires a non-degraded Xcode: on Xcode 26.4 and later the cold-launch path is broken, so the call is rejected up front (re-run without the flag, or set ARGENT_IOS_CAPTURE=device to override if the device path works on your host). ARGENT_IOS_CAPTURE=all-processes \u2014 e.g. exported globally for the normal capture path \u2014 also rejects this flag up front, since that fallback cannot cold-launch; unset it (or set it to device) first. Ignored on Android."
|
|
143734
143810
|
)
|
|
143735
143811
|
});
|
|
143736
|
-
var
|
|
143812
|
+
var capability28 = {
|
|
143737
143813
|
apple: { simulator: true },
|
|
143738
143814
|
android: { emulator: true, device: true, unknown: true }
|
|
143739
143815
|
};
|
|
@@ -143744,21 +143820,21 @@ var nativeProfilerStartTool = {
|
|
|
143744
143820
|
completedMsg: () => "Started native profiler",
|
|
143745
143821
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to start native profiler: ${failureSignal2.error_code}`
|
|
143746
143822
|
},
|
|
143747
|
-
capability:
|
|
143823
|
+
capability: capability28,
|
|
143748
143824
|
description: `Start native profiling on a booted device. iOS: Instruments via xctrace (CPU, hangs, memory). Android: Perfetto (CPU, jank, RSS-growth weak signal).
|
|
143749
143825
|
Auto-detects the running app process unless app_process is explicitly provided.
|
|
143750
143826
|
After starting, let the user interact with the app, then call native-profiler-stop.
|
|
143751
143827
|
Use when you want to capture native CPU, hang, and memory data for a running app.
|
|
143752
143828
|
Returns { status, pid, traceFile } confirming the recording has started.
|
|
143753
143829
|
Fails if no app is running on the device, or the profiler cannot attach to the process.`,
|
|
143754
|
-
zodSchema:
|
|
143830
|
+
zodSchema: zodSchema51,
|
|
143755
143831
|
services: (params) => ({
|
|
143756
143832
|
session: nativeProfilerSessionRef(resolveDevice(params.device_id))
|
|
143757
143833
|
}),
|
|
143758
143834
|
async execute(services, params) {
|
|
143759
143835
|
const api = services.session;
|
|
143760
143836
|
const device = resolveDevice(params.device_id);
|
|
143761
|
-
assertSupported("native-profiler-start",
|
|
143837
|
+
assertSupported("native-profiler-start", capability28, device);
|
|
143762
143838
|
if (api.platform === "ios") {
|
|
143763
143839
|
await ensureDeps(["xcrun"]);
|
|
143764
143840
|
return startNativeProfilerIos(api, params);
|
|
@@ -143771,12 +143847,12 @@ Fails if no app is running on the device, or the profiler cannot attach to the p
|
|
|
143771
143847
|
// ../tool-server/src/tools/profiler/native-profiler/native-profiler-stop.ts
|
|
143772
143848
|
init_zod();
|
|
143773
143849
|
init_device_info();
|
|
143774
|
-
var
|
|
143850
|
+
var zodSchema52 = external_exports.object({
|
|
143775
143851
|
device_id: metroDeviceIdParam(
|
|
143776
143852
|
"Target device id from `list-devices` (iOS UDID or Android serial)."
|
|
143777
143853
|
)
|
|
143778
143854
|
});
|
|
143779
|
-
var
|
|
143855
|
+
var capability29 = {
|
|
143780
143856
|
apple: { simulator: true },
|
|
143781
143857
|
android: { emulator: true, device: true, unknown: true }
|
|
143782
143858
|
};
|
|
@@ -143804,7 +143880,7 @@ var nativeProfilerStopTool = {
|
|
|
143804
143880
|
completedMsg: ({ result }) => `Saved native profile ${result.traceFile.filename}`,
|
|
143805
143881
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to stop native profiler: ${failureSignal2.error_code}`
|
|
143806
143882
|
},
|
|
143807
|
-
capability:
|
|
143883
|
+
capability: capability29,
|
|
143808
143884
|
// Packaging plus the export passes routinely exceed the 30s MCP fetch timeout.
|
|
143809
143885
|
longRunning: true,
|
|
143810
143886
|
description: `Stop native profiling and export trace data.
|
|
@@ -143814,14 +143890,14 @@ Call native-profiler-start first.
|
|
|
143814
143890
|
Use when the user has finished the interaction to profile and you need to export the trace.
|
|
143815
143891
|
Returns { traceFile, exportedFiles, exportDiagnostics? }; traceFile is the raw trace bundle and exportedFiles the exports, all downloadable artifacts materialized to local paths.
|
|
143816
143892
|
Fails if no active native-profiler-start session exists for the given device_id.`,
|
|
143817
|
-
zodSchema:
|
|
143893
|
+
zodSchema: zodSchema52,
|
|
143818
143894
|
services: (params) => ({
|
|
143819
143895
|
session: nativeProfilerSessionRef(resolveDevice(params.device_id))
|
|
143820
143896
|
}),
|
|
143821
143897
|
async execute(services, params, ctx) {
|
|
143822
143898
|
const api = services.session;
|
|
143823
143899
|
const device = resolveDevice(params.device_id);
|
|
143824
|
-
assertSupported("native-profiler-stop",
|
|
143900
|
+
assertSupported("native-profiler-stop", capability29, device);
|
|
143825
143901
|
if (api.platform === "ios") {
|
|
143826
143902
|
await ensureDeps(["xcrun"]);
|
|
143827
143903
|
const ios = await stopNativeProfilerIos(api);
|
|
@@ -143849,12 +143925,12 @@ Fails if no active native-profiler-start session exists for the given device_id.
|
|
|
143849
143925
|
// ../tool-server/src/tools/profiler/native-profiler/native-profiler-analyze.ts
|
|
143850
143926
|
init_zod();
|
|
143851
143927
|
init_device_info();
|
|
143852
|
-
var
|
|
143928
|
+
var zodSchema53 = external_exports.object({
|
|
143853
143929
|
device_id: metroDeviceIdParam(
|
|
143854
143930
|
"Target device id from `list-devices` (iOS UDID or Android serial)."
|
|
143855
143931
|
)
|
|
143856
143932
|
});
|
|
143857
|
-
var
|
|
143933
|
+
var capability30 = {
|
|
143858
143934
|
apple: { simulator: true },
|
|
143859
143935
|
android: { emulator: true, device: true, unknown: true }
|
|
143860
143936
|
};
|
|
@@ -143865,7 +143941,7 @@ var nativeProfilerAnalyzeTool = {
|
|
|
143865
143941
|
completedMsg: () => "Analyzed native profile",
|
|
143866
143942
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to analyze native profile: ${failureSignal2.error_code}`
|
|
143867
143943
|
},
|
|
143868
|
-
capability:
|
|
143944
|
+
capability: capability30,
|
|
143869
143945
|
// Parsing a trace from a recording up to RECORDING_CAP_MS long routinely exceeds
|
|
143870
143946
|
// the 30s MCP fetch timeout, and an aborted call is replayed, not cancelled.
|
|
143871
143947
|
longRunning: true,
|
|
@@ -143878,14 +143954,14 @@ profiler-stack-query for hang stacks, CPU context, leak details) or implement fi
|
|
|
143878
143954
|
Call native-profiler-stop first to export the trace data.
|
|
143879
143955
|
Use when you need to interpret a completed native profiling recording.
|
|
143880
143956
|
Fails if native-profiler-stop has not been called first to export trace data.`,
|
|
143881
|
-
zodSchema:
|
|
143957
|
+
zodSchema: zodSchema53,
|
|
143882
143958
|
services: (params) => ({
|
|
143883
143959
|
session: nativeProfilerSessionRef(resolveDevice(params.device_id))
|
|
143884
143960
|
}),
|
|
143885
143961
|
async execute(services, params, ctx) {
|
|
143886
143962
|
const api = services.session;
|
|
143887
143963
|
const device = resolveDevice(params.device_id);
|
|
143888
|
-
assertSupported("native-profiler-analyze",
|
|
143964
|
+
assertSupported("native-profiler-analyze", capability30, device);
|
|
143889
143965
|
let result;
|
|
143890
143966
|
if (api.platform === "ios") {
|
|
143891
143967
|
await ensureDeps(["xcrun"]);
|
|
@@ -144388,7 +144464,7 @@ var WATERMARK_PNG_HEIGHT = 277;
|
|
|
144388
144464
|
var WATERMARK_PNG_BASE64 = "iVBORw0KGgoAAAANSUhEUgAAA4QAAAEVCAYAAAC46yv0AAAABmJLR0QA/wD/AP+gvaeTAAAgAElEQVR4nOydd7xkRbX916qGIcwQBAaQDEPOacgqIgoCgxJEQRiCCuJ7CCoIzwQYfoIYAJ8BFAUERYLwAEUBMcCoMAwZiUMSkJwGJMycWr8/ui709D23Y1Wf7tP7+/ncz3zm3HN27e7b4eyqXWsRhtEiksYBmCrp8wBWKzqffoLkqiRnFp2HYRiGYRiGYbTDPEUnYPQ/ksYD+LikzwFYvuh8+pTNAVhBaBiGYRiGYQwUVhAaYyJpMe/9YZIOA7B40fn0M977zQD8sug8jOFB0ju89zunHsc5dwHJGanHMQzDMAyjGKwgNEYhaSnv/aGSjiC5SNH5DAIkNy86B2O4kHQcye1Sj+O9XxnAh1OPYxiGYRhGMbDoBIz+QdKq3vvPk5wKYL4mp2cAXupBWkXwtg6ueY3kIiTfiJ6NYdQhaUVJDwBwPRjuDZLLkHy2B2MZhmEYhmEYvUbSBlmWnee9n+O9V5Of17Is+5GkVYrOOyaSnKQ9vPc3tvAc5P5Imlz04zCGgyzLju30ddrha/tTRT9mwzAMwzAMIzKStvHeX+arNLspnJVl2SmSli0675hImlfSVO/9P1u8OX5A0uFZlv0y56b5v4p+PEb5kUTv/f29LAi99zcU/bgNwzAMwzCMSIRC8KoWbwSfzrLsOEmLFZ13TCTNJ+lg7/0jLT4Pt0maKmmecP0n68/Jsuysoh+XUX4kvbvHxeDIhMd6RT92wzAMwzAMo0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CSPxx3Q8zMzGz03CE0M7PZHiS5H8mvjbshZmZmNjncITQzs6ckfYvkhiR/MO7GmJmZ2eTxthNmZvMgSYsC2A3AGhHxXABLkVwawEIAMkkzAPw1pXQtgItIPjrG5pqZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmc2X/j9B0/+uMB3y2gAAAABJRU5ErkJggg==";
|
|
144389
144465
|
|
|
144390
144466
|
// ../tool-server/src/tools/screen-recording/watermark.ts
|
|
144391
|
-
var
|
|
144467
|
+
var execFileAsync27 = (0, import_util9.promisify)(import_child_process6.execFile);
|
|
144392
144468
|
var OUTPUT_FPS = 30;
|
|
144393
144469
|
var FFMPEG_FALLBACK_PATHS = [
|
|
144394
144470
|
"/opt/homebrew/bin/ffmpeg",
|
|
@@ -144405,7 +144481,7 @@ var MASK_DARK_MAX_LUMA = 90;
|
|
|
144405
144481
|
var MASK_LIGHT_MIN_LUMA = 165;
|
|
144406
144482
|
async function resolveBinary(name, fallbacks) {
|
|
144407
144483
|
try {
|
|
144408
|
-
await
|
|
144484
|
+
await execFileAsync27("/bin/sh", ["-c", `command -v ${name}`], { timeout: 2e3 });
|
|
144409
144485
|
return name;
|
|
144410
144486
|
} catch {
|
|
144411
144487
|
}
|
|
@@ -144948,7 +145024,7 @@ var DEFAULT_TIME_LIMIT_SECONDS = 180;
|
|
|
144948
145024
|
var MAX_TIME_LIMIT_SECONDS = 600;
|
|
144949
145025
|
var POINTER_TRAIL_LENGTH = 8;
|
|
144950
145026
|
var POINTER_REQUEST_TIMEOUT_MS = 2e3;
|
|
144951
|
-
var
|
|
145027
|
+
var zodSchema54 = external_exports.object({
|
|
144952
145028
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS Simulator UDID or Android serial)."),
|
|
144953
145029
|
timeLimitSeconds: external_exports.number().int().min(1).max(MAX_TIME_LIMIT_SECONDS).optional().describe(
|
|
144954
145030
|
`Auto-stop cap in seconds (default ${DEFAULT_TIME_LIMIT_SECONDS}, max ${MAX_TIME_LIMIT_SECONDS}). Set it to slightly more than the interaction you plan to capture.`
|
|
@@ -144960,7 +145036,7 @@ var zodSchema53 = external_exports.object({
|
|
|
144960
145036
|
"Default true. Draw simulator-server's touch visualizer into the recording: a pulse marks each tap, a comet trail follows swipes and drags, and paired markers show two-finger pinch/rotate, so the video makes clear where every interaction landed. Set false to record the raw screen with no overlay."
|
|
144961
145037
|
)
|
|
144962
145038
|
});
|
|
144963
|
-
var
|
|
145039
|
+
var capability31 = {
|
|
144964
145040
|
apple: { simulator: true },
|
|
144965
145041
|
android: { emulator: true, device: true, unknown: true }
|
|
144966
145042
|
};
|
|
@@ -144972,7 +145048,7 @@ function createScreenRecordingStartTool(registry2) {
|
|
|
144972
145048
|
completedMsg: () => "Started screen recording",
|
|
144973
145049
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to start screen recording: ${failureSignal2.error_code}`
|
|
144974
145050
|
},
|
|
144975
|
-
capability:
|
|
145051
|
+
capability: capability31,
|
|
144976
145052
|
description: `Start recording the device screen to a video file (h264 mp4, 30fps at the device's native resolution).
|
|
144977
145053
|
By default stretches where the screen does not change are trimmed out (see trimStatic), so a long session with only brief activity comes back as a short clip instead of minutes of dead air.
|
|
144978
145054
|
By default every tap, swipe, drag, pinch and rotate is drawn into the video as an on-screen touch marker (see showTouches), so the recording shows where each interaction landed.
|
|
@@ -144981,7 +145057,7 @@ Use when the user wants a video of an interaction, animation, or app behavior \u
|
|
|
144981
145057
|
Returns { status: "recording", timeLimitSeconds, outputFile } \u2014 the video is retrieved later by \`screen-recording-stop\`, not by reading outputFile directly.
|
|
144982
145058
|
Fails if a recording is already running on the device, the device is not booted, ffmpeg is not installed, or the platform cannot be recorded (tvOS, Chromium, Vega and remote simulators are unsupported).`,
|
|
144983
145059
|
searchHint: "record video screen capture movie mp4 start filming screencast",
|
|
144984
|
-
zodSchema:
|
|
145060
|
+
zodSchema: zodSchema54,
|
|
144985
145061
|
// Resolved inside execute, not declared eagerly: a tvOS udid classifies as
|
|
144986
145062
|
// iOS by shape, so an eager service would spawn simulator-server for a
|
|
144987
145063
|
// device it cannot drive and hang on its ready timeout (as in `screenshot`).
|
|
@@ -144991,7 +145067,7 @@ Fails if a recording is already running on the device, the device is not booted,
|
|
|
144991
145067
|
async execute(services, params) {
|
|
144992
145068
|
const api = services.session;
|
|
144993
145069
|
const device = resolveDevice(params.udid);
|
|
144994
|
-
assertSupported("screen-recording-start",
|
|
145070
|
+
assertSupported("screen-recording-start", capability31, device);
|
|
144995
145071
|
if (device.platform === "ios" && await isTvOsSimulator(params.udid)) {
|
|
144996
145072
|
throw new FailureError(
|
|
144997
145073
|
`Screen recording is not supported on tvOS simulators (device ${params.udid}).`,
|
|
@@ -145080,11 +145156,11 @@ function makePointerControl(simulator) {
|
|
|
145080
145156
|
var import_node_path22 = require("node:path");
|
|
145081
145157
|
init_zod();
|
|
145082
145158
|
init_device_info();
|
|
145083
|
-
var
|
|
145159
|
+
var zodSchema55 = external_exports.object({
|
|
145084
145160
|
udid: external_exports.string().describe("Target device id from `list-devices` (iOS Simulator UDID or Android serial).")
|
|
145085
145161
|
});
|
|
145086
145162
|
var RECORDINGS_DIR = ".argent/recordings";
|
|
145087
|
-
var
|
|
145163
|
+
var capability32 = {
|
|
145088
145164
|
apple: { simulator: true },
|
|
145089
145165
|
android: { emulator: true, device: true, unknown: true }
|
|
145090
145166
|
};
|
|
@@ -145095,21 +145171,21 @@ var screenRecordingStopTool = {
|
|
|
145095
145171
|
completedMsg: ({ result }) => `Saved screen recording ${result.video.filename}`,
|
|
145096
145172
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to stop screen recording: ${failureSignal2.error_code}`
|
|
145097
145173
|
},
|
|
145098
|
-
capability:
|
|
145174
|
+
capability: capability32,
|
|
145099
145175
|
description: `Stop the screen recording started by \`screen-recording-start\` and retrieve the video: frame capture ends and ffmpeg finalizes the mp4.
|
|
145100
145176
|
Also retrieves the video when the recording already ended on its own (time limit reached, capture process died) \u2014 call it even after the cap fired.
|
|
145101
145177
|
Use when the interaction being captured is finished, or a tool-result note reminds you a recording is still running.
|
|
145102
145178
|
Returns { video, durationMs, wallClockMs?, trimmedMs?, panelSwitches?, warning? }; video is a downloadable artifact materialized to a local path. When static-frame trimming removed dead air, durationMs is the trimmed video length and wallClockMs/trimmedMs report the real duration and how much was cut. On a foldable simulator, the recording follows the panel that shows the UI. panelSwitches gives the number of panel changes. The video keeps the size of the first panel. warning is set when argent could not find that panel during the recording.
|
|
145103
145179
|
Fails if no recording (running or finished-but-unretrieved) exists for the given udid.`,
|
|
145104
145180
|
searchHint: "stop end finish screen recording video capture save retrieve",
|
|
145105
|
-
zodSchema:
|
|
145181
|
+
zodSchema: zodSchema55,
|
|
145106
145182
|
services: (params) => ({
|
|
145107
145183
|
session: screenRecordingSessionRef(resolveDevice(params.udid))
|
|
145108
145184
|
}),
|
|
145109
145185
|
async execute(services, params, ctx) {
|
|
145110
145186
|
const api = services.session;
|
|
145111
145187
|
const device = resolveDevice(params.udid);
|
|
145112
|
-
assertSupported("screen-recording-stop",
|
|
145188
|
+
assertSupported("screen-recording-stop", capability32, device);
|
|
145113
145189
|
const stopped = await stopCapture(api);
|
|
145114
145190
|
const artifacts = requireArtifacts(ctx);
|
|
145115
145191
|
const video = await artifacts.register({
|
|
@@ -145141,7 +145217,7 @@ var timeWindowSchema = external_exports.object({
|
|
|
145141
145217
|
"End of window in ms since profiling started \u2014 the same clock profiler-commit-query prints"
|
|
145142
145218
|
)
|
|
145143
145219
|
});
|
|
145144
|
-
var
|
|
145220
|
+
var zodSchema56 = external_exports.object({
|
|
145145
145221
|
port: metroPortField,
|
|
145146
145222
|
device_id: metroDeviceIdParam(
|
|
145147
145223
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -145430,7 +145506,7 @@ Every table states how many samples it covers and how much of that was idle.
|
|
|
145430
145506
|
Use when investigating JS CPU hotspots or correlating CPU cost with specific components.
|
|
145431
145507
|
Returns a markdown table of CPU hotspots, call tree, or per-component CPU breakdown.
|
|
145432
145508
|
Fails if no CPU profile is stored \u2014 run react-profiler-stop first.`,
|
|
145433
|
-
zodSchema:
|
|
145509
|
+
zodSchema: zodSchema56,
|
|
145434
145510
|
// RN-only: reads Hermes-format CPU profiles; Chromium's V8 sample format differs.
|
|
145435
145511
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
145436
145512
|
services: () => ({}),
|
|
@@ -145516,7 +145592,7 @@ var timeRangeSchema = external_exports.object({
|
|
|
145516
145592
|
"End of range in ms since profiling started \u2014 the same clock profiler-commit-query prints"
|
|
145517
145593
|
)
|
|
145518
145594
|
});
|
|
145519
|
-
var
|
|
145595
|
+
var zodSchema57 = external_exports.object({
|
|
145520
145596
|
port: metroPortField,
|
|
145521
145597
|
device_id: metroDeviceIdParam(
|
|
145522
145598
|
"Device logicalDeviceId from debugger-connect (iOS simulator UDID or Android logicalDeviceId)."
|
|
@@ -145789,7 +145865,7 @@ Modes:
|
|
|
145789
145865
|
Use when drilling into specific components or time windows after react-profiler-analyze.
|
|
145790
145866
|
Returns a markdown table or tree of commit data matching the requested mode.
|
|
145791
145867
|
Fails if react-profiler-stop has not been called or no commit data is stored.`,
|
|
145792
|
-
zodSchema:
|
|
145868
|
+
zodSchema: zodSchema57,
|
|
145793
145869
|
// Reads React commit data captured via the React DevTools backend.
|
|
145794
145870
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
145795
145871
|
services: () => ({}),
|
|
@@ -145860,7 +145936,7 @@ Fails if react-profiler-stop has not been called or no commit data is stored.`,
|
|
|
145860
145936
|
init_zod();
|
|
145861
145937
|
init_src2();
|
|
145862
145938
|
init_device_info();
|
|
145863
|
-
var
|
|
145939
|
+
var zodSchema58 = external_exports.object({
|
|
145864
145940
|
device_id: metroDeviceIdParam("iOS Simulator UDID or Android serial."),
|
|
145865
145941
|
mode: external_exports.enum(["hang_stacks", "function_callers", "thread_breakdown", "leak_stacks"]).describe(
|
|
145866
145942
|
"Query mode: hang_stacks (full CPU context during a hang), function_callers (who calls a native function), thread_breakdown (CPU split by thread), leak_stacks (leak details by object type)"
|
|
@@ -146178,7 +146254,7 @@ Modes:
|
|
|
146178
146254
|
Use when drilling into native hang stacks, thread CPU breakdown, or memory leaks after native-profiler-analyze.
|
|
146179
146255
|
Returns a markdown report with native call stacks, thread weights, or leak details for the selected mode.
|
|
146180
146256
|
Fails if native-profiler-analyze has not been run or no parsed trace data is in memory.`,
|
|
146181
|
-
zodSchema:
|
|
146257
|
+
zodSchema: zodSchema58,
|
|
146182
146258
|
// No chromium entry: it has no native trace capture.
|
|
146183
146259
|
capability: {
|
|
146184
146260
|
apple: { simulator: true },
|
|
@@ -146248,7 +146324,7 @@ function buildPerfettoAnchor(wallClockStartMs) {
|
|
|
146248
146324
|
}
|
|
146249
146325
|
|
|
146250
146326
|
// ../tool-server/src/tools/profiler/combined/profiler-combined-report.ts
|
|
146251
|
-
var
|
|
146327
|
+
var zodSchema59 = external_exports.object({
|
|
146252
146328
|
port: metroPortField,
|
|
146253
146329
|
device_id: metroDeviceIdParam("iOS Simulator/device UDID or Android serial")
|
|
146254
146330
|
});
|
|
@@ -146265,7 +146341,7 @@ Requires both react-profiler-analyze and native-profiler-analyze to have been ca
|
|
|
146265
146341
|
Call this tool when both profilers were run in parallel on the same session.
|
|
146266
146342
|
Returns a markdown report correlating hangs with React commits, memory leaks, and investigation hints.
|
|
146267
146343
|
Fails if either react-profiler-analyze or native-profiler-analyze has not been called first.`,
|
|
146268
|
-
zodSchema:
|
|
146344
|
+
zodSchema: zodSchema59,
|
|
146269
146345
|
// iOS reads xctrace output; Android re-queries the Perfetto .pftrace via
|
|
146270
146346
|
// loadAndroidCombinedData. Chromium has no native trace capture.
|
|
146271
146347
|
capability: {
|
|
@@ -146589,7 +146665,7 @@ function assertSafeSessionId(sessionId) {
|
|
|
146589
146665
|
);
|
|
146590
146666
|
}
|
|
146591
146667
|
}
|
|
146592
|
-
var
|
|
146668
|
+
var zodSchema60 = external_exports.object({
|
|
146593
146669
|
mode: external_exports.enum(["list", "load_react", "load_native"]).describe(
|
|
146594
146670
|
"list: show available sessions on disk. load_react: load a React profiler session into memory for query tools. load_native: re-parse native profiler XML files (xctrace on iOS) into memory for query tools."
|
|
146595
146671
|
),
|
|
@@ -146950,7 +147026,7 @@ Modes:
|
|
|
146950
147026
|
For Android .pftrace restores, pass app_process for older sessions that do not have a metadata sidecar.
|
|
146951
147027
|
Returns a summary of the loaded session or a session list for the list mode.
|
|
146952
147028
|
Fails if the session_id is not found or required XML files are missing from disk.`,
|
|
146953
|
-
zodSchema:
|
|
147029
|
+
zodSchema: zodSchema60,
|
|
146954
147030
|
// The Hermes, xctrace and perfetto formats this loads have no Chromium
|
|
146955
147031
|
// equivalent; the gate fails at the call site, not inside the trace parser.
|
|
146956
147032
|
capability: RN_ONLY_TOOL_CAPABILITY,
|
|
@@ -147079,7 +147155,7 @@ function unnameableSessionUrns(urns) {
|
|
|
147079
147155
|
}
|
|
147080
147156
|
|
|
147081
147157
|
// ../tool-server/src/tools/simulator/stop-simulator-server.ts
|
|
147082
|
-
var
|
|
147158
|
+
var zodSchema61 = external_exports.object({
|
|
147083
147159
|
udid: external_exports.string().describe(
|
|
147084
147160
|
"Target device id (iOS UDID, Android serial, or Chromium id) whose transport session to stop"
|
|
147085
147161
|
)
|
|
@@ -147093,7 +147169,7 @@ function createStopSimulatorServerTool(registry2) {
|
|
|
147093
147169
|
failedMsg: ({ params, failureSignal: failureSignal2 }) => `Failed to stop simulator server for ${params.udid}: ${failureSignal2.error_code}`
|
|
147094
147170
|
},
|
|
147095
147171
|
description: `Stop the transport session for a specific device (iOS simulator / Android: simulator-server process; physical iOS: the on-device runner; Chromium: CDP WebSocket) and free its resources; on a TV target it also reaps that device's TV-control daemons. Use when you are done interacting with one device but want to keep others running, or to restart a wedged transport. On iOS / Android / TV it deliberately leaves this device's native-devtools, accessibility, profiler and debugger services running - to drain those as well, use stop-all-simulator-servers with \`devices\`. On CHROMIUM that does not hold: the JS-runtime debugger declares the CDP session as a dependency, so stopping the transport cascades to it and its captured console history goes with it - reconnect with debugger-connect afterwards. Returns { stopped, udid }. Fails silently if no session is open for the given id.`,
|
|
147096
|
-
zodSchema:
|
|
147172
|
+
zodSchema: zodSchema61,
|
|
147097
147173
|
services: () => ({}),
|
|
147098
147174
|
async execute(_services, params) {
|
|
147099
147175
|
const udid = params.udid;
|
|
@@ -147124,7 +147200,7 @@ function createStopSimulatorServerTool(registry2) {
|
|
|
147124
147200
|
init_zod();
|
|
147125
147201
|
init_src2();
|
|
147126
147202
|
init_external_devices();
|
|
147127
|
-
var
|
|
147203
|
+
var zodSchema62 = external_exports.object({
|
|
147128
147204
|
devices: external_exports.array(external_exports.string()).optional().describe(
|
|
147129
147205
|
"Device ids (iOS UDID / Android serial / Chromium id) to scope the teardown to \u2014 pass the devices THIS session actually used. Omit only for a deliberate machine-wide cleanup: one tool-server serves every agent using this argent install, so an unscoped stop also kills devices another agent is mid-session on."
|
|
147130
147206
|
)
|
|
@@ -147163,7 +147239,7 @@ function createStopAllSimulatorServersTool(registry2) {
|
|
|
147163
147239
|
PASS \`devices\` with the device ids this session used \u2014 one tool-server serves every agent, subagent and CLI call using this argent install, and an unscoped call tears down THEIR devices too (a mid-recording devtools teardown degrades another agent's flow to brittle coordinate taps; that agent is warned, but its recorded steps are already the worse kind). Omit \`devices\` only when a machine-wide cleanup is what you actually want. Passing an EMPTY array scopes to nothing and stops nothing - it is not a way to ask for the machine-wide sweep.
|
|
147164
147240
|
A JS-runtime debugger session is keyed by the id you called \`debugger-connect\` with. On a Metro serving two or more devices that id is not a udid or serial - connect refuses those and tells you to re-target with the \`logicalDeviceId\` it returns - so a scope built from \`list-devices\` ids cannot reach that session. Pass any such \`logicalDeviceId\` in \`devices\` ALONGSIDE the device id; { left_running } names the ones you missed.
|
|
147165
147241
|
Returns { stopped } - the URNs of the services that were actually live and got shut down; an ERROR node is disposed too but never appears there, so an empty \`stopped\` only means nothing was still running. { unmatched } lists supplied ids that own no service here, so a mistyped id - or a device NAME passed where an id was expected - does not read as a clean machine. It is NOT proof the id is wrong: a Vega device is driven through CLI/adb shell-outs, so one you only booted and drove with the remote registers no service and always lands here \u2014 as does a real device of any platform this session never started anything on. Present ONLY when \`devices\` was supplied AND at least one id matched nothing - absent on an unscoped call and when every id matched. Stopping the same device twice does not report it unmatched: ownership counts regardless of service state. { left_running } lists live debugger sessions (and the network inspectors / React profiler sessions riding on them) whose id no device scope can name - re-call with that id to reap them. { aborted: true } means the caller cancelled the request part-way, so the rest of the machine was left untouched and neither of the other two fields was computed. Past the schema - which rejects an unknown key outright, so the \`udids\` slip is an error rather than a silent machine-wide sweep - the call always succeeds; reaping nothing is a result, not a failure.`,
|
|
147166
|
-
zodSchema:
|
|
147242
|
+
zodSchema: zodSchema62,
|
|
147167
147243
|
services: () => ({}),
|
|
147168
147244
|
async execute(_services, params, ctx) {
|
|
147169
147245
|
const devices = params.devices;
|
|
@@ -147211,7 +147287,7 @@ Returns { stopped } - the URNs of the services that were actually live and got s
|
|
|
147211
147287
|
|
|
147212
147288
|
// ../tool-server/src/tools/simulator/stop-metro.ts
|
|
147213
147289
|
init_zod();
|
|
147214
|
-
var
|
|
147290
|
+
var import_node_child_process35 = require("node:child_process");
|
|
147215
147291
|
function parseNetstatListeningPids(netstatOutput, port) {
|
|
147216
147292
|
const pids = /* @__PURE__ */ new Set();
|
|
147217
147293
|
for (const line of netstatOutput.split(/\r?\n/)) {
|
|
@@ -147227,7 +147303,7 @@ function parseNetstatListeningPids(netstatOutput, port) {
|
|
|
147227
147303
|
}
|
|
147228
147304
|
function listeningPids(port) {
|
|
147229
147305
|
if (process.platform === "win32") {
|
|
147230
|
-
const output2 = (0,
|
|
147306
|
+
const output2 = (0, import_node_child_process35.execFileSync)("netstat", ["-ano"], {
|
|
147231
147307
|
encoding: "utf-8",
|
|
147232
147308
|
timeout: 5e3,
|
|
147233
147309
|
// `netstat -ano` dumps every socket on the host; overflowing Node's
|
|
@@ -147236,14 +147312,14 @@ function listeningPids(port) {
|
|
|
147236
147312
|
});
|
|
147237
147313
|
return parseNetstatListeningPids(output2, port);
|
|
147238
147314
|
}
|
|
147239
|
-
const output = (0,
|
|
147315
|
+
const output = (0, import_node_child_process35.execFileSync)("lsof", ["-ti", `tcp:${port}`, "-sTCP:LISTEN"], {
|
|
147240
147316
|
encoding: "utf-8",
|
|
147241
147317
|
timeout: 5e3
|
|
147242
147318
|
}).trim();
|
|
147243
147319
|
if (!output) return [];
|
|
147244
147320
|
return output.split("\n").map((s) => parseInt(s.trim(), 10)).filter((n) => !Number.isNaN(n));
|
|
147245
147321
|
}
|
|
147246
|
-
var
|
|
147322
|
+
var zodSchema63 = external_exports.object({
|
|
147247
147323
|
port: external_exports.number().int().min(1).max(65535).default(8081).describe("TCP port Metro is listening on (default 8081)")
|
|
147248
147324
|
});
|
|
147249
147325
|
var stopMetroTool = {
|
|
@@ -147254,7 +147330,7 @@ var stopMetroTool = {
|
|
|
147254
147330
|
failedMsg: ({ params, failureSignal: failureSignal2 }) => `Failed to stop Metro on port ${params.port}: ${failureSignal2.error_code}`
|
|
147255
147331
|
},
|
|
147256
147332
|
description: `Stop the Metro bundler process listening on a given port (default 8081). Use when ending a React Native session or when Metro must be restarted. Returns { stopped, port, pids }; stopped=false if no process is found on the port. Fails if the port lookup command times out or the process cannot be killed. This is DESTRUCTIVE \u2014 always ask the user for confirmation before calling this tool.`,
|
|
147257
|
-
zodSchema:
|
|
147333
|
+
zodSchema: zodSchema63,
|
|
147258
147334
|
services: () => ({}),
|
|
147259
147335
|
async execute(_services, params) {
|
|
147260
147336
|
const port = params.port;
|
|
@@ -149598,7 +149674,7 @@ async function appendStepToFlow(session, step) {
|
|
|
149598
149674
|
}
|
|
149599
149675
|
|
|
149600
149676
|
// ../tool-server/src/tools/flows/flow-start-recording.ts
|
|
149601
|
-
var
|
|
149677
|
+
var zodSchema64 = external_exports.object({
|
|
149602
149678
|
name: external_exports.string().describe(
|
|
149603
149679
|
'Name for this flow (e.g. "settings-explore") \u2014 letters, digits, underscore and hyphen only.'
|
|
149604
149680
|
),
|
|
@@ -149655,7 +149731,7 @@ recording. Over a link, the next recorded step writes over your edit.
|
|
|
149655
149731
|
Without a link, the recorder reads the file again before each step, but an
|
|
149656
149732
|
edit that renumbers the steps drops the warnings that flow-finish-recording
|
|
149657
149733
|
reports for those steps.`,
|
|
149658
|
-
zodSchema:
|
|
149734
|
+
zodSchema: zodSchema64,
|
|
149659
149735
|
fileInputs: fileInputs2,
|
|
149660
149736
|
services: () => ({}),
|
|
149661
149737
|
async execute(_services, params, ctx) {
|
|
@@ -152155,7 +152231,7 @@ function stepAnchor(step) {
|
|
|
152155
152231
|
|
|
152156
152232
|
// ../tool-server/src/tools/flows/flow-add-step.ts
|
|
152157
152233
|
init_device_info();
|
|
152158
|
-
var
|
|
152234
|
+
var zodSchema65 = external_exports.object({
|
|
152159
152235
|
name: external_exports.string().describe("Name of the flow being recorded \u2014 the one passed to flow-start-recording."),
|
|
152160
152236
|
project_root: external_exports.string().describe(
|
|
152161
152237
|
"Absolute path to the project root of the flow being recorded \u2014 the same value passed to flow-start-recording. Together with `name` it identifies which recording this step belongs to."
|
|
@@ -152614,7 +152690,7 @@ Returns { message, stepCount, recorded, savedTo }; \`recorded\`, not the status,
|
|
|
152614
152690
|
// more times — and every retry re-runs the action and appends another step,
|
|
152615
152691
|
// because an aborted request still appends its first.
|
|
152616
152692
|
longRunning: true,
|
|
152617
|
-
zodSchema:
|
|
152693
|
+
zodSchema: zodSchema65,
|
|
152618
152694
|
fileInputs: fileInputs3,
|
|
152619
152695
|
services: () => ({}),
|
|
152620
152696
|
async execute(_services, params, ctx) {
|
|
@@ -152803,7 +152879,7 @@ Returns { message, stepCount, recorded, savedTo }; \`recorded\`, not the status,
|
|
|
152803
152879
|
|
|
152804
152880
|
// ../tool-server/src/tools/flows/flow-insert-echo.ts
|
|
152805
152881
|
init_zod();
|
|
152806
|
-
var
|
|
152882
|
+
var zodSchema66 = external_exports.object({
|
|
152807
152883
|
name: external_exports.string().describe("Name of the flow being recorded \u2014 the one passed to flow-start-recording."),
|
|
152808
152884
|
project_root: external_exports.string().describe(
|
|
152809
152885
|
"Absolute path to the project root of the flow being recorded \u2014 the same value passed to flow-start-recording. Together with `name` it identifies which recording this echo belongs to."
|
|
@@ -152821,7 +152897,7 @@ var flowInsertEchoTool = {
|
|
|
152821
152897
|
description: `Record an echo step in the flow named by \`name\` + \`project_root\`. Echo steps print a message when the flow is replayed \u2014 useful as labels between tool calls.
|
|
152822
152898
|
Use when you want to annotate a recorded flow with a human-readable label or checkpoint message.
|
|
152823
152899
|
Returns { message, stepCount, savedTo }. Fails if that flow has no recording in progress.`,
|
|
152824
|
-
zodSchema:
|
|
152900
|
+
zodSchema: zodSchema66,
|
|
152825
152901
|
services: () => ({}),
|
|
152826
152902
|
async execute(_services, params) {
|
|
152827
152903
|
const session = await requireRecordingSession(params.project_root, params.name);
|
|
@@ -152849,7 +152925,7 @@ var import_node_url4 = require("node:url");
|
|
|
152849
152925
|
init_src2();
|
|
152850
152926
|
|
|
152851
152927
|
// ../tool-server/src/tools/flows/script/flow-script-executor.ts
|
|
152852
|
-
var
|
|
152928
|
+
var import_node_child_process36 = require("node:child_process");
|
|
152853
152929
|
var fs58 = __toESM(require("node:fs"));
|
|
152854
152930
|
var os17 = __toESM(require("node:os"));
|
|
152855
152931
|
var path44 = __toESM(require("node:path"));
|
|
@@ -153234,7 +153310,7 @@ var FlowScriptExecutor = class {
|
|
|
153234
153310
|
detached: process.platform !== "win32",
|
|
153235
153311
|
windowsHide: process.platform === "win32"
|
|
153236
153312
|
};
|
|
153237
|
-
child = (0,
|
|
153313
|
+
child = (0, import_node_child_process36.fork)(scriptPath, [], forkOptions);
|
|
153238
153314
|
} catch (err) {
|
|
153239
153315
|
return emptyResult(
|
|
153240
153316
|
{ kind: "spawn", message: `Could not start the script process: ${errorMessage(err)}` },
|
|
@@ -153675,7 +153751,7 @@ async function stopProcessTree(child, graceMs) {
|
|
|
153675
153751
|
if (process.platform === "win32") {
|
|
153676
153752
|
if (hasExited(child)) return;
|
|
153677
153753
|
tryKill(() => {
|
|
153678
|
-
const killer = (0,
|
|
153754
|
+
const killer = (0, import_node_child_process36.spawn)("taskkill", ["/pid", String(pid), "/t", "/f"], {
|
|
153679
153755
|
windowsHide: true,
|
|
153680
153756
|
stdio: "ignore"
|
|
153681
153757
|
});
|
|
@@ -154124,7 +154200,7 @@ function errMsg3(err) {
|
|
|
154124
154200
|
|
|
154125
154201
|
// ../tool-server/src/tools/flows/flow-add-script.ts
|
|
154126
154202
|
var OUTPUT_RENDER_LIMIT_BYTES = 64 * 1024;
|
|
154127
|
-
var
|
|
154203
|
+
var zodSchema67 = external_exports.object({
|
|
154128
154204
|
name: external_exports.string().describe("Flow name passed to flow-start-recording."),
|
|
154129
154205
|
project_root: external_exports.string().describe("Absolute project root passed to flow-start-recording."),
|
|
154130
154206
|
path: external_exports.string().describe(
|
|
@@ -154181,7 +154257,7 @@ var flowAddScriptTool = {
|
|
|
154181
154257
|
// The flag only skips the adapter's own abort timer; its retry loop is
|
|
154182
154258
|
// untouched, so a call that fails some other way is still re-POSTed.
|
|
154183
154259
|
longRunning: true,
|
|
154184
|
-
zodSchema:
|
|
154260
|
+
zodSchema: zodSchema67,
|
|
154185
154261
|
services: () => ({}),
|
|
154186
154262
|
async execute(_services, params, ctx) {
|
|
154187
154263
|
const session = await requireRecordingSession(params.project_root, params.name);
|
|
@@ -154271,7 +154347,7 @@ var flowAddScriptTool = {
|
|
|
154271
154347
|
// ../tool-server/src/tools/flows/flow-finish-recording.ts
|
|
154272
154348
|
init_zod();
|
|
154273
154349
|
var fs60 = __toESM(require("node:fs/promises"));
|
|
154274
|
-
var
|
|
154350
|
+
var zodSchema68 = external_exports.object({
|
|
154275
154351
|
name: external_exports.string().describe("Name of the flow being recorded \u2014 the one passed to flow-start-recording."),
|
|
154276
154352
|
project_root: external_exports.string().describe(
|
|
154277
154353
|
"Absolute path to the project root of the flow being recorded \u2014 the same value passed to flow-start-recording. Together with `name` it identifies which recording to finish."
|
|
@@ -154330,7 +154406,7 @@ var flowFinishRecordingTool = {
|
|
|
154330
154406
|
description: `Finish recording the flow named by \`name\` + \`project_root\`, leaving recordings under any other key untouched. Returns { message, path, executionPrerequisite, steps, summary, flowFile, savedTo } - a summary of all recorded steps plus the final YAML. Use when you have added all desired steps and want to finalize the flow file. Fails if that flow has no recording in progress.
|
|
154331
154407
|
A warning flow-add-step raised on a recorded \`await-ui-element\` is repeated in \`summary\` as a \`warning:\` line of its own, right below the step it judges, and \`message\` counts them by kind. A warning is repeated only while the step it judges is still identifiable by its number: hand-editing the .yaml during the recording moves the steps, so those warnings are DROPPED rather than pinned on whichever step inherited the number, and \`message\` says how many were dropped. A step that carries a cross-tree warning was re-probed against the runner's tree: read it before converting that wait to \`await:\`/\`assert:\`, which is what the verdict is about and what this moment is for. A step that recorded a wait which did not pass was never probed at all, and its own warning names the CAUSE, because only one of them judges the condition: an unmet wait was read and found false, and it stops the run at replay; a wait whose tree source could not be read, or one that was cancelled, observed nothing and leaves the condition UNKNOWN rather than known-bad. Read those before replaying.
|
|
154332
154408
|
You can still edit the .yaml file directly afterwards to remove or reorder steps.`,
|
|
154333
|
-
zodSchema:
|
|
154409
|
+
zodSchema: zodSchema68,
|
|
154334
154410
|
services: () => ({}),
|
|
154335
154411
|
async execute(_services, params) {
|
|
154336
154412
|
const { filePath, flowFile, savedTo, flow, summary, headline } = await withFlowFileLock(
|
|
@@ -154395,7 +154471,7 @@ init_src2();
|
|
|
154395
154471
|
// ../tool-server/src/tools/screenshot-diff/screenshot-diff-ocr.ts
|
|
154396
154472
|
var import_child_process8 = require("child_process");
|
|
154397
154473
|
var import_util10 = require("util");
|
|
154398
|
-
var
|
|
154474
|
+
var execFileAsync28 = (0, import_util10.promisify)(import_child_process8.execFile);
|
|
154399
154475
|
var OCR_TIMEOUT_MS = 1e4;
|
|
154400
154476
|
var OCR_MAX_BUFFER_BYTES = 32 * 1024 * 1024;
|
|
154401
154477
|
var TESSERACT_BINARY = "tesseract";
|
|
@@ -154440,7 +154516,7 @@ async function extractOcrTextBlocks(imagePath) {
|
|
|
154440
154516
|
}
|
|
154441
154517
|
}
|
|
154442
154518
|
async function recognizeTsv(imagePath) {
|
|
154443
|
-
const { stdout } = await
|
|
154519
|
+
const { stdout } = await execFileAsync28(
|
|
154444
154520
|
TESSERACT_BINARY,
|
|
154445
154521
|
[
|
|
154446
154522
|
imagePath,
|
|
@@ -156716,11 +156792,11 @@ async function runSnapshot(env, opts) {
|
|
|
156716
156792
|
}
|
|
156717
156793
|
|
|
156718
156794
|
// ../tool-server/src/utils/status-bar.ts
|
|
156719
|
-
var
|
|
156720
|
-
var
|
|
156795
|
+
var import_node_child_process37 = require("node:child_process");
|
|
156796
|
+
var import_node_util27 = require("node:util");
|
|
156721
156797
|
init_adb();
|
|
156722
156798
|
init_device_info();
|
|
156723
|
-
var
|
|
156799
|
+
var execFileAsync29 = (0, import_node_util27.promisify)(import_node_child_process37.execFile);
|
|
156724
156800
|
var DEMO_BROADCAST = "am broadcast -a com.android.systemui.demo";
|
|
156725
156801
|
var IOS_STATUS_BAR_OVERRIDE = [
|
|
156726
156802
|
"override",
|
|
@@ -156744,7 +156820,7 @@ async function pinStatusBar(device, signal) {
|
|
|
156744
156820
|
if (isIosPhysicalDevice(device)) return false;
|
|
156745
156821
|
try {
|
|
156746
156822
|
if (device.platform === "ios") {
|
|
156747
|
-
await
|
|
156823
|
+
await execFileAsync29(
|
|
156748
156824
|
"xcrun",
|
|
156749
156825
|
await simctlArgsForUdid(device.id, ["status_bar", device.id, ...IOS_STATUS_BAR_OVERRIDE])
|
|
156750
156826
|
);
|
|
@@ -156780,7 +156856,7 @@ async function pinStatusBar(device, signal) {
|
|
|
156780
156856
|
async function restoreStatusBar(device) {
|
|
156781
156857
|
try {
|
|
156782
156858
|
if (device.platform === "ios") {
|
|
156783
|
-
await
|
|
156859
|
+
await execFileAsync29(
|
|
156784
156860
|
"xcrun",
|
|
156785
156861
|
await simctlArgsForUdid(device.id, ["status_bar", device.id, "clear"])
|
|
156786
156862
|
);
|
|
@@ -156802,7 +156878,7 @@ async function restoreStatusBar(device) {
|
|
|
156802
156878
|
}
|
|
156803
156879
|
|
|
156804
156880
|
// ../tool-server/src/tools/flows/flow-run.ts
|
|
156805
|
-
var
|
|
156881
|
+
var zodSchema69 = external_exports.object({
|
|
156806
156882
|
name: external_exports.string().optional().describe(
|
|
156807
156883
|
'Name of a saved flow to run from `.argent/flows` (e.g. "settings-explore"). Omit when flow_path is set.'
|
|
156808
156884
|
),
|
|
@@ -157309,7 +157385,7 @@ one-off interaction use the gesture tools instead, and to author a flow use flow
|
|
|
157309
157385
|
exactly one flow source: name (under project_root) or flow_path.
|
|
157310
157386
|
Returns a per-step report: the first failure stops the run and the rest report as skipped.`,
|
|
157311
157387
|
longRunning: true,
|
|
157312
|
-
zodSchema:
|
|
157388
|
+
zodSchema: zodSchema69,
|
|
157313
157389
|
fileInputs: fileInputs4,
|
|
157314
157390
|
services: () => ({}),
|
|
157315
157391
|
async execute(_services, params, ctx) {
|
|
@@ -158286,7 +158362,7 @@ async function resolveFlowSource(params, fileInput, flowPathInput) {
|
|
|
158286
158362
|
// ../tool-server/src/tools/flows/flow-read-prerequisite.ts
|
|
158287
158363
|
init_zod();
|
|
158288
158364
|
var fs64 = __toESM(require("node:fs/promises"));
|
|
158289
|
-
var
|
|
158365
|
+
var zodSchema70 = external_exports.object({
|
|
158290
158366
|
name: external_exports.string().optional().describe(
|
|
158291
158367
|
'Name of a saved flow to inspect from `.argent/flows` (e.g. "settings-explore"). Omit when flow_path is set.'
|
|
158292
158368
|
),
|
|
@@ -158342,7 +158418,7 @@ Touches no device: nothing is launched, tapped, dispatched or torn down, and no
|
|
|
158342
158418
|
needs booting, so calling this costs nothing but a file read.
|
|
158343
158419
|
Fails if the flow file does not exist.
|
|
158344
158420
|
Address the flow exactly as you will address it in flow-execute: name or flow_path, one and only one; supplying both or neither is rejected. The name goes in \`name\`, which resolves <project_root>/.argent/flows/<name>.yaml.`,
|
|
158345
|
-
zodSchema:
|
|
158421
|
+
zodSchema: zodSchema70,
|
|
158346
158422
|
fileInputs: fileInputs5,
|
|
158347
158423
|
services: () => ({}),
|
|
158348
158424
|
async execute(_services, params, ctx) {
|
|
@@ -158365,7 +158441,7 @@ init_zod();
|
|
|
158365
158441
|
// ../tool-server/src/utils/workspace-reader.ts
|
|
158366
158442
|
var import_promises12 = require("node:fs/promises");
|
|
158367
158443
|
var import_node_path23 = require("node:path");
|
|
158368
|
-
var
|
|
158444
|
+
var import_node_child_process38 = require("node:child_process");
|
|
158369
158445
|
var import_dotenv2 = __toESM(require_main());
|
|
158370
158446
|
async function exists(path53) {
|
|
158371
158447
|
try {
|
|
@@ -158409,7 +158485,7 @@ async function listDir(path53) {
|
|
|
158409
158485
|
var COMMAND_TIMEOUT_MS = 3e3;
|
|
158410
158486
|
function runVersionCommand(cmd, args, cwd) {
|
|
158411
158487
|
return new Promise((resolve14) => {
|
|
158412
|
-
const child = (0,
|
|
158488
|
+
const child = (0, import_node_child_process38.execFile)(cmd, args, { cwd, timeout: COMMAND_TIMEOUT_MS }, (err, stdout) => {
|
|
158413
158489
|
if (err) {
|
|
158414
158490
|
resolve14(null);
|
|
158415
158491
|
return;
|
|
@@ -158658,7 +158734,7 @@ async function readWorkspaceSnapshot(workspacePath) {
|
|
|
158658
158734
|
}
|
|
158659
158735
|
|
|
158660
158736
|
// ../tool-server/src/tools/workspace/gather-workspace-data.ts
|
|
158661
|
-
var
|
|
158737
|
+
var zodSchema71 = external_exports.object({
|
|
158662
158738
|
workspacePath: external_exports.string().describe("Absolute path to the project root directory to inspect (e.g. /Users/dev/MyApp)")
|
|
158663
158739
|
});
|
|
158664
158740
|
var fileInputs6 = [
|
|
@@ -158689,7 +158765,7 @@ exploration of anything the snapshot surfaces.
|
|
|
158689
158765
|
Use when you need to inspect project configuration without manually reading multiple files.
|
|
158690
158766
|
Returns partial data if workspacePath does not exist or is not readable; missing items are represented as null or empty collections.
|
|
158691
158767
|
Fails if the workspacePath is not an absolute path or the directory cannot be accessed.`,
|
|
158692
|
-
zodSchema:
|
|
158768
|
+
zodSchema: zodSchema71,
|
|
158693
158769
|
fileInputs: fileInputs6,
|
|
158694
158770
|
services: () => ({}),
|
|
158695
158771
|
async execute(_services, params) {
|
|
@@ -158698,7 +158774,7 @@ Fails if the workspacePath is not an absolute path or the directory cannot be ac
|
|
|
158698
158774
|
};
|
|
158699
158775
|
|
|
158700
158776
|
// ../tool-server/src/tools/system/update-argent.ts
|
|
158701
|
-
var
|
|
158777
|
+
var import_node_child_process39 = require("node:child_process");
|
|
158702
158778
|
var fs65 = __toESM(require("node:fs"));
|
|
158703
158779
|
var path49 = __toESM(require("node:path"));
|
|
158704
158780
|
init_zod();
|
|
@@ -158763,7 +158839,7 @@ function targetFlagsFor(target) {
|
|
|
158763
158839
|
if (target === "both") return ["--global", "--local"];
|
|
158764
158840
|
return [`--${target}`];
|
|
158765
158841
|
}
|
|
158766
|
-
var
|
|
158842
|
+
var zodSchema72 = external_exports.object({
|
|
158767
158843
|
target: external_exports.enum(["auto", "global", "local", "both"]).optional().describe(
|
|
158768
158844
|
"Which install to update. 'auto' (default) updates the install serving this session \u2014 the global PATH install or this project's local devDependency, whichever this server runs from. Pass 'global' / 'local' to force one, or 'both' when the user has both and wants each updated."
|
|
158769
158845
|
)
|
|
@@ -158777,7 +158853,7 @@ var updateArgentTool = {
|
|
|
158777
158853
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to update Argent: ${failureSignal2.error_code}`
|
|
158778
158854
|
},
|
|
158779
158855
|
description: "Apply a pending Argent update. Only call this tool when the user has explicitly consented to updating Argent in this conversation. Use when an update notification indicates a new version is available and the user agrees to update. By default updates the install serving this session; pass `target` to choose global/local/both. Returns { message } with the update status and version info. The tool server will restart automatically after the update. Fails if no update is available or an update is already in progress.",
|
|
158780
|
-
zodSchema:
|
|
158856
|
+
zodSchema: zodSchema72,
|
|
158781
158857
|
services: () => ({}),
|
|
158782
158858
|
async execute(_services, params, _options) {
|
|
158783
158859
|
const { updateAvailable, updateInstallable, currentVersion, installableVersion } = getUpdateState();
|
|
@@ -158833,7 +158909,7 @@ var updateArgentTool = {
|
|
|
158833
158909
|
if (spawnRoot) updateArgs.push("--project-root", spawnRoot);
|
|
158834
158910
|
const cmd = cliEntry ? process.execPath : "argent";
|
|
158835
158911
|
const args = cliEntry ? [cliEntry, ...updateArgs] : updateArgs;
|
|
158836
|
-
const child = (0,
|
|
158912
|
+
const child = (0, import_node_child_process39.spawn)(cmd, args, {
|
|
158837
158913
|
detached: true,
|
|
158838
158914
|
stdio: "ignore",
|
|
158839
158915
|
env: { ...process.env, ARGENT_UPDATE_TRIGGER: "mcp_update" }
|
|
@@ -158862,7 +158938,7 @@ var updateArgentTool = {
|
|
|
158862
158938
|
|
|
158863
158939
|
// ../tool-server/src/tools/system/dismiss-update.ts
|
|
158864
158940
|
init_zod();
|
|
158865
|
-
var
|
|
158941
|
+
var zodSchema73 = external_exports.object({
|
|
158866
158942
|
hours: external_exports.number().min(0).describe("Number of hours to suppress the update notification")
|
|
158867
158943
|
});
|
|
158868
158944
|
var dismissUpdateTool = {
|
|
@@ -158873,7 +158949,7 @@ var dismissUpdateTool = {
|
|
|
158873
158949
|
failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to dismiss Argent update: ${failureSignal2.error_code}`
|
|
158874
158950
|
},
|
|
158875
158951
|
description: "Clear the Argent update notification for the given number of hours. Use when the user asks to postpone or silence update reminders. Returns { message } confirming the suppression duration. Fails if the hours value is negative or the suppression state cannot be persisted.",
|
|
158876
|
-
zodSchema:
|
|
158952
|
+
zodSchema: zodSchema73,
|
|
158877
158953
|
services: () => ({}),
|
|
158878
158954
|
async execute(_services, params, _options) {
|
|
158879
158955
|
const durationMs = params.hours * 60 * 60 * 1e3;
|
|
@@ -158892,7 +158968,7 @@ var import_path8 = __toESM(require("path"));
|
|
|
158892
158968
|
init_zod();
|
|
158893
158969
|
init_src2();
|
|
158894
158970
|
init_device_info();
|
|
158895
|
-
var
|
|
158971
|
+
var zodSchema74 = external_exports.object({
|
|
158896
158972
|
baselinePath: external_exports.string().min(1).optional().describe("Path to the baseline PNG file. Required unless captureBaseline is true."),
|
|
158897
158973
|
currentPath: external_exports.string().min(1).optional().describe("Path to the current PNG file. Required unless captureCurrent is true."),
|
|
158898
158974
|
udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
|
|
@@ -158909,7 +158985,7 @@ var zodSchema73 = external_exports.object({
|
|
|
158909
158985
|
"Directory where diff artifacts should be written. Optional \u2014 defaults to a temp directory; the diff images are returned in the result either way."
|
|
158910
158986
|
)
|
|
158911
158987
|
}).strict();
|
|
158912
|
-
var
|
|
158988
|
+
var capability33 = {
|
|
158913
158989
|
apple: { simulator: true, device: true },
|
|
158914
158990
|
android: { emulator: true, device: true, unknown: true }
|
|
158915
158991
|
};
|
|
@@ -158934,8 +159010,8 @@ Returns { summary, diffPath, contextDiffPath }. The summary uses normalized [0,1
|
|
|
158934
159010
|
Ignores the fixed top status-bar band for both pixel and OCR text comparisons.
|
|
158935
159011
|
Fails if the input sources are invalid, PNG files cannot be read, outputDir cannot be written, or the simulator-server / emulator backend is not reachable.`,
|
|
158936
159012
|
searchHint: "compare screenshots png diff visual UI changes UI regression visual regression screenshot diff changed regions text ocr live capture",
|
|
158937
|
-
zodSchema:
|
|
158938
|
-
capability:
|
|
159013
|
+
zodSchema: zodSchema74,
|
|
159014
|
+
capability: capability33,
|
|
158939
159015
|
fileInputs: fileInputs7,
|
|
158940
159016
|
services: (params) => {
|
|
158941
159017
|
if (params.captureBaseline || params.captureCurrent) {
|
|
@@ -159248,7 +159324,7 @@ async function captureElementFrame(registry2, udid, match, opts = {}) {
|
|
|
159248
159324
|
}
|
|
159249
159325
|
|
|
159250
159326
|
// ../tool-server/src/tools/variants/propose-variant.ts
|
|
159251
|
-
var
|
|
159327
|
+
var zodSchema75 = external_exports.object({
|
|
159252
159328
|
element: external_exports.string().min(1).max(200).describe(
|
|
159253
159329
|
'Human name of the on-screen element this variant targets, e.g. "Foo button" or "profile header". Repeated calls with the same element accumulate multiple variants on it. Used as the default screen matcher when `match` is omitted.'
|
|
159254
159330
|
),
|
|
@@ -159308,7 +159384,7 @@ arrives as a follow-up message (this is the case in an \`argent lens\` CLI sessi
|
|
|
159308
159384
|
Returns { round, elementId, variantId, element, variantCount, totalElements } \u2014 confirmation only;
|
|
159309
159385
|
it does not wait for the user.`,
|
|
159310
159386
|
searchHint: "propose design variant alternative option for element non-blocking ab choice",
|
|
159311
|
-
zodSchema:
|
|
159387
|
+
zodSchema: zodSchema75,
|
|
159312
159388
|
services: () => ({}),
|
|
159313
159389
|
async execute(_services, params) {
|
|
159314
159390
|
let frame = params.variant.frame;
|
|
@@ -159332,7 +159408,7 @@ it does not wait for the user.`,
|
|
|
159332
159408
|
|
|
159333
159409
|
// ../tool-server/src/tools/variants/await-user-selection.ts
|
|
159334
159410
|
init_zod();
|
|
159335
|
-
var
|
|
159411
|
+
var zodSchema76 = external_exports.object({
|
|
159336
159412
|
timeoutSeconds: external_exports.number().int().min(5).max(86400).optional().describe(
|
|
159337
159413
|
"Max seconds to block this call before returning a re-awaitable { status: 'pending' } result (default 1800). The user's proposals stay live across timeouts \u2014 on 'pending' just call await_user_selection again. Lower this if your MCP client enforces a short request timeout."
|
|
159338
159414
|
)
|
|
@@ -159373,7 +159449,7 @@ This tool is long-running; it intentionally holds the request open. It honors cl
|
|
|
159373
159449
|
disconnects (aborts cleanly).`,
|
|
159374
159450
|
searchHint: "await wait user selection choice variant blocking confirm picks complete",
|
|
159375
159451
|
longRunning: true,
|
|
159376
|
-
zodSchema:
|
|
159452
|
+
zodSchema: zodSchema76,
|
|
159377
159453
|
services: () => ({}),
|
|
159378
159454
|
async execute(_services, params, options) {
|
|
159379
159455
|
const timeoutMs = (params.timeoutSeconds ?? 1800) * 1e3;
|
|
@@ -159388,7 +159464,7 @@ disconnects (aborts cleanly).`,
|
|
|
159388
159464
|
init_zod();
|
|
159389
159465
|
init_src2();
|
|
159390
159466
|
init_device_info();
|
|
159391
|
-
var
|
|
159467
|
+
var zodSchema77 = external_exports.object({
|
|
159392
159468
|
udid: external_exports.string().describe("Chromium device id from `list-devices` (e.g. `chromium-cdp-9222`)."),
|
|
159393
159469
|
action: external_exports.enum(["list", "select", "new", "close"]).describe(
|
|
159394
159470
|
"list: enumerate tabs/windows. select: make a tab active (every other tool then acts on it). new: open a tab. close: close a tab."
|
|
@@ -159421,7 +159497,7 @@ var tabAction = {
|
|
|
159421
159497
|
failure: "close"
|
|
159422
159498
|
}
|
|
159423
159499
|
};
|
|
159424
|
-
var
|
|
159500
|
+
var capability34 = {
|
|
159425
159501
|
chromium: { app: true }
|
|
159426
159502
|
};
|
|
159427
159503
|
var chromiumTabsTool = {
|
|
@@ -159439,8 +159515,8 @@ var chromiumTabsTool = {
|
|
|
159439
159515
|
Use when an app exposes multiple windows or tabs and you need to inspect or drive one other than the current page, or to open/close a page during a flow. tabIds are stable for the session and never reused.
|
|
159440
159516
|
Returns { tabs: [{ tabId, targetId, title, url, active, label? }] }. Fails if the device is not a Chromium (CDP) device, or the requested tabId/label no longer matches a live tab. Chromium-only.`,
|
|
159441
159517
|
searchHint: "tab tabs window windows switch select close new open multi-tab chromium electron",
|
|
159442
|
-
zodSchema:
|
|
159443
|
-
capability:
|
|
159518
|
+
zodSchema: zodSchema77,
|
|
159519
|
+
capability: capability34,
|
|
159444
159520
|
services: (params) => {
|
|
159445
159521
|
const device = resolveDevice(params.udid);
|
|
159446
159522
|
if (device.platform === "chromium") {
|
|
@@ -159541,7 +159617,7 @@ async function clearStorage(cdp, type) {
|
|
|
159541
159617
|
}
|
|
159542
159618
|
|
|
159543
159619
|
// ../tool-server/src/tools/chromium-cookies/index.ts
|
|
159544
|
-
var
|
|
159620
|
+
var zodSchema78 = external_exports.object({
|
|
159545
159621
|
udid: external_exports.string().describe("Chromium device id from `list-devices` (e.g. `chromium-cdp-9222`)."),
|
|
159546
159622
|
action: external_exports.enum(["get", "set", "delete", "clear"]).describe(
|
|
159547
159623
|
"get: read cookies. set: create/update a cookie. delete: remove a named cookie. clear: remove all browser cookies."
|
|
@@ -159564,7 +159640,7 @@ var cookieAction = {
|
|
|
159564
159640
|
delete: { started: "Deleting", completed: "Deleted", failure: "delete" },
|
|
159565
159641
|
clear: { started: "Clearing", completed: "Cleared", failure: "clear" }
|
|
159566
159642
|
};
|
|
159567
|
-
var
|
|
159643
|
+
var capability35 = {
|
|
159568
159644
|
chromium: { app: true }
|
|
159569
159645
|
};
|
|
159570
159646
|
var chromiumCookiesTool = {
|
|
@@ -159582,8 +159658,8 @@ var chromiumCookiesTool = {
|
|
|
159582
159658
|
Use when seeding an authenticated session before a flow (set the session cookie, then navigate) or asserting cookie state after one.
|
|
159583
159659
|
Returns { cookies, count } for get, or a small status object ({ set } / { deleted } / { cleared }) otherwise. Fails if the device is not a Chromium (CDP) device, or set is missing name/value. Chromium-only.`,
|
|
159584
159660
|
searchHint: "cookies cookie get set delete clear httponly samesite session auth chromium",
|
|
159585
|
-
zodSchema:
|
|
159586
|
-
capability:
|
|
159661
|
+
zodSchema: zodSchema78,
|
|
159662
|
+
capability: capability35,
|
|
159587
159663
|
services: (params) => {
|
|
159588
159664
|
const device = resolveDevice(params.udid);
|
|
159589
159665
|
if (device.platform === "chromium") {
|
|
@@ -159648,7 +159724,7 @@ Returns { cookies, count } for get, or a small status object ({ set } / { delete
|
|
|
159648
159724
|
init_zod();
|
|
159649
159725
|
init_src2();
|
|
159650
159726
|
init_device_info();
|
|
159651
|
-
var
|
|
159727
|
+
var zodSchema79 = external_exports.object({
|
|
159652
159728
|
udid: external_exports.string().describe("Chromium device id from `list-devices` (e.g. `chromium-cdp-9222`)."),
|
|
159653
159729
|
store: external_exports.enum(["local", "session"]).describe("Which Web Storage area: `local` (localStorage) or `session` (sessionStorage)."),
|
|
159654
159730
|
action: external_exports.enum(["get", "set", "remove", "clear"]).describe(
|
|
@@ -159663,7 +159739,7 @@ var storageAction = {
|
|
|
159663
159739
|
remove: { started: "Removing from", completed: "Removed from", failure: "remove from" },
|
|
159664
159740
|
clear: { started: "Clearing", completed: "Cleared", failure: "clear" }
|
|
159665
159741
|
};
|
|
159666
|
-
var
|
|
159742
|
+
var capability36 = {
|
|
159667
159743
|
chromium: { app: true }
|
|
159668
159744
|
};
|
|
159669
159745
|
var chromiumStorageTool = {
|
|
@@ -159682,8 +159758,8 @@ Set \`store\` to "local" or "session". Storage is per-origin, so it reflects the
|
|
|
159682
159758
|
Use when seeding feature flags / auth tokens before a flow or asserting persisted app state after one.
|
|
159683
159759
|
Returns { value } for a single key, { entries, count } for all, or a status object ({ set } / { removed } / { cleared }) otherwise. Fails if the device is not a Chromium (CDP) device, or set is missing key/value. Chromium-only.`,
|
|
159684
159760
|
searchHint: "storage localstorage sessionstorage local session get set remove clear key value chromium",
|
|
159685
|
-
zodSchema:
|
|
159686
|
-
capability:
|
|
159761
|
+
zodSchema: zodSchema79,
|
|
159762
|
+
capability: capability36,
|
|
159687
159763
|
services: (params) => {
|
|
159688
159764
|
const device = resolveDevice(params.udid);
|
|
159689
159765
|
if (device.platform === "chromium") {
|
|
@@ -159758,6 +159834,7 @@ function createRegistry() {
|
|
|
159758
159834
|
registry2.registerTool(createBootDeviceTool(registry2));
|
|
159759
159835
|
registry2.registerTool(createLaunchAppTool(registry2));
|
|
159760
159836
|
registry2.registerTool(createRestartAppTool(registry2));
|
|
159837
|
+
registry2.registerTool(terminateAppTool);
|
|
159761
159838
|
registry2.registerTool(reinstallAppTool);
|
|
159762
159839
|
registry2.registerTool(settingsPermissionsTool);
|
|
159763
159840
|
registry2.registerTool(openUrlTool);
|
|
@@ -159864,13 +159941,13 @@ function probeArgentToolServer(host, port, timeoutMs = 500) {
|
|
|
159864
159941
|
|
|
159865
159942
|
// ../tool-server/src/utils/simulator-watcher.ts
|
|
159866
159943
|
var fs67 = __toESM(require("node:fs"));
|
|
159867
|
-
var
|
|
159868
|
-
var
|
|
159944
|
+
var import_node_child_process40 = require("node:child_process");
|
|
159945
|
+
var import_node_util28 = require("node:util");
|
|
159869
159946
|
init_external_devices();
|
|
159870
|
-
var
|
|
159947
|
+
var execFileAsync30 = (0, import_node_util28.promisify)(import_node_child_process40.execFile);
|
|
159871
159948
|
var POLL_INTERVAL_MS2 = 1e4;
|
|
159872
159949
|
async function getBootedUdidsInSet(deviceSet) {
|
|
159873
|
-
const { stdout } = await
|
|
159950
|
+
const { stdout } = await execFileAsync30("xcrun", [
|
|
159874
159951
|
...simctlPrefix(deviceSet),
|
|
159875
159952
|
"list",
|
|
159876
159953
|
"devices",
|
|
@@ -159989,7 +160066,7 @@ function startSimulatorWatcher(registry2) {
|
|
|
159989
160066
|
}
|
|
159990
160067
|
|
|
159991
160068
|
// ../tool-server/src/utils/preview-window.ts
|
|
159992
|
-
var
|
|
160069
|
+
var import_node_child_process41 = require("node:child_process");
|
|
159993
160070
|
var fs68 = __toESM(require("node:fs"));
|
|
159994
160071
|
var os20 = __toESM(require("node:os"));
|
|
159995
160072
|
var path51 = __toESM(require("node:path"));
|
|
@@ -160021,10 +160098,10 @@ function ensureLensAppBundle(electronBin) {
|
|
|
160021
160098
|
fs68.copyFileSync(path51.join(realContents, "Info.plist"), plist);
|
|
160022
160099
|
const setPlist = (entry, value) => {
|
|
160023
160100
|
try {
|
|
160024
|
-
(0,
|
|
160101
|
+
(0, import_node_child_process41.execFileSync)("/usr/libexec/PlistBuddy", ["-c", `Set :${entry} ${value}`, plist]);
|
|
160025
160102
|
} catch {
|
|
160026
160103
|
try {
|
|
160027
|
-
(0,
|
|
160104
|
+
(0, import_node_child_process41.execFileSync)("/usr/libexec/PlistBuddy", ["-c", `Add :${entry} string ${value}`, plist]);
|
|
160028
160105
|
} catch {
|
|
160029
160106
|
}
|
|
160030
160107
|
}
|
|
@@ -160083,7 +160160,7 @@ function createPreviewWindowManager(opts = {}) {
|
|
|
160083
160160
|
const wrapperBin = ensureLensAppBundle(electronBin);
|
|
160084
160161
|
const launchBin = wrapperBin ?? electronBin;
|
|
160085
160162
|
const launchArgs = wrapperBin ? ["--no-sandbox", mainScript] : [mainScript];
|
|
160086
|
-
const next = (0,
|
|
160163
|
+
const next = (0, import_node_child_process41.spawn)(launchBin, launchArgs, {
|
|
160087
160164
|
// Strips ELECTRON_RUN_AS_NODE, which an Electron-based MCP host leaves in
|
|
160088
160165
|
// our env, so the child boots as a GUI app instead of bare Node.
|
|
160089
160166
|
env: electronGuiChildEnv({ ARGENT_PREVIEW_URL: url2 }),
|