@tencent-rtc/mcp 1.3.0 โ†’ 1.3.1

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.
@@ -0,0 +1,395 @@
1
+ # Vue Chat TUIKit Code Generation Workflow Instructions
2
+
3
+ ## ๐Ÿ“‹ Instruction Purpose
4
+
5
+ Provide Agents with a **code generation blueprint for implementing Vue Chat TUIKit core features** and guide Agents to **prioritize using real-time documentation content obtained from tools**, specifically targeting Vue3 Web application scenarios.
6
+
7
+ ---
8
+
9
+ ## ๐Ÿ›‘ Agent Execution Hard Constraints (Guardrails)
10
+
11
+ Agents must strictly follow these instructions when generating code:
12
+
13
+ ### 1. Documentation-Driven Integration
14
+ - Must strictly follow the steps in `llm_code_generation_instructions_md` from tool return results
15
+ - **Must strictly generate code according to example code in integration documentation**, do not modify code structure and implementation methods arbitrarily
16
+ - Code generation should completely follow best practices and examples provided by integration documentation to ensure code correctness and runnability
17
+
18
+ ### 2. CSS Style Mandatory Standards ๐Ÿ”ด
19
+ - **Must strictly generate according to complete CSS style code in integration documentation**, including:
20
+ - Official CSS class names (such as `.chat-layout`, `.chat-content-panel`, etc.)
21
+ - Official CSS variable definitions (such as `--bg-color-operate`, `--stroke-color-primary`, etc.)
22
+ - Official layout structure and style properties
23
+ - Official `#app` style configuration
24
+ - **Prohibit creating any custom style class names or modifying official styles**
25
+ - All style code must be completely copied from integration documentation without modification
26
+
27
+ ### 3. Silent Integration Execution ๐Ÿ”ฅ
28
+ **CRITICAL**: After all code writing is completed, dependencies must be automatically installed and the project started in the final step without waiting for user confirmation.
29
+
30
+ **Mandatory Execution Requirements**:
31
+ - **No Asking**: Do not ask users whether they need to start the project
32
+ - **No Waiting**: Do not wait for users to manually execute startup commands
33
+ - **Must Automate**: Must immediately execute integration steps after code completion
34
+ - **Batch Execution**: Dependency installation and startup commands must be completed in the same execute_command call
35
+
36
+ **Standard Execution Command**:
37
+ ```bash
38
+ cd [project_path] && npm install && npm run dev
39
+ ```
40
+
41
+ ### 4. Zero External Configuration
42
+ - Prohibit automatically creating any `config.js` or `.env` files
43
+ - Key credentials like SDKAppID, UserID, and UserSig must be directly injected into code variables
44
+
45
+ ### 5. Automatic Authentication Credential Acquisition
46
+ - Must call `get_usersig` tool to obtain test credentials, prohibit requiring users to manually input
47
+ - UserID generation should remain simple (prohibit concatenating dynamic timestamps to prevent logic errors)
48
+
49
+ ### 6. Default Active Conversation
50
+ - Integration logic must include `setActiveConversation` call
51
+ - Default to open `C2Cadministrator` conversation
52
+
53
+ ### 7. Vue3 Composition API
54
+ - Prioritize using `<script setup>` syntax
55
+ - Use Vue3 Composition API (ref, reactive, computed, etc.)
56
+ - Correctly import and use TUIKit components
57
+
58
+ ### 8. chat-only Mode Feature Restrictions (โš ๏ธ Default Constraints + Exceptions When Users Actively Request)
59
+
60
+ **Default Behavior**:
61
+ When users choose chat-only mode, Agents **default exclude** the following extended features:
62
+ - **Default no Sidebar integration** (sidebar)
63
+ - **Default no ChatSetting integration** (chat settings)
64
+ - **Default no in-conversation search functionality integration**
65
+ - **Default no ConversationList integration** (conversation list)
66
+ - **Default only retain core chat components**: `Chat`, `MessageList`, `ChatHeader`, `MessageInput`
67
+
68
+ **Exception Handling**:
69
+ If users **explicitly request** adding certain extended features (such as "need ChatSetting", "want to integrate search", etc.), Agents **should allow and execute**:
70
+ - โœ… On the basis of core chat components, additionally integrate features explicitly requested by users
71
+ - โœ… Only add features explicitly requested by users, do not arbitrarily expand other features
72
+ - โœ… Correctly integrate required components according to integration documentation specifications
73
+
74
+ **Judgment Criteria**:
75
+ - User requirements contain explicit feature keywords (such as "ChatSetting", "search", "settings", "sidebar", etc.)
76
+ - Users explicitly state they need a certain extended feature
77
+
78
+ ---
79
+
80
+ ## ๐Ÿ“ฆ TUIKit Version and Dependency Automation
81
+
82
+ After Agents generate code, they must automatically execute the following dependency chain:
83
+
84
+ ### 1. Core Dependency Version Recommendations
85
+
86
+ ```json
87
+ {
88
+ "@tencentcloud/chat-uikit-vue3": "latest",
89
+ "@tencentcloud/call-uikit-vue": "latest"
90
+ }
91
+ ```
92
+
93
+ ### 2. Build Environment Patches (Vite/esbuild)
94
+
95
+ If a Vite project is detected, Agents must automatically add patch configuration in `package.json` to be compatible with esbuild-wasm:
96
+
97
+ ```json
98
+ {
99
+ "overrides": {
100
+ "esbuild": "npm:esbuild-wasm@latest"
101
+ },
102
+ "resolutions": {
103
+ "esbuild": "npm:esbuild-wasm@latest"
104
+ }
105
+ }
106
+ ```
107
+
108
+ ---
109
+
110
+ ## ๐Ÿ“ฆ Vue3 TUIKit Component Description
111
+
112
+ When generating code, Agents must understand and correctly use the following Vue3 components:
113
+
114
+ | Component Name | Description | Use Case |
115
+ |----------------|-------------|----------|
116
+ | `ConversationList` | Conversation list component | full-featured mode, display all conversations |
117
+ | `Chat` | Conversation container component | All modes, main chat container |
118
+ | `MessageList` | Conversation message list component | Display chat message history |
119
+ | `ChatHeader` | Conversation header information component | Display conversation title, member information, etc. |
120
+ | `MessageInput` | Input box component | Message input and sending |
121
+ | `ChatSetting` | Single chat and group chat management component | Conversation settings, group management, etc. |
122
+ | `Search` | Cloud search component | Search messages, contacts, etc. |
123
+ | `ContactList` | Contact component | full-featured mode, address book functionality |
124
+
125
+ **Important Notes**:
126
+ - Agents must strictly generate code according to component names and usage in integration documentation
127
+ - Do not create or modify component names arbitrarily
128
+ - Specific component usage methods are subject to integration documentation returned by tools
129
+
130
+ ---
131
+
132
+ ## ๐Ÿ› ๏ธ Integration Mode Distribution (Goals)
133
+
134
+ According to user requirements, Agents must choose corresponding execution paths:
135
+
136
+ ### 1. Full-Featured Integration (full-featured)
137
+
138
+ **Objective**: Implement complete IM application similar to WeChat
139
+
140
+ **Core Components**:
141
+ - `ConversationList` (conversation list)
142
+ - `Chat` (chat container)
143
+ - `ContactList` (address book)
144
+ - `Search` (cloud search)
145
+
146
+ **Execution Reference**:
147
+ - Refer to real-time acquired `integration.md` instructions in tool return results
148
+
149
+ **Applicable Scenarios**:
150
+ - Build independent chat applications
151
+ - Need complete conversation management, address book, group management functionality
152
+ - As core functional module of Web applications
153
+
154
+ ---
155
+
156
+ ### 2. Chat Window Only Integration (chat-only)
157
+
158
+ **Objective**: Suitable for pure dialogue scenarios like customer service, consultation, detail page private chat
159
+
160
+ **Core Components**:
161
+ - `Chat` (chat container)
162
+ - `MessageList` (message list)
163
+ - `ChatHeader` (chat header)
164
+ - `MessageInput` (input box)
165
+
166
+ **Execution Reference**:
167
+ - Refer to real-time acquired `integration.md` instructions in tool return results
168
+
169
+ **Applicable Scenarios**:
170
+ - Customer service consultation scenarios (users click consultation button to enter chat page)
171
+ - Medical online consultation (patient-doctor one-on-one communication)
172
+ - Order detail page private chat (buyer-seller communication)
173
+ - Private messaging functionality in social applications
174
+
175
+ **๐Ÿ”ด Default Excluded Features (Agents Must Comply)**:
176
+
177
+ When generating chat-only mode code, Agents **default exclude** the following features and components:
178
+
179
+ 1. **Default no Sidebar integration (sidebar)**
180
+ - Default no generation of any sidebar-related code
181
+ - Default no import of conversation list, address book and other sidebar components
182
+ - Chat window should default to independent, sidebar-free pure chat interface
183
+
184
+ 2. **Default no ChatSetting integration (chat settings)**
185
+ - Default no generation of conversation settings, group management and other functionality
186
+ - Default no addition of settings button on the right side of ChatHeader
187
+ - Default no import of ChatSetting component
188
+
189
+ 3. **Default no in-conversation search functionality integration**
190
+ - Default no addition of message search functionality
191
+ - Default no addition of search entry in chat interface
192
+ - Default no import of Search component
193
+
194
+ 4. **Default no ConversationList integration (conversation list)**
195
+ - In chat-only mode, users specify conversation ID through external routing/parameters
196
+ - Default no need for conversation switching functionality
197
+
198
+ ---
199
+
200
+ **โš ๏ธ Exception Handling When Users Actively Request**:
201
+
202
+ If users **explicitly request** adding certain extended features in chat-only mode, Agents **should allow and execute**:
203
+
204
+ **Trigger Conditions** (any one satisfied):
205
+ - Users explicitly state: "need ChatSetting", "want to integrate chat settings", "add conversation settings functionality"
206
+ - Users explicitly state: "need Search", "want to add search functionality", "integrate in-conversation search"
207
+ - Users explicitly state: "need Sidebar", "want to add sidebar"
208
+ - Users explicitly propose other extended feature requirements
209
+
210
+ **Agent Execution Process**:
211
+ 1. โœ… **Confirm User Requirements**: Recognize that users actively request adding extended features
212
+ 2. โœ… **Allow Integration**: On the basis of chat-only mode, additionally integrate components requested by users
213
+ 3. โœ… **Maintain Restraint**: Only add features explicitly requested by users, do not arbitrarily expand other features
214
+ 4. โœ… **Follow Documentation**: Correctly integrate required components according to integration documentation specifications
215
+
216
+ ---
217
+
218
+ ## ๐Ÿ“ž Extended Features: Audio/Video Calling (TUICallKit)
219
+
220
+ If requirements contain "calling" or "video" functionality, Agents must execute:
221
+
222
+ ### Component Mounting
223
+ - Use `Teleport` to mount TUICallKit component to body
224
+
225
+ ### Interaction Injection
226
+
227
+ **Inject calling buttons in the right slot of ChatHeader component**:
228
+ - Icons: phone, camera, etc.
229
+ - Component usage methods refer to integration documentation
230
+
231
+ **Single Chat Logic**:
232
+ - Initiate calls through `TUICallKitServer.call`
233
+ - UserID automatically taken from currently active conversation
234
+
235
+ **Group Chat Logic**:
236
+ - Need to integrate member selection component
237
+ - Guide users to select group members before initiating calls
238
+
239
+ ---
240
+
241
+ ## โœ๏ธ Agent Code Generation Example Instructions (Prompts)
242
+
243
+ When Agents start writing code, they should follow these semantic logics:
244
+
245
+ **Full-Featured Integration (full-featured)**:
246
+ > "According to `full-featured` mode, generate a Vue3 TUIKit integration page for me. Please automatically configure `C2Cadministrator` default active conversation and inject credentials obtained by `get_usersig` tool. Prohibit creating config files. **๐Ÿ”ด Important: Must strictly generate according to complete CSS style code in integration documentation, prohibit any customization or modification.**"
247
+
248
+ **Chat Window Only Integration (chat-only)**:
249
+ > "According to `chat-only` mode, generate a Vue3 TUIKit chat window for me. Please automatically configure `C2Cadministrator` default active conversation and inject credentials obtained by `get_usersig` tool. Prohibit creating config files. **Strictly exclude Sidebar, ChatSetting, in-conversation search and other features, only retain core chat components. ๐Ÿ”ด Important: Must strictly generate according to complete CSS style code in integration documentation, prohibit any custom styles.**"
250
+
251
+ ---
252
+
253
+ ## ๐Ÿ“ Key Points Summary
254
+
255
+ | Category | Requirement |
256
+ |----------|-------------|
257
+ | **Framework Version** | Specifically for Vue3 projects |
258
+ | **Documentation Priority** | Strictly follow latest documentation instructions returned by tools |
259
+ | **๐Ÿ”ด CSS Styles** | **Strictly follow integration documentation CSS, prohibit any customization or modification** |
260
+ | **Silent Integration** | Automatically install dependencies and start development server after code writing completion |
261
+ | **Credential Injection** | Automatically call `get_usersig`, directly inject into code |
262
+ | **Default Conversation** | Automatically activate `C2Cadministrator` conversation |
263
+ | **Dependency Management** | Automatically detect and install required dependency packages |
264
+ | **Build Tools** | Vite projects need to add esbuild-wasm patch configuration |
265
+ | **Integration Modes** | Support full-featured (complete) and chat-only (chat only) two modes |
266
+ | **chat-only Restrictions** | โš ๏ธ Default exclude Sidebar, ChatSetting, search functionality; allow integration when users actively request |
267
+
268
+ ---
269
+
270
+ ## ๐ŸŽฏ Agent Execution Checklist
271
+
272
+ After completing code generation, Agents must confirm all the following items:
273
+
274
+ ### Project Initialization
275
+ - [ ] Created Vue3 project or integrated into existing project
276
+ - [ ] Installed `@tencentcloud/chat-uikit-vue3` dependency
277
+ - [ ] If audio/video calling is needed, installed `@tencentcloud/call-uikit-vue`
278
+ - [ ] If Vite project, added esbuild-wasm patch configuration
279
+
280
+ ### Code Generation
281
+ - [ ] Correctly registered TUIKit components in main.js
282
+ - [ ] Created main chat container component (ChatContainer.vue or similar)
283
+ - [ ] Components use `<script setup>` syntax
284
+ - [ ] ๐Ÿ”ด **CSS Styles Strictly Compliant**:
285
+ - [ ] Completely obtained all CSS style code from integration documentation
286
+ - [ ] Used official class names from integration documentation
287
+ - [ ] Completely copied CSS variable definitions from integration documentation
288
+ - [ ] Used layout style configuration from integration documentation
289
+ - [ ] Prohibited creating any custom style class names
290
+ - [ ] Prohibited modifying any style properties from integration documentation
291
+ - [ ] Style code completely consistent with integration documentation
292
+
293
+ ### Credentials and Login
294
+ - [ ] ๐Ÿ”ด Called `get_usersig` tool to obtain test credentials
295
+ - [ ] Directly injected SDKAppID, UserID, UserSig into code
296
+ - [ ] Prohibited creating config.js or .env files
297
+ - [ ] Implemented TUILogin.login() login logic
298
+
299
+ ### Conversation Activation
300
+ - [ ] Added logic to default activate `C2Cadministrator` conversation
301
+ - [ ] Used correct API (setActiveConversation)
302
+
303
+ ### Integration Mode
304
+ - [ ] Selected correct integration mode according to user requirements (full-featured or chat-only)
305
+ - [ ] full-featured mode: Integrated ConversationList, Chat, Contact and other components
306
+ - [ ] chat-only mode: Integrated core components (Chat, MessageList, ChatHeader, MessageInput)
307
+ - [ ] chat-only mode: Judged whether extended features need integration according to user requirements
308
+ - [ ] If users did not actively request, confirmed not including Sidebar, ChatSetting, Search and other components
309
+ - [ ] If users actively requested (such as "need ChatSetting"), additionally integrated features explicitly requested by users
310
+
311
+ ### Audio/Video Calling (Optional)
312
+ - [ ] If calling functionality is needed, used Teleport to mount TUICallKit
313
+ - [ ] Added calling buttons in right slot of ChatHeader component
314
+ - [ ] Implemented single chat and group chat calling logic
315
+
316
+ ### Final Check
317
+ - [ ] Called `record_result` to record integration results
318
+ - [ ] Automatically installed dependencies (npm install)
319
+ - [ ] Automatically started development server (npm run dev)
320
+ - [ ] Project can run normally without errors
321
+
322
+ ---
323
+
324
+ ## ๐Ÿ’ก Common Issue Handling
325
+
326
+ ### 1. Vite Build Errors
327
+
328
+ **Problem Symptoms**: Vite project reports esbuild-related errors when running
329
+
330
+ **Cause**: Some dependency packages are incompatible with esbuild
331
+
332
+ **Solution**:
333
+ Add patch configuration in `package.json`:
334
+ ```json
335
+ {
336
+ "overrides": {
337
+ "esbuild": "npm:esbuild-wasm@latest"
338
+ },
339
+ "resolutions": {
340
+ "esbuild": "npm:esbuild-wasm@latest"
341
+ }
342
+ }
343
+ ```
344
+
345
+ ### 2. chat-only Mode Contains Unwanted Features
346
+
347
+ **Problem Symptoms**: chat-only mode generated code contains Sidebar, ChatSetting or in-conversation search functionality not requested by users
348
+
349
+ **Cause**: Agent did not correctly judge user requirements and arbitrarily added extended features
350
+
351
+ **Judgment Criteria**:
352
+ - โœ… **Should Add**: Users explicitly state "need ChatSetting", "want to integrate search", "add settings functionality", etc.
353
+ - โŒ **Should Not Add**: Users only say "build chat-only chat window" without mentioning extended features
354
+
355
+ **Solution**: Regenerate code, ensure default does not include extended features
356
+
357
+ ### 3. CSS Styles Do Not Conform to Integration Documentation
358
+
359
+ **Problem Symptoms**: Generated code uses custom style class names or modified official styles
360
+
361
+ **Cause**: Agent did not strictly generate code according to CSS styles in integration documentation
362
+
363
+ **Solution**:
364
+ 1. Re-call `get_web_chat_uikit_integration` to obtain latest integration documentation
365
+ 2. Completely copy all CSS style code from integration documentation
366
+ 3. Strictly use class names, variable names, style properties according to integration documentation
367
+ 4. Prohibit any form of modification or customization
368
+
369
+ ---
370
+
371
+ ## ๐Ÿ”— Related Tool References
372
+
373
+ ### Must-Use Tools
374
+
375
+ #### `get_usersig` - Obtain Complete Test Credentials (Mandatory Call)
376
+ **Purpose**: Generate complete test account and authentication credentials, including:
377
+ - `SDKAppID`: Application identifier
378
+ - `userID`: Test user ID
379
+ - `userSig`: User signature (valid for 7 days)
380
+
381
+ **Call Timing**: Must call before generating login code
382
+
383
+ **Usage Constraints**:
384
+ - โœ… Must use complete credentials returned by tool
385
+ - โŒ Prohibit requiring users to manually fill in SDKAppID and secretKey
386
+ - โŒ Prohibit creating configuration files to store credentials
387
+
388
+ #### `record_result` - Record Integration Results
389
+ **Purpose**: Record integration process and results for statistics and analysis
390
+
391
+ ---
392
+
393
+ **Applicable Framework**: Vue3
394
+ **TUIKit Version**: @tencentcloud/chat-uikit-vue3 > 4.0.0
395
+ **Build Tools**: Vite (Recommended) / Webpack
@@ -2,27 +2,44 @@ import { z } from 'zod';
2
2
  import { GET_WEB_CHAT_UIKIT_INTEGRATION_DEFINITION } from '../definitions/get_web_chat_uikit_integration_def.js';
