You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d41bd7c
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(console): AgentDetail's 15 buttons take the vocabulary, and the file is done as far as the guard can see (#366)
126 → 69 was the previous commit; this takes the console to **54**. `AgentDetail`
is the creator's agent editor and every one of its 15 hand-authored controls was
ordinary — Save capabilities, Save surfaces, Save settings, Save All Settings,
Export JSON, Save Version, Delete Agent, Rollback, Plan Agent, Approve and Create,
Revise prompt, and the chat Send.
Same rule as the sweep before it: the rendered type step is preserved (`text-sm` →
`size="lg"`), padding and radius collapse — `rounded-xl` and `rounded-md` both become
`rounded-lg`. Delete Agent moves from a filled `bg-danger` block to `variant="danger"`,
which is the bordered treatment every other destructive control in the console now uses.
The four `<button>` elements left in the file draw no box at all and are correctly
outside this guard: the tab bar's `border-b-2` arms, two text-only `Remove` links, and
two `← Back` links. So the pin can be read as "this file is finished", which is not
true of the three that hold the rest of the count (`BoardTab` 18, `InstanceDetail` 11,
`RunDetail` 7 — mostly the classes §3 excludes on purpose).
Verified: typecheck 11/11 · console unit tests 690 · biome --error-on-warnings ·
design-token + file-size gates · **e2e 355 passed** (chromium + webkit, including the
24px target-size guard, which is what would catch a size step that lost its floor).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments