Commit Graph

20 Commits

Author SHA1 Message Date
weiqianpu
cf1707bbb0 feat: 开源发布 — 完整 README、MIT 许可证、22+ 大模型厂商支持
- 重写 README.md:项目简介、快速开始、22+ 厂商列表、功能特性、架构说明、配置指南、FAQ、贡献指南
- 新增 MIT LICENSE
- 包含全部源码与文档
2026-04-02 02:34:24 +00:00
claude-code-best
c5b55c1bf9 docs: 完成大量文档 2026-04-01 14:44:21 +08:00
claude-code-best
9a57642d3a feat: 完成最新的可构建版本 2026-04-01 10:42:53 +08:00
claude-code-best
604110272f docs: 尝试修复 docs 的位置 2026-04-01 10:09:00 +08:00
claude-code-best
65d7f1994c chore: 调整配置 2026-04-01 09:52:43 +08:00
claude-code-best
30e863c9b8 fix: 调优 Biome lint 规则,关闭 formatter 避免大规模代码变更
- 关闭 formatter 和 organizeImports(保持原始代码风格,减少 git diff)
- lint/format script 改为 biome lint(只做规则检查)
- 新增关闭规则:noConsole, noArrayIndexKey, noConfusingLabels,
  useIterableCallbackReturn, noVoidTypeReturn, noConstantCondition,
  noUnusedFunctionParameters, noUselessEmptyExport, useArrowFunction,
  useLiteralKeys, useImportType, useNodejsImportProtocol
- 零源码改动,仅调整配置文件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 07:34:29 +08:00
claude-code-best
173d18bea8 feat: 添加代码健康度检查脚本
scripts/health-check.ts 汇总项目各维度指标:
代码规模、lint 问题、测试结果、冗余代码、构建状态和产物大小。
新增 health script 一键运行。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 07:17:09 +08:00
claude-code-best
c587a64320 feat: 添加 knip 冗余代码检查工具
配置 knip.json 检测未使用的文件、exports、依赖等。
新增 check:unused script,运行 knip-bun 扫描死代码。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 04:57:34 +08:00
claude-code-best
e443a8fa51 feat: 搭建单元测试基础设施 — Bun test runner + 示例测试
添加 bunfig.toml 配置、test script,以及三组示例测试:
- src/utils/array.ts (intersperse, count, uniq)
- src/utils/set.ts (difference, intersects, every, union)
- packages/color-diff-napi (ansi256FromRgb, colorToEscape, detectLanguage 等)

41 tests, 0 failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 02:08:38 +08:00
claude-code-best
4319afc08f feat: 配置 git pre-commit hook — 提交前自动运行 Biome 检查
使用 .githooks/ 目录 + core.hooksPath 方案,零依赖。
prepare script 确保 bun install 后自动激活。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 01:44:55 +08:00
claude-code-best
074ea844dc feat: 配置 Biome 代码格式化与校验工具
添加 biome.json 配置(formatter + linter + organizeImports),
.editorconfig 统一编辑器配置,package.json 新增 lint/format scripts。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 01:40:27 +08:00
claude-code-best
fac9341e73 feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除
- 修复所有 33 个原始 tsc 编译错误(ink JSX 声明、类型不匹配、null check 等)
- 清理 176 处 `: any` 类型标注,全部替换为具体推断类型
- 修复清理过程中引入的 41 个回归错误
- 最终结果:0 tsc 错误,0 个非注释 any 标注
- Build 验证通过(25.75MB bundle)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 01:00:10 +08:00
claude-code-best
dd9cd782a7 feat: 问就是封包 2026-03-31 23:32:58 +08:00
claude-code-best
4c0a655a1c feat: 大规模清理 claude 的类型问题及依赖 2026-03-31 22:21:35 +08:00
claude-code-best
c4d92178b7 feat: 完成大部分操作 2026-03-31 21:40:37 +08:00
claude-code-best
3d4cb096d1 feat: monorepo 构建完成 2026-03-31 21:21:46 +08:00
claude-code-best
bd756cc369 feat: 完成stub 2026-03-31 20:40:16 +08:00
claude-code-best
c26d614fb2 feat: 调整依赖 2026-03-31 20:05:39 +08:00
claude-code-best
8fc3ddb63a feat: 补全依赖 2026-03-31 19:35:33 +08:00
claude-code-best
f90eee85d8 feat: build 2026-03-31 19:22:47 +08:00