zarz 0.3.5-alpha → 0.5.0-alpha

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.
Files changed (2) hide show
  1. package/README.md +33 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -93,13 +93,14 @@ zarz
93
93
  # Quick one-shot question
94
94
  zarz --message "fix this bug"
95
95
 
96
- # Use specific model
97
- zarz --model claude-sonnet-4-5-20250929
98
-
99
- # Manage configuration
100
- zarz config --show # Show current config
101
- zarz config --reset # Reconfigure API keys
102
- ```
96
+ # Use specific model
97
+ zarz --model claude-sonnet-4-5-20250929
98
+
99
+ # Manage configuration
100
+ zarz config --show # Show current config
101
+ zarz config --reset # Reconfigure API keys
102
+ zarz config --login-chatgpt # Sign in via ChatGPT OAuth to fetch an OpenAI key
103
+ ```
103
104
 
104
105
  ## Available Commands
105
106
 
@@ -113,13 +114,14 @@ Once inside the interactive chat:
113
114
  | `/undo` | Clear pending changes |
114
115
  | `/edit <file>` | Load a file for editing |
115
116
  | `/search <symbol>` | Search for a symbol in codebase |
116
- | `/context <query>` | Find relevant files for a query |
117
- | `/files` | List currently loaded files |
118
- | `/model <name>` | Switch to a different AI model |
119
- | `/mcp` | Show MCP servers and available tools |
120
- | `/resume` | Resume a previous chat session |
121
- | `/clear` | Clear conversation history |
122
- | `/exit` | Exit the session |
117
+ | `/context <query>` | Find relevant files for a query |
118
+ | `/files` | List currently loaded files |
119
+ | `/model <name>` | Switch to a different AI model |
120
+ | `/login` | Open auth wizard (API keys or ChatGPT OAuth) |
121
+ | `/mcp` | Show MCP servers and available tools |
122
+ | `/resume` | Resume a previous chat session |
123
+ | `/clear` | Clear conversation history |
124
+ | `/exit` | Exit the session |
123
125
 
124
126
  ## Supported AI Models
125
127
 
@@ -127,17 +129,26 @@ Once inside the interactive chat:
127
129
  Best for coding tasks and autonomous agents:
128
130
  - `claude-sonnet-4-5-20250929` (Latest, most capable)
129
131
  - `claude-haiku-4-5` (Fast, cost-effective)
130
- - `claude-opus-4-5` (Most powerful)
131
-
132
- ### OpenAI GPT
133
- Multimodal capabilities with vision:
134
- - `gpt-5-codex` (Best for coding)
135
- - `gpt-4o` (Multimodal)
136
- - `gpt-4-turbo`
132
+ - `claude-opus-4-1` (Most powerful)
133
+
134
+ ### OpenAI GPT (ChatGPT OAuth)
135
+ Run `zarz config --login-chatgpt` to fetch an OpenAI key, then choose any of these GPT‑5 variants optimized for OAuth access:
136
+ - `gpt-5-codex` Default coding agent
137
+ - `gpt-5-codex-low` – Lower reasoning effort
138
+ - `gpt-5-codex-medium` – Balanced reasoning depth
139
+ - `gpt-5-codex-high` – High reasoning effort with detailed summaries
140
+ - `gpt-5-minimal` – Minimal reasoning, terse responses
141
+ - `gpt-5-low` – Low-effort general GPT-5
142
+ - `gpt-5-medium` – Balanced GPT-5 experience
143
+ - `gpt-5-high` – High reasoning-effort GPT-5
144
+ - `gpt-5-mini` – Lightweight GPT-5 for quick tasks
145
+ - `gpt-5-nano` – Fastest GPT-5 tier with minimal reasoning
146
+
147
+ When you run `/model gpt-5-*`, ZarzCLI now prompts you to pick a **reasoning effort** (Auto, Minimal, Low, Medium, High). The choice is saved to `~/.zarz/config.toml` and applied to every Responses API call along with `text.verbosity = "medium"` and `include = ["reasoning.encrypted_content"]`, matching the Codex OAuth defaults.
137
148
 
138
149
  ### GLM (Z.AI)
139
150
  Cost-effective coding with 200K context window:
140
- - `glm-coder-4-lite` ($3/month subscription)
151
+ - `glm-4.6` ($3/month subscription)
141
152
  - 200,000 token context window
142
153
  - Specialized for coding tasks
143
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zarz",
3
- "version": "0.3.5-alpha",
3
+ "version": "0.5.0-alpha",
4
4
  "description": "Fast AI coding assistant for terminal built with Rust",
5
5
  "main": "bin/zarz.js",
6
6
  "bin": {