Private
Public Access
1
0
Commit Graph

53 Commits

Author SHA1 Message Date
2dfc1b9729 chore: trigger ci
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 46s
2026-03-10 00:23:35 +08:00
3f5c7b5b1c chore: trigger redeploy 2026-03-10 00:21:04 +08:00
f4247532b4 fix: optimize xcodeclaw page hero layout, outline nav, and comparison table 2026-03-10 00:12:17 +08:00
0b02d46bf7 feat: 图片点击放大支持 (medium-zoom)
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 42s
2026-03-09 23:42:32 +08:00
ca5f596590 fix: 首页改推 OpenClaw,修复 xcodeclaw 页面 showcase 渲染问题
- 首页 hero 按钮和 feature 卡片从 Cherry Studio 改为 OpenClaw(飞书优先)
- Cherry Studio 移入侧边栏「快速开始」分组,移除空的「参考」分组
- 修复 xcodeclaw.md 学术场景 showcase 区块因空行+缩进被解析为代码块的问题
- CTA 背景渐变改用主题变量,适配深色模式
2026-03-09 23:40:00 +08:00
59a0d78801 feat: 添加 XCodeClaw 飞书机器人配置指南与产品介绍页
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 43s
2026-03-09 23:06:38 +08:00
32e7070bed feat: 首页添加 API 端点一览卡片,修复模板转义错误
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 44s
- 在首页 hero 下方添加 GPT/Claude/Gemini 三个 API 端点卡片
- 使用 String.raw 修复 PowerShell 命令中 \xc 无效转义序列
- 开发服务器端口改为 9527
2026-03-09 15:37:26 +08:00
34c950057c refactor: Claude Code 安装方式从官方原生脚本改为 npm install
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 11s
国内用户无法访问 claude.ai/install.sh,统一三个工具的安装路径:
- 移除 setup.sh/ps1 中 Claude Code 的特殊安装分支
- ClaudeCode 独立脚本添加 Node.js/fnm 检测安装函数链
- 三个工具均使用 npm install -g 安装 (需要 Node.js >= 20)
- 更新 CLAUDE.md 和文档中的安装说明
2026-02-28 19:38:00 +08:00
f1ab858212 fix: 改用下载到文件再执行,修复中文乱码
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 11s
根因: irm/iwr 文本解码时将 UTF-8 中文替换为 ?,
字符串在进入 iex 之前就已损坏。
改用 iwr -OutFile 写入原始字节到临时文件再执行,
绕过文本解码链路,彻底修复编码问题。
2026-02-28 17:43:02 +08:00
b07c61aa9d fix: 将 iwr|iex 替换为 iex(irm) 修复中文乱码
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 41s
iwr -useb URL | iex 管道传递 response 对象时,
ToString() 转换会丢失 Unicode 中文字符。
改用 irm (Invoke-RestMethod) 直接返回字符串内容,
避免对象到字符串的管道转换损坏。
2026-02-28 17:00:45 +08:00
fb5be7563a fix: 修复 setup.ps1 中 catch 块缺少闭合大括号 2026-02-28 15:59:26 +08:00
fd79e8906b chore: 移除误提交的截图文件 2026-02-28 15:56:34 +08:00
3e5676872d fix: 移除 BOM 并增强 UTF-8 编码修复
- 移除 UTF-8 BOM (BOM 会破坏 iwr|iex 管道导致 param() 报错)
- 去掉 $Host.Name 守卫,无条件设置 Console 编码 (try/catch 兜底)
- chcp 65001 先于 Console.OutputEncoding 设置,确保代码页一致
2026-02-28 15:56:21 +08:00
43ecabf759 fix: 修复 PowerShell 脚本中文乱码问题
- 在所有 .ps1 脚本中添加 UTF-8 编码兼容块
  (Console OutputEncoding/InputEncoding + chcp 65001)
- 兼容 Windows PowerShell 5.x, PS 7.x, Windows Terminal, conhost, ISE
- 添加 UTF-8 BOM 确保本地执行时编码正确识别
- try/catch 静默处理不支持 Console 类的环境
2026-02-28 15:49:27 +08:00
6bbc2cfac8 fix: npm 安装后增加 command -v 验证,更新 Claude Code FAQ 为原生安装器说明
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 37s
2026-02-25 17:39:52 +08:00
7c4d947400 docs: 更新 API 分组说明、客户端推荐及重启终端提醒
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 1m4s
- 文档新增 ccmax/cc2api 分组说明:cc2api 推荐优先使用(Claude 系列,无客户端限制),ccmax 仅限 Claude Code
- 推荐 OpenCode、OpenClaw 作为 cc2api 客户端,GPT 模型推荐 v1/responses 端点
- Cherry Studio 兼容性说明更新:支持所有模型,仅 ccmax 分组 Claude 模型不可用
- 所有脚本重启终端提示改为中文
- 三个工具文档页及快速开始页添加重启终端 warning 框
2026-02-25 17:13:22 +08:00
a443b11326 添加 AGENTS.md 符号链接指向 CLAUDE.md 2026-02-25 16:38:09 +08:00
aea92bc1ec 更新首页与指南文档
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 33s
2025-12-26 15:54:28 +08:00
d8440a1ccf fix: replace claude setup symlinks with files 2025-12-26 15:32:05 +08:00
096437cc8d feat: 更新文档配置,添加 Cherry Studio 配置链接
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 42s
- 在参考部分添加 Cherry Studio 配置的链接
- 移除 API 端点和常见问题的注释项
2025-12-19 18:00:52 +08:00
27ec4a2d38 refactor: 简化 shell 检测,仅支持 bash 和 zsh
- 移除 fish shell 支持
- 其他 shell 显示不支持错误并退出
- 简化 write_env_to_shell 函数

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 14:03:00 +08:00
9fee340a85 format 2025-12-12 13:59:42 +08:00
edd8ce3245 perf: 优化系统依赖安装,一次性安装所有缺失依赖
将 install_sys_dep 改为 install_sys_deps,支持批量安装,
例如 `apt-get install -y curl unzip jq` 而非逐个安装。

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:56:34 +08:00
e2d0b555b5 feat: 添加启动新 shell 会话的提示
在配置完成后询问用户是否启动新的 shell 会话,
以使环境变量立即生效,解决 "command not found" 问题。

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:54:45 +08:00
d2a996df1b feat: 自动检测并安装系统依赖 (curl, unzip, jq)
- 添加 get_sys_pkg_manager() 检测系统包管理器 (apt/yum/dnf/apk/brew/pacman)
- 添加 install_sys_dep() 自动安装单个依赖
- 添加 check_system_deps() 检测并自动安装缺失的 curl, unzip, jq
- 在 main() 开头调用依赖检测
- 简化 install_bun() 移除重复的 unzip 检测

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:51:33 +08:00
af49600718 feat: 自动刷新环境变量并验证工具可用性
- 添加 get_shell_rc() 检测用户 shell 配置文件
- 添加 reload_env() 从配置文件加载环境变量
- 配置完成后自动刷新环境变量
- 验证每个工具是否可用并显示状态
- 如果工具不可用,提示用户执行 source 命令

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:47:58 +08:00
8921665127 fix: 恢复 Codex 动态端点测试
- base_url: 恢复动态测试 api2.xcodecli.com 和 api.xcodecli.com
- model: 恢复为 gpt-5.1-codex
- 保留其他新配置项 (disable_response_storage, requires_openai_auth 等)
- 保留 XCODECLI_OAI_KEY 环境变量

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 13:30:27 +08:00
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