@swmansion/argent 0.26.1-next.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.
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.1-next.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.1-next.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.1-next.0";
94814
+ return "0.26.1-next.1";
94815
94815
  }
94816
94816
  return "0.0.0";
94817
94817
  }
@@ -142925,6 +142925,9 @@ var nativeProfilerAnalyzeTool = {
142925
142925
  failedMsg: ({ failureSignal: failureSignal2 }) => `Failed to analyze native profile: ${failureSignal2.error_code}`
142926
142926
  },
142927
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,
142928
142931
  description: `Analyze exported native trace data and return an LLM-optimized markdown report.
142929
142932
  iOS: parses CPU time profile, UI hangs, and memory leaks from the exported XML files.
142930
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.
@@ -145240,6 +145243,10 @@ Fails if native-profiler-analyze has not been run or no parsed trace data is in
145240
145243
  apple: { simulator: true },
145241
145244
  android: { emulator: true, device: true, unknown: true }
145242
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,
145243
145250
  services: (params) => ({
145244
145251
  session: nativeProfilerSessionRef(resolveDevice(params.device_id))
145245
145252
  }),
@@ -145324,6 +145331,10 @@ Fails if either react-profiler-analyze or native-profiler-analyze has not been c
145324
145331
  apple: { simulator: true },
145325
145332
  android: { emulator: true, device: true, unknown: true }
145326
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,
145327
145338
  services: (params) => ({
145328
145339
  nativeSession: nativeProfilerSessionRef(resolveDevice(params.device_id))
145329
145340
  }),
@@ -146002,6 +146013,9 @@ Fails if the session_id is not found or required XML files are missing from disk
146002
146013
  // The Hermes, xctrace and perfetto formats this loads have no Chromium
146003
146014
  // equivalent; the gate fails at the call site, not inside the trace parser.
146004
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,
146005
146019
  services: (params) => {
146006
146020
  const svcs = {};
146007
146021
  if (params.mode === "load_native") {
@@ -158759,8 +158773,8 @@ function start() {
158759
158773
  reason
158760
158774
  );
158761
158775
  });
158762
- const PORT = parseInt(process.env.ARGENT_PORT ?? DEFAULT_PORT, 10);
158763
- 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;
158764
158778
  const idleMinutes = parseInt(
158765
158779
  process.env.ARGENT_IDLE_TIMEOUT_MINUTES ?? DEFAULT_IDLE_TIMEOUT_MINUTES,
158766
158780
  10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.26.1-next.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",