@matrix-ai/plugin 1.1.59 → 1.1.60
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 +12 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -173,6 +173,8 @@ export interface Hooks {
|
|
|
173
173
|
}) => Promise<void>;
|
|
174
174
|
"shell.env"?: (input: {
|
|
175
175
|
cwd: string;
|
|
176
|
+
sessionID?: string;
|
|
177
|
+
callID?: string;
|
|
176
178
|
}, output: {
|
|
177
179
|
env: Record<string, string>;
|
|
178
180
|
}) => Promise<void>;
|
|
@@ -180,6 +182,7 @@ export interface Hooks {
|
|
|
180
182
|
tool: string;
|
|
181
183
|
sessionID: string;
|
|
182
184
|
callID: string;
|
|
185
|
+
args: any;
|
|
183
186
|
}, output: {
|
|
184
187
|
title: string;
|
|
185
188
|
output: string;
|
|
@@ -217,4 +220,13 @@ export interface Hooks {
|
|
|
217
220
|
}, output: {
|
|
218
221
|
text: string;
|
|
219
222
|
}) => Promise<void>;
|
|
223
|
+
/**
|
|
224
|
+
* Modify tool definitions (description and parameters) sent to LLM
|
|
225
|
+
*/
|
|
226
|
+
"tool.definition"?: (input: {
|
|
227
|
+
toolID: string;
|
|
228
|
+
}, output: {
|
|
229
|
+
description: string;
|
|
230
|
+
parameters: any;
|
|
231
|
+
}) => Promise<void>;
|
|
220
232
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@matrix-ai/plugin",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.60",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@matrix-ai/sdk": "1.1.
|
|
25
|
+
"@matrix-ai/sdk": "1.1.60",
|
|
26
26
|
"zod": "4.1.8"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|