feat(cli): add launch selector TUI for start command (PRD 0051)
test / unit (pull_request) Successful in 36s
test / integration (pull_request) Successful in 41s
test / unit (push) Successful in 35s
test / integration (push) Successful in 42s

- Add bot_bottle/cli/tui.py: curses filter-select picker that opens
  /dev/tty directly so it works with redirected stdout/stdin
- Make `name` positional optional (nargs="?") in cmd_start; show agent
  picker when absent
- Show backend picker when no --backend flag and BOT_BOTTLE_BACKEND is
  unset; skip when either is explicit or the env var is present
- Add tests/unit/test_cli_tui.py covering _filter_items logic and
  short-circuit paths (empty list, unavailable tty)
- Add tests/unit/test_cli_start_selector.py covering all four dispatch
  combinations (both explicit, agent-absent, backend-absent, both-absent)
  and cancel semantics
- Activate PRD 0051
This commit was merged in pull request #186.
This commit is contained in:
2026-06-04 01:54:53 +00:00
parent 832808ff9a
commit 605a70408e
5 changed files with 441 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# PRD 0051: Launch selector
- **Status:** Draft
- **Status:** Active
- **Author:** claude
- **Created:** 2026-06-04
- **Issue:** #185