@tencent-rtc/mcp 1.3.8 → 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.
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
- package/resource/doc/callkit/preset/android/api.md +296 -0
- package/resource/doc/callkit/preset/android/integration.md +430 -0
- package/resource/doc/callkit/preset/flutter/api.md +410 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
- package/resource/doc/callkit/preset/ios/api.md +80 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
- package/resource/doc/callkit/preset/react/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
- package/resource/doc/callkit/preset/vue/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/chatkit/android/integration.md +490 -0
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +19 -88
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
- package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +118 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
- package/resource/doc/chatkit/react/components/search.md +243 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
- package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -492
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +2 -223
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +28 -141
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +94 -344
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +107 -492
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
- package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +263 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +222 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +452 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +536 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +442 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +489 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +574 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +435 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +576 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +263 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +212 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +404 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +499 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +403 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +552 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +514 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +348 -0
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +10 -49
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -34
- package/resource/doc/roomkit/vue/features/room-view.md +30 -125
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -29
- package/resource/doc/roomkit/vue/integration.md +173 -337
- package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
- package/resource/doc/rtcengine/faq/web/web.md +14 -24
- package/resource/doc/rtcengine/web/api.md +1 -3
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -5
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
- package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
- package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
- package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
- package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
- package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +114 -892
- package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
- package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +29 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +17 -18
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -22
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +15 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +30 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +15 -30
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +24 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -59
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_features.js +65 -0
- package/tools/live/get_native_livekit_core_features.js.map +1 -0
- package/tools/live/get_native_livekit_core_integration.js +59 -0
- package/tools/live/get_native_livekit_core_integration.js.map +1 -0
- package/tools/live/get_web_live_uikit_integration.js +48 -0
- package/tools/live/get_web_live_uikit_integration.js.map +1 -0
- package/tools/live/get_web_livekit_api.js +32 -0
- package/tools/live/get_web_livekit_api.js.map +1 -0
- package/tools/live/get_web_livekit_component_detail.js +34 -0
- package/tools/live/get_web_livekit_component_detail.js.map +1 -0
- package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
- package/tools/room/get_web_room_uikit_integration.js.map +1 -0
- package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
- package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
- package/utils/generate-structured-result.js +61 -17
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/report-cls-client.js +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +2 -2
- package/resource/doc/chatuikit/android/integration.md +0 -287
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
- package/resource/doc/chatuikit/flutter/workflow.md +0 -941
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
- package/resource/doc/chatuikit/react/components/search.md +0 -745
- package/resource/doc/chatuikit/react/create-group.md +0 -23
- package/resource/doc/chatuikit/react/init.md +0 -26
- package/resource/doc/chatuikit/react/workflow.md +0 -258
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/create-group.md +0 -25
- package/resource/doc/chatuikit/vue/init.md +0 -40
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -320
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -454
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
- package/resource/doc/livekit/live/vue/workflow.md +0 -218
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -865
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -487
- package/resource/doc/tuicallkit/android/integration.md +0 -286
- package/resource/doc/tuicallkit/android/workflow.md +0 -0
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1404
- package/resource/doc/tuicallkit/vue/api.md +0 -1406
- package/resource/doc/tuicallkit/vue/faq.md +0 -36
- package/tools/call/get-native-call-integration.js +0 -43
- package/tools/call/get-native-call-integration.js.map +0 -1
- package/tools/call/get-web-call-api.js +0 -27
- package/tools/call/get-web-call-api.js.map +0 -1
- package/tools/call/get-web-call-integration.js.map +0 -1
- package/tools/chat/get-native-chat-feature-detail.js +0 -30
- package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
- package/tools/chat/get-native-chat-integration.js +0 -45
- package/tools/chat/get-native-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-component-detail.js +0 -31
- package/tools/chat/get-web-chat-component-detail.js.map +0 -1
- package/tools/chat/get-web-chat-integration.js +0 -45
- package/tools/chat/get-web-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-uikit-init.js +0 -28
- package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
- package/tools/chat/get-web-create-group-doc.js +0 -28
- package/tools/chat/get-web-create-group-doc.js.map +0 -1
- package/tools/common/get-faq.js +0 -91
- package/tools/common/get-faq.js.map +0 -1
- package/tools/common/get-usersig.js.map +0 -1
- package/tools/common/present-framework-choice.js +0 -16
- package/tools/common/present-framework-choice.js.map +0 -1
- package/tools/common/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -23
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -49
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -74
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -16
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_state_detail_def.js +0 -19
- package/tools/definitions/get_web_room_state_detail_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -53
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -30
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -101
- package/tools/live/get-native-live-uikit-integration.js.map +0 -1
- package/tools/live/get-web-live-component-detail.js +0 -31
- package/tools/live/get-web-live-component-detail.js.map +0 -1
- package/tools/live/get-web-live-state-detail.js +0 -31
- package/tools/live/get-web-live-state-detail.js.map +0 -1
- package/tools/live/get-web-live-uikit-integration.js +0 -52
- package/tools/live/get-web-live-uikit-integration.js.map +0 -1
- package/tools/live/get_native_live_uikit_extra_features.js +0 -105
- package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
- package/tools/live/get_native_live_uikit_interaction.js +0 -101
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{chatuikit/android/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
- /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
- /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
- /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
|
-
|
|
2
|
+
Purpose:
|
|
3
|
+
Return Tencent RTC FAQ results for common questions, known issues, error diagnosis, authentication guidance, console configuration, and troubleshooting.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
10
|
-
-
|
|
11
|
-
- product:
|
|
12
|
-
- framework:
|
|
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
|
-
|
|
13
|
+
Returns:
|
|
14
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
24
|
-
product: '
|
|
25
|
-
framework: '
|
|
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
|
|
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,29 +1,26 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
2
|
+
Purpose:
|
|
3
|
+
Return Native TUICallKit preset integration docs for setting up a complete mobile calling experience.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
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
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
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.
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
1. Core workflow instructions: Including environment preparation, dependency installation, SDK initialization, UserSig authentication, and component version information.
|
|
13
|
-
2. Real-time documentation content: Providing the latest content from official integration guides.
|
|
12
|
+
Returns:
|
|
13
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
1. Platform Selection Constraint: If the user has not explicitly specified a platform, or the intent is unclear, must first call the 'present_framework_choice' tool to guide the user to choose among flutter, android, ios.
|
|
19
|
-
2. Result Recording Constraint: After TUICallKit component integration is complete and the project starts successfully, must call the 'record_result' tool to record integration results.
|
|
20
|
-
|
|
21
|
-
【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.
|
|
22
18
|
`;
|
|
23
19
|
const PARAMETER_DESCRIPTIONS = {
|
|
24
|
-
framework: '
|
|
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.",
|
|
25
22
|
};
|
|
26
|
-
export const
|
|
23
|
+
export const GET_NATIVE_CALL_UIKIT_INTEGRATION_DEFINITION = {
|
|
27
24
|
name: 'get_native_call_uikit_integration',
|
|
28
25
|
description: TOOL_DESCRIPTION,
|
|
29
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
|
|
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,29 +1,26 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
2. chat-only: Integrate chat window only. **Suitable for lightweight conversation scenarios such as customer service consultation, online medical consultation, private chat on order details page, etc.**
|
|
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
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Core workflow instructions: including environment preparation, dependency installation, SDK initialization, UserSig authentication, and component version descriptions.
|
|
14
|
-
2. Real-time documentation content: dynamically returns corresponding official integration guides based on the selected goals.
|
|
13
|
+
Returns:
|
|
14
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
1. Platform Selection Constraint: If the user does not explicitly specify a platform, or the intent is unclear, the 'present_framework_choice' tool must be called first to guide the user to choose among flutter, android, and ios.
|
|
20
|
-
2. Result Recording Constraint: After TUIKit component integration is completed and the project starts successfully, the 'record_result' tool must be called to record the integration result.
|
|
21
|
-
|
|
22
|
-
【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.
|
|
23
19
|
`;
|
|
24
20
|
const PARAMETER_DESCRIPTIONS = {
|
|
25
|
-
framework: '
|
|
26
|
-
goals:
|
|
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.",
|
|
27
24
|
};
|
|
28
25
|
export const GET_NATIVE_CHAT_UIKIT_INTEGRATION_DEFINITION = {
|
|
29
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
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
8
|
+
Input:
|
|
9
|
+
- userID
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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:
|
|
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
|
|
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
|
-
|
|
2
|
+
Purpose:
|
|
3
|
+
Return Web TUICallKit preset integration docs for setting up a complete calling experience on PC or H5.
|
|
3
4
|
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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: '
|
|
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
|
|
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"}
|
|
@@ -1,59 +1,27 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
2
|
+
Purpose:
|
|
3
|
+
Return Web Chat UIKit component-detail docs for a single component, including props, methods, events, and integration usage.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
2. Component Details: Retrieves detailed documentation for any component, including component properties, methods, events, usage examples, etc.
|
|
5
|
+
Typical use cases:
|
|
6
|
+
Web Chat UIKit, component detail, React, Vue, tuikit, chat, chat-header, conversation-list, conversation-preview, conversation-search, conversation-actions, message-list, message-input, contact-list, search, theme
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Input:
|
|
9
|
+
- framework: react | vue
|
|
10
|
+
- componentName: component name
|
|
11
|
+
- prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
2. **Complete UIKit Set** (tuikit): Complete chat UI component set, including conversation list, chat window and all features for rapid integration of complete chat applications
|
|
13
|
-
3. **Chat Window Component** (chat): Complete chat window component, including chat header, message list, message input box, suitable for scenarios requiring a complete chat window
|
|
14
|
-
4. **Chat Header Component** (chat-header): Top navigation bar of chat window, displaying conversation title, avatar, action buttons, suitable for customizing chat header style and functionality
|
|
15
|
-
5. **Conversation List Component** (conversation-list): Conversation list component, displaying preview information of all conversations (last message, unread count, etc.), suitable for implementing chat homepage and conversation management interface
|
|
16
|
-
6. **Message List Component** (message-list): Chat message list component, displaying historical messages, supporting scroll loading and various message type rendering, suitable for customizing message display style and message bubbles
|
|
17
|
-
7. **Message Input Component** (message-input): Message input box component, supporting text input, emojis, images, files and other message types, suitable for customizing message input area and extending input functionality
|
|
18
|
-
8. **Contact Component** (contact-list): Contact list component, displaying friend list, group list, blacklist, etc., suitable for implementing contacts page and friend management
|
|
19
|
-
9. **Search Component** (search): Global search component, supporting search for contacts, groups, chat records, suitable for implementing search functionality and quick conversation lookup
|
|
20
|
-
10. **Chat Settings Component** (chat-setting): Chat settings component, managing conversation configuration (such as message do not disturb, pin, clear chat history, etc.), suitable for implementing conversation settings page and group management
|
|
21
|
-
11. **Avatar Component** (avatar): User avatar component, supporting custom size, shape, default avatar, suitable for displaying user avatars and group avatars
|
|
13
|
+
Returns:
|
|
14
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
22
15
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
【Mandatory Constraints】:
|
|
28
|
-
1. Framework Selection Constraint: If the user does **not explicitly specify** React or Vue framework in the prompt, must prioritize calling the 'present_framework_choice' tool to guide the user to make a selection.
|
|
29
|
-
|
|
30
|
-
2. **Component Name Must Match Exactly**: componentName parameter must be selected from the following list, fuzzy matching is not supported:
|
|
31
|
-
- 'component-list': Component overview (component list overview information)
|
|
32
|
-
- 'tuikit': Complete UIKit set (overview)
|
|
33
|
-
- 'chat': Chat window component (complete chat window)
|
|
34
|
-
- 'chat-header': Chat header component (top navigation bar)
|
|
35
|
-
- 'conversation-list': Conversation list component (conversation list)
|
|
36
|
-
- 'message-list': Message list component (historical message display)
|
|
37
|
-
- 'message-input': Message input component (input box and toolbar)
|
|
38
|
-
- 'contact-list': Contact component (friend list, group list)
|
|
39
|
-
- 'search': Search component (global search)
|
|
40
|
-
- 'chat-setting': Chat settings component (conversation configuration management)
|
|
41
|
-
- 'avatar': Avatar component (user/group avatar)
|
|
16
|
+
Boundaries:
|
|
17
|
+
- If the user has not specified a platform or framework, call 'present_framework_choice' first.
|
|
18
|
+
- This tool is for one component and its usage details. It is not for the main Chat UIKit integration path.
|
|
19
|
+
- componentName must use a supported component value.
|
|
42
20
|
`;
|
|
43
21
|
const PARAMETER_DESCRIPTIONS = {
|
|
44
|
-
framework: '
|
|
45
|
-
componentName:
|
|
46
|
-
|
|
47
|
-
- 'tuikit': Complete UIKit set (overview)
|
|
48
|
-
- 'chat': Chat window component
|
|
49
|
-
- 'chat-header': Chat header component
|
|
50
|
-
- 'conversation-list': Conversation list component
|
|
51
|
-
- 'message-list': Message list component
|
|
52
|
-
- 'message-input': Message input component
|
|
53
|
-
- 'contact-list': Contact component
|
|
54
|
-
- 'search': Search component
|
|
55
|
-
- 'chat-setting': Chat settings component
|
|
56
|
-
- 'avatar': Avatar component`
|
|
22
|
+
framework: 'Target framework. The parameter name must be framework. Do not use platform. Allowed values: react | vue.',
|
|
23
|
+
componentName: 'Component name. Allowed values: component-list | tuikit | chat | chat-header | conversation-list | message-list | message-input | contact-list | search | chat-setting | avatar.',
|
|
24
|
+
prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
|
|
57
25
|
};
|
|
58
26
|
export const GET_WEB_CHAT_UIKIT_COMPONENT_DETAIL_DEFINITION = {
|
|
59
27
|
name: 'get_web_chat_uikit_component_detail',
|