@engineer-ai/plugin 1.5.0 → 1.5.1

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 +7 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -258,19 +258,21 @@ export interface Hooks {
258
258
  success: boolean;
259
259
  }) => Promise<void>;
260
260
  /**
261
- * Called when a file is changed (edited or written)
261
+ * Called when files are changed (edited or written)
262
262
  */
263
263
  "chat.file.changed"?: (input: {
264
- filepath: string;
265
- diff: string;
264
+ changes: Array<{
265
+ filepath: string;
266
+ diff: string;
267
+ directory: string;
268
+ }>;
266
269
  sessionID: string;
267
270
  /** The most recent user message ID that this file change belongs to */
268
271
  messageId: string;
269
272
  title: string;
270
273
  userId: string;
271
274
  username: string;
272
- /** Remote git repository URL, or workspace directory if no git remote */
273
- directory: string;
275
+ /** Access token for Authorization header (not included in request body) */
274
276
  accessToken: string;
275
277
  }, output: {}) => Promise<void>;
276
278
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@engineer-ai/plugin",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {