GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@jlongster jlongster commented Nov 11, 2026 •
edited by opencodejr Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Issue for this PR

Follows #62978 and #63381.

Type of change

  • New feature

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.

All reactions
@jlongster
feat(core): run local Windows shell commands in the process daemon
b516bfc
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.
@github-actions github-actions Bot added the contributor label Nov 11, 2026
opencodejr[bot]
opencodejr Bot reviewed Nov 11, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

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.

All reactions
@jlongster

jlongster commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Windows unit tests passed on b516bfc (core: 6,353 passed, 1,113 skipped, 0 failed), as did the Windows build, app-1, and both component suites. The full run is red on Windows app-2 and Linux app-2. All five reported Windows failures in timeline-geometry/timeline-stream also appear in this earlier dev run.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jlongster
jlongster merged commit 63dd3f1 into dev Nov 11, 2026
24 of 28 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@jlongster
jlongster deleted the windows-shell-daemon branch November 11, 2026 23:32
@opencodejr opencodejr Bot mentioned this pull request Nov 12, 2026
feat(core): add opt-in OS-level shell sandbox #63599
Closed
3 tasks done
@kobzevvv kobzevvv mentioned this pull request Nov 13, 2026
chore(upstream): порт v2.3.0 — 101 в порт, 75 на решение gpt-mem/opencode-mem#222
Open
@neriousy neriousy mentioned this pull request Nov 23, 2026
V2: define restart semantics for foreground and background shells #36348
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

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.

1 participant

@jlongster
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.