fix: make CLI robust to missing coordinator dependencies

- Replace hardcoded absolute paths with project-relative resolution
- Add AITBC_SERVICES_PATH environment variable override
- Wrap service imports in try/except with graceful degradation
- Add aiohttp to CLI requirements
- Create missing README.md for aitbc-agent-sdk to fix poetry build
- Make run_all_tests.sh portable with PROJECT_ROOT calculation
- Fix enterprise_integration.py path handling

CLI now loads successfully even when coordinator-api services
are not installed. Advanced commands fail with helpful hints
instead of crashing the entire CLI.
This commit is contained in:
aitbc1
2026-03-13 11:34:30 +00:00
parent 3a711d4e33
commit 1feeadf8d2
9 changed files with 280 additions and 55 deletions

View File

@@ -9,3 +9,4 @@ click-completion>=0.5.2
tabulate>=0.9.0
colorama>=0.4.4
python-dotenv>=0.19.0
aiohttp>=3.9.0