@tencent-rtc/mcp 1.3.9 → 1.4.0

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.
Files changed (431) hide show
  1. package/package.json +2 -2
  2. package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
  3. package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
  4. package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
  5. package/resource/doc/callkit/preset/android/api.md +296 -0
  6. package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +53 -365
  7. package/resource/doc/callkit/preset/flutter/api.md +410 -0
  8. package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
  9. package/resource/doc/callkit/preset/ios/api.md +80 -0
  10. package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
  11. package/resource/doc/callkit/preset/react/api.md +501 -0
  12. package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
  13. package/resource/doc/callkit/preset/vue/api.md +501 -0
  14. package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
  15. package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
  16. package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
  17. package/resource/doc/{chatuikit → chatkit}/android/integration.md +28 -121
  18. package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
  19. package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
  20. package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
  21. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
  22. package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
  23. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
  24. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
  25. package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
  26. package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +18 -87
  27. package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
  28. package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
  29. package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
  30. package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
  31. package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
  32. package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
  33. package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
  34. package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
  35. package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
  36. package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
  37. package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
  38. package/resource/doc/chatkit/react/components/conversation-preview.md +118 -0
  39. package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
  40. package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
  41. package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
  42. package/resource/doc/chatkit/react/components/search.md +243 -0
  43. package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
  44. package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
  45. package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
  46. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
  47. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
  48. package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
  49. package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
  50. package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
  51. package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
  52. package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -492
  53. package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
  54. package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
  55. package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +2 -223
  56. package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
  57. package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
  58. package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
  59. package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
  60. package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
  61. package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
  62. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
  63. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
  64. package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +28 -141
  65. package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
  66. package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
  67. package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
  68. package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +94 -344
  69. package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
  70. package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
  71. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
  72. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
  73. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
  74. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
  75. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
  76. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
  77. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
  78. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +107 -492
  79. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
  80. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
  81. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
  82. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
  83. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
  84. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
  85. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
  86. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
  87. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
  88. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
  89. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +18 -89
  90. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
  91. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +28 -141
  92. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +50 -259
  93. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
  94. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +51 -265
  95. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +61 -427
  96. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +33 -173
  97. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -203
  98. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +56 -416
  99. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +35 -111
  100. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +35 -193
  101. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +31 -144
  102. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +43 -252
  103. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +79 -459
  104. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +46 -264
  105. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-integration.md +61 -445
  106. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +32 -169
  107. package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
  108. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
  109. package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
  110. package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +10 -49
  111. package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
  112. package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
  113. package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
  114. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
  115. package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
  116. package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
  117. package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
  118. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
  119. package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -0
  120. package/resource/doc/roomkit/vue/faq.md +1 -0
  121. package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
  122. package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
  123. package/resource/doc/roomkit/vue/features/device-state.md +24 -44
  124. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
  125. package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
  126. package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
  127. package/resource/doc/roomkit/vue/features/room-state.md +25 -34
  128. package/resource/doc/roomkit/vue/features/room-view.md +30 -125
  129. package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
  130. package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
  131. package/resource/doc/roomkit/vue/features/virtual-background.md +13 -29
  132. package/resource/doc/roomkit/vue/integration.md +21 -76
  133. package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
  134. package/resource/doc/rtcengine/faq/web/web.md +14 -24
  135. package/resource/doc/rtcengine/web/api.md +1 -3
  136. package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
  137. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
  138. package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
  139. package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
  140. package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
  141. package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
  142. package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
  143. package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
  144. package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
  145. package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
  146. package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
  147. package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
  148. package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
  149. package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
  150. package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
  151. package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
  152. package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
  153. package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -5
  154. package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
  155. package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
  156. package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
  157. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
  158. package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
  159. package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
  160. package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
  161. package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
  162. package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
  163. package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
  164. package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
  165. package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
  166. package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
  167. package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
  168. package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
  169. package/resource/doc/trtc/android/TXLiteAVCode.md +114 -892
  170. package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
  171. package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
  172. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
  173. package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
  174. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
  175. package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
  176. package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
  177. package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
  178. package/server.js +1 -5
  179. package/server.js.map +1 -1
  180. package/tools/call/get_callkit_api.js +32 -0
  181. package/tools/call/get_callkit_api.js.map +1 -0
  182. package/tools/call/get_native_call_uikit_integration.js +34 -0
  183. package/tools/call/get_native_call_uikit_integration.js.map +1 -0
  184. package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
  185. package/tools/call/get_web_call_uikit_integration.js.map +1 -0
  186. package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
  187. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
  188. package/tools/chat/get_native_chat_uikit_integration.js +45 -0
  189. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
  190. package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
  191. package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
  192. package/tools/chat/get_web_chat_uikit_integration.js +45 -0
  193. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
  194. package/tools/common/get_faq.js +265 -0
  195. package/tools/common/get_faq.js.map +1 -0
  196. package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
  197. package/tools/common/get_usersig.js.map +1 -0
  198. package/tools/common/present_framework_choice.js +63 -0
  199. package/tools/common/present_framework_choice.js.map +1 -0
  200. package/tools/definitions/get_callkit_api_def.js +29 -0
  201. package/tools/definitions/get_callkit_api_def.js.map +1 -0
  202. package/tools/definitions/get_faq_def.js +17 -18
  203. package/tools/definitions/get_faq_def.js.map +1 -1
  204. package/tools/definitions/get_native_call_uikit_integration_def.js +15 -34
  205. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  206. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
  207. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
  208. package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -41
  209. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  210. package/tools/definitions/get_native_livekit_core_features_def.js +34 -0
  211. package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
  212. package/tools/definitions/get_native_livekit_core_integration_def.js +34 -0
  213. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
  214. package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
  215. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
  216. package/tools/definitions/get_usersig_def.js +17 -22
  217. package/tools/definitions/get_usersig_def.js.map +1 -1
  218. package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
  219. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  220. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
  221. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
  222. package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
  223. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  224. package/tools/definitions/get_web_live_uikit_integration_def.js +15 -18
  225. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  226. package/tools/definitions/get_web_livekit_api_def.js +30 -0
  227. package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
  228. package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
  229. package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
  230. package/tools/definitions/get_web_room_uikit_integration_def.js +15 -46
  231. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  232. package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
  233. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
  234. package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
  235. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
  236. package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
  237. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
  238. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
  239. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
  240. package/tools/definitions/present_framework_choice_def.js +24 -12
  241. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  242. package/tools/index.js +47 -61
  243. package/tools/index.js.map +1 -1
  244. package/tools/live/get_native_livekit_core_features.js +65 -0
  245. package/tools/live/get_native_livekit_core_features.js.map +1 -0
  246. package/tools/live/get_native_livekit_core_integration.js +59 -0
  247. package/tools/live/get_native_livekit_core_integration.js.map +1 -0
  248. package/tools/live/get_web_live_uikit_integration.js +48 -0
  249. package/tools/live/get_web_live_uikit_integration.js.map +1 -0
  250. package/tools/live/get_web_livekit_api.js +32 -0
  251. package/tools/live/get_web_livekit_api.js.map +1 -0
  252. package/tools/live/get_web_livekit_component_detail.js +34 -0
  253. package/tools/live/get_web_livekit_component_detail.js.map +1 -0
  254. package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
  255. package/tools/room/get_web_room_uikit_integration.js.map +1 -0
  256. package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
  257. package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
  258. package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
  259. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
  260. package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
  261. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
  262. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
  263. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
  264. package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
  265. package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
  266. package/utils/generate-structured-result.js +61 -17
  267. package/utils/generate-structured-result.js.map +1 -1
  268. package/utils/report-cls-client.js +12 -1
  269. package/utils/report-cls-client.js.map +1 -1
  270. package/utils/report-es-client.js +2 -2
  271. package/resource/doc/chatuikit/android/workflow.md +0 -713
  272. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
  273. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
  274. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
  275. package/resource/doc/chatuikit/flutter/workflow.md +0 -941
  276. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
  277. package/resource/doc/chatuikit/react/components/search.md +0 -745
  278. package/resource/doc/chatuikit/react/create-group.md +0 -23
  279. package/resource/doc/chatuikit/react/init.md +0 -26
  280. package/resource/doc/chatuikit/react/workflow.md +0 -258
  281. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  282. package/resource/doc/chatuikit/vue/create-group.md +0 -25
  283. package/resource/doc/chatuikit/vue/init.md +0 -40
  284. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  285. package/resource/doc/livekit/live/android/workflow.md +0 -320
  286. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  287. package/resource/doc/livekit/live/ios/workflow.md +0 -454
  288. package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
  289. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
  290. package/resource/doc/livekit/live/vue/faq.md +0 -0
  291. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
  292. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
  293. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
  294. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
  295. package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
  296. package/resource/doc/livekit/live/vue/workflow.md +0 -218
  297. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
  298. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
  299. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
  300. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
  301. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
  302. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  303. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  304. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  305. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  306. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -865
  307. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
  308. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
  309. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
  310. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  311. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
  312. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
  313. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  314. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
  315. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  316. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
  317. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
  318. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  319. package/resource/doc/roomkit/vue/workflow.md +0 -733
  320. package/resource/doc/tuicallkit/android/workflow.md +0 -441
  321. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
  322. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
  323. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
  324. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
  325. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
  326. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
  327. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
  328. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  329. package/resource/doc/tuicallkit/react/api.md +0 -1404
  330. package/resource/doc/tuicallkit/vue/api.md +0 -1406
  331. package/resource/doc/tuicallkit/vue/faq.md +0 -36
  332. package/tools/call/get-native-call-integration.js +0 -43
  333. package/tools/call/get-native-call-integration.js.map +0 -1
  334. package/tools/call/get-web-call-api.js +0 -27
  335. package/tools/call/get-web-call-api.js.map +0 -1
  336. package/tools/call/get-web-call-integration.js.map +0 -1
  337. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  338. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  339. package/tools/chat/get-native-chat-integration.js +0 -45
  340. package/tools/chat/get-native-chat-integration.js.map +0 -1
  341. package/tools/chat/get-web-chat-component-detail.js +0 -31
  342. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  343. package/tools/chat/get-web-chat-integration.js +0 -45
  344. package/tools/chat/get-web-chat-integration.js.map +0 -1
  345. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  346. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  347. package/tools/chat/get-web-create-group-doc.js +0 -28
  348. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  349. package/tools/common/get-faq.js +0 -91
  350. package/tools/common/get-faq.js.map +0 -1
  351. package/tools/common/get-usersig.js.map +0 -1
  352. package/tools/common/present-framework-choice.js +0 -16
  353. package/tools/common/present-framework-choice.js.map +0 -1
  354. package/tools/common/present-scenario-choice.js +0 -16
  355. package/tools/common/present-scenario-choice.js.map +0 -1
  356. package/tools/common/record-prompt.js +0 -55
  357. package/tools/common/record-prompt.js.map +0 -1
  358. package/tools/common/record-result.js +0 -60
  359. package/tools/common/record-result.js.map +0 -1
  360. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  361. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  362. package/tools/definitions/get_native_live_api_def.js +0 -23
  363. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  364. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
  365. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  366. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
  367. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  368. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
  369. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  370. package/tools/definitions/get_trtc_native_api_def.js +0 -16
  371. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  372. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  373. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  374. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  375. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  376. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  377. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  378. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  379. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  380. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  381. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  382. package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
  383. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  384. package/tools/definitions/get_web_room_state_detail_def.js +0 -19
  385. package/tools/definitions/get_web_room_state_detail_def.js.map +0 -1
  386. package/tools/definitions/present_scenario_choice_def.js +0 -53
  387. package/tools/definitions/present_scenario_choice_def.js.map +0 -1
  388. package/tools/definitions/record_prompt_def.js +0 -58
  389. package/tools/definitions/record_prompt_def.js.map +0 -1
  390. package/tools/definitions/record_result_def.js +0 -46
  391. package/tools/definitions/record_result_def.js.map +0 -1
  392. package/tools/live/get-native-live-uikit-integration.js +0 -177
  393. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  394. package/tools/live/get-web-live-component-detail.js +0 -31
  395. package/tools/live/get-web-live-component-detail.js.map +0 -1
  396. package/tools/live/get-web-live-state-detail.js +0 -31
  397. package/tools/live/get-web-live-state-detail.js.map +0 -1
  398. package/tools/live/get-web-live-uikit-integration.js +0 -52
  399. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  400. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  401. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  402. package/tools/live/get_native_live_uikit_interaction.js +0 -194
  403. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  404. package/tools/native_live/get-native-live-api.js +0 -31
  405. package/tools/native_live/get-native-live-api.js.map +0 -1
  406. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  407. package/tools/room/get-web-room-integration.js.map +0 -1
  408. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  409. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  410. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  411. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  412. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  413. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  414. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  415. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  416. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  417. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  418. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  419. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  420. package/tools/trtc/get-trtc-native-api.js +0 -31
  421. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  422. package/utils/handle-component-name.js +0 -33
  423. package/utils/handle-component-name.js.map +0 -1
  424. /package/resource/doc/{chatuikit/iOS/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
  425. /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
  426. /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
  427. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  428. /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +0 -0
  429. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  430. /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
  431. /package/resource/doc/roomkit/faq/common/{error_code.md → error-code.md} +0 -0
@@ -0,0 +1,63 @@
1
+ import { z } from 'zod';
2
+ import { PRESENT_FRAMEWORK_CHOICE_DEFINITION } from '../definitions/present_framework_choice_def.js';
3
+ const PRODUCT_OPTIONS_MAP = {
4
+ chat: {
5
+ title: 'Chat 聊天支持的平台或框架',
6
+ options: ['react', 'vue', 'flutter', 'android', 'ios'],
7
+ },
8
+ call: {
9
+ title: 'Call 音视频通话支持的平台或框架',
10
+ options: ['react', 'vue', 'flutter', 'android', 'ios'],
11
+ },
12
+ live: {
13
+ title: 'Live 直播互动支持的平台或框架',
14
+ options: ['vue', 'flutter', 'android', 'ios', 'uni-app'],
15
+ },
16
+ room: {
17
+ title: 'Room 视频会议支持的平台或框架',
18
+ options: ['vue'],
19
+ },
20
+ rtcengine: {
21
+ title: 'WebRTC / rtcEngine 支持的平台或框架',
22
+ options: ['web'],
23
+ },
24
+ native_trtc_sdk: {
25
+ title: 'Native TRTC SDK 支持的平台或框架',
26
+ options: ['android', 'ios', 'c++'],
27
+ },
28
+ };
29
+ function buildSelectionText(product, selectionText) {
30
+ const config = PRODUCT_OPTIONS_MAP[product];
31
+ if (!config) {
32
+ return selectionText;
33
+ }
34
+ const options = config.options.map((option) => `- '${option}'`).join('\n');
35
+ return `${selectionText}
36
+
37
+ 请先让用户选择以下平台或框架:
38
+
39
+ ${config.title}:
40
+ ${options}
41
+
42
+ 请等待用户回复具体平台后,再调用对应的集成工具或查询工具。`;
43
+ }
44
+ const registryPresentFrameworkChoiceTool = (mcpServer) => {
45
+ const { name, description, selectionText, parameter_descriptions } = PRESENT_FRAMEWORK_CHOICE_DEFINITION;
46
+ mcpServer.registerTool(name, {
47
+ description,
48
+ inputSchema: {
49
+ product: z.enum(['chat', 'call', 'live', 'room', 'rtcengine', 'native_trtc_sdk']).describe(parameter_descriptions.product),
50
+ },
51
+ }, ({ product }) => {
52
+ return {
53
+ content: [
54
+ {
55
+ type: 'text',
56
+ text: buildSelectionText(product, selectionText),
57
+ }
58
+ ]
59
+ };
60
+ });
61
+ };
62
+ export { registryPresentFrameworkChoiceTool };
63
+ //# sourceMappingURL=present_framework_choice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"present_framework_choice.js","sourceRoot":"","sources":["../../../src/tools/common/present_framework_choice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,MAAM,gDAAgD,CAAC;AAErG,MAAM,mBAAmB,GAAyD;IAChF,IAAI,EAAE;QACJ,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC;KACvD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,oBAAoB;QAC3B,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC;KACvD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC;KACzD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,CAAC,KAAK,CAAC;KACjB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,6BAA6B;QACpC,OAAO,EAAE,CAAC,KAAK,CAAC;KACjB;IACD,eAAe,EAAE;QACf,KAAK,EAAE,0BAA0B;QACjC,OAAO,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC;KACnC;CACF,CAAC;AAEF,SAAS,kBAAkB,CAAC,OAAe,EAAE,aAAqB;IAChE,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE5C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAE3E,OAAO,GAAG,aAAa;;;;EAIvB,MAAM,CAAC,KAAK;EACZ,OAAO;;8BAEqB,CAAC;AAC/B,CAAC;AAED,MAAM,kCAAkC,GAAG,CAAC,SAAoB,EAAE,EAAE;IAClE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,sBAAsB,EAAE,GAAG,mCAAmC,CAAC;IACzG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACC,WAAW;QACV,WAAW,EAAE;YACX,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,OAAO,CAAC;SAC3H;KACF,EACD,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACd,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,kBAAkB,CAAC,OAAO,EAAE,aAAa,CAAC;iBACjD;aACF;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ const TOOL_DESCRIPTION = `
2
+ Purpose:
3
+ Return cross-platform CallKit preset API docs for feature-level questions after the platform is already known.
4
+
5
+ Typical use cases:
6
+ CallKit API, TUICallKit API, React, Vue, Android, iOS, Flutter, what API should I call, which method starts a call, what is the latest API for this, how do I configure this feature, how do I set this up, how do I pass parameters, which callback should I listen to, custom UI, method usage, event callbacks, calls, join, setSelfInfo
7
+
8
+ Input:
9
+ - framework: react | vue | android | ios | flutter
10
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
11
+
12
+ Returns:
13
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
14
+
15
+ Boundaries:
16
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
17
+ - Use this tool for platform-specific CallKit API, method, callback, and configuration lookup.
18
+ - Do not use it for the main integration guide or for interactive platform selection.
19
+ `;
20
+ const PARAMETER_DESCRIPTIONS = {
21
+ framework: 'Target platform or framework. The parameter name must be framework. Allowed values: react | vue | android | ios | flutter.',
22
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
23
+ };
24
+ export const GET_CALLKIT_API_DEFINITION = {
25
+ name: 'get_callkit_api',
26
+ description: TOOL_DESCRIPTION,
27
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
28
+ };
29
+ //# sourceMappingURL=get_callkit_api_def.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_callkit_api_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_callkit_api_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;CAkBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,4HAA4H;IACvI,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -1,28 +1,27 @@
1
1
  const TOOL_DESCRIPTION = `
2
- [CORE FUNCTION]: This is a unified knowledge retrieval tool (FAQ/Documentation Query) designed to fetch relevant Markdown document content from multi-product knowledge bases based on the user's query and specified parameters.\n
2
+ Purpose:
3
+ Return Tencent RTC FAQ results for common questions, known issues, error diagnosis, authentication guidance, console configuration, and troubleshooting.
3
4
 
4
- [SCOPE]: This tool addresses common questions and integration guides for three main application types:\n
5
- 1. Chat Applications (Chat): Covers solutions for mobile (Native) and Web (React/Vue) platforms.\n
6
- 2. Audio/Video Call Applications (Call): Covers solutions for mobile (Native) and Web (React/Vue) platforms.\n
7
- 3. Real-Time Communication (TRTC): Includes FAQs for RTC/WebRTC platforms, guides on deploying user authentication services, and details on the UserSig generation algorithm.\n
5
+ Typical use cases:
6
+ FAQ, common questions, known issue, troubleshooting, auth failure, how to generate userSig, userSig principles, userSig issuing flow, server-side auth, console configuration, billing, chat faq, call faq, live faq, room faq, rtcengine faq, native trtc sdk faq, react faq, vue faq, web faq, android faq, ios faq, flutter faq, c++ faq
8
7
 
9
- [RETRIEVAL CAPABILITIES]: The tool supports precise filtering and retrieval using the following key parameters:\n
10
- - query: The text of the user's input query or question.\n
11
- - product: The product name inferred by the LLM for routing (e.g., chat, call, live, room, rtcengine).\n
12
- - framework: The platform or framework inferred by the LLM for routing (e.g., react, vue, web, flutter, android, ios).\n
8
+ Input:
9
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
10
+ - product: chat | call | live | room | rtcengine | native_trtc_sdk
11
+ - framework: react | vue | web | flutter | android | ios | c++
13
12
 
14
- [KEYWORDS]: FAQ, Knowledge Base, Document Retrieval, Common Questions, Chat, Call, TRTC, Real-Time Communication, User Authentication, UserSig, SDK.\n
13
+ Returns:
14
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
15
15
 
16
- [Mandatory Constraints]: \n
17
- 1. Product Selection Constraint: If the LLM cannot explicitly infer the target product line (product) from the user's prompt, it must prioritize guiding the user to select one of the following products: (chat, call, live, room, rtcengine).
18
- 2. Framework Selection Constraint: If the LLM cannot explicitly infer the target platform or framework (framework) from the user's prompt, it must prioritize calling the 'present_framework_choice' tool to guide the user to select the platform/framework.
19
-
20
- [RETURN FORMAT]: Returns raw Markdown content and a structured JSON object.
16
+ Boundaries:
17
+ - Use this tool for FAQ, error codes, console issues, authentication guidance, and troubleshooting.
18
+ - It does not return the main integration guide.
19
+ - It does not return dedicated component or API topic docs.
21
20
  `;
22
21
  const PARAMETER_DESCRIPTIONS = {
23
- query: 'The text of the user\'s input query or question.',
24
- product: 'The target product name inferred by the LLM (e.g., chat, call, live, room, rtcengine).',
25
- framework: 'The target platform or framework name inferred by the LLM (e.g., react, vue, web, flutter, android, ios).',
22
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
23
+ product: 'Target product. Allowed values: chat | call | live | room | rtcengine | native_trtc_sdk.',
24
+ framework: 'Target platform or framework. The parameter name must be framework. Allowed values: react | vue | web | flutter | android | ios | c++.',
26
25
  };
27
26
  export const GET_FAQ_DEFINITION = {
28
27
  name: 'get_faq',
@@ -1 +1 @@
1
- {"version":3,"file":"get_faq_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_faq_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,wFAAwF;IACjG,SAAS,EAAE,2GAA2G;CACvH,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
1
+ {"version":3,"file":"get_faq_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_faq_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;CAmBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,MAAM,EAAE,mHAAmH;IAC3H,OAAO,EAAE,0FAA0F;IACnG,SAAS,EAAE,wIAAwI;CACpJ,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -1,45 +1,26 @@
1
1
  const TOOL_DESCRIPTION = `
2
- 【Core Purpose】: As a professional Native audio/video call TUICallKit integration assistant, this tool is specifically designed to provide Agent with workflow action instructions and real-time aggregated latest documentation content, to guide LLM in helping users implement mobile audio/video call functionality.
2
+ Purpose:
3
+ Return Native TUICallKit preset integration docs for setting up a complete mobile calling experience.
3
4
 
4
- 【⚠️ Important Parameter Reminder】:
5
- The platform parameter name for this tool is "framework", not "platform"!
6
- - ✅ Correct call: {"framework": "android"}
7
- - ❌ Incorrect call: {"platform": "android"}
5
+ Typical use cases:
6
+ Native Call UIKit, Native TUICallKit, TUICallKit, preset integration, audio/video calling, video call, voice call, Flutter, Android, iOS, set up CallKit, wire CallKit into my app, one-to-one call, group call, calling flow, answering flow
8
7
 
9
- 【Functional Goals】:
10
- Integrate complete audio/video call functionality. Including single-person calls, multi-person calls, call answering, call interface, etc. **Suitable for building WeChat/Enterprise WeChat style audio/video call applications, supporting one-on-one and multi-person call scenarios.**
8
+ Input:
9
+ - framework: flutter | android | ios
10
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
11
11
 
12
- 【Keywords】:
13
- 'Native', 'Mobile', 'Call', 'TUICallKit', 'Audio/Video Call', 'Video Call', 'Voice Call', 'WeChat', 'Enterprise WeChat', 'Flutter', 'Android', 'iOS', 'Integration', 'Single-person Call', 'Multi-person Call', 'Call', 'Answer'.
12
+ Returns:
13
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
14
14
 
15
- 【Action Instructions and Workflow Guidance】:
16
- When Agent processes user requirements, it should use the llm_code_generation_instructions_md field returned by this tool. This field contains:
17
- 1. Core workflow instructions: including environment preparation, dependency installation, SDK initialization, UserSig authentication, and component version descriptions.
18
- 2. Real-time documentation content: providing the latest content from official integration guides.
19
-
20
- LLM must prioritize and exclusively use the real-time content returned by this tool to generate code, avoiding accessing external URLs independently.
21
-
22
- 【Parameter Description】:
23
- - **framework** (Required): Target development platform. Note the parameter name is "framework" not "platform"
24
- - "flutter": Flutter cross-platform development
25
- - "android": Android native development
26
- - "ios": iOS native development
27
-
28
- 【Call Examples】:
29
- - Android integration: {"framework": "android"}
30
- - iOS integration: {"framework": "ios"}
31
- - Flutter integration: {"framework": "flutter"}
32
-
33
- 【Mandatory Constraints】:
34
- 1. Platform selection constraint: Parameter name must use "framework" (not platform). If user does not clearly specify platform, or intent is unclear, must prioritize calling 'present_framework_choice' tool to guide user in choosing among flutter, android, ios.
35
- 2. Result recording constraint: After TUICallKit component integration is completed and project starts successfully, must call 'record_result' tool to record integration results.
36
-
37
- 【Supported Platforms】: flutter, android, ios.
15
+ Boundaries:
16
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
17
+ - Use this tool for the main Native CallKit preset integration path. It is not for feature-level settings such as ringtone, floating window, avatar, profile info, or virtual background.
38
18
  `;
39
19
  const PARAMETER_DESCRIPTIONS = {
40
- framework: '【Important】Native audio/video call TUICallKit platform type. Note: parameter name is "framework" not "platform"! Available values: flutter (Flutter cross-platform), android (Android native), ios (iOS native).',
20
+ framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: flutter | android | ios.',
21
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
41
22
  };
42
- export const GET_NATIVE_CALL_UIKIT_DEFINITION = {
23
+ export const GET_NATIVE_CALL_UIKIT_INTEGRATION_DEFINITION = {
43
24
  name: 'get_native_call_uikit_integration',
44
25
  description: TOOL_DESCRIPTION,
45
26
  parameter_descriptions: PARAMETER_DESCRIPTIONS,
@@ -1 +1 @@
1
- {"version":3,"file":"get_native_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,kNAAkN;CAC9N,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
1
+ {"version":3,"file":"get_native_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,sHAAsH;IACjI,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -0,0 +1,31 @@
1
+ const TOOL_DESCRIPTION = `
2
+ Purpose:
3
+ Return Native Chat UIKit feature-detail docs for a single feature, including APIs, usage notes, and example code.
4
+
5
+ Typical use cases:
6
+ Native Chat UIKit, feature detail, Android, iOS, Flutter, theme, theme customization, dark mode, UI customization, TUITheme
7
+
8
+ Input:
9
+ - framework: android | ios | flutter
10
+ - featureName: theme
11
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
12
+
13
+ Returns:
14
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
15
+
16
+ Boundaries:
17
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
18
+ - This tool is for one chat feature or one focused topic. It is not for the main Chat UIKit integration path.
19
+ - featureName must use a supported feature value.
20
+ `;
21
+ const PARAMETER_DESCRIPTIONS = {
22
+ framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: android | ios | flutter.',
23
+ featureName: 'Feature name. Currently supported: theme (theme customization).',
24
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
25
+ };
26
+ export const GET_NATIVE_CHAT_UIKIT_FEATURE_DETAIL_DEFINITION = {
27
+ name: 'get_native_chat_uikit_feature_detail',
28
+ description: TOOL_DESCRIPTION,
29
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
30
+ };
31
+ //# sourceMappingURL=get_native_chat_uikit_feature_detail_def.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_native_chat_uikit_feature_detail_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_feature_detail_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;CAmBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,sHAAsH;IACjI,WAAW,EAAE,iEAAiE;IAC9E,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG;IAC7D,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -1,51 +1,26 @@
1
1
  const TOOL_DESCRIPTION = `
2
- 【Core Purpose】: As a professional Native chat TUIKit integration assistant, this tool is specifically designed to provide Agents with workflow action instructions and real-time aggregated latest documentation content to guide LLM in helping users implement mobile instant messaging (IM) functionality.
2
+ Purpose:
3
+ Return Native Chat UIKit integration docs for building either a full IM app or a single chat window on mobile.
3
4
 
4
- 【⚠️ Important Parameter Reminder】:
5
- The platform parameter name for this tool is "framework", not "platform"!
6
- - ✅ Correct call: {"framework": "android", "goals": ["full-featured"]}
7
- - ❌ Wrong call: {"platform": "android", "goals": ["full-featured"]}
8
- \n
5
+ Typical use cases:
6
+ Native Chat UIKit, TUIKit, IM, chat, conversation list, chat window, Flutter, Android, iOS, full-featured, chat-only, customer service chat, consultation chat
9
7
 
10
- 【Function Goals】:
11
- 1. full-featured: Integrate full functionality. Includes conversation list, chat window, group management, personal center, etc. **Suitable for building WeChat/Enterprise WeChat style complete mobile applications, or as core Tab modules of Apps.**
12
- 2. chat-only: Integrate chat window only. **Suitable for customer service consultation, medical online consultation, order detail page private chat and other lightweight conversation scenarios.**
8
+ Input:
9
+ - framework: flutter | android | ios
10
+ - goals: [full-featured] | [chat-only]
11
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
13
12
 
14
- 【Parameter Description】:
15
- - **framework** (Required): Target development platform. Note the parameter name is "framework" not "platform"
16
- - "flutter": Flutter cross-platform development
17
- - "android": Android native development
18
- - "ios": iOS native development
19
- - **goals** (Required): Function goal list
20
- - ["full-featured"]: Complete application functionality
21
- - ["chat-only"]: Chat window only
13
+ Returns:
14
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
22
15
 
23
- 【Call Examples】:
24
- - Android full-featured integration: {"framework": "android", "goals": ["full-featured"]}
25
- - iOS chat window: {"framework": "ios", "goals": ["chat-only"]}
26
- - Flutter full-featured: {"framework": "flutter", "goals": ["full-featured"]}
27
-
28
- 【Keywords】:
29
- 'Native', 'Mobile', 'Chat', 'TUIKit', 'Chat', 'Instant Messaging', 'WeChat', 'Enterprise WeChat',
30
- 'framework=flutter', 'framework=android', 'framework=ios',
31
- 'Integration', 'Customer Service', 'Medical Consultation', 'TabBar', 'Message Entry', 'Conversation List', 'Dialog Box'.
32
-
33
- 【Action Instructions and Workflow Guidance】:\n
34
- When processing user requirements, Agent should use the llm_code_generation_instructions_md field returned by this tool. This field contains:
35
- 1. Core workflow instructions: Including environment preparation, dependency installation, SDK initialization, UserSig authentication and component version descriptions.
36
- 2. Real-time documentation content: Dynamically returns corresponding official integration guides based on selected goals.
37
-
38
- LLM must prioritize and exclusively use the real-time content returned by this tool to generate code, avoiding accessing external URLs independently.\n
39
-
40
- 【Mandatory Constraints】:
41
- 1. Platform selection constraint: Parameter name must use "framework" (not platform). If the user does not clearly specify a platform, or the intention is unclear, must prioritize calling the 'present_framework_choice' tool to guide users to choose among flutter, android, ios.
42
- 2. Result recording constraint: After TUIKit component integration is completed and the project starts successfully, must call the 'record_result' tool to record integration results.
43
-
44
- 【Supported Platforms】: flutter, android, ios.
16
+ Boundaries:
17
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
18
+ - This tool is for full Native Chat UIKit integration. It is not for platform selection or deep single-feature lookup.
45
19
  `;
46
20
  const PARAMETER_DESCRIPTIONS = {
47
- framework: '⚠️ Note the parameter name is "framework" not "platform"! Native chat TUIKit platform type. Options: flutter (Flutter cross-platform), android (Android native), ios (iOS native).',
48
- goals: "List of functional goals requested by user to implement. Options: ['full-featured'] (standard application), ['chat-only'] (customer service/consultation/popup).",
21
+ framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: flutter | android | ios.',
22
+ goals: 'Goal array. Exactly one value is allowed: full-featured (full app) | chat-only (single chat window).',
23
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
49
24
  };
50
25
  export const GET_NATIVE_CHAT_UIKIT_INTEGRATION_DEFINITION = {
51
26
  name: 'get_native_chat_uikit_integration',
@@ -1 +1 @@
1
- {"version":3,"file":"get_native_chat_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,oLAAoL;IAC/L,KAAK,EAAE,kKAAkK;CAC1K,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
1
+ {"version":3,"file":"get_native_chat_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;CAkBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,sHAAsH;IACjI,KAAK,EAAE,sGAAsG;IAC7G,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -0,0 +1,34 @@
1
+ const TOOL_DESCRIPTION = `
2
+ Purpose:
3
+ Return Native LiveKit Core feature-extension docs based on AtomicXCore SDK for adding interactive or effect features to an existing live streaming or voice room app.
4
+
5
+ Typical use cases:
6
+ Native LiveKit Core, AtomicXCore, no-UI SDK, core SDK, co_guest, co_host, co-guest interaction, PK, audience management, seat management, member list, live streaming, voice room, beauty, audio effects, barrage, gifts, BaseBeautyStore, AudioEffectStore, BarrageStore, GiftStore, add interactive features, add live room effects
7
+
8
+ Input:
9
+ - scenario: live | voice
10
+ - framework: android | ios | flutter | uni-app
11
+ - goals: feature module list
12
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
13
+
14
+ Returns:
15
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
16
+
17
+ Boundaries:
18
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
19
+ - Use this tool for feature extensions on an existing AtomicXCore-based live streaming or voice room app.
20
+ - It is not for base publishing, viewing, or room-list integration.
21
+ - 'base_beauty', 'audio_effect', 'barrage', and 'gift' currently apply only when scenario=live.
22
+ `;
23
+ const PARAMETER_DESCRIPTIONS = {
24
+ scenario: 'Scenario type. Allowed values: live | voice. Use integration for publishing, viewing, or room list. Use features for co-guest, PK, member list, beauty, audio effects, barrage, or gifts.',
25
+ framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: android | ios | flutter | uni-app.',
26
+ goals: 'Feature list. Allowed values: co_guest_interaction | co_host_interaction | audience_list | base_beauty | audio_effect | barrage | gift.',
27
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
28
+ };
29
+ export const GET_NATIVE_LIVEKIT_CORE_FEATURES_DEFINITION = {
30
+ name: 'get_native_livekit_core_features',
31
+ description: TOOL_DESCRIPTION,
32
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
33
+ };
34
+ //# sourceMappingURL=get_native_livekit_core_features_def.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_native_livekit_core_features_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_livekit_core_features_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,2LAA2L;IACrM,SAAS,EAAE,gIAAgI;IAC3I,KAAK,EAAE,yIAAyI;IAChJ,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -0,0 +1,34 @@
1
+ const TOOL_DESCRIPTION = `
2
+ Purpose:
3
+ Return Native LiveKit Core base-integration docs based on AtomicXCore SDK for publishing, viewing, and room-list flows in live streaming or voice room apps.
4
+
5
+ Typical use cases:
6
+ Native LiveKit Core, AtomicXCore, no-UI SDK, core SDK, live streaming, voice room, publish, watch, room list, Android, iOS, Flutter, uni-app, live, voice, set up the base live flow, set up the base voice room flow
7
+
8
+ Input:
9
+ - scenario: live | voice
10
+ - framework: android | ios | flutter | uni-app
11
+ - goals: feature module list
12
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
13
+
14
+ Returns:
15
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
16
+
17
+ Boundaries:
18
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
19
+ - Use this tool for the main AtomicXCore-based setup path for live streaming or voice rooms.
20
+ - It is not for co-guest, PK, member list, beauty, audio effects, barrage, or gifts.
21
+ - It returns core/store-level integration docs, not a full preset UIKit page template.
22
+ `;
23
+ const PARAMETER_DESCRIPTIONS = {
24
+ scenario: 'Scenario type. Allowed values: live | voice. Use integration for publishing, viewing, or room list. Use features for co-guest, PK, member list, beauty, audio effects, barrage, or gifts.',
25
+ framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: android | ios | flutter | uni-app.',
26
+ goals: 'Feature list. Allowed values: host_streaming | audience_streaming | live_list.',
27
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
28
+ };
29
+ export const GET_NATIVE_LIVEKIT_CORE_INTEGRATION_DEFINITION = {
30
+ name: 'get_native_livekit_core_integration',
31
+ description: TOOL_DESCRIPTION,
32
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
33
+ };
34
+ //# sourceMappingURL=get_native_livekit_core_integration_def.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_native_livekit_core_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_livekit_core_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,2LAA2L;IACrM,SAAS,EAAE,gIAAgI;IAC3I,KAAK,EAAE,gFAAgF;IACvF,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC5D,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -0,0 +1,32 @@
1
+ const TOOL_DESCRIPTION = `
2
+ Purpose:
3
+ Return one Native TRTC SDK documentation domain for a specific platform, suitable for core API, type definitions, callbacks, statistics, audio effects, beauty, device control, and error code lookup.
4
+
5
+ Typical use cases:
6
+ TRTC SDK, real-time audio/video, interactive live streaming, multi-user calling, screen sharing, recording, co-guest, PK, Android, iOS, C++, enter room, exit room, local preview, remote rendering, callbacks, event listeners, parameter structures, encoding params, statistics, audio effects, beauty, device management, error code, specific error code, TXLiteAVCode, what does this error code mean, how to handle this error code
7
+
8
+ Input:
9
+ - framework: android | ios | c++
10
+ - intent: core_api | type_def | callback | statistics | audio_effect | beauty | device | error_code
11
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
12
+
13
+ Returns:
14
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
15
+
16
+ Boundaries:
17
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
18
+ - This tool only returns Native TRTC SDK docs. It is not for UIKit integration or platform selection.
19
+ - Each call returns only one documentation domain for one platform. It does not merge all docs for a platform.
20
+ - If a specific error code is already known, prefer the error_code intent.
21
+ `;
22
+ const PARAMETER_DESCRIPTIONS = {
23
+ framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: android | ios | c++.',
24
+ intent: 'Documentation domain. Allowed values: core_api | type_def | callback | statistics | audio_effect | beauty | device | error_code.',
25
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
26
+ };
27
+ export const GET_NATIVE_TRTC_SDK_DOCS_DEFINITION = {
28
+ name: 'get_native_trtc_sdk_docs',
29
+ description: TOOL_DESCRIPTION,
30
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
31
+ };
32
+ //# sourceMappingURL=get_native_trtc_sdk_docs_def.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_native_trtc_sdk_docs_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_trtc_sdk_docs_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,kHAAkH;IAC7H,MAAM,EAAE,kIAAkI;IAC1I,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -1,32 +1,27 @@
1
1
  const TOOL_DESCRIPTION = `
2
- [CORE FUNCTION]: \n
3
- Securely generates the UserSig (User Signature) credential for logging into Tencent Cloud applications, using the SDKAppID and secretKey configured by the user via MCP environment variables. \n
4
- Applicable to all Tencent Cloud application scenarios that require SDKAppID, userID, and UserSig for authentication, including: Instant Messaging (IM) and Real-Time Communication (TRTC). \n
2
+ Purpose:
3
+ Generate a test userSig from the MCP environment variables SDKAppID and secretKey for local IM or TRTC testing.
5
4
 
6
- [REQUIRED PARAMETERS]: \n
7
- - userID \n
5
+ Typical use cases:
6
+ generate a userSig for a specific userID, create a test credential, local debugging credential, userSig for this userID, SDKAppID, secretKey, IM login credential, TRTC login credential
8
7
 
9
- [KEYWORDS]: userSig, IM, TRTC, SDKAppID, secretKey, userID, User Signature, Login Credential, Account Information, Tencent Cloud Login \n
8
+ Input:
9
+ - userID
10
10
 
11
- [CRITICAL SECURITY AND CONSTRAINTS]: \n
12
- 1. Configuration Guidance: \n
13
- - If SDKAppID and secretKey are not configured, the tool will fail to execute. \n
14
- - The user MUST be guided to configure SDKAppID and secretKey via MCP environment variables, and then attempt to call this tool again. \n
15
- 2. Key Sources: \n
16
- - For Instant Messaging (IM) applications: Obtain SDKAppID and secretKey from the Chat Console (https://console.trtc.io/). \n
17
- - For Real-Time Communication (TRTC) applications: Obtain SDKAppID and secretKey from the **TRTC Console** (https://console.trtc.io/). \n
18
- 3. Security Warning: \n
19
- - Generating UserSig on the frontend is insecure. The user MUST be reminded that UserSig must be generated on a backend service before the application officially goes live. \n
20
- 4. Prohibited Actions: \n
21
- - DO NOT instruct the user to manually generate UserSig in the console and paste it into the code. \n
22
- - DO NOT provide frontend code implementations for UserSig generation.
11
+ Returns:
12
+ - content: [{ type: 'text', text: userSig result or an error message }]
13
+
14
+ Boundaries:
15
+ - Use this tool only when the userID is already known and you need a test credential.
16
+ - It does not explain userSig principles, issuing flow, or production authentication design.
17
+ - It is for development and testing only.
18
+ - Production systems should issue userSig from a server.
23
19
  `;
24
- const PARAMETER_DESCRIPTIONS = {
25
- userID: 'The User ID for which the UserSig needs to be generated (required parameter).',
26
- };
27
20
  export const GET_USERSIG_DEFINITION = {
28
21
  name: 'get_usersig',
29
22
  description: TOOL_DESCRIPTION,
30
- parameter_descriptions: PARAMETER_DESCRIPTIONS,
23
+ parameter_descriptions: {
24
+ userID: 'The userID used to log in to the Tencent Cloud application.',
25
+ },
31
26
  };
32
27
  //# sourceMappingURL=get_usersig_def.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get_usersig_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_usersig_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,MAAM,EAAE,+EAA+E;CACxF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
1
+ {"version":3,"file":"get_usersig_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_usersig_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;CAkBxB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE;QACtB,MAAM,EAAE,6DAA6D;KACtE;CACF,CAAC"}
@@ -1,16 +1,24 @@
1
1
  const TOOL_DESCRIPTION = `
2
- [CORE FUNCTION]: Provides the integration guide for Web PC/H5 Audio/Video Call applications, specifically the TUICallKit component guide for React/Vue frameworks.\n
2
+ Purpose:
3
+ Return Web TUICallKit preset integration docs for setting up a complete calling experience on PC or H5.
3
4
 
4
- [FUNCTION]: Implements audio/video call functionality and UI similar to WeChat or WeChat Work.\n
5
+ Typical use cases:
6
+ Web Call UIKit, Web TUICallKit, TUICallKit, preset integration, React, Vue, PC, H5, audio/video calling, video call, voice call, set up CallKit, wire CallKit into my project, calling flow, answering flow
5
7
 
6
- [KEYWORDS]: Web PC, H5, TUICallKit, Audio/Video Call, React, Vue, Integration Guide, 'CallKit', 'Integration'.\n
8
+ Input:
9
+ - framework: react | vue
10
+ - prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
7
11
 
8
- [MANDATORY CONSTRAINTS AND PROCESS]:\n
9
- 1. Framework Selection Constraint: If the user has not explicitly specified React or Vue, the tool MUST prioritize calling 'present_framework_choice'.\n
10
- 2. Result Recording Constraint: After the integration is complete and the project successfully starts, the tool MUST call 'record_result' to log the integration outcome.
12
+ Returns:
13
+ - content: [{ type: 'text', text: documentation content or explanatory text }]
14
+
15
+ Boundaries:
16
+ - If the user has not specified a platform or framework, call 'present_framework_choice' first.
17
+ - Use this tool for the main Web CallKit preset integration path. It is not for API details or feature-level settings.
11
18
  `;
12
19
  const PARAMETER_DESCRIPTIONS = {
13
- framework: 'The Web Call TUIKit framework type. Options: react, vue. Used to determine which framework\'s component integration solution to provide.',
20
+ framework: 'Target framework. The parameter name must be framework. Do not use platform. Allowed values: react | vue.',
21
+ prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
14
22
  };
15
23
  export const GET_WEB_CALL_UIKIT_INTEGRATION_DEFINITION = {
16
24
  name: 'get_web_call_uikit_integration',
@@ -1 +1 @@
1
- {"version":3,"file":"get_web_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;CAUxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,0IAA0I;CACtJ,CAAC;AAGF,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_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,2GAA2G;IACtH,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}