diff --git a/src/agents/embedded-agent-runner/run/attempt-session.ts b/src/agents/embedded-agent-runner/run/attempt-session.ts index ca1fadb6f1cf..c82a097047ff 100644 --- a/src/agents/embedded-agent-runner/run/attempt-session.ts +++ b/src/agents/embedded-agent-runner/run/attempt-session.ts @@ -6,7 +6,7 @@ import type { CreateAgentSessionOptions } from "../../sessions/index.js"; /** * Session construction bridge for embedded-attempt runs. */ -export type EmbeddedAgentSessionOptions = { +type EmbeddedAgentSessionOptions = { cwd: string; agentDir: string; authStorage: unknown; diff --git a/src/agents/embedded-agent-runner/run/attempt-trajectory-status.ts b/src/agents/embedded-agent-runner/run/attempt-trajectory-status.ts index 1327888fdfb2..d0ef5e44dc05 100644 --- a/src/agents/embedded-agent-runner/run/attempt-trajectory-status.ts +++ b/src/agents/embedded-agent-runner/run/attempt-trajectory-status.ts @@ -6,13 +6,13 @@ import { type AcceptedSessionSpawn, } from "../../accepted-session-spawn.js"; -export type AttemptTrajectoryTerminalStatus = "success" | "error" | "interrupted"; +type AttemptTrajectoryTerminalStatus = "success" | "error" | "interrupted"; /** Terminal error marker for runs that produced no user-visible delivery or durable progress. */ export const NON_DELIVERABLE_TERMINAL_TURN_REASON = "non_deliverable_terminal_turn"; /** Normalized terminal status recorded for an embedded run attempt trajectory. */ -export type AttemptTrajectoryTerminal = { +type AttemptTrajectoryTerminal = { status: AttemptTrajectoryTerminalStatus; terminalError?: typeof NON_DELIVERABLE_TERMINAL_TURN_REASON; }; diff --git a/src/agents/embedded-agent-runner/run/attempt.tool-search-run-plan.ts b/src/agents/embedded-agent-runner/run/attempt.tool-search-run-plan.ts index 6bb9ae6c802e..69075f441ab6 100644 --- a/src/agents/embedded-agent-runner/run/attempt.tool-search-run-plan.ts +++ b/src/agents/embedded-agent-runner/run/attempt.tool-search-run-plan.ts @@ -24,7 +24,7 @@ export const TOOL_SEARCH_CONTROL_ALLOWLIST_NAMES = [ type CollectAllowedToolNamesParams = Parameters[0]; /** Derived tool allowlists used for visible prompt tools, replay tools, and empty-allowlist checks. */ -export type ToolSearchRunPlan = { +type ToolSearchRunPlan = { visibleAllowedToolNames: Set; replayAllowedToolNames: Set; liveAllowedToolNames: Set; diff --git a/src/agents/embedded-agent-runner/run/attempt.transcript-policy.ts b/src/agents/embedded-agent-runner/run/attempt.transcript-policy.ts index 084851c9fb44..41ebb81bd820 100644 --- a/src/agents/embedded-agent-runner/run/attempt.transcript-policy.ts +++ b/src/agents/embedded-agent-runner/run/attempt.transcript-policy.ts @@ -6,7 +6,7 @@ import type { ProviderRuntimeModel } from "../../../plugins/provider-runtime-mod import type { AgentRuntimePlan } from "../../runtime-plan/types.js"; import { resolveTranscriptPolicy, type TranscriptPolicy } from "../../transcript-policy.js"; -export type AttemptRuntimeModelContext = NonNullable< +type AttemptRuntimeModelContext = NonNullable< Parameters[0] >;