Skip to content

Commit 41a4dfb

Browse files
committed
chore: remove md.* and md.i.* bin aliases, keep only md and mdflow
1 parent 2f4c80f commit 41a4dfb

2 files changed

Lines changed: 41 additions & 13 deletions

File tree

CLAUDE.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,46 @@ task.opencode.md # Print mode: opencode run "..."
156156
task.i.opencode.md # Interactive: opencode "..."
157157
```
158158

159+
### Supported Models by CLI (December 2025)
160+
161+
**IMPORTANT:** Use these exact model names. Do not guess or use deprecated model names.
162+
163+
#### Claude Code (`claude`)
164+
| Type | Values |
165+
|------|--------|
166+
| **Aliases** | `sonnet`, `opus`, `haiku`, `opusplan` |
167+
| **Full names** | `claude-sonnet-4-5-20250929`, `claude-opus-4-5-20251101`, `claude-haiku-4-5-20251001`, `claude-opus-4-1-20250805` |
168+
169+
Environment variables for alias control:
170+
- `ANTHROPIC_DEFAULT_SONNET_MODEL` - Override sonnet alias
171+
- `ANTHROPIC_DEFAULT_OPUS_MODEL` - Override opus alias
172+
- `ANTHROPIC_DEFAULT_HAIKU_MODEL` - Override haiku alias
173+
174+
#### Codex CLI (`codex`)
175+
| Type | Values |
176+
|------|--------|
177+
| **Default** | `codex-mini-latest` (o4-mini optimized for CLI) |
178+
| **Reasoning models** | `o3`, `o4-mini` |
179+
| **GPT models** | `gpt-4.1` |
180+
181+
Codex works with any OpenAI model. Example: `-m o3` or `-c model="o3"`
182+
183+
#### Gemini CLI (`gemini`)
184+
| Type | Values |
185+
|------|--------|
186+
| **Default (free)** | `gemini-2.5-pro` |
187+
| **Preview** | `gemini-3-pro` (requires subscription or paid API key) |
188+
189+
To enable Gemini 3 Pro: run `/settings`, toggle "Preview features" to true.
190+
191+
#### Copilot CLI (`copilot`)
192+
Explicit `--model` choices (from `copilot --help`):
193+
| Category | Models |
194+
|----------|--------|
195+
| **Claude** | `claude-sonnet-4.5`, `claude-haiku-4.5`, `claude-opus-4.5`, `claude-sonnet-4` |
196+
| **GPT** | `gpt-5.1-codex-max`, `gpt-5.1-codex`, `gpt-5.2`, `gpt-5.1`, `gpt-5`, `gpt-5.1-codex-mini`, `gpt-5-mini`, `gpt-4.1` |
197+
| **Gemini** | `gemini-3-pro-preview` |
198+
159199
### Global Config (`~/.mdflow/config.yaml`)
160200

161201
Set default frontmatter per command:

package.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,7 @@
99
},
1010
"bin": {
1111
"mdflow": "./src/index.ts",
12-
"md": "./src/index.ts",
13-
"md.claude": "./src/index.ts",
14-
"md.codex": "./src/index.ts",
15-
"md.gemini": "./src/index.ts",
16-
"md.copilot": "./src/index.ts",
17-
"md.droid": "./src/index.ts",
18-
"md.opencode": "./src/index.ts",
19-
"md.i.claude": "./src/index.ts",
20-
"md.i.codex": "./src/index.ts",
21-
"md.i.gemini": "./src/index.ts",
22-
"md.i.copilot": "./src/index.ts",
23-
"md.i.droid": "./src/index.ts",
24-
"md.i.opencode": "./src/index.ts"
12+
"md": "./src/index.ts"
2513
},
2614
"scripts": {
2715
"test": "bun test --bail=1",

0 commit comments

Comments
 (0)