@botdojo/chat-sdk 0.0.6 → 0.0.7
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/lib/index.d.ts +4 -4
- package/lib/index.js +8315 -107
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
import { ModelContext, BotDojoConnector as BotDojoConnector$1 } from '@botdojo/sdk-canvas';
|
|
3
3
|
export { BotDojoConnector } from '@botdojo/sdk-canvas';
|
|
4
|
-
import { ModelContext as ModelContext$1, FlowRequestStep,
|
|
5
|
-
export { CitationData, ContentItem,
|
|
4
|
+
import { ModelContext as ModelContext$1, FlowRequestStep, Core_TokenUpdate } from '@botdojo/sdk-types';
|
|
5
|
+
export { CitationData, ContentItem, MIME_TYPES, ModelContext, ModelContextMessage, ModelContextPrompt, ModelContextResource, ResourceContent, ResourceProvider, ResourceReference, ResourceTemplate, ToolDefinition, ToolExecutionContext, ToolExecutionResult, ToolMetadata, citation, citations, imageResult, mcpResource, modelContext, textResult, tool, uiResource } from '@botdojo/sdk-types';
|
|
6
6
|
import { ChatMessage as ChatMessage$1 } from 'botdojo-core/lib/src/store/session';
|
|
7
7
|
import { FlowCanvasType } from 'botdojo-core/lib/src/store/flowRequest';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -606,7 +606,7 @@ type HeadlessEvent = {
|
|
|
606
606
|
} | {
|
|
607
607
|
type: 'token';
|
|
608
608
|
messageId: string;
|
|
609
|
-
tokenUpdate:
|
|
609
|
+
tokenUpdate: Core_TokenUpdate;
|
|
610
610
|
} | {
|
|
611
611
|
type: 'session_hydrated';
|
|
612
612
|
sessionId: string;
|
|
@@ -637,7 +637,7 @@ type HeadlessAction = {
|
|
|
637
637
|
} | {
|
|
638
638
|
type: 'TOKEN';
|
|
639
639
|
messageId: string;
|
|
640
|
-
tokenUpdate:
|
|
640
|
+
tokenUpdate: Core_TokenUpdate;
|
|
641
641
|
} | {
|
|
642
642
|
type: 'SESSION_HYDRATED';
|
|
643
643
|
sessionId: string;
|