Commit 5cd1ff5
Teach CLI diagnose about CrossModel env auth
`codexbar diagnose` resolved no API auth for an env-only CrossModel
setup because CLIDiagnoseCommand's env-auth switch had no `.crossmodel`
case and fell through to false, even though CROSSMODEL_API_KEY is a
supported token source. Add the case and a focused diagnostic test.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c75d9f1 commit 5cd1ff5
2 files changed
Lines changed: 15 additions & 0 deletions
File tree
- Sources/CodexBarCLI
- Tests/CodexBarTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
118 | 131 | | |
119 | 132 | | |
120 | 133 | | |
| |||
0 commit comments