@swmansion/argent 0.36.1-next.11 → 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 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.11";
39196
+ return "0.36.1-next.13";
39197
39197
  }
39198
39198
  return "0.0.0";
39199
39199
  }
@@ -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.11";
17202
+ return "0.36.1-next.13";
17203
17203
  }
17204
17204
  return "0.0.0";
17205
17205
  }
@@ -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
- ...t.readOnly ? { annotations: { readOnlyHint: true } } : {},
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.11" : installedVersion;
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();
@@ -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.11";
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"}`,
@@ -129617,6 +129619,16 @@ function checkTokenExemptAccess(req, policy) {
129617
129619
  error: `This request came ${from2}. Without a token, the tool-server serves /preview and its WebSocket only to clients on its own machine. Send \`Authorization: Bearer <token>\`, or reach the server through an SSH tunnel to 127.0.0.1. \`argent server start\` prints the token and saves it to ${TOKEN_FILE_HINT}.`
129618
129620
  };
129619
129621
  }
129622
+ function checkChromiumWebsocketAccess(req, policy) {
129623
+ const denial = checkTokenExemptAccess(req, policy);
129624
+ if (denial || !policy.expectedToken) return denial;
129625
+ const provided = extractBearerToken(req.headers.authorization);
129626
+ if (provided && constantTimeEqual(provided, policy.expectedToken)) return null;
129627
+ return {
129628
+ status: 401,
129629
+ error: `Missing or invalid Authorization header. The Chromium WebSocket requires \`Authorization: Bearer <token>\` where <token> matches the value in ${TOKEN_FILE_HINT}.`
129630
+ };
129631
+ }
129620
129632
  function interfaceAddresses() {
129621
129633
  const out = [];
129622
129634
  for (const list of Object.values((0, import_node_os13.networkInterfaces)())) {
@@ -129852,7 +129864,11 @@ function createHttpApp(registry2, options) {
129852
129864
  inputSchema: renderFlagGated(
129853
129865
  def.inputSchema ?? { type: "object", properties: {} },
129854
129866
  isFlagOffered
129855
- )
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
129856
129872
  };
129857
129873
  if (def.outputHint) entry.outputHint = renderFlagGated(def.outputHint, isFlagOffered);
129858
129874
  if (def.fileInputs && def.fileInputs.length > 0) {
@@ -130335,7 +130351,10 @@ function createHttpApp(registry2, options) {
130335
130351
  if (!api) return null;
130336
130352
  return api.server;
130337
130353
  },
130338
- (req) => checkTokenExemptAccess(req, { allowedHostnames: tokenExemptHostnames(), expectedToken })
130354
+ (req) => checkChromiumWebsocketAccess(req, {
130355
+ allowedHostnames: tokenExemptHostnames(),
130356
+ expectedToken
130357
+ })
130339
130358
  );
130340
130359
  }
130341
130360
  };
