claude-code-best/docs
claude-code-best b7bbbeb039 fix: 优化内存峰值与 CPU 性能,降低 100-300MB 内存占用
- claude.ts: 流式字符串拼接从 O(n²) += 改为数组累积 join,消除 4 处热点
- Messages.tsx: 合并 3 组独立遍历为单次 pass(thinking/bash 查找、3-filter 链、divider/selectedIdx)
- HighlightedCode.tsx: ColorFile 实例添加模块级 LRU 缓存(50 条),避免重复创建
- screen.ts: StylePool 衍生缓存添加 1000 条上限淘汰,防止无界增长
- CompanionSprite.tsx: TICK_MS 从 500ms 提升至 1000ms,减少 setState 频率
- connection.ts: MCP stderr 缓冲从 64MB 降至 8MB
- stringUtils.ts: MAX_STRING_LENGTH 从 32MB 降至 2MB
- sessionStorage.ts: Transcript 写入队列添加 1000 条上限
- query.ts: spread 改 concat 减少一次数组拷贝
- PromptInputFooterLeftSide.tsx: 显示进程 pid 便于调试

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-04 12:36:59 +08:00
..
agent docs: 文档更新 2026-04-01 16:43:45 +08:00
context docs: fix documentation deviations from source code (#220) 2026-04-09 17:53:11 +08:00
conversation docs: fix documentation deviations from source code (#220) 2026-04-09 17:53:11 +08:00
extensibility docs: fix documentation deviations from source code (#220) 2026-04-09 17:53:11 +08:00
features feat: enable GrowthBook local gate defaults for P0/P1 features 2026-04-06 17:00:30 +08:00
images docs: 更新文档, 加上配图 2026-04-01 11:14:20 +08:00
internals docs: 添加文档 2026-04-03 11:52:14 +08:00
introduction docs: 文档优化完成 2026-04-01 17:18:48 +08:00
logo docs: 尝试修复 docs 的位置 2026-04-01 10:09:00 +08:00
plans 分离OpenAI和Anthropic模型的环境变量 2026-04-05 03:31:06 +08:00
safety 完善沙箱文档 (#195) 2026-04-08 16:49:24 +08:00
test-plans docs: 完成新版测试文档 2026-04-02 17:37:06 +08:00
tools Apply FileRead memory caps 2026-06-01 20:38:51 +08:00
auto-updater.md feat: 关闭自动更新 2026-04-03 09:39:32 +08:00
CC_Pure_cleanup_plan.md feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
external-dependencies.md feat: 添加 测试 agent 及一些文档 2026-04-03 19:27:23 +08:00
favicon.svg docs: 尝试修复 docs 的位置 2026-04-01 10:09:00 +08:00
feature-exploration-plan.md docs: 添加一大堆 feature 的描述 2026-04-02 22:52:32 +08:00
feature-flags-audit-complete.md feat: enable SHOT_STATS, PROMPT_CACHE_BREAK_DETECTION, TOKEN_BUDGET feature flags 2026-04-05 21:07:38 +08:00
lsp-integration.md docs: 调整文档 2026-04-03 19:56:35 +08:00
memory-peak-analysis.md fix: 优化内存峰值与 CPU 性能,降低 100-300MB 内存占用 2026-06-04 12:36:59 +08:00
openai-task-tools.md Fix bug OpenAI tooluse,Improve error messaging for deferred-loading tools under OpenAI‑compatible models. (#199) 2026-04-08 18:08:59 +08:00
performance-reporter.md feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
projects-collection.md docs: 更新文档 2026-04-03 20:23:51 +08:00
REVISION-PLAN.md docs: 完成大量文档 2026-04-01 14:44:21 +08:00
telemetry-cleanup-audit.md docs: 添加遥测清理审计报告 (CC_Pure) 2026-06-01 11:55:15 +08:00
telemetry-remote-config-audit.md feat: 关闭 Datadog 日志发送 2026-04-03 09:49:59 +08:00
testing-spec.md test: 新增一波测试文件 2026-04-02 16:21:24 +08:00
typecheck-baseline.md chore(typecheck-green): fix 28 tsc errors — baseline 62→34 2026-06-02 10:16:40 +08:00
ultraplan-implementation.md docs: 添加一大堆 feature 的描述 2026-04-02 22:52:32 +08:00