@_xtribe/cli 1.0.0-beta.15 → 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 +20 -12
  2. package/package.json +1 -1
package/install-tribe.js CHANGED
@@ -697,16 +697,20 @@ async function main() {
697
697
  console.log('\n' + chalk.bold.green('✨ TRIBE is ready!'));
698
698
  console.log('');
699
699
 
700
- // Always show PATH update reminder since npx runs in a subprocess
701
- log.warning('To use tribe commands, update your PATH:');
702
- console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'}`));
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`));
703
707
  console.log(' ' + chalk.gray('or restart your terminal'));
704
708
  console.log('');
705
709
 
706
710
  log.info('Quick start:');
707
- console.log(' tribe # Launch interactive CLI');
708
- console.log(' tribe status # Check cluster status');
709
- 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`);
710
714
  console.log('');
711
715
  log.info('First time? The CLI will guide you through creating your first project!');
712
716
  } else {
@@ -723,16 +727,20 @@ async function main() {
723
727
  log.success('Cluster is already running');
724
728
  console.log('');
725
729
 
726
- // Always show PATH update reminder since npx runs in a subprocess
727
- log.warning('To use tribe commands, update your PATH:');
728
- console.log(chalk.yellow(` source ~/.${process.env.SHELL?.includes('zsh') ? 'zshrc' : 'bashrc'}`));
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`));
729
737
  console.log(' ' + chalk.gray('or restart your terminal'));
730
738
  console.log('');
731
739
 
732
740
  log.info('Commands:');
733
- console.log(' tribe # Launch interactive CLI');
734
- console.log(' tribe status # Check status');
735
- 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`);
736
744
  }
737
745
  } else {
738
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.15",
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": {