GeezerVison is showing github.com — feat(core): run local Windows shell commands in the process daemon by jlongster · Pull Request #63409 · anomalyco/opencode
Conversation
jlongster
commented
Nov 11, 2026
•
edited by opencodejr
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Issue for this PR
Follows #62978 and #63381.
Type of change
What does this PR do?
Local Windows shell commands can now survive a server restart. Core, CLI and server pin the pipe-capable daemon at 0.5.2 and use the existing local daemon path on Windows. Remote workspaces and unavailable daemons retain their spawner. Protocol v8; no feature flag.
How did you verify your code works?
Frozen install, core typecheck, and five focused core suites on Linux (162 passed). The Windows fixtures cover PowerShell output, foreground-to-background handoff, restart recovery and interrupted calls. Full CI on the branch commit, including Windows.
Screenshots / recordings
N/A
Checklist
- I have tested my changes locally
- I have not included unrelated changes in this PR
Added by the opencode bot (AI-generated).
Related: #56804
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
User decisions:
- Use @opencode/pty 0.5.2 for local Windows shell commands.
- Preserve remote and fallback execution without feature negotiation or a protocol bump.
- Exercise Windows shell handoff and interruption in the integration tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found no blocking concerns, but couldn't verify it here: the change only affects Windows and this environment is Linux. The source change is one condition in shell.ts. Remote workspaces and an unavailable daemon still fall back to the spawner, a RequestError still fails the call without spawning again, and the 0.5.0 → 0.5.2 pin is updated everywhere. On Linux, the five focused core suites pass (162 passed, 0 failed), including against the real 0.5.2 daemon, and the server's persistent-pty tests pass. Windows behaviour, such as PowerShell output, the immediate termination on SIGTERM and recovery after a restart, depends on the Windows CI run, which was still in progress when I checked.
Public API: unchanged. The @opencode/pty dependency moves 0.5.0 → 0.5.2, and the protocol is already v8 on dev.
Related: #56804
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|