@tencentcloud/sdk-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 (510) hide show
  1. package/index.js +1 -1
  2. package/index.js.map +1 -1
  3. package/package.json +2 -2
  4. package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
  5. package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
  6. package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
  7. package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
  8. package/resource/doc/{tuicallkit/vue/faq.md → callkit/faq/web-faq.md} +78 -311
  9. package/resource/doc/callkit/preset/android/api.md +330 -0
  10. package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +63 -420
  11. package/resource/doc/callkit/preset/flutter/api.md +401 -0
  12. package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
  13. package/resource/doc/callkit/preset/ios/api.md +282 -0
  14. package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
  15. package/resource/doc/callkit/preset/react/api.md +600 -0
  16. package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
  17. package/resource/doc/callkit/preset/vue/api.md +600 -0
  18. package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
  19. package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
  20. package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
  21. package/resource/doc/{chatuikit → chatkit}/android/integration.md +30 -126
  22. package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
  23. package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
  24. package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
  25. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
  26. package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
  27. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
  28. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
  29. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
  30. package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
  31. package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
  32. package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
  33. package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
  34. package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
  35. package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
  36. package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
  37. package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
  38. package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
  39. package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
  40. package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
  41. package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
  42. package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
  43. package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
  44. package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
  45. package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
  46. package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
  47. package/resource/doc/chatkit/react/components/search.md +282 -0
  48. package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
  49. package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
  50. package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
  51. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
  52. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
  53. package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
  54. package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
  55. package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
  56. package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
  57. package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
  58. package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
  59. package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
  60. package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
  61. package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
  62. package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
  63. package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
  64. package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
  65. package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
  66. package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
  67. package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
  68. package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
  69. package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
  70. package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
  71. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
  72. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
  73. package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
  74. package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
  75. package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
  76. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
  77. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
  78. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
  79. package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
  80. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
  81. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
  82. package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
  83. package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
  84. package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
  85. package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
  86. package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
  87. package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
  88. package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
  89. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
  90. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
  91. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
  92. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
  93. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
  94. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
  95. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
  96. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
  97. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
  98. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
  99. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
  100. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
  101. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
  102. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
  103. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
  104. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
  105. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
  106. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
  107. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
  108. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
  109. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +160 -543
  110. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
  111. package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
  112. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
  113. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
  114. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
  115. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
  116. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
  117. package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
  118. package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
  119. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
  120. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
  121. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
  122. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
  123. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
  124. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
  125. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
  126. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
  127. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
  128. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
  129. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
  130. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
  131. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
  132. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
  133. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +17 -88
  134. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
  135. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +26 -139
  136. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +53 -262
  137. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
  138. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +60 -272
  139. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +63 -440
  140. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +23 -151
  141. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audience-list.md +13 -91
  142. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audio-effect.md +34 -177
  143. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-barrage.md +18 -102
  144. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -201
  145. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-gift.md +66 -460
  146. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +57 -419
  147. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-room-list.md +24 -157
  148. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +23 -96
  149. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +33 -195
  150. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +35 -150
  151. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +45 -254
  152. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +77 -457
  153. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +52 -261
  154. package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
  155. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +36 -167
  156. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audience-list.md +15 -45
  157. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audio-effect.md +23 -137
  158. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-barrage.md +25 -131
  159. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-co-guest-interaction.md +70 -366
  160. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-gift.md +70 -424
  161. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
  162. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-room-list.md +24 -116
  163. package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
  164. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
  165. package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
  166. package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
  167. package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
  168. package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
  169. package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
  170. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
  171. package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
  172. package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
  173. package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
  174. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
  175. package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
  176. package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
  177. package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
  178. package/resource/doc/roomkit/android/features/room-state.md +358 -0
  179. package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
  180. package/resource/doc/roomkit/android/integration.md +433 -0
  181. package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
  182. package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
  183. package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
  184. package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
  185. package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
  186. package/resource/doc/roomkit/flutter/integration.md +405 -0
  187. package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
  188. package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
  189. package/resource/doc/roomkit/ios/features/room-state.md +320 -0
  190. package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
  191. package/resource/doc/roomkit/ios/integration.md +384 -0
  192. package/resource/doc/roomkit/vue/faq.md +1 -0
  193. package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
  194. package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
  195. package/resource/doc/roomkit/vue/features/device-state.md +24 -44
  196. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
  197. package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
  198. package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
  199. package/resource/doc/roomkit/vue/features/room-state.md +25 -36
  200. package/resource/doc/roomkit/vue/features/room-view.md +30 -127
  201. package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
  202. package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
  203. package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
  204. package/resource/doc/roomkit/vue/integration.md +21 -80
  205. package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
  206. package/resource/doc/rtcengine/faq/web/web.md +15 -22
  207. package/resource/doc/rtcengine/web/api.md +17 -21
  208. package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
  209. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
  210. package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
  211. package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
  212. package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
  213. package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
  214. package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
  215. package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
  216. package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
  217. package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
  218. package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
  219. package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
  220. package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
  221. package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
  222. package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
  223. package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
  224. package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
  225. package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
  226. package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
  227. package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
  228. package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
  229. package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
  230. package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
  231. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
  232. package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
  233. package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
  234. package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
  235. package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
  236. package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
  237. package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
  238. package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
  239. package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
  240. package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
  241. package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
  242. package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
  243. package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
  244. package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
  245. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
  246. package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
  247. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
  248. package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
  249. package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
  250. package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
  251. package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
  252. package/server.js +1 -5
  253. package/server.js.map +1 -1
  254. package/tools/call/get_callkit_api.js +32 -0
  255. package/tools/call/get_callkit_api.js.map +1 -0
  256. package/tools/call/get_native_call_uikit_integration.js +34 -0
  257. package/tools/call/get_native_call_uikit_integration.js.map +1 -0
  258. package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
  259. package/tools/call/get_web_call_uikit_integration.js.map +1 -0
  260. package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
  261. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
  262. package/tools/chat/get_native_chat_uikit_integration.js +45 -0
  263. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
  264. package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
  265. package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
  266. package/tools/chat/get_web_chat_uikit_integration.js +45 -0
  267. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
  268. package/tools/common/get_faq.js +265 -0
  269. package/tools/common/get_faq.js.map +1 -0
  270. package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
  271. package/tools/common/get_usersig.js.map +1 -0
  272. package/tools/common/present_framework_choice.js +63 -0
  273. package/tools/common/present_framework_choice.js.map +1 -0
  274. package/tools/definitions/get_callkit_api_def.js +28 -0
  275. package/tools/definitions/get_callkit_api_def.js.map +1 -0
  276. package/tools/definitions/get_faq_def.js +18 -19
  277. package/tools/definitions/get_faq_def.js.map +1 -1
  278. package/tools/definitions/get_native_call_uikit_integration_def.js +15 -34
  279. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  280. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
  281. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
  282. package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -41
  283. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  284. package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
  285. package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
  286. package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
  287. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
  288. package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
  289. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
  290. package/tools/definitions/get_usersig_def.js +17 -24
  291. package/tools/definitions/get_usersig_def.js.map +1 -1
  292. package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
  293. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  294. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
  295. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
  296. package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
  297. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  298. package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
  299. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  300. package/tools/definitions/get_web_livekit_api_def.js +27 -0
  301. package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
  302. package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
  303. package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
  304. package/tools/definitions/get_web_room_uikit_integration_def.js +13 -46
  305. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  306. package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
  307. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
  308. package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
  309. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
  310. package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
  311. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
  312. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
  313. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
  314. package/tools/definitions/present_framework_choice_def.js +23 -12
  315. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  316. package/tools/index.js +47 -61
  317. package/tools/index.js.map +1 -1
  318. package/tools/live/get_native_livekit_core_features.js +65 -0
  319. package/tools/live/get_native_livekit_core_features.js.map +1 -0
  320. package/tools/live/get_native_livekit_core_integration.js +59 -0
  321. package/tools/live/get_native_livekit_core_integration.js.map +1 -0
  322. package/tools/live/get_web_live_uikit_integration.js +48 -0
  323. package/tools/live/get_web_live_uikit_integration.js.map +1 -0
  324. package/tools/live/get_web_livekit_api.js +32 -0
  325. package/tools/live/get_web_livekit_api.js.map +1 -0
  326. package/tools/live/get_web_livekit_component_detail.js +34 -0
  327. package/tools/live/get_web_livekit_component_detail.js.map +1 -0
  328. package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
  329. package/tools/room/get_web_room_uikit_integration.js.map +1 -0
  330. package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
  331. package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
  332. package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
  333. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
  334. package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
  335. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
  336. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
  337. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
  338. package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
  339. package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
  340. package/utils/generate-structured-result.js +61 -17
  341. package/utils/generate-structured-result.js.map +1 -1
  342. package/utils/report-cls-client.js +12 -1
  343. package/utils/report-cls-client.js.map +1 -1
  344. package/utils/report-es-client.js +1 -1
  345. package/resource/doc/chatuikit/android/workflow.md +0 -713
  346. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
  347. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
  348. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
  349. package/resource/doc/chatuikit/flutter/workflow.md +0 -816
  350. package/resource/doc/chatuikit/iOS/workflow.md +0 -0
  351. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
  352. package/resource/doc/chatuikit/react/components/search.md +0 -885
  353. package/resource/doc/chatuikit/react/create-group.md +0 -22
  354. package/resource/doc/chatuikit/react/init.md +0 -25
  355. package/resource/doc/chatuikit/react/workflow.md +0 -254
  356. package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
  357. package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
  358. package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
  359. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  360. package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
  361. package/resource/doc/chatuikit/vue/create-group.md +0 -26
  362. package/resource/doc/chatuikit/vue/init.md +0 -35
  363. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  364. package/resource/doc/livekit/live/android/workflow.md +0 -322
  365. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  366. package/resource/doc/livekit/live/ios/workflow.md +0 -352
  367. package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
  368. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
  369. package/resource/doc/livekit/live/vue/faq.md +0 -0
  370. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
  371. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
  372. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
  373. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
  374. package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
  375. package/resource/doc/livekit/live/vue/workflow.md +0 -219
  376. package/resource/doc/livekit/voice/android/workflow.md +0 -333
  377. package/resource/doc/livekit/voice/flutter/workflow.md +0 -359
  378. package/resource/doc/livekit/voice/ios/voice-integration.md +0 -853
  379. package/resource/doc/livekit/voice/ios/workflow.md +0 -358
  380. package/resource/doc/livekit/voice/uni-app/voice-integration.md +0 -613
  381. package/resource/doc/livekit/voice/uni-app/workflow.md +0 -369
  382. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
  383. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
  384. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
  385. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
  386. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
  387. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  388. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  389. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  390. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  391. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
  392. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
  393. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
  394. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
  395. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  396. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
  397. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
  398. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  399. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
  400. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  401. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
  402. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
  403. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  404. package/resource/doc/roomkit/vue/workflow.md +0 -733
  405. package/resource/doc/tuicallkit/android/workflow.md +0 -432
  406. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
  407. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
  408. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
  409. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
  410. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
  411. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
  412. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
  413. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  414. package/resource/doc/tuicallkit/react/api.md +0 -1512
  415. package/resource/doc/tuicallkit/react/faq.md +0 -986
  416. package/resource/doc/tuicallkit/vue/api.md +0 -1512
  417. package/tools/call/get-native-call-integration.js +0 -43
  418. package/tools/call/get-native-call-integration.js.map +0 -1
  419. package/tools/call/get-web-call-api.js +0 -27
  420. package/tools/call/get-web-call-api.js.map +0 -1
  421. package/tools/call/get-web-call-integration.js.map +0 -1
  422. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  423. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  424. package/tools/chat/get-native-chat-integration.js +0 -45
  425. package/tools/chat/get-native-chat-integration.js.map +0 -1
  426. package/tools/chat/get-web-chat-component-detail.js +0 -31
  427. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  428. package/tools/chat/get-web-chat-integration.js +0 -45
  429. package/tools/chat/get-web-chat-integration.js.map +0 -1
  430. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  431. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  432. package/tools/chat/get-web-create-group-doc.js +0 -28
  433. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  434. package/tools/common/get-faq.js +0 -91
  435. package/tools/common/get-faq.js.map +0 -1
  436. package/tools/common/get-usersig.js.map +0 -1
  437. package/tools/common/present-framework-choice.js +0 -16
  438. package/tools/common/present-framework-choice.js.map +0 -1
  439. package/tools/common/present-scenario-choice.js +0 -16
  440. package/tools/common/present-scenario-choice.js.map +0 -1
  441. package/tools/common/record-prompt.js +0 -55
  442. package/tools/common/record-prompt.js.map +0 -1
  443. package/tools/common/record-result.js +0 -60
  444. package/tools/common/record-result.js.map +0 -1
  445. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  446. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  447. package/tools/definitions/get_native_live_api_def.js +0 -22
  448. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  449. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
  450. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  451. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
  452. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  453. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
  454. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  455. package/tools/definitions/get_trtc_native_api_def.js +0 -17
  456. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  457. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  458. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  459. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  460. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  461. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  462. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  463. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  464. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  465. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  466. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  467. package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
  468. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  469. package/tools/definitions/present_scenario_choice_def.js +0 -53
  470. package/tools/definitions/present_scenario_choice_def.js.map +0 -1
  471. package/tools/definitions/record_prompt_def.js +0 -58
  472. package/tools/definitions/record_prompt_def.js.map +0 -1
  473. package/tools/definitions/record_result_def.js +0 -46
  474. package/tools/definitions/record_result_def.js.map +0 -1
  475. package/tools/live/get-native-live-uikit-integration.js +0 -177
  476. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  477. package/tools/live/get-web-live-component-detail.js +0 -31
  478. package/tools/live/get-web-live-component-detail.js.map +0 -1
  479. package/tools/live/get-web-live-state-detail.js +0 -31
  480. package/tools/live/get-web-live-state-detail.js.map +0 -1
  481. package/tools/live/get-web-live-uikit-integration.js +0 -52
  482. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  483. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  484. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  485. package/tools/live/get_native_live_uikit_interaction.js +0 -194
  486. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  487. package/tools/native_live/get-native-live-api.js +0 -31
  488. package/tools/native_live/get-native-live-api.js.map +0 -1
  489. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  490. package/tools/room/get-web-room-integration.js.map +0 -1
  491. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  492. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  493. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  494. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  495. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  496. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  497. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  498. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  499. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  500. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  501. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  502. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  503. package/tools/trtc/get-trtc-native-api.js +0 -31
  504. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  505. package/utils/handle-component-name.js +0 -33
  506. package/utils/handle-component-name.js.map +0 -1
  507. /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
  508. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  509. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  510. /package/resource/doc/{chatuikit → chatkit}/react/faq.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,28 @@
