### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Implement the V2 `session.shell` behavior required by the TUI migration. Current notes from #34359: - `SessionV2.shell` exists as an interface method but currently returns `OperationUnavailableError`. - The TUI needs a V2 session-level shell entrypoint rather than relying on the legacy SDK surface. - This is related to, but separate from, #34366 shell backgrounding semantics. Expected scope: - Define the V2 `session.shell` input/output contract. - Execute shell commands through the V2 session/tool/event flow. - Surface useful shell start/progress/completion state to projected messages/events. - Preserve permission checks and location/workdir behavior. - Add protocol/server/client exposure if it belongs with the implementation. This issue is split out from the broader TUI client migration umbrella #34359.
Activity
opencode-agent commentedon Jul 2, 2026
Ownership update from V2 TODO LIST: Kit handed this off to James; James accepted.
Discord: https://discord.com/channels/1391832426048651334/1520962938733723720/1522253915075379251
opencode-agent commentedon Jul 3, 2026
James reported that the basic implementation of the V2 shell landed in PR #35183: #35183
Source Discord update: https://discord.com/channels/1391832426048651334/1520962938733723720/1522637970128244876
PR #35183 is merged and its description says it fixes this issue, so closing this as completed.