@swmansion/argent 0.35.1-next.56 → 0.35.1-next.58

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
@@ -38689,7 +38689,7 @@ function isCi(env = process.env) {
38689
38689
  var SESSION_ID2 = randomUUID5();
38690
38690
  function readCliVersion() {
38691
38691
  if (true) {
38692
- return "0.35.1-next.56";
38692
+ return "0.35.1-next.57";
38693
38693
  }
38694
38694
  return "0.0.0";
38695
38695
  }
@@ -17118,7 +17118,7 @@ function isCi(env = process.env) {
17118
17118
  var SESSION_ID = randomUUID4();
17119
17119
  function readCliVersion() {
17120
17120
  if (true) {
17121
- return "0.35.1-next.56";
17121
+ return "0.35.1-next.57";
17122
17122
  }
17123
17123
  return "0.0.0";
17124
17124
  }
@@ -38248,7 +38248,7 @@ async function startMcpServer(options) {
38248
38248
  const autoDescribeOn = autoDescribeEnabled();
38249
38249
  const whatsNewOn = whatsNewEnabled();
38250
38250
  const installedVersion = getInstalledVersion();
38251
- const highlightsVersion = true ? "0.35.1-next.56" : installedVersion;
38251
+ const highlightsVersion = true ? "0.35.1-next.57" : installedVersion;
38252
38252
  const captureTimeoutMs = options.captureTimeoutMs ?? CAPTURE_TIMEOUT_MS;
38253
38253
  const trees = createTreeMemory();
38254
38254
  const screenshots = createScreenshotMemory();
@@ -73040,7 +73040,7 @@ function isCi(env = process.env) {
73040
73040
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
73041
73041
  function readCliVersion() {
73042
73042
  if (true) {
73043
- return "0.35.1-next.56";
73043
+ return "0.35.1-next.57";
73044
73044
  }
73045
73045
  return "0.0.0";
73046
73046
  }
@@ -166078,7 +166078,8 @@ async function runFlowScriptStep(request4) {
166078
166078
  } catch (err) {
166079
166079
  return {
166080
166080
  ran: "no",
166081
- outcome: { status: "error", reason: err instanceof Error ? err.message : String(err) }
166081
+ outcome: { status: "error", reason: err instanceof Error ? err.message : String(err) },
166082
+ ...getFailureSignal(err)?.error_code === FAILURE_CODES.SECRET_PLACEHOLDER_UNKNOWN ? { unknownSecret: true } : {}
166082
166083
  };
166083
166084
  }
166084
166085
  const deviceEnv2 = await scriptDeviceEnv(request4.device);
@@ -174680,7 +174681,7 @@ function oneLineReason(text) {
174680
174681
  return text.replace(/\\/g, "\\\\").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t");
174681
174682
  }
174682
174683
  async function runScriptStep(state3, step, scope) {
174683
- const { outcome, result } = await runFlowScriptStep({
174684
+ const { outcome, result, unknownSecret } = await runFlowScriptStep({
174684
174685
  flowDir: scopeFlowDir(scope),
174685
174686
  step,
174686
174687
  projectRoot: state3.projectRoot,
@@ -174692,7 +174693,7 @@ async function runScriptStep(state3, step, scope) {
174692
174693
  ...state3.signal ? { signal: state3.signal } : {}
174693
174694
  });
174694
174695
  if (outcome.status === "pass" && result?.output) state3.output.doc = result.output;
174695
- return outcome.reason === void 0 ? outcome : { ...outcome, reason: oneLineReason(outcome.reason) };
174696
+ return outcome.reason === void 0 || unknownSecret ? outcome : { ...outcome, reason: oneLineReason(outcome.reason) };
174696
174697
  }
174697
174698
  async function runFold(state3, step) {
174698
174699
  const { registry: registry2, ctx, signal } = state3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.35.1-next.56",
3
+ "version": "0.35.1-next.58",
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": "3e52ebb6701a8cece959e528d47f7526d5771add"
101
+ "gitHead": "4c7df3fdcee81a15e191c354703dc7ed6b4db2a6"
102
102
  }