refactor: trim exec node local exports

This commit is contained in:
Peter Steinberger
2026-05-01 20:50:32 +01:00
parent a256745323
commit ccd43427c3
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;