TUI: pick an agent, then change that agent’s model/account/key - #42
Merged
Conversation
duyet
marked this pull request as ready for review
September 3, 2026 06:10
Contributor
anyr size and startupStartup is wall time for a cold Size budget:
Budget check: ok raw timings[
{
"asset": "anyr-darwin-arm64",
"kind": "native",
"path": "/Users/runner/work/cli/cli/anyr-darwin-arm64",
"bytes": 2883704,
"size": "2.8 MiB",
"version": "0.1.11 (built 2026-09-03 08:38:26)",
"target": "aarch64-apple-darwin",
"os": "macos-latest",
"startup_version": {
"n": 21,
"min_ms": 4.38,
"median_ms": 5.49,
"p95_ms": 8.35,
"mean_ms": 6.01
},
"startup_help": {
"n": 21,
"min_ms": 5.14,
"median_ms": 9.76,
"p95_ms": 18.73,
"mean_ms": 10.55
}
},
{
"asset": "anyr-darwin-x86_64",
"kind": "native",
"path": "/Users/runner/work/cli/cli/anyr-darwin-x86_64",
"bytes": 3081968,
"size": "2.9 MiB",
"version": "0.1.11 (built 2026-09-03 08:38:04)",
"target": "x86_64-apple-darwin",
"os": "macos-latest",
"startup_version": {
"n": 21,
"min_ms": 34.44,
"median_ms": 42.65,
"p95_ms": 58.46,
"mean_ms": 44.43
},
"startup_help": {
"n": 21,
"min_ms": 31.26,
"median_ms": 39.27,
"p95_ms": 50.96,
"mean_ms": 41.38
}
},
{
"asset": "anyr-linux-arm64",
"kind": "native",
"path": "/home/runner/work/cli/cli/anyr-linux-arm64",
"bytes": 2823208,
"size": "2.7 MiB",
"version": "0.1.11 (built 2026-09-03 08:37:33)",
"target": "aarch64-unknown-linux-gnu",
"os": "ubuntu-24.04-arm",
"startup_version": {
"n": 21,
"min_ms": 0.68,
"median_ms": 0.76,
"p95_ms": 0.92,
"mean_ms": 0.76
},
"startup_help": {
"n": 21,
"min_ms": 0.72,
"median_ms": 0.79,
"p95_ms": 0.82,
"mean_ms": 0.78
}
},
{
"asset": "anyr-linux-x86_64",
"kind": "native",
"path": "/home/runner/work/cli/cli/anyr-linux-x86_64",
"bytes": 3180064,
"size": "3.0 MiB",
"version": "0.1.11 (built 2026-09-03 08:37:46)",
"target": "x86_64-unknown-linux-gnu",
"os": "ubuntu-latest",
"startup_version": {
"n": 21,
"min_ms": 0.93,
"median_ms": 0.98,
"p95_ms": 1.04,
"mean_ms": 0.98
},
"startup_help": {
"n": 21,
"min_ms": 0.98,
"median_ms": 0.99,
"p95_ms": 1.06,
"mean_ms": 1.0
}
},
{
"asset": "anyr-windows-x86_64.exe",
"kind": "native",
"path": "D:\\a\\cli\\cli\\anyr-windows-x86_64.exe",
"bytes": 2635776,
"size": "2.5 MiB",
"version": "0.1.11 (built 2026-09-03T08:38:59Z)",
"target": "x86_64-pc-windows-msvc",
"os": "windows-latest",
"startup_version": {
"n": 21,
"min_ms": 8.58,
"median_ms": 8.96,
"p95_ms": 11.03,
"mean_ms": 9.24
},
"startup_help": {
"n": 21,
"min_ms": 8.71,
"median_ms": 8.93,
"p95_ms": 9.82,
"mean_ms": 9.06
}
},
{
"asset": "anyr.wasm",
"kind": "wasm",
"path": "/home/runner/work/cli/cli/target/wasm-pkg/anyr_cli_bg.wasm",
"bytes": 180179,
"size": "176.0 KiB",
"version": "wasm",
"target": "wasm32-unknown-unknown",
"os": ""
}
] |
Home TUI keeps LAUNCH visible while model/account/key apply to the highlighted agent. Each agent row shows its bound model · account · key. Compact 3-row AR mark in the palette chrome. Per-agent bindings are a small additive config map so switching claude’s model does not change grok’s. Closes #36 Co-authored-by: duyet <duyet@users.noreply.github.com>
Dump frames and PTY captures showing LAUNCH plus CONFIGURE · agent on the same screen, per-agent model · account · key, and focus retarget from claude to codex without hiding the launch list. Co-authored-by: duyet <duyet@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/tui-agent-settings-c8c7
branch
from
September 3, 2026 08:35
9d693ca to
eabf1b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #36.
Rebased onto
mainafter #39 (97d3370). Persistence stays on #39’s top-levelagents.<id>.{default_model,profile,api_key}map (not a second nestedprofiles.*.agentsschema). This PR still only changes home-TUI chrome: pick an agent, then edit that agent’s settings inline.The home TUI now treats agent selection as the hub for settings. Highlight claude, grok, etc.;
model…/account…/key…apply to that agent on the same screen. Switching claude’s model does not change grok’s.What changed
CONFIGURE · claude). They do not replace or overlay the launch list.model · account · keyso the mapping is obvious.anyrouter/automost-used dump is left to TUI model picker: select anyrouter/auto, do not dump most-used models #37.--helpmark is unchanged.--modelstill wins (anyr claude --model "stealth/ox-alpha[1m]" --yolounchanged).How to try it
Verification
Driven with verify-anyr (isolated
ANYROUTER_HOME, no live spawn):menu --dump-tui: compact mark,LAUNCH+CONFIGURE · CLAUDEtogether, claudestealth/ox-alphavs codexauto, configure rowsfor claude.claude --dry-run:ANTHROPIC_MODEL=stealth/ox-alpha[1m].cargo test --locked --lib --test cli: passed after rebase (including #39 per-agent launch tests).Checklist