-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: im47cn/coderocket-cli
base: main
head repository: im47cn/coderocket-cli
compare: develop
- 11 commits
- 30 files changed
- 1 contributor
Commits on Jul 31, 2025
-
im47cn committed
Jul 31, 2025 Configuration menu - View commit details
-
Copy full SHA for f1ef071 - Browse repository at this point
Copy the full SHA f1ef071View commit details
Commits on Aug 2, 2025
-
refactor: Refactor API integration and remove OpenCode service
- Removed OpenCode API configuration and related functions from api-versions.sh and opencode-service.sh. - Updated mr-generator.sh to eliminate references to OpenCode functions. - Introduced new test scripts for CodeRocket CLI, including unit tests and security tests. - Implemented security tests to validate environment variable loading and protection against code injection. - Simplified security tests to focus on core functionality without importing entire scripts.
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for ed2df6a - Browse repository at this point
Copy the full SHA ed2df6aView commit details -
fix: 修复coderocket-cli安装脚本中的重复性文案问题
- 删除install.sh中重复的ClaudeCode CLI检查逻辑 - 修复配置菜单中重复的ClaudeCode选项 - 清理install-hooks.sh中的多余空行 - 添加测试脚本验证修复效果 - 确保安装过程输出文案清晰一致 问题详情: 1. install_ai_services()函数中存在两段ClaudeCode CLI检查代码 2. 第一段使用硬编码false条件,永远不会执行 3. 配置菜单中ClaudeCode选项重复出现 4. 导致用户看到重复的'ClaudeCode CLI 未安装 (可选)'消息 修复结果: - ✅ 消除重复文案输出 - ✅ 简化配置菜单选项 - ✅ 提升用户体验 - ✅ 通过测试验证
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for 0f5fc46 - Browse repository at this point
Copy the full SHA 0f5fc46View commit details -
fix: 修复Claude CLI检测问题,使用正确的命令名'claude'
问题分析: - 脚本检测使用'claudecode'命令,但实际安装的包使用'claude'命令 - @anthropic-ai/claude-code@1.0.67 包的可执行文件名是'claude' - 导致已安装Claude CLI但检测显示未安装 修复内容: - install.sh: 将'claudecode'检测改为'claude' - install-hooks.sh: 同步修复命令检测 - lib/claudecode-service.sh: 修复CLI检测和调用逻辑 - 更新配置说明中的命令名称 验证结果: - ✅ 正确检测已安装的Claude CLI - ✅ 使用正确的命令名'claude' - ✅ 配置和调用逻辑一致 - ✅ 语法检查通过
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for fb89812 - Browse repository at this point
Copy the full SHA fb89812View commit details -
fix: 完善Claude CLI检测修复,实现真正的举一反三
问题发现: - ai-service-manager.sh 中的 check_ai_service_available() 仍使用 'claudecode' - 导致 AI服务状态检查显示 'claudecode - 未安装' - 配置命令提示也使用错误的 'claudecode config' 举一反三修复: - lib/ai-service-manager.sh: 修复服务可用性检查逻辑 - lib/ai-service-manager.sh: 修复配置命令提示 - 确保所有相关函数都使用正确的 'claude' 命令 验证结果: - ✅ AI服务状态正确显示 'claudecode - 已安装' - ✅ 配置命令提示使用 'claude config' - ✅ 所有检测逻辑统一使用 'claude' 命令 - ✅ 完整测试通过 这次真正做到了系统性排查和修复!
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for d6fc592 - Browse repository at this point
Copy the full SHA d6fc592View commit details -
新增功能: - 创建专业的卸载脚本 uninstall.sh - 支持完全移除 CodeRocket CLI 及其所有组件 - 智能检测和清理所有相关文件 卸载脚本特性: ✅ 安装目录清理 (~/.coderocket) ✅ 全局命令移除 (/usr/local/bin/*) ✅ 用户命令清理 (~/.local/bin/*) ✅ Shell 配置恢复 (.bashrc/.zshrc) ✅ Git 模板清理 (~/.git-templates) ✅ 项目 hooks 扫描清理 ✅ 残留文件清理 ✅ 配置文件备份和恢复 ✅ 交互式确认和强制模式 ✅ 详细的进度显示和错误处理 用户体验: - 彩色输出和进度指示 - 详细的卸载预览 - 安全的备份机制 - 智能的项目扫描 - 完整的帮助文档 文档更新: - 在 README.md 中添加详细的卸载说明 - 在 install.sh 中添加卸载脚本引用 - 提供多种卸载方式和注意事项 这为用户提供了完整的安装/卸载生命周期管理!
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for 4f5cf93 - Browse repository at this point
Copy the full SHA 4f5cf93View commit details -
修复内容: - 添加 BASH_SOURCE 检查,防止 source 时执行主逻辑 - 现在可以安全地 source 脚本来测试单个函数 - 保持直接执行时的完整功能不变 测试验证: - ✅ Shell 检测函数正常工作 - ✅ 配置文件路径函数正常工作 - ✅ 帮助功能正常显示 - ✅ 安装状态检测准确 - ✅ 所有语法检查通过 新增测试脚本: - 添加 test-uninstall.sh 用于验证卸载功能 - 包含语法检查、函数测试、权限检查等 这确保了卸载脚本的稳定性和可测试性!
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for adf1853 - Browse repository at this point
Copy the full SHA adf1853View commit details -
新增内容: - 创建 UNINSTALL_GUIDE.md 详细卸载指南 - 包含多种卸载方式和选项说明 - 详细列出所有卸载内容和安全特性 - 提供故障排除和重新安装指导 文档特色: 📋 完整的卸载内容清单 🛡️ 安全特性和备份机制说明 ⚡ 快速卸载和强制卸载选项 🔍 卸载预览示例 📝 详细的使用选项
⚠️ 重要注意事项 🆘 故障排除指南 为用户提供了完整的卸载生命周期文档!im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for dea703d - Browse repository at this point
Copy the full SHA dea703dView commit details -
im47cn committed
Aug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for c5cca41 - Browse repository at this point
Copy the full SHA c5cca41View commit details -
feat: 添加增强卸载功能总结和详细卸载指南,支持智能项目扫描和多种清理模式
im47cn committedAug 2, 2025 Configuration menu - View commit details
-
Copy full SHA for 401a4d7 - Browse repository at this point
Copy the full SHA 401a4d7View commit details
Commits on Aug 3, 2025
-
feat: 添加 CodeRabbit Pull Request Reviews 徽章到 README
im47cn committedAug 3, 2025 Configuration menu - View commit details
-
Copy full SHA for 7b6dcd8 - Browse repository at this point
Copy the full SHA 7b6dcd8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...develop