@iblai/mcp 1.1.0 → 1.1.3
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/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 -1
- 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.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,199 +1,152 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @iblai/mcp
|
|
2
2
|
|
|
3
|
-
An MCP (Model Context Protocol) server that provides comprehensive documentation
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
|
|
7
|
-
This MCP server helps AI assistants understand and work with:
|
|
8
|
-
|
|
9
|
-
- **@iblai/web-containers**: Shared React components built on Radix UI
|
|
10
|
-
- **@iblai/web-utils**: Authentication utilities, context providers, and hooks
|
|
11
|
-
- **@iblai/data-layer**: Redux store and RTK Query APIs
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
cd packages/mcp-server
|
|
17
|
-
pnpm install
|
|
18
|
-
pnpm build
|
|
19
|
-
```
|
|
3
|
+
An MCP (Model Context Protocol) server that provides AI assistants with comprehensive documentation for the IBL frontend packages — components, hooks, API queries, provider setup patterns, and Playwright test helpers.
|
|
20
4
|
|
|
21
5
|
## Quick Start
|
|
22
6
|
|
|
23
|
-
|
|
24
|
-
# 1. Build the MCP server
|
|
25
|
-
cd packages/mcp-server
|
|
26
|
-
pnpm build
|
|
7
|
+
### With Claude Code
|
|
27
8
|
|
|
28
|
-
|
|
29
|
-
#
|
|
9
|
+
```bash
|
|
10
|
+
# No install needed — just add and go
|
|
11
|
+
claude mcp add --transport stdio iblai-js-mcp -- npx @iblai/mcp
|
|
30
12
|
```
|
|
31
13
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## Configuration
|
|
35
|
-
|
|
36
|
-
The MCP server is pre-configured in `.claude/settings.json`:
|
|
14
|
+
Or share with your team by creating `.mcp.json` at your project root:
|
|
37
15
|
|
|
38
16
|
```json
|
|
39
17
|
{
|
|
40
18
|
"mcpServers": {
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"args": ["packages/mcp-server/dist/index.js"]
|
|
19
|
+
"iblai-js-mcp": {
|
|
20
|
+
"command": "npx",
|
|
21
|
+
"args": ["@iblai/mcp"]
|
|
45
22
|
}
|
|
46
23
|
}
|
|
47
24
|
}
|
|
48
25
|
```
|
|
49
26
|
|
|
50
|
-
|
|
27
|
+
> **pnpm projects:** If your project uses pnpm and has `@iblai/iblai-js` installed (which depends on `@iblai/mcp`), `npx` may find the transitive dependency locally but fail to link its binary. Use `pnpm dlx` instead:
|
|
28
|
+
>
|
|
29
|
+
> ```bash
|
|
30
|
+
> claude mcp add --transport stdio iblai-js-mcp -- pnpm dlx @iblai/mcp
|
|
31
|
+
> ```
|
|
32
|
+
>
|
|
33
|
+
> Or in `.mcp.json`:
|
|
34
|
+
>
|
|
35
|
+
> ```json
|
|
36
|
+
> {
|
|
37
|
+
> "mcpServers": {
|
|
38
|
+
> "iblai-js-mcp": {
|
|
39
|
+
> "command": "pnpm",
|
|
40
|
+
> "args": ["dlx", "@iblai/mcp"]
|
|
41
|
+
> }
|
|
42
|
+
> }
|
|
43
|
+
> }
|
|
44
|
+
> ```
|
|
45
|
+
|
|
46
|
+
### With Other MCP Clients
|
|
47
|
+
|
|
48
|
+
The server uses stdio transport and follows the [MCP specification](https://modelcontextprotocol.io):
|
|
51
49
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
├── src/
|
|
57
|
-
│ ├── index.ts # Main server entry point
|
|
58
|
-
│ ├── resources/ # Documentation resources
|
|
59
|
-
│ │ ├── index.ts # Resource exports
|
|
60
|
-
│ │ ├── packages-overview.ts
|
|
61
|
-
│ │ ├── web-containers.ts
|
|
62
|
-
│ │ ├── web-utils.ts
|
|
63
|
-
│ │ ├── data-layer.ts
|
|
64
|
-
│ │ ├── guides-layout.ts
|
|
65
|
-
│ │ ├── guides-rbac.ts
|
|
66
|
-
│ │ └── guides-theme.ts
|
|
67
|
-
│ └── tools/ # MCP tools
|
|
68
|
-
│ ├── index.ts # Tool exports
|
|
69
|
-
│ ├── component-info.ts
|
|
70
|
-
│ ├── hook-info.ts
|
|
71
|
-
│ ├── provider-setup.ts
|
|
72
|
-
│ ├── api-query-info.ts
|
|
73
|
-
│ └── page-template.ts
|
|
74
|
-
└── dist/ # Compiled output
|
|
50
|
+
```bash
|
|
51
|
+
npx @iblai/mcp
|
|
52
|
+
# or in pnpm projects:
|
|
53
|
+
pnpm dlx @iblai/mcp
|
|
75
54
|
```
|
|
76
55
|
|
|
77
|
-
##
|
|
56
|
+
## What It Provides
|
|
57
|
+
|
|
58
|
+
### Tools
|
|
78
59
|
|
|
79
|
-
|
|
60
|
+
| Tool | Description |
|
|
61
|
+
| --- | --- |
|
|
62
|
+
| `get_component_info` | Detailed props, usage examples, and category for any UI component |
|
|
63
|
+
| `get_hook_info` | Parameters, return types, and examples for React hooks |
|
|
64
|
+
| `get_api_query_info` | RTK Query endpoint details and usage patterns |
|
|
65
|
+
| `get_provider_setup` | Correct provider hierarchy for each app type (mentor, skills, auth) |
|
|
66
|
+
| `create_page_template` | Generate new pages following IBL patterns |
|
|
67
|
+
| `get_playwright_helper_info` | E2E test helper documentation |
|
|
68
|
+
|
|
69
|
+
### Resources
|
|
80
70
|
|
|
81
71
|
| Resource URI | Description |
|
|
82
|
-
|
|
72
|
+
| --- | --- |
|
|
83
73
|
| `ibl://packages/overview` | Overview of all IBL frontend packages |
|
|
84
74
|
| `ibl://packages/web-containers` | UI components documentation |
|
|
85
75
|
| `ibl://packages/web-utils` | Providers and hooks documentation |
|
|
86
76
|
| `ibl://packages/data-layer` | Redux and RTK Query documentation |
|
|
77
|
+
| `ibl://packages/playwright` | Playwright test utilities documentation |
|
|
87
78
|
| `ibl://guides/layout` | Layout rules and patterns |
|
|
88
79
|
| `ibl://guides/rbac` | RBAC (Role-Based Access Control) patterns |
|
|
89
80
|
| `ibl://guides/theme` | Theme configuration |
|
|
81
|
+
| `ibl://guides/playwright` | E2E testing setup guide |
|
|
90
82
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### get_component_info
|
|
83
|
+
### Prompts
|
|
94
84
|
|
|
95
|
-
|
|
85
|
+
| Prompt | Description |
|
|
86
|
+
| --- | --- |
|
|
87
|
+
| `setup-new-app` | Step-by-step guide for setting up a new IBL app |
|
|
88
|
+
| `setup-e2e-testing` | Guide for setting up Playwright E2E tests |
|
|
89
|
+
| `create-playwright-test` | Template for writing a new Playwright test |
|
|
96
90
|
|
|
97
|
-
|
|
98
|
-
Component name: Button, Card, Dialog, Profile, NotificationDropdown, Input, Select, Tabs, etc.
|
|
99
|
-
```
|
|
91
|
+
## Packages Covered
|
|
100
92
|
|
|
101
|
-
|
|
93
|
+
- **@iblai/web-containers** — Shared React components (Radix UI primitives, feature components)
|
|
94
|
+
- **@iblai/web-utils** — Authentication, context providers, chat hooks, utilities
|
|
95
|
+
- **@iblai/data-layer** — Redux store, RTK Query API slices
|
|
96
|
+
- **@iblai/iblai-js/playwright** — Playwright test helpers, auth setup, config generation
|
|
102
97
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
Hook name: useAdvancedChat, useMentorSettings, useGetMentorsQuery, useTenantMetadata, etc.
|
|
107
|
-
```
|
|
98
|
+
## Alternative Installation
|
|
108
99
|
|
|
109
|
-
|
|
100
|
+
If you install `@iblai/iblai-js` globally, the MCP server is available as a binary:
|
|
110
101
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
App type: mentor, skills, auth, custom
|
|
115
|
-
Features: chat, analytics, notifications, rbac
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### get_api_query_info
|
|
119
|
-
|
|
120
|
-
Get information about an RTK Query API endpoint.
|
|
121
|
-
|
|
122
|
-
```
|
|
123
|
-
Query name: useGetMentorsQuery, useGetUserMetadataQuery, usePlatformUserGroupsQuery, etc.
|
|
102
|
+
```bash
|
|
103
|
+
npm install -g @iblai/iblai-js
|
|
104
|
+
claude mcp add --transport stdio iblai-js-mcp -- ibl-mcp-server
|
|
124
105
|
```
|
|
125
106
|
|
|
126
|
-
|
|
107
|
+
## Development (Monorepo Contributors)
|
|
127
108
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
```
|
|
131
|
-
Page name: Dashboard, Settings, etc.
|
|
132
|
-
Features: auth-required, rbac, analytics, sidebar, data-fetching
|
|
133
|
-
App type: mentor, skills
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
## Development
|
|
109
|
+
### Local Setup
|
|
137
110
|
|
|
138
111
|
```bash
|
|
139
|
-
|
|
140
|
-
pnpm
|
|
141
|
-
|
|
142
|
-
# Build
|
|
112
|
+
cd packages/mcp-server
|
|
113
|
+
pnpm install
|
|
143
114
|
pnpm build
|
|
144
|
-
|
|
145
|
-
# Run server directly
|
|
146
|
-
pnpm start
|
|
147
115
|
```
|
|
148
116
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
### Provider Hierarchy
|
|
117
|
+
The server is pre-configured in `.mcp.json` at the repo root to use the local build.
|
|
152
118
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
**Skills App:**
|
|
156
|
-
```
|
|
157
|
-
StoreProvider → AuthProvider → TenantProvider → ClientLayout
|
|
158
|
-
```
|
|
119
|
+
### Validating Documentation Coverage
|
|
159
120
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
StoreProvider → AuthProvider → TenantProvider → MentorProvider → AppProvider
|
|
121
|
+
```bash
|
|
122
|
+
pnpm --filter=@iblai/mcp run validate:exports
|
|
163
123
|
```
|
|
164
124
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
```typescript
|
|
168
|
-
// Data Layer
|
|
169
|
-
import { useGetMentorsQuery, mentorReducer } from '@iblai/data-layer';
|
|
125
|
+
This checks that MCP docs stay in sync with actual package exports. CI will fail on PRs that introduce drift. To allowlist intentionally undocumented exports, add them to `scripts/export-allowlist.json`.
|
|
170
126
|
|
|
171
|
-
|
|
172
|
-
import { Button, Card, Dialog } from '@iblai/web-containers';
|
|
127
|
+
### Project Structure
|
|
173
128
|
|
|
174
|
-
|
|
175
|
-
|
|
129
|
+
```
|
|
130
|
+
packages/mcp-server/
|
|
131
|
+
├── src/
|
|
132
|
+
│ ├── index.ts # Server entry point (McpServer API)
|
|
133
|
+
│ ├── resources/ # Documentation resources
|
|
134
|
+
│ ├── tools/ # MCP tools (component-info, hook-info, etc.)
|
|
135
|
+
│ └── prompts/ # MCP prompts (setup guides, templates)
|
|
136
|
+
├── scripts/
|
|
137
|
+
│ ├── validate-exports.ts # Export drift detection script
|
|
138
|
+
│ └── export-allowlist.json # Intentionally undocumented exports
|
|
139
|
+
└── dist/ # Compiled output
|
|
176
140
|
```
|
|
177
141
|
|
|
178
|
-
###
|
|
179
|
-
|
|
180
|
-
```typescript
|
|
181
|
-
import { WithPermissions } from '@/hoc/withPermissions';
|
|
142
|
+
### Adding Documentation
|
|
182
143
|
|
|
183
|
-
|
|
184
|
-
{({ hasPermission }) => hasPermission && <AnalyticsButton />}
|
|
185
|
-
</WithPermissions>
|
|
186
|
-
```
|
|
144
|
+
**New resource:** Create a file in `src/resources/`, export it from `src/resources/index.ts`, and register it in `src/index.ts`.
|
|
187
145
|
|
|
188
|
-
|
|
146
|
+
**New tool:** Create a file in `src/tools/`, export it from `src/tools/index.ts`, and register it in `src/index.ts`.
|
|
189
147
|
|
|
190
|
-
|
|
191
|
-
2. Export the resource object with `uri`, `name`, `description`, `mimeType`, and `content`
|
|
192
|
-
3. Import and add it to `src/resources/index.ts`
|
|
148
|
+
**New prompt:** Create a file in `src/prompts/`, export it from `src/prompts/index.ts`, and register it in `src/index.ts`.
|
|
193
149
|
|
|
194
|
-
##
|
|
150
|
+
## License
|
|
195
151
|
|
|
196
|
-
|
|
197
|
-
2. Export the tool definition and handler function
|
|
198
|
-
3. Import and add it to `src/tools/index.ts`
|
|
199
|
-
4. Add the case handler in `src/index.ts`
|
|
152
|
+
ISC
|
package/dist/index.js
CHANGED
|
@@ -38,13 +38,19 @@ for (const resource of Object.values(RESOURCES)) {
|
|
|
38
38
|
// ============================================================================
|
|
39
39
|
server.registerTool('get_component_info', {
|
|
40
40
|
description: 'Get detailed information about a specific UI component from web-containers',
|
|
41
|
-
inputSchema: {
|
|
41
|
+
inputSchema: {
|
|
42
|
+
componentName: z
|
|
43
|
+
.string()
|
|
44
|
+
.describe('Name of the component (e.g., Button, Card, Dialog, Profile, NotificationDropdown)'),
|
|
45
|
+
},
|
|
42
46
|
}, async ({ componentName }) => ({
|
|
43
47
|
content: [{ type: 'text', text: getComponentInfo(componentName) }],
|
|
44
48
|
}));
|
|
45
49
|
server.registerTool('get_hook_info', {
|
|
46
50
|
description: 'Get detailed information about a custom React hook from web-utils or data-layer',
|
|
47
|
-
inputSchema: {
|
|
51
|
+
inputSchema: {
|
|
52
|
+
hookName: z.string().describe('Name of the hook (e.g., useAdvancedChat, useMentorSettings)'),
|
|
53
|
+
},
|
|
48
54
|
}, async ({ hookName }) => ({
|
|
49
55
|
content: [{ type: 'text', text: getHookInfo(hookName) }],
|
|
50
56
|
}));
|
|
@@ -52,14 +58,21 @@ server.registerTool('get_provider_setup', {
|
|
|
52
58
|
description: 'Get provider setup code for an IBL app (AuthProvider, TenantProvider, etc.)',
|
|
53
59
|
inputSchema: {
|
|
54
60
|
appType: z.string().describe('Type of IBL app (e.g., mentor, skills, auth)'),
|
|
55
|
-
features: z
|
|
61
|
+
features: z
|
|
62
|
+
.array(z.string())
|
|
63
|
+
.optional()
|
|
64
|
+
.describe('Optional features to include (e.g., chat, analytics, rbac)'),
|
|
56
65
|
},
|
|
57
66
|
}, async ({ appType, features }) => ({
|
|
58
67
|
content: [{ type: 'text', text: getProviderSetup(appType, features || []) }],
|
|
59
68
|
}));
|
|
60
69
|
server.registerTool('get_api_query_info', {
|
|
61
70
|
description: 'Get detailed information about an RTK Query API hook from data-layer',
|
|
62
|
-
inputSchema: {
|
|
71
|
+
inputSchema: {
|
|
72
|
+
queryName: z
|
|
73
|
+
.string()
|
|
74
|
+
.describe('Name of the RTK Query API hook (e.g., useGetMentorSettingsQuery)'),
|
|
75
|
+
},
|
|
63
76
|
}, async ({ queryName }) => ({
|
|
64
77
|
content: [{ type: 'text', text: getApiQueryInfo(queryName) }],
|
|
65
78
|
}));
|
|
@@ -71,11 +84,17 @@ server.registerTool('create_page_template', {
|
|
|
71
84
|
features: z.array(z.string()).optional().describe('Optional features to include'),
|
|
72
85
|
},
|
|
73
86
|
}, async ({ pageName, appType, features }) => ({
|
|
74
|
-
content: [
|
|
87
|
+
content: [
|
|
88
|
+
{ type: 'text', text: createPageTemplate(pageName, appType, features || []) },
|
|
89
|
+
],
|
|
75
90
|
}));
|
|
76
91
|
server.registerTool('get_playwright_helper_info', {
|
|
77
92
|
description: 'Get detailed documentation for a specific Playwright test helper from @iblai/iblai-js/playwright',
|
|
78
|
-
inputSchema: {
|
|
93
|
+
inputSchema: {
|
|
94
|
+
helperName: z
|
|
95
|
+
.string()
|
|
96
|
+
.describe('Name of the Playwright helper (e.g., createPlaywrightConfig, reliableClick, safeWaitForURL, createAuthSetup)'),
|
|
97
|
+
},
|
|
79
98
|
}, async ({ helperName }) => ({
|
|
80
99
|
content: [{ type: 'text', text: getPlaywrightHelperInfo(helperName) }],
|
|
81
100
|
}));
|
|
@@ -85,7 +104,9 @@ server.registerTool('get_playwright_helper_info', {
|
|
|
85
104
|
server.registerPrompt('setup-e2e-testing', {
|
|
86
105
|
description: 'Generate instructions for setting up Playwright E2E testing in an IBL app',
|
|
87
106
|
argsSchema: {
|
|
88
|
-
appType: z
|
|
107
|
+
appType: z
|
|
108
|
+
.enum(['mentor', 'skills', 'auth', 'custom'])
|
|
109
|
+
.describe('Type of IBL app to set up E2E testing for'),
|
|
89
110
|
appName: z.string().optional().describe('Optional custom app name (defaults to appType)'),
|
|
90
111
|
},
|
|
91
112
|
}, async ({ appType, appName }) => ({
|
|
@@ -99,7 +120,9 @@ server.registerPrompt('setup-e2e-testing', {
|
|
|
99
120
|
server.registerPrompt('create-playwright-test', {
|
|
100
121
|
description: 'Generate a Playwright E2E test for a specific feature using IBL SDK conventions',
|
|
101
122
|
argsSchema: {
|
|
102
|
-
feature: z
|
|
123
|
+
feature: z
|
|
124
|
+
.string()
|
|
125
|
+
.describe('Feature to write a test for (e.g., login, mentor creation, chat)'),
|
|
103
126
|
appType: z.enum(['mentor', 'skills', 'auth', 'custom']).describe('Type of IBL app'),
|
|
104
127
|
},
|
|
105
128
|
}, async ({ feature, appType }) => ({
|
|
@@ -114,7 +137,10 @@ server.registerPrompt('setup-new-app', {
|
|
|
114
137
|
description: 'Generate comprehensive setup instructions for a new IBL app with providers, store, and E2E testing',
|
|
115
138
|
argsSchema: {
|
|
116
139
|
appType: z.enum(['mentor', 'skills', 'auth', 'custom']).describe('Type of IBL app to set up'),
|
|
117
|
-
features: z
|
|
140
|
+
features: z
|
|
141
|
+
.array(z.string())
|
|
142
|
+
.optional()
|
|
143
|
+
.describe('Optional features: rbac, analytics, chat, e2e'),
|
|
118
144
|
},
|
|
119
145
|
}, async ({ appType, features }) => ({
|
|
120
146
|
messages: [
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,eAAe;AACf,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAE1B,iBAAiB;AACjB,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,+EAA+E;AAC/E,0BAA0B;AAC1B,+EAA+E;AAC/E,wEAAwE;AACxE,qEAAqE;AACrE,6CAA6C;AAC7C,+EAA+E;AAE/E,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;IAC3B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AAEH,+EAA+E;AAC/E,YAAY;AACZ,+EAA+E;AAE/E,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;IAChD,MAAM,CAAC,gBAAgB,CACrB,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,GAAG,EACZ,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAClE,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;QACd,QAAQ,EA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C,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;AAC5D,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-playwright-test.d.ts","sourceRoot":"","sources":["../../src/prompts/create-playwright-test.ts"],"names":[],"mappings":"AAAA,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"create-playwright-test.d.ts","sourceRoot":"","sources":["../../src/prompts/create-playwright-test.ts"],"names":[],"mappings":"AAAA,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAmGjF"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
export function generateCreateTestPrompt(feature, appType) {
|
|
2
|
-
const hostVar = appType === 'mentor'
|
|
3
|
-
? 'MENTOR_NEXTJS_HOST'
|
|
4
|
-
: appType === 'skills'
|
|
5
|
-
? 'SKILLS_HOST'
|
|
6
|
-
: 'APP_HOST';
|
|
2
|
+
const hostVar = appType === 'mentor' ? 'MENTOR_NEXTJS_HOST' : appType === 'skills' ? 'SKILLS_HOST' : 'APP_HOST';
|
|
7
3
|
return `Write a Playwright E2E test for the "${feature}" feature in an IBL.ai ${appType} app.
|
|
8
4
|
|
|
9
5
|
## Conventions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-playwright-test.js","sourceRoot":"","sources":["../../src/prompts/create-playwright-test.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,wBAAwB,CAAC,OAAe,EAAE,OAAe;IACvE,MAAM,OAAO,GACX,OAAO,KAAK,QAAQ
|
|
1
|
+
{"version":3,"file":"create-playwright-test.js","sourceRoot":"","sources":["../../src/prompts/create-playwright-test.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,wBAAwB,CAAC,OAAe,EAAE,OAAe;IACvE,MAAM,OAAO,GACX,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC;IAElG,OAAO,wCAAwC,OAAO,0BAA0B,OAAO;;;;;;;;;;;;;;;;;;;;;;;WAuB9E,OAAO;;;;;;iBAMD,OAAO;;sBAEF,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+DH,OAAO,6IAA6I,CAAC;AAC/K,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-new-app.d.ts","sourceRoot":"","sources":["../../src/prompts/setup-new-app.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"setup-new-app.d.ts","sourceRoot":"","sources":["../../src/prompts/setup-new-app.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAM,EAAO,GAAG,MAAM,CAwO1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-new-app.js","sourceRoot":"","sources":["../../src/prompts/setup-new-app.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,yBAAyB,
|
|
1
|
+
{"version":3,"file":"setup-new-app.js","sourceRoot":"","sources":["../../src/prompts/setup-new-app.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,yBAAyB,CAAC,OAAe,EAAE,WAAqB,EAAE;IAChF,MAAM,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1C,MAAM,Y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ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;
|
|
1
|
+
{"version":3,"file":"web-containers.d.ts","sourceRoot":"","sources":["../../src/resources/web-containers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAoLzB,CAAC"}
|
|
@@ -100,6 +100,66 @@ const className = cn('base-class', condition && 'conditional-class');
|
|
|
100
100
|
import { SsoLogin, ErrorPage, UserProfileDropdown } from '@iblai/iblai-js/web-containers/next';
|
|
101
101
|
\`\`\`
|
|
102
102
|
|
|
103
|
+
### AppSidebar
|
|
104
|
+
Collapsible sidebar for the Mentor app with configurable content and footer menu items.
|
|
105
|
+
|
|
106
|
+
\`\`\`typescript
|
|
107
|
+
import { AppSidebar } from '@iblai/iblai-js/web-containers/next';
|
|
108
|
+
|
|
109
|
+
<AppSidebar
|
|
110
|
+
logo={<img src="/logo.svg" alt="Logo" />}
|
|
111
|
+
contentItems={[
|
|
112
|
+
{ icon: MessageSquare, label: 'Chat', onClick: () => navigate('/chat') },
|
|
113
|
+
{ icon: Compass, label: 'Explore', onClick: () => navigate('/explore'), hasBorder: true },
|
|
114
|
+
]}
|
|
115
|
+
footerItems={[
|
|
116
|
+
{ icon: Settings, label: 'Settings', onClick: openSettings },
|
|
117
|
+
{ icon: LogOut, label: 'Logout', onClick: handleLogout },
|
|
118
|
+
]}
|
|
119
|
+
showProjects={false}
|
|
120
|
+
showPinnedMessages={false}
|
|
121
|
+
showRecentMessages={false}
|
|
122
|
+
/>
|
|
123
|
+
\`\`\`
|
|
124
|
+
|
|
125
|
+
### NavBar
|
|
126
|
+
Top navigation bar with user menu, new chat button, and optional mentor dropdown.
|
|
127
|
+
|
|
128
|
+
\`\`\`typescript
|
|
129
|
+
import { NavBar } from '@iblai/iblai-js/web-containers/next';
|
|
130
|
+
|
|
131
|
+
<NavBar
|
|
132
|
+
username={username}
|
|
133
|
+
isAuthenticated={true}
|
|
134
|
+
onNewChat={() => startNewChat()}
|
|
135
|
+
onSettings={() => openSettings()}
|
|
136
|
+
onLogout={() => handleLogout()}
|
|
137
|
+
onLogin={() => redirectToLogin()}
|
|
138
|
+
mentorName="My Mentor"
|
|
139
|
+
showMentorDropdown={false}
|
|
140
|
+
additionalMenuItems={[
|
|
141
|
+
{ icon: User, label: 'Profile', onClick: openProfile },
|
|
142
|
+
]}
|
|
143
|
+
/>
|
|
144
|
+
\`\`\`
|
|
145
|
+
|
|
146
|
+
### ConversationStarters
|
|
147
|
+
Displays guided prompt cards that users can click to start a chat session.
|
|
148
|
+
|
|
149
|
+
\`\`\`typescript
|
|
150
|
+
import { ConversationStarters } from '@iblai/iblai-js/web-containers/next';
|
|
151
|
+
|
|
152
|
+
<ConversationStarters
|
|
153
|
+
onTemplateSelect={(prompt) => sendMessage(prompt)}
|
|
154
|
+
guidedPrompts={[
|
|
155
|
+
{ prompt: 'Help me study for my exam', icon: 'book-open' },
|
|
156
|
+
{ prompt: 'Explain this concept', icon: 'lightbulb' },
|
|
157
|
+
]}
|
|
158
|
+
disabled={isStreaming}
|
|
159
|
+
className="mt-4"
|
|
160
|
+
/>
|
|
161
|
+
\`\`\`
|
|
162
|
+
|
|
103
163
|
## Styling / Theme
|
|
104
164
|
|
|
105
165
|
The package uses CSS custom properties for theming:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-containers.js","sourceRoot":"","sources":["../../src/resources/web-containers.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,eAAe;IACzB,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"web-containers.js","sourceRoot":"","sources":["../../src/resources/web-containers.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,eAAe;IACzB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KV;CACA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-utils.d.ts","sourceRoot":"","sources":["../../src/resources/web-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;
|
|
1
|
+
{"version":3,"file":"web-utils.d.ts","sourceRoot":"","sources":["../../src/resources/web-utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;CAqPpB,CAAC"}
|
|
@@ -145,6 +145,43 @@ const {
|
|
|
145
145
|
} = useMentorSettings({ mentorId, tenantKey, username });
|
|
146
146
|
\`\`\`
|
|
147
147
|
|
|
148
|
+
## Tenant Metadata Hook
|
|
149
|
+
|
|
150
|
+
### useTenantMetadata
|
|
151
|
+
Fetches and provides tenant-level metadata configuration, including feature flags and platform settings.
|
|
152
|
+
|
|
153
|
+
\\\`\\\`\\\`typescript
|
|
154
|
+
import { useTenantMetadata } from '@iblai/iblai-js/web-utils';
|
|
155
|
+
|
|
156
|
+
const {
|
|
157
|
+
metadata,
|
|
158
|
+
platformName,
|
|
159
|
+
isLoading,
|
|
160
|
+
isError,
|
|
161
|
+
metadataLoaded,
|
|
162
|
+
isSkillsAssignmentsFeatureHidden,
|
|
163
|
+
isSkillsResumeFeatureHidden,
|
|
164
|
+
isMentorAIEnabled,
|
|
165
|
+
isSkillsLeaderBoardEnabled,
|
|
166
|
+
getEmbeddedMentorToUse,
|
|
167
|
+
isMentorInappropriateContentEnabled,
|
|
168
|
+
getAllMetadatas,
|
|
169
|
+
getSupportEmail,
|
|
170
|
+
} = useTenantMetadata({ org: tenantKey, spa: 'mentorAI' });
|
|
171
|
+
|
|
172
|
+
// Check if reporting inappropriate content is enabled (defaults to true)
|
|
173
|
+
if (isMentorInappropriateContentEnabled()) {
|
|
174
|
+
// Show report button
|
|
175
|
+
}
|
|
176
|
+
\\\`\\\`\\\`
|
|
177
|
+
|
|
178
|
+
**Tenant Metadata Config (MentorAI):**
|
|
179
|
+
- \\\`show_help\\\` (boolean, default: true) — Display help center link
|
|
180
|
+
- \\\`accessibility_menu\\\` (boolean, default: false) — Display accessibility menu
|
|
181
|
+
- \\\`mentor_include_community_mentors\\\` (boolean, default: true) — Allow community mentors
|
|
182
|
+
- \\\`mentor_report_inappropriate_content\\\` (boolean, default: true) — Allow users to report inappropriate content
|
|
183
|
+
- \\\`help_center_url\\\` (string, default: "https://docs.ibl.ai") — Help center URL
|
|
184
|
+
|
|
148
185
|
## Authentication Utilities
|
|
149
186
|
|
|
150
187
|
\`\`\`typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-utils.js","sourceRoot":"","sources":["../../src/resources/web-utils.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG,EAAE,0BAA0B;IAC/B,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,eAAe;IACzB,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"web-utils.js","sourceRoot":"","sources":["../../src/resources/web-utils.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG,EAAE,0BAA0B;IAC/B,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,eAAe;IACzB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+OV;CACA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-info.d.ts","sourceRoot":"","sources":["../../src/tools/component-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;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,EAAE,oBAAoB;IAC1B,WAAW,EAAE,4EAA4E;IACzF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mFAAmF;aACtF;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;KAC5B;CACF,CAAC;AAEF,MAAM,UAAU,GAA2B;IACzC,+EAA+E;IAC/E,iCAAiC;IACjC,+EAA+E;IAE/E,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA4BkE;IAE1E,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;0EA0BkE;IAExE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyCkE;IAE1E,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;2EAoBkE;IAEzE,KAAK,EAAE;;;;;;;;;;;;;2EAakE;IAEzE,QAAQ,EAAE;;;;;;;;;;;;;;;8EAekE;IAE5E,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA8BkE;IAE1E,QAAQ,EAAE;;;;;;;;;;;;;;;;8EAgBkE;IAE5E,UAAU,EAAE;;;;;;;;;;;;;;;;;;iFAkBmE;IAE/E,MAAM,EAAE;;;;;;;;;;;;;;;;4EAgBkE;IAE1E,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;0EAoBkE;IAExE,MAAM,EAA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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;AAojEF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAuIpD"}
|
package/dist/tools/hook-info.js
CHANGED
|
@@ -686,6 +686,21 @@ await resetPassword({
|
|
|
686
686
|
\`\`\`
|
|
687
687
|
|
|
688
688
|
**File Location**: \`packages/data-layer/src/features/user/api-slice.ts\``,
|
|
689
|
+
useSelfRetireMutation: `# useSelfRetireMutation Hook (RTK Query)
|
|
690
|
+
|
|
691
|
+
Schedules the current user's account for deletion (self-retirement).
|
|
692
|
+
|
|
693
|
+
\`\`\`typescript
|
|
694
|
+
import { useSelfRetireMutation } from '@iblai/iblai-js/data-layer';
|
|
695
|
+
|
|
696
|
+
const [selfRetire, { isLoading }] = useSelfRetireMutation();
|
|
697
|
+
|
|
698
|
+
const result = await selfRetire();
|
|
699
|
+
// result.data: { message?: string }
|
|
700
|
+
// result.error: RTK Query error if request failed
|
|
701
|
+
\`\`\`
|
|
702
|
+
|
|
703
|
+
**File Location**: \`packages/data-layer/src/features/retirement/api-slice.ts\``,
|
|
689
704
|
useUploadProfileImageMutation: `# useUploadProfileImageMutation Hook (RTK Query)
|
|
690
705
|
|
|
691
706
|
Uploads user profile image.
|
|
@@ -1858,6 +1873,113 @@ await revokeLink({
|
|
|
1858
1873
|
\`\`\`
|
|
1859
1874
|
|
|
1860
1875
|
**File Location**: \`packages/data-layer/src/features/mentor/api-slice.ts\``,
|
|
1876
|
+
// ============================================================================
|
|
1877
|
+
// WORKFLOW HOOKS
|
|
1878
|
+
// ============================================================================
|
|
1879
|
+
useActivateWorkflowMutation: `# useActivateWorkflowMutation Hook (RTK Query)
|
|
1880
|
+
|
|
1881
|
+
Activates a workflow, making it available for execution. Validates the workflow before activation.
|
|
1882
|
+
|
|
1883
|
+
\`\`\`typescript
|
|
1884
|
+
import { useActivateWorkflowMutation } from '@iblai/iblai-js/data-layer';
|
|
1885
|
+
|
|
1886
|
+
const [activateWorkflow, { isLoading, error }] = useActivateWorkflowMutation();
|
|
1887
|
+
|
|
1888
|
+
const result = await activateWorkflow({
|
|
1889
|
+
org: string,
|
|
1890
|
+
uniqueId: string,
|
|
1891
|
+
}).unwrap();
|
|
1892
|
+
// result: { is_valid: boolean, errors: string[], warnings: string[], workflow?: Workflow }
|
|
1893
|
+
\`\`\`
|
|
1894
|
+
|
|
1895
|
+
**File Location**: \`packages/data-layer/src/features/workflows/api-slice.ts\``,
|
|
1896
|
+
useDeactivateWorkflowMutation: `# useDeactivateWorkflowMutation Hook (RTK Query)
|
|
1897
|
+
|
|
1898
|
+
Deactivates a workflow, preventing it from being executed.
|
|
1899
|
+
|
|
1900
|
+
\`\`\`typescript
|
|
1901
|
+
import { useDeactivateWorkflowMutation } from '@iblai/iblai-js/data-layer';
|
|
1902
|
+
|
|
1903
|
+
const [deactivateWorkflow, { isLoading, error }] = useDeactivateWorkflowMutation();
|
|
1904
|
+
|
|
1905
|
+
const result = await deactivateWorkflow({
|
|
1906
|
+
org: string,
|
|
1907
|
+
uniqueId: string,
|
|
1908
|
+
}).unwrap();
|
|
1909
|
+
// result: { workflow: Workflow }
|
|
1910
|
+
\`\`\`
|
|
1911
|
+
|
|
1912
|
+
**File Location**: \`packages/data-layer/src/features/workflows/api-slice.ts\``,
|
|
1913
|
+
usePublishWorkflowMutation: `# usePublishWorkflowMutation Hook (RTK Query)
|
|
1914
|
+
|
|
1915
|
+
Publishes a workflow, making it publicly available. Validates before publishing. Optionally accepts an updated definition.
|
|
1916
|
+
|
|
1917
|
+
\`\`\`typescript
|
|
1918
|
+
import { usePublishWorkflowMutation } from '@iblai/iblai-js/data-layer';
|
|
1919
|
+
|
|
1920
|
+
const [publishWorkflow, { isLoading, error }] = usePublishWorkflowMutation();
|
|
1921
|
+
|
|
1922
|
+
const result = await publishWorkflow({
|
|
1923
|
+
org: string,
|
|
1924
|
+
uniqueId: string,
|
|
1925
|
+
data?: { definition?: WorkflowDefinition },
|
|
1926
|
+
}).unwrap();
|
|
1927
|
+
// result: { is_valid: boolean, errors: string[], warnings: string[], workflow?: Workflow }
|
|
1928
|
+
\`\`\`
|
|
1929
|
+
|
|
1930
|
+
**File Location**: \`packages/data-layer/src/features/workflows/api-slice.ts\``,
|
|
1931
|
+
useUnpublishWorkflowMutation: `# useUnpublishWorkflowMutation Hook (RTK Query)
|
|
1932
|
+
|
|
1933
|
+
Unpublishes a workflow, removing it from public availability.
|
|
1934
|
+
|
|
1935
|
+
\`\`\`typescript
|
|
1936
|
+
import { useUnpublishWorkflowMutation } from '@iblai/iblai-js/data-layer';
|
|
1937
|
+
|
|
1938
|
+
const [unpublishWorkflow, { isLoading, error }] = useUnpublishWorkflowMutation();
|
|
1939
|
+
|
|
1940
|
+
const result = await unpublishWorkflow({
|
|
1941
|
+
org: string,
|
|
1942
|
+
uniqueId: string,
|
|
1943
|
+
}).unwrap();
|
|
1944
|
+
// result: { workflow: Workflow }
|
|
1945
|
+
\`\`\`
|
|
1946
|
+
|
|
1947
|
+
**File Location**: \`packages/data-layer/src/features/workflows/api-slice.ts\``,
|
|
1948
|
+
useValidateWorkflowMutation: `# useValidateWorkflowMutation Hook (RTK Query)
|
|
1949
|
+
|
|
1950
|
+
Validates a workflow's structure and configuration without activating or publishing it.
|
|
1951
|
+
|
|
1952
|
+
\`\`\`typescript
|
|
1953
|
+
import { useValidateWorkflowMutation } from '@iblai/iblai-js/data-layer';
|
|
1954
|
+
|
|
1955
|
+
const [validateWorkflow, { isLoading, error }] = useValidateWorkflowMutation();
|
|
1956
|
+
|
|
1957
|
+
const result = await validateWorkflow({
|
|
1958
|
+
org: string,
|
|
1959
|
+
uniqueId: string,
|
|
1960
|
+
}).unwrap();
|
|
1961
|
+
// result: { is_valid: boolean, errors: string[], warnings: string[], workflow?: Workflow }
|
|
1962
|
+
\`\`\`
|
|
1963
|
+
|
|
1964
|
+
**File Location**: \`packages/data-layer/src/features/workflows/api-slice.ts\``,
|
|
1965
|
+
useChatWithWorkflowMutation: `# useChatWithWorkflowMutation Hook (RTK Query)
|
|
1966
|
+
|
|
1967
|
+
Sends a chat message to interact with a workflow.
|
|
1968
|
+
|
|
1969
|
+
\`\`\`typescript
|
|
1970
|
+
import { useChatWithWorkflowMutation } from '@iblai/iblai-js/data-layer';
|
|
1971
|
+
|
|
1972
|
+
const [chatWithWorkflow, { isLoading, error }] = useChatWithWorkflowMutation();
|
|
1973
|
+
|
|
1974
|
+
const result = await chatWithWorkflow({
|
|
1975
|
+
org: string,
|
|
1976
|
+
uniqueId: string,
|
|
1977
|
+
message: string,
|
|
1978
|
+
}).unwrap();
|
|
1979
|
+
// result: { response: string, workflow_id: string, session_id: string }
|
|
1980
|
+
\`\`\`
|
|
1981
|
+
|
|
1982
|
+
**File Location**: \`packages/data-layer/src/features/workflows/api-slice.ts\``,
|
|
1861
1983
|
};
|
|
1862
1984
|
export function getHookInfo(hookName) {
|
|
1863
1985
|
const info = hooks[hookName];
|
|
@@ -1897,6 +2019,7 @@ export function getHookInfo(hookName) {
|
|
|
1897
2019
|
- useUpdateUserMetadataMutation - Update profile
|
|
1898
2020
|
- useUpdateUserAccountMutation - Update account
|
|
1899
2021
|
- useResetPasswordMutation - Password reset
|
|
2022
|
+
- useSelfRetireMutation - Schedule account deletion
|
|
1900
2023
|
- useUploadProfileImageMutation - Upload avatar
|
|
1901
2024
|
- useRemoveProfileImageMutation - Remove avatar
|
|
1902
2025
|
|
|
@@ -1981,7 +2104,15 @@ export function getHookInfo(hookName) {
|
|
|
1981
2104
|
**Data Layer Hooks - Training Documents:**
|
|
1982
2105
|
- useGetTrainingDocumentsQuery - Training docs
|
|
1983
2106
|
- useUploadTrainingDocumentMutation - Upload doc
|
|
1984
|
-
- useDeleteTrainingDocumentMutation - Delete doc
|
|
2107
|
+
- useDeleteTrainingDocumentMutation - Delete doc
|
|
2108
|
+
|
|
2109
|
+
**Data Layer Hooks - Workflows:**
|
|
2110
|
+
- useActivateWorkflowMutation - Activate workflow
|
|
2111
|
+
- useDeactivateWorkflowMutation - Deactivate workflow
|
|
2112
|
+
- usePublishWorkflowMutation - Publish workflow
|
|
2113
|
+
- useUnpublishWorkflowMutation - Unpublish workflow
|
|
2114
|
+
- useValidateWorkflowMutation - Validate workflow
|
|
2115
|
+
- useChatWithWorkflowMutation - Chat with workflow`;
|
|
1985
2116
|
}
|
|
1986
2117
|
return info;
|
|
1987
2118
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook-info.js","sourceRoot":"","sources":["../../src/tools/hook-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,sDAAsD;IACnE,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iFAAiF;aACpF;SACF;QACD,QAAQ,EAAE,CAAC,UAAU,CAAC;KACvB;CACF,CAAC;AAEF,MAAM,KAAK,GAA2B;IACpC,+EAA+E;IAC/E,aAAa;IACb,+EAA+E;IAE/E,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8EAkE2D;IAE5E,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEA0C6D;IAEtE,+EAA+E;IAC/E,eAAe;IACf,+EAA+E;IAE/E,iBAAiB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EA4BsD;IAEzE,cAAc,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;wEA0BsD;IAEtE,+EAA+E;IAC/E,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AM,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,SAAS,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAgIuB,CAAC;IAClD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playwright-helper-info.d.ts","sourceRoot":"","sources":["../../src/tools/playwright-helper-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAepC,CAAC;AAq2BF,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"playwright-helper-info.d.ts","sourceRoot":"","sources":["../../src/tools/playwright-helper-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAepC,CAAC;AAq2BF,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAiBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playwright-helper-info.js","sourceRoot":"","sources":["../../src/tools/playwright-helper-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,kGAAkG;IACpG,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,8GAA8G;aACjH;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,CAAC;KACzB;CACF,CAAC;AAEF,MAAM,OAAO,GAA2B;IACtC,+EAA+E;IAC/E,aAAa;IACb,+EAA+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