diff options
| author | DS <[email protected]> | 2025-12-14 23:51:11 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-14 22:51:11 -0600 |
| commit | b021b26e77b4982e27b77a33d51535bfd9d0ff76 (patch) | |
| tree | c784f3ad144e7e1f170a4acb77f5baa210cdf850 /packages/plugin/src/index.ts | |
| parent | 9555d348de8d6fdc389f8f554dd28d3eb79e504d (diff) | |
| download | opencode-b021b26e77b4982e27b77a33d51535bfd9d0ff76.tar.gz opencode-b021b26e77b4982e27b77a33d51535bfd9d0ff76.zip | |
feat: restore experimental.chat.messages.transform and add experimental.chat.system.transform hooks (#5542)
Diffstat (limited to 'packages/plugin/src/index.ts')
| -rw-r--r-- | packages/plugin/src/index.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts index 57ca75d60..9dd4820b9 100644 --- a/packages/plugin/src/index.ts +++ b/packages/plugin/src/index.ts @@ -185,6 +185,12 @@ export interface Hooks { }[] }, ) => Promise<void> + "experimental.chat.system.transform"?: ( + input: {}, + output: { + system: string[] + }, + ) => Promise<void> "experimental.text.complete"?: ( input: { sessionID: string; messageID: string; partID: string }, output: { text: string }, |
