@xpert-ai/chatkit-types 0.16.0 → 0.16.1
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 +11 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1147,6 +1147,12 @@ export declare type ChatKitWorkbenchClientCommandRequest = {
|
|
|
1147
1147
|
viewKey: string;
|
|
1148
1148
|
};
|
|
1149
1149
|
|
|
1150
|
+
/** ChatKit's resource form of `workbench.file.open`, resolved in the invoking View. */
|
|
1151
|
+
export declare type ChatKitWorkbenchFileResource = {
|
|
1152
|
+
fileKey: string;
|
|
1153
|
+
targetId?: string;
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1150
1156
|
/** Authenticated host response consumed only by ChatKit, never forwarded to a plugin. */
|
|
1151
1157
|
export declare type ChatKitWorkbenchNavigationSession = {
|
|
1152
1158
|
assistantId: string;
|
|
@@ -1193,6 +1199,11 @@ export declare type ChatKitWorkbenchOptions = {
|
|
|
1193
1199
|
onClientCommand?: (request: ChatKitWorkbenchClientCommandRequest) => unknown | Promise<unknown>;
|
|
1194
1200
|
};
|
|
1195
1201
|
|
|
1202
|
+
/** The host supplies identity, scope, authorization and canonical file metadata. */
|
|
1203
|
+
export declare type ChatKitWorkbenchResourceFileOpen = {
|
|
1204
|
+
resource: ChatKitWorkbenchFileResource;
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1196
1207
|
/**
|
|
1197
1208
|
* https://js.langchain.com/docs/how_to/streaming/#event-reference
|
|
1198
1209
|
*/
|