Private
Public Access
1
0
Commit Graph

26 Commits

Author SHA1 Message Date
87fb54d4b1 feat: 更新 Codex 配置格式
配置变更:
- model: gpt-5.1-codex -> gpt-5-codex
- base_url: https://www.xcodecli.com/openai (固定)
- 新增 disable_response_storage, preferred_auth_method, requires_openai_auth
- env_key: OPENAI_API_KEY -> XCODECLI_OAI_KEY
- auth.json 中 OPENAI_API_KEY 设为 null

环境变量:
- 使用 XCODECLI_OAI_KEY 替代 OPENAI_API_KEY

清理:
- 移除不再需要的多端点测试逻辑
- 移除 DEFAULT_BASE_URL 变量

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:27:05 +08:00
47139e0b9c feat: 添加环境变量写入功能
- Claude Code: 写入 ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN
- Codex: 写入 OPENAI_API_KEY, OPENAI_BASE_URL
- Bash 脚本: 自动检测 shell 配置文件 (.bashrc/.zshrc/.profile)
- PowerShell 脚本: 使用 [Environment]::SetEnvironmentVariable 设置用户环境变量
- 添加 API key 格式验证
- 修复文件末尾换行问题,使用单引号包裹值更安全

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:16:58 +08:00
54dac51e3a fix: bun 安装时自动创建 node 符号链接 2025-12-12 11:47:40 +08:00
5703c163f7 feat: 配置完成后提示刷新 PATH 2025-12-12 11:45:46 +08:00
9a26a03f88 fix: 安装 Bun 前检测 unzip 依赖 2025-12-12 11:43:48 +08:00
36a96d4551 fix: 修复包管理器检测,info 输出到 stderr 2025-12-12 11:04:55 +08:00
b068678cf3 fix: 确保 PATH 包含 bun 路径 2025-12-12 11:03:43 +08:00
6f623d96de chore: 移动 API 密钥提示到顶部 2025-12-12 11:01:07 +08:00
49c95c94ae feat: 添加 API 密钥获取指引 2025-12-12 11:00:20 +08:00
54f3ea01e2 feat: setup.sh 添加工具选择菜单 2025-12-12 10:58:30 +08:00
23bc543fd1 chore: 更新 Pages 项目名为 docs-xcodecli
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 35s
2025-12-12 10:44:42 +08:00
9007227bd3 feat: 添加手动触发 CI 支持
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 1m9s
2025-12-12 10:37:12 +08:00
c97d3fbdbb feat: 添加 VitePress 文档站和 Gitea CI 部署
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
- 新增 docs/ 目录,使用 VitePress 构建文档站
- 添加 .gitea/workflows/deploy.yaml,部署到 Cloudflare Pages
- 新增 setup.sh 一站式安装脚本(兼容 macOS bash 3.x)
- 修复 Gemini CLI 脚本认证头(改用 Authorization: Bearer)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 10:25:37 +08:00
2314140bce feat: 增强三个 CLI 工具配置脚本
- Gemini CLI: 添加 GEMINI_MODEL 环境变量、settings.json 输出及备份逻辑
- Codex: 修复模型名称一致性 (gpt-5-codex)、添加 auth.json 备份逻辑
- Claude Code: 添加 VSCode 插件 config.json 配置支持
- CLAUDE.md: 重构文档,添加三个工具配置差异表

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 18:15:54 +08:00
badf8e6bb6 feat: 重构 setup.ps1 为一站式安装配置脚本
- 新增包管理器检测(Node.js/npm 和 Bun)
- 新增 Bun 安装引导功能
- 新增工具安装功能(通过 npm/bun 安装 CLI 工具)
- 支持从远程下载并执行配置脚本
- 移除 Claude Code 配置中的默认 model 设置
2025-12-05 18:38:34 +08:00
13c6e92df6 feat: 添加 Claude Code、Gemini CLI、Codex 配置脚本
- ClaudeCode/: Claude Code 配置脚本
- GeminiCLI/: Gemini CLI 配置脚本
- codex/: Codex 配置脚本

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 16:27:20 +08:00
ccb67cc995 feat: 添加 Windows 交互式启动脚本
添加 setup.ps1,使用 Get-Command 检测 claude、gemini、codex 是否已安装,
显示安装状态后启动对应的配置脚本。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 16:26:34 +08:00
ca8c5d5ff5 fix: reorder API endpoint testing sequence in scripts and documentation 2025-12-04 13:30:21 +08:00
dbea04aa17 fix: update API endpoint from newapi.sususu.cf to api2.xcodecli.com in scripts and documentation 2025-11-12 16:13:58 +08:00
a6a3bb5388 docs: improve README formatting and clarity 2025-11-03 17:39:06 +08:00
b6b5f01f1b docs: enhance CLAUDE.md with smart features and quick setup 2025-11-03 17:26:58 +08:00
a2abc11082 fix(script): redirect output to stderr and improve JSON creation 2025-11-03 17:26:50 +08:00
82153a5386 fix: Improve API endpoint testing and selection 2025-11-03 17:16:02 +08:00
6a37f69bf6 refactor: Remove BaseUrl parameter and update API connection testing logic 2025-11-03 17:05:33 +08:00
882d9ba859 docs: Standardize XCodeCLI casing in setup script 2025-11-03 12:07:43 +08:00
187938515d 初始化 2025-11-03 11:46:18 +08:00