ai-code-switcher has moved to Claude China
已更名:ai-code-switcher 已弃用,请安装 claude-china,并使用 claudec 命令。
Deprecated: this package is a compatibility bridge to
claude-china. New features and fixes
are released under the new name.
Recommended installation
python -m pip install --upgrade claude-china
claudec --help
For the Windows or macOS desktop launcher, quit the old launcher from its tray menu first, then run:
python -m pip install --upgrade "claude-china[desktop]"
claudec desktop install
claudec desktop run
The desktop app is now named Claude China. Profiles, credentials and desktop
settings continue to use ~/.code-ai/; no manual migration is needed.
Compatibility for existing users
Starting with version 0.1.24, installing ai-code-switcher automatically
installs claude-china as a dependency. The desktop extra forwards to
claude-china[desktop].
python -m pip install --upgrade ai-code-switcher
# Desktop users:
python -m pip install --upgrade "ai-code-switcher[desktop]"
The old code-ai command and python -m code_ai.cli entry point continue to
work, forwarding to the new CLI. They print a deprecation warning to stderr;
arguments, stdout and exit codes are preserved. Existing desktop shortcuts
using the old module can still launch the app; reinstalling shortcuts with
claudec desktop install updates their name and icon.
The compatibility package does not preserve other internal code_ai Python
APIs. Update Python imports to claude_china.
After updating commands, scripts and shortcuts, the bridge can be removed:
python -m pip uninstall ai-code-switcher
This leaves claude-china and claudec installed. Versions pinned below
0.1.24 retain the old implementation and do not receive this migration.
Source and documentation: invoker-bot/Claude-China.
Metadata
Release files for ai-code-switcher 0.1.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_code_switcher-0.1.24.tar.gz | 2.8 kB | Without provenance | Details for ai_code_switcher-0.1.24.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_code_switcher-0.1.24-py3-none-any.whl | Python 3 | none | any | Details for ai_code_switcher-0.1.24-py3-none-any.whl |
Total release size: 6.0 kB
Release files / ai_code_switcher-0.1.24.tar.gz
| Download URL | ai_code_switcher-0.1.24.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
119e4b4de10412cd026306aafab1143ac19498b956da8ebe5699d56390e23e1d
|
|
BLAKE2b-256 checksum How to use checksums |
f0411363b1a923773da3cbe4cd368fa422cfdbad2ebad31b33a6fe4139072677
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / ai_code_switcher-0.1.24-py3-none-any.whl
| Download URL | ai_code_switcher-0.1.24-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ee326cbbe5adcf7099413b3f3f5e3e1d20f4f3c87bdfae309dcdd023889741e
|
|
BLAKE2b-256 checksum How to use checksums |
7bbe173fbaa31d9c6fe714314d83af7b71d0b95755798d24184815f51655297c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for ai-code-switcher 0.1.24
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.