Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit d9ffe07

Browse files
fix: messageID type in chat.message (anomalyco#4128)
Co-authored-by: GitHub Action <action@github.com>
1 parent c0702ed commit d9ffe07

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
"typescript": "catalog:",
2525
"@typescript/native-preview": "catalog:"
2626
}
27-
}
27+
}

packages/plugin/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export interface Hooks {
144144
* Called when a new message is received
145145
*/
146146
"chat.message"?: (
147-
input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string; messageID?: string } },
147+
input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string }; messageID?: string },
148148
output: { message: UserMessage; parts: Part[] },
149149
) => Promise<void>
150150
/**

packages/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
"publishConfig": {
2727
"directory": "dist"
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)