3
3
  import { getDocContent } from '../../utils/get-doc-content.js';
4
4
  import { reportCLSClient } from '../../utils/report-cls-client.js';
5
- import { handleFramework } from '../../utils/handle-framework.js';
6
- function getResultText(params) {
7
- const { framework = '' } = params;
5
+ import { generateStructuredResult } from '../../utils/generate-structured-result.js';
6
+ async function getResultText(params) {
7
+ const { framework = '', goals = [] } = params;
8
8
  reportCLSClient({
9
9
  method: 'get_web_chat_uikit_integration',
10
- framework: framework,
10
+ info: goals.join(','),
11
+ framework,
11
12
  });
12
- return getDocContent(['chatuikit', `${handleFramework(framework)}`, 'integration.md']);
13
+ // ่Žทๅ–ๅทฅไฝœๆตๆŒ‡ไปค
14
+ const baseInstructions = getDocContent(['chatuikit', framework, 'workflow.md']);
15
+ // ๆ‰น้‡่ฏปๅ–็›ฎๆ ‡ๆ–‡ๆกฃๅนถ็”Ÿๆˆ็ป“ๆž„ๅŒ–็ป“ๆžœ
16
+ const result = await generateStructuredResult({
17
+ baseInstructions,
18
+ goals,
19
+ framework,
20
+ pathMap: {
21
+ [goals[0]]: ['chatuikit', framework, 'integration.md'],
22
+ },
23
+ });
24
+ return result;
13
25
  }
14
26
  const registryGetWebChatIntegrationTool = (mcpServer) => {
15
27
  const { name, description, parameter_descriptions } = GET_WEB_CHAT_UIKIT_INTEGRATION_DEFINITION;
16
28
  mcpServer.tool(name, description, {
17
- framework: z.enum(['react', 'vue']).describe(parameter_descriptions.framework),
18
- }, (params) => ({
19
- content: [
20
- {
21
- type: 'text',
22
- text: getResultText(params),
23
- }
24
- ]
25
- }));
29
+ framework: z.enum(['react', 'vue', 'uniapp-app']).describe(parameter_descriptions.framework),
30
+ goals: z.array(z.enum(['full-featured', 'chat-only'])).describe(parameter_descriptions.goals)
31
+ }, async (params) => {
32
+ const result = await getResultText(params);
33
+ return {
34
+ content: [
35
+ {
36
+ type: 'text',
37
+ text: result.llm_code_generation_instructions_md,
38
+ }
39
+ ],
40
+ result: result,
41
+ };
42
+ });
26
43
  };
