summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin
diff options
context:
space:
mode:
authorfranlol <[email protected]>2025-12-08 02:44:04 +0100
committerGitHub <[email protected]>2025-12-07 19:44:04 -0600
commit81ee8541abd20e67ed1f87a53b8475dd9395b8fa (patch)
tree2dcd18b4eab62a288e088bd7641a4ae3a05fa538 /packages/plugin
parent5b3550ab9fadb12d4a935eb10bcd4daf797aa2f1 (diff)
downloadopencode-81ee8541abd20e67ed1f87a53b8475dd9395b8fa.tar.gz
opencode-81ee8541abd20e67ed1f87a53b8475dd9395b8fa.zip
feat: add experimental.text.complete plugin hook (#4962)
Diffstat (limited to 'packages/plugin')
-rw-r--r--packages/plugin/src/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts
index 291d68b79..f00e90482 100644
--- a/packages/plugin/src/index.ts
+++ b/packages/plugin/src/index.ts
@@ -175,4 +175,8 @@ export interface Hooks {
metadata: any
},
) => Promise<void>
+ "experimental.text.complete"?: (
+ input: { sessionID: string; messageID: string; partID: string },
+ output: { text: string },
+ ) => Promise<void>
}