Commit Graph

5 Commits

Author SHA1 Message Date
b82f1caf0b chore: 添加 .oxfmtrc.json 并格式化全部代码 2026-06-09 14:22:33 +08:00
bfa0f29dd5 refactor: 修复代码审查发现的问题
- Bug修复: formatChangeStatus 使用实际配置而非 defaultConfig
- 统一 assembler 中所有错误抛出为 CommandError
- 提取 writeIfChanged 到 adapters/utils.ts,消除 claude-code/opencode 重复代码
- 导出 SUPPORTED_TOOLS,cli.ts update 命令复用同一工具注册表
- 提取 mapError/mapCacError 函数,支持单元测试
- 补充 claude-code 适配器测试(10 个用例)
- 补充 validateChangeName、formatChangeStatus、suggestNextStep、mapError 单元测试(18 个用例)
- 共新增 3 个测试文件,测试从 96 增至 133,全部通过
2026-06-09 12:57:28 +08:00
f257ccbe4a feat: 新增 rune update 命令用于更新编辑器配置 2026-06-09 12:39:10 +08:00
4ea60f7679 feat: claude-code command 文件加 rune- 前缀 2026-06-08 18:38:48 +08:00
7530a5a743 feat: OpenCode 和 Claude Code 适配器及测试 2026-06-08 17:24:24 +08:00