@_xtribe/cli 1.0.0-beta.15 → 1.0.0-beta.17
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.
- package/install-tribe.js +20 -12
- package/package.json +1 -1
- package/tribe-deployment.yaml +10 -3
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
|
-
//
|
|
701
|
-
|
|
702
|
-
|
|
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(
|
|
708
|
-
console.log(
|
|
709
|
-
console.log(
|
|
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
|
-
//
|
|
727
|
-
|
|
728
|
-
|
|
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(
|
|
734
|
-
console.log(
|
|
735
|
-
console.log(
|
|
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
package/tribe-deployment.yaml
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
# TRIBE Complete Deployment - Bundled with NPM Package
|
|
3
3
|
# This file is automatically deployed by 'npx @_xtribe/cli'
|
|
4
|
+
#
|
|
5
|
+
# IMPORTANT: This deployment uses PUBLIC Docker Hub images from tribexal/tribe
|
|
6
|
+
# - tribexal/tribe:taskmaster-latest
|
|
7
|
+
# - tribexal/tribe:bridge-latest
|
|
8
|
+
# - tribexal/tribe:claude-agent-latest
|
|
9
|
+
#
|
|
10
|
+
# DO NOT change these to local image names for the npm package!
|
|
4
11
|
---
|
|
5
12
|
apiVersion: v1
|
|
6
13
|
kind: Namespace
|
|
@@ -214,7 +221,7 @@ spec:
|
|
|
214
221
|
command: ['sh', '-c', 'until nc -z postgres 5432; do echo waiting for db; sleep 2; done']
|
|
215
222
|
containers:
|
|
216
223
|
- name: taskmaster
|
|
217
|
-
image: taskmaster
|
|
224
|
+
image: tribexal/tribe:taskmaster-latest
|
|
218
225
|
imagePullPolicy: IfNotPresent
|
|
219
226
|
ports:
|
|
220
227
|
- containerPort: 5000
|
|
@@ -274,7 +281,7 @@ spec:
|
|
|
274
281
|
echo "All services ready!"
|
|
275
282
|
containers:
|
|
276
283
|
- name: bridge
|
|
277
|
-
image: bridge
|
|
284
|
+
image: tribexal/tribe:bridge-latest
|
|
278
285
|
imagePullPolicy: IfNotPresent
|
|
279
286
|
ports:
|
|
280
287
|
- containerPort: 8080
|
|
@@ -329,7 +336,7 @@ spec:
|
|
|
329
336
|
spec:
|
|
330
337
|
containers:
|
|
331
338
|
- name: claude-agent
|
|
332
|
-
image: claude-agent
|
|
339
|
+
image: tribexal/tribe:claude-agent-latest
|
|
333
340
|
imagePullPolicy: IfNotPresent
|
|
334
341
|
env:
|
|
335
342
|
- name: ROLE
|