@xpert-ai/chatkit-types 0.3.8 → 0.3.10
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 +15 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1596,10 +1596,15 @@ export declare type TChatRequest = {
|
|
|
1596
1596
|
};
|
|
1597
1597
|
|
|
1598
1598
|
/**
|
|
1599
|
-
* Human input message,
|
|
1599
|
+
* Human input message, including uploaded file handles and references.
|
|
1600
1600
|
*/
|
|
1601
1601
|
export declare type TChatRequestHuman = {
|
|
1602
1602
|
input?: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* Uploaded file handles submitted with the message. ChatKit UI now sends
|
|
1605
|
+
* AgentFile/FileAsset-shaped objects here; raw browser File objects should be
|
|
1606
|
+
* uploaded before submission.
|
|
1607
|
+
*/
|
|
1603
1608
|
files?: Partial<File>[];
|
|
1604
1609
|
references?: ChatKitReference[];
|
|
1605
1610
|
referenceComposition?: ChatKitReferenceCompositionMode;
|
|
@@ -1748,7 +1753,15 @@ export declare type TMessageComponentWidgetData = {
|
|
|
1748
1753
|
|
|
1749
1754
|
export declare type TMessageComponentWidgetItem = {
|
|
1750
1755
|
name: string;
|
|
1751
|
-
|
|
1756
|
+
/**
|
|
1757
|
+
* Standard A2UI server-to-client messages. New widget messages should use
|
|
1758
|
+
* this flat protocol shape so the UI can build and isolate surfaces at render time.
|
|
1759
|
+
*/
|
|
1760
|
+
messages?: Types.ServerToClientMessage[];
|
|
1761
|
+
/**
|
|
1762
|
+
* @deprecated Legacy pre-resolved surface fallback. Prefer `messages`.
|
|
1763
|
+
*/
|
|
1764
|
+
config?: Types.Surface;
|
|
1752
1765
|
values?: Record<string, unknown>;
|
|
1753
1766
|
};
|
|
1754
1767
|
|