fix: messageID type in chat.message (#4128)
Some checks are pending
deploy / deploy (push) Waiting to run
format / format (push) Waiting to run
snapshot / publish (push) Waiting to run
test / test (push) Waiting to run

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Mathias Beugnon 2025-11-09 16:39:50 +01:00 committed by GitHub
parent c0702ed8bd
commit d9ffe07391
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
}
}

View file

@ -144,7 +144,7 @@ export interface Hooks {
* Called when a new message is received
*/
"chat.message"?: (
input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string; messageID?: string } },
input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string }; messageID?: string },
output: { message: UserMessage; parts: Part[] },
) => Promise<void>
/**

View file

@ -26,4 +26,4 @@
"publishConfig": {
"directory": "dist"
}
}
}