@_xtribe/cli 1.0.0-beta.4 → 1.0.0-beta.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.
package/README.md CHANGED
@@ -1,177 +1,123 @@
1
- # @_xtribe/cli
1
+ # TRIBE CLI - Zero to Productive in One Command
2
2
 
3
- Complete TRIBE multi-agent development environment installer.
3
+ TRIBE is an AI-powered multi-agent development system that manages your entire development workflow. From project creation to task implementation and PR reviews, TRIBE's AI agents handle it all.
4
4
 
5
- ## Quick Start
5
+ ## 🚀 One-Command Installation
6
6
 
7
7
  ```bash
8
8
  npx @_xtribe/cli
9
9
  ```
10
10
 
11
- This single command installs:
12
- - ✅ Docker CLI
13
- - ✅ Colima (lightweight container runtime for macOS)
14
- - ✅ Lima (virtualization layer)
15
- - ✅ KIND (Kubernetes in Docker)
16
- - ✅ kubectl (Kubernetes CLI)
17
- - ✅ TRIBE CLI (multi-agent orchestration)
11
+ That's it! This single command will:
12
+ - ✅ Install all required tools (Docker, Kubernetes, kubectl)
13
+ - ✅ Set up Colima container runtime (macOS)
14
+ - ✅ Deploy the complete TRIBE cluster
15
+ - ✅ Configure everything automatically
16
+ - ✅ Guide you through creating your first project
18
17
 
19
- ## After Installation
18
+ ## 🎯 What is TRIBE?
20
19
 
21
- Start the container runtime:
20
+ TRIBE is a complete development ecosystem where AI agents:
21
+ - 📝 Implement features based on your descriptions
22
+ - 🔧 Fix bugs autonomously
23
+ - 🔀 Create pull requests
24
+ - 👀 Handle code reviews
25
+ - 🚀 Manage the entire development lifecycle
22
26
 
23
- ```bash
24
- # Option 1: Use installed Colima
25
- colima start --cpu 2 --memory 4
26
-
27
- # Option 2: Use Docker Desktop
28
- # Download from: https://docs.docker.com/desktop/install/mac-install/
27
+ ## 💡 Quick Start
29
28
 
30
- # Option 3: Use Homebrew (recommended)
31
- brew install colima docker
32
- colima start
33
- ```
34
-
35
- Then start your TRIBE development environment:
29
+ After installation, just run:
36
30
 
37
31
  ```bash
38
- tribe start
39
- tribe status
40
- tribe deploy-task --prompt "Create REST API" --repo "https://github.com/your/repo"
32
+ tribe
41
33
  ```
42
34
 
43
- ## What is TRIBE?
44
-
45
- TRIBE (Task-Review-Iterate-Branch-Execute) is a multi-agent AI development system that automates software development workflows using multiple Claude AI agents working in parallel.
46
-
47
- ## System Requirements
48
-
49
- - macOS or Linux
50
- - Node.js 16+
51
- - Internet connection for downloads
52
-
53
- ## Support
35
+ The interactive CLI will:
36
+ 1. **First time?** Guide you through creating your first project
37
+ 2. **Returning?** Show your projects, tasks, and agent activity
54
38
 
55
- - Issues: https://github.com/0zen/0zen/issues
56
- - Documentation: https://github.com/0zen/0zen
57
-
58
- ## License
59
-
60
- MIT
61
-
62
- ## Overview
63
-
64
- The TRIBE CLI GUI provides both interactive and non-interactive modes for:
65
- - Listing and viewing tasks
66
- - Managing projects
67
- - Monitoring agents
68
- - Creating new tasks (interactive mode)
69
-
70
- ## Installation
39
+ ### Creating Tasks
71
40
 
72
41
  ```bash
73
- cd sdk/cmd/cli-gui
74
- go build -o cli-gui .
42
+ tribe create-task
43
+ # Select project, describe what you want built
44
+ # An AI agent picks it up and implements it!
75
45
  ```
76
46
 
77
- ## Usage
78
-
79
- ### Interactive Mode
80
-
81
- Simply run the CLI without arguments:
47
+ ### Reviewing PRs
82
48
 
83
49
  ```bash
84
- ./cli-gui
50
+ tribe review-task
51
+ # See PRs created by agents
52
+ # Review diffs, add comments, merge
85
53
  ```
86
54
 
87
- This will present a menu-driven interface where you can:
88
- 1. List all tasks
89
- 2. List all projects
90
- 3. List all agents
91
- 4. Create a new task
92
- 5. View task details
55
+ ## 🛠️ System Requirements
93
56
 
94
- ### Non-Interactive Mode
57
+ - **macOS** or **Linux**
58
+ - **4GB RAM** minimum (8GB recommended)
59
+ - **20GB disk space**
60
+ - **Node.js 16+**
95
61
 
