From 939b5c22db2732b13577c8513dc069368cf3d56a Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Wed, 25 Mar 2026 18:13:27 +0700 Subject: [PATCH] Fix --no-wait flag never working on paseo send Commander's --no-* pattern sets options.wait = false, not options.noWait = true. The check was always falsy so every send waited up to 10 minutes for the agent to finish. --- packages/cli/src/commands/agent/send.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/commands/agent/send.ts b/packages/cli/src/commands/agent/send.ts index 66e134f0c..feaa6df1f 100644 --- a/packages/cli/src/commands/agent/send.ts +++ b/packages/cli/src/commands/agent/send.ts @@ -28,7 +28,7 @@ export const agentSendSchema: OutputSchema = { }; export interface AgentSendOptions extends CommandOptions { - noWait?: boolean; + wait?: boolean; image?: string[]; prompt?: string; promptFile?: string; @@ -193,7 +193,7 @@ export async function runSendCommand( await client.sendAgentMessage(agentIdArg, promptInput, { images }); // If --no-wait, return immediately - if (options.noWait) { + if (options.wait === false) { await client.close(); return {