@altimateai/ui-components 0.0.77-beta.6 → 0.0.77-beta.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/dist/CoachForm.js +23618 -18374
- package/dist/Stack.js +39 -39
- package/dist/ToggleGroup.js +9 -9
- package/dist/assets/icons/index.js +1 -1
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/chatbotV2/index.js +73 -102
- package/dist/dagre-6UL2VRFP.js +95 -95
- package/dist/dagre-6UL2VRFP2.js +88 -88
- package/dist/index.d.ts +101 -6
- package/dist/index.js +7 -7
- package/dist/index3.js +20 -20
- package/dist/lineage/index.js +157 -157
- package/dist/main.js +76 -76
- package/dist/mermaid-parser.core.js +1 -1
- package/dist/pie.js +10 -10
- package/dist/shadcn/index.js +3 -3
- package/dist/{types-BZH4Xw79.d.ts → types-UHJCpYj0.d.ts} +24 -115
- package/dist/wasm.js +5 -4
- package/dist/wasm2.js +4 -5
- package/package.json +1 -1
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
import { ReactNode
|
|
2
|
-
import { UnknownAction } from '@reduxjs/toolkit';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
3
2
|
import { z } from 'zod';
|
|
4
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Shared types used across multiple components to avoid circular dependencies
|
|
6
|
+
*/
|
|
7
|
+
declare enum TaskLabels {
|
|
8
|
+
DocGen = "DocGen",
|
|
9
|
+
ChartBot = "ChartBot",
|
|
10
|
+
SqlBot = "SqlExpert",
|
|
11
|
+
OpportunitiesBot = "OpportunitiesBot",
|
|
12
|
+
ProjectGovernor = "ProjectGovernor",
|
|
13
|
+
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
14
|
+
AlertManager = "AlertManager"
|
|
15
|
+
}
|
|
16
|
+
interface Citation {
|
|
17
|
+
id: string;
|
|
18
|
+
content: string;
|
|
19
|
+
taskLabel: TaskLabels;
|
|
20
|
+
}
|
|
21
|
+
|
|
5
22
|
type ChatEventStatus = "idle" | "pending" | "streaming" | "complete" | "error" | "cancelled";
|
|
6
23
|
type ChatEvent = {
|
|
7
24
|
type: "session_created";
|
|
@@ -402,7 +419,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
402
419
|
}>, "many">>;
|
|
403
420
|
confidence_str: z.ZodOptional<z.ZodString>;
|
|
404
421
|
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
type: "text" | "info" | "error" | "custom" | "
|
|
422
|
+
type: "text" | "info" | "error" | "custom" | "complete" | "analysis" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
406
423
|
id?: string | undefined;
|
|
407
424
|
content?: string | undefined;
|
|
408
425
|
heading?: string | undefined;
|
|
@@ -412,13 +429,13 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
412
429
|
tool: string;
|
|
413
430
|
}[] | undefined;
|
|
414
431
|
} | undefined;
|
|
432
|
+
tool?: string | undefined;
|
|
415
433
|
citations?: {
|
|
416
434
|
content: string;
|
|
417
435
|
name: string;
|
|
418
436
|
type: string;
|
|
419
437
|
entity: string;
|
|
420
438
|
}[] | undefined;
|
|
421
|
-
tool?: string | undefined;
|
|
422
439
|
todos?: {
|
|
423
440
|
id: string;
|
|
424
441
|
content: string;
|
|
@@ -445,7 +462,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
445
462
|
}[] | undefined;
|
|
446
463
|
confidence_str?: string | undefined;
|
|
447
464
|
}, {
|
|
448
|
-
type: "text" | "info" | "error" | "custom" | "
|
|
465
|
+
type: "text" | "info" | "error" | "custom" | "complete" | "analysis" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
449
466
|
id?: string | undefined;
|
|
450
467
|
content?: string | undefined;
|
|
451
468
|
heading?: string | undefined;
|
|
@@ -455,13 +472,13 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
455
472
|
tool: string;
|
|
456
473
|
}[] | undefined;
|
|
457
474
|
} | undefined;
|
|
475
|
+
tool?: string | undefined;
|
|
458
476
|
citations?: {
|
|
459
477
|
content: string;
|
|
460
478
|
name: string;
|
|
461
479
|
type: string;
|
|
462
480
|
entity: string;
|
|
463
481
|
}[] | undefined;
|
|
464
|
-
tool?: string | undefined;
|
|
465
482
|
todos?: {
|
|
466
483
|
id: string;
|
|
467
484
|
content: string;
|
|
@@ -513,112 +530,4 @@ interface AgentStreamResponse {
|
|
|
513
530
|
confidence_str?: string;
|
|
514
531
|
}
|
|
515
532
|
|
|
516
|
-
|
|
517
|
-
showCoachingForm: boolean;
|
|
518
|
-
}
|
|
519
|
-
interface TeamMateContextProps {
|
|
520
|
-
state: TeamMateState;
|
|
521
|
-
dispatch: Dispatch<UnknownAction>;
|
|
522
|
-
}
|
|
523
|
-
interface CoachAiResponse {
|
|
524
|
-
ai_response: string;
|
|
525
|
-
category: string;
|
|
526
|
-
personalizationScope: string;
|
|
527
|
-
}
|
|
528
|
-
interface CoachAiConfirmationResponse {
|
|
529
|
-
ok: boolean;
|
|
530
|
-
train_doc_uid: string;
|
|
531
|
-
frontend_url: string;
|
|
532
|
-
}
|
|
533
|
-
declare enum ContentCategory {
|
|
534
|
-
TERM_CLARIFICATION = "TermClarification",
|
|
535
|
-
GENERAL_GUIDELINES = "GeneralGuidelines",
|
|
536
|
-
BUSINESS_EXPLANATION = "BusinessExplanation"
|
|
537
|
-
}
|
|
538
|
-
declare enum TaskLabels {
|
|
539
|
-
DocGen = "DocGen",
|
|
540
|
-
ChartBot = "ChartBot",
|
|
541
|
-
SqlBot = "SqlExpert",
|
|
542
|
-
OpportunitiesBot = "OpportunitiesBot",
|
|
543
|
-
ProjectGovernor = "ProjectGovernor",
|
|
544
|
-
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
545
|
-
AlertManager = "AlertManager"
|
|
546
|
-
}
|
|
547
|
-
declare enum PersonalizationScope {
|
|
548
|
-
USER_SPECIFIC = "UserSpecific",
|
|
549
|
-
ALL_USERS = "AllUsers"
|
|
550
|
-
}
|
|
551
|
-
declare const learningSchema: z.ZodObject<{
|
|
552
|
-
train_doc_uid: z.ZodString;
|
|
553
|
-
userId: z.ZodString;
|
|
554
|
-
display_name: z.ZodString;
|
|
555
|
-
taskLabel: z.ZodString;
|
|
556
|
-
category: z.ZodEnum<[string, ...string[]]>;
|
|
557
|
-
personalizationScope: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
558
|
-
createdDate: z.ZodString;
|
|
559
|
-
updatedDate: z.ZodString;
|
|
560
|
-
content: z.ZodString;
|
|
561
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
562
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
563
|
-
}, "strip", z.ZodTypeAny, {
|
|
564
|
-
content: string;
|
|
565
|
-
isActive: boolean;
|
|
566
|
-
category: string;
|
|
567
|
-
display_name: string;
|
|
568
|
-
userId: string;
|
|
569
|
-
taskLabel: string;
|
|
570
|
-
personalizationScope: string;
|
|
571
|
-
train_doc_uid: string;
|
|
572
|
-
createdDate: string;
|
|
573
|
-
updatedDate: string;
|
|
574
|
-
metadata?: Record<string, unknown> | undefined;
|
|
575
|
-
}, {
|
|
576
|
-
content: string;
|
|
577
|
-
category: string;
|
|
578
|
-
display_name: string;
|
|
579
|
-
userId: string;
|
|
580
|
-
taskLabel: string;
|
|
581
|
-
train_doc_uid: string;
|
|
582
|
-
createdDate: string;
|
|
583
|
-
updatedDate: string;
|
|
584
|
-
metadata?: Record<string, unknown> | undefined;
|
|
585
|
-
isActive?: boolean | undefined;
|
|
586
|
-
personalizationScope?: string | undefined;
|
|
587
|
-
}>;
|
|
588
|
-
interface Learning extends z.infer<typeof learningSchema> {
|
|
589
|
-
}
|
|
590
|
-
declare enum TeamMateAvailability {
|
|
591
|
-
EXTENSION = "VSCode Extension",
|
|
592
|
-
SAAS = "SaaS"
|
|
593
|
-
}
|
|
594
|
-
interface TeamMateComponentProps<T = void> {
|
|
595
|
-
onClose?: (data?: T) => void;
|
|
596
|
-
frontendUrl?: string;
|
|
597
|
-
urls?: ChatbotUrls;
|
|
598
|
-
requestParams?: RequestInit;
|
|
599
|
-
context?: ChatSession["context"];
|
|
600
|
-
contextOptions?: ContextOption[];
|
|
601
|
-
}
|
|
602
|
-
interface TeamMateConfig<T = unknown> {
|
|
603
|
-
name: string;
|
|
604
|
-
avatar: string;
|
|
605
|
-
description: string;
|
|
606
|
-
availability: TeamMateAvailability[];
|
|
607
|
-
key: TaskLabels;
|
|
608
|
-
seeInAction?: boolean;
|
|
609
|
-
comingSoon?: boolean | (() => boolean);
|
|
610
|
-
displayComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
611
|
-
formComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
612
|
-
}
|
|
613
|
-
declare enum TeamMateActionType {
|
|
614
|
-
SEE_IN_ACTION = "SEE_IN_ACTION",
|
|
615
|
-
REQUEST_ACCESS = "REQUEST_ACCESS",
|
|
616
|
-
VIEW_DETAILS = "VIEW_DETAILS"
|
|
617
|
-
}
|
|
618
|
-
interface Citation {
|
|
619
|
-
id: string;
|
|
620
|
-
content: string;
|
|
621
|
-
taskLabel: TaskLabels;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export { type Artifact as A, type Datamate as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type EntityDetectionRequest as G, type EntityDetectionResponse as H, type InteractionRequest as I, type Mode as J, type InteractionType as K, type Learning as L, type MessageAttachment as M, type InteractionChoice as N, sessionStatusSchema as O, PersonalizationScope as P, todoItemSchema as Q, type ToolUsageData as R, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, type ProgressUpdate as V, type FinalResponseData as W, agentStreamResponseSchema as X, 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 ChatSession as k, learningSchema as l, type ChatbotProviderProps as m, type ChatState as n, type ContextOption as o, type ChatMessage as p, type AgentAction as q, type TodoItem as r, type ChatResponse as s, LoadingState as t, type AgentStreamResponse as u, type ChatEventStatus as v, type ChatEvent as w, type AssistantMeta as x, type FileUploadProps as y, type ChatbotUrls as z };
|
|
533
|
+
export { type Artifact as A, type ChatbotUrls as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type InteractionRequest as I, LoadingState as L, type MessageAttachment as M, type ProgressUpdate as P, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, type ChatSession as a, type ContextOption as b, type Citation as c, type ChatbotProps as d, type ChatbotProviderProps as e, type ChatState as f, type ChatMessage as g, type AgentAction as h, type TodoItem as i, type ChatResponse as j, type AgentStreamResponse as k, type ChatEventStatus as l, type ChatEvent as m, type AssistantMeta as n, type FileUploadProps as o, type Datamate as p, type EntityDetectionRequest as q, type EntityDetectionResponse as r, type Mode as s, type InteractionType as t, type InteractionChoice as u, sessionStatusSchema as v, todoItemSchema as w, type ToolUsageData as x, type FinalResponseData as y, agentStreamResponseSchema as z };
|