The open source coding agent.
TypeScript
fix: messageID type in chat.message (#4128)
Mathias Beugnond9ffe07391d9
diff --git a/packages/plugin/package.json b/packages/plugin/package.jsonindex 77ecaa70df8..2bec58c3c21 100644--- a/packages/plugin/package.json+++ b/packages/plugin/package.json@@ -24,4 +24,4 @@"typescript": "catalog:","@typescript/native-preview": "catalog:"}-}\ No newline at end of file+}diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.tsindex 4b187efe719..0601e587767 100644--- a/packages/plugin/src/index.ts+++ b/packages/plugin/src/index.ts@@ -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>/**diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.jsonindex 89d0abe3434..b32463519f6 100644--- a/packages/sdk/js/package.json+++ b/packages/sdk/js/package.json@@ -26,4 +26,4 @@"publishConfig": {"directory": "dist"}-}\ No newline at end of file+}