Repository navigation
Conversation
OpenCode 2.0.12 rejects --model on the top-level command. The interactive client that accepts --model and stays up for later instructions is opencode mini.
OpenCode 2 rejects a plugin that does not default-export an id and setup. The existing hook functions stay, and a V2 entry registers them.
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.
Summary
OpenCode 2.0.12 rejects
--modelon the top-levelopencodecommand, so a worker launch that passed the model there failed before the session started. The interactive client that still accepts--modeland--prompt, and stays open for later instructions, isopencode mini.opencode runalso accepts--model, but it exits after the message, so it is not the supervised launch.Effort is still omitted. Mini has no effort flag.
The same release refuses a plugin that does not default-export an id and a setup function. The five primary plugins in this repo now do that, and register the existing bash, session, and prompt behavior on the version 2 hooks. The chrome-devtools and lavish plugins in the local OpenCode config were updated the same way and are not part of this pull request.
Verification
opencode2.0.12:opencode --model … --prompt …exits withUnrecognized flag: --model.opencode mini --model … --prompt …accepts those flags.bin/fm-test-run.sh tests/fm-spawn-dispatch-profile.test.shpassed, including the OpenCode launch assertion.opencode service restart,opencode plugin listshows all seven plugins by id and the log has no new "failed to load plugin" line.bin/fm-lint.shandbin/fm-doc-audience-check.shpassed.Busy-queue screen behavior was last verified on the full-screen client at 1.18.4 and was not re-checked on mini.