Commit 9b0ac11
feat: wire up interactive installation for missing prerequisites (#1673)
Connects existing InteractiveInstaller functionality to check_prerequisites()
entry point, enabling automatic interactive installation prompts when tools
are missing instead of just showing manual instructions.
**Changes:**
- Modified check_prerequisites() to call check_and_install(interactive=True)
- Updated docstring to reflect new interactive behavior
- Added comprehensive test for new wiring
- Applied ruff-format line wrapping improvements
**Testing:**
- 36/36 unit/integration tests passing
- New test verifies correct method call and return value handling
- Test plan documented for manual QA verification
**Notes:**
- Pre-existing linting errors in file noted (duplicate InstallationResult class)
- These errors exist in main branch and are not introduced by this change
- Will be addressed in separate cleanup PR
Closes #1668
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent ed6757d commit 9b0ac11
File tree
2 files changed
+53
-11
lines changed- src/amplihack/utils
- tests
2 files changed
+53
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
| |||
274 | 276 | | |
275 | 277 | | |
276 | 278 | | |
277 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
278 | 282 | | |
279 | 283 | | |
280 | 284 | | |
| |||
879 | 883 | | |
880 | 884 | | |
881 | 885 | | |
882 | | - | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
883 | 890 | | |
884 | 891 | | |
885 | 892 | | |
886 | 893 | | |
887 | 894 | | |
888 | | - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
889 | 898 | | |
890 | 899 | | |
891 | 900 | | |
892 | 901 | | |
893 | 902 | | |
894 | 903 | | |
895 | | - | |
| 904 | + | |
| 905 | + | |
896 | 906 | | |
897 | 907 | | |
898 | 908 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
240 | | - | |
241 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
242 | 247 | | |
243 | 248 | | |
244 | 249 | | |
| |||
334 | 339 | | |
335 | 340 | | |
336 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
337 | 368 | | |
338 | 369 | | |
339 | 370 | | |
| |||
388 | 419 | | |
389 | 420 | | |
390 | 421 | | |
391 | | - | |
392 | | - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
393 | 425 | | |
394 | 426 | | |
395 | 427 | | |
| |||
0 commit comments