@swmansion/argent 0.26.0 → 0.26.1-next.1

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.
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -21877,7 +21877,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
21877
21877
  var SESSION_ID2 = randomUUID5();
21878
21878
  function readCliVersion() {
21879
21879
  if (true) {
21880
- return "0.26.0";
21880
+ return "0.26.1-next.1";
21881
21881
  }
21882
21882
  return "0.0.0";
21883
21883
  }
@@ -16730,7 +16730,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16730
16730
  var SESSION_ID = randomUUID4();
16731
16731
  function readCliVersion() {
16732
16732
  if (true) {
16733
- return "0.26.0";
16733
+ return "0.26.1-next.1";
16734
16734
  }
16735
16735
  return "0.0.0";
16736
16736
  }
@@ -94811,7 +94811,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94811
94811
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94812
94812
  function readCliVersion() {
94813
94813
  if (true) {
94814
- return "0.26.0";
94814
+ return "0.26.1-next.1";
94815
94815
  }
94816
94816
  return "0.0.0";
94817
94817
  }
@@ -126209,7 +126209,9 @@ function rejectTv2(toolId, device) {
126209
126209
  );
126210
126210
  }
126211
126211
  function shakeFailure(udid, detail, cause) {
126212
- const shutdownHint = /current state:\s*shutdown|unable to lookup/i.test(detail) ? " The simulator must be booted first \u2014 use boot-device." : "";
126212
+ const shutdownHint = /current state:\s*shutdown|unable to lookup|device is not booted/i.test(
126213
+ detail
126214
+ ) ? " The simulator must be booted first \u2014 use boot-device." : "";
126213
126215
  return new FailureError(
126214
126216
  `Failed to shake ${udid}: ${detail.trim()}${shutdownHint}`,
126215
126217
  {
@@ -142923,6 +142925,9 @@ var nativeProfilerAnalyzeTool = {
142923
142925
  failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to analyze native profile: ${failureSignal2.error_code}`
142924
142926
  },
142925
142927
  capability: capability28,
142928
+ // Parsing a trace from a recording up to RECORDING_CAP_MS long routinely exceeds
142929
+ // the 30s MCP fetch timeout, and an aborted call is replayed, not cancelled.
142930
+ longRunning: true,
142926
142931
  description: `Analyze exported native trace data and return an LLM-optimized markdown report.
142927
142932
  iOS: parses CPU time profile, UI hangs, and memory leaks from the exported XML files.
142928
142933
  Android: queries the Perfetto .pftrace via the in-process Perfetto trace-processor engine for CPU hotspots, UI hangs with jank reason + main-thread state breakdown, GC annotation, and an RSS-growth weak signal.
@@ -145238,6 +145243,10 @@ Fails if native-profiler-analyze has not been run or no parsed trace data is in
145238
145243
  apple: { simulator: true },
145239
145244
  android: { emulator: true, device: true, unknown: true }
145240
145245
  },
145246
+ // The Android branch re-queries the .pftrace, so a cold trace-processor engine
145247
+ // re-pays the full parse past the 30s MCP fetch timeout, whose abort replays
145248
+ // rather than cancels.
145249
+ longRunning: true,
145241
145250
  services: (params) => ({
145242
145251
  session: nativeProfilerSessionRef(resolveDevice(params.device_id))
145243
145252
  }),
@@ -145322,6 +145331,10 @@ Fails if either react-profiler-analyze or native-profiler-analyze has not been c
145322
145331
  apple: { simulator: true },
145323
145332
  android: { emulator: true, device: true, unknown: true }
145324
145333
  },
145334
+ // The Android branch re-queries the .pftrace, so a cold trace-processor engine
145335
+ // re-pays the full parse past the 30s MCP fetch timeout, whose abort replays
145336
+ // rather than cancels.
145337
+ longRunning: true,
145325
145338
  services: (params) => ({
145326
145339
  nativeSession: nativeProfilerSessionRef(resolveDevice(params.device_id))
145327
145340
  }),
@@ -146000,6 +146013,9 @@ Fails if the session_id is not found or required XML files are missing from disk
146000
146013
  // The Hermes, xctrace and perfetto formats this loads have no Chromium
146001
146014
  // equivalent; the gate fails at the call site, not inside the trace parser.
146002
146015
  capability: RN_ONLY_TOOL_CAPABILITY,
146016
+ // load_native re-parses the whole export, which can outlast the 30s MCP fetch
146017
+ // timeout; an aborted call is replayed, not cancelled.
146018
+ longRunning: true,
146003
146019
  services: (params) => {
146004
146020
  const svcs = {};
146005
146021
  if (params.mode === "load_native") {
@@ -158757,8 +158773,8 @@ function start() {
158757
158773
  reason
158758
158774
  );
158759
158775
  });
158760
- const PORT = parseInt(process.env.ARGENT_PORT ?? DEFAULT_PORT, 10);
158761
- const HOST = process.env.ARGENT_HOST ?? DEFAULT_HOST;
158776
+ const PORT = parseInt(process.env.ARGENT_PORT?.trim() || DEFAULT_PORT, 10);
158777
+ const HOST = process.env.ARGENT_HOST?.trim() || DEFAULT_HOST;
158762
158778
  const idleMinutes = parseInt(
158763
158779
  process.env.ARGENT_IDLE_TIMEOUT_MINUTES ?? DEFAULT_IDLE_TIMEOUT_MINUTES,
158764
158780
  10
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.26.0",
3
+ "version": "0.26.1-next.1",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",