revert(truncation-compaction): rollback to experimental opt-in config (#348)

This commit is contained in:
Sisyphus
2025-12-30 20:42:06 +09:00
committed by GitHub
parent 355f18d411
commit 058e6adf96
9 changed files with 62 additions and 40 deletions

View File

@@ -255,7 +255,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
const commentChecker = isHookEnabled("comment-checker")
? createCommentCheckerHooks(pluginConfig.comment_checker)
: null;
const toolOutputTruncator = isHookEnabled("tool-output-truncator")
const toolOutputTruncator = pluginConfig.experimental?.tool_output_truncator === true
? createToolOutputTruncatorHook(ctx, { experimental: pluginConfig.experimental })
: null;
const directoryAgentsInjector = isHookEnabled("directory-agents-injector")