claude-code-best/src/cli
claude-code-best e1d171eb53 fix: 修复内存溢出问题,compact 时清理持久增长数据结构
- compact 时清理 contentReplacementState(seenIds/replacements)
- logError() 使用 shortErrorStack 替代完整 err.stack,减少 GC 压力
- permissionDenials 每次 submitMessage 清空,防止无限增长
- SSE 缓冲区添加 1MB 上限,防止畸形数据无限累积

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 22:24:18 +08:00
..
bg style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
handlers style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
transports fix: 修复内存溢出问题,compact 时清理持久增长数据结构 2026-05-01 22:24:18 +08:00
bg.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
exit.ts feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
ndjsonSafeStringify.ts feat: build 2026-03-31 19:22:47 +08:00
print.ts refactor: 简化/复用/防御 — 清理 PR #386 审计发现 2026-04-29 13:23:41 +00:00
remoteIO.ts feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-04-17 16:21:27 +08:00
rollback.ts Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
structuredIO.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
up.ts Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
update.ts feat: build 2026-03-31 19:22:47 +08:00
updateCCB.ts feat: 添加 ccb update 命令,支持 npm/bun 自动更新 2026-04-20 22:35:57 +08:00