@aiiware/aii 0.11.8 → 0.11.10

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 (3) hide show
  1. package/README.md +26 -22
  2. package/bin/aii +617 -566
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -227,7 +227,7 @@ aii loop --verify "npm test" --duration 5m
227
227
 
228
228
  ## LLM Providers
229
229
 
230
- Aii supports multiple LLM providers. Switch anytime with `/model` or `/provider`:
230
+ Aii supports multiple LLM providers. The provider is auto-detected from the model name:
231
231
 
232
232
  | Provider | Models | Setup |
233
233
  | --- | --- | --- |
@@ -235,17 +235,22 @@ Aii supports multiple LLM providers. Switch anytime with `/model` or `/provider`
235
235
  | **OpenAI** | GPT-4o, GPT-4, o1, o3 | API key |
236
236
  | **Google** | Gemini Pro, Flash | API key |
237
237
  | **DeepSeek** | DeepSeek Chat, Coder | API key |
238
+ | **Moonshot** | Kimi K2 | API key |
239
+ | **Zai** | GLM-4 | API key |
238
240
  | **Ollama** | Llama, Mistral, and more | Local, no API key |
239
241
  | **OpenRouter** | 300+ models via single API key | API key |
240
242
 
241
243
  ```bash
242
- # Switch provider and model mid-session
243
- /model claude-sonnet-4
244
+ # Switch model mid-session
245
+ /model claude-sonnet-4-6
244
246
  /model ollama/llama3.1:8b
245
- /provider openrouter
247
+
248
+ # Use provider:model format for one-shot commands
249
+ aii "explain this code" --model deepseek:deepseek-chat
250
+ aii "translate hello" --model ollama:gpt-oss:20b
246
251
  ```
247
252
 
248
- The provider is auto-detected from model names (e.g., `gpt-4o` routes to OpenAI).
253
+ The provider is auto-detected from model names (e.g., `gpt-4o` routes to OpenAI, `deepseek-chat` routes to DeepSeek).
249
254
 
250
255
  ## Context Window Management (v0.3)
251
256
 
@@ -332,7 +337,7 @@ Use $ARGUMENTS for user input.
332
337
  aii config show # Show current configuration
333
338
  aii config validate # Validate configuration
334
339
  aii config set <key> <value> # Set a configuration value
335
- aii config model <model> # Change LLM model
340
+ aii config model <model> # Change LLM model (supports provider:model format)
336
341
  aii config provider <provider> # Change LLM provider
337
342
  ```
338
343
 
@@ -343,7 +348,7 @@ Configuration is stored in `~/.aii/`:
343
348
  ```yaml
344
349
  llm:
345
350
  provider: anthropic
346
- model: claude-sonnet-4
351
+ model: claude-sonnet-4-6
347
352
  temperature: 0.7
348
353
 
349
354
  api:
@@ -362,21 +367,20 @@ Or use environment variables: `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `DEEPSEEK_A
362
367
 
363
368
  ## CLI Options
364
369
 
365
- | Option | Description |
366
- |----------------------------|----------------------------------|
367
- | `--auto` | Auto-approve all tool executions |
368
- | `--model <model>` | Override LLM model |
369
- | `--provider <provider>` | Override LLM provider |
370
- | `--host <host:port>` | API server host |
371
- | `-c, --continue-chat <id>` | Continue a previous session |
372
- | `-n, --new-chat` | Force a new session |
373
- | `--offline` | Disable web and MCP tools |
374
- | `--clean` | Clean output mode |
375
- | `--standard` | Standard output mode (default) |
376
- | `--thinking` | Show full reasoning |
377
- | `--no-streaming` | Disable streaming output |
378
- | `-q, --quiet` | Minimal output |
379
- | `-y, --yes` | Auto-confirm shell commands |
370
+ | Option | Description |
371
+ |----------------------------|-------------------------------------------------------|
372
+ | `--auto` | Auto-approve all tool executions |
373
+ | `--model <model>` | Override LLM model (supports `provider:model` format) |
374
+ | `--host <host:port>` | API server host |
375
+ | `-c, --continue-chat <id>` | Continue a previous session |
376
+ | `-n, --new-chat` | Force a new session |
377
+ | `--offline` | Disable web and MCP tools |
378
+ | `--clean` | Clean output mode |
379
+ | `--standard` | Standard output mode (default) |
380
+ | `--thinking` | Show full reasoning |
381
+ | `--no-streaming` | Disable streaming output |
382
+ | `-q, --quiet` | Minimal output |
383
+ | `-y, --yes` | Auto-confirm shell commands |
380
384
 
381
385
  ## System Commands
382
386