ccx

0.2.2

A minimal, safe Claude Code API switcher (command: xx). Switches Claude Code between the official account and third-party Anthropic-compatible APIs purely via environment variables - it never writes any config file, so it cannot clobber your MCP / plugins / hooks.

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ccx -RequiredVersion 0.2.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ccx -Version 0.2.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 删繁LESS (becomeless). All rights reserved.

Package Details

Author(s)

  • 删繁LESS (becomeless)

Tags

claude claude-code anthropic api cli llm switcher

Functions

xx

Dependencies

This module has no dependencies.

Release Notes

v0.2.2:修复「本次启用」启动 claude 报 “Input must be provided…” 的问题——v0.2.1 把菜单输出捕获进 toast 变量后,连带把 claude 的 stdout 拖进捕获管道,使其误判为 --print 非交互模式;改用 Start-Process -NoNewWindow 让 claude 直接挂真实控制台,并让「本次启用」分支显式不回传输出。

FileList

Version History

Version Downloads Last updated
0.2.3 16 6/2/2026
0.2.2 (current version) 3 6/1/2026
0.2.1 3 6/1/2026
0.2.0 2 6/1/2026
0.1.0 5 6/1/2026