@paean-ai/zero-cli 0.2.0

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 ADDED
@@ -0,0 +1,73 @@
1
+ # Zero CLI
2
+
3
+ AI coding agent for the terminal. Multi-model support with Claude, Gemini, GLM, Qwen, DeepSeek and more.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g @paean-ai/zero-cli
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```bash
14
+ # Login to Paean AI
15
+ zero login
16
+
17
+ # Start a session
18
+ zero
19
+
20
+ # Or run a one-shot prompt
21
+ zero -p "explain this codebase"
22
+ ```
23
+
24
+ ## Model Selection
25
+
26
+ Zero maps three capability tiers — **opus** (flagship), **sonnet** (standard), and **haiku** (fast) — to any supported model. Configure via environment variables:
27
+
28
+ ```bash
29
+ # Use GLM-5 as the flagship model
30
+ export ANTHROPIC_DEFAULT_OPUS_MODEL=glm-5
31
+
32
+ # Use Gemini 3 Flash as the standard model
33
+ export ANTHROPIC_DEFAULT_SONNET_MODEL=gemini-3-flash-preview
34
+
35
+ # Use Gemini 3.1 Flash Lite as the fast model
36
+ export ANTHROPIC_DEFAULT_HAIKU_MODEL=gemini-3.1-flash-lite-preview
37
+ ```
38
+
39
+ Or switch models in-session with `/model`.
40
+
41
+ ### Supported Models
42
+
43
+ | Model | Provider | Tier |
44
+ |-------|----------|------|
45
+ | `claude-sonnet-4-6` | Claude (Vertex AI) | Standard |
46
+ | `claude-opus-4-5` | Claude (Vertex AI) | Flagship |
47
+ | `gemini-3-flash-preview` | Google AI Studio | Standard |
48
+ | `gemini-3.1-flash-lite-preview` | Google AI Studio | Fast |
49
+ | `glm-5` | ZhipuAI (DashScope) | Flagship |
50
+ | `glm-4.7` | ZhipuAI (DashScope) | Flagship |
51
+ | `glm-4.5-air` | ZhipuAI (DashScope) | Fast |
52
+ | `qwen3-max` | Alibaba (DashScope) | Flagship |
53
+ | `qwen-plus` | Alibaba (DashScope) | Standard |
54
+ | `deepseek-v3.2` | DeepSeek (DashScope) | Standard |
55
+ | `deepseek-r1` | DeepSeek (DashScope) | Flagship |
56
+ | `kimi-k2.5` | Moonshot (DashScope) | Standard |
57
+
58
+ ## Configuration
59
+
60
+ Zero stores config in `~/.zero/`. Key environment variables:
61
+
62
+ | Variable | Description |
63
+ |----------|-------------|
64
+ | `ANTHROPIC_API_KEY` | API key (Paean AI or Anthropic) |
65
+ | `ANTHROPIC_BASE_URL` | API base URL (defaults to Paean AI) |
66
+ | `ANTHROPIC_MODEL` | Override the default model |
67
+ | `ANTHROPIC_DEFAULT_OPUS_MODEL` | Model for the "opus" tier |
68
+ | `ANTHROPIC_DEFAULT_SONNET_MODEL` | Model for the "sonnet" tier |
69
+ | `ANTHROPIC_DEFAULT_HAIKU_MODEL` | Model for the "haiku" tier |
70
+
71
+ ## License
72
+
73
+ MIT