Catalog PyPI
PACKAGE EXPLORERView in registry

ai-code-switcher

PyPI

Deprecated: install claude-china and use claudec instead

Versions collected1
Direct dependencies1From release 0.1.24
Last observed21 Oct, 10:13 UTC

README

Version 0.1.24 documentation

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.

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.2420 Oct 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
invoker-bot/claude-china

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:13 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:77dcde66ceee5a0d1fb67c58080c9663ffc37cf9c3dd67676845f9d26e431a49