├── .env.example ├── .github └── workflows │ ├── backend.yml │ ├── build.yml │ ├── ci.yml │ ├── docs.yml │ ├── frontend.yml.disabled │ └── release.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CONVENTIONS.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── TESTING.md ├── ccproxy ├── __init__.py ├── __main__.py ├── adapters │ ├── __init__.py │ ├── base.py │ ├── codex │ │ └── __init__.py │ └── openai │ │ ├── __init__.py │ │ ├── adapter.py │ │ ├── models.py │ │ ├── response_adapter.py │ │ ├── response_models.py │ │ └── streaming.py ├── api │ ├── __init__.py │ ├── app.py │ ├── dependencies.py │ ├── middleware │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── cors.py │ │ ├── errors.py │ │ ├── headers.py │ │ ├── logging.py │ │ ├── request_content_logging.py │ │ ├── request_id.py │ │ └── server_header.py │ ├── responses.py │ ├── routes │ │ ├── __init__.py │ │ ├── claude.py │ │ ├── codex.py │ │ ├── health.py │ │ ├── mcp.py │ │ ├── metrics.py │ │ ├── permissions.py │ │ └── proxy.py │ ├── services │ │ ├── __init__.py │ │ └── permission_service.py │ └── ui │ │ ├── __init__.py │ │ ├── permission_handler_protocol.py │ │ └── terminal_permission_handler.py ├── auth │ ├── __init__.py │ ├── bearer.py │ ├── conditional.py │ ├── credentials_adapter.py │ ├── dependencies.py │ ├── exceptions.py │ ├── manager.py │ ├── models.py │ ├── oauth │ │ ├── __init__.py │ │ ├── models.py │ │ ├── routes.py │ │ └── storage.py │ ├── openai │ │ ├── __init__.py │ │ ├── credentials.py │ │ ├── oauth_client.py │ │ └── storage.py │ └── storage │ │ ├── __init__.py │ │ ├── base.py │ │ ├── json_file.py │ │ └── keyring.py ├── claude_sdk │ ├── __init__.py │ ├── client.py │ ├── converter.py │ ├── exceptions.py │ ├── manager.py │ ├── message_queue.py │ ├── options.py │ ├── parser.py │ ├── session_client.py │ ├── session_pool.py │ ├── stream_handle.py │ ├── stream_worker.py │ └── streaming.py ├── cli │ ├── __init__.py │ ├── commands │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── config │ │ │ ├── __init__.py │ │ │ ├── commands.py │ │ │ └── schema_commands.py │ │ ├── permission_handler.py │ │ └── serve.py │ ├── docker │ │ ├── __init__.py │ │ ├── adapter_factory.py │ │ └── params.py │ ├── helpers.py │ ├── main.py │ └── options │ │ ├── __init__.py │ │ ├── claude_options.py │ │ ├── core_options.py │ │ ├── security_options.py │ │ └── server_options.py ├── config │ ├── __init__.py │ ├── auth.py │ ├── claude.py │ ├── codex.py │ ├── cors.py │ ├── discovery.py │ ├── docker_settings.py │ ├── observability.py │ ├── pricing.py │ ├── reverse_proxy.py │ ├── scheduler.py │ ├── security.py │ ├── server.py │ ├── settings.py │ └── validators.py ├── core │ ├── __init__.py │ ├── async_utils.py │ ├── codex_transformers.py │ ├── constants.py │ ├── errors.py │ ├── http.py │ ├── http_transformers.py │ ├── interfaces.py │ ├── logging.py │ ├── middleware.py │ ├── proxy.py │ ├── system.py │ ├── transformers.py │ ├── types.py │ └── validators.py ├── data │ ├── claude_headers_fallback.json │ └── codex_headers_fallback.json ├── docker │ ├── __init__.py │ ├── adapter.py │ ├── docker_path.py │ ├── middleware.py │ ├── models.py │ ├── protocol.py │ ├── stream_process.py │ └── validators.py ├── models │ ├── __init__.py │ ├── claude_sdk.py │ ├── detection.py │ ├── errors.py │ ├── messages.py │ ├── permissions.py │ ├── requests.py │ ├── responses.py │ └── types.py ├── observability │ ├── __init__.py │ ├── access_logger.py │ ├── context.py │ ├── metrics.py │ ├── pushgateway.py │ ├── sse_events.py │ ├── stats_printer.py │ ├── storage │ │ ├── __init__.py │ │ ├── duckdb_simple.py │ │ └── models.py │ └── streaming_response.py ├── pricing │ ├── __init__.py │ ├── cache.py │ ├── loader.py │ ├── models.py │ └── updater.py ├── scheduler │ ├── __init__.py │ ├── core.py │ ├── errors.py │ ├── manager.py │ ├── registry.py │ └── tasks.py ├── services │ ├── __init__.py │ ├── claude_detection_service.py │ ├── claude_sdk_service.py │ ├── codex_detection_service.py │ ├── credentials │ │ ├── __init__.py │ │ ├── config.py │ │ ├── manager.py │ │ └── oauth_client.py │ └── proxy_service.py ├── static │ └── .keep ├── testing │ ├── __init__.py │ ├── config.py │ ├── content_generation.py │ ├── mock_responses.py │ ├── response_handlers.py │ └── scenarios.py └── utils │ ├── __init__.py │ ├── cost_calculator.py │ ├── disconnection_monitor.py │ ├── id_generator.py │ ├── model_mapping.py │ ├── models_provider.py │ ├── simple_request_logger.py │ ├── startup_helpers.py │ ├── streaming_metrics.py │ └── version_checker.py ├── data └── metrics.db ├── devenv.lock ├── devenv.nix ├── docker-compose.monitoring.yml ├── docker-compose.yml ├── docs ├── README.md ├── api-reference.md ├── assets │ ├── extra.css │ └── extra.js ├── contributing.md ├── development │ └── debugging-with-proxy.md ├── examples.md ├── gen_ref_pages.py ├── getting-started │ ├── configuration.md │ ├── installation.md │ └── quickstart.md ├── index.md ├── metrics-api.md ├── observability.md ├── systemd-setup.md └── user-guide │ ├── api-usage.md │ ├── authentication.md │ ├── claude-code-options.md │ ├── claude-sdk-compatibility.md │ ├── codex-api.md │ ├── mcp-integration.md │ ├── pool-configuration.md │ └── understanding-pool-logs.md ├── examples ├── README.md ├── README_chat_agent.md ├── ai_code_discussion_demo.py ├── anthropic_streaming_demo.py ├── anthropic_tools_demo.py ├── client.py ├── common_utils.py ├── console_utils.py ├── debug_anthropic_streaming.py ├── openai_anthropic_conversation_demo.py ├── openai_claude_code_options_example.sh ├── openai_json_object_example.sh ├── openai_json_schema_example.sh ├── openai_streaming_demo.py ├── openai_structured_response_demo.py ├── openai_thinking_demo.py ├── openai_tools_demo.py ├── project_code_access_demo.py ├── simple_thinking_demo.py └── textual_chat_agent.py ├── mkdocs.yml ├── monitoring └── grafana │ ├── dashboards │ └── ccproxy-dashboard.json │ └── provisioning │ ├── dashboards │ └── dashboard.yml │ └── datasources │ └── victoria-metrics.yml ├── pyproject.toml ├── scripts ├── act-run.sh ├── build-docs.sh ├── entrypoint.sh ├── format_version.py ├── serve-docs.sh ├── setup-systemd.sh ├── setup.sh └── traffic_generator.py ├── systemd └── ccproxy.service.template ├── tests ├── .gitignore ├── __init__.py ├── conftest.py ├── factories │ ├── README.md │ ├── __init__.py │ └── fastapi_factory.py ├── fixtures │ ├── README.md │ ├── auth │ │ ├── __init__.py │ │ └── example_usage.py │ ├── claude_sdk │ │ ├── __init__.py │ │ ├── client_mocks.py │ │ ├── internal_mocks.py │ │ └── responses.py │ ├── credentials.json │ ├── external_apis │ │ ├── __init__.py │ │ ├── anthropic_api.py │ │ └── openai_codex_api.py │ ├── proxy_service │ │ ├── __init__.py │ │ └── oauth_mocks.py │ └── responses.json ├── helpers │ ├── __init__.py │ ├── assertions.py │ └── test_data.py ├── integration │ ├── __init__.py │ ├── test_access_logger_integration.py │ ├── test_confirmation_integration.py │ ├── test_duckdb_settings_integration.py │ └── test_streaming_access_logging.py ├── test_cache_control_limiter.py └── unit │ ├── __init__.py │ ├── api │ ├── __init__.py │ ├── test_api.py │ ├── test_confirmation_routes.py │ ├── test_mcp_route.py │ ├── test_metrics_api.py │ └── test_reset_endpoint.py │ ├── auth │ ├── __init__.py │ └── test_auth.py │ ├── cli │ ├── __init__.py │ ├── test_cli_auth_commands.py │ ├── test_cli_auth_login_credentials_handling.py │ ├── test_cli_config.py │ ├── test_cli_confirmation_handler.py │ └── test_cli_serve.py │ ├── config │ ├── __init__.py │ ├── test_claude_sdk_options.py │ ├── test_claude_sdk_parser.py │ └── test_terminal_handler.py │ ├── observability │ └── test_streaming_response.py │ ├── services │ ├── __init__.py │ ├── test_adapters.py │ ├── test_claude_sdk_client.py │ ├── test_codex_proxy.py │ ├── test_confirmation_service.py │ ├── test_credentials_manager_validation.py │ ├── test_docker.py │ ├── test_fastapi_factory.py │ ├── test_http_transformers.py │ ├── test_observability.py │ ├── test_pricing.py │ ├── test_pushgateway_error_handling.py │ ├── test_queue_duckdb_storage.py │ ├── test_scheduler.py │ ├── test_scheduler_tasks.py │ ├── test_session_pool_race_condition.py │ ├── test_sse_events.py │ ├── test_sse_stream_filtering.py │ ├── test_stats_printer.py │ └── test_streaming.py │ └── utils │ ├── __init__.py │ ├── test_duckdb_lifecycle.py │ ├── test_startup_helpers.py │ └── test_version_checker.py └── uv.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/backend.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.github/workflows/backend.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/frontend.yml.disabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.github/workflows/frontend.yml.disabled -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.11 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONVENTIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/CONVENTIONS.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/README.md -------------------------------------------------------------------------------- /TESTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/TESTING.md -------------------------------------------------------------------------------- /ccproxy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/__init__.py -------------------------------------------------------------------------------- /ccproxy/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/__main__.py -------------------------------------------------------------------------------- /ccproxy/adapters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/__init__.py -------------------------------------------------------------------------------- /ccproxy/adapters/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/base.py -------------------------------------------------------------------------------- /ccproxy/adapters/codex/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/codex/__init__.py -------------------------------------------------------------------------------- /ccproxy/adapters/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/openai/__init__.py -------------------------------------------------------------------------------- /ccproxy/adapters/openai/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/openai/adapter.py -------------------------------------------------------------------------------- /ccproxy/adapters/openai/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/openai/models.py -------------------------------------------------------------------------------- /ccproxy/adapters/openai/response_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/openai/response_adapter.py -------------------------------------------------------------------------------- /ccproxy/adapters/openai/response_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/openai/response_models.py -------------------------------------------------------------------------------- /ccproxy/adapters/openai/streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/adapters/openai/streaming.py -------------------------------------------------------------------------------- /ccproxy/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/__init__.py -------------------------------------------------------------------------------- /ccproxy/api/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/app.py -------------------------------------------------------------------------------- /ccproxy/api/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/dependencies.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/__init__.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/auth.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ccproxy/api/middleware/cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/cors.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/errors.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/headers.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/logging.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/request_content_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/request_content_logging.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/request_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/request_id.py -------------------------------------------------------------------------------- /ccproxy/api/middleware/server_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/middleware/server_header.py -------------------------------------------------------------------------------- /ccproxy/api/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/responses.py -------------------------------------------------------------------------------- /ccproxy/api/routes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/__init__.py -------------------------------------------------------------------------------- /ccproxy/api/routes/claude.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/claude.py -------------------------------------------------------------------------------- /ccproxy/api/routes/codex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/codex.py -------------------------------------------------------------------------------- /ccproxy/api/routes/health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/health.py -------------------------------------------------------------------------------- /ccproxy/api/routes/mcp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/mcp.py -------------------------------------------------------------------------------- /ccproxy/api/routes/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/metrics.py -------------------------------------------------------------------------------- /ccproxy/api/routes/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/permissions.py -------------------------------------------------------------------------------- /ccproxy/api/routes/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/routes/proxy.py -------------------------------------------------------------------------------- /ccproxy/api/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/services/__init__.py -------------------------------------------------------------------------------- /ccproxy/api/services/permission_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/services/permission_service.py -------------------------------------------------------------------------------- /ccproxy/api/ui/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/ui/__init__.py -------------------------------------------------------------------------------- /ccproxy/api/ui/permission_handler_protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/ui/permission_handler_protocol.py -------------------------------------------------------------------------------- /ccproxy/api/ui/terminal_permission_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/api/ui/terminal_permission_handler.py -------------------------------------------------------------------------------- /ccproxy/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/__init__.py -------------------------------------------------------------------------------- /ccproxy/auth/bearer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/bearer.py -------------------------------------------------------------------------------- /ccproxy/auth/conditional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/conditional.py -------------------------------------------------------------------------------- /ccproxy/auth/credentials_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/credentials_adapter.py -------------------------------------------------------------------------------- /ccproxy/auth/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/dependencies.py -------------------------------------------------------------------------------- /ccproxy/auth/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/exceptions.py -------------------------------------------------------------------------------- /ccproxy/auth/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/manager.py -------------------------------------------------------------------------------- /ccproxy/auth/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/models.py -------------------------------------------------------------------------------- /ccproxy/auth/oauth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/oauth/__init__.py -------------------------------------------------------------------------------- /ccproxy/auth/oauth/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/oauth/models.py -------------------------------------------------------------------------------- /ccproxy/auth/oauth/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/oauth/routes.py -------------------------------------------------------------------------------- /ccproxy/auth/oauth/storage.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ccproxy/auth/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/openai/__init__.py -------------------------------------------------------------------------------- /ccproxy/auth/openai/credentials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/openai/credentials.py -------------------------------------------------------------------------------- /ccproxy/auth/openai/oauth_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/openai/oauth_client.py -------------------------------------------------------------------------------- /ccproxy/auth/openai/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/openai/storage.py -------------------------------------------------------------------------------- /ccproxy/auth/storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/storage/__init__.py -------------------------------------------------------------------------------- /ccproxy/auth/storage/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/storage/base.py -------------------------------------------------------------------------------- /ccproxy/auth/storage/json_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/storage/json_file.py -------------------------------------------------------------------------------- /ccproxy/auth/storage/keyring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/auth/storage/keyring.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/__init__.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/client.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/converter.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/exceptions.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/manager.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/message_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/message_queue.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/options.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/parser.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/session_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/session_client.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/session_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/session_pool.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/stream_handle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/stream_handle.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/stream_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/stream_worker.py -------------------------------------------------------------------------------- /ccproxy/claude_sdk/streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/claude_sdk/streaming.py -------------------------------------------------------------------------------- /ccproxy/cli/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/__init__.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/__init__.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/auth.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/config/__init__.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/config/commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/config/commands.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/config/schema_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/config/schema_commands.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/permission_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/permission_handler.py -------------------------------------------------------------------------------- /ccproxy/cli/commands/serve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/commands/serve.py -------------------------------------------------------------------------------- /ccproxy/cli/docker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/docker/__init__.py -------------------------------------------------------------------------------- /ccproxy/cli/docker/adapter_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/docker/adapter_factory.py -------------------------------------------------------------------------------- /ccproxy/cli/docker/params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/docker/params.py -------------------------------------------------------------------------------- /ccproxy/cli/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/helpers.py -------------------------------------------------------------------------------- /ccproxy/cli/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/main.py -------------------------------------------------------------------------------- /ccproxy/cli/options/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/options/__init__.py -------------------------------------------------------------------------------- /ccproxy/cli/options/claude_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/options/claude_options.py -------------------------------------------------------------------------------- /ccproxy/cli/options/core_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/options/core_options.py -------------------------------------------------------------------------------- /ccproxy/cli/options/security_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/options/security_options.py -------------------------------------------------------------------------------- /ccproxy/cli/options/server_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/cli/options/server_options.py -------------------------------------------------------------------------------- /ccproxy/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/__init__.py -------------------------------------------------------------------------------- /ccproxy/config/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/auth.py -------------------------------------------------------------------------------- /ccproxy/config/claude.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/claude.py -------------------------------------------------------------------------------- /ccproxy/config/codex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/codex.py -------------------------------------------------------------------------------- /ccproxy/config/cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/cors.py -------------------------------------------------------------------------------- /ccproxy/config/discovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/discovery.py -------------------------------------------------------------------------------- /ccproxy/config/docker_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/docker_settings.py -------------------------------------------------------------------------------- /ccproxy/config/observability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/observability.py -------------------------------------------------------------------------------- /ccproxy/config/pricing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/pricing.py -------------------------------------------------------------------------------- /ccproxy/config/reverse_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/reverse_proxy.py -------------------------------------------------------------------------------- /ccproxy/config/scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/scheduler.py -------------------------------------------------------------------------------- /ccproxy/config/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/security.py -------------------------------------------------------------------------------- /ccproxy/config/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/server.py -------------------------------------------------------------------------------- /ccproxy/config/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/settings.py -------------------------------------------------------------------------------- /ccproxy/config/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/config/validators.py -------------------------------------------------------------------------------- /ccproxy/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/__init__.py -------------------------------------------------------------------------------- /ccproxy/core/async_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/async_utils.py -------------------------------------------------------------------------------- /ccproxy/core/codex_transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/codex_transformers.py -------------------------------------------------------------------------------- /ccproxy/core/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/constants.py -------------------------------------------------------------------------------- /ccproxy/core/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/errors.py -------------------------------------------------------------------------------- /ccproxy/core/http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/http.py -------------------------------------------------------------------------------- /ccproxy/core/http_transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/http_transformers.py -------------------------------------------------------------------------------- /ccproxy/core/interfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/interfaces.py -------------------------------------------------------------------------------- /ccproxy/core/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/logging.py -------------------------------------------------------------------------------- /ccproxy/core/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/middleware.py -------------------------------------------------------------------------------- /ccproxy/core/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/proxy.py -------------------------------------------------------------------------------- /ccproxy/core/system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/system.py -------------------------------------------------------------------------------- /ccproxy/core/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/transformers.py -------------------------------------------------------------------------------- /ccproxy/core/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/types.py -------------------------------------------------------------------------------- /ccproxy/core/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/core/validators.py -------------------------------------------------------------------------------- /ccproxy/data/claude_headers_fallback.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/data/claude_headers_fallback.json -------------------------------------------------------------------------------- /ccproxy/data/codex_headers_fallback.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/data/codex_headers_fallback.json -------------------------------------------------------------------------------- /ccproxy/docker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/__init__.py -------------------------------------------------------------------------------- /ccproxy/docker/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/adapter.py -------------------------------------------------------------------------------- /ccproxy/docker/docker_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/docker_path.py -------------------------------------------------------------------------------- /ccproxy/docker/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/middleware.py -------------------------------------------------------------------------------- /ccproxy/docker/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/models.py -------------------------------------------------------------------------------- /ccproxy/docker/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/protocol.py -------------------------------------------------------------------------------- /ccproxy/docker/stream_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/stream_process.py -------------------------------------------------------------------------------- /ccproxy/docker/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/docker/validators.py -------------------------------------------------------------------------------- /ccproxy/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/__init__.py -------------------------------------------------------------------------------- /ccproxy/models/claude_sdk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/claude_sdk.py -------------------------------------------------------------------------------- /ccproxy/models/detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/detection.py -------------------------------------------------------------------------------- /ccproxy/models/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/errors.py -------------------------------------------------------------------------------- /ccproxy/models/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/messages.py -------------------------------------------------------------------------------- /ccproxy/models/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/permissions.py -------------------------------------------------------------------------------- /ccproxy/models/requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/requests.py -------------------------------------------------------------------------------- /ccproxy/models/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/responses.py -------------------------------------------------------------------------------- /ccproxy/models/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/models/types.py -------------------------------------------------------------------------------- /ccproxy/observability/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/__init__.py -------------------------------------------------------------------------------- /ccproxy/observability/access_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/access_logger.py -------------------------------------------------------------------------------- /ccproxy/observability/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/context.py -------------------------------------------------------------------------------- /ccproxy/observability/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/metrics.py -------------------------------------------------------------------------------- /ccproxy/observability/pushgateway.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/pushgateway.py -------------------------------------------------------------------------------- /ccproxy/observability/sse_events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/sse_events.py -------------------------------------------------------------------------------- /ccproxy/observability/stats_printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/stats_printer.py -------------------------------------------------------------------------------- /ccproxy/observability/storage/__init__.py: -------------------------------------------------------------------------------- 1 | """Storage backends for observability data.""" 2 | -------------------------------------------------------------------------------- /ccproxy/observability/storage/duckdb_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/storage/duckdb_simple.py -------------------------------------------------------------------------------- /ccproxy/observability/storage/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/storage/models.py -------------------------------------------------------------------------------- /ccproxy/observability/streaming_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/observability/streaming_response.py -------------------------------------------------------------------------------- /ccproxy/pricing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/pricing/__init__.py -------------------------------------------------------------------------------- /ccproxy/pricing/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/pricing/cache.py -------------------------------------------------------------------------------- /ccproxy/pricing/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/pricing/loader.py -------------------------------------------------------------------------------- /ccproxy/pricing/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/pricing/models.py -------------------------------------------------------------------------------- /ccproxy/pricing/updater.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/pricing/updater.py -------------------------------------------------------------------------------- /ccproxy/scheduler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/scheduler/__init__.py -------------------------------------------------------------------------------- /ccproxy/scheduler/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/scheduler/core.py -------------------------------------------------------------------------------- /ccproxy/scheduler/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/scheduler/errors.py -------------------------------------------------------------------------------- /ccproxy/scheduler/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/scheduler/manager.py -------------------------------------------------------------------------------- /ccproxy/scheduler/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/scheduler/registry.py -------------------------------------------------------------------------------- /ccproxy/scheduler/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/scheduler/tasks.py -------------------------------------------------------------------------------- /ccproxy/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/__init__.py -------------------------------------------------------------------------------- /ccproxy/services/claude_detection_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/claude_detection_service.py -------------------------------------------------------------------------------- /ccproxy/services/claude_sdk_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/claude_sdk_service.py -------------------------------------------------------------------------------- /ccproxy/services/codex_detection_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/codex_detection_service.py -------------------------------------------------------------------------------- /ccproxy/services/credentials/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/credentials/__init__.py -------------------------------------------------------------------------------- /ccproxy/services/credentials/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/credentials/config.py -------------------------------------------------------------------------------- /ccproxy/services/credentials/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/credentials/manager.py -------------------------------------------------------------------------------- /ccproxy/services/credentials/oauth_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/credentials/oauth_client.py -------------------------------------------------------------------------------- /ccproxy/services/proxy_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/services/proxy_service.py -------------------------------------------------------------------------------- /ccproxy/static/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ccproxy/testing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/testing/__init__.py -------------------------------------------------------------------------------- /ccproxy/testing/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/testing/config.py -------------------------------------------------------------------------------- /ccproxy/testing/content_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/testing/content_generation.py -------------------------------------------------------------------------------- /ccproxy/testing/mock_responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/testing/mock_responses.py -------------------------------------------------------------------------------- /ccproxy/testing/response_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/testing/response_handlers.py -------------------------------------------------------------------------------- /ccproxy/testing/scenarios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/testing/scenarios.py -------------------------------------------------------------------------------- /ccproxy/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/__init__.py -------------------------------------------------------------------------------- /ccproxy/utils/cost_calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/cost_calculator.py -------------------------------------------------------------------------------- /ccproxy/utils/disconnection_monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/disconnection_monitor.py -------------------------------------------------------------------------------- /ccproxy/utils/id_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/id_generator.py -------------------------------------------------------------------------------- /ccproxy/utils/model_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/model_mapping.py -------------------------------------------------------------------------------- /ccproxy/utils/models_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/models_provider.py -------------------------------------------------------------------------------- /ccproxy/utils/simple_request_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/simple_request_logger.py -------------------------------------------------------------------------------- /ccproxy/utils/startup_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/startup_helpers.py -------------------------------------------------------------------------------- /ccproxy/utils/streaming_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/streaming_metrics.py -------------------------------------------------------------------------------- /ccproxy/utils/version_checker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/ccproxy/utils/version_checker.py -------------------------------------------------------------------------------- /data/metrics.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/data/metrics.db -------------------------------------------------------------------------------- /devenv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/devenv.lock -------------------------------------------------------------------------------- /devenv.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/devenv.nix -------------------------------------------------------------------------------- /docker-compose.monitoring.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docker-compose.monitoring.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/api-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/api-reference.md -------------------------------------------------------------------------------- /docs/assets/extra.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/extra.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/assets/extra.js -------------------------------------------------------------------------------- /docs/contributing.md: -------------------------------------------------------------------------------- 1 | --8<-- "CONTRIBUTING.md" 2 | -------------------------------------------------------------------------------- /docs/development/debugging-with-proxy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/development/debugging-with-proxy.md -------------------------------------------------------------------------------- /docs/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/examples.md -------------------------------------------------------------------------------- /docs/gen_ref_pages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/gen_ref_pages.py -------------------------------------------------------------------------------- /docs/getting-started/configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/getting-started/configuration.md -------------------------------------------------------------------------------- /docs/getting-started/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/getting-started/installation.md -------------------------------------------------------------------------------- /docs/getting-started/quickstart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/getting-started/quickstart.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/metrics-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/metrics-api.md -------------------------------------------------------------------------------- /docs/observability.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/observability.md -------------------------------------------------------------------------------- /docs/systemd-setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/systemd-setup.md -------------------------------------------------------------------------------- /docs/user-guide/api-usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/api-usage.md -------------------------------------------------------------------------------- /docs/user-guide/authentication.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/authentication.md -------------------------------------------------------------------------------- /docs/user-guide/claude-code-options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/claude-code-options.md -------------------------------------------------------------------------------- /docs/user-guide/claude-sdk-compatibility.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/claude-sdk-compatibility.md -------------------------------------------------------------------------------- /docs/user-guide/codex-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/codex-api.md -------------------------------------------------------------------------------- /docs/user-guide/mcp-integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/mcp-integration.md -------------------------------------------------------------------------------- /docs/user-guide/pool-configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/pool-configuration.md -------------------------------------------------------------------------------- /docs/user-guide/understanding-pool-logs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/docs/user-guide/understanding-pool-logs.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/README_chat_agent.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/README_chat_agent.md -------------------------------------------------------------------------------- /examples/ai_code_discussion_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/ai_code_discussion_demo.py -------------------------------------------------------------------------------- /examples/anthropic_streaming_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/anthropic_streaming_demo.py -------------------------------------------------------------------------------- /examples/anthropic_tools_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/anthropic_tools_demo.py -------------------------------------------------------------------------------- /examples/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/client.py -------------------------------------------------------------------------------- /examples/common_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/common_utils.py -------------------------------------------------------------------------------- /examples/console_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/console_utils.py -------------------------------------------------------------------------------- /examples/debug_anthropic_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/debug_anthropic_streaming.py -------------------------------------------------------------------------------- /examples/openai_anthropic_conversation_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_anthropic_conversation_demo.py -------------------------------------------------------------------------------- /examples/openai_claude_code_options_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_claude_code_options_example.sh -------------------------------------------------------------------------------- /examples/openai_json_object_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_json_object_example.sh -------------------------------------------------------------------------------- /examples/openai_json_schema_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_json_schema_example.sh -------------------------------------------------------------------------------- /examples/openai_streaming_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_streaming_demo.py -------------------------------------------------------------------------------- /examples/openai_structured_response_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_structured_response_demo.py -------------------------------------------------------------------------------- /examples/openai_thinking_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_thinking_demo.py -------------------------------------------------------------------------------- /examples/openai_tools_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/openai_tools_demo.py -------------------------------------------------------------------------------- /examples/project_code_access_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/project_code_access_demo.py -------------------------------------------------------------------------------- /examples/simple_thinking_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/simple_thinking_demo.py -------------------------------------------------------------------------------- /examples/textual_chat_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/examples/textual_chat_agent.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /monitoring/grafana/dashboards/ccproxy-dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/monitoring/grafana/dashboards/ccproxy-dashboard.json -------------------------------------------------------------------------------- /monitoring/grafana/provisioning/dashboards/dashboard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/monitoring/grafana/provisioning/dashboards/dashboard.yml -------------------------------------------------------------------------------- /monitoring/grafana/provisioning/datasources/victoria-metrics.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/monitoring/grafana/provisioning/datasources/victoria-metrics.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/act-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/act-run.sh -------------------------------------------------------------------------------- /scripts/build-docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/build-docs.sh -------------------------------------------------------------------------------- /scripts/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/entrypoint.sh -------------------------------------------------------------------------------- /scripts/format_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/format_version.py -------------------------------------------------------------------------------- /scripts/serve-docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/serve-docs.sh -------------------------------------------------------------------------------- /scripts/setup-systemd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/setup-systemd.sh -------------------------------------------------------------------------------- /scripts/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/setup.sh -------------------------------------------------------------------------------- /scripts/traffic_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/scripts/traffic_generator.py -------------------------------------------------------------------------------- /systemd/ccproxy.service.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/systemd/ccproxy.service.template -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/factories/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/factories/README.md -------------------------------------------------------------------------------- /tests/factories/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/factories/__init__.py -------------------------------------------------------------------------------- /tests/factories/fastapi_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/factories/fastapi_factory.py -------------------------------------------------------------------------------- /tests/fixtures/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/README.md -------------------------------------------------------------------------------- /tests/fixtures/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/auth/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/auth/example_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/auth/example_usage.py -------------------------------------------------------------------------------- /tests/fixtures/claude_sdk/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/claude_sdk/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/claude_sdk/client_mocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/claude_sdk/client_mocks.py -------------------------------------------------------------------------------- /tests/fixtures/claude_sdk/internal_mocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/claude_sdk/internal_mocks.py -------------------------------------------------------------------------------- /tests/fixtures/claude_sdk/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/claude_sdk/responses.py -------------------------------------------------------------------------------- /tests/fixtures/credentials.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/credentials.json -------------------------------------------------------------------------------- /tests/fixtures/external_apis/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/external_apis/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/external_apis/anthropic_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/external_apis/anthropic_api.py -------------------------------------------------------------------------------- /tests/fixtures/external_apis/openai_codex_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/external_apis/openai_codex_api.py -------------------------------------------------------------------------------- /tests/fixtures/proxy_service/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/proxy_service/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/proxy_service/oauth_mocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/proxy_service/oauth_mocks.py -------------------------------------------------------------------------------- /tests/fixtures/responses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/fixtures/responses.json -------------------------------------------------------------------------------- /tests/helpers/__init__.py: -------------------------------------------------------------------------------- 1 | """Test helpers package for shared utilities.""" 2 | -------------------------------------------------------------------------------- /tests/helpers/assertions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/helpers/assertions.py -------------------------------------------------------------------------------- /tests/helpers/test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/helpers/test_data.py -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/test_access_logger_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/integration/test_access_logger_integration.py -------------------------------------------------------------------------------- /tests/integration/test_confirmation_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/integration/test_confirmation_integration.py -------------------------------------------------------------------------------- /tests/integration/test_duckdb_settings_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/integration/test_duckdb_settings_integration.py -------------------------------------------------------------------------------- /tests/integration/test_streaming_access_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/integration/test_streaming_access_logging.py -------------------------------------------------------------------------------- /tests/test_cache_control_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/test_cache_control_limiter.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/api/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/api/test_api.py -------------------------------------------------------------------------------- /tests/unit/api/test_confirmation_routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/api/test_confirmation_routes.py -------------------------------------------------------------------------------- /tests/unit/api/test_mcp_route.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/api/test_mcp_route.py -------------------------------------------------------------------------------- /tests/unit/api/test_metrics_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/api/test_metrics_api.py -------------------------------------------------------------------------------- /tests/unit/api/test_reset_endpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/api/test_reset_endpoint.py -------------------------------------------------------------------------------- /tests/unit/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/auth/test_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/auth/test_auth.py -------------------------------------------------------------------------------- /tests/unit/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/cli/test_cli_auth_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/cli/test_cli_auth_commands.py -------------------------------------------------------------------------------- /tests/unit/cli/test_cli_auth_login_credentials_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/cli/test_cli_auth_login_credentials_handling.py -------------------------------------------------------------------------------- /tests/unit/cli/test_cli_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/cli/test_cli_config.py -------------------------------------------------------------------------------- /tests/unit/cli/test_cli_confirmation_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/cli/test_cli_confirmation_handler.py -------------------------------------------------------------------------------- /tests/unit/cli/test_cli_serve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/cli/test_cli_serve.py -------------------------------------------------------------------------------- /tests/unit/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/config/test_claude_sdk_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/config/test_claude_sdk_options.py -------------------------------------------------------------------------------- /tests/unit/config/test_claude_sdk_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/config/test_claude_sdk_parser.py -------------------------------------------------------------------------------- /tests/unit/config/test_terminal_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/config/test_terminal_handler.py -------------------------------------------------------------------------------- /tests/unit/observability/test_streaming_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/observability/test_streaming_response.py -------------------------------------------------------------------------------- /tests/unit/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/services/test_adapters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_adapters.py -------------------------------------------------------------------------------- /tests/unit/services/test_claude_sdk_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_claude_sdk_client.py -------------------------------------------------------------------------------- /tests/unit/services/test_codex_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_codex_proxy.py -------------------------------------------------------------------------------- /tests/unit/services/test_confirmation_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_confirmation_service.py -------------------------------------------------------------------------------- /tests/unit/services/test_credentials_manager_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_credentials_manager_validation.py -------------------------------------------------------------------------------- /tests/unit/services/test_docker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_docker.py -------------------------------------------------------------------------------- /tests/unit/services/test_fastapi_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_fastapi_factory.py -------------------------------------------------------------------------------- /tests/unit/services/test_http_transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_http_transformers.py -------------------------------------------------------------------------------- /tests/unit/services/test_observability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_observability.py -------------------------------------------------------------------------------- /tests/unit/services/test_pricing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_pricing.py -------------------------------------------------------------------------------- /tests/unit/services/test_pushgateway_error_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_pushgateway_error_handling.py -------------------------------------------------------------------------------- /tests/unit/services/test_queue_duckdb_storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_queue_duckdb_storage.py -------------------------------------------------------------------------------- /tests/unit/services/test_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_scheduler.py -------------------------------------------------------------------------------- /tests/unit/services/test_scheduler_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_scheduler_tasks.py -------------------------------------------------------------------------------- /tests/unit/services/test_session_pool_race_condition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_session_pool_race_condition.py -------------------------------------------------------------------------------- /tests/unit/services/test_sse_events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_sse_events.py -------------------------------------------------------------------------------- /tests/unit/services/test_sse_stream_filtering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_sse_stream_filtering.py -------------------------------------------------------------------------------- /tests/unit/services/test_stats_printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_stats_printer.py -------------------------------------------------------------------------------- /tests/unit/services/test_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/services/test_streaming.py -------------------------------------------------------------------------------- /tests/unit/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/utils/test_duckdb_lifecycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/utils/test_duckdb_lifecycle.py -------------------------------------------------------------------------------- /tests/unit/utils/test_startup_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/utils/test_startup_helpers.py -------------------------------------------------------------------------------- /tests/unit/utils/test_version_checker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/tests/unit/utils/test_version_checker.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CaddyGlow/ccproxy-api/HEAD/uv.lock --------------------------------------------------------------------------------