@swmansion/argent 0.34.1-next.107 → 0.34.1-next.108

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
@@ -38575,7 +38575,7 @@ function isCi(env = process.env) {
38575
38575
  var SESSION_ID2 = randomUUID5();
38576
38576
  function readCliVersion() {
38577
38577
  if (true) {
38578
- return "0.34.1-next.106";
38578
+ return "0.34.1-next.108";
38579
38579
  }
38580
38580
  return "0.0.0";
38581
38581
  }
@@ -16998,7 +16998,7 @@ function isCi(env = process.env) {
16998
16998
  var SESSION_ID = randomUUID4();
16999
16999
  function readCliVersion() {
17000
17000
  if (true) {
17001
- return "0.34.1-next.106";
17001
+ return "0.34.1-next.108";
17002
17002
  }
17003
17003
  return "0.0.0";
17004
17004
  }
@@ -36495,6 +36495,10 @@ async function toMcpContent(result, outputHint, ctx, args) {
36495
36495
  }
36496
36496
  return [{ type: "text", text: stringifyForText(result) }];
36497
36497
  }
36498
+ function joinTextOnlyContent(blocks) {
36499
+ if (blocks.length < 2 || !blocks.every((b) => b.type === "text")) return blocks;
36500
+ return [{ type: "text", text: blocks.map((b) => b.text).join("\n") }];
36501
+ }
36498
36502
  var LINE_BREAK_THRESHOLD = 160;
36499
36503
  function isJsonOmitted(value) {
36500
36504
  return value === void 0 || typeof value === "function" || typeof value === "symbol";
@@ -38299,7 +38303,7 @@ ${shown.text}` }];
38299
38303
  content = [...content, ...whatsNewBlocks()];
38300
38304
  if (treeUdid !== void 0 && signal.aborted) trees.forget(treeUdid);
38301
38305
  if (screenshotUdid !== void 0 && signal.aborted) screenshots.forget(screenshotUdid);
38302
- return { content };
38306
+ return { content: joinTextOnlyContent(content) };
38303
38307
  } catch (err) {
38304
38308
  if (treeUdid !== void 0) trees.forget(treeUdid);
38305
38309
  if (screenshotUdid !== void 0) screenshots.forget(screenshotUdid);
@@ -72948,7 +72948,7 @@ function isCi(env = process.env) {
72948
72948
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
72949
72949
  function readCliVersion() {
72950
72950
  if (true) {
72951
- return "0.34.1-next.106";
72951
+ return "0.34.1-next.108";
72952
72952
  }
72953
72953
  return "0.0.0";
72954
72954
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.34.1-next.107",
3
+ "version": "0.34.1-next.108",
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",
@@ -98,5 +98,5 @@
98
98
  "vitest": "^5.0.5",
99
99
  "yaml": "^2.9.1"
100
100
  },
101
- "gitHead": "f0dea93a2fc29b298309a896bc3d2177cc7b4004"
101
+ "gitHead": "494018ca4316967dfb252d81642f2d2fd1e5a0e0"
102
102
  }