claude-code-best/scripts
Askhz 9062511428 fix: 禁用 CONTEXT_COLLAPSE 修复自动压缩不触发的问题
CONTEXT_COLLAPSE 是空壳 stub,启用后会在 shouldAutoCompact() 中抑制
autocompact,但自身的 collapse 能力并未实现,导致上下文超限后不会触发
自动压缩,一直涨到 API 返回 413 硬报错。

上游已在 0290fe32 修复,CSC 在合并 upstream/main v2.4.2 时漏掉了这个
变更。此次修复与上游一致:注释掉 defines.ts 和 dev.ts 中的
CONTEXT_COLLAPSE feature flag。

Co-Authored-By: CoStrict-DeepSeek-V4-Pro <deepseek-ai@claude-code-best.win>
2026-05-18 16:11:19 +08:00
..
auto-rebase.ts fix: 清理 main 分支的 stub .js 文件,恢复有 .ts 源文件的命令模块 2026-05-13 10:36:04 +08:00
check-bundle-integrity.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
defines.ts fix: 禁用 CONTEXT_COLLAPSE 修复自动压缩不触发的问题 2026-05-18 16:11:19 +08:00
dev-debug.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
dev.ts fix: 禁用 CONTEXT_COLLAPSE 修复自动压缩不触发的问题 2026-05-18 16:11:19 +08:00
dump-prompt.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
generate-review-builtin.ts fix(utils): replace using syntax with withDisposable for node v20 compatibility 2026-05-14 20:48:37 +08:00
generate-skills.ts chore: 清理临时 rebase 脚本 2026-05-13 10:29:34 +08:00
install-cosknow.mjs fix: install cosknow globally to always fetch latest version 2026-04-24 19:09:52 +08:00
post-build.ts build: Vite 单文件构建 + 修复 doubaoime-asr 打包后 WASM 加载失败 2026-05-03 16:13:20 +08:00
postinstall.cjs fix(windows): prevent terminal startup failures 2026-05-14 17:07:51 +08:00
probe-local-wiring.ts feat: 注册所有新命令到命令系统和工具注册表 2026-05-09 23:04:39 +08:00
probe-subscription-endpoints.ts fix: 进一步脱敏 probe-subscription-endpoints 日志中的 orgUUID 2026-05-10 13:14:22 +08:00
rcs-ccb.sh chore: 更新构建 feature 的问题 2026-04-19 08:27:25 +08:00
rcs.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
run-parallel.mjs style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
setup-chrome-mcp.mjs style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
smoke-test-commands.ts feat: 注册所有新命令到命令系统和工具注册表 2026-05-09 23:04:39 +08:00
verify-autofix-pr.ts feat: 添加 GitHub 集成命令(issue、share、autofix-pr) 2026-05-09 23:04:23 +08:00
vite-plugin-feature-flags.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00
vite-plugin-import-meta-require.ts style: 完成所有文件的lint 2026-05-01 21:39:30 +08:00