@kilocode/plugin 1.0.23 → 1.0.24

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 +10 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -180,6 +180,7 @@ export interface Hooks {
180
180
  tool: string;
181
181
  sessionID: string;
182
182
  callID: string;
183
+ args: any;
183
184
  }, output: {
184
185
  title: string;
185
186
  output: string;
@@ -217,4 +218,13 @@ export interface Hooks {
217
218
  }, output: {
218
219
  text: string;
219
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>;
220
230
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@kilocode/plugin",
4
- "version": "1.0.23",
4
+ "version": "1.0.24",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@kilocode/sdk": "1.0.23",
30
+ "@kilocode/sdk": "1.0.24",
31
31
  "zod": "4.1.8"
32
32
  },
33
33
  "devDependencies": {