@_xtribe/cli 1.0.0-beta.14 → 1.0.0-beta.16

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.
Files changed (2) hide show
  1. package/install-tribe.js +26 -14
  2. package/package.json +1 -1
package/install-tribe.js CHANGED
@@ -697,19 +697,20 @@ async function main() {
697
697
  console.log('\n' + chalk.bold.green('✨ TRIBE is ready!'));
698
698
  console.log('');
699
699
 
700
- // Check if PATH needs updating
701
- const needsPathUpdate = !process.env.PATH.includes(binDir);
702
- if (needsPathUpdate) {
703
- log.warning('PATH update required for current shell:');
704
- console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'}`));
705
- console.log(' ' + chalk.gray('or restart your terminal'));
706
- console.log('');
707
- }
700
+ // Provide immediate access to tribe command
701
+ const tribePath = path.join(binDir, 'tribe');
702
+
703
+ log.info('To use tribe commands:');
704
+ console.log(chalk.green(` ${tribePath} # Use full path now`));
705
+ console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'} # Or update PATH`));
706
+ console.log(chalk.cyan(` alias tribe="${tribePath}" # Or create temporary alias`));
707
+ console.log(' ' + chalk.gray('or restart your terminal'));
708
+ console.log('');
708
709
 
709
710
  log.info('Quick start:');
710
- console.log(' tribe # Launch interactive CLI');
711
- console.log(' tribe status # Check cluster status');
712
- console.log(' tribe create-task # Create a new task');
711
+ console.log(` ${tribePath} # Launch interactive CLI`);
712
+ console.log(` ${tribePath} status # Check cluster status`);
713
+ console.log(` ${tribePath} create-task # Create a new task`);
713
714
  console.log('');
714
715
  log.info('First time? The CLI will guide you through creating your first project!');
715
716
  } else {
@@ -725,10 +726,21 @@ async function main() {
725
726
  console.log('\n' + chalk.bold.green('✨ TRIBE is ready!'));
726
727
  log.success('Cluster is already running');
727
728
  console.log('');
729
+
730
+ // Provide immediate access to tribe command
731
+ const tribePath = path.join(binDir, 'tribe');
732
+
733
+ log.info('To use tribe commands:');
734
+ console.log(chalk.green(` ${tribePath} # Use full path now`));
735
+ console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'} # Or update PATH`));
736
+ console.log(chalk.cyan(` alias tribe="${tribePath}" # Or create temporary alias`));
737
+ console.log(' ' + chalk.gray('or restart your terminal'));
738
+ console.log('');
739
+
728
740
  log.info('Commands:');
729
- console.log(' tribe # Launch interactive CLI');
730
- console.log(' tribe status # Check status');
731
- console.log(' tribe create-task # Create a new task');
741
+ console.log(` ${tribePath} # Launch interactive CLI`);
742
+ console.log(` ${tribePath} status # Check status`);
743
+ console.log(` ${tribePath} create-task # Create a new task`);
732
744
  }
733
745
  } else {
734
746
  console.log('\n' + chalk.bold('Next Steps:'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_xtribe/cli",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.16",
4
4
  "description": "TRIBE multi-agent development system - Zero to productive with one command",
5
5
  "main": "install-tribe.js",
6
6
  "bin": {