96
- Perfect for scripting and automation:
62
+ ## 📚 Common Commands
97
63
 
98
64
  ```bash
99
- # List all tasks
100
- ./cli-gui --non-interactive --cmd list-tasks
101
-
102
- # List all projects
103
- ./cli-gui --non-interactive --cmd list-projects
104
-
105
- # List all agents
106
- ./cli-gui --non-interactive --cmd list-agents
107
-
108
- # View task details
109
- ./cli-gui --non-interactive --cmd task-details --task-id task-8e4999d6
110
-
111
- # Get JSON output
112
- ./cli-gui --non-interactive --cmd list-tasks --format json
65
+ tribe # Interactive mode
66
+ tribe status # Check system status
67
+ tribe create-task # Create a new task
68
+ tribe review-task # Review agent PRs
69
+ tribe list-projects # Show all projects
70
+ tribe list-agents # Show agent status
113
71
  ```
114
72
 
115
- ### Environment Variables
73
+ ## 🔧 Architecture
116
74
 
117
- Configure API endpoints using environment variables:
75
+ TRIBE runs a local Kubernetes cluster with:
76
+ - **Bridge** - API gateway and orchestrator
77
+ - **TaskMaster** - Task queue and agent coordinator
78
+ - **Claude Agents** - AI workers powered by Claude
79
+ - **Gitea** - Local Git server for repositories
80
+ - **PostgreSQL** - Database for state management
118
81
 
119
- ```bash
120
- export TASKMASTER_URL=http://localhost:8080
121
- export BRIDGE_URL=http://localhost:3456
122
- export GITEA_URL=http://localhost:3000
123
- ```
82
+ ## 🤝 Contributing
124
83
 
125
- ## Command-Line Options
84
+ TRIBE is open source! Visit our [GitHub repository](https://github.com/0zen/0zen) to contribute.
126
85
 
127
- - `--non-interactive`: Run in non-interactive mode
128
- - `--cmd <command>`: Command to execute (required in non-interactive mode)
129
- - `list-tasks`: List all tasks
130
- - `list-projects`: List all projects
131
- - `list-agents`: List all agents
132
- - `task-details`: View details of a specific task
133
- - `--task-id <id>`: Task ID (required for task-details command)
134
- - `--format <format>`: Output format (text or json, default: text)
86
+ ## 📖 Documentation
135
87
 
136
- ## Examples
88
+ For detailed documentation, visit the [TRIBE Flow Guide](https://github.com/0zen/0zen/blob/main/TRIBE-SYSTEM-FLOW-GUIDE.md).
137
89
 
138
- ### List tasks in JSON format
139
- ```bash
140
- ./cli-gui --non-interactive --cmd list-tasks --format json
141
- ```
90
+ ## 🆘 Troubleshooting
142
91
 
143
- ### View specific task details
92
+ ### Cluster not starting?
144
93
  ```bash
145
- ./cli-gui --non-interactive --cmd task-details --task-id task-123456
94
+ # Check if Colima is running
95
+ colima status
96
+
97
+ # Start manually if needed
98
+ colima start --kubernetes
99
+ tribe start
146
100
  ```
147
101
 
148
- ### Use with custom API endpoints
102
+ ### Port conflicts?
149
103
  ```bash
150
- TASKMASTER_URL=http://api.example.com:8080 ./cli-gui --non-interactive --cmd list-tasks
104
+ # Check what's using ports
105
+ lsof -i :30080
106
+ lsof -i :3456
151
107
  ```
152
108
 
153
- ## Testing with Mock Data
154
-
155
- To test without a running TRIBE cluster, you can use mock endpoints or run against a local instance.
156
-
157
- ## Development
158
-
159
- ### Adding New Commands
160
-
161
- 1. Add the command to the switch statement in `runNonInteractive()`
162
- 2. Implement the corresponding function
163
- 3. Add any necessary API methods to `api.go`
164
- 4. Update this README with the new command
109
+ ### Reset everything?
110
+ ```bash
111
+ # Stop cluster
112
+ colima stop
165
113
 
166
- ### Building for Different Platforms
114
+ # Remove TRIBE namespace
115
+ kubectl delete namespace tribe-system
167
116
 
168
- ```bash
169
- # Linux
170
- GOOS=linux GOARCH=amd64 go build -o cli-gui-linux .
117
+ # Start fresh
118
+ tribe start
119
+ ```
171
120
 
172
- # macOS
173
- GOOS=darwin GOARCH=amd64 go build -o cli-gui-macos .
121
+ ## 📄 License
174
122
 
175
- # Windows
176
- GOOS=windows GOARCH=amd64 go build -o cli-gui.exe .
177
- ```
123
+ MIT License - see [LICENSE](https://github.com/0zen/0zen/blob/main/LICENSE) for details.