Merge pull request #1580 from pikasTech/fix/1555-read-side-helper-export

修复 AgentRun 读侧刷新 guard 导出
This commit is contained in:
Lyon
2026-06-19 04:57:54 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -496,7 +496,7 @@ function agentRunCommandResultSyncRequired(mapped = {}, eventsResponse = null) {
return Boolean(agentRunTerminalStatusFromEvents(eventsResponse?.events));
}
function agentRunTerminalResultRefreshSatisfied(mapped = {}, traceId = null) {
export function agentRunTerminalResultRefreshSatisfied(mapped = {}, traceId = null) {
const safeId = safeTraceId(traceId ?? mapped?.traceId);
const agentRun = mapped?.agentRun && typeof mapped.agentRun === "object" ? mapped.agentRun : null;
const traceSummary = mapped?.traceSummary && typeof mapped.traceSummary === "object" ? mapped.traceSummary : null;
+1
View File
@@ -9,6 +9,7 @@ import {
cancelAgentRunChatTurn,
codeAgentAgentRunAdapterEnabled,
initialAgentRunChatResult,
agentRunTerminalResultRefreshSatisfied,
loadPersistedAgentRunResult,
steerAgentRunChatTurn,
submitAgentRunChatTurn,