@altimateai/ui-components 0.0.2-beta.1 → 0.0.2

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.
@@ -23,19 +23,12 @@ interface Feedback {
23
23
  rating?: "up" | "down";
24
24
  comment?: string;
25
25
  }
26
- interface ContextOption {
27
- label: string;
28
- key: string;
29
- options: {
30
- id: string;
31
- label: string;
32
- }[];
33
- }
34
26
  interface ChatSession {
35
27
  id: string;
36
28
  messages: ChatMessage[];
37
29
  context?: {
38
30
  files?: File[];
31
+ selectedOptions?: string[];
39
32
  [x: string]: unknown;
40
33
  };
41
34
  }
@@ -55,7 +48,6 @@ interface ChatbotProps {
55
48
  assistantMeta?: AssistantMeta;
56
49
  context?: Record<string, unknown>;
57
50
  fileUploadProps?: FileUploadProps;
58
- contextOptions?: ContextOption[];
59
51
  }
60
52
  interface ChatbotProviderProps extends ChatbotProps {
61
53
  taskLabel?: keyof typeof TaskLabels;
@@ -67,7 +59,6 @@ interface ChatbotProviderProps extends ChatbotProps {
67
59
  components?: {
68
60
  feedback?: ReactNode;
69
61
  };
70
- contextOptions?: ContextOption[];
71
62
  }
72
63
  type InteractionType = "text" | "select" | "multiSelect" | "confirm";
73
64
  interface InteractionChoice {
@@ -233,8 +224,6 @@ interface TeamMateComponentProps<T = void> {
233
224
  frontendUrl?: string;
234
225
  urls?: ChatbotUrls;
235
226
  requestParams?: RequestInit;
236
- context?: ChatSession["context"];
237
- contextOptions?: ContextOption[];
238
227
  }
239
228
  interface TeamMateConfig<T = unknown> {
240
229
  name: string;
@@ -258,4 +247,4 @@ interface Citation {
258
247
  taskLabel: TaskLabels;
259
248
  }
260
249
 
261
- export { type Artifact as A, type CoachAiResponse as C, type Feedback as F, type InteractionRequest as I, type Learning as L, PersonalizationScope as P, TaskLabels as T, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatbotProviderProps as k, learningSchema as l, type ContextOption as m, type ChatMessage as n, type AgentAction as o, LoadingState as p, type AssistantMeta as q, type ChatSession as r, type FileUploadProps as s, type ChatbotUrls as t, type InteractionType as u, type InteractionChoice as v, type ChatResponse as w, type ChatState as x, type AgentStreamResponse as y };
250
+ export { type Artifact as A, type CoachAiResponse as C, type Feedback as F, type InteractionRequest as I, type Learning as L, PersonalizationScope as P, TaskLabels as T, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatbotProviderProps as k, learningSchema as l, type ChatMessage as m, type AgentAction as n, LoadingState as o, type AssistantMeta as p, type ChatSession as q, type FileUploadProps as r, type ChatbotUrls as s, type InteractionType as t, type InteractionChoice as u, type ChatResponse as v, type ChatState as w, type AgentStreamResponse as x };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.2-beta.1",
3
+ "version": "0.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"