Some checks failed
CLI Tests / test-cli (push) Failing after 6s
Integration Tests / test-service-integration (push) Successful in 48s
Documentation Validation / validate-docs (push) Successful in 11s
Package Tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core]) (push) Successful in 32s
Package Tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk]) (push) Successful in 46s
Package Tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto]) (push) Successful in 24s
Package Tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk]) (push) Successful in 25s
Package Tests / test-javascript-packages (map[name:aitbc-sdk-js path:packages/js/aitbc-sdk]) (push) Successful in 19s
Python Tests / test-python (push) Failing after 5s
Package Tests / test-javascript-packages (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 1m4s
Security Scanning / security-scan (push) Successful in 31s
🧹 Configuration Cleanup: • Remove .aitbc.yaml test configuration file • Remove .editorconfig editor settings • Remove .env.example environment template • Remove .gitea-token authentication file • Remove .pre-commit-config.yaml hooks configuration 📋 Workflow Documentation Restructuring: • Replace immediate actions with complete optimization workflow (step 1) • Add production deployment workflow as
41 lines
912 B
Bash
Executable File
41 lines
912 B
Bash
Executable File
#!/bin/bash
|
|
# AITBC CLI - Debug wrapper script
|
|
cd /opt/aitbc/cli
|
|
source /opt/aitbc/venv/bin/activate
|
|
|
|
echo "Current directory: $(pwd)"
|
|
echo "Python path: $PYTHONPATH"
|
|
echo "Virtual environment: $VIRTUAL_ENV"
|
|
|
|
# Debug the CLI loading
|
|
python -c "
|
|
import sys
|
|
sys.path.insert(0, '.')
|
|
print('Python path:', sys.path[:3])
|
|
|
|
try:
|
|
from core.main import cli
|
|
print('CLI import: SUCCESS')
|
|
|
|
# Check commands
|
|
from core.main import commands
|
|
print(f'Commands loaded: {len(commands)}')
|
|
|
|
# Try to add commands
|
|
for cmd in commands:
|
|
try:
|
|
cli.add_command(cmd)
|
|
except Exception as e:
|
|
print(f'Error adding {cmd.name}: {e}')
|
|
|
|
print('Final commands:', list(cli.commands.keys()))
|
|
|
|
except Exception as e:
|
|
print(f'CLI import failed: {e}')
|
|
import traceback
|
|
traceback.print_exc()
|
|
"
|
|
|
|
echo "--- Running actual CLI ---"
|
|
python core/main.py "$@"
|