@altimateai/ui-components 0.0.73 → 0.0.74
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { FC, ReactNode } from 'react';
|
|
2
|
-
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-
|
|
3
|
-
export { x as AssistantMeta, w as ChatEvent, v as ChatEventStatus, z as ChatbotUrls, B as Datamate, G as EntityDetectionRequest, H as EntityDetectionResponse, y as FileUploadProps, W as FinalResponseData, N as InteractionChoice, K as InteractionType, J as Mode, V as ProgressUpdate, R as ToolUsageData, U as UploadedFile, X as agentStreamResponseSchema, O as sessionStatusSchema, Q as todoItemSchema } from '../types-
|
|
2
|
+
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-dxSjfpqi.js';
|
|
3
|
+
export { x as AssistantMeta, w as ChatEvent, v as ChatEventStatus, z as ChatbotUrls, B as Datamate, G as EntityDetectionRequest, H as EntityDetectionResponse, y as FileUploadProps, W as FinalResponseData, N as InteractionChoice, K as InteractionType, J as Mode, V as ProgressUpdate, R as ToolUsageData, U as UploadedFile, X as agentStreamResponseSchema, O as sessionStatusSchema, Q as todoItemSchema } from '../types-dxSjfpqi.js';
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { B as ButtonProps, a as Button } from './Button-42Dj_nRE.js';
|
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
7
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
8
|
-
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-dxSjfpqi.js';
|
|
8
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-dxSjfpqi.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
|
@@ -2,7 +2,7 @@ import { ReactNode, Dispatch, ComponentType } from 'react';
|
|
|
2
2
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
|
-
type ChatEventStatus = "idle" | "pending" | "streaming" | "complete" | "error";
|
|
5
|
+
type ChatEventStatus = "idle" | "pending" | "streaming" | "complete" | "error" | "cancelled";
|
|
6
6
|
type ChatEvent = {
|
|
7
7
|
type: "session_created";
|
|
8
8
|
sessionId: string;
|
|
@@ -22,7 +22,8 @@ declare enum LoadingState {
|
|
|
22
22
|
LOADING = "LOADING",
|
|
23
23
|
LOADED = "LOADED",
|
|
24
24
|
ERROR = "ERROR",
|
|
25
|
-
UNINITIALIZED = "UNINITIALIZED"
|
|
25
|
+
UNINITIALIZED = "UNINITIALIZED",
|
|
26
|
+
CANCELLED = "cancelled"
|
|
26
27
|
}
|
|
27
28
|
interface AssistantMeta {
|
|
28
29
|
avatar: string;
|