feat(tui): attach by session name, codeman tui <name>

codeman tui <session> takes a list number or a session name. Digits only
stay a number; anything else matches the session name exactly
(case-sensitive, never a prefix, folder or prompt). Names are not unique,
so two live matches refuse and print their numbers; a name only a RECENT
row carries says the session has finished. The target is resolved before
the TTY check, so scripts get these answers without a terminal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kamil KaliszandClaude Opus 5.5 committed 2026-11-17 23:23:56 +01:00
1 parent e99b42c387
commit a36b875363
7 files changed
+228 -48

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
'aicodeman': patch
---
`codeman tui <name>` attaches straight to the live session with that exact name, next to `codeman tui <n>`. Digits only still mean a list number. Two live sessions sharing the name are refused with their numbers, a name only a finished session carries says so, and both refusals print without a terminal.