@@ -133534,6 +133553,7 @@ function createNativeNetworkLogsTool(registry2) {
133534
133553
  Use when inspecting native SDK/module traffic (pass an ID to \`view-network-request-details\` for bodies/headers).
133535
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).`,
133536
133555
  zodSchema: zodSchema6,
133556
+ destructive: true,
133537
133557
  services: (params) => {
133538
133558
  const device = resolveDevice(params.udid);
133539
133559
  if (device.platform === "macos") return macosAppServices(device);
@@ -139797,6 +139817,7 @@ Returns a platform-tagged payload with the target id (\`udid\` / \`serial\` / \`
139797
139817
  zodSchema: zodSchema13,
139798
139818
  alwaysLoad: true,
139799
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,
139800
139821
  interaction: {
139801
139822
  startedMsg: ({ params }) => `${params.prepareOnly ? "Preparing" : "Starting"} ${bootTarget(params)}`,
139802
139823
  completedMsg: ({ params }) => `${params.prepareOnly ? "Prepared" : "Started"} ${bootTarget(params)}`,
@@ -140603,6 +140624,7 @@ Common Android packages: com.android.settings, com.android.chrome, com.google.an
140603
140624
  zodSchema: zodSchema14,
140604
140625
  alwaysLoad: true,
140605
140626
  searchHint: "open start app bundle id package simulator emulator chromium vega launch tvos apple tv fire tv",
140627
+ destructive: true,
140606
140628
  interaction: {
140607
140629
  startedMsg: ({ params }) => `Launching ${params.bundleId}`,
140608
140630
  completedMsg: ({ params }) => `Launched ${params.bundleId}`,
@@ -140903,6 +140925,7 @@ Use when you need a clean in-memory app state without reinstalling. Returns { re
140903
140925
  zodSchema: zodSchema15,
140904
140926
  alwaysLoad: true,
140905
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,
140906
140929
  interaction: {
140907
140930
  startedMsg: ({ params }) => `Restarting ${params.bundleId}`,
140908
140931
  completedMsg: ({ params }) => `Restarted ${params.bundleId}`,
@@ -140956,6 +140979,7 @@ Use when a program needs the app closed between steps; agents use restart-app.
140956
140979
  Returns { terminated, bundleId }; terminated is false on iOS when the app was not running.
140957
140980
  Succeeds when the app is not running or not installed.`,
140958
140981
  zodSchema: zodSchema16,
140982
+ destructive: true,
140959
140983
  hideFromMcp: true,
140960
140984
  interaction: {
140961
140985
  startedMsg: ({ params }) => `Terminating ${params.bundleId}`,
@@ -141468,6 +141492,7 @@ var reinstallAppTool = {
141468
141492
  Use when installing a new build or resetting to clean state.
141469
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.`,
141470
141494
  zodSchema: zodSchema17,
141495
+ destructive: true,
141471
141496
  interaction: {
141472
141497
  startedMsg: ({ params }) => `Reinstalling ${params.bundleId}`,
141473
141498
  completedMsg: ({ params }) => `Reinstalled ${params.bundleId}`,
@@ -141791,6 +141816,7 @@ iOS sim: \`grant location\`/\`location-always\` requires the app installed first
141791
141816
  Returns \`{ action, permission, bundleId, applied, skipped? }\`. Fails if nothing could be applied.`,
141792
141817
  zodSchema: zodSchema18,
141793
141818
  searchHint: "grant deny reset revoke app permissions privacy camera microphone location settings",
141819
+ destructive: true,
141794
141820
  interaction: {
141795
141821
  startedMsg: ({ params }) => `${permissionAction[params.action].started} ${params.permission} permission for ${params.bundleId}`,
141796
141822
  completedMsg: ({ params }) => `${permissionAction[params.action].completed} ${params.permission} permission for ${params.bundleId}`,
@@ -142108,6 +142134,7 @@ A read returns \`current\` values and \`unsupported\` settings with reasons. A c
142108
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.`,
142109
142135
  zodSchema,
142110
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,
142111
142138
  interaction: {
142112
142139
  startedMsg: ({ params }) => params.settings ? `Changing ${changedKeys(params)}` : "Reading system settings",
142113
142140
  completedMsg: ({ params }) => params.settings ? `Changed ${changedKeys(params)}` : "Read system settings",
@@ -142380,6 +142407,7 @@ var openUrlTool = {
142380
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>
142381
142408
  Returns \`{ opened, url, note? }\`. Fails if no handler is registered<flag:harmonyos> (iOS/Android/HarmonyOS)</flag:harmonyos> or Chromium rejects navigation.`,
142382
142409
  zodSchema: zodSchema19,
142410
+ openWorld: true,
142383
142411
  interaction: {
142384
142412
  startedMsg: ({ params }) => `Opening ${safeDestination(params.url)}`,
142385
142413
  completedMsg: ({ params }) => `Opened ${safeDestination(params.url)}`,
@@ -142771,7 +142799,8 @@ Use when you need a baseline image or the screen state after a delay (interactio
142771
142799
  zodSchema: zodSchema20,
142772
142800
  alwaysLoad: true,
142773
142801
  searchHint: "device simulator emulator chromium screen image capture baseline tvos apple tv",
142774
- // Not readOnly: plan mode would run a call whose `out` replaces a file without a prompt.
142802
+ // `out` can replace a file. Not readOnly, so plan mode asks before a call.
142803
+ destructive: true,
142775
142804
  interaction: {
142776
142805
  startedMsg: () => "Capturing screenshot",
142777
142806
  completedMsg: ({ result }) => `Captured screenshot ${result.image.filename}`,
@@ -147928,6 +147957,8 @@ Use when inspecting runtime state (e.g. localStorage/sessionStorage on Chromium)
147928
147957
  Returns \`{ result, deviceName, appName, logicalDeviceId }\` (JSON-serialized; cyclic objects fail). Fails if disconnected or the expression throws.`,
147929
147958
  zodSchema: zodSchema37,
147930
147959
  searchHint: "javascript js eval expression runtime app state localstorage sessionstorage web storage",
147960
+ destructive: true,
147961
+ openWorld: true,
147931
147962
  interaction: {
147932
147963
  startedMsg: () => "Running JavaScript in the app",
147933
147964
  completedMsg: () => "Ran JavaScript in the app",
@@ -147982,6 +148013,7 @@ var debuggerReloadMetroTool = {
147982
148013
  description: `Restart the Metro JS bundle in the connected React Native app without restarting the native process.
147983
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>`,
147984
148015
  zodSchema: zodSchema38,
148016
+ destructive: true,
147985
148017
  interaction: {
147986
148018
  startedMsg: () => "Reloading the app through Metro",
147987
148019
  completedMsg: () => "Reloaded the app through Metro",
@@ -153702,6 +153734,7 @@ function createReactProfilerStartTool(registry2) {
153702
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.
153703
153735
  Fails if Hermes or Metro CDP is unreachable.`,
153704
153736
  zodSchema: zodSchema50,
153737
+ destructive: true,
153705
153738
  interaction: {
153706
153739
  startedMsg: () => "Starting React profiler",
153707
153740
  completedMsg: ({ result }) => result.already_running ? "React profiler was already running" : "Started React profiler",
@@ -163509,6 +163542,7 @@ var nativeProfilerLaunchAnalysisTool = {
163509
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\`).
163510
163543
  Returns \`samplesCollected\` (\`measure\`) or \`launchMs\` + \`profilerSession\` (\`profile\`). Fails if the app is not installed or no iPhone / allowed simulator is available.`,
163511
163544
  zodSchema: zodSchema61,
163545
+ destructive: true,
163512
163546
  services: () => ({}),
163513
163547
  async execute(_services, params, ctx) {
163514
163548
  let endClaim = () => {
@@ -168613,6 +168647,7 @@ function createStopSimulatorServerTool(registry2) {
168613
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>
168614
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.`,
168615
168649
  zodSchema: zodSchema70,
168650
+ destructive: true,
168616
168651
  interaction: {
168617
168652
  startedMsg: ({ params }) => `Stopping simulator server for ${params.udid}`,
168618
168653
  completedMsg: ({ params }) => `Stopped simulator server for ${params.udid}`,
@@ -168660,6 +168695,7 @@ Use when cleaning up or ending a session, or when a skill asks to recycle servic
168660
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.
168661
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.`,
168662
168697
  zodSchema: zodSchema71,
168698
+ destructive: true,
168663
168699
  interaction: {
168664
168700
  // "all" only holds for the unscoped sweep; a scoped call touches just the
168665
168701
  // ids it was given.
@@ -168873,6 +168909,7 @@ var stopMetroTool = {
168873
168909
  id: "stop-metro",
168874
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.`,
168875
168911
  zodSchema: zodSchema72,
168912
+ destructive: true,
168876
168913
  interaction: {
168877
168914
  startedMsg: ({ params }) => `Stopping Metro on port ${params.port}`,
168878
168915
  completedMsg: ({ params }) => `Stopped Metro on port ${params.port}`,
@@ -170463,6 +170500,9 @@ Record live steps with \`e2e-add-step\` (start standalone tests with \`restart-a
170463
170500
  Returns \`{ message, e2eTestFile, savedTo, restarted?, discardedSteps?, fragmentShutdown? }\`. Fails if the target file or directory cannot be written.`,
170464
170501
  zodSchema: zodSchema73,
170465
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,
170466
170506
  interaction: {
170467
170507
  // Name the flow: concurrent recordings interleave in one log, and "flow
170468
170508
  // recording" would not say which.
@@ -173879,6 +173919,8 @@ Use when recording steps after \`e2e-start-recording\` (pass \`shutdown: true\`
173879
173919
  Returns \`{ message, toolResult, stepCount, recorded?, savedTo }\`. Fails if no recording is open or the step errors (nothing recorded).`,
173880
173920
  zodSchema: zodSchema74,
173881
173921
  aliases: ["flow-add-step"],
173922
+ destructive: true,
173923
+ openWorld: true,
173882
173924
  interaction: {
173883
173925
  // Name the flow: recordings are concurrent, so several of these lines can
173884
173926
  // interleave in one log and "the recorded flow" would not say which.
@@ -174355,6 +174397,8 @@ var flowAddScriptTool = deferredShutdownFirst({
174355
174397
  Use when the user requests a local script in an open recording (output is available to later steps via \`{{output:PATH}}\`).
174356
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.`,
174357
174399
  zodSchema: zodSchema77,
174400
+ destructive: true,
174401
+ openWorld: true,
174358
174402
  fileInputs: PROJECT_ROOT_INPUT,
174359
174403
  aliases: ["flow-add-script"],
174360
174404
  interaction: {
@@ -174519,6 +174563,8 @@ var flowFinishRecordingTool = {
174519
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).
174520
174564
  Returns \`{ message, path, steps, shutdownSteps?, fragmentShutdown?, summary, e2eTestFile, savedTo }\`. Fails if no recording is open for \`name\` + \`project_root\`.`,
174521
174565
  zodSchema: zodSchema78,
174566
+ destructive: true,
174567
+ openWorld: true,
174522
174568
  fileInputs: PROJECT_ROOT_INPUT,
174523
174569
  aliases: ["flow-finish-recording"],
174524
174570
  // It may run the fragments' shutdown, on the device.
@@ -178134,6 +178180,8 @@ Returns a per-step report (\`ok: false\` on step failure). A main-step failure s
178134
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.`,
178135
178181
  zodSchema: zodSchema79,
178136
178182
  aliases: ["flow-execute"],
178183
+ destructive: true,
178184
+ openWorld: true,
178137
178185
  interaction: {
178138
178186
  startedMsg: ({ params }) => `Running e2e test ${displayFlowName(params)}`,
178139
178187
  completedMsg: ({ params }) => `Ran e2e test ${displayFlowName(params)}`,
@@ -180454,6 +180502,8 @@ Use when switching between multiple tabs/windows or opening/closing pages.
180454
180502
  Returns \`{ tabs: [{ tabId, targetId, title, url, active, label? }] }\`. Fails on non-Chromium targets or unknown tab ids.`,
180455
180503
  zodSchema: zodSchema87,
180456
180504
  searchHint: "tab tabs window windows switch select close new open multi-tab chromium electron",
180505
+ destructive: true,
180506
+ openWorld: true,
180457
180507
  interaction: {
180458
180508
  startedMsg: ({ params }) => tabAction[params.action].started(params),
180459
180509
  completedMsg: ({ params, result }) => tabAction[params.action].completed(params, result),
@@ -180591,6 +180641,7 @@ Use when seeding an auth session or asserting cookie state (\`set\`/\`delete\` n
180591
180641
  Returns \`{ cookies, count }\` (\`get\`) or \`{ set }\` / \`{ deleted }\` / \`{ cleared }\`. Fails on non-Chromium targets or missing required params.`,
180592
180642
  zodSchema: zodSchema88,
180593
180643
  searchHint: "cookies cookie get set delete clear httponly samesite session auth chromium",
180644
+ destructive: true,
180594
180645
  interaction: {
180595
180646
  startedMsg: ({ params }) => `${cookieAction[params.action].started} browser cookies`,
180596
180647
  completedMsg: ({ params }) => `${cookieAction[params.action].completed} browser cookies`,
@@ -180686,6 +180737,7 @@ Use when seeding feature flags / auth tokens before an e2e test or asserting per
180686
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.`,
180687
180738
  zodSchema: zodSchema89,
180688
180739
  searchHint: "storage localstorage sessionstorage local session get set remove clear key value chromium",
180740
+ destructive: true,
180689
180741
  // Agents read and write Web Storage with debugger-evaluate, which runs the same
180690
180742
  // Runtime.evaluate on the active page. The SDK and the e2e-full suite still call it.
180691
180743
  hideFromMcp: true,
@@ -180938,6 +180990,7 @@ Returns { panels } for list, { chosen, panel, kind, paths } for choose, { cancel
180938
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.`,
180939
180991
  zodSchema: zodSchema90,
180940
180992
  searchHint: "file panel dialog open save choose pick file folder nsopenpanel nssavepanel mac app",
180993
+ destructive: true,
180941
180994
  featureFlag: "macos-apps",
180942
180995
  interaction: {
180943
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.11",
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": "1ce5e63e131d288283f3292a5321c7036db88c84"
102
+ "gitHead": "575477bf7e776dca6058975c5f034c1c23a34bc0"
103
103
  }