1
+ const TOOL_DESCRIPTION = `
2
+ 用途:
3
+ 返回跨平台 CallKit 含 UI API 文档,适合在已明确平台后查询单功能能力对应的 API、方法、参数、回调和配置方式。
4
+
5
+ 典型适用问题:
6
+ CallKit API, TUICallKit API, React, Vue, Android, iOS, Flutter, 含 UI API, 单功能查询, 某个能力用哪个 API, 方法名是什么, 最新接口是什么, 参数怎么传, 回调怎么监听, 某个功能怎么设置, 某个功能怎么配置, 自定义 UI, 方法用法, 事件回调, calls, join, setSelfInfo
7
+
8
+ 输入:
9
+ - framework: react | vue | android | ios | flutter
10
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
11
+
12
+ 返回:
13
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
14
+
15
+ 边界:
16
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
17
+ - 面向 CallKit preset 线路下的已明确平台的单功能/API 查询,不负责整体集成主路径或交互式平台选择
18
+ `;
19
+ const PARAMETER_DESCRIPTIONS = {
20
+ framework: '目标平台或框架。参数名固定为 framework。可选值:react | vue | android | ios | flutter。',
21
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
22
+ };
23
+ export const GET_CALLKIT_API_DEFINITION = {
24
+ name: 'get_callkit_api',
25
+ description: TOOL_DESCRIPTION,
26
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
27
+ };
28
+ //# 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;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,qEAAqE;IAChF,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -1,32 +1,31 @@
1
1
  const TOOL_DESCRIPTION = `
2
- 【核心用途】:这是一个统一的知识检索工具(FAQ/文档查询),专门用于从多业务线的知识库中,根据用户输入的查询和指定参数,检索并返回相关的 Markdown 文档内容。
2
+ 用途:
3
+ 返回 Tencent RTC FAQ 检索结果,适合查询常见问题、错误定位、鉴权说明、控制台配置和排障信息。
3
4
 
4
- 【功能范围】:本工具能够解决以下三大类业务应用的常见问题和集成指南:
5
- 1. 聊天应用 (Chat):涵盖移动端 (Native)、Web 端 (React/Vue) 等平台搭建的聊天应用解决方案。
6
- 2. 音视频通话应用 (Call):涵盖移动端 (Native)、Web 端 (React/Vue) 等平台搭建的音视频通话应用解决方案。
7
- 3. 实时音视频 (TRTC):涵盖 rtc/webrtc 相关平台的常见问题解答、如何部署用户鉴权服务、以及获取 userSig 的算法细节等。
5
+ 典型适用问题:
6
+ FAQ, 常见问题, 错误码, 排障, 鉴权失败, userSig 怎么生成, userSig 原理, userSig 签发流程, 服务端鉴权, 控制台配置, 计费, 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
- 【检索能力】:本工具支持通过以下关键参数进行精确过滤和检索:
10
- - query (用户输入的查询或问题)
11
- - 产品线 (product):LLM 推理出的产品名称,用于路由,区分 chat, call, live, room, rtcengine 等。
12
- - 平台/框架 (framework):LLM 推理出的平台或框架,用于路由,区分 react, vue, web, flutter, android, ios 等。
8
+ 输入:
9
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
10
+ - product: chat | call | live | room | rtcengine | native_trtc_sdk
11
+ - framework: react | vue | web | flutter | android | ios | c++
13
12
 
14
- 【关键词】:FAQ, 知识库, 文档检索, 常见问题, Chat, Call, TRTC, 实时音视频, 用户鉴权, userSig, SDK。
13
+ 返回:
14
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
15
15
 
16
- 【强制约束】:\n
17
- 1. 产品线选择约束:如果 LLM 无法从用户提示词中明确推理出目标产品线(product),必须优引导用户选择以下产品产品中的一个(chat, call, live, room, rtcengine)。
18
- 2. 框架选择约束:如果 LLM 无法从用户提示词中明确推理出目标平台或框架(framework),必须优先调用 'present_framework_choice' 工具,引导用户选择平台/框架。
19
-
20
- 【返回格式】: 返回包含原始 Markdown 内容、结构化 JSON 对象。
16
+ 边界:
17
+ - 面向 FAQ、错误码、控制台、鉴权说明和排障信息,不返回主集成文档或组件/API 专题文档
18
+ - 当前定义已覆盖:chat | call | live | room | rtcengine | native_trtc_sdk
19
+ - 当前 framework 定义已覆盖:react | vue | web | flutter | android | ios | c++
21
20
  `;
