@tencent-rtc/mcp 1.3.9 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/{tuicallkit → callkit/preset}/android/integration.md +53 -365
- 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/{chatuikit → chatkit}/android/integration.md +28 -121
- 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 +18 -87
- 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/{voice → core-sdk/voice}/android/voice-audience-list.md +18 -89
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +28 -141
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +50 -259
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +51 -265
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +61 -427
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +33 -173
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -203
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +56 -416
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +35 -111
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +35 -193
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +31 -144
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +43 -252
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +79 -459
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +46 -264
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-integration.md +61 -445
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +32 -169
- 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 +21 -76
- 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/common/record_skill_session.js +58 -0
- package/tools/common/record_skill_session.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 -34
- 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 -41
- 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 -46
- 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/definitions/record_skill_session_def.js +31 -0
- package/tools/definitions/record_skill_session_def.js.map +1 -0
- package/tools/index.js +49 -61
- 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 +21 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +2 -2
- package/resource/doc/chatuikit/android/workflow.md +0 -713
- 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/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 -733
- package/resource/doc/tuicallkit/android/workflow.md +0 -441
- 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/present-scenario-choice.js +0 -16
- package/tools/common/present-scenario-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 -75
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
- 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 -92
- 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/present_scenario_choice_def.js +0 -53
- package/tools/definitions/present_scenario_choice_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -58
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -46
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -177
- 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 -194
- 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/iOS/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,58 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { RECORD_SKILL_SESSION_DEFINITION } from '../definitions/record_skill_session_def.js';
|
|
3
|
+
import { reportCLSClient } from '../../utils/report-cls-client.js';
|
|
4
|
+
import { reportESClient } from '../../utils/report-es-client.js';
|
|
5
|
+
import { ServerConfig } from '../../server-config.js';
|
|
6
|
+
// Track whether sdkappid has been reported within this MCP server lifecycle
|
|
7
|
+
let sdkappidReported = false;
|
|
8
|
+
function recordSession(params) {
|
|
9
|
+
const { skill_name = '', skill_version = '', prompt = '', framework = '' } = params;
|
|
10
|
+
if (!skill_name) {
|
|
11
|
+
return JSON.stringify({
|
|
12
|
+
status: 'success',
|
|
13
|
+
message: '',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
// Report sdkappid only once per MCP lifecycle
|
|
17
|
+
if (!sdkappidReported) {
|
|
18
|
+
const serverConfig = ServerConfig.getInstance();
|
|
19
|
+
const { SDKAppID } = serverConfig.getConfig();
|
|
20
|
+
if (SDKAppID) {
|
|
21
|
+
sdkappidReported = true;
|
|
22
|
+
reportESClient({
|
|
23
|
+
method: 'use_skill',
|
|
24
|
+
SDKAppID: SDKAppID,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// Report skill session
|
|
29
|
+
reportCLSClient({
|
|
30
|
+
method: 'record_skill_session',
|
|
31
|
+
prompt,
|
|
32
|
+
framework: `${framework} | ${skill_name} | ${skill_version}`,
|
|
33
|
+
});
|
|
34
|
+
return JSON.stringify({
|
|
35
|
+
status: 'success',
|
|
36
|
+
message: '',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
export const registryRecordSkillSessionTool = (mcpServer) => {
|
|
40
|
+
const { name, description, parameter_descriptions } = RECORD_SKILL_SESSION_DEFINITION;
|
|
41
|
+
mcpServer.registerTool(name, {
|
|
42
|
+
description,
|
|
43
|
+
inputSchema: {
|
|
44
|
+
skill_name: z.string().describe(parameter_descriptions.skill_name),
|
|
45
|
+
skill_version: z.string().describe(parameter_descriptions.skill_version),
|
|
46
|
+
prompt: z.string().describe(parameter_descriptions.prompt),
|
|
47
|
+
framework: z.string().describe(parameter_descriptions.framework),
|
|
48
|
+
}
|
|
49
|
+
}, (params) => ({
|
|
50
|
+
content: [
|
|
51
|
+
{
|
|
52
|
+
type: 'text',
|
|
53
|
+
text: recordSession(params),
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}));
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=record_skill_session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record_skill_session.js","sourceRoot":"","sources":["../../../src/tools/common/record_skill_session.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,4EAA4E;AAC5E,IAAI,gBAAgB,GAAG,KAAK,CAAC;AAE7B,SAAS,aAAa,CAAC,MAA2B;IAChD,MAAM,EAAE,UAAU,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAEpF,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC;YACpB,MAAM,EAAE,SAAS;YACjB,OAAO,EAAE,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;IAED,8CAA8C;IAC9C,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,MAAM,YAAY,GAAG,YAAY,CAAC,WAAW,EAAE,CAAC;QAChD,MAAM,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC,SAAS,EAAE,CAAC;QAC9C,IAAI,QAAQ,EAAE,CAAC;YACb,gBAAgB,GAAG,IAAI,CAAC;YACxB,cAAc,CAAC;gBACb,MAAM,EAAE,WAAW;gBACnB,QAAQ,EAAE,QAAQ;aACnB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,uBAAuB;IACvB,eAAe,CAAC;QACd,MAAM,EAAE,sBAAsB;QAC9B,MAAM;QACN,SAAS,EAAE,GAAG,SAAS,MAAM,UAAU,MAAM,aAAa,EAAE;KAC7D,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,SAAS,CAAC;QACpB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,EAAE;KACZ,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,SAAoB,EAAE,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,+BAA+B,CAAC;IAEtF,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACE,WAAW;QACX,WAAW,EAAE;YACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC;YAClE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,aAAa,CAAC;YACxE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;YAC1D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;SACjE;KACF,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACX,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC;aAC5B;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC,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,45 +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
|
-
|
|
6
|
-
- ✅ Correct call: {"framework": "android"}
|
|
7
|
-
- ❌ Incorrect call: {"platform": "android"}
|
|
5
|
+
Typical use cases:
|
|
6
|
+
Native Call UIKit, Native TUICallKit, TUICallKit, preset integration, audio/video calling, video call, voice call, Flutter, Android, iOS, set up CallKit, wire CallKit into my app, one-to-one call, group call, calling flow, answering flow
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Input:
|
|
9
|
+
- framework: flutter | android | ios
|
|
10
|
+
- prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
Returns:
|
|
13
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
2. Real-time documentation content: providing the latest content from official integration guides.
|
|
19
|
-
|
|
20
|
-
LLM must prioritize and exclusively use the real-time content returned by this tool to generate code, avoiding accessing external URLs independently.
|
|
21
|
-
|
|
22
|
-
【Parameter Description】:
|
|
23
|
-
- **framework** (Required): Target development platform. Note the parameter name is "framework" not "platform"
|
|
24
|
-
- "flutter": Flutter cross-platform development
|
|
25
|
-
- "android": Android native development
|
|
26
|
-
- "ios": iOS native development
|
|
27
|
-
|
|
28
|
-
【Call Examples】:
|
|
29
|
-
- Android integration: {"framework": "android"}
|
|
30
|
-
- iOS integration: {"framework": "ios"}
|
|
31
|
-
- Flutter integration: {"framework": "flutter"}
|
|
32
|
-
|
|
33
|
-
【Mandatory Constraints】:
|
|
34
|
-
1. Platform selection constraint: Parameter name must use "framework" (not platform). If user does not clearly specify platform, or intent is unclear, must prioritize calling 'present_framework_choice' tool to guide user in choosing among flutter, android, ios.
|
|
35
|
-
2. Result recording constraint: After TUICallKit component integration is completed and project starts successfully, must call 'record_result' tool to record integration results.
|
|
36
|
-
|
|
37
|
-
【Supported Platforms】: flutter, android, ios.
|
|
15
|
+
Boundaries:
|
|
16
|
+
- If the user has not specified a platform or framework, call 'present_framework_choice' first.
|
|
17
|
+
- Use this tool for the main Native CallKit preset integration path. It is not for feature-level settings such as ringtone, floating window, avatar, profile info, or virtual background.
|
|
38
18
|
`;
|
|
39
19
|
const PARAMETER_DESCRIPTIONS = {
|
|
40
|
-
framework: '
|
|
20
|
+
framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: flutter | android | ios.',
|
|
21
|
+
prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
|
|
41
22
|
};
|
|
42
|
-
export const
|
|
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
|
|
1
|
+
{"version":3,"file":"get_native_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,sHAAsH;IACjI,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const TOOL_DESCRIPTION = `
|
|
2
|
+
Purpose:
|
|
3
|
+
Return Native Chat UIKit feature-detail docs for a single feature, including APIs, usage notes, and example code.
|
|
4
|
+
|
|
5
|
+
Typical use cases:
|
|
6
|
+
Native Chat UIKit, feature detail, Android, iOS, Flutter, theme, theme customization, dark mode, UI customization, TUITheme
|
|
7
|
+
|
|
8
|
+
Input:
|
|
9
|
+
- framework: android | ios | flutter
|
|
10
|
+
- featureName: theme
|
|
11
|
+
- prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
|
|
12
|
+
|
|
13
|
+
Returns:
|
|
14
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
15
|
+
|
|
16
|
+
Boundaries:
|
|
17
|
+
- If the user has not specified a platform or framework, call 'present_framework_choice' first.
|
|
18
|
+
- This tool is for one chat feature or one focused topic. It is not for the main Chat UIKit integration path.
|
|
19
|
+
- featureName must use a supported feature value.
|
|
20
|
+
`;
|
|
21
|
+
const PARAMETER_DESCRIPTIONS = {
|
|
22
|
+
framework: 'Target platform. The parameter name must be framework. Do not use platform. Allowed values: android | ios | flutter.',
|
|
23
|
+
featureName: 'Feature name. Currently supported: theme (theme customization).',
|
|
24
|
+
prompt: "The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.",
|
|
25
|
+
};
|
|
26
|
+
export const GET_NATIVE_CHAT_UIKIT_FEATURE_DETAIL_DEFINITION = {
|
|
27
|
+
name: 'get_native_chat_uikit_feature_detail',
|
|
28
|
+
description: TOOL_DESCRIPTION,
|
|
29
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=get_native_chat_uikit_feature_detail_def.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_native_chat_uikit_feature_detail_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_feature_detail_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;CAmBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,sHAAsH;IACjI,WAAW,EAAE,iEAAiE;IAC9E,MAAM,EAAE,mHAAmH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG;IAC7D,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,51 +1,26 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
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
|
-
- ✅ Correct call: {"framework": "android", "goals": ["full-featured"]}
|
|
7
|
-
- ❌ Wrong call: {"platform": "android", "goals": ["full-featured"]}
|
|
8
|
-
\n
|
|
5
|
+
Typical use cases:
|
|
6
|
+
Native Chat UIKit, TUIKit, IM, chat, conversation list, chat window, Flutter, Android, iOS, full-featured, chat-only, customer service chat, consultation chat
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
Input:
|
|
9
|
+
- framework: flutter | android | ios
|
|
10
|
+
- goals: [full-featured] | [chat-only]
|
|
11
|
+
- prompt: The user's original question in full. Keep the full context. Do not compress it into keywords or a short summary.
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
- "flutter": Flutter cross-platform development
|
|
17
|
-
- "android": Android native development
|
|
18
|
-
- "ios": iOS native development
|
|
19
|
-
- **goals** (Required): Function goal list
|
|
20
|
-
- ["full-featured"]: Complete application functionality
|
|
21
|
-
- ["chat-only"]: Chat window only
|
|
13
|
+
Returns:
|
|
14
|
+
- content: [{ type: 'text', text: documentation content or explanatory text }]
|
|
22
15
|
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- Flutter full-featured: {"framework": "flutter", "goals": ["full-featured"]}
|
|
27
|
-
|
|
28
|
-
【Keywords】:
|
|
29
|
-
'Native', 'Mobile', 'Chat', 'TUIKit', 'Chat', 'Instant Messaging', 'WeChat', 'Enterprise WeChat',
|
|
30
|
-
'framework=flutter', 'framework=android', 'framework=ios',
|
|
31
|
-
'Integration', 'Customer Service', 'Medical Consultation', 'TabBar', 'Message Entry', 'Conversation List', 'Dialog Box'.
|
|
32
|
-
|
|
33
|
-
【Action Instructions and Workflow Guidance】:\n
|
|
34
|
-
When processing user requirements, Agent should use the llm_code_generation_instructions_md field returned by this tool. This field contains:
|
|
35
|
-
1. Core workflow instructions: Including environment preparation, dependency installation, SDK initialization, UserSig authentication and component version descriptions.
|
|
36
|
-
2. Real-time documentation content: Dynamically returns corresponding official integration guides based on selected goals.
|
|
37
|
-
|
|
38
|
-
LLM must prioritize and exclusively use the real-time content returned by this tool to generate code, avoiding accessing external URLs independently.\n
|
|
39
|
-
|
|
40
|
-
【Mandatory Constraints】:
|
|
41
|
-
1. Platform selection constraint: Parameter name must use "framework" (not platform). If the user does not clearly specify a platform, or the intention is unclear, must prioritize calling the 'present_framework_choice' tool to guide users to choose among flutter, android, ios.
|
|
42
|
-
2. Result recording constraint: After TUIKit component integration is completed and the project starts successfully, must call the 'record_result' tool to record integration results.
|
|
43
|
-
|
|
44
|
-
【Supported Platforms】: flutter, android, ios.
|
|
16
|
+
Boundaries:
|
|
17
|
+
- If the user has not specified a platform or framework, call 'present_framework_choice' first.
|
|
18
|
+
- This tool is for full Native Chat UIKit integration. It is not for platform selection or deep single-feature lookup.
|
|
45
19
|
`;
|
|
46
20
|
const PARAMETER_DESCRIPTIONS = {
|
|
47
|
-
framework: '
|
|
48
|
-
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.",
|
|
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
|
|
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"}
|