multi-agents-cli 1.1.5 → 1.1.6

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.
@@ -1497,6 +1497,13 @@ Mark each step complete. Only proceed to the task below when all are checked.
1497
1497
  });
1498
1498
  console.log(` ${green('✓')} Worktree created: worktrees/${worktreeName}`);
1499
1499
  } catch (err) {
1500
+ const msg = err.stderr?.toString() || err.message || '';
1501
+ if (msg.includes('not a git repository')) {
1502
+ console.error(`
1503
+ ${red('✖')} Not a git repository. Run git init first, then npm run init.
1504
+ `);
1505
+ process.exit(1);
1506
+ }
1500
1507
  console.log(` ${yellow('!')} Worktree may already exist - continuing.`);
1501
1508
  }
1502
1509
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",