From 5b19f83040ab11d06e1771a112599141ef6c0cb8 Mon Sep 17 00:00:00 2001 From: Askhz <1361267452@qq.com> Date: Mon, 18 May 2026 16:49:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E7=94=A8=20build.ts=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20CONTEXT=5FCOLLAPSE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 与 defines.ts 和 dev.ts 保持一致,构建产物中也不再启用空壳 CONTEXT_COLLAPSE,恢复 autocompact 正常工作。 Co-Authored-By: CoStrict-DeepSeek-V4-Pro --- build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ts b/build.ts index 5a2ad896e..4c3717d65 100644 --- a/build.ts +++ b/build.ts @@ -48,7 +48,7 @@ const DEFAULT_BUILD_FEATURES = [ // PR-package restored features 'WORKFLOW_SCRIPTS', 'HISTORY_SNIP', - 'CONTEXT_COLLAPSE', + // 'CONTEXT_COLLAPSE', // 已禁用:实现是空壳 stub,启用后会抑制 auto compact 导致上下文管理完全失效 'MONITOR_TOOL', 'FORK_SUBAGENT', // 'UDS_INBOX',