fraim 2.0.131 → 2.0.132

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.
@@ -660,6 +660,7 @@ const runSetup = async (options) => {
660
660
  console.log(chalk_1.default.gray(' legal, product, hiring, customer development, and more.'));
661
661
  // Ask how the user wants to work with their AI employees.
662
662
  // Skip prompt when the user already chose on a previous run (R2.2/R3.2/R4.6).
663
+ // Also skip in non-interactive environments (CI, tests, automated installs).
663
664
  const { writeSetupHandoffChoice, readSetupHandoffChoice } = await Promise.resolve().then(() => __importStar(require('../../core/utils/setup-preferences')));
664
665
  const storedChoice = readSetupHandoffChoice();
665
666
  let choice;
@@ -667,6 +668,11 @@ const runSetup = async (options) => {
667
668
  console.log(chalk_1.default.gray(`\n Using your saved preference: ${storedChoice === 'ide' ? 'In my IDE' : 'In FRAIM Hub'}`));
668
669
  choice = storedChoice;
669
670
  }
671
+ else if (process.env.FRAIM_NON_INTERACTIVE || process.env.CI) {
672
+ // In non-interactive environments, default to IDE mode (no browser launch)
673
+ console.log(chalk_1.default.gray('\n Non-interactive mode: defaulting to IDE setup'));
674
+ choice = 'ide';
675
+ }
670
676
  else {
671
677
  const userTypeResponse = await (0, prompts_1.default)({
672
678
  type: 'select',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fraim",
3
- "version": "2.0.131",
3
+ "version": "2.0.132",
4
4
  "description": "FRAIM CLI - Framework for Rigor-based AI Management (alias for fraim-framework)",
5
5
  "main": "index.js",
6
6
  "bin": {