genbox 1.0.22 → 1.0.23

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.
@@ -162,8 +162,9 @@ exports.createCommand = new commander_1.Command('create')
162
162
  console.log(chalk_1.default.blue('Resolving configuration...'));
163
163
  console.log('');
164
164
  let resolved = await profileResolver.resolve(config, createOptions);
165
- // Interactive branch selection if no branch was specified
166
- if (!options.branch && !options.newBranch && !options.yes && resolved.repos.length > 0) {
165
+ // Interactive branch selection if no branch options were specified
166
+ // Skip if: -b (existing branch), -f (new branch from source), -n (explicit new branch name), or -y (skip prompts)
167
+ if (!options.branch && !options.fromBranch && !options.newBranch && !options.yes && resolved.repos.length > 0) {
167
168
  resolved = await promptForBranchOptions(resolved, config);
168
169
  }
169
170
  // Display resolved configuration
@@ -506,8 +506,9 @@ exports.rebuildCommand = new commander_1.Command('rebuild')
506
506
  console.log(chalk_1.default.blue('Resolving configuration...'));
507
507
  console.log('');
508
508
  let resolved = await profileResolver.resolve(config, createOptions);
509
- // Interactive branch selection only if no branch specified and no stored branch
510
- if (!options.branch && !storedBranch && !options.newBranch && !options.yes && resolved.repos.length > 0) {
509
+ // Interactive branch selection only if no branch options specified and no stored branch
510
+ // Skip if: -b, -f, -n, stored branch, or -y
511
+ if (!options.branch && !options.fromBranch && !storedBranch && !options.newBranch && !options.yes && resolved.repos.length > 0) {
511
512
  resolved = await promptForBranchOptions(resolved, config);
512
513
  }
513
514
  // Display what will be rebuilt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {