@core-ai/core-ai 0.20.0 → 0.21.0
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.
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ type Message = SystemMessage | UserMessage | AssistantMessage | ToolResultMessag
|
|
|
4
4
|
type SystemMessage = {
|
|
5
5
|
role: 'system';
|
|
6
6
|
content: string;
|
|
7
|
+
/**
|
|
8
|
+
* Application-owned metadata for this message. Provider adapters ignore
|
|
9
|
+
* this field and never serialize it to provider APIs.
|
|
10
|
+
*/
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
7
12
|
};
|
|
8
13
|
type UserMessage = {
|
|
9
14
|
role: 'user';
|