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(acp): support _session/steering by smagnuso · Pull Request #53043 · anomalyco/opencode

Conversation

@smagnuso

@smagnuso smagnuso commented Oct 4, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #53042
Refs #44877

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Interim until ACP v2 (#44877); the v2 path would replace this.

Adds the _session/steering ACP extension so a client can redirect a running
turn. initialize now advertises _meta.steering.supported. The handler checks
session.status: if the session is busy it adds the message with
session.prompt({ noReply: true }), which the running loop picks up on its next
step, and replies injected. If the session is idle it replies
promptRequired and sends nothing, so a steer never starts an unrequested turn.

How did you verify your code works?

  • Added tests for the capability advertisement, idle steer, and busy steer.
    bun test test/acp passes (142 tests) and bun run typecheck is clean.
  • Ran opencode acp from source and sent initialize: the response includes
    _meta.steering.supported: true. A _session/steering request for an idle
    session returns promptRequired, and an unknown method still returns -32601.
  • Ran a steered request in hydra-acp

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

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

All reactions
@smagnuso
feat(acp): support _session/steering
04e9068
Advertise _meta.steering.supported on initialize and handle
_session/steering. A steer on a busy session is admitted with
session.prompt({ noReply: true }) for the running loop to pick up on its
next step; an idle session replies promptRequired and sends nothing.
@github-actions github-actions Bot added the contributor label Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

All reactions

Sorry, something went wrong.

Uh oh!

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

@smagnuso smagnuso mentioned this pull request Oct 4, 2026
[FEATURE]: ACP: support mid-turn steering (_session/steering) #53042
Closed
1 task done
@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

All reactions

Sorry, something went wrong.

Uh oh!

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

@thdxr thdxr closed this Oct 10, 2026
@smagnuso smagnuso mentioned this pull request Oct 10, 2026
feat(acp): support _session/steering #54394
Merged
3 of 6 tasks
@leehom0123 leehom0123 mentioned this pull request Oct 24, 2026
opencode acp: implement the _session/steering extension #58766
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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.

[FEATURE]: ACP: support mid-turn steering (_session/steering)

Uh oh!

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

2 participants

@smagnuso @thdxr
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.