fix: add support for Codex in the shell (#424)

* fix: add support for Codex in the shell

* fix: harden codex shell session resume command
This commit is contained in:
Matthew Lloyd
2026-02-23 17:36:58 -05:00
committed by GitHub
parent 4f6ff9260d
commit 23801e9cc1
2 changed files with 19 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ function Shell({ selectedProject, selectedSession, initialCommand, isPlainShell
projectPath: selectedProjectRef.current.fullPath || selectedProjectRef.current.path,
sessionId: isPlainShellRef.current ? null : selectedSessionRef.current?.id,
hasSession: isPlainShellRef.current ? false : !!selectedSessionRef.current,
provider: isPlainShellRef.current ? 'plain-shell' : (selectedSessionRef.current?.__provider || 'claude'),
provider: isPlainShellRef.current ? 'plain-shell' : (selectedSessionRef.current?.__provider || localStorage.getItem('selected-provider') || 'claude'),
cols: terminal.current.cols,
rows: terminal.current.rows,
initialCommand: initialCommandRef.current,