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 — [FEATURE]: ACP: support mid-turn steering (_session/steering) · Issue #53042 · anomalyco/opencode

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

New issue
Copy link
New issue
Copy link
Closed
#54394
Closed
[FEATURE]: ACP: support mid-turn steering (_session/steering)#53042
#54394
Copy link
Assignees
jlongster

Description

@smagnuso
smagnuso
opened on Oct 4, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Feature description

opencode acp has no way for an ACP client to send a message into a turn that is
already running. Clients that want to steer have to queue the message until the
turn ends, or cancel the turn and start a new one.

claude-agent-acp and codex-acp already handle this with a _session/steering
request, advertised as _meta.steering.supported: true in the initialize
response. opencode doesn't advertise it, so clients like yaac fall back to
queueing (bsklaroff/yaac#284).

The loop already does the right thing for this. It re-reads the session's
messages on every step, so a user message added while a turn is running is
picked up at the next step. The ACP adapter just doesn't expose a way to add one
without starting a second prompt call.

Proposal

Add a _session/steering handler to the ACP adapter. If the session is busy,
add the message with session.prompt({ noReply: true }) and reply
{ outcome: "injected" }. If it is idle, reply
{ outcome: "promptRequired", reason: "noRunningTurn" } and do nothing, so a
steer can never start a turn the client didn't ask for.

This is the same pre-standard extension the other two adapters implement; the
spec proposal is agentclientprotocol/agent-client-protocol#1261.
It is about 35 lines in packages/opencode/src/acp/. I have it working and can
open a PR.

Activity

  1. github-actions
    assigned
    jlongster
    on Oct 4, 2026
  2. github-actions commented on Oct 4, 2026

    @github-actions
    github-actionsBot
    on Oct 4, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • #44877: ACP v2 support already includes mid-turn steering through a prompt submitted while a turn is running.
    • #21388: broader request for mid-turn message delivery with inject, queue, and interrupt modes.
    • #32157: request to distinguish queued prompts from steering during a running session.
  3. smagnuso commented on Oct 4, 2026

    @smagnuso
    smagnuso
    on Oct 4, 2026
    ContributorAuthor
    More actions

    Not a duplicate of #44877: that tracks the ACP v2 draft, where a second session/prompt steers. This is the v1-era _session/steering extension that claude-agent-acp and codex-acp already ship, so existing ACP clients get steering today without waiting for v2. Small and additive, ~35 lines. PR: #53043

  4. opencodejr commented on Oct 27, 2026

    @opencodejr
    opencodejrBot
    on Oct 27, 2026
    Contributor
    More actions

    Thanks for the clear write-up and for porting the implementation to V2!

    To restate the request: opencode acp should support the _session/steering extension and advertise _meta.steering.supported. A client could then add a message to a running turn (reply injected), and the request would do nothing when the session is idle (reply promptRequired). This would match claude-agent-acp and codex-acp. Maintainers will consider it.

    Related:

    • feat(acp): support _session/steering #54394: your open V2 PR implementing this
    • feat(acp): support _session/steering #53043: the earlier V1 version of the PR, closed because V1 no longer takes PRs
    • opencode acp: implement the _session/steering extension #58766: a later request for the same extension, closed as a duplicate of this issue
    • [FEATURE]: ACP v2 draft spec support #44877: ACP v2 draft spec support, where a second session/prompt steers natively and would eventually replace this extension
  5. Tarquinen
    closed this as completedin #54394on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jlongster
    jlongster

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.