Catalog PyPI
Back to packageRELEASE DETAILS

0.1.24

PyPI

ai-code-switcher

Deprecated: install claude-china and use claudec instead

Published20 Oct 2026
Direct dependencies1
Transitive dependenciesNot calculated

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.

Declared dependencies 2

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
claude-china
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
claude-china>=0.2.1runtime
claude-china
Environment
{
  "extras": "desktop",
  "marker": "extra == \"desktop\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
claude-china[desktop]>=0.2.1; extra == "desktop"runtime

Distribution files

2 collected
ai_code_switcher-0.1.24-py3-none-any.whl

bdist_wheel · 3.09 KB · Python py3

Source file
ai_code_switcher-0.1.24.tar.gz

sdist · 2.73 KB · Python source

Source file

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_version:51176446d3b704fd54d02c2959c2bc5ce3252f38e09218bb54dc5a2780babe3b

Other collected versions

View all collected versions →