@matrix-ai/plugin 0.0.0-dev-202602130144 → 0.0.0-dev-202602240333
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 +11 -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>;
|
|
@@ -218,4 +220,13 @@ export interface Hooks {
|
|
|
218
220
|
}, output: {
|
|
219
221
|
text: string;
|
|
220
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>;
|
|
221
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": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-202602240333",
|
|
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": "0.0.0-dev-
|
|
25
|
+
"@matrix-ai/sdk": "0.0.0-dev-202602240333",
|
|
26
26
|
"zod": "4.1.8"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|