Uh oh!
There was an error while loading. Please reload this page.
add experimental.chat.messages.transform hook - #5207
Merged
rekram1-node merged 31 commits intoDec 11, 2025
Conversation
rekram1-node
commented
Dec 7, 2025
Collaborator
/review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rekram1-node
commented
Dec 8, 2025
Collaborator
/review |
Contributor
lgtm |
…ges-transform-hook
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…ges-transform-hook
…encode into chat-messages-transform-hook
rekram1-node
commented
Dec 11, 2025
Collaborator
/review |
Contributor
lgtm |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shuv1337 added a commit
to Latitudes-Dev/shuvcode
that referenced
this pull request
Dec 11, 2025
Merge origin/dev containing: - v1.0.150 release - fix: Writing to Bun.stderr causes CPU pinning to 100% (anomalyco#5396) - feat: add caching for opencode binary in GitHub Actions (anomalyco#5384) - add experimental.chat.messages.transform hook (anomalyco#5207) This merge preserves all local fork customizations: - Night Owl theme and OpenCode theme - AsciiMark/AsciiLogo branding - Font/Theme pickers in header - Go-to-parent session navigation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
xywsxp pushed a commit
to xywsxp/opencode
that referenced
this pull request
Apr 24, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Rwanbt pushed a commit
to Rwanbt/unifia
that referenced
this pull request
May 5, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
AIALRA-0 pushed a commit
to AIALRA-0/opencode-turn-engine
that referenced
this pull request
Jun 10, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
AIALRA-0 pushed a commit
to AIALRA-0/opencode-turn-engine
that referenced
this pull request
Jun 10, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
avion23 pushed a commit
to avion23/opencode
that referenced
this pull request
Jun 10, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Rwanbt pushed a commit
to Rwanbt/unifia
that referenced
this pull request
Jun 14, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 tasks
MarsQiu007 referenced
this pull request
in MarsQiu007/openNovel
Jul 31, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This was referenced Aug 16, 2026
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 freeto 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.
Add a chat messages transform hook to allow plugins to alter chat messages.
We expose the MessageV2.WithParts through the new hook, but give deep copies of the chat history to avoid plugins altering the original messages
Previously, the chain would look something like this:
Now, with the new changes: