Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.0a4 instead.
Reason given by maintainers: Superseded by 0.1.0a3, which fixes fresh Codex installation initialization.

Codelux

English | 简体中文

Codelux is a command-line tool for managing LLM Provider configurations across AI coding assistants. It provides explicit Provider switching, recoverable local changes, and encrypted cross-machine synchronization.

Website and Provider API: https://codelux.io

Capabilities

  • Provider management for Claude Code and Codex
  • Read-only configuration and health inspection
  • Snapshot-backed restoration of official configurations
  • Fail-closed recovery for incomplete local transactions
  • Encrypted offline export/import and OpenSSH-based synchronization
  • Explicit conflict handling for synchronized configuration and session data

Security model

Codelux stores Provider credentials in local files protected by operating-system file permissions. These files are not encrypted at rest. They are not protected from processes running as the same user, privileged administrators, malware, compromised accounts, backups, or physical disk access.

Cross-machine archives are encrypted with a user-provided password. Active client configuration is not applied on another machine unless the user explicitly requests it.

See SECURITY.md for vulnerability reporting and security boundaries.

Installation

Codelux is currently in alpha and has not been published to the production Python Package Index. Install the development checkout with:

python3 -m pip install -e .

Usage

codelux version
codelux status --client claude
codelux list
codelux add codelux-io --url https://codelux.io --client claude
codelux switch codelux-io --client claude
codelux switch official --client claude
codelux recover --dry-run

Synchronization commands support explicit content selection:

codelux sync export --output codelux-sync.enc --providers --sessions
codelux sync import codelux-sync.enc
codelux sync push --ssh user@host.example --providers
codelux sync pull --ssh user@host.example --providers

Use --help on any command to inspect its current options and safety prompts.

Development

python3 -m pip install . pytest==7.4.4 coverage==7.10.7
coverage run -m pytest -q
coverage report
python scripts/check_public_repository.py

License

MIT

Codelux

English | 简体中文

Codelux 是一个用于在多种 AI 编程助手之间管理大模型 Provider 配置的命令行工具,提供 明确的 Provider 切换、可恢复的本地修改和加密跨机器同步。

官网与 Provider API: https://codelux.io

主要能力

  • 管理 Claude Code 和 Codex 的 Provider
  • 只读检查配置与健康状态
  • 通过快照恢复官方配置
  • 对未完成的本地事务执行失败关闭式恢复
  • 加密离线导入导出和基于 OpenSSH 的同步
  • 对同步配置和会话数据执行明确的冲突处理

安全模型

Codelux 将 Provider 凭据保存在受操作系统文件权限保护的本地文件中。这些文件并未进行 静态加密,无法防御以同一用户身份运行的进程、特权管理员、恶意软件、账号失陷、备份 泄露或物理磁盘访问。

跨机器归档使用用户提供的密码加密。除非用户明确要求,否则不会在另一台机器上应用 活动客户端配置。

漏洞报告方式和详细安全边界见 SECURITY.zh-CN.md

安装

Codelux 当前处于 Alpha 阶段,尚未发布到正式 Python Package Index。开发环境可从当前 代码目录安装:

python3 -m pip install -e .

使用方法

codelux version
codelux status --client claude
codelux list
codelux add codelux-io --url https://codelux.io --client claude
codelux switch codelux-io --client claude
codelux switch official --client claude
codelux recover --dry-run

同步命令支持明确选择传输内容:

codelux sync export --output codelux-sync.enc --providers --sessions
codelux sync import codelux-sync.enc
codelux sync push --ssh user@host.example --providers
codelux sync pull --ssh user@host.example --providers

可以对任意命令使用 --help 查看当前选项和安全提示。

开发验证

python3 -m pip install . pytest==7.4.4 coverage==7.10.7
coverage run -m pytest -q
coverage report
python scripts/check_public_repository.py

许可证

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codelux-0.1.0a2.tar.gz (46.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codelux-0.1.0a2-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file codelux-0.1.0a2.tar.gz.

File metadata

  • Download URL: codelux-0.1.0a2.tar.gz
  • Upload date:
  • Size: 46.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codelux-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 f9b0dea58df7e16ded996cf7d5bb913d453ada497a71ced2ca3b2f959e1fd28c
MD5 8b89c9badc7034974361ef2509989d8c
BLAKE2b-256 a1a5887dc729297a999c4872d451de3e0d6dbb7bb1d87d32a6479c5f7bf2e777

See more details on using hashes here.

Provenance

The following attestation bundles were made for codelux-0.1.0a2.tar.gz:

Publisher: publish-pypi.yml on codelux-io/codelux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codelux-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: codelux-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 53.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codelux-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a34d5f85be7bf95301bd2d9f96380df4aaf0222706895e22eae46fa25b51845
MD5 8e99d65ee9ab0f4f3e11fb125f0f5ab4
BLAKE2b-256 f54d6cb3d785a79929e373220bc3c158481e7ab2a1fb824e01ffd596a335152d

See more details on using hashes here.

Provenance

The following attestation bundles were made for codelux-0.1.0a2-py3-none-any.whl:

Publisher: publish-pypi.yml on codelux-io/codelux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0a2 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page