Repository navigation
Conversation
atn18
force-pushed
the
feature/v1-steer
branch
from
November 20, 2026 22:29
78d3bef to
c7aa8f2
Compare
Owner
|
@atn18 OpenCode V1 is deprecated now. No need for new features there, only fixes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
On OpenCode V1 the bot only held messages sent while the agent was busy in its own queue and sent them after the run. The V1 server's agent loop is message-driven: a user message stored while the loop runs is picked up at its next step, between tool calls, and the turn continues — this is how the OpenCode web UI behaves, but the bot never used it.
Change
promptAsyncstart path; the running loop picks it up at the next step, between tool calls, and the turn continues. Nothing is held by the bot, so the message-count and queued-media limits do not apply./detachstill go first; a/detachduring the prompt's preparation hands the prompt over to its session instead of steering it; a provider retry counts as a running turn; media without a reliable Telegramfile_sizeis refused when it has to fall back to the queue.README,PRODUCT,.env.example) and all 13 locales updated; tests cover the steer path, the queue fallback, the detach handover, retries, media limits and the settings migration.Verification
npm run typecheck,npm run lint,npm test— clean, 3582 tests passed.