From ccd43427c3d5f5b370f01dbb9a8b5186023b73ff Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 1 May 2026 20:50:32 +0100 Subject: [PATCH] refactor: trim exec node local exports --- src/agents/bash-tools.exec-host-node-phases.ts | 6 +++--- src/agents/bash-tools.exec-output.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/agents/bash-tools.exec-host-node-phases.ts b/src/agents/bash-tools.exec-host-node-phases.ts index 08bd0fd5144..163bc753eef 100644 --- a/src/agents/bash-tools.exec-host-node-phases.ts +++ b/src/agents/bash-tools.exec-host-node-phases.ts @@ -23,7 +23,7 @@ import type { ExecToolDetails } from "./bash-tools.exec-types.js"; import { callGatewayTool } from "./tools/gateway.js"; import { listNodes, resolveNodeIdFromList } from "./tools/nodes-utils.js"; -export type NodeExecutionTarget = { +type NodeExecutionTarget = { nodeId: string; platform?: string | null; argv: string[]; @@ -33,7 +33,7 @@ export type NodeExecutionTarget = { supportsSystemRunPrepare: boolean; }; -export type PreparedNodeRun = { +type PreparedNodeRun = { plan: SystemRunApprovalPlan; argv: string[]; rawCommand: string; @@ -42,7 +42,7 @@ export type PreparedNodeRun = { sessionKey: string | undefined; }; -export type NodeApprovalAnalysis = { +type NodeApprovalAnalysis = { analysisOk: boolean; allowlistSatisfied: boolean; durableApprovalSatisfied: boolean; diff --git a/src/agents/bash-tools.exec-output.ts b/src/agents/bash-tools.exec-output.ts index b20b80f0c88..38f769700c4 100644 --- a/src/agents/bash-tools.exec-output.ts +++ b/src/agents/bash-tools.exec-output.ts @@ -1,4 +1,4 @@ -export const EXEC_NO_OUTPUT_PLACEHOLDER = "(no output)"; +const EXEC_NO_OUTPUT_PLACEHOLDER = "(no output)"; export function renderExecOutputText(value: string | undefined): string { return value || EXEC_NO_OUTPUT_PLACEHOLDER;