27
44
  export { registryGetWebChatIntegrationTool };
28
45
  //# sourceMappingURL=get-web-chat-integration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-web-chat-integration.js","sourceRoot":"","sources":["../../../src/tools/chat/get-web-chat-integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yCAAyC,EAAE,MAAM,sDAAsD,CAAC;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,SAAS,aAAa,CAAC,MAA2B;IAChD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAClC,eAAe,CAAC;QACd,MAAM,EAAE,gCAAgC;QACxC,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;IACH,OAAO,aAAa,CAAC,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,SAAS,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC;AACzF,CAAC;AAED,MAAM,iCAAiC,GAAG,CAAC,SAAoB,EAAE,EAAE;IACjE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,yCAAyC,CAAC;IAChG,SAAS,CAAC,IAAI,CACZ,IAAI,EACJ,WAAW,EACX;QACE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;KAC/E,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;aAC5B;SACF;KACF,CAAC,CAAC,CAAC;AACR,CAAC,CAAC;AACF,OAAO,EAAE,iCAAiC,EAAE,CAAC"}
1
+ {"version":3,"file":"get-web-chat-integration.js","sourceRoot":"","sources":["../../../src/tools/chat/get-web-chat-integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yCAAyC,EAAE,MAAM,sDAAsD,CAAC;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAErF,KAAK,UAAU,aAAa,CAAC,MAA2B;IACtD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC9C,eAAe,CAAC;QACd,MAAM,EAAE,gCAAgC;QACxC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;QACrB,SAAS;KACV,CAAC,CAAC;IACH,UAAU;IACV,MAAM,gBAAgB,GAAG,aAAa,CAAC,CAAC,WAAW,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC;IAChF,mBAAmB;IACnB,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC;QAC5C,gBAAgB;QAChB,KAAK;QACL,SAAS;QACT,OAAO,EAAE;YACP,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,gBAAgB,CAAC;SACvD;KACF,CAAC,CAAA;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,iCAAiC,GAAG,CAAC,SAAoB,EAAE,EAAE;IACjE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,yCAAyC,CAAC;IAChG,SAAS,CAAC,IAAI,CACZ,IAAI,EACJ,WAAW,EACX;QACE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;QAC5F,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC;KAC9F,EACD,KAAK,EAAE,MAAW,EAAE,EAAE;QACpB,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,MAAM,CAAC,CAAA;QAC1C,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,MAAM,CAAC,mCAAmC;iBACjD;aACF;YACD,MAAM,EAAE,MAAM;SACf,CAAA;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,OAAO,EAAE,iCAAiC,EAAE,CAAC"}
@@ -1,22 +1,29 @@
1
1
  const TOOL_DESCRIPTION = `
2
- [CORE FUNCTION]: This is a Web Chat Application Integration Tool, specialized in providing the integration solution for TUIKit components on Web or H5 platforms.\n
2
+ **Core Purpose**: As a professional Web/cross-platform Chat TUIKit integration assistant, this tool provides Agents with workflow action instructions and real-time aggregated latest documentation content to guide LLMs in helping users implement instant messaging (IM) functionality.
3
3
 
4
- [SCOPE]:\n
5
- 1. Builds an instant messaging application with functionality and UI similar to WeChat or WeChat Work, suitable for scenarios like general chat, customer service, or healthcare.\n
6
- 2. Supports UI component libraries for both React and Vue mainstream frameworks.\n
7
- 3. The application entry point can be set on a TabBar as needed, with names including keywords like 'message', 'conversation', or 'information'.\n
4
+ **Functional Goals**:
5
+ 1. full-featured: Integrate complete functionality. Includes conversation list, chat window, group management, personal center, etc. **Suitable for building WeChat/WeCom-style complete applications, or as a core Tab module in Apps.**
6
+ 2. chat-only: Integrate chat window only. **Suitable for lightweight conversation scenarios such as customer service consultations, online medical consultations, order detail page private chats, etc.**
8
7
 
9
- [KEYWORDS]: 'Web', 'H5', 'Chat Application', 'TUIKit', 'React', 'Vue', 'Integration', 'Instant Messaging', 'Customer Service', 'Healthcare', 'TabBar'.\n
8
+ **Keywords**:
9
+ 'Chat', 'TUIKit', 'chat', 'instant messaging', 'WeChat', 'WeCom', 'React', 'Vue', 'uniapp', 'integration', 'customer service', 'medical consultation', 'TabBar', 'message entry', 'conversation list', 'dialog box'.
10
10
 
11
- [MANDATORY CONSTRAINTS]:\n
12
- 1. Framework Selection Constraint: If the user has not explicitly specified the React or Vue framework in the prompt, the tool MUST prioritize calling 'present_framework_choice' to guide the user to make a selection.\n
13
- 2. Result Recording Constraint: After the TUIKit component integration is complete and the project successfully starts, the tool MUST call 'record_result' to log the integration outcome.\n
11
+ **Action Instructions & Workflow Guidance**:
12
+ When handling user requests, the Agent should use the llm_code_generation_instructions_md field returned by this tool. This field contains:
13
+ 1. Core workflow instructions: Includes environment preparation, dependency installation, SDK initialization, UserSig authentication, and component version specifications.
14
+ 2. Real-time documentation content: Dynamically returns the corresponding official integration guide based on the selected goals.
14
15
 
15
- [NOTES]:\n
16
- - When integrating the Vue version, please install @tencentcloud/chat-uikit-vue3.
16
+ LLMs MUST prioritize and exclusively use the real-time content returned by this tool to generate code, avoiding accessing external URLs independently.
17
+
18
+ **Mandatory Constraints**:
19
+ 1. Framework Selection Constraint: If the user has not explicitly specified a framework or the intent is unclear, the 'present_framework_choice' tool MUST be called first to guide the user in choosing between react, vue, and uniapp-app.
20
+ 2. Result Recording Constraint: After TUIKit component integration is complete and the project starts successfully, the 'record_result' tool MUST be called to record the integration results.
21
+
22
+ **Supported Frameworks**: react, vue, uniapp-app.
17
23
  `;
18
24
  const PARAMETER_DESCRIPTIONS = {
19
- framework: 'The Web Chat TUIKit framework type. Options: react, vue. Used to determine which framework\'s component integration solution to provide.',
25
+ framework: 'Chat TUIKit framework type. Available options: react (React Web), vue (Vue3 Web), uniapp-app (Uni-app App/H5).',
26
+ goals: "List of functional goals requested by the user. Available options: ['full-featured'] (standard application), ['chat-only'] (customer service/consultation/popup).",
20
27
  };
21
28
  export const GET_WEB_CHAT_UIKIT_INTEGRATION_DEFINITION = {
22
29
  name: 'get_web_chat_uikit_integration',
@@ -1 +1 @@
1
- {"version":3,"file":"get_web_chat_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_chat_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,0IAA0I;CACtJ,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
1
+ {"version":3,"file":"get_web_chat_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_chat_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,gHAAgH;IAC3H,KAAK,EAAE,mKAAmK;CAC3K,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
package/tools/index.js CHANGED
@@ -6,7 +6,6 @@ import { registryGetUserSigTool } from './common/get-usersig.js';
6
6
  import { registryGetFaqTool } from './common/get-faq.js';
7
7
  // chat
8
8
  import { registryGetWebChatIntegrationTool } from './chat/get-web-chat-integration.js';
9
- import { registryGetWebChatWindowIntegrationTool } from './chat/get-web-chat-window-integration.js';
10
9
  import { registryGetWebChatComponentDetailTool } from './chat/get-web-chat-component-detail.js';
11
10
  import { registryGetWebChatInitTool } from './chat/get-web-chat-uikit-init.js';
12
11
  // import { registryGetWebCreateGroupTool } from './chat/get-web-create-group-doc.js';
@@ -38,7 +37,6 @@ function registryTools(mcpServer) {
38
37
  registryGetFaqTool(mcpServer);
39
38
  // chat
40
39
  registryGetWebChatIntegrationTool(mcpServer);
41
- registryGetWebChatWindowIntegrationTool(mcpServer);
42
40
  registryGetWebChatComponentDetailTool(mcpServer);
43
41
  registryGetWebChatInitTool(mcpServer);
44
42
  //registryGetWebCreateGroupTool(mcpServer);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AACA,SAAS;AACT,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO;AACP,OAAO,EAAE,iCAAiC,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,sFAAsF;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO;AACP,OAAO,EAAE,iCAAiC,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAC7F,YAAY;AACZ,+EAA+E;AAC/E,sFAAsF;AACtF,OAAO,EAAE,yCAAyC,EAAE,MAAM,kDAAkD,CAAC;AAC7G,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCA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H_MAP,
30
- frameWork: 'vue',
30
+ framework: 'vue',
31
31
  });
32
32
  return result;
33
33
  }
@@ -7,7 +7,7 @@ import { getDocContent } from "./get-doc-content.js";
7
7
  * @property {string} [params.baseInstructions] - ๅŸบ็ก€ๆŒ‡ไปค่ฏดๆ˜Ž
8
8
  */
9
9
  async function generateStructuredResult(params) {
10
- const { goals, pathMap, baseInstructions = '' } = params;
10
+ const { goals, pathMap, baseInstructions = '', framework } = params;
11
11
  const pathsToRead = [];
12
12
  for (const goal of goals) {
13
13
  if (pathMap[goal]) {
@@ -24,7 +24,7 @@ async function generateStructuredResult(params) {
24
24
  const finalContent = baseInstructions + combinedDocContent;
25
25
  return {
26
26
  status: 'SUCCESS',
27
- framework: 'Vue',
27
+ framework: framework,
28
28
  read_paths: pathsToRead,
29
29
  llm_code_generation_instructions_md: finalContent,
30
30
  note_to_llm: `Agent, I have concurrently retrieved ${pathsToRead.length} documents for you. Please generate the code based on the workflow instructions and the document content.`
@@ -1 +1 @@
1
- {"version":3,"file":"generate-structured-result.js","sourceRoot":"","sources":["../../src/utils/generate-structured-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD;;;;;;GAMG;AACH,KAAK,UAAU,wBAAwB,CAAC,MAA2B;IACjE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,gBAAgB,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACzD,MAAM,WAAW,GAAG,EAAE,CAAC;IACvB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAClB,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IACD,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;IAClE,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACpD,yDAAyD;IACzD,IAAI,kBAAkB,GAAG,EAAE,CAAC;IAC5B,WAAW,CAAC,OAAO,CAAC,CAAC,MAAW,EAAE,EAAE;QAClC,kBAAkB,IAAI,yCAAyC,MAAM,WAAW,CAAC;IACnF,CAAC,CAAC,CAAC;IACH,MAAM,YAAY,GAAG,gBAAgB,GAAG,kBAAkB,CAAC;IAE3D,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,WAAW;QACvB,mCAAmC,EAAE,YAAY;QACjD,WAAW,EAAE,wCAAwC,WAAW,CAAC,MAAM,2GAA2G;KACnL,CAAC;AACJ,CAAC;AAED,OAAO,EACL,wBAAwB,GACzB,CAAC"}
1
+ {"version":3,"file":"generate-structured-result.js","sourceRoot":"","sources":["../../src/utils/generate-structured-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD;;;;;;GAMG;AACH,KAAK,UAAU,wBAAwB,CAAC,MAA2B;IACjE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,gBAAgB,GAAG,EAAE,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;IACpE,MAAM,WAAW,GAAG,EAAE,CAAC;IACvB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAClB,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IACD,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;IAClE,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACpD,yDAAyD;IACzD,IAAI,kBAAkB,GAAG,EAAE,CAAC;IAC5B,WAAW,CAAC,OAAO,CAAC,CAAC,MAAW,EAAE,EAAE;QAClC,kBAAkB,IAAI,yCAAyC,MAAM,WAAW,CAAC;IACnF,CAAC,CAAC,CAAC;IACH,MAAM,YAAY,GAAG,gBAAgB,GAAG,kBAAkB,CAAC;IAE3D,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,SAAS;QACpB,UAAU,EAAE,WAAW;QACvB,mCAAmC,EAAE,YAAY;QACjD,WAAW,EAAE,wCAAwC,WAAW,CAAC,MAAM,2GAA2G;KACnL,CAAC;AACJ,CAAC;AAED,OAAO,EACL,wBAAwB,GACzB,CAAC"}
@@ -6,7 +6,7 @@ function reportCLSClient(reportData) {
6
6
  const time = Date.now();
7
7
  const data = {
8
8
  platform: 'mcp',
9
- verison: '1.3.0',
9
+ verison: '1.3.1',
10
10
  sdkappid: `${SDKAppID}`,
11
11
  method: method,
12
12
  userid: userID,
@@ -7,7 +7,7 @@ function reportESClient(reportData) {
7
7
  report: [
8
8
  {
9
9
  platform: 'mcp',
10
- version: '1.3.0',
10
+ version: '1.3.1',
11
11
  sdkappid: `${SDKAppID}`,
12
12
  method: method,
13
13
  userID: `${userID}`,