revert(dcp-for-compaction): move back to experimental config from hook (#346)

This commit is contained in:
Sisyphus
2025-12-30 20:27:19 +09:00
committed by GitHub
parent 47234fb0c1
commit 1c7b5c7bb4
7 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
const anthropicContextWindowLimitRecovery = isHookEnabled("anthropic-context-window-limit-recovery")
? createAnthropicContextWindowLimitRecoveryHook(ctx, {
experimental: pluginConfig.experimental,
dcpForCompaction: isHookEnabled("dcp-for-compaction"),
dcpForCompaction: pluginConfig.experimental?.dcp_for_compaction,
})
: null;
const compactionContextInjector = createCompactionContextInjector();