@matrix-ai/plugin 1.2.0 → 1.2.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -191,6 +191,14 @@ export interface Hooks {
191
191
  }, output: {
192
192
  env: Record<string, string>;
193
193
  }) => Promise<void>;
194
+ "shell.pre-exec"?: (input: {
195
+ command: string;
196
+ cwd: string;
197
+ env: Record<string, string>;
198
+ }, output: {
199
+ env: Record<string, string>;
200
+ command?: string;
201
+ }) => Promise<void>;
194
202
  "tool.execute.after"?: (input: {
195
203
  tool: string;
196
204
  sessionID: string;
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.2.0",
4
+ "version": "1.2.2",
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.2.0",
25
+ "@matrix-ai/sdk": "1.2.2",
26
26
  "zod": "4.1.8"
27
27
  },
28
28
  "devDependencies": {