@midscene/cli 1.10.0 → 1.10.1-beta-20260624112700.0

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.
@@ -3599,7 +3599,11 @@ defineYamlBatchTest(test, testOptions);
3599
3599
  }
3600
3600
  var source = __webpack_require__("../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js");
3601
3601
  var source_default = /*#__PURE__*/ __webpack_require__.n(source);
3602
- const isTTY = process.env.MIDSCENE_CLI_LOG_ON_NON_TTY ? false : process.stdout.isTTY;
3602
+ function resolveIsTTY(env = process.env, stdoutIsTTY = process.stdout.isTTY) {
3603
+ if (env.MIDSCENE_CLI_LOG_ON_NON_TTY || env.NO_COLOR || 'dumb' === env.TERM || env.CI) return false;
3604
+ return Boolean(stdoutIsTTY);
3605
+ }
3606
+ const isTTY = resolveIsTTY();
3603
3607
  const indent = ' ';
3604
3608
  const spinnerInterval = 80;
3605
3609
  const spinnerFrames = [