22
21
  const PARAMETER_DESCRIPTIONS = {
23
- query: '用户输入的查询或问题文本',
24
- product: 'LLM 推理出的目标产品名称(如:chat, call, live, room, rtcengine)',
25
- framework: 'LLM 推理出的平台或框架(如:react, vue, web, flutter, android, ios)',
22
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
23
+ product: '目标产品。可选值:chat | call | live | room | rtcengine | native_trtc_sdk。',
24
+ framework: '目标平台或框架。参数名固定为 framework。可选值:react | vue | web | flutter | android | ios | c++。',
26
25
  };
27
26
  export const GET_FAQ_DEFINITION = {
28
27
  name: 'get_faq',
29
28
  description: TOOL_DESCRIPTION,
30
- parameter_descriptions: PARAMETER_DESCRIPTIONS
29
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
31
30
  };
32
31
  //# sourceMappingURL=get_faq_def.js.map
@@ -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,cAAc;IACrB,OAAO,EAAE,qDAAqD;IAC9D,SAAS,EAAE,yDAAyD;CACrE,CAAC;AAGF,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,+BAA+B;IACvC,OAAO,EAAE,mEAAmE;IAC5E,SAAS,EAAE,iFAAiF;CAC7F,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
- 【核心用途】:作为一个专业的 Native 音视频通话 TUICallKit 集成助手,本工具专用于为 Agent 提供工作流行动指令和实时聚合的最新文档内容,以指导 LLM 帮用户实现移动端音视频通话功能。
2
+ 用途:
3
+ 返回 Native TUICallKit preset 集成文档,供 AI 完成移动端音视频通话接入与代码生成。
3
4
 
4
- 【⚠️ 重要参数提醒】:
5
- 本工具的平台参数名是 "framework",不是 "platform"!
6
- - ✅ 正确调用:{"framework": "android"}
7
- - ❌ 错误调用:{"platform": "android"}
5
+ 典型适用问题:
6
+ Native Call UIKit, Native TUICallKit, TUICallKit, preset 集成, 音视频通话, 视频通话, 语音通话, Flutter, Android, iOS, 呼叫, 接听, 单人通话, 多人通话, 集成
8
7
 
9
- 【功能目标 (Goals)】:
10
- 集成完整的音视频通话功能。包含单人通话、多人通话、呼叫接听、通话界面等。**适用于构建类似微信/企微风格的音视频通话应用,支持一对一和多人通话场景。**
8
+ 输入:
9
+ - framework: flutter | android | ios
10
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
11
11
 
12
- 【关键词】:
13
- 'Native', '移动端', 'Call', 'TUICallKit', '音视频通话', '视频通话', '语音通话', '微信', '企微', 'Flutter', 'Android', 'iOS', '集成', '单人通话', '多人通话', '呼叫', '接听'。
12
+ 返回:
13
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
14
14
 
15
- 【行动指令与工作流引导】:
16
- Agent 在处理用户需求时,应使用本工具返回的 llm_code_generation_instructions_md 字段。这个字段包含了:
17
- 1. 核心工作流指令:包含环境准备、依赖安装、初始化 SDK、鉴权 UserSig 以及组件的版本说明。
18
- 2. 实时文档内容:提供官方集成指南的最新内容。
19
-
20
- LLM 必须优先且唯一使用本工具返回的实时内容生成代码,避免自行访问外部 URL。
21
-
22
- 【参数说明】:
23
- - **framework** (必需): 目标开发平台。注意参数名是 "framework" 不是 "platform"
24
- - "flutter": Flutter 跨平台开发
25
- - "android": Android 原生开发
26
- - "ios": iOS 原生开发
27
-
28
- 【调用示例】:
29
- - Android 集成:{"framework": "android"}
30
- - iOS 集成:{"framework": "ios"}
31
- - Flutter 集成:{"framework": "flutter"}
32
-
33
- 【强制约束】:
34
- 1. 平台选择约束:参数名必须使用 "framework"(不是 platform)。如果用户未明确指定平台,或意图不清晰,必须优先调用 'present_framework_choice' 工具,引导用户在 flutter, android, ios 中进行选择。
35
- 2. 结果记录约束:在 TUICallKit 组件集成完成且项目启动成功后,必须调用 'record_result' 工具记录集成结果。
36
-
37
- 【支持平台】:flutter, android, ios。
15
+ 边界:
16
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
17
+ - 面向 Native CallKit preset 整体集成,不负责平台选择,也不负责铃声、虚拟背景、头像昵称、悬浮窗等单功能/API 设置问题
38
18
  `;
39
19
  const PARAMETER_DESCRIPTIONS = {
40
- framework: '【重要】Native 音视频通话 TUICallKit 平台类型。注意:参数名是 "framework" 不是 "platform"!可选值:flutter (Flutter 跨平台), android (Android 原生), ios (iOS 原生)。',
20
+ framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:flutter | android | ios。',
21
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
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,mIAAmI;CAC/I,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,iEAAiE;IAC5E,MAAM,EAAE,+BAA+B;CACxC,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
+ 用途:
3
+ 返回 Native Chat UIKit 功能详情文档,适合查询单个功能的 API、用法和示例代码。
4
+
5
+ 典型适用问题:
6
+ Native Chat UIKit, 功能详情, Android, iOS, Flutter, theme, 主题定制, 深色模式, UI 定制, TUITheme
7
+
8
+ 输入:
9
+ - framework: android | ios | flutter
10
+ - featureName: theme
11
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
12
+
13
+ 返回:
14
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
15
+
16
+ 边界:
17
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
18
+ - 面向单个聊天功能与专题能力,不负责 Chat UIKit 完整集成主路径
19
+ - featureName 需要使用受支持的功能名
20
+ `;
21
+ const PARAMETER_DESCRIPTIONS = {
22
+ framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | flutter。',
23
+ featureName: '功能名。当前支持:theme(主题定制)。',
24
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
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,iEAAiE;IAC5E,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,+BAA+B;CACxC,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
- 【核心用途】:作为一个专业的 Native 聊天 TUIKit 集成助手,本工具专用于为 Agent 提供工作流行动指令和实时聚合的最新文档内容,以指导 LLM 帮用户实现移动端即时通信(IM)功能。
2
+ 用途:
3
+ 返回 Native Chat UIKit 集成文档,供 AI 完成移动端 IM 应用接入或聊天窗口接入。
3
4
 
4
- 【⚠️ 重要参数提醒】:
5
- 本工具的平台参数名是 "framework",不是 "platform"!
6
- - ✅ 正确调用:{"framework": "android", "goals": ["full-featured"]}
7
- - ❌ 错误调用:{"platform": "android", "goals": ["full-featured"]}
8
- \n
5
+ 典型适用问题:
6
+ Native Chat UIKit, TUIKit, IM, 聊天, 会话列表, 聊天窗口, Flutter, Android, iOS, full-featured, chat-only, 客服, 问诊
9
7
 
10
- 【功能目标 (Goals)】:
11
- 1. full-featured: 集成全量功能。包含会话列表、聊天窗口、群组管理、个人中心等。**适用于构建微信/企微风格的完整移动应用,或作为 App 的核心 Tab 模块。**
12
- 2. chat-only: 仅集成聊天窗口。**适用于客服咨询、医疗在线问诊、订单详情页私聊等轻量级对话场景。**
8
+ 输入:
9
+ - framework: flutter | android | ios
10
+ - goals: [full-featured] | [chat-only]
11
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
13
12
 
14
- 【参数说明】:
15
- - **framework** (必需): 目标开发平台。注意参数名是 "framework" 不是 "platform"
16
- - "flutter": Flutter 跨平台开发
17
- - "android": Android 原生开发
18
- - "ios": iOS 原生开发
19
- - **goals** (必需): 功能目标列表
20
- - ["full-featured"]: 完整应用功能
21
- - ["chat-only"]: 仅聊天窗口
13
+ 返回:
14
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
22
15
 
23
- 【调用示例】:
24
- - Android 全功能集成:{"framework": "android", "goals": ["full-featured"]}
25
- - iOS 聊天窗口:{"framework": "ios", "goals": ["chat-only"]}
26
- - Flutter 全功能:{"framework": "flutter", "goals": ["full-featured"]}
27
-
28
- 【关键词】:
29
- 'Native', '移动端', 'Chat', 'TUIKit', '聊天', '即时通信', '微信', '企微',
30
- 'framework=flutter', 'framework=android', 'framework=ios',
31
- '集成', '客服', '医疗问诊', 'TabBar', '消息入口', '会话列表', '对话框'。
32
-
33
- 【行动指令与工作流引导】:\n
34
- Agent 在处理用户需求时,应使用本工具返回的 llm_code_generation_instructions_md 字段。这个字段包含了:
35
- 1. 核心工作流指令:包含环境准备、依赖安装、初始化 SDK、鉴权 UserSig 以及组件的版本说明。
36
- 2. 实时文档内容:根据选择的 goals 动态返回对应的官方集成指南。
37
-
38
- LLM 必须优先且唯一使用本工具返回的实时内容生成代码,避免自行访问外部 URL。\n
39
-
40
- 【强制约束】:
41
- 1. 平台选择约束:参数名必须使用 "framework"(不是 platform)。如果用户未明确指定平台,或意图不清晰,必须优先调用 'present_framework_choice' 工具,引导用户在 flutter, android, ios 中进行选择。
42
- 2. 结果记录约束:在 TUIKit 组件集成完成且项目启动成功后,必须调用 'record_result' 工具记录集成结果。
43
-
44
- 【支持平台】:flutter, android, ios。
16
+ 边界:
17
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
18
+ - 面向 Native Chat UIKit 整体集成,不负责平台选择或单功能深挖
45
19
  `;
46
20
  const PARAMETER_DESCRIPTIONS = {
47
- framework: '⚠️ 注意参数名是 "framework" 不是 "platform"!Native 聊天 TUIKit 平台类型。可选值:flutter (Flutter 跨平台), android (Android 原生), ios (iOS 原生)。',
48
- goals: "用户请求实现的功能目标列表。可选值:['full-featured'] (标准应用), ['chat-only'] (客服/问诊/弹窗)。",
21
+ framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:flutter | android | ios。',
22
+ goals: '功能目标数组。仅允许传一个值,可选值:full-featured(完整应用)| chat-only(单聊天窗口)。',
23
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
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,0HAA0H;IACrI,KAAK,EAAE,uEAAuE;CAC/E,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,iEAAiE;IAC5E,KAAK,EAAE,2DAA2D;IAClE,MAAM,EAAE,+BAA+B;CACxC,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,33 @@
1
+ const TOOL_DESCRIPTION = `
2
+ 用途:
3
+ 返回基于 AtomicXCore SDK 的 Native LiveKit Core 功能扩展文档,适合在已有视频直播或语聊房基础上继续实现互动与特效能力。视频直播场景重点覆盖连麦、PK、观众管理、美颜、音效、弹幕、礼物;语聊房场景重点覆盖上麦、PK、成员列表。
4
+
5
+ 典型适用问题:
6
+ Native LiveKit Core, AtomicXCore, 无 UI SDK, Core SDK, co_guest, co_host, 连麦, PK, 观众管理, 上麦, 麦位管理, 成员列表, 视频直播, 语聊房, 美颜, 音效, 弹幕, 礼物, BaseBeautyStore, AudioEffectStore, BarrageStore, GiftStore, Android, iOS, Flutter, uni-app
7
+
8
+ 输入:
9
+ - scenario: live | voice
10
+ - framework: android | ios | flutter | uni-app
11
+ - goals: 功能模块列表
12
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
13
+
14
+ 返回:
15
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
16
+
17
+ 边界:
18
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
19
+ - 面向基于 AtomicXCore SDK 的已有视频直播或语聊房项目功能扩展,不负责基础开播、观看或房间列表集成
20
+ - 'base_beauty'、'audio_effect'、'barrage'、'gift' 当前仅适用于 'scenario=live'
21
+ `;
22
+ const PARAMETER_DESCRIPTIONS = {
23
+ scenario: '场景类型。可选值:live(视频直播)| voice(语聊房)。当需求是开播、观看、房间列表时应使用 integration;当需求是连麦、PK、成员列表、美颜、音效、弹幕、礼物时使用 features。',
24
+ framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | flutter | uni-app。',
25
+ goals: '功能列表。可选值:co_guest_interaction(观众连麦/听众上麦)| co_host_interaction(主播连线/PK)| audience_list(成员/观众列表)| base_beauty(美颜)| audio_effect(音效)| barrage(弹幕)| gift(礼物)。',
26
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
27
+ };
28
+ export const GET_NATIVE_LIVEKIT_CORE_FEATURES_DEFINITION = {
29
+ name: 'get_native_livekit_core_features',
30
+ description: TOOL_DESCRIPTION,
31
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
32
+ };
33
+ //# 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;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,wGAAwG;IAClH,SAAS,EAAE,2EAA2E;IACtF,KAAK,EAAE,2JAA2J;IAClK,MAAM,EAAE,+BAA+B;CACxC,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,33 @@
1
+ const TOOL_DESCRIPTION = `
2
+ 用途:
3
+ 返回基于 AtomicXCore SDK 的 Native LiveKit Core 基础集成文档,适合实现视频直播或语聊房的开播、观看和房间列表。视频直播场景重点覆盖主播开播、观众观看、直播列表;语聊房场景重点覆盖房主开房、听众进房、语聊房列表。
4
+
5
+ 典型适用问题:
6
+ Native LiveKit Core, AtomicXCore, 无 UI SDK, Core SDK, 视频直播, 语聊房, 开播, 观看, 房间列表, Android, iOS, Flutter, uni-app, live, voice
7
+
8
+ 输入:
9
+ - scenario: live | voice
10
+ - framework: android | ios | flutter | uni-app
11
+ - goals: 功能模块列表
12
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
13
+
14
+ 返回:
15
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
16
+
17
+ 边界:
18
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
19
+ - 面向基于 AtomicXCore SDK 的视频直播或语聊房基础集成主路径,不负责连麦、PK、成员列表、美颜、音效、弹幕、礼物等功能扩展
20
+ - 返回的是 Core/Store 级基础集成文档,不是完整预制 UIKit 页面模板
21
+ `;
22
+ const PARAMETER_DESCRIPTIONS = {
23
+ scenario: '场景类型。可选值:live(视频直播)| voice(语聊房)。当需求是开播、观看、房间列表时使用 integration;当需求是连麦、PK、成员列表、美颜、音效、弹幕、礼物时应使用 features。',
24
+ framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | flutter | uni-app。',
25
+ goals: '功能列表。可选值:host_streaming(主播/房主开播)| audience_streaming(观众/听众观看)| live_list(房间列表)。',
26
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
27
+ };
28
+ export const GET_NATIVE_LIVEKIT_CORE_INTEGRATION_DEFINITION = {
29
+ name: 'get_native_livekit_core_integration',
30
+ description: TOOL_DESCRIPTION,
31
+ parameter_descriptions: PARAMETER_DESCRIPTIONS,
32
+ };
33
+ //# 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;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,wGAAwG;IAClH,SAAS,EAAE,2EAA2E;IACtF,KAAK,EAAE,iFAAiF;IACxF,MAAM,EAAE,+BAA+B;CACxC,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
+ 用途:
3
+ 按平台返回 Native TRTC SDK 对应文档域,适合查询核心 API、类型定义、回调、统计、音效、美颜、设备和错误码。
4
+
5
+ 典型适用问题:
6
+ TRTC SDK, 实时音视频, 互动直播, 多人音视频, 屏幕分享, 录制, 连麦, PK, Android, iOS, C++, 进房, 退房, 本地预览, 远端渲染, 回调, 事件监听, 参数结构, 编码参数, 统计信息, 音效, 美颜, 设备管理, 错误码, 具体错误码, error code, -4009, -13xx, TXLiteAVCode, 某个错误码含义, 某个错误码怎么处理
7
+
8
+ 输入:
9
+ - framework: android | ios | c++
10
+ - intent: core_api | type_def | callback | statistics | audio_effect | beauty | device | error_code
11
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
12
+
13
+ 返回:
14
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
15
+
16
+ 边界:
17
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
18
+ - 仅返回 Native TRTC SDK 文档内容,不负责 UIKit 集成或平台选择
19
+ - 每次只返回一个平台下的一个文档域,不会合并整个平台全部文档
20
+ - 已知具体错误码时,应优先使用 error_code 文档域
21
+ `;
22
+ const PARAMETER_DESCRIPTIONS = {
23
+ framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | c++。',
24
+ intent: '文档域。可选值:core_api(核心 API)| type_def(类型定义)| callback(回调事件)| statistics(统计信息)| audio_effect(音效)| beauty(美颜)| device(设备管理)| error_code(错误码)。',
25
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
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,6DAA6D;IACxE,MAAM,EAAE,0IAA0I;IAClJ,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
@@ -1,28 +1,21 @@
1
1
  const TOOL_DESCRIPTION = `
2
- 【核心用途】:\n
3
- 使用用户通过 MCP 环境变量配置的 SDKAppID 和 secretKey,安全地生成用于登录腾讯云应用的 UserSig (用户签名)凭证。\n
4
- 适用于所有需要 SDKAppID、userID 和 userSig 进行身份验证的腾讯云应用场景,包括:即时通信 IM (IM) 和 实时音视频 TRTC (TRTC)。\n
5
-
6
- 【必填参数】:\n
7
- - userID\n
8
-
9
- 【关键词】:\n
10
- userSig, IM, TRTC, SDKAppID, secretKey, userID, 用户签名, 登录凭证, 账号信息, 腾讯云登录 \n
11
-
12
- 【重要安全与约束】:\n
13
- 1. 配置引导:\n
14
- - 如果 SDKAppID 和 secretKey 未配置,工具将无法执行。\n
15
- - 必须引导用户通过MCP 环境变量配置 SDKAppID 和 secretKey,然后再次尝试调用本工具。\n
16
- 2. 密钥来源:\n
17
- - 即时通信 IM 应用:请从 IM 控制台 (https://console.cloud.tencent.com/im) 获取 SDKAppID 和 secretKey。\n
18
- - 实时音视频 TRTC 应用:请从 **TRTC 控制台** (https://console.cloud.tencent.com/trtc) 获取 SDKAppID 和 secretKey。\n
19
- 3. 安全提醒:\n
20
- - 前端生成 userSig 是不安全的。请务必提醒用户:在应用正式上线前,UserSig 必须在后端服务生成。\n
21
- 4. 禁止行为:\n
22
- - 禁止引导用户在控制台手动生成 userSig 后粘贴到代码中。\n
23
- - 禁止给用户输出使用示例,输出 SDKAppID、userID、userSig 结果即可。\n
24
- 5. 有效期:\n
25
- - userSig 有效期默认为 7 天,该参数当前不可通过工具调整。\n
2
+ 用途:
3
+ 使用 MCP 环境变量中的 SDKAppID 和 secretKey 生成测试用 userSig,供 IM 或 TRTC 本地联调使用。
4
+
5
+ 典型适用问题:
6
+ 为指定 userID 生成 userSig, 生成测试凭证, 本地联调凭证, userID 对应的 userSig, SDKAppID, secretKey, IM, TRTC, 登录凭证
7
+
8
+ 输入:
9
+ - userID
10
+
11
+ 返回:
12
+ - content: [{ type: 'text', text: userSig 结果或错误说明 }]
13
+
14
+ 边界:
15
+ - 面向已明确 userID 的测试凭证生成,不负责解释 userSig 原理、签发流程或生产鉴权方案
16
+ - 仅用于开发测试
17
+ - 生产环境应改为服务端签发
18
+ - 如果环境变量缺失,需先补齐配置
26
19
  `;
27
20
  export const GET_USERSIG_DEFINITION = {
28
21
  name: 'get_usersig',
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;CAyBxB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE;QACtB,MAAM,EAAE,iBAAiB;KAC1B;CACF,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,iBAAiB;KAC1B;CACF,CAAC"}
@@ -1,16 +1,24 @@
1
1
  const TOOL_DESCRIPTION = `
2
- 【核心用途】:用于提供 Web PC/H5 音视频通话应用集成指南,提供 React/Vue 框架下的 TUICallKit 组件集成指南。\n
2
+ 用途:
3
+ 返回 Web TUICallKit preset 集成文档,适合实现 PC/H5 音视频通话应用。
3
4
 
4
- 【功能】:实现类似微信/企微的音视频通话功能和 UI。\n
5
+ 典型适用问题:
6
+ Web Call UIKit, Web TUICallKit, TUICallKit, preset 集成, React, Vue, PC, H5, 音视频通话, 视频通话, 语音通话, 集成, 呼叫, 接听
5
7
 
6
- 【关键词】:Web PC, H5, TUICallKit, 音视频通话, React, Vue, 集成指南, 'CallKit', '集成'。\n
8
+ 输入:
9
+ - framework: react | vue
10
+ - prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
7
11
 
8
- 【强制约束与流程】:\n
9
- 1. 框架选择约束:如果用户未明确指定 React 或 Vue,必须优先调用 'present_framework_choice'。\n
10
- 2. 结果记录约束:在集成完成且项目启动成功后,必须调用 'record_result' 工具记录集成结果。\n
12
+ 返回:
13
+ - content: [{ type: 'text', text: 文档正文或说明文本 }]
14
+
15
+ 边界:
16
+ - 当用户未明确平台或框架时,应先调用 'present_framework_choice'
17
+ - 面向 Web CallKit preset 整体集成,不负责 API 细节或交互式框架选择
11
18
  `;
12
19
  const PARAMETER_DESCRIPTIONS = {
13
- framework: 'Web Call TUIKit 框架类型。可选值:react, vue。用于确定提供哪个框架下的组件集成方案。',
20
+ framework: '目标框架。参数名固定为 framework,禁止传 platform。可选值:react | vue。',
21
+ prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
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,yDAAyD;CACrE,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,qDAAqD;IAChE,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}