Add opencode vendor support - #65
Open
anthony-dius wants to merge 4 commits into
Open
Conversation
anthony-dius
marked this pull request as draft
August 21, 2026 22:16
anthony-dius
added a commit
to anthony-dius/opencode-probity
that referenced
this pull request
Aug 24, 2026
Removes the payload/transcript translation layer that emulated Claude Code's hook shape, now that probity has a native --agent opencode adapter (nizos/probity#65). Payloads pass through to probity unchanged (native camelCase args, tool/sessionID/callID), and transcripts are written verbatim in OpenCode's own message format instead of being converted to Claude Code's tool_use/tool_result shape. Drops NotebookEdit, which the new vendor doesn't model. Since that PR is still under review, the probity package spec is pinned to the fork/branch that implements it until it merges and ships in a release. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Owner
|
Hi @anthony-dius, Thanks for the PR. I will try to look at it as soon as I can. Might take a few days to a week. :) |
Author
|
No worries,
All the best , btw . the team is getting some good results using
probity with copilot. we just have a few devs that prefer opencode.
I find it funny (but a bit scary too ) to see how the models try to get
around the restrictions.
Anthony
…On Thu, Aug 27, 2026 at 11:31 PM Nizar Selander ***@***.***> wrote:
*nizos* left a comment (nizos/probity#65)
<#65 (comment)>
Hi @anthony-dius <https://github.com/anthony-dius>,
Thanks for the PR. I will try to look at it as soon as I can. Might take a
few days to a week. :)
—
Reply to this email directly, view it on GitHub
<#65?email_source=notifications&email_token=A6ZHES2OMDH4OV7AL5SC3YL5MAZ4LA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNBTHE4DMNZUHEZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5439867492>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6ZHES4OQRTUFSDYQ4PBYVD5MAZ4LAVCNFSNUABGKJSXA33TNF2G64TZHMYTEMJUGEZTANJTHE5US43TOVSTWNJSGAZTMOBYGA4THILWAI>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/A6ZHES3RBT5ZEOUW6PFXA3L5MAZ4LA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNBTHE4DMNZUHEZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/A6ZHES26HW2ZNU6RQ2QQ7J35MAZ4LA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNBTHE4DMNZUHEZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
*------------*
This email is intended solely for the use of the
addressee and may contain information that is confidential or privileged.
If you receive this email in error please notify the sender and delete the
email immediately.
|
anthony-dius
marked this pull request as ready for review
August 31, 2026 06:40
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.
this PR adds vendor support for OpenCode
as per issue #64