claudish 14.1.0 → 14.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "14.1.0",
3
+ "version": "14.3.0",
4
4
  "description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -71,10 +71,10 @@
71
71
  "ai"
72
72
  ],
73
73
  "optionalDependencies": {
74
- "@claudish/magmux-darwin-arm64": "14.1.0",
75
- "@claudish/magmux-darwin-x64": "14.1.0",
76
- "@claudish/magmux-linux-arm64": "14.1.0",
77
- "@claudish/magmux-linux-x64": "14.1.0"
74
+ "@claudish/magmux-darwin-arm64": "14.3.0",
75
+ "@claudish/magmux-darwin-x64": "14.3.0",
76
+ "@claudish/magmux-linux-arm64": "14.3.0",
77
+ "@claudish/magmux-linux-x64": "14.3.0"
78
78
  },
79
79
  "author": "Jack Rudenko <i@madappgang.com>",
80
80
  "license": "MIT",
@@ -45,6 +45,43 @@ Does user say "directly" or "in main context"? → YES → Run in main context (
45
45
  Find appropriate agent or create one → Delegate to sub-agent (default)
46
46
  ```
47
47
 
48
+ ### 🏷️ Model Names
49
+
50
+ claudish routing picks the provider from the user's setup: their configured providers,
51
+ subscriptions first, their preferences and manual overrides. Do not choose it yourself.
52
+
53
+ 1. **Pass bare names** (`gpt-6.1-sol`, `minimax-m3`), never `provider@model`, unless the
54
+ user named the provider. A `provider@` on a catalog model is removed by the MCP tools,
55
+ and their answer says so.
56
+ 2. **User named the provider** ("run Kimi on OpenRouter"): pass the spec and list it in
57
+ `user_required_provider` (`team`: an array of those `models`/`judges` entries;
58
+ `create_session` / `run_prompt`: `true`).
59
+ 3. **User named exact models:** pass them as given. No `preflight` or `search_models`
60
+ call is needed to check them: claudish routes and checks them. You still read
61
+ `list_models` once for their efforts (next section).
62
+ 4. **User named only a family or vendor** ("a GPT model", "minimax", "latest Grok"): call
63
+ `list_models` and take the newest model of that family from it, as a bare name.
64
+
65
+ ### 🎚️ Reasoning Effort per Model
66
+
67
+ Before `team`, `create_session` or `run_prompt` on an external model:
68
+
69
+ 1. Call `list_models`. Its last section, **Recommended effort by task type**, has a row per
70
+ model and a column per task type.
71
+ 2. Map YOUR task to one column (planning, implementation, code_review, debugging, …). You
72
+ know the task; claudish does not guess it.
73
+ 3. For each model you run, take its cell. This works the same when the models were chosen
74
+ with the user and when the task already fixed them.
75
+ 4. Pass it: `team(..., models: [...], efforts: {"<model>": "<level>"})` with keys exactly
76
+ as in `models`, or `create_session(..., effort: "<level>")`, or
77
+ `run_prompt(..., effort: "<level>")`.
78
+
79
+ A model with no row, or `-` in your column, gets no entry: it keeps Claude Code's own effort.
80
+
81
+ If you call without any effort while a model has a row, nothing starts: the tool answers
82
+ `needs_effort:` with each model's levels by task type. Pick your column and call again. To keep
83
+ Claude Code's own level on purpose, pass `efforts: {}` (`team`) or `effort: "default"`.
84
+
48
85
  ## 🤖 Agent Selection Guide
49
86
 
50
87
  ### Step 1: Find the Right Agent
@@ -167,14 +204,12 @@ Claudish (Claude-ish) is a proxy tool that:
167
204
 
168
205
  ## Model Routing
169
206
 
170
- | Prefix | Backend | Example |
171
- |--------|---------|---------|
172
- | _(none)_ | OpenRouter | `openai/gpt-5.3` |
173
- | `g/` `gemini/` | Google Gemini | `g/gemini-2.0-flash` |
174
- | `oai/` `openai/` | OpenAI | `oai/gpt-4o` |
175
- | `ollama/` | Ollama | `ollama/llama3.2` |
176
- | `lmstudio/` | LM Studio | `lmstudio/model` |
177
- | `http://...` | Custom | `http://localhost:8000/model` |
207
+ | You write | claudish does | Example |
208
+ |-----------|---------------|---------|
209
+ | bare name | routes through the user's setup (subscription first) | `gpt-6.1-sol` |
210
+ | `provider@model` | that provider only (MCP tools: only with `user_required_provider`) | `or@moonshotai/kimi-k3` |
211
+ | `ollama@` `lmstudio@` | a local model, never stripped | `ollama@llama3.2` |
212
+ | `http://...` | a custom endpoint, never stripped | `http://localhost:8000/model` |
178
213
 
179
214
  **Use Cases:**
180
215
  - Run tasks with different AI models (Grok for speed, GPT-5.3 for reasoning, Gemini for large context)