From c92f366c14175d480bdaa67d43d946666058b36c Mon Sep 17 00:00:00 2001 From: Vincent Koc <25068+vincentkoc@users.noreply.github.com> Date: Mon, 22 Jun 2026 11:57:28 +0800 Subject: [PATCH] fix(ci): repair main validation gates --- .../embedded-agent-runner/tool-result-context-guard.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/agents/embedded-agent-runner/tool-result-context-guard.ts b/src/agents/embedded-agent-runner/tool-result-context-guard.ts index 4e44d69d512b..02dc292ced36 100644 --- a/src/agents/embedded-agent-runner/tool-result-context-guard.ts +++ b/src/agents/embedded-agent-runner/tool-result-context-guard.ts @@ -52,6 +52,11 @@ type MidTurnPrecheckOptions = { onMidTurnPrecheck?: (request: MidTurnPrecheckRequest) => void; }; +export { + CONTEXT_LIMIT_TRUNCATION_NOTICE, + formatContextLimitTruncationNotice, +} from "./context-truncation-notice.js"; + export function markTranscriptPromptText(message: AgentMessage, text: string): void { Object.defineProperty(message, TRANSCRIPT_PROMPT_TEXT_KEY, { configurable: true,