claude-profile: bump opus to 4.8, add fable driver
- driver_model_id(): opus -> claude-opus-4-8, opus-1m -> claude-opus-4-8[1m] - driver_model_id(): add fable -> claude-fable-5 - error message updated: Valid: haiku sonnet opus opus-1m fable - spec: driver->model table updated (opus 4.8, fable added); frontmatter driver enum includes fable; note that opus-1m retained for [1m] convention - tests: add Test 13 (deep-fable dryrun asserting claude-fable-5); add Test 14 (unknown driver exits 1) — 47 assertions total Note: deep-fable mode file lands in the next commit
This commit is contained in:
@@ -21,7 +21,7 @@ claude-profile [OPTIONS] [PROFILE] [-- CLAUDE_ARGS...]
|
||||
|
||||
| Flag | Description |
|
||||
|------|-------------|
|
||||
| `--mode <NAME>` | Skip the mode picker and use the named mode (`chat`, `quick`, `deep`, `hybrid`, `orch`). |
|
||||
| `--mode <NAME>` | Skip the mode picker and use the named mode (`chat`, `quick`, `deep`, `deep-fable`, `hybrid`, `orch`). |
|
||||
| `--preset <NAME>` | Use a named preset from the active profile's `presets.yaml`. Sets profile, mode, and any preset-defined defaults in one shot. |
|
||||
| `--project <NAME>` | Pre-select a project (skips the project question for modes that ask it). |
|
||||
| `--dryrun`, `-n` | Print all resolved values and the command that would be executed; do not launch `claude`, do not write `active-mode.env` or `last-mode`. |
|
||||
@@ -64,8 +64,9 @@ The model ID is determined by combining the mode's `driver` field with the profi
|
||||
|---|---|
|
||||
| `haiku` | `claude-haiku-4-5-20251001` |
|
||||
| `sonnet` | `claude-sonnet-4-6` |
|
||||
| `opus` | `claude-opus-4-6` |
|
||||
| `opus-1m` | `claude-opus-4-6[1m]` |
|
||||
| `opus` | `claude-opus-4-8` |
|
||||
| `opus-1m` | `claude-opus-4-8[1m]` (Opus 4.8 has 1M context natively; `opus-1m` is retained for the `[1m]` launch convention) |
|
||||
| `fable` | `claude-fable-5` |
|
||||
|
||||
2. If `$CLAUDE_CONFIG_DIR/provider.env` exists, parse it. If it contains a `MODEL_ID` entry, use that instead of the hardcoded default.
|
||||
|
||||
@@ -95,7 +96,7 @@ YAML frontmatter (machine-readable) + markdown body (read by the driver model).
|
||||
```yaml
|
||||
name: <short name, matches filename>
|
||||
tag: <status-line tag, ≤8 chars>
|
||||
driver: <haiku|sonnet|opus|opus-1m>
|
||||
driver: <haiku|sonnet|opus|opus-1m|fable>
|
||||
async_ok: <yes|no>
|
||||
autoloop: <none|"/loop 2m /orchestrate"|other slash command>
|
||||
plan_mode_auto: <yes|no>
|
||||
|
||||
Reference in New Issue
Block a user