添加 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>
26 lines
967 B
Markdown
26 lines
967 B
Markdown
# TODO
|
|
|
|
尽可能实现下面的包, 使得与主包的关系完全吻合
|
|
|
|
## Packages
|
|
|
|
- [x] `url-handler-napi` — URL 处理 NAPI 模块 (签名修正,保持 null fallback)
|
|
- [x] `modifiers-napi` — 修饰键检测 NAPI 模块 (Bun FFI + Carbon)
|
|
- [x] `audio-capture-napi` — 音频捕获 NAPI 模块 (SoX/arecord)
|
|
- [x] `color-diff-napi` — 颜色差异计算 NAPI 模块 (纯 TS 实现)
|
|
- [x] `image-processor-napi` — 图像处理 NAPI 模块 (sharp + osascript 剪贴板)
|
|
|
|
<!-- - [ ] `@ant/computer-use-swift` — Computer Use Swift 原生模块
|
|
- [ ] `@ant/computer-use-mcp` — Computer Use MCP 服务
|
|
- [ ] `@ant/computer-use-input` — Computer Use 输入模块
|
|
- [ ] `@ant/claude-for-chrome-mcp` — Chrome MCP 扩展 -->
|
|
|
|
## 工程化能力
|
|
|
|
- [x] 代码格式化与校验
|
|
- [ ] 冗余代码检查
|
|
- [x] git hook 的配置
|
|
- [ ] 代码健康度检查
|
|
- [x] 单元测试基础设施搭建 (test runner 配置)
|
|
- [ ] CI/CD 流水线 (GitHub Actions)
|