-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Description
Description
The messages transform hook is not triggered by the compaction process, leading to any message modifications done not showing up in the request when compaction is triggered.
Plugins
OpenCode version
1.2.27
Steps to reproduce
- create a plugin that uses the
experimental.chat.messages.transformhook - send a normal prompt, it can be modified by the hook
- triggering
/compactand the changes from the hook are not applied
Screenshot and/or share link
No response
Operating System
Arch Linux
Terminal
Ghostty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)