claude-code-best
|
d35f0db17d
|
fix: highlight 缓存改用 LRUCache 降低内存开销
- Fallback.tsx: 手动 Map LRU 替换为 lru-cache 的 LRUCache
- Markdown.tsx: tokenCache 同样替换为 LRUCache
- color-diff-napi: 新增行级 hljs AST 缓存,避免终端 resize 时重复高亮
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-06-04 12:37:11 +08:00 |
|
James Feng
|
fa954535b0
|
chore(typecheck-green): fix 28 tsc errors — baseline 62→34
Quick wins:
- Export ToolResultBlockParam from Tool.ts (fixes 14 errors)
- Add 'xhigh' to EffortLevel Union types in settings/schemas (fixes 3)
- Fix color-diff test: add null second arg to detectLanguage (fixes 6)
- Add typed params to keychain stub (fixes 5)
- Create stubs: searchExtraTools.ts, toolIndex.ts (fixes 4)
- Add CORE_TOOLS set export to constants/tools.ts (fixes 1)
Remaining: 34 errors across 10 categories (ACP, SendMessageTool TCP, ListPeersTool UDS, acp-link, etc.)
|
2026-06-02 10:16:40 +08:00 |
|
sobird
|
c16fc62877
|
chore: update
|
2026-04-05 09:12:48 +08:00 |
|
sobird
|
d3a607e4e5
|
fix: 修复代码不能在终端高亮的问题
highlight.js v11 result = hljs().highlight(); 已经不存在result.emitter,使用result._emitter替代
|
2026-04-05 01:37:21 +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
|
dd9cd782a7
|
feat: 问就是封包
|
2026-03-31 23:32:58 +08:00 |
|
claude-code-best
|
3d4cb096d1
|
feat: monorepo 构建完成
|
2026-03-31 21:21:46 +08:00 |
|