{"_id":"@_tribe/cli","_rev":"2-9f4d48935d11f17b11480a35f75e6784","name":"@_tribe/cli","dist-tags":{"latest":"1.0.0-beta.2"},"versions":{"1.0.0-beta.1":{"name":"@_tribe/cli","version":"1.0.0-beta.1","keywords":["tribe","cli","kubernetes","docker","colima","multi-agent","ai","development"],"author":{"name":"0zen"},"license":"MIT","_id":"@_tribe/cli@1.0.0-beta.1","maintainers":[{"name":"_tribe","email":"a@tribecode.ai"}],"homepage":"https://github.com/0zen/0zen","bugs":{"url":"https://github.com/0zen/0zen/issues"},"os":["darwin","linux"],"bin":{"tribe-cli":"install-tribe.js"},"dist":{"shasum":"a84bc917d8e0a96f5cb1d7bccb8dbf1f36406d62","tarball":"https://registry.npmjs.org/@_tribe/cli/-/cli-1.0.0-beta.1.tgz","fileCount":4,"integrity":"sha512-I00tvH2I3IpOy82HrKlqF2Sv3y56wgW4ykzXF4g9o5hr8HQzImN1wlXP0jelwNJX3X4uvJBd0DnMrfVkAJOfrQ==","signatures":[{"sig":"MEUCIAGK0qucsPVlT00vI+iJES7bgNqOQvZI1zyL6XRhHqQFAiEA46iVXFT+9OJgXOId9IoTrS9Iy6/omYvXeKYhsmrmzfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12655220},"main":"install-tribe.js","engines":{"node":">=16.0.0"},"gitHead":"4e34e186106abc33972c8800cb23b128da125983","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"_tribe","email":"a@tribecode.ai"},"repository":{"url":"git+https://github.com/0zen/0zen.git","type":"git"},"_npmVersion":"10.8.2","description":"TRIBE multi-agent development system CLI installer","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ora":"^5.4.1","tar":"^6.1.15","chalk":"^4.1.2","which":"^2.0.2","node-fetch":"^2.6.7"},"preferGlobal":true,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.0-beta.1_1753124464755_0.2682231070969956","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.2":{"name":"@_tribe/cli","version":"1.0.0-beta.2","description":"TRIBE multi-agent development system CLI installer","main":"install-tribe.js","bin":{"cli":"install-tribe.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["tribe","cli","kubernetes","docker","colima","multi-agent","ai","development"],"engines":{"node":">=16.0.0"},"os":["darwin","linux"],"preferGlobal":true,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"chalk":"^4.1.2","ora":"^5.4.1","node-fetch":"^2.6.7","tar":"^6.1.15","which":"^2.0.2"},"repository":{"type":"git","url":"git+https://github.com/0zen/0zen.git"},"author":{"name":"0zen"},"license":"MIT","homepage":"https://github.com/0zen/0zen","bugs":{"url":"https://github.com/0zen/0zen/issues"},"_id":"@_tribe/cli@1.0.0-beta.2","gitHead":"4e34e186106abc33972c8800cb23b128da125983","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-wHRcjSBTk3qUYqQcsxViWvVh28OzqhTYKsV3jesscQ4D1yQwkd7OU0cW5utufOhDhlsGCqzAP+DlCfuDKVSc4A==","shasum":"99621e4c121cc01c513f7401b404003c3500fc0f","tarball":"https://registry.npmjs.org/@_tribe/cli/-/cli-1.0.0-beta.2.tgz","fileCount":4,"unpackedSize":12655197,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCBHR81EMd9Jm8oiWFMcXEifsmsJpVSYcALwzB4lVkDJQIgFJrCVT2t0jDrMdgD3xAvHNCgrj7X1DGA9ELWBrMjn6U="}]},"_npmUser":{"name":"_tribe","email":"a@tribecode.ai"},"directories":{},"maintainers":[{"name":"_tribe","email":"a@tribecode.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.0.0-beta.2_1753124521427_0.4679737380691713"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-21T19:01:04.679Z","modified":"2025-07-21T19:02:02.067Z","1.0.0-beta.1":"2025-07-21T19:01:05.142Z","1.0.0-beta.2":"2025-07-21T19:02:01.864Z"},"bugs":{"url":"https://github.com/0zen/0zen/issues"},"author":{"name":"0zen"},"license":"MIT","homepage":"https://github.com/0zen/0zen","keywords":["tribe","cli","kubernetes","docker","colima","multi-agent","ai","development"],"repository":{"type":"git","url":"git+https://github.com/0zen/0zen.git"},"description":"TRIBE multi-agent development system CLI installer","maintainers":[{"name":"_tribe","email":"a@tribecode.ai"}],"readme":"# @_tribe/cli\n\nComplete TRIBE multi-agent development environment installer.\n\n## Quick Start\n\n```bash\nnpx @_tribe/cli\n```\n\nThis single command installs:\n- ✅ Docker CLI\n- ✅ Colima (lightweight container runtime for macOS)\n- ✅ Lima (virtualization layer) \n- ✅ KIND (Kubernetes in Docker)\n- ✅ kubectl (Kubernetes CLI)\n- ✅ TRIBE CLI (multi-agent orchestration)\n\n## After Installation\n\nStart the container runtime:\n\n```bash\n# Option 1: Use installed Colima\ncolima start --cpu 2 --memory 4\n\n# Option 2: Use Docker Desktop\n# Download from: https://docs.docker.com/desktop/install/mac-install/\n\n# Option 3: Use Homebrew (recommended)\nbrew install colima docker\ncolima start\n```\n\nThen start your TRIBE development environment:\n\n```bash\ntribe start\ntribe status\ntribe deploy-task --prompt \"Create REST API\" --repo \"https://github.com/your/repo\"\n```\n\n## What is TRIBE?\n\nTRIBE (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.\n\n## System Requirements\n\n- macOS or Linux\n- Node.js 16+\n- Internet connection for downloads\n\n## Support\n\n- Issues: https://github.com/0zen/0zen/issues\n- Documentation: https://github.com/0zen/0zen\n\n## License\n\nMIT\n\n## Overview\n\nThe TRIBE CLI GUI provides both interactive and non-interactive modes for:\n- Listing and viewing tasks\n- Managing projects\n- Monitoring agents\n- Creating new tasks (interactive mode)\n\n## Installation\n\n```bash\ncd sdk/cmd/cli-gui\ngo build -o cli-gui .\n```\n\n## Usage\n\n### Interactive Mode\n\nSimply run the CLI without arguments:\n\n```bash\n./cli-gui\n```\n\nThis will present a menu-driven interface where you can:\n1. List all tasks\n2. List all projects\n3. List all agents\n4. Create a new task\n5. View task details\n\n### Non-Interactive Mode\n\nPerfect for scripting and automation:\n\n```bash\n# List all tasks\n./cli-gui --non-interactive --cmd list-tasks\n\n# List all projects\n./cli-gui --non-interactive --cmd list-projects\n\n# List all agents\n./cli-gui --non-interactive --cmd list-agents\n\n# View task details\n./cli-gui --non-interactive --cmd task-details --task-id task-8e4999d6\n\n# Get JSON output\n./cli-gui --non-interactive --cmd list-tasks --format json\n```\n\n### Environment Variables\n\nConfigure API endpoints using environment variables:\n\n```bash\nexport TASKMASTER_URL=http://localhost:8080\nexport BRIDGE_URL=http://localhost:3456\nexport GITEA_URL=http://localhost:3000\n```\n\n## Command-Line Options\n\n- `--non-interactive`: Run in non-interactive mode\n- `--cmd <command>`: Command to execute (required in non-interactive mode)\n  - `list-tasks`: List all tasks\n  - `list-projects`: List all projects\n  - `list-agents`: List all agents\n  - `task-details`: View details of a specific task\n- `--task-id <id>`: Task ID (required for task-details command)\n- `--format <format>`: Output format (text or json, default: text)\n\n## Examples\n\n### List tasks in JSON format\n```bash\n./cli-gui --non-interactive --cmd list-tasks --format json\n```\n\n### View specific task details\n```bash\n./cli-gui --non-interactive --cmd task-details --task-id task-123456\n```\n\n### Use with custom API endpoints\n```bash\nTASKMASTER_URL=http://api.example.com:8080 ./cli-gui --non-interactive --cmd list-tasks\n```\n\n## Testing with Mock Data\n\nTo test without a running TRIBE cluster, you can use mock endpoints or run against a local instance.\n\n## Development\n\n### Adding New Commands\n\n1. Add the command to the switch statement in `runNonInteractive()`\n2. Implement the corresponding function\n3. Add any necessary API methods to `api.go`\n4. Update this README with the new command\n\n### Building for Different Platforms\n\n```bash\n# Linux\nGOOS=linux GOARCH=amd64 go build -o cli-gui-linux .\n\n# macOS\nGOOS=darwin GOARCH=amd64 go build -o cli-gui-macos .\n\n# Windows\nGOOS=windows GOARCH=amd64 go build -o cli-gui.exe .\n``` ","readmeFilename":"README.md"}