@_xtribe/cli 2.1.2 → 2.1.3

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 +12 -57
  2. package/package.json +1 -1
package/install-tribe.js CHANGED
@@ -36,50 +36,12 @@ if (!fs.existsSync(tribeBinDir)) {
36
36
  function showWelcome() {
37
37
  console.clear();
38
38
  console.log(chalk.cyan(asciiArt));
39
- console.log(chalk.bold('\nšŸŽ“ Welcome to TRIBE Tutor\n'));
40
- console.log(chalk.bold('Your Personal AI Engineering Coach • Build Skills That Matter\n'));
41
-
42
- console.log('TRIBE Tutor teaches you to master AI tools through hands-on learning:');
43
- console.log(' šŸ“š ' + chalk.cyan('Context engineering mastery') + ' - Learn what context gets better results');
44
- console.log(' šŸŽÆ ' + chalk.cyan('Personalized coaching') + ' - Tailored lessons from your real usage');
45
- console.log(' 🧠 ' + chalk.cyan('Skill development') + ' - From basic prompts to expert context engineering');
46
- console.log(' ⚔ ' + chalk.cyan('Maximum impact') + ' - Focus on techniques that actually matter\n');
47
-
48
- console.log(chalk.yellow('šŸš€ Everyone can learn AI engineering - we make it simple and practical'));
49
- console.log(chalk.gray(`\nPlatform: ${platform} (${arch}) • Node: ${process.version}\n`));
39
+ console.log(chalk.gray('Master AI Engineering Through Practice\n'));
50
40
  }
51
41
 
52
42
  function showInstallationSummary() {
53
- console.log('\n' + '═'.repeat(70));
54
- console.log(chalk.green.bold('\nšŸŽ“ Your AI Engineering Coach is Ready!\n'));
55
-
56
- console.log(chalk.cyan.bold('šŸ“š Personalized Learning System Activated'));
57
- console.log(chalk.gray(' Watching your AI workflow to create custom lessons just for you'));
58
- console.log(chalk.gray(' šŸ”’ Privacy-first: We analyze patterns, not your code content\n'));
59
-
60
- console.log(chalk.bold('⚔ How Your Skills Will Grow:'));
61
- console.log(' šŸ“– ' + chalk.green('Learn from real examples') + ' - Your own coding sessions become lessons');
62
- console.log(' šŸŽÆ ' + chalk.green('Practice with purpose') + ' - Focus on what actually improves your work');
63
- console.log(' 🧠 ' + chalk.green('Build expert intuition') + ' - Understand why some approaches work better\n');
64
-
65
- console.log(chalk.bold.magenta('šŸ› ļø AI Engineering Skills You\'ll Master:'));
66
- console.log(' šŸ¤– Claude context engineering • ⚔ Cursor workflow design • šŸš€ Multi-tool context switching • šŸ’» Advanced prompt architecture\n');
67
-
68
- console.log(chalk.bold('šŸŽÆ Your Learning Path:'));
69
- console.log(chalk.cyan.bold(' 1. tribe login') + chalk.gray(' # Start your personalized curriculum'));
70
- console.log(chalk.cyan.bold(' 2. code normally') + chalk.gray(' # Every session teaches us about your style'));
71
- console.log(chalk.cyan.bold(' 3. tribe insights') + chalk.gray(' # Get custom lessons based on your progress\n'));
72
-
73
- console.log(chalk.bold('šŸš€ Skills You\'ll Develop:'));
74
- console.log(' šŸŽØ ' + chalk.yellow('Context engineering that gets better results every time'));
75
- console.log(' ⚔ ' + chalk.yellow('Workflow patterns that maximize your speed and context quality'));
76
- console.log(' šŸŽÆ ' + chalk.yellow('Context switching - when to use what tools and why'));
77
- console.log(' 🧠 ' + chalk.yellow('AI engineering intuition that compounds over time\n'));
78
-
79
- console.log(chalk.gray('Learning Dashboard: ') + chalk.cyan('https://tribecode.ai/tribe/learn'));
80
- console.log(chalk.gray('Skill Progression: ') + chalk.cyan('https://tribecode.ai/tribe/progress'));
81
- console.log(chalk.gray('Privacy & Security: ') + chalk.cyan('https://tribecode.ai/docs/privacy-security'));
82
- console.log('\n' + '═'.repeat(70) + '\n');
43
+ console.log(chalk.green.bold('āœ“ Ready!'));
44
+ console.log('Type ' + chalk.cyan.bold('tribe') + ' to get started');
83
45
  }
84
46
 
85
47
  async function downloadFile(url, dest) {
@@ -104,10 +66,10 @@ async function downloadFile(url, dest) {
104
66
 
105
67
  async function installTribeCLI() {
106
68
  const tribeDest = path.join(tribeBinDir, 'tribe');
107
-
69
+
108
70
  // Check if update needed
109
71
  const exists = fs.existsSync(tribeDest);
110
- const spinner = ora(exists ? 'šŸ”„ Updating TRIBE CLI...' : 'šŸ“„ Installing TRIBE CLI...').start();
72
+ const spinner = ora(exists ? 'Updating CLI...' : 'Installing CLI...').start();
111
73
 
112
74
  try {
113
75
  // Remove existing if present
@@ -131,7 +93,7 @@ async function installTribeCLI() {
131
93
  }
132
94
  }
133
95
 
134
- spinner.succeed(exists ? 'TRIBE CLI updated' : 'TRIBE CLI installed');
96
+ spinner.succeed('CLI ready');
135
97
  return true;
136
98
  } catch (error) {
137
99
  spinner.fail(`Installation failed: ${error.message}`);
@@ -140,7 +102,7 @@ async function installTribeCLI() {
140
102
  }
141
103
 
142
104
  async function setupPath() {
143
- const spinner = ora('šŸ”§ Setting up PATH...').start();
105
+ const spinner = ora('Setting up PATH...').start();
144
106
 
145
107
  try {
146
108
  // Create PATH script
@@ -167,7 +129,7 @@ fi`;
167
129
  }
168
130
  }
169
131
 
170
- spinner.succeed('PATH configured');
132
+ spinner.succeed('Environment ready');
171
133
  return true;
172
134
  } catch (error) {
173
135
  spinner.warn('PATH setup needs manual configuration');
@@ -194,9 +156,6 @@ async function main() {
194
156
  // Show welcome
195
157
  showWelcome();
196
158
 
197
- // Simple installation flow
198
- console.log(chalk.bold('šŸ“¦ Setting up TRIBE Telemetry...\n'));
199
-
200
159
  // Install TRIBE CLI
201
160
  const success = await installTribeCLI();
202
161
  if (!success) {
@@ -207,16 +166,12 @@ async function main() {
207
166
 
208
167
  // Setup PATH
209
168
  await setupPath();
210
-
211
- // Show summary
169
+
170
+ // Show completion
171
+ console.log('');
212
172
  showInstallationSummary();
213
173
 
214
- // Final message
215
- console.log(chalk.green.bold('šŸŽ“ Your AI Engineering Journey Starts Now!\n'));
216
- console.log(chalk.magenta.bold('šŸ“š Run ') + chalk.cyan.bold('tribe login') + chalk.magenta.bold(' to begin your personalized learning path'));
217
- console.log(chalk.gray(' Every coding session becomes a lesson. Every challenge becomes growth.\n'));
218
- console.log(chalk.yellow('šŸš€ Master AI engineering step by step - because it really doesn\'t have to be hard'));
219
- console.log();
174
+ // Final message - included in showInstallationSummary now
220
175
 
221
176
  process.exit(0);
222
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_xtribe/cli",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "TRIBE - Track, measure and optimize your AI coding agents to become 10x faster",
5
5
  "main": "install-tribe.js",
6
6
  "bin": {