diff --git a/packages/cli/package.json b/packages/cli/package.json index b8617964a..0442c1ebc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@openrouter/spawn", - "version": "0.29.2", + "version": "0.29.3", "type": "module", "bin": { "spawn": "cli.js" diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 1fc897ddd..bdd481c15 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -1077,12 +1077,15 @@ async function main(): Promise { JSON.stringify({ status: "error", error_code: "VALIDATION_ERROR", - error_message: "--headless and --dry-run cannot be used together", + error_message: + "--dry-run is not yet supported with --headless. Use --dry-run (interactive) or --headless (execution) separately.", }), ); } else { - console.error(pc.red("Error: --headless and --dry-run cannot be used together")); - console.error(`\nUse ${pc.cyan("--dry-run")} for previewing, or ${pc.cyan("--headless")} for execution.`); + console.error(pc.red("Error: --dry-run is not yet supported with --headless")); + console.error( + `\nUse ${pc.cyan("--dry-run")} for an interactive preview, or ${pc.cyan("--headless")} for unattended execution.`, + ); } process.exit(3); }