Remember the terminal or web console choice, refresh the launcher model menus (v3.2.2)

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-30 20:08:23 -08:00
1 parent f1d087ba47
commit ccf82c4eb7
60 files changed
+477 -317

No files matched your search

@@ -33,9 +33,9 @@ If `devin` is on PATH (`command -v devin` in bash, `Get-Command devin` in PowerS
devin models list
```
Show its raw output to the maintainer before any interpretation — the format is not a stable contract. The output is long (hundreds of ids across about twenty families), so save it to a scratch file outside the repo, say where, and show the family headings in full. From it, take the explicit ids at Low, Medium and High effort only, plus `adaptive`. Skip every id the Validation rules forbid (`xhigh`, `max`, `fast`, `priority` endings), and also skip `none`-effort ids, ids with no effort suffix (such as `swe-1-7`, which is a Max model), and `fusion-*` combinations.
Show its raw output to the maintainer before any interpretation — the format is not a stable contract. The output is long (hundreds of ids across about twenty families), so save it to a scratch file outside the repo, say where, and show the family headings in full. From it, take the explicit ids at Low, Medium and High effort only, plus `adaptive`. Skip every id the Validation rules forbid (`xhigh`, `max`, `fast`, `priority` endings), and also skip `none`-effort ids, ids with no effort suffix (such as `swe-1-7`, which is a Max model), and `fusion-*` combinations. A `fusion-*` id the file already ships still counts as offered while the output lists it verbatim, so it is never reported **gone**.
The 30-entry cap means the file can never hold every family at three efforts. Propose additions by family — newest and most-used first — and say how many entries that leaves.
The 30-entry cap means the file can never hold every family at three efforts. List every family the file lacks, and propose an addition only when independent evidence supports it: third-party coding-agent benchmarks and real user reports, not the vendor's launch claims or the release date. Name the deciding sources. A model too new for that evidence waits for a later run. At the cap, propose what to drop to make room (superseded or weaker-evidenced entries, Low efforts first), and say how many entries that leaves. Never answer "no change" only because the list is full.
If `devin` is not on PATH or the command fails, say so with the error, and switch to **guided manual edits** for Devin: ask the maintainer which ids to add, remove or relabel, one at a time, and carry those into Step 7 as the proposed list.
@@ -51,7 +51,7 @@ Look up Codex's current model documentation (locate it on each run). Propose `co
### Step 4c: Check the strengths mapping
`models.json` also has a top-level `strengths` object: for an agent id, the loop's `thrifty`, `balanced` and `best` words, each `{ "model", "effort"? }`. After Steps 3 to 4b settled the refreshed lists, check that every `strengths` row still names a `model` that is in that agent's refreshed list (an `effort` is kept only for an agent that takes one, and is `low`, `medium` or `high`). For a row whose model is **gone**, propose a replacement from the same family, one step lighter or stronger as the word implies (Thrifty lighter, Best stronger), and show it in Step 7's table as a `strengths.<agent>.<word>` change. Never add a mapping for an agent that has none: only agents already under `strengths` are checked.
`models.json` also has a top-level `strengths` object: for an agent id, the loop's `thrifty`, `balanced` and `best` words, each `{ "model", "effort"? }`. After Steps 3 to 4b settled the refreshed lists, check that every `strengths` row still names a `model` that is in that agent's refreshed list (an `effort` is kept only for an agent that takes one, and is `low`, `medium` or `high`). For a row whose model is **gone**, propose a replacement from the same family, one step lighter or stronger as the word implies (Thrifty lighter, Best stronger), and show it in Step 7's table as a `strengths.<agent>.<word>` change. A model that is still offered can also be replaced, but only when the same evidence as in Step 3 shows the candidate does that word's job better at a cost it can bear. Show both prices. Never add a mapping for an agent that has none: only agents already under `strengths` are checked.
### Step 5: Re-check the agent list against vendor docs
@@ -76,10 +76,12 @@ For `models.json`, compare the discovered list with the current one by `id` and
| --- | --- | --- | --- | --- |
| added | `new-id` | — | New label | `devin models list` |
| gone | `old-id` | Old label | — | not in `devin models list` |
| dropped | `kept-id` | Old label | — | still offered; removed to make room (reason) |
| relabeled | `same-id` | Old label | New label | Claude Code docs: <page> |
- **added:** offered by the CLI, not in the file.
- **gone:** in the file, no longer offered.
- **dropped:** in the file and still offered, removed to stay within the 30-entry cap (Step 3).
- **relabeled:** same `id`, a better or changed label. Propose a label in the file's existing style: the description only (see Step 2), never repeating the id.
For `agents.json`, show one table with one row per changed field:
@@ -90,7 +92,7 @@ For `agents.json`, show one table with one row per changed field:
| added | `cursor` | new template | | template entry | <vendor docs page> |
| gone | `gemini` | whole entry | template | | skills no longer confirmed |
Summarize unchanged entries as a count under each table ("19 Devin entries unchanged", "3 built-ins unchanged") instead of listing them. If approving every **added** Devin row would take the list past 30 entries, say so above the table and by how many. Call out any likely rename before approval (see the rename warning under Validation rules). If all tables are empty, say the files are current and stop.
Summarize unchanged entries as a count under each table ("19 Devin entries unchanged", "3 built-ins unchanged") instead of listing them. If the approved **added** and **dropped** Devin rows together would take the list past 30 entries, say so above the table and by how many, and write nothing until the total fits. Call out any likely rename before approval (see the rename warning under Validation rules). If all tables are empty, say the files are current and stop.
### Step 8 — Approve each change
@@ -101,7 +103,7 @@ Ask about each row, one at a time: **yes**, **no**, or **edit** (they type the v
Apply only the approved rows:
- Keep `_note` in `models.json` and `schema` in `agents.json` verbatim.
- Keep the existing order. Remove a **gone** entry where it stands, change a **changed** or **relabeled** value in place, and append each **added** entry at the end of its list.
- Keep each list in logical order: grouped by vendor family, lighter models before stronger ones, Medium before High, with Claude's `default` first. Remove a **gone** or **dropped** entry where it stands, change a **changed** or **relabeled** value in place, and insert each **added** entry where it belongs in that order, not at the end.
- Write two-space-indented JSON with a trailing newline, matching each file's current formatting.
### Step 10 — Validate