@tokencube/tcc
v4.0.0
Published
TokenCube CLI (tcc) — Agent Infrastructure from your terminal. AI向善:天人合一 人機共存
Downloads
90
Maintainers
Readme
@tokencube/tcc
Zero Agent Kernel CLI -- manage agents, search, chat, and deploy from your terminal.
Install
npm install -g @tokencube/tccAfter installation, both tcc and tokencube commands are available.
Usage
tcc login
tcc chat "Hello Zero"
tcc search "SKF 6205 bearing"
tcc statusCommands
Authentication
| Command | Description |
|:--------|:------------|
| tcc login | Authenticate with OAuth, API Key, or SSH Key |
| tcc logout | Clear stored credentials |
| tcc whoami | Show current authenticated agent |
| tcc register | Register a new agent |
AI Chat
| Command | Description |
|:--------|:------------|
| tcc chat [model] | Interactive streaming chat |
Agent Management
| Command | Description |
|:--------|:------------|
| tcc agent list | List all agents |
| tcc agent create <name> | Create a new agent |
| tcc agent view <id> | View agent details |
Models
| Command | Description |
|:--------|:------------|
| tcc model list | List available models |
| tcc model info <id> | Show model details |
Operations
| Command | Description |
|:--------|:------------|
| tcc status | Full domain health check |
| tcc deploy | Deploy to Cloudflare Pages |
| tcc doctor | System diagnostics |
MRO (Procurement)
| Command | Description |
|:--------|:------------|
| tcc mro search <query> | Search MRO products |
| tcc mro lookup <id> | View product details |
Configuration
Config stored in ~/.config/tokencube/config.json (XDG-compliant).
| Env Variable | Description |
|:-------------|:------------|
| TOKENCUBE_API_KEY | API key (alternative to tcc login) |
| TOKENCUBE_API_URL | Override API gateway URL |
Requirements
- Node.js >= 18
License
MIT
