fix: bound agentrun restart dry-run output
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success

This commit is contained in:
Codex
2026-07-09 09:11:07 +02:00
parent b9bc21d847
commit d7f9967f68
5 changed files with 68 additions and 5 deletions
+5 -1
View File
@@ -128,7 +128,11 @@ export async function runAgentRunCommand(config: UniDeskConfig | null, args: str
return options.full || options.raw ? result : renderAgentRunControlPlaneStatusSummary(result);
}
if (action === "secret-sync") return await secretSync(config, parseSecretSyncOptions(actionArgs));
if (action === "restart") return await restartYamlLane(config, parseLaneConfirmOptions(actionArgs));
if (action === "restart") {
const options = parseLaneConfirmOptions(actionArgs);
const result = await restartYamlLane(config, options);
return options.full || options.raw ? result : renderAgentRunControlPlaneActionSummary(result, "AGENTRUN CONTROL-PLANE RESTART");
}
if (action === "expose") return await exposeAgentRun(config, parseConfirmOptions(actionArgs));
if (action === "trigger-current") {
const options = parseTriggerOptions(actionArgs);