├── .dockerignore ├── .gitignore ├── Dockerfile ├── README.md ├── assets ├── config.jpeg ├── filter.jpeg ├── index.jpeg ├── lb.jpeg ├── model_router.jpeg ├── request_detail.jpeg └── token_use.jpeg ├── dist ├── clp-1.8.0-py3-none-any.whl ├── clp-1.8.0.tar.gz ├── clp-1.9.0-py3-none-any.whl ├── clp-1.9.0.tar.gz ├── clp-1.9.1-py3-none-any.whl ├── clp-1.9.1.tar.gz ├── clp-1.9.2-py3-none-any.whl ├── clp-1.9.2.tar.gz ├── clp-1.9.3-py3-none-any.whl ├── clp-1.9.3.tar.gz ├── clp-1.9.4-py3-none-any.whl ├── clp-1.9.4.tar.gz ├── clp-1.9.5-py3-none-any.whl └── clp-1.9.5.tar.gz ├── docker-compose.yml ├── pyproject.toml └── src ├── claude ├── configs.py ├── ctl.py └── proxy.py ├── codex ├── configs.py ├── ctl.py └── proxy.py ├── config ├── cached_config_manager.py └── config_manager.py ├── core ├── base_proxy.py └── realtime_hub.py ├── filter ├── cached_request_filter.py └── request_filter.py ├── main.py ├── ui ├── ctl.py ├── static │ ├── app.js │ ├── index.html │ ├── realtime-manager.js │ └── style.css └── ui_server.py └── utils ├── platform_helper.py └── usage_parser.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/README.md -------------------------------------------------------------------------------- /assets/config.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/config.jpeg -------------------------------------------------------------------------------- /assets/filter.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/filter.jpeg -------------------------------------------------------------------------------- /assets/index.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/index.jpeg -------------------------------------------------------------------------------- /assets/lb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/lb.jpeg -------------------------------------------------------------------------------- /assets/model_router.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/model_router.jpeg -------------------------------------------------------------------------------- /assets/request_detail.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/request_detail.jpeg -------------------------------------------------------------------------------- /assets/token_use.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/assets/token_use.jpeg -------------------------------------------------------------------------------- /dist/clp-1.8.0-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.8.0-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.8.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.8.0.tar.gz -------------------------------------------------------------------------------- /dist/clp-1.9.0-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.0-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.9.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.0.tar.gz -------------------------------------------------------------------------------- /dist/clp-1.9.1-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.1-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.9.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.1.tar.gz -------------------------------------------------------------------------------- /dist/clp-1.9.2-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.2-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.9.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.2.tar.gz -------------------------------------------------------------------------------- /dist/clp-1.9.3-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.3-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.9.3.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.3.tar.gz -------------------------------------------------------------------------------- /dist/clp-1.9.4-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.4-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.9.4.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.4.tar.gz -------------------------------------------------------------------------------- /dist/clp-1.9.5-py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.5-py3-none-any.whl -------------------------------------------------------------------------------- /dist/clp-1.9.5.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/dist/clp-1.9.5.tar.gz -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/claude/configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/claude/configs.py -------------------------------------------------------------------------------- /src/claude/ctl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/claude/ctl.py -------------------------------------------------------------------------------- /src/claude/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/claude/proxy.py -------------------------------------------------------------------------------- /src/codex/configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/codex/configs.py -------------------------------------------------------------------------------- /src/codex/ctl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/codex/ctl.py -------------------------------------------------------------------------------- /src/codex/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/codex/proxy.py -------------------------------------------------------------------------------- /src/config/cached_config_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/config/cached_config_manager.py -------------------------------------------------------------------------------- /src/config/config_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/config/config_manager.py -------------------------------------------------------------------------------- /src/core/base_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/core/base_proxy.py -------------------------------------------------------------------------------- /src/core/realtime_hub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/core/realtime_hub.py -------------------------------------------------------------------------------- /src/filter/cached_request_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/filter/cached_request_filter.py -------------------------------------------------------------------------------- /src/filter/request_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/filter/request_filter.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/main.py -------------------------------------------------------------------------------- /src/ui/ctl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/ui/ctl.py -------------------------------------------------------------------------------- /src/ui/static/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/ui/static/app.js -------------------------------------------------------------------------------- /src/ui/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/ui/static/index.html -------------------------------------------------------------------------------- /src/ui/static/realtime-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/ui/static/realtime-manager.js -------------------------------------------------------------------------------- /src/ui/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/ui/static/style.css -------------------------------------------------------------------------------- /src/ui/ui_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/ui/ui_server.py -------------------------------------------------------------------------------- /src/utils/platform_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/utils/platform_helper.py -------------------------------------------------------------------------------- /src/utils/usage_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guojinpeng/cli_proxy/HEAD/src/utils/usage_parser.py --------------------------------------------------------------------------------