fix(cli): keep TUI keys, tool yaml, and relay from dropping state - #52
Merged
Conversation
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": 2927832,
"size": "2.8 MiB",
"version": "0.1.11 (built 2026-09-06 03:29:10)",
"target": "aarch64-apple-darwin",
"os": "macos-latest",
"startup_version": {
"n": 21,
"min_ms": 3.32,
"median_ms": 3.5,
"p95_ms": 3.84,
"mean_ms": 3.53
},
"startup_help": {
"n": 21,
"min_ms": 2.89,
"median_ms": 3.02,
"p95_ms": 3.46,
"mean_ms": 3.09
}
},
{
"asset": "anyr-darwin-x86_64",
"kind": "native",
"path": "/Users/runner/work/cli/cli/anyr-darwin-x86_64",
"bytes": 3133760,
"size": "3.0 MiB",
"version": "0.1.11 (built 2026-09-06 03:29:49)",
"target": "x86_64-apple-darwin",
"os": "macos-latest",
"startup_version": {
"n": 21,
"min_ms": 37.13,
"median_ms": 44.63,
"p95_ms": 52.48,
"mean_ms": 45.53
},
"startup_help": {
"n": 21,
"min_ms": 35.48,
"median_ms": 44.3,
"p95_ms": 51.17,
"mean_ms": 45.08
}
},
{
"asset": "anyr-linux-arm64",
"kind": "native",
"path": "/home/runner/work/cli/cli/anyr-linux-arm64",
"bytes": 2888744,
"size": "2.8 MiB",
"version": "0.1.11 (built 2026-09-06 03:28:51)",
"target": "aarch64-unknown-linux-gnu",
"os": "ubuntu-24.04-arm",
"startup_version": {
"n": 21,
"min_ms": 0.78,
"median_ms": 0.86,
"p95_ms": 0.99,
"mean_ms": 0.86
},
"startup_help": {
"n": 21,
"min_ms": 0.82,
"median_ms": 0.87,
"p95_ms": 0.98,
"mean_ms": 0.88
}
},
{
"asset": "anyr-linux-x86_64",
"kind": "native",
"path": "/home/runner/work/cli/cli/anyr-linux-x86_64",
"bytes": 3230720,
"size": "3.1 MiB",
"version": "0.1.11 (built 2026-09-06 03:28:58)",
"target": "x86_64-unknown-linux-gnu",
"os": "ubuntu-latest",
"startup_version": {
"n": 21,
"min_ms": 0.93,
"median_ms": 0.96,
"p95_ms": 0.99,
"mean_ms": 0.96
},
"startup_help": {
"n": 21,
"min_ms": 0.92,
"median_ms": 0.94,
"p95_ms": 1.03,
"mean_ms": 0.95
}
},
{
"asset": "anyr-windows-x86_64.exe",
"kind": "native",
"path": "D:\\a\\cli\\cli\\anyr-windows-x86_64.exe",
"bytes": 2675200,
"size": "2.6 MiB",
"version": "0.1.11 (built 2026-09-06T03:30:11Z)",
"target": "x86_64-pc-windows-msvc",
"os": "windows-latest",
"startup_version": {
"n": 21,
"min_ms": 6.73,
"median_ms": 6.89,
"p95_ms": 7.2,
"mean_ms": 6.93
},
"startup_help": {
"n": 21,
"min_ms": 6.81,
"median_ms": 6.97,
"p95_ms": 7.16,
"mean_ms": 6.98
}
},
{
"asset": "anyr.wasm",
"kind": "wasm",
"path": "/home/runner/work/cli/cli/target/wasm-pkg/anyr_cli_bg.wasm",
"bytes": 180265,
"size": "176.0 KiB",
"version": "wasm",
"target": "wasm32-unknown-unknown",
"os": ""
}
] |
Rebased onto post-split main (#48): the commands.rs hunks now land in their per-domain cmd/ modules (run_whoami→usage, run_keys→keys, run_launch→launch, launcher_uses_palette/persist_tool_command→dispatch, run_config_tui/settings_tab_index/fill_agent_settings→config_tui, run_menu→menu, dispatch cursor/cline/windsurf→stub). Kept tip-of-main UX (#50-#54) where PR #52's #51-era assumptions diverged: - help stays examples-first + the 'help commands' map (commands_help() retained); --help no longer dumps CORE COMMANDS. - the compact HUD stays the default launcher, so the palette-only 'empty agents shows install' assertion was dropped (the HUD always offers Launch claude). - config_reset_row's ToolCommand row keeps main's interactive prompt rather than PR #52's reset-to-default (newer UX); the should_persist_command guard is still applied so bare builtins are no longer written to config. Carried forward the rest of PR #52: skip_confirm/--ok alias, confirmation skips in keys, claude_fable display in whoami, settings tab via ANYR_TUI_TAB, ToolCommand Install→Mapping, yolo via tool.extra_flag, should_persist_command, plus the parse/relay/spawn/tui fixes and tests.
duyetbot
force-pushed
the
fix/cli-review-correctness
branch
from
September 6, 2026 03:26
2be8da7 to
fa124c7
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.
Summary
--installcan see the new binary.tools:YAML no longer wipes gateway discovery or/v1;extra(includingyolo) round-trips and launch honors it.ANTHROPIC_API_KEYso a parent-shell key cannot win.Checklist