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 048ed36120
commit 355f18d411
7 changed files with 15 additions and 16 deletions

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();