Jack1808/Claude_Code
0
1"""Claude Code Proxy - Entry Point2 3Minimal entry point that imports the app from the api module.4Run with: uv run uvicorn server:app --host 0.0.0.0 --port 8082 --timeout-graceful-shutdown 55"""6 7from api.app import app, create_app8 9__all__ = ["app", "create_app"]10 11if __name__ == "__main__":12 import uvicorn13 14 from cli.process_registry import kill_all_best_effort 15 from config.settings import get_settings16 17 settings = get_settings()18 try:19 uvicorn.run(20 app,21 host=settings.host,22 port=settings.port,23 log_level="debug",24 timeout_graceful_shutdown=5,25 )26 finally:27 # Safety net: cleanup subprocesses if lifespan shutdown doesn't fully run.28 kill_all_best_effort()29 