Observed since 21 Oct, 10:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-code-switcher
Deprecated: install claude-china and use claudec instead
已更名: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.
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.
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.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
claude-chinaEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | claude-china>=0.2.1 | runtime |
claude-chinaEnvironment{
"extras": "desktop",
"marker": "extra == \"desktop\"",
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | claude-china[desktop]>=0.2.1; extra == "desktop" | runtime |
bdist_wheel · 3.09 KB · Python py3
sdist · 2.73 KB · Python source
Observed since 21 Oct, 10:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:51176446d3b704fd54d02c2959c2bc5ce3252f38e09218bb54dc5a2780babe3b