(withSeed: boolean)
| 429 | // COMPOSED argv0 (the adapter's real binary), not config.command — codex/ |
| 430 | // opencode/pi ignore the base and hardcode their own binary. |
| 431 | const compose = (withSeed: boolean): readonly string[] => |
| 432 | adapter.composeCommand( |
| 433 | config.command, |
| 434 | withSeed && initialPrompt ? { ...baseCtx, initialPrompt } : baseCtx, |
| 435 | ); |
| 436 | let command = compose(true); |
| 437 | if (initialPrompt && resolveLaunchCommand(command, { env }).viaShell) { |
| 438 | launcherLogger.warn('spawn.seed_dropped_win32_shim', { wsId: ws.id, agent: adapter.id }); |
no test coverage detected