@@ -12,10 +12,10 @@ import {
|
12 | 12 | } from "./run-timeout-attribution.js"; |
13 | 13 | |
14 | 14 | /** Wait status reported by agent run terminal wait paths. */ |
15 | | -export type AgentRunWaitStatus = "ok" | "error" | "timeout"; |
| 15 | +type AgentRunWaitStatus = "ok" | "error" | "timeout"; |
16 | 16 | |
17 | 17 | /** Normalized terminal reason for an agent run. */ |
18 | | -export type AgentRunTerminalReason = |
| 18 | +type AgentRunTerminalReason = |
19 | 19 | | "completed" |
20 | 20 | | "hard_timeout" |
21 | 21 | | "timed_out" |
@@ -38,7 +38,7 @@ export type AgentRunTerminalOutcome = {
|
38 | 38 | }; |
39 | 39 | |
40 | 40 | /** Raw terminal input collected from run wait/liveness/timeout paths. */ |
41 | | -export type AgentRunTerminalInput = { |
| 41 | +type AgentRunTerminalInput = { |
42 | 42 | status: AgentRunWaitStatus; |
43 | 43 | error?: unknown; |
44 | 44 | stopReason?: unknown; |
@@ -50,7 +50,7 @@ export type AgentRunTerminalInput = {
|
50 | 50 | }; |
51 | 51 | |
52 | 52 | /** Terminal wait input where pending/unknown status may still be present. */ |
53 | | -export type AgentRunTerminalWaitInput = Omit<AgentRunTerminalInput, "status"> & { |
| 53 | +type AgentRunTerminalWaitInput = Omit<AgentRunTerminalInput, "status"> & { |
54 | 54 | status?: unknown; |
55 | 55 | }; |
56 | 56 | |
@@ -71,7 +71,7 @@ export function isHardAgentRunTimeoutPhase(value: unknown): value is AgentRunTim
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** True when an existing outcome is a hard timeout. */ |
74 | | -export function isHardAgentRunTimeoutOutcome( |
| 74 | +function isHardAgentRunTimeoutOutcome( |
75 | 75 | outcome: AgentRunTerminalOutcome | undefined | null, |
76 | 76 | ): boolean { |
77 | 77 | return outcome?.reason === "hard_timeout"; |
|