@swmansion/argent 0.32.1-next.20 → 0.32.1-next.21

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
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -35871,7 +35871,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
35871
35871
  var SESSION_ID2 = randomUUID5();
35872
35872
  function readCliVersion() {
35873
35873
  if (true) {
35874
- return "0.32.1-next.20";
35874
+ return "0.32.1-next.21";
35875
35875
  }
35876
35876
  return "0.0.0";
35877
35877
  }
@@ -16981,7 +16981,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16981
16981
  var SESSION_ID = randomUUID4();
16982
16982
  function readCliVersion() {
16983
16983
  if (true) {
16984
- return "0.32.1-next.20";
16984
+ return "0.32.1-next.21";
16985
16985
  }
16986
16986
  return "0.0.0";
16987
16987
  }
@@ -101256,7 +101256,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
101256
101256
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
101257
101257
  function readCliVersion() {
101258
101258
  if (true) {
101259
- return "0.32.1-next.20";
101259
+ return "0.32.1-next.21";
101260
101260
  }
101261
101261
  return "0.0.0";
101262
101262
  }
@@ -166058,6 +166058,7 @@ function parseCpuXml(xml, targetPid = null) {
166058
166058
  if (sampleTimeMatch) {
166059
166059
  timestampNs = parseInt(sampleTimeMatch[1], 10);
166060
166060
  } else if (sampleTimeRef) {
166061
+ resolveBacktrace(row, frameRegistry, backtraceRegistry, binaryRegistry);
166061
166062
  continue;
166062
166063
  }
166063
166064
  const threadMatch = row.match(/<thread[^>]*\sfmt="([^"]*)"[^>]*>/);
@@ -166121,6 +166122,21 @@ function rowProcessPid(rowXml, processPid) {
166121
166122
  return id != null ? processPid.get(id) : void 0;
166122
166123
  }
166123
166124
  function resolveBacktrace(rowXml, frameRegistry, backtraceRegistry, binaryRegistry) {
166125
+ const tagged = rowXml.match(/<tagged-backtrace\b([^>]*?)(\/?)>/);
166126
+ if (tagged) {
166127
+ const taggedRef = tagged[1].match(/\bref="(\d+)"/);
166128
+ if (taggedRef) return backtraceRegistry.get(taggedRef[1]) ?? [];
166129
+ let content = "";
166130
+ if (!tagged[2]) {
166131
+ const start2 = tagged.index + tagged[0].length;
166132
+ const end = rowXml.indexOf("</tagged-backtrace>", start2);
166133
+ content = rowXml.substring(start2, end === -1 ? rowXml.length : end);
166134
+ }
166135
+ const frames2 = /<backtrace[\s>]/.test(content) ? resolveBacktrace(content, frameRegistry, backtraceRegistry, binaryRegistry) : resolveFrames(content, frameRegistry, binaryRegistry);
166136
+ const taggedId = tagged[1].match(/\bid="(\d+)"/);
166137
+ if (taggedId) backtraceRegistry.set(taggedId[1], frames2);
166138
+ return frames2;
166139
+ }
166124
166140
  const btRefMatch = rowXml.match(/<backtrace\s+ref="(\d+)"\s*\/>/);
166125
166141
  if (btRefMatch) {
166126
166142
  return backtraceRegistry.get(btRefMatch[1]) ?? [];
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.32.1-next.20",
3
+ "version": "0.32.1-next.21",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
6
6
  "license": "Apache-2.0",