@iblai/mcp 1.1.0 → 1.1.4
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/README.md +95 -142
- package/dist/index.js +35 -9
- package/dist/index.js.map +1 -1
- package/dist/prompts/create-playwright-test.d.ts.map +1 -1
- package/dist/prompts/create-playwright-test.js +1 -5
- package/dist/prompts/create-playwright-test.js.map +1 -1
- package/dist/prompts/setup-new-app.d.ts.map +1 -1
- package/dist/prompts/setup-new-app.js.map +1 -1
- package/dist/resources/web-containers.d.ts.map +1 -1
- package/dist/resources/web-containers.js +60 -0
- package/dist/resources/web-containers.js.map +1 -1
- package/dist/resources/web-utils.d.ts.map +1 -1
- package/dist/resources/web-utils.js +37 -0
- package/dist/resources/web-utils.js.map +1 -1
- package/dist/tools/api-query-info.d.ts.map +1 -1
- package/dist/tools/api-query-info.js +0 -170
- package/dist/tools/api-query-info.js.map +1 -1
- package/dist/tools/component-info.d.ts.map +1 -1
- package/dist/tools/component-info.js +300 -5
- package/dist/tools/component-info.js.map +1 -1
- package/dist/tools/hook-info.d.ts.map +1 -1
- package/dist/tools/hook-info.js +132 -125
- package/dist/tools/hook-info.js.map +1 -1
- package/dist/tools/playwright-helper-info.d.ts.map +1 -1
- package/dist/tools/playwright-helper-info.js +157 -0
- package/dist/tools/playwright-helper-info.js.map +1 -1
- package/package.json +1 -1
|
@@ -996,176 +996,6 @@ const { data, isLoading } = useGetStudentMentorCreationStatusQuery({
|
|
|
996
996
|
});
|
|
997
997
|
|
|
998
998
|
// Returns whether student can create mentors
|
|
999
|
-
\`\`\``,
|
|
1000
|
-
// ============================================================================
|
|
1001
|
-
// MEMORY API ENDPOINTS
|
|
1002
|
-
// ============================================================================
|
|
1003
|
-
useGetMemoriesQuery: `# useGetMemoriesQuery
|
|
1004
|
-
|
|
1005
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1006
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1007
|
-
**Feature**: Mentor Memory/RAG
|
|
1008
|
-
|
|
1009
|
-
\`\`\`typescript
|
|
1010
|
-
import { useGetMemoriesQuery } from '@iblai/iblai-js/data-layer';
|
|
1011
|
-
|
|
1012
|
-
const { data: memories, isLoading } = useGetMemoriesQuery({
|
|
1013
|
-
org: string,
|
|
1014
|
-
mentorId: string,
|
|
1015
|
-
page?: number,
|
|
1016
|
-
pageSize?: number,
|
|
1017
|
-
category?: string,
|
|
1018
|
-
});
|
|
1019
|
-
|
|
1020
|
-
// Response type
|
|
1021
|
-
interface MemoriesFetchResponse {
|
|
1022
|
-
count: number;
|
|
1023
|
-
results: Memory[];
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
interface Memory {
|
|
1027
|
-
id: string;
|
|
1028
|
-
content: string;
|
|
1029
|
-
category: string;
|
|
1030
|
-
created_at: string;
|
|
1031
|
-
updated_at: string;
|
|
1032
|
-
}
|
|
1033
|
-
\`\`\``,
|
|
1034
|
-
useGetMemoryCategoriesQuery: `# useGetMemoryCategoriesQuery
|
|
1035
|
-
|
|
1036
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1037
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1038
|
-
**Feature**: Mentor Memory/RAG
|
|
1039
|
-
|
|
1040
|
-
\`\`\`typescript
|
|
1041
|
-
import { useGetMemoryCategoriesQuery } from '@iblai/iblai-js/data-layer';
|
|
1042
|
-
|
|
1043
|
-
const { data: categories, isLoading } = useGetMemoryCategoriesQuery({
|
|
1044
|
-
org: string,
|
|
1045
|
-
mentorId: string,
|
|
1046
|
-
});
|
|
1047
|
-
|
|
1048
|
-
// Returns array of available memory categories
|
|
1049
|
-
\`\`\``,
|
|
1050
|
-
useCreateMemoryMutation: `# useCreateMemoryMutation
|
|
1051
|
-
|
|
1052
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1053
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1054
|
-
**Feature**: Mentor Memory/RAG
|
|
1055
|
-
|
|
1056
|
-
\`\`\`typescript
|
|
1057
|
-
import { useCreateMemoryMutation } from '@iblai/iblai-js/data-layer';
|
|
1058
|
-
|
|
1059
|
-
const [createMemory, { isLoading }] = useCreateMemoryMutation();
|
|
1060
|
-
|
|
1061
|
-
const newMemory = await createMemory({
|
|
1062
|
-
org: string,
|
|
1063
|
-
mentorId: string,
|
|
1064
|
-
content: string,
|
|
1065
|
-
category?: string,
|
|
1066
|
-
}).unwrap();
|
|
1067
|
-
\`\`\``,
|
|
1068
|
-
useUpdateMemoryEntryMutation: `# useUpdateMemoryEntryMutation
|
|
1069
|
-
|
|
1070
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1071
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1072
|
-
**Feature**: Mentor Memory/RAG
|
|
1073
|
-
|
|
1074
|
-
\`\`\`typescript
|
|
1075
|
-
import { useUpdateMemoryEntryMutation } from '@iblai/iblai-js/data-layer';
|
|
1076
|
-
|
|
1077
|
-
const [updateMemory, { isLoading }] = useUpdateMemoryEntryMutation();
|
|
1078
|
-
|
|
1079
|
-
await updateMemory({
|
|
1080
|
-
org: string,
|
|
1081
|
-
mentorId: string,
|
|
1082
|
-
memoryId: string,
|
|
1083
|
-
content?: string,
|
|
1084
|
-
category?: string,
|
|
1085
|
-
}).unwrap();
|
|
1086
|
-
\`\`\``,
|
|
1087
|
-
useDeleteMemoryMutation: `# useDeleteMemoryMutation
|
|
1088
|
-
|
|
1089
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1090
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1091
|
-
**Feature**: Mentor Memory/RAG
|
|
1092
|
-
|
|
1093
|
-
\`\`\`typescript
|
|
1094
|
-
import { useDeleteMemoryMutation } from '@iblai/iblai-js/data-layer';
|
|
1095
|
-
|
|
1096
|
-
const [deleteMemory, { isLoading }] = useDeleteMemoryMutation();
|
|
1097
|
-
|
|
1098
|
-
await deleteMemory({
|
|
1099
|
-
org: string,
|
|
1100
|
-
mentorId: string,
|
|
1101
|
-
memoryId: string,
|
|
1102
|
-
}).unwrap();
|
|
1103
|
-
\`\`\``,
|
|
1104
|
-
useGetMentorUserSettingsQuery: `# useGetMentorUserSettingsQuery
|
|
1105
|
-
|
|
1106
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1107
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1108
|
-
**Feature**: User Preferences
|
|
1109
|
-
|
|
1110
|
-
\`\`\`typescript
|
|
1111
|
-
import { useGetMentorUserSettingsQuery } from '@iblai/iblai-js/data-layer';
|
|
1112
|
-
|
|
1113
|
-
const { data: settings, isLoading } = useGetMentorUserSettingsQuery({
|
|
1114
|
-
org: string,
|
|
1115
|
-
mentorId: string,
|
|
1116
|
-
});
|
|
1117
|
-
|
|
1118
|
-
// Returns user-specific settings for a mentor
|
|
1119
|
-
\`\`\``,
|
|
1120
|
-
useUpdateMentorUserSettingsMutation: `# useUpdateMentorUserSettingsMutation
|
|
1121
|
-
|
|
1122
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1123
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1124
|
-
**Feature**: User Preferences
|
|
1125
|
-
|
|
1126
|
-
\`\`\`typescript
|
|
1127
|
-
import { useUpdateMentorUserSettingsMutation } from '@iblai/iblai-js/data-layer';
|
|
1128
|
-
|
|
1129
|
-
const [updateSettings, { isLoading }] = useUpdateMentorUserSettingsMutation();
|
|
1130
|
-
|
|
1131
|
-
await updateSettings({
|
|
1132
|
-
org: string,
|
|
1133
|
-
mentorId: string,
|
|
1134
|
-
// User preference fields
|
|
1135
|
-
}).unwrap();
|
|
1136
|
-
\`\`\``,
|
|
1137
|
-
useGetMemoryFiltersQuery: `# useGetMemoryFiltersQuery
|
|
1138
|
-
|
|
1139
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1140
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1141
|
-
**Feature**: Mentor Memory/RAG
|
|
1142
|
-
|
|
1143
|
-
\`\`\`typescript
|
|
1144
|
-
import { useGetMemoryFiltersQuery } from '@iblai/iblai-js/data-layer';
|
|
1145
|
-
|
|
1146
|
-
const { data: filters, isLoading } = useGetMemoryFiltersQuery({
|
|
1147
|
-
org: string,
|
|
1148
|
-
mentorId: string,
|
|
1149
|
-
});
|
|
1150
|
-
|
|
1151
|
-
// Returns available filters for memory search
|
|
1152
|
-
\`\`\``,
|
|
1153
|
-
useGetFilteredMemoriesQuery: `# useGetFilteredMemoriesQuery
|
|
1154
|
-
|
|
1155
|
-
**Package**: \`@iblai/iblai-js/data-layer\`
|
|
1156
|
-
**File**: \`packages/data-layer/src/features/memory/api-slice.ts\`
|
|
1157
|
-
**Feature**: Mentor Memory/RAG
|
|
1158
|
-
|
|
1159
|
-
\`\`\`typescript
|
|
1160
|
-
import { useGetFilteredMemoriesQuery } from '@iblai/iblai-js/data-layer';
|
|
1161
|
-
|
|
1162
|
-
const { data: memories, isLoading } = useGetFilteredMemoriesQuery({
|
|
1163
|
-
org: string,
|
|
1164
|
-
mentorId: string,
|
|
1165
|
-
filters: FilterParams,
|
|
1166
|
-
});
|
|
1167
|
-
|
|
1168
|
-
// Returns filtered memories based on criteria
|
|
1169
999
|
\`\`\``,
|
|
1170
1000
|
// ============================================================================
|
|
1171
1001
|
// MCP API ENDPOINTS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-query-info.js","sourceRoot":"","sources":["../../src/tools/api-query-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,yDAAyD;IACtE,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAA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;;CAc7B,CAAC;
|
|
1
|
+
{"version":3,"file":"component-info.d.ts","sourceRoot":"","sources":["../../src/tools/component-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;CAc7B,CAAC;AA6xDF,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAqC9D"}
|
|
@@ -1432,6 +1432,123 @@ interface ErrorPageProps {
|
|
|
1432
1432
|
> **Import from \`@iblai/iblai-js/web-containers/next\`** — requires Next.js
|
|
1433
1433
|
|
|
1434
1434
|
**File Location**: \`packages/web-containers/src/components/error/error-page.tsx\``,
|
|
1435
|
+
AppSidebar: `# AppSidebar Component
|
|
1436
|
+
|
|
1437
|
+
Collapsible sidebar for the Mentor app with configurable content and footer menu items.
|
|
1438
|
+
|
|
1439
|
+
\`\`\`typescript
|
|
1440
|
+
import { AppSidebar } from '@iblai/iblai-js/web-containers/next';
|
|
1441
|
+
|
|
1442
|
+
interface MenuItem {
|
|
1443
|
+
icon: React.ComponentType<{ className?: string }>;
|
|
1444
|
+
label: string;
|
|
1445
|
+
onClick: () => void;
|
|
1446
|
+
hasBorder?: boolean;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
interface AppSidebarProps {
|
|
1450
|
+
logo?: React.ReactNode;
|
|
1451
|
+
contentItems: MenuItem[];
|
|
1452
|
+
footerItems: MenuItem[];
|
|
1453
|
+
showProjects?: boolean;
|
|
1454
|
+
showPinnedMessages?: boolean;
|
|
1455
|
+
showRecentMessages?: boolean;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
<AppSidebar
|
|
1459
|
+
logo={<img src="/logo.svg" alt="Logo" />}
|
|
1460
|
+
contentItems={[
|
|
1461
|
+
{ icon: MessageSquare, label: 'Chat', onClick: () => navigate('/chat') },
|
|
1462
|
+
{ icon: Compass, label: 'Explore', onClick: () => navigate('/explore'), hasBorder: true },
|
|
1463
|
+
]}
|
|
1464
|
+
footerItems={[
|
|
1465
|
+
{ icon: Settings, label: 'Settings', onClick: openSettings },
|
|
1466
|
+
{ icon: LogOut, label: 'Logout', onClick: handleLogout },
|
|
1467
|
+
]}
|
|
1468
|
+
showProjects={false}
|
|
1469
|
+
showPinnedMessages={false}
|
|
1470
|
+
showRecentMessages={false}
|
|
1471
|
+
/>
|
|
1472
|
+
\`\`\`
|
|
1473
|
+
|
|
1474
|
+
> **Import from \`@iblai/iblai-js/web-containers/next\`** — requires Next.js
|
|
1475
|
+
|
|
1476
|
+
**File Location**: \`packages/web-containers/src/components/mentor-ui/app-sidebar/index.tsx\``,
|
|
1477
|
+
NavBar: `# NavBar Component
|
|
1478
|
+
|
|
1479
|
+
Top navigation bar with user menu, new chat button, and optional mentor dropdown.
|
|
1480
|
+
|
|
1481
|
+
\`\`\`typescript
|
|
1482
|
+
import { NavBar } from '@iblai/iblai-js/web-containers/next';
|
|
1483
|
+
|
|
1484
|
+
interface NavBarProps {
|
|
1485
|
+
username?: string | null;
|
|
1486
|
+
isAuthenticated?: boolean;
|
|
1487
|
+
onNewChat?: () => void;
|
|
1488
|
+
onSettings?: () => void;
|
|
1489
|
+
onLogout?: () => void;
|
|
1490
|
+
onLogin?: () => void;
|
|
1491
|
+
mentorName?: string;
|
|
1492
|
+
showMentorDropdown?: boolean;
|
|
1493
|
+
additionalMenuItems?: Array<{
|
|
1494
|
+
icon: React.ComponentType<{ className?: string }>;
|
|
1495
|
+
label: string;
|
|
1496
|
+
onClick: () => void;
|
|
1497
|
+
separator?: boolean;
|
|
1498
|
+
}>;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
<NavBar
|
|
1502
|
+
username={username}
|
|
1503
|
+
isAuthenticated={true}
|
|
1504
|
+
onNewChat={() => startNewChat()}
|
|
1505
|
+
onSettings={() => openSettings()}
|
|
1506
|
+
onLogout={() => handleLogout()}
|
|
1507
|
+
onLogin={() => redirectToLogin()}
|
|
1508
|
+
mentorName="My Mentor"
|
|
1509
|
+
showMentorDropdown={false}
|
|
1510
|
+
additionalMenuItems={[
|
|
1511
|
+
{ icon: User, label: 'Profile', onClick: openProfile },
|
|
1512
|
+
]}
|
|
1513
|
+
/>
|
|
1514
|
+
\`\`\`
|
|
1515
|
+
|
|
1516
|
+
> **Import from \`@iblai/iblai-js/web-containers/next\`** — requires Next.js
|
|
1517
|
+
|
|
1518
|
+
**File Location**: \`packages/web-containers/src/components/mentor-ui/navbar/index.tsx\``,
|
|
1519
|
+
ConversationStarters: `# ConversationStarters Component
|
|
1520
|
+
|
|
1521
|
+
Displays guided prompt cards that users can click to start a chat session.
|
|
1522
|
+
|
|
1523
|
+
\`\`\`typescript
|
|
1524
|
+
import { ConversationStarters } from '@iblai/iblai-js/web-containers/next';
|
|
1525
|
+
|
|
1526
|
+
interface GuidedPrompt {
|
|
1527
|
+
prompt: string;
|
|
1528
|
+
icon?: string; // Lucide icon name (e.g., 'book-open', 'lightbulb')
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
interface ConversationStartersProps {
|
|
1532
|
+
onTemplateSelect: (template: string) => void;
|
|
1533
|
+
guidedPrompts?: GuidedPrompt[];
|
|
1534
|
+
disabled?: boolean;
|
|
1535
|
+
className?: string;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
<ConversationStarters
|
|
1539
|
+
onTemplateSelect={(prompt) => sendMessage(prompt)}
|
|
1540
|
+
guidedPrompts={[
|
|
1541
|
+
{ prompt: 'Help me study for my exam', icon: 'book-open' },
|
|
1542
|
+
{ prompt: 'Explain this concept', icon: 'lightbulb' },
|
|
1543
|
+
]}
|
|
1544
|
+
disabled={isStreaming}
|
|
1545
|
+
className="mt-4"
|
|
1546
|
+
/>
|
|
1547
|
+
\`\`\`
|
|
1548
|
+
|
|
1549
|
+
> **Import from \`@iblai/iblai-js/web-containers/next\`** — requires Next.js
|
|
1550
|
+
|
|
1551
|
+
**File Location**: \`packages/web-containers/src/components/mentor-ui/welcome-chat/conversation-starters.tsx\``,
|
|
1435
1552
|
ClientErrorPage: `# ClientErrorPage Component
|
|
1436
1553
|
|
|
1437
1554
|
Client-side error boundary page.
|
|
@@ -1471,12 +1588,180 @@ interface ClientErrorPageProps {
|
|
|
1471
1588
|
> **Import from \`@iblai/iblai-js/web-containers/next\`** — requires Next.js
|
|
1472
1589
|
|
|
1473
1590
|
**File Location**: \`packages/web-containers/src/components/error/client-error-page.tsx\``,
|
|
1591
|
+
// ============================================================================
|
|
1592
|
+
// WORKFLOW COMPONENTS
|
|
1593
|
+
// ============================================================================
|
|
1594
|
+
ConnectorManagementDialog: `# ConnectorManagementDialog Component
|
|
1595
|
+
|
|
1596
|
+
Dialog for browsing and adding MCP (Model Context Protocol) connectors to a workflow. Displays featured and third-party connectors in a searchable, tabbed interface.
|
|
1597
|
+
|
|
1598
|
+
\`\`\`typescript
|
|
1599
|
+
import { ConnectorManagementDialog } from '@iblai/iblai-js/web-containers';
|
|
1600
|
+
|
|
1601
|
+
interface ConnectorManagementDialogProps {
|
|
1602
|
+
open: boolean;
|
|
1603
|
+
onClose: () => void;
|
|
1604
|
+
onAddConnector?: (connector: { name: string; icon?: string }) => void;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
<ConnectorManagementDialog
|
|
1608
|
+
open={isOpen}
|
|
1609
|
+
onClose={() => setIsOpen(false)}
|
|
1610
|
+
onAddConnector={(connector) => handleAdd(connector)}
|
|
1611
|
+
/>
|
|
1612
|
+
\`\`\`
|
|
1613
|
+
|
|
1614
|
+
**File Location**: \`packages/web-containers/src/components/workflows/connector-management-dialog.tsx\``,
|
|
1615
|
+
CreateWorkflowModal: `# CreateWorkflowModal Component
|
|
1616
|
+
|
|
1617
|
+
Modal dialog for creating a new workflow. Provides a text input for the workflow name with Enter key support and loading state.
|
|
1618
|
+
|
|
1619
|
+
\`\`\`typescript
|
|
1620
|
+
import { CreateWorkflowModal } from '@iblai/iblai-js/web-containers';
|
|
1621
|
+
|
|
1622
|
+
interface CreateWorkflowModalProps {
|
|
1623
|
+
open: boolean;
|
|
1624
|
+
onOpenChange: (open: boolean) => void;
|
|
1625
|
+
onCreateWorkflow: (name: string) => void;
|
|
1626
|
+
isCreating?: boolean;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
<CreateWorkflowModal
|
|
1630
|
+
open={showCreate}
|
|
1631
|
+
onOpenChange={setShowCreate}
|
|
1632
|
+
onCreateWorkflow={(name) => createWorkflow(name)}
|
|
1633
|
+
isCreating={isCreating}
|
|
1634
|
+
/>
|
|
1635
|
+
\`\`\`
|
|
1636
|
+
|
|
1637
|
+
**File Location**: \`packages/web-containers/src/components/workflows/create-workflow-modal.tsx\``,
|
|
1638
|
+
DeleteWorkflowModal: `# DeleteWorkflowModal Component
|
|
1639
|
+
|
|
1640
|
+
Alert dialog for confirming workflow deletion. Shows the workflow name and manages loading state during deletion.
|
|
1641
|
+
|
|
1642
|
+
\`\`\`typescript
|
|
1643
|
+
import { DeleteWorkflowModal } from '@iblai/iblai-js/web-containers';
|
|
1644
|
+
|
|
1645
|
+
interface DeleteWorkflowModalProps {
|
|
1646
|
+
isOpen: boolean;
|
|
1647
|
+
onClose: () => void;
|
|
1648
|
+
onConfirm: () => void;
|
|
1649
|
+
isDeleting: boolean;
|
|
1650
|
+
workflowName?: string;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
<DeleteWorkflowModal
|
|
1654
|
+
isOpen={showDelete}
|
|
1655
|
+
onClose={() => setShowDelete(false)}
|
|
1656
|
+
onConfirm={handleDelete}
|
|
1657
|
+
isDeleting={isDeleting}
|
|
1658
|
+
workflowName={workflow.name}
|
|
1659
|
+
/>
|
|
1660
|
+
\`\`\`
|
|
1661
|
+
|
|
1662
|
+
**File Location**: \`packages/web-containers/src/components/workflows/delete-workflow-modal.tsx\``,
|
|
1663
|
+
NodeTypeItem: `# NodeTypeItem Type
|
|
1664
|
+
|
|
1665
|
+
Type interface representing a workflow node that can be placed in a workflow canvas.
|
|
1666
|
+
|
|
1667
|
+
\`\`\`typescript
|
|
1668
|
+
import type { NodeTypeItem } from '@iblai/iblai-js/web-containers';
|
|
1669
|
+
|
|
1670
|
+
interface NodeTypeItem {
|
|
1671
|
+
id: string; // Node type identifier (e.g., 'mentor', 'end', 'if-else')
|
|
1672
|
+
label: string; // Display label
|
|
1673
|
+
category?: string; // Optional category grouping
|
|
1674
|
+
}
|
|
1675
|
+
\`\`\`
|
|
1676
|
+
|
|
1677
|
+
**File Location**: \`packages/web-containers/src/components/workflows/workflow-sidebar.tsx\``,
|
|
1678
|
+
NodeTypeSection: `# NodeTypeSection Type
|
|
1679
|
+
|
|
1680
|
+
Type interface representing a group of related node types for display in the WorkflowSidebar.
|
|
1681
|
+
|
|
1682
|
+
\`\`\`typescript
|
|
1683
|
+
import type { NodeTypeSection, NodeTypeItem } from '@iblai/iblai-js/web-containers';
|
|
1684
|
+
|
|
1685
|
+
interface NodeTypeSection {
|
|
1686
|
+
title: string; // Section heading (e.g., 'Core', 'Tools', 'Logic')
|
|
1687
|
+
items: NodeTypeItem[]; // Node types in this section
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
const sections: NodeTypeSection[] = [
|
|
1691
|
+
{ title: 'Core', items: [{ id: 'mentor', label: 'Mentor' }, { id: 'end', label: 'End' }] },
|
|
1692
|
+
{ title: 'Logic', items: [{ id: 'if-else', label: 'If/Else' }] },
|
|
1693
|
+
];
|
|
1694
|
+
\`\`\`
|
|
1695
|
+
|
|
1696
|
+
**File Location**: \`packages/web-containers/src/components/workflows/workflow-sidebar.tsx\``,
|
|
1697
|
+
ToolDialogs: `# ToolDialogs Component
|
|
1698
|
+
|
|
1699
|
+
Dialog system for adding and configuring various tool types in a workflow. Supports MCP, Web Search, Code Interpreter, Guardrails, If/Else, While loops, User Approval, Transform, and Set State tools.
|
|
1700
|
+
|
|
1701
|
+
\`\`\`typescript
|
|
1702
|
+
import { ToolDialogs } from '@iblai/iblai-js/web-containers';
|
|
1703
|
+
|
|
1704
|
+
interface ToolDialogsProps {
|
|
1705
|
+
trigger: React.ReactNode;
|
|
1706
|
+
onAddTool?: (toolType: string, toolName: string, config?: Record<string, unknown>) => void;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
<ToolDialogs
|
|
1710
|
+
trigger={<Button>Add Tool</Button>}
|
|
1711
|
+
onAddTool={(type, name, config) => handleAddTool(type, name, config)}
|
|
1712
|
+
/>
|
|
1713
|
+
\`\`\`
|
|
1714
|
+
|
|
1715
|
+
**File Location**: \`packages/web-containers/src/components/workflows/tool-dialogs.tsx\``,
|
|
1716
|
+
WorkflowSidebar: `# WorkflowSidebar Component
|
|
1717
|
+
|
|
1718
|
+
Sidebar displaying available workflow node types organized into sections. Supports drag-and-drop for adding nodes to a workflow canvas.
|
|
1719
|
+
|
|
1720
|
+
\`\`\`typescript
|
|
1721
|
+
import { WorkflowSidebar } from '@iblai/iblai-js/web-containers';
|
|
1722
|
+
import type { NodeTypeSection } from '@iblai/iblai-js/web-containers';
|
|
1723
|
+
|
|
1724
|
+
interface WorkflowSidebarProps {
|
|
1725
|
+
onDragStart: (item: { id: string; label: string; type: string }) => void;
|
|
1726
|
+
onItemClick: (item: { id: string; label: string; type: string }) => void;
|
|
1727
|
+
nodeTypes?: NodeTypeSection[]; // Custom sections (optional)
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
<WorkflowSidebar
|
|
1731
|
+
onDragStart={(item) => handleDragStart(item)}
|
|
1732
|
+
onItemClick={(item) => handleAddNode(item)}
|
|
1733
|
+
nodeTypes={customSections}
|
|
1734
|
+
/>
|
|
1735
|
+
\`\`\`
|
|
1736
|
+
|
|
1737
|
+
**File Location**: \`packages/web-containers/src/components/workflows/workflow-sidebar.tsx\``,
|
|
1474
1738
|
};
|
|
1475
1739
|
const UI_PRIMITIVES = [
|
|
1476
|
-
'Button',
|
|
1477
|
-
'
|
|
1478
|
-
'
|
|
1479
|
-
'
|
|
1740
|
+
'Button',
|
|
1741
|
+
'Card',
|
|
1742
|
+
'Dialog',
|
|
1743
|
+
'Input',
|
|
1744
|
+
'Label',
|
|
1745
|
+
'Textarea',
|
|
1746
|
+
'Select',
|
|
1747
|
+
'Checkbox',
|
|
1748
|
+
'RadioGroup',
|
|
1749
|
+
'Switch',
|
|
1750
|
+
'Tabs',
|
|
1751
|
+
'Avatar',
|
|
1752
|
+
'Badge',
|
|
1753
|
+
'Tooltip',
|
|
1754
|
+
'Popover',
|
|
1755
|
+
'DropdownMenu',
|
|
1756
|
+
'Table',
|
|
1757
|
+
'Skeleton',
|
|
1758
|
+
'Separator',
|
|
1759
|
+
'Progress',
|
|
1760
|
+
'Calendar',
|
|
1761
|
+
'Pagination',
|
|
1762
|
+
'Toggle',
|
|
1763
|
+
'Toast',
|
|
1764
|
+
'Chart',
|
|
1480
1765
|
];
|
|
1481
1766
|
export function getComponentInfo(componentName) {
|
|
1482
1767
|
const info = components[componentName];
|
|
@@ -1489,7 +1774,17 @@ export function getComponentInfo(componentName) {
|
|
|
1489
1774
|
return components[match];
|
|
1490
1775
|
const allComponents = Object.keys(components).sort();
|
|
1491
1776
|
const featureComponents = allComponents.filter((c) => !UI_PRIMITIVES.includes(c));
|
|
1492
|
-
const nextComponents = [
|
|
1777
|
+
const nextComponents = [
|
|
1778
|
+
'UserProfileDropdown',
|
|
1779
|
+
'UserProfileModal',
|
|
1780
|
+
'SsoLogin',
|
|
1781
|
+
'ErrorPage',
|
|
1782
|
+
'ClientErrorPage',
|
|
1783
|
+
'AppSidebar',
|
|
1784
|
+
'NavBar',
|
|
1785
|
+
'ConversationStarters',
|
|
1786
|
+
,
|
|
1787
|
+
];
|
|
1493
1788
|
return `Component "${componentName}" not found.
|
|
1494
1789
|
|
|
1495
1790
|
**UI Primitives (${UI_PRIMITIVES.length}):**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-info.js","sourceRoot":"","sources":["../../src/tools/component-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAA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C,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,EAAE,CAAC;IACrD,MAAM,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAClF,MAAM,cAAc,GAAG;QACrB,qBAAqB;QAErB,kBAAkB;QAElB,UAAU;QAEV,WAAW;QAEX,iBAAiB;QACjB,YAAY;QACZ,QAAQ;QACR,sBAAsB;QACtB,AADuB;KAExB,CAAC;IAEF,OAAO,cAAc,aAAa;;mBAEjB,aAAa,CAAC,MAAM;EACrC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;;wBAEF,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM;EACzF,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;;wBAEjD,cAAc,CAAC,MAAM;EAC3C,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook-info.d.ts","sourceRoot":"","sources":["../../src/tools/hook-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAcxB,CAAC;
|
|
1
|
+
{"version":3,"file":"hook-info.d.ts","sourceRoot":"","sources":["../../src/tools/hook-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAcxB,CAAC;AAg7DF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAuIpD"}
|