@opencode-ai/plugin 1.1.64 → 1.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -218,4 +218,13 @@ export interface Hooks {
|
|
|
218
218
|
}, output: {
|
|
219
219
|
text: string;
|
|
220
220
|
}) => Promise<void>;
|
|
221
|
+
/**
|
|
222
|
+
* Modify tool definitions (description and parameters) sent to LLM
|
|
223
|
+
*/
|
|
224
|
+
"tool.definition"?: (input: {
|
|
225
|
+
toolID: string;
|
|
226
|
+
}, output: {
|
|
227
|
+
description: string;
|
|
228
|
+
parameters: any;
|
|
229
|
+
}) => Promise<void>;
|
|
221
230
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/plugin",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.65",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@opencode-ai/sdk": "1.1.
|
|
25
|
+
"@opencode-ai/sdk": "1.1.65",
|
|
26
26
|
"zod": "4.1.8"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|