ai-devkit
ai-devkit copied to clipboard
agent console: remember last-used agent type and cwd
initialType defaults to "codex" and is never passed — every open resets to codex and process.cwd(). Persist the last-used type (and cwd) across opens, or pre-fill from the selected agent.
Refs: packages/cli/src/tui/console/StartAgentPane.tsx:64-67, packages/cli/src/tui/console/hooks/useStartAgentPane.ts:37-42