mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 09:31:15 +00:00
When a user ran `spawn claude --dry-run`, the dry-run flag was silently ignored and a real server was provisioned. `cmdAgentInteractive` was passing `dryRun` in the `debug` parameter position of `execScript`, so no preview was shown and `SPAWN_DEBUG=1` was set instead. Fix: - Export `showDryRunPreview` from `run.ts` - Import and call it in `cmdAgentInteractive` after cloud selection - Return early when `dryRun` is set (matches `cmdRun` behaviour) - Pass `undefined` for the `debug` argument (interactive path has no debug flag) Agent: code-health Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||