mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
909509a5db
* fix(codex): pin catalog CODEX_HOME onto terminal resume spawns The Codex session catalog lists threads through the plugin's supervision app-server connection, which can run on the agent-scoped Codex home (homeScope: "agent"). The terminal resume plan spawned a bare 'codex resume <threadId>' under the operator login shell, so the CLI resolved its default ~/.codex and failed with "No saved session found". Terminal plans now carry the catalog connection's CODEX_HOME (local and paired-node paths), the gateway merges plan env into the PTY spawn, and the triplicated home-scope resolution collapses into one shared resolveCodexAppServerLocalHomeDir. * feat(ui): add main-content terminal placement The terminal panel gains a third dock placement, "main", filling the content region next to the sidebar like the transcript pane. The panel header gets a bottom/right/main placement switcher (persisted in the existing openclaw.terminal.panel.v1 store), and opening a Codex/Claude session from the session catalog selects main mode so resumed sessions appear as a full window instead of a bottom strip.