@swmansion/argent 0.36.1-next.12 → 0.36.1-next.13
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/mcp-server.mjs +13 -2
- package/dist/tool-server.cjs +43 -3
- package/package.json +2 -2
package/dist/cli-cmds.mjs
CHANGED
|
@@ -39193,7 +39193,7 @@ function isCi(env = process.env) {
|
|
|
39193
39193
|
var SESSION_ID2 = randomUUID5();
|
|
39194
39194
|
function readCliVersion() {
|
|
39195
39195
|
if (true) {
|
|
39196
|
-
return "0.36.1-next.
|
|
39196
|
+
return "0.36.1-next.13";
|
|
39197
39197
|
}
|
|
39198
39198
|
return "0.0.0";
|
|
39199
39199
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -17199,7 +17199,7 @@ function isCi(env = process.env) {
|
|
|
17199
17199
|
var SESSION_ID = randomUUID4();
|
|
17200
17200
|
function readCliVersion() {
|
|
17201
17201
|
if (true) {
|
|
17202
|
-
return "0.36.1-next.
|
|
17202
|
+
return "0.36.1-next.13";
|
|
17203
17203
|
}
|
|
17204
17204
|
return "0.0.0";
|
|
17205
17205
|
}
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -38048,6 +38048,16 @@ function asSchema(value) {
|
|
|
38048
38048
|
}
|
|
38049
38049
|
|
|
38050
38050
|
// ../argent-mcp/src/tool-mapping.ts
|
|
38051
|
+
function toAnnotations(t) {
|
|
38052
|
+
if (typeof t.destructive !== "boolean" || typeof t.openWorld !== "boolean") {
|
|
38053
|
+
return t.readOnly ? { readOnlyHint: true } : void 0;
|
|
38054
|
+
}
|
|
38055
|
+
return {
|
|
38056
|
+
readOnlyHint: t.readOnly === true,
|
|
38057
|
+
destructiveHint: t.destructive,
|
|
38058
|
+
openWorldHint: t.openWorld
|
|
38059
|
+
};
|
|
38060
|
+
}
|
|
38051
38061
|
function withoutRetiredParams(schema) {
|
|
38052
38062
|
const properties = schema.properties;
|
|
38053
38063
|
if (!properties) return schema;
|
|
@@ -38062,11 +38072,12 @@ function toMcpTool(t, { keywordFacts = false } = {}) {
|
|
|
38062
38072
|
if (t.alwaysLoad) meta2["anthropic/alwaysLoad"] = true;
|
|
38063
38073
|
if (t.searchHint) meta2["anthropic/searchHint"] = t.searchHint;
|
|
38064
38074
|
const schema = withoutRetiredParams(t.inputSchema);
|
|
38075
|
+
const annotations = toAnnotations(t);
|
|
38065
38076
|
return {
|
|
38066
38077
|
name: t.name,
|
|
38067
38078
|
description: t.description,
|
|
38068
38079
|
inputSchema: { type: "object", ...keywordFacts ? withKeywordFacts(schema) : schema },
|
|
38069
|
-
...
|
|
38080
|
+
...annotations ? { annotations } : {},
|
|
38070
38081
|
...Object.keys(meta2).length > 0 ? { _meta: meta2 } : {}
|
|
38071
38082
|
};
|
|
38072
38083
|
}
|
|
@@ -38677,7 +38688,7 @@ async function startMcpServer(options) {
|
|
|
38677
38688
|
const autoDescribeOn = autoDescribeEnabled();
|
|
38678
38689
|
const whatsNewOn = whatsNewEnabled();
|
|
38679
38690
|
const installedVersion = getInstalledVersion();
|
|
38680
|
-
const highlightsVersion = true ? "0.36.1-next.
|
|
38691
|
+
const highlightsVersion = true ? "0.36.1-next.13" : installedVersion;
|
|
38681
38692
|
const captureTimeoutMs = options.captureTimeoutMs ?? CAPTURE_TIMEOUT_MS;
|
|
38682
38693
|
const trees = createTreeMemory();
|
|
38683
38694
|
const screenshots = createScreenshotMemory();
|
package/dist/tool-server.cjs
CHANGED
|
@@ -73485,7 +73485,7 @@ function isCi(env = process.env) {
|
|
|
73485
73485
|
var SESSION_ID = (0, import_node_crypto4.randomUUID)();
|
|
73486
73486
|
function readCliVersion() {
|
|
73487
73487
|
if (true) {
|
|
73488
|
-
return "0.36.1-next.
|
|
73488
|
+
return "0.36.1-next.13";
|
|
73489
73489
|
}
|
|
73490
73490
|
return "0.0.0";
|
|
73491
73491
|
}
|
|
@@ -81814,6 +81814,8 @@ var updateArgentTool = {
|
|
|
81814
81814
|
id: "update-argent",
|
|
81815
81815
|
description: "Apply a pending Argent update. Call this only when the user has explicitly consented in this conversation to updating Argent, e.g. after an update notification reports a new version. Returns { message } with the update status, version info, and whether the tool server restarts. Fails if no update is available or an update is already in progress.",
|
|
81816
81816
|
zodSchema: zodSchema2,
|
|
81817
|
+
destructive: true,
|
|
81818
|
+
openWorld: true,
|
|
81817
81819
|
hideWhen: isUpdateCheckDisabled,
|
|
81818
81820
|
interaction: {
|
|
81819
81821
|
startedMsg: () => `Updating Argent to ${getUpdateState().installableVersion ?? "latest"}`,
|
|
@@ -129862,7 +129864,11 @@ function createHttpApp(registry2, options) {
|
|
|
129862
129864
|
inputSchema: renderFlagGated(
|
|
129863
129865
|
def.inputSchema ?? { type: "object", properties: {} },
|
|
129864
129866
|
isFlagOffered
|
|
129865
|
-
)
|
|
129867
|
+
),
|
|
129868
|
+
// Always sent, so the MCP adapter can tell `false` from a tool-server
|
|
129869
|
+
// that predates these fields.
|
|
129870
|
+
destructive: def.destructive === true,
|
|
129871
|
+
openWorld: def.openWorld === true
|
|
129866
129872
|
};
|
|
129867
129873
|
if (def.outputHint) entry.outputHint = renderFlagGated(def.outputHint, isFlagOffered);
|
|
129868
129874
|
if (def.fileInputs && def.fileInputs.length > 0) {
|
|
@@ -133547,6 +133553,7 @@ function createNativeNetworkLogsTool(registry2) {
|
|
|
133547
133553
|
Use when inspecting native SDK/module traffic (pass an ID to \`view-network-request-details\` for bodies/headers).
|
|
133548
133554
|
Returns recent requests oldest-first with capture status in \`header\` (or a precheck status + remedy message on iOS).<flag:macos-apps> If a Mac log stays stopped, check the start result.</flag:macos-apps> Fails on \`NATIVE_DEVTOOLS_NOT_CONNECTED\`. An Apple system app is rejected outright (terminal: never retry it).`,
|
|
133549
133555
|
zodSchema: zodSchema6,
|
|
133556
|
+
destructive: true,
|
|
133550
133557
|
services: (params) => {
|
|
133551
133558
|
const device = resolveDevice(params.udid);
|
|
133552
133559
|
if (device.platform === "macos") return macosAppServices(device);
|
|
@@ -139810,6 +139817,7 @@ Returns a platform-tagged payload with the target id (\`udid\` / \`serial\` / \`
|
|
|
139810
139817
|
zodSchema: zodSchema13,
|
|
139811
139818
|
alwaysLoad: true,
|
|
139812
139819
|
searchHint: "boot start launch simulator emulator avd device session ios android vega vvd firetv <flag:harmonyos>harmony harmonyos deveco </flag:harmonyos>cold hot",
|
|
139820
|
+
destructive: true,
|
|
139813
139821
|
interaction: {
|
|
139814
139822
|
startedMsg: ({ params }) => `${params.prepareOnly ? "Preparing" : "Starting"} ${bootTarget(params)}`,
|
|
139815
139823
|
completedMsg: ({ params }) => `${params.prepareOnly ? "Prepared" : "Started"} ${bootTarget(params)}`,
|
|
@@ -140616,6 +140624,7 @@ Common Android packages: com.android.settings, com.android.chrome, com.google.an
|
|
|
140616
140624
|
zodSchema: zodSchema14,
|
|
140617
140625
|
alwaysLoad: true,
|
|
140618
140626
|
searchHint: "open start app bundle id package simulator emulator chromium vega launch tvos apple tv fire tv",
|
|
140627
|
+
destructive: true,
|
|
140619
140628
|
interaction: {
|
|
140620
140629
|
startedMsg: ({ params }) => `Launching ${params.bundleId}`,
|
|
140621
140630
|
completedMsg: ({ params }) => `Launched ${params.bundleId}`,
|
|
@@ -140916,6 +140925,7 @@ Use when you need a clean in-memory app state without reinstalling. Returns { re
|
|
|
140916
140925
|
zodSchema: zodSchema15,
|
|
140917
140926
|
alwaysLoad: true,
|
|
140918
140927
|
searchHint: "terminate relaunch restart reset app bundle id package simulator emulator vega tvos fire tv<flag:harmonyos> harmony harmonyos</flag:harmonyos>",
|
|
140928
|
+
destructive: true,
|
|
140919
140929
|
interaction: {
|
|
140920
140930
|
startedMsg: ({ params }) => `Restarting ${params.bundleId}`,
|
|
140921
140931
|
completedMsg: ({ params }) => `Restarted ${params.bundleId}`,
|
|
@@ -140969,6 +140979,7 @@ Use when a program needs the app closed between steps; agents use restart-app.
|
|
|
140969
140979
|
Returns { terminated, bundleId }; terminated is false on iOS when the app was not running.
|
|
140970
140980
|
Succeeds when the app is not running or not installed.`,
|
|
140971
140981
|
zodSchema: zodSchema16,
|
|
140982
|
+
destructive: true,
|
|
140972
140983
|
hideFromMcp: true,
|
|
140973
140984
|
interaction: {
|
|
140974
140985
|
startedMsg: ({ params }) => `Terminating ${params.bundleId}`,
|
|
@@ -141481,6 +141492,7 @@ var reinstallAppTool = {
|
|
|
141481
141492
|
Use when installing a new build or resetting to clean state.
|
|
141482
141493
|
Returns \`{ reinstalled, bundleId }\`. Fails if \`appPath\` is invalid or \`bundleId\` does not match it (not checked on Vega or remote simulators; checks run before uninstall), or if install fails. An uninstall error fails the call on Android and physical iPhones, and on a local simulator only when it times out; Vega and remote simulators ignore it.`,
|
|
141483
141494
|
zodSchema: zodSchema17,
|
|
141495
|
+
destructive: true,
|
|
141484
141496
|
interaction: {
|
|
141485
141497
|
startedMsg: ({ params }) => `Reinstalling ${params.bundleId}`,
|
|
141486
141498
|
completedMsg: ({ params }) => `Reinstalled ${params.bundleId}`,
|
|
@@ -141804,6 +141816,7 @@ iOS sim: \`grant location\`/\`location-always\` requires the app installed first
|
|
|
141804
141816
|
Returns \`{ action, permission, bundleId, applied, skipped? }\`. Fails if nothing could be applied.`,
|
|
141805
141817
|
zodSchema: zodSchema18,
|
|
141806
141818
|
searchHint: "grant deny reset revoke app permissions privacy camera microphone location settings",
|
|
141819
|
+
destructive: true,
|
|
141807
141820
|
interaction: {
|
|
141808
141821
|
startedMsg: ({ params }) => `${permissionAction[params.action].started} ${params.permission} permission for ${params.bundleId}`,
|
|
141809
141822
|
completedMsg: ({ params }) => `${permissionAction[params.action].completed} ${params.permission} permission for ${params.bundleId}`,
|
|
@@ -142121,6 +142134,7 @@ A read returns \`current\` values and \`unsupported\` settings with reasons. A c
|
|
|
142121
142134
|
Changes persist. To undo, pass a nonempty \`restore\` map as \`settings\`. Check \`notes\` for side effects and values the tool cannot restore. Unsupported requests fail before writing, including turning Wi-Fi off or airplane mode on over wireless adb. If a write fails partway through, use any undo arguments in the error.`,
|
|
142122
142135
|
zodSchema,
|
|
142123
142136
|
searchHint: "system settings dark mode appearance text size font scale accessibility reduce motion bold text contrast language locale region 24-hour clock wifi airplane mode mobile data location do not disturb",
|
|
142137
|
+
destructive: true,
|
|
142124
142138
|
interaction: {
|
|
142125
142139
|
startedMsg: ({ params }) => params.settings ? `Changing ${changedKeys(params)}` : "Reading system settings",
|
|
142126
142140
|
completedMsg: ({ params }) => params.settings ? `Changed ${changedKeys(params)}` : "Read system settings",
|
|
@@ -142393,6 +142407,7 @@ var openUrlTool = {
|
|
|
142393
142407
|
Use when navigating to a web page or deep-linking into an app (prefer custom schemes or \`launch-app\` over \`https://\` Universal/App Links). On Chromium, navigates the primary page (non-page schemes like \`tel:\`/\`mailto:\` fail). On physical iOS, the receiving app becomes active for automation.<flag:harmonyos> HarmonyOS opens URIs via \`aa start -U\`.</flag:harmonyos>
|
|
142394
142408
|
Returns \`{ opened, url, note? }\`. Fails if no handler is registered<flag:harmonyos> (iOS/Android/HarmonyOS)</flag:harmonyos> or Chromium rejects navigation.`,
|
|
142395
142409
|
zodSchema: zodSchema19,
|
|
142410
|
+
openWorld: true,
|
|
142396
142411
|
interaction: {
|
|
142397
142412
|
startedMsg: ({ params }) => `Opening ${safeDestination(params.url)}`,
|
|
142398
142413
|
completedMsg: ({ params }) => `Opened ${safeDestination(params.url)}`,
|
|
@@ -142784,7 +142799,8 @@ Use when you need a baseline image or the screen state after a delay (interactio
|
|
|
142784
142799
|
zodSchema: zodSchema20,
|
|
142785
142800
|
alwaysLoad: true,
|
|
142786
142801
|
searchHint: "device simulator emulator chromium screen image capture baseline tvos apple tv",
|
|
142787
|
-
//
|
|
142802
|
+
// `out` can replace a file. Not readOnly, so plan mode asks before a call.
|
|
142803
|
+
destructive: true,
|
|
142788
142804
|
interaction: {
|
|
142789
142805
|
startedMsg: () => "Capturing screenshot",
|
|
142790
142806
|
completedMsg: ({ result }) => `Captured screenshot ${result.image.filename}`,
|
|
@@ -147941,6 +147957,8 @@ Use when inspecting runtime state (e.g. localStorage/sessionStorage on Chromium)
|
|
|
147941
147957
|
Returns \`{ result, deviceName, appName, logicalDeviceId }\` (JSON-serialized; cyclic objects fail). Fails if disconnected or the expression throws.`,
|
|
147942
147958
|
zodSchema: zodSchema37,
|
|
147943
147959
|
searchHint: "javascript js eval expression runtime app state localstorage sessionstorage web storage",
|
|
147960
|
+
destructive: true,
|
|
147961
|
+
openWorld: true,
|
|
147944
147962
|
interaction: {
|
|
147945
147963
|
startedMsg: () => "Running JavaScript in the app",
|
|
147946
147964
|
completedMsg: () => "Ran JavaScript in the app",
|
|
@@ -147995,6 +148013,7 @@ var debuggerReloadMetroTool = {
|
|
|
147995
148013
|
description: `Restart the Metro JS bundle in the connected React Native app without restarting the native process.
|
|
147996
148014
|
Use when you want to apply code changes or reset JS state. Returns { reloaded, port, method (cdp or http), deviceName, appName, logicalDeviceId }. Fails if Metro is not running on the given port.<flag:macos-apps> A Mac app reload targets only that app. If it fails, restart the app. A shared Metro reload would also reload other apps.</flag:macos-apps>`,
|
|
147997
148015
|
zodSchema: zodSchema38,
|
|
148016
|
+
destructive: true,
|
|
147998
148017
|
interaction: {
|
|
147999
148018
|
startedMsg: () => "Reloading the app through Metro",
|
|
148000
148019
|
completedMsg: () => "Reloaded the app through Metro",
|
|
@@ -153715,6 +153734,7 @@ function createReactProfilerStartTool(registry2) {
|
|
|
153715
153734
|
Returns \`{ started_at, startedAtEpochMs, hermes_version, detected_architecture }\` or \`{ already_running: true, mine, owner, \u2026 }\` (ask approval before \`force: true\`). On iOS and Android, a warning names the apps with native network capture on.
|
|
153716
153735
|
Fails if Hermes or Metro CDP is unreachable.`,
|
|
153717
153736
|
zodSchema: zodSchema50,
|
|
153737
|
+
destructive: true,
|
|
153718
153738
|
interaction: {
|
|
153719
153739
|
startedMsg: () => "Starting React profiler",
|
|
153720
153740
|
completedMsg: ({ result }) => result.already_running ? "React profiler was already running" : "Started React profiler",
|
|
@@ -163522,6 +163542,7 @@ var nativeProfilerLaunchAnalysisTool = {
|
|
|
163522
163542
|
Use when benchmarking launch time (\`measure\`: 5 XCTest launches incl. extended tasks; signed runner on iPhone) or profiling pre-first-frame CPU work (\`profile\`: Instruments App Launch trace; follow \`profilerSession.next\` with \`profiler-load\` + \`profiler-stack-query\`).
|
|
163523
163543
|
Returns \`samplesCollected\` (\`measure\`) or \`launchMs\` + \`profilerSession\` (\`profile\`). Fails if the app is not installed or no iPhone / allowed simulator is available.`,
|
|
163524
163544
|
zodSchema: zodSchema61,
|
|
163545
|
+
destructive: true,
|
|
163525
163546
|
services: () => ({}),
|
|
163526
163547
|
async execute(_services, params, ctx) {
|
|
163527
163548
|
let endClaim = () => {
|
|
@@ -168626,6 +168647,7 @@ function createStopSimulatorServerTool(registry2) {
|
|
|
168626
168647
|
Use when restarting a wedged transport or freeing one device without affecting others (not routinely after every task; use \`stop-all-simulator-servers\` with \`devices\` to also stop devtools/profilers/debuggers). On Chromium, also ends the JS debugger session.<flag:macos-apps> On Mac apps, also stops native capture (discarding records) and screen recording.</flag:macos-apps>
|
|
168627
168648
|
Returns \`{ stopped, udid }\` (\`stopped: true\` if any of these services was running, \`false\` if none was). A simulator-server that Argent did not start keeps running and does not count, so on a TV target \`stopped\` can be true from the TV daemons alone. Fails only on invalid input.`,
|
|
168628
168649
|
zodSchema: zodSchema70,
|
|
168650
|
+
destructive: true,
|
|
168629
168651
|
interaction: {
|
|
168630
168652
|
startedMsg: ({ params }) => `Stopping simulator server for ${params.udid}`,
|
|
168631
168653
|
completedMsg: ({ params }) => `Stopped simulator server for ${params.udid}`,
|
|
@@ -168673,6 +168695,7 @@ Use when cleaning up or ending a session, or when a skill asks to recycle servic
|
|
|
168673
168695
|
Always pass \`devices\` with this session's device IDs (plus any \`logicalDeviceId\` used with \`debugger-connect\` on shared Metro) so other agents' devices aren't torn down; omit \`devices\` only for a machine-wide sweep. \`[]\` stops nothing.
|
|
168674
168696
|
Returns \`{ stopped, unmatched?, left_running?, aborted? }\` (\`stopped\` leaves out a simulator-server or native devtools agent that Argent did not start, which keeps running; \`left_running\` names unscoped debugger URNs; re-call with the id after \`<ns>:<port>:\` to reap them). Fails if unknown keys (e.g. \`udids\`) are passed.`,
|
|
168675
168697
|
zodSchema: zodSchema71,
|
|
168698
|
+
destructive: true,
|
|
168676
168699
|
interaction: {
|
|
168677
168700
|
// "all" only holds for the unscoped sweep; a scoped call touches just the
|
|
168678
168701
|
// ids it was given.
|
|
@@ -168886,6 +168909,7 @@ var stopMetroTool = {
|
|
|
168886
168909
|
id: "stop-metro",
|
|
168887
168910
|
description: `Stop the Metro bundler process listening on \`port\`. Use when the user asks to stop Metro or when Metro must be restarted - do not offer it when a task wraps up, since the next task would wait on a cold Metro start. Returns { stopped, port, pids }: stopped=true when it sent SIGTERM to every listening pid it found (or the pid had already exited), stopped=false when it found none. Fails if the port lookup cannot run or times out, if it finds a listener but not the process that owns it, or if it cannot signal a listener it found (e.g. EPERM). On macOS another user's listener is detected only when no other listener on the port is visible, so it can survive stopped=true. This is DESTRUCTIVE: always ask the user for confirmation before calling this tool.`,
|
|
168888
168911
|
zodSchema: zodSchema72,
|
|
168912
|
+
destructive: true,
|
|
168889
168913
|
interaction: {
|
|
168890
168914
|
startedMsg: ({ params }) => `Stopping Metro on port ${params.port}`,
|
|
168891
168915
|
completedMsg: ({ params }) => `Stopped Metro on port ${params.port}`,
|
|
@@ -170476,6 +170500,9 @@ Record live steps with \`e2e-add-step\` (start standalone tests with \`restart-a
|
|
|
170476
170500
|
Returns \`{ message, e2eTestFile, savedTo, restarted?, discardedSteps?, fragmentShutdown? }\`. Fails if the target file or directory cannot be written.`,
|
|
170477
170501
|
zodSchema: zodSchema73,
|
|
170478
170502
|
aliases: ["flow-start-recording"],
|
|
170503
|
+
// A restart runs the discarded take's fragment shutdown steps, which can call any tool or script.
|
|
170504
|
+
destructive: true,
|
|
170505
|
+
openWorld: true,
|
|
170479
170506
|
interaction: {
|
|
170480
170507
|
// Name the flow: concurrent recordings interleave in one log, and "flow
|
|
170481
170508
|
// recording" would not say which.
|
|
@@ -173892,6 +173919,8 @@ Use when recording steps after \`e2e-start-recording\` (pass \`shutdown: true\`
|
|
|
173892
173919
|
Returns \`{ message, toolResult, stepCount, recorded?, savedTo }\`. Fails if no recording is open or the step errors (nothing recorded).`,
|
|
173893
173920
|
zodSchema: zodSchema74,
|
|
173894
173921
|
aliases: ["flow-add-step"],
|
|
173922
|
+
destructive: true,
|
|
173923
|
+
openWorld: true,
|
|
173895
173924
|
interaction: {
|
|
173896
173925
|
// Name the flow: recordings are concurrent, so several of these lines can
|
|
173897
173926
|
// interleave in one log and "the recorded flow" would not say which.
|
|
@@ -174368,6 +174397,8 @@ var flowAddScriptTool = deferredShutdownFirst({
|
|
|
174368
174397
|
Use when the user requests a local script in an open recording (output is available to later steps via \`{{output:PATH}}\`).
|
|
174369
174398
|
Returns \`{ status, reason?, outputJson?, stepCount, recorded? }\`. A failed script returns \`status: "fail"\` or \`"error"\` without recording (check \`reason\` and affected state before retrying). Fails on invalid input, no open recording, or recording over a link.`,
|
|
174370
174399
|
zodSchema: zodSchema77,
|
|
174400
|
+
destructive: true,
|
|
174401
|
+
openWorld: true,
|
|
174371
174402
|
fileInputs: PROJECT_ROOT_INPUT,
|
|
174372
174403
|
aliases: ["flow-add-script"],
|
|
174373
174404
|
interaction: {
|
|
@@ -174532,6 +174563,8 @@ var flowFinishRecordingTool = {
|
|
|
174532
174563
|
Use when all steps have been recorded and you are ready to polish or replay the YAML (check any \`warning:\` lines in \`summary\` for recorded waits).
|
|
174533
174564
|
Returns \`{ message, path, steps, shutdownSteps?, fragmentShutdown?, summary, e2eTestFile, savedTo }\`. Fails if no recording is open for \`name\` + \`project_root\`.`,
|
|
174534
174565
|
zodSchema: zodSchema78,
|
|
174566
|
+
destructive: true,
|
|
174567
|
+
openWorld: true,
|
|
174535
174568
|
fileInputs: PROJECT_ROOT_INPUT,
|
|
174536
174569
|
aliases: ["flow-finish-recording"],
|
|
174537
174570
|
// It may run the fragments' shutdown, on the device.
|
|
@@ -178147,6 +178180,8 @@ Returns a per-step report (\`ok: false\` on step failure). A main-step failure s
|
|
|
178147
178180
|
Over a link (\`argent link\` / \`ARGENT_TOOLS_URL\`), the client uploads the test, \`run:\` fragments, baselines, and absolute \`.png\`/\`.yaml\` args; steps needing other client files (e.g. \`script:\`, recording tools, directories) fail before step 1. Fails if the YAML is invalid, no unique matching device is booted, or pre-step link validation fails.`,
|
|
178148
178181
|
zodSchema: zodSchema79,
|
|
178149
178182
|
aliases: ["flow-execute"],
|
|
178183
|
+
destructive: true,
|
|
178184
|
+
openWorld: true,
|
|
178150
178185
|
interaction: {
|
|
178151
178186
|
startedMsg: ({ params }) => `Running e2e test ${displayFlowName(params)}`,
|
|
178152
178187
|
completedMsg: ({ params }) => `Ran e2e test ${displayFlowName(params)}`,
|
|
@@ -180467,6 +180502,8 @@ Use when switching between multiple tabs/windows or opening/closing pages.
|
|
|
180467
180502
|
Returns \`{ tabs: [{ tabId, targetId, title, url, active, label? }] }\`. Fails on non-Chromium targets or unknown tab ids.`,
|
|
180468
180503
|
zodSchema: zodSchema87,
|
|
180469
180504
|
searchHint: "tab tabs window windows switch select close new open multi-tab chromium electron",
|
|
180505
|
+
destructive: true,
|
|
180506
|
+
openWorld: true,
|
|
180470
180507
|
interaction: {
|
|
180471
180508
|
startedMsg: ({ params }) => tabAction[params.action].started(params),
|
|
180472
180509
|
completedMsg: ({ params, result }) => tabAction[params.action].completed(params, result),
|
|
@@ -180604,6 +180641,7 @@ Use when seeding an auth session or asserting cookie state (\`set\`/\`delete\` n
|
|
|
180604
180641
|
Returns \`{ cookies, count }\` (\`get\`) or \`{ set }\` / \`{ deleted }\` / \`{ cleared }\`. Fails on non-Chromium targets or missing required params.`,
|
|
180605
180642
|
zodSchema: zodSchema88,
|
|
180606
180643
|
searchHint: "cookies cookie get set delete clear httponly samesite session auth chromium",
|
|
180644
|
+
destructive: true,
|
|
180607
180645
|
interaction: {
|
|
180608
180646
|
startedMsg: ({ params }) => `${cookieAction[params.action].started} browser cookies`,
|
|
180609
180647
|
completedMsg: ({ params }) => `${cookieAction[params.action].completed} browser cookies`,
|
|
@@ -180699,6 +180737,7 @@ Use when seeding feature flags / auth tokens before an e2e test or asserting per
|
|
|
180699
180737
|
Returns { value } for one key, { entries, count } for all keys, and { set } / { removed } / { cleared } for the writes. Fails if the device is not a Chromium (CDP) device, or the action is missing the \`key\` / \`value\` it needs.`,
|
|
180700
180738
|
zodSchema: zodSchema89,
|
|
180701
180739
|
searchHint: "storage localstorage sessionstorage local session get set remove clear key value chromium",
|
|
180740
|
+
destructive: true,
|
|
180702
180741
|
// Agents read and write Web Storage with debugger-evaluate, which runs the same
|
|
180703
180742
|
// Runtime.evaluate on the active page. The SDK and the e2e-full suite still call it.
|
|
180704
180743
|
hideFromMcp: true,
|
|
@@ -180951,6 +180990,7 @@ Returns { panels } for list, { chosen, panel, kind, paths } for choose, { cancel
|
|
|
180951
180990
|
Fails if no panel appears within timeoutMs, if more than one panel is open and panel is not given, if a path is relative or does not exist (a save panel needs an existing folder), if a path for a save panel is an existing folder other than a document package the panel saves, if the path does not fit the panel choose finds (a folder for a panel of files, a file for a panel of folders, a refused extension), if discard finds no Delete or Don't Save button, or if the Mac app is not running.`,
|
|
180952
180991
|
zodSchema: zodSchema90,
|
|
180953
180992
|
searchHint: "file panel dialog open save choose pick file folder nsopenpanel nssavepanel mac app",
|
|
180993
|
+
destructive: true,
|
|
180954
180994
|
featureFlag: "macos-apps",
|
|
180955
180995
|
interaction: {
|
|
180956
180996
|
startedMsg: ({ params }) => params.action === "list" ? "Listing file panels" : `File panel: ${params.action}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swmansion/argent",
|
|
3
|
-
"version": "0.36.1-next.
|
|
3
|
+
"version": "0.36.1-next.13",
|
|
4
4
|
"mcpName": "io.github.software-mansion/argent",
|
|
5
5
|
"description": "MCP server, CLI, and skills by Software Mansion that let AI coding agents control, test, debug, and profile apps on iOS simulators, Android emulators, physical devices, TVs, and desktop apps",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"vitest": "^5.0.5",
|
|
100
100
|
"yaml": "^2.9.1"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "575477bf7e776dca6058975c5f034c1c23a34bc0"
|
|
103
103
|
}
|