Commit 3970185
TTY fallback for bt setup and agent detection (#109)
Self-contained infra changes that the wizard depends on.
- `tty_term()` function in `src/ui/select.rs` (`/dev/tty` fallback)
- `fuzzy_select` using `interact_on(&term)`
- `detect_runnable_agents()` (PATH-only check)
- `detect_agents` simplification (drop config-dir heuristics)
- `resolve_unambiguous_instrument_agent`
- `/dev/tty` stdin fallback in `run_agent_invocation` for interactive
mode
Cursor skill path detection, global quiet mode are fixed in the [3rd
PR](#110).
PATH only detection of the agent seem ok, I don't think people would
want to install skills/mcp without having the agent.
Part 2 of #94
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>1 parent 9743cd6 commit 3970185
6 files changed
Lines changed: 241 additions & 162 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
1093 | 1094 | | |
1094 | 1095 | | |
1095 | 1096 | | |
1096 | | - | |
| 1097 | + | |
1097 | 1098 | | |
1098 | 1099 | | |
1099 | 1100 | | |
1100 | 1101 | | |
1101 | 1102 | | |
1102 | | - | |
| 1103 | + | |
1103 | 1104 | | |
1104 | 1105 | | |
1105 | 1106 | | |
1106 | 1107 | | |
1107 | | - | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1108 | 1118 | | |
1109 | | - | |
| 1119 | + | |
1110 | 1120 | | |
1111 | 1121 | | |
1112 | | - | |
| 1122 | + | |
1113 | 1123 | | |
1114 | | - | |
1115 | | - | |
1116 | 1124 | | |
1117 | 1125 | | |
1118 | 1126 | | |
| |||
1227 | 1235 | | |
1228 | 1236 | | |
1229 | 1237 | | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1230 | 1241 | | |
1231 | 1242 | | |
1232 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
0 commit comments