Run supervisor bootstrap through the pane shell

Co-Authored-By: Pi <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
wassname
2026-09-06 18:07:23 +08:00
co-authored by Pi
parent d56fc55242
commit e299e84c5e
+1 -1
View File
@@ -54,7 +54,7 @@ export function supervisorCommand(input: LaunchSupervisorInput): string {
"--name", `goals-supervisor-${input.workerSessionId.slice(0, 8)}`,
];
if (input.model) args.push("--model", input.model);
return ["env", ...env, ...args].map(shellQuote).join(" ");
return `env ${[...env, ...args].map(shellQuote).join(" ")}`;
}
export async function openSupervisorPane(input: LaunchSupervisorInput): Promise<string> {