@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
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { RECORD_RESULT_DEFINITION } from '../definitions/record_result_def.js';
|
|
3
|
-
import { reportCLSClient } from '../../utils/report-cls-client.js';
|
|
4
|
-
import { ServerConfig } from '../../server-config.js';
|
|
5
|
-
const registryRecordResultTool = (mcpServer) => {
|
|
6
|
-
const { name, description, parameter_descriptions } = RECORD_RESULT_DEFINITION;
|
|
7
|
-
mcpServer.tool(name, description, {
|
|
8
|
-
framework: z.enum(['react', 'vue', 'web', 'flutter', 'android', 'ios']).optional().describe(parameter_descriptions.framework),
|
|
9
|
-
prompt: z.string().describe(parameter_descriptions.prompt),
|
|
10
|
-
tools: z.string().describe(parameter_descriptions.tools),
|
|
11
|
-
}, (params) => {
|
|
12
|
-
reportCLSClient({
|
|
13
|
-
method: 'record_result',
|
|
14
|
-
framework: params.framework || '',
|
|
15
|
-
info: params.prompt || '',
|
|
16
|
-
tools: params.tools
|
|
17
|
-
});
|
|
18
|
-
// 检查 SDKAppID 配置状态
|
|
19
|
-
const config = ServerConfig.getInstance().getConfig();
|
|
20
|
-
const { SDKAppID } = config;
|
|
21
|
-
// 如果没有配置 SDKAppID,返回配置指南
|
|
22
|
-
if (!SDKAppID || isNaN(Number(SDKAppID))) {
|
|
23
|
-
return {
|
|
24
|
-
content: [
|
|
25
|
-
{
|
|
26
|
-
type: 'text',
|
|
27
|
-
text: `🚨 **Important Notice: SDKAppID Configuration Missing** 🚨
|
|
28
|
-
|
|
29
|
-
Detected that you have not configured SDKAppID, which will cause the following features to be unavailable:
|
|
30
|
-
• UserSig generation functionality
|
|
31
|
-
• TUIKit component integration
|
|
32
|
-
• Tencent Cloud Chat/TRTC service calls
|
|
33
|
-
|
|
34
|
-
📋 **Please configure MCP environment variables immediately**.
|
|
35
|
-
|
|
36
|
-
📖 **Get configuration information**:
|
|
37
|
-
• Chinese site: https://cloud.tencent.com/document/product/269/124481
|
|
38
|
-
• English site: https://trtc.io/document/72277
|
|
39
|
-
|
|
40
|
-
⚡ **Important**: Please restart the MCP server after configuration!
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
✅ Integration result recorded. **Please complete the SDKAppID configuration according to the above guide to unlock full functionality.**`,
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
// 正常情况返回简单确认
|
|
49
|
-
return {
|
|
50
|
-
content: [
|
|
51
|
-
{
|
|
52
|
-
type: 'text',
|
|
53
|
-
text: 'Integration result recorded, proceeding with user request.',
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
};
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
export { registryRecordResultTool };
|
|
60
|
-
//# sourceMappingURL=record-result.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-result.js","sourceRoot":"","sources":["../../../src/tools/common/record-result.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,wBAAwB,GAAG,CAAC,SAAoB,EAAE,EAAE;IACxD,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAAG,wBAAwB,CAAC;IAC/E,SAAS,CAAC,IAAI,CACZ,IAAI,EACJ,WAAW,EACX;QACE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;QAC7H,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC;QAC1D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC;KACzD,EAAE,CAAC,MAAM,EAAE,EAAE;QACZ,eAAe,CAAC;YACd,MAAM,EAAE,eAAe;YACvB,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,EAAE;YACjC,IAAI,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE;YACzB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC,CAAC;QAEH,mBAAmB;QACnB,MAAM,MAAM,GAAG,YAAY,CAAC,WAAW,EAAE,CAAC,SAAS,EAAE,CAAC;QACtD,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAE5B,yBAAyB;QACzB,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;YACzC,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE;;;;;;;;;;;;;;;;yJAgBqI;qBAC5I;iBACF;aACF,CAAC;QACJ,CAAC;QAED,aAAa;QACb,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,4DAA4D;iBACnE;aACF;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
【Core Purpose】: This is a Native Chat Application UIKit Feature Detail Tool, specifically designed to provide detailed descriptions, usage instructions, and sample code for various features in Native Chat TUIKit.
|
|
3
|
-
|
|
4
|
-
【Functional Scope】:
|
|
5
|
-
Retrieves detailed documentation for any feature, including feature implementation methods, API calls, code examples, etc.
|
|
6
|
-
|
|
7
|
-
【Core Feature Modules】: This tool covers all core features of Native Chat TUIKit, including:
|
|
8
|
-
|
|
9
|
-
**📋 Core Feature List:**
|
|
10
|
-
1. **Theme Customization** (theme): Theme styling customization feature, supporting custom colors, fonts, border radius, spacing and other visual styles, suitable for implementing branded UI, dark mode, personalized appearance and other scenarios
|
|
11
|
-
|
|
12
|
-
【Keywords】: 'feature details', 'TUIKit', 'Native', 'Android', 'iOS', 'Flutter', 'theme', 'theme', 'TUITheme', 'theme customization', 'style customization', 'dark mode', 'dark mode', 'branding', 'colors', 'fonts', 'UI customization'.
|
|
13
|
-
|
|
14
|
-
【Supported Platforms】: Android, iOS and Flutter.
|
|
15
|
-
|
|
16
|
-
【Mandatory Constraints】:
|
|
17
|
-
1. Platform Selection Constraint: If the user does **not explicitly specify** Android, iOS or Flutter platform in the prompt, must prioritize calling the 'present_framework_choice' tool to guide the user to make a selection.
|
|
18
|
-
|
|
19
|
-
2. **Feature Name Must Match Exactly**: featureName parameter must be selected from the following list, fuzzy matching is not supported:
|
|
20
|
-
- 'theme': Theme customization (colors, fonts, border radius, spacing and other visual style customization)
|
|
21
|
-
`;
|
|
22
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
23
|
-
framework: 'Platform/framework type supported by Native Chat UIKit feature details. Available values: android, ios, flutter.',
|
|
24
|
-
featureName: `Specific name of Native Chat UIKit feature, available values:
|
|
25
|
-
- 'theme': Theme customization (colors, fonts, border radius, spacing and other visual style customization)`
|
|
26
|
-
};
|
|
27
|
-
export const GET_NATIVE_CHAT_FEATURE_DETAIL_DEFINITION = {
|
|
28
|
-
name: 'get_native_chat_feature_detail',
|
|
29
|
-
description: TOOL_DESCRIPTION,
|
|
30
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=get_native_chat_feature_detail_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_native_chat_feature_detail_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_feature_detail_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,kHAAkH;IAC7H,WAAW,EAAE;4GAC6F;CAC3G,CAAC;AAGF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[CORE FUNCTION]: This is a tool (Live SDK) specifically designed for live streaming push and pull.\n
|
|
3
|
-
|
|
4
|
-
You can achieve the following functions:\n
|
|
5
|
-
1. V2TXLivePusher enables camera and screen sharing, as well as pushing local video files to the cloud.
|
|
6
|
-
2. V2TXLivePlayer can pull and play live streams from the cloud, supporting FLV, RTMP, WebRTC, and M3U8 protocols.
|
|
7
|
-
3. The live streaming SDK supports multiple platforms including Flutter (cross-platform), Android (native) and iOS (native). You can choose one of these platforms for integration as needed.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[KEYWORDS]: 'Live', '直播', '推流', 'Pusher', 'Player', '拉流', '播放', 'V2TXLivePlayer', 'V2TXLivePusher', 'flv', 'rtmp', 'hls', 'm3u8', 'webrtc', 'leb', '快直播', 'Live Stream'。\n
|
|
11
|
-
|
|
12
|
-
[SUPPORTED FRAMEWORKS]: Currently only supports the Android、iOS、Flutter frameworks.
|
|
13
|
-
`;
|
|
14
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
15
|
-
framework: 'For the Live SDK platform type. You first need to choose which platform to use to create your chat application. Currently supported frameworks are: Flutter, Android and iOS.',
|
|
16
|
-
componentName: 'Live SDK.'
|
|
17
|
-
};
|
|
18
|
-
export const GET_NATIVE_LIVE_API_DEFINITION = {
|
|
19
|
-
name: 'get_native_live_api',
|
|
20
|
-
description: TOOL_DESCRIPTION,
|
|
21
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=get_native_live_api_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_native_live_api_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_live_api_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;CAYxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,+KAA+K;IAC1L,aAAa,EAAE,WAAW;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[CORE PURPOSE]:
|
|
3
|
-
A professional Native live streaming extra features integration assistant, designed to help implement features like Base Beauty, Audio Effects, Barrage, and Gifting on Android/iOS/Flutter/React Native platforms.
|
|
4
|
-
|
|
5
|
-
[KEYWORDS]: 'AtomicXCore', 'LiveKit', 'Beauty', 'Audio Effects', 'Barrage', 'Gift', 'BaseBeautyStore', 'AudioEffectStore', 'DeviceStore', 'BarrageStore', 'GiftStore', 'Android', 'iOS', 'Flutter', 'React Native'.
|
|
6
|
-
|
|
7
|
-
[WORKFLOW GUIDANCE]:
|
|
8
|
-
Agents should use the 'llm_code_generation_instructions_md' field returned by this tool, which includes:
|
|
9
|
-
1. Core workflow instructions (from workflow.md, including call to get_usersig tool for test credential generation).
|
|
10
|
-
2. Official documentation content corresponding to the user's required features (Goals).
|
|
11
|
-
|
|
12
|
-
LLM MUST prioritize and exclusively use the documentation content returned by this tool for code generation.
|
|
13
|
-
|
|
14
|
-
[⚠️ CRITICAL PREREQUISITES]:
|
|
15
|
-
**Extra features depend on basic live streaming features**:
|
|
16
|
-
- Beauty, Audio Effects, Barrage, and Gifting MUST be implemented on top of a project that already has Host Broadcasting and Audience Viewing.
|
|
17
|
-
- If the user requests these features in an empty project, the Agent MUST:
|
|
18
|
-
1. Call 'get_native_live_uikit_integration' first to implement basic live streaming (Host Broadcasting + Audience Viewing).
|
|
19
|
-
2. Then call this tool to implement extra features.
|
|
20
|
-
3. Ensure the code includes role selection logic (Host/Audience) for testing.
|
|
21
|
-
|
|
22
|
-
[FUNCTIONAL SCOPE]:
|
|
23
|
-
1. **Base Beauty** (base_beauty): Skin Smoothing, Whitening, Rosy (Levels 0-9), and Reset Beauty.
|
|
24
|
-
- Core APIs: BaseBeautyStore.setSmoothLevel(), setWhitenessLevel(), setRuddyLevel().
|
|
25
|
-
|
|
26
|
-
2. **Audio Effects** (audio_effect): Microphone Volume (0-150), Ear Monitoring Volume (0-100), Voice Changer, and Reverb.
|
|
27
|
-
- Core APIs: AudioEffectStore.setVoiceEarMonitorEnable(), setAudioChangerType(), setAudioReverbType(), DeviceStore.setCaptureVolume().
|
|
28
|
-
- **📖 Official API Documentation (Consult for any doubts)**:
|
|
29
|
-
* AudioEffectStore: https://tencent-rtc.github.io/TUIKit_Android/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.device/-audio-effect-store/index.html
|
|
30
|
-
* AudioEffectState: https://tencent-rtc.github.io/TUIKit_Android/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.device/-audio-effect-state/index.html
|
|
31
|
-
* AudioChangerType: https://tencent-rtc.github.io/TUIKit_Android/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.device/-audio-changer-type/index.html
|
|
32
|
-
* AudioReverbType: https://tencent-rtc.github.io/TUIKit_Android/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.device/-audio-reverb-type/index.html
|
|
33
|
-
|
|
34
|
-
3. **Barrage Interaction** (barrage): Send/Receive Barrage, Custom Barrage, and Mute Management.
|
|
35
|
-
- Core APIs: BarrageStore.sendTextMessage(), sendCustomMessage(), appendLocalTip().
|
|
36
|
-
|
|
37
|
-
4. **Gift Gifting** (gift): Gift List, Send Gift, Full-screen Gift Animation (Required), and Barrage Gift Messages (Optional).
|
|
38
|
-
- Core APIs: GiftStore.refreshUsableGifts(), sendGift(), addGiftListener().
|
|
39
|
-
|
|
40
|
-
[SUPPORTED PLATFORMS]: Android, iOS, Flutter, React Native (returns documentation based on 'platform' parameter).
|
|
41
|
-
|
|
42
|
-
[CONSTRAINTS]:
|
|
43
|
-
1. **Platform Selection Constraint**: If the platform is not specified, you MUST call 'present_framework_choice' first.
|
|
44
|
-
2. **MUST Check API Docs for Field Names**: DO NOT guess field names; visit provided documentation links.
|
|
45
|
-
3. **Parameter Range Constraints**:
|
|
46
|
-
- Beauty Intensity: 0-9 (Float). UI controls usually 0-100; MUST map to 0-9.
|
|
47
|
-
- Volume Parameters: Capture Volume 0-150 (Int), Ear Monitor Volume 0-100 (Int).
|
|
48
|
-
4. **Singleton Reset Constraint**: AudioEffectStore, DeviceStore, and BaseBeautyStore are singletons. Call reset() when the live session ends.
|
|
49
|
-
5. **Audio API Constraints (Strictly Follow)**:
|
|
50
|
-
- AudioChangerType values: NONE, CHILD, LITTLE_GIRL, MAN, COLD, ETHEREAL, FATSO, FOREIGNER, HEAVY_MACHINERY, HEAVY_METAL, STRONG_CURRENT, TRAPPED_BEAST.
|
|
51
|
-
- AudioReverbType values: NONE, KTV, SMALL_ROOM, AUDITORIUM, DEEP, LOUD, METALLIC, MAGNETIC.
|
|
52
|
-
6. **🎯 Gift and Barrage Linkage Logic (Strictly Execute)**:
|
|
53
|
-
- **Scenario A: goals=['gift'] (No Barrage)**
|
|
54
|
-
- Implement: Gift panel, sending logic, and **Full-screen Gift Animation**.
|
|
55
|
-
- **DO NOT** implement gift messages in the barrage area.
|
|
56
|
-
- **Scenario B: goals=['barrage', 'gift'] (With Barrage)**
|
|
57
|
-
- Implement: Gift panel, sending logic, and **Full-screen Gift Animation**.
|
|
58
|
-
- **MUST** implement **Gift Text Messages** in the barrage list (e.g., "XXX sent YYY").
|
|
59
|
-
- **Scenario C: Existing project has Barrage, only requesting goals=['gift']**
|
|
60
|
-
- Agent should detect existing barrage module and execute as Scenario B.
|
|
61
|
-
7. **UI Layout Constraints**:
|
|
62
|
-
- **Full-screen Gift**: MUST overlay on top of the video (e.g., top-level FrameLayout).
|
|
63
|
-
- **Barrage List**: MUST overlay on top of the video; DO NOT use split-screen layouts.
|
|
64
|
-
- **Keyboard Adaptation**: Video view MUST remain fixed when keyboard pops up (e.g., windowSoftInputMode="adjustNothing").
|
|
65
|
-
- **Dual-end Consistency**: Full-screen gift animations MUST be displayed on both host and audience sides.
|
|
66
|
-
8. **Result Recording Constraint**: Call 'record_result' after successful integration.
|
|
67
|
-
`;
|
|
68
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
69
|
-
platform: `[REQUIRED] Target platform: 'android', 'ios', 'flutter', 'rn'.
|
|
70
|
-
- MUST prompt the user to choose if not specified.
|
|
71
|
-
- The tool returns documentation and code examples based on this parameter.`,
|
|
72
|
-
goals: `List of extra features: ['base_beauty', 'audio_effect', 'barrage', 'gift'].
|
|
73
|
-
- 'base_beauty': Base beauty (Smoothing, Whitening, Rosy 0-9).
|
|
74
|
-
- 'audio_effect': Audio effects (Volume, Ear monitoring, Voice changer, Reverb).
|
|
75
|
-
- 'barrage': Barrage interaction (Send, Receive, Mute).
|
|
76
|
-
- 'gift': Gifting.
|
|
77
|
-
* If only 'gift': Integration of sending/receiving + Full-screen animations.
|
|
78
|
-
* If 'gift' and 'barrage': Integration of sending/receiving + Full-screen animations + Barrage gift messages.
|
|
79
|
-
|
|
80
|
-
💡 Can be combined, e.g., ['base_beauty', 'audio_effect', 'barrage', 'gift'] for a complete scenario.`
|
|
81
|
-
};
|
|
82
|
-
export const GET_NATIVE_LIVE_UIKIT_EXTRA_FEATURES_DEFINITION = {
|
|
83
|
-
name: 'get_native_live_uikit_extra_features',
|
|
84
|
-
description: TOOL_DESCRIPTION,
|
|
85
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
86
|
-
};
|
|
87
|
-
//# sourceMappingURL=get_native_live_uikit_extra_features_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_native_live_uikit_extra_features_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_live_uikit_extra_features_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkExB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE;;8EAEkE;IAC5E,KAAK,EAAE;;;;;;;;wGAQ+F;CACvG,CAAC;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG;IAC7D,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[TOOL DEFINITION]:
|
|
3
|
-
Mobile **Video Live / Voice Chat Room** basic feature integrator. Designed to provide Agent with workflow instructions and real-time aggregated documentation for implementing basic broadcasting/viewing/list features on Android/iOS/Flutter/uni-app platforms.
|
|
4
|
-
|
|
5
|
-
[KEYWORDS]: 'AtomicXCore', 'LiveKit', 'Video Live', 'Voice Chat Room', 'Broadcasting', 'Viewing', 'Room List'.
|
|
6
|
-
|
|
7
|
-
[WORKFLOW GUIDANCE]:
|
|
8
|
-
When handling user requirements, Agent should use the 'llm_code_generation_instructions_md' field returned by this tool. This field contains:
|
|
9
|
-
1. Core workflow instructions (from workflow.md, including closed-loop flow for calling get_usersig tool to auto-generate test credentials and inject into code).
|
|
10
|
-
2. Latest, real-time fetched official documentation content corresponding to user's required features (Goals).
|
|
11
|
-
|
|
12
|
-
LLM MUST prioritize and exclusively use the real-time documentation content returned by this tool for code generation, avoiding direct access to external URLs.
|
|
13
|
-
|
|
14
|
-
[FUNCTIONAL SCOPE]:
|
|
15
|
-
Designed for building Native live streaming/voice chat room products, including:
|
|
16
|
-
1. **Authentication**: SDK initialization and LoginStore login/authentication.
|
|
17
|
-
2. **Host/Room Owner Broadcasting**: Create room and start streaming.
|
|
18
|
-
3. **Audience/Listener Viewing**: Join room and start playback.
|
|
19
|
-
4. **Room List**: Fetch room list, display room info, click to navigate.
|
|
20
|
-
|
|
21
|
-
[SUPPORTED SCENARIOS & PLATFORMS]:
|
|
22
|
-
- **Video Live (live) / Voice Chat Room (voice)**: Android, iOS, Flutter, uni-app
|
|
23
|
-
|
|
24
|
-
[TYPICAL USE CASES (Few-Shot Examples)]:
|
|
25
|
-
LLM should learn the following mapping between user instructions and parameters:
|
|
26
|
-
|
|
27
|
-
1. **Explicit Scenario & Platform**:
|
|
28
|
-
- User: "Use AtomicXCore to implement video live host broadcasting on Android"
|
|
29
|
-
- Call: scenario='live', platform='android', goals=['host_streaming']
|
|
30
|
-
|
|
31
|
-
- User: "Use AtomicXCore to implement voice chat room audience viewing on iOS"
|
|
32
|
-
- Call: scenario='voice', platform='ios', goals=['audience_streaming']
|
|
33
|
-
|
|
34
|
-
- User: "Use AtomicXCore to implement video live list on Flutter"
|
|
35
|
-
- Call: scenario='live', platform='flutter', goals=['live_list']
|
|
36
|
-
|
|
37
|
-
- User: "Use AtomicXCore to implement voice chat room features on uni-app"
|
|
38
|
-
- Call: scenario='voice', platform='uni-app', goals=['host_streaming', 'audience_streaming', 'live_list']
|
|
39
|
-
|
|
40
|
-
2. **Multi-Feature Combination**:
|
|
41
|
-
- User: "Implement complete video live features on Android (broadcasting + viewing + list)"
|
|
42
|
-
- Call: scenario='live', platform='android', goals=['host_streaming', 'audience_streaming', 'live_list']
|
|
43
|
-
|
|
44
|
-
3. **Exception Interception (Missing Platform)**:
|
|
45
|
-
- User: "Use AtomicXCore to implement live streaming features"
|
|
46
|
-
- Action: ❌ No guessing allowed, **MUST call 'present_framework_choice' first** to let user select platform.
|
|
47
|
-
|
|
48
|
-
4. **Exception Interception (Missing Scenario)**:
|
|
49
|
-
- User: "Use AtomicXCore to implement host broadcasting", "Implement room list features"
|
|
50
|
-
- Action: ❌ No guessing allowed, **MUST call 'present_scenario_choice' first** to let user select scenario (Video Live / Voice Chat Room).
|
|
51
|
-
|
|
52
|
-
[WORKFLOW MECHANISM]:
|
|
53
|
-
This tool returns 'llm_code_generation_instructions_md'. You MUST strictly write code based on the returned Context and check API links at the bottom of documentation to confirm field names (guessing is prohibited).
|
|
54
|
-
`;
|
|
55
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
56
|
-
scenario: `[REQUIRED] Scenario type.
|
|
57
|
-
- 'live': Video Live (keywords: live streaming, show live, video, e-commerce live).
|
|
58
|
-
- 'voice': Voice Chat Room (keywords: voice chat, voice room, radio, audio room).
|
|
59
|
-
*Strategy: If user does not specify explicitly, **default values are strictly prohibited**, MUST call 'present_scenario_choice' first.`,
|
|
60
|
-
platform: `[REQUIRED] Development platform.
|
|
61
|
-
- Video Live (live) supports: 'android', 'ios', 'flutter', 'uni-app'
|
|
62
|
-
- Voice Chat Room (voice) supports: 'android', 'ios', 'flutter', 'uni-app'
|
|
63
|
-
*Strategy: If user does not specify explicitly, **default values are strictly prohibited**, MUST call 'present_framework_choice' first.`,
|
|
64
|
-
goals: `[REQUIRED] Feature module list (Array):
|
|
65
|
-
- 'host_streaming': Host/Room owner broadcasting (includes authentication, create room, start streaming).
|
|
66
|
-
- 'audience_streaming': Audience/Listener viewing (includes authentication, join room, start playback).
|
|
67
|
-
- 'live_list': Room list feature (fetch room list, display room info, click to navigate).
|
|
68
|
-
*Strategy: Multiple selections allowed, e.g., ['host_streaming', 'audience_streaming', 'live_list'] for complete scenario.`
|
|
69
|
-
};
|
|
70
|
-
export const GET_NATIVE_LIVE_UIKIT_INTEGRATION_DEFINITION = {
|
|
71
|
-
name: 'get_native_live_uikit_integration',
|
|
72
|
-
description: TOOL_DESCRIPTION,
|
|
73
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=get_native_live_uikit_integration_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_native_live_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_live_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE;;;yIAG6H;IAEvI,QAAQ,EAAE;;;0IAG8H;IAExI,KAAK,EAAE;;;;6HAIoH;CAC5H,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[TOOL DEFINITION]:
|
|
3
|
-
Mobile **Video Live / Voice Chat Room** advanced interaction feature integrator. Designed for adding co-guesting, PK, audience management and other interactive features on top of Android/iOS/Flutter/uni-app projects that already have basic streaming capabilities.
|
|
4
|
-
|
|
5
|
-
[⚠️ CRITICAL DEPENDENCY CHAIN]:
|
|
6
|
-
1. **Non-Empty Project Principle**: Strictly prohibited to run directly in an empty project!
|
|
7
|
-
- Must confirm project already includes basic features (i.e., 'get_native_live_uikit_integration' has been successfully executed).
|
|
8
|
-
- If not included, **MUST call 'get_native_live_uikit_integration' first** to build the foundation.
|
|
9
|
-
2. **Credential Closure**: After code generation, must automatically execute 'get_usersig' to generate test credentials.
|
|
10
|
-
|
|
11
|
-
[TYPICAL USE CASES (Few-Shot Examples)]:
|
|
12
|
-
LLM should learn the following mapping between user instructions and parameters:
|
|
13
|
-
|
|
14
|
-
1. **Explicit Scenario & Platform**:
|
|
15
|
-
- User: "Use AtomicXCore to implement video live co-guesting on Android"
|
|
16
|
-
- Call: scenario='live', platform='android', goals=['co_guest_interaction']
|
|
17
|
-
|
|
18
|
-
- User: "Use AtomicXCore to implement video live host cross-room connection and PK on iOS"
|
|
19
|
-
- Call: scenario='live', platform='ios', goals=['co_host_interaction']
|
|
20
|
-
|
|
21
|
-
- User: "Use AtomicXCore to implement voice chat room host cross-room connection and PK on iOS"
|
|
22
|
-
- Call: scenario='voice', platform='ios', goals=['co_host_interaction']
|
|
23
|
-
|
|
24
|
-
- User: "Use AtomicXCore to implement voice chat room audience list management on Flutter"
|
|
25
|
-
- Call: scenario='voice', platform='flutter', goals=['audience_list']
|
|
26
|
-
|
|
27
|
-
- User: "Use AtomicXCore to implement voice chat room seat features on uni-app"
|
|
28
|
-
- Call: scenario='voice', platform='uni-app', goals=['co_guest_interaction']
|
|
29
|
-
|
|
30
|
-
2. **Multi-Feature Combination**:
|
|
31
|
-
- User: "Implement both co-guesting and audience list in Android live room"
|
|
32
|
-
- Call: scenario='live', platform='android', goals=['co_guest_interaction', 'audience_list']
|
|
33
|
-
|
|
34
|
-
3. **Exception Interception (Missing Platform)**:
|
|
35
|
-
- User: "Use AtomicXCore to implement voice chat room interaction features"
|
|
36
|
-
- Action: ❌ No guessing allowed, **MUST call 'present_framework_choice' first** to let user select platform.
|
|
37
|
-
|
|
38
|
-
4. **Exception Interception (Missing Scenario)**:
|
|
39
|
-
- User: "Use AtomicXCore to implement host connection and PK features", "Implement host broadcasting features"
|
|
40
|
-
- Action: ❌ No guessing allowed, **MUST call 'present_scenario_choice' first** to let user select scenario (Video Live / Voice Chat Room).
|
|
41
|
-
|
|
42
|
-
[WORKFLOW MECHANISM]:
|
|
43
|
-
This tool returns 'llm_code_generation_instructions_md'. You MUST strictly write code based on the returned Context and check API links at the bottom of documentation to confirm field names (guessing is prohibited).
|
|
44
|
-
`;
|
|
45
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
46
|
-
scenario: `[REQUIRED] Scenario type.
|
|
47
|
-
- 'live': Video Live (keywords: live streaming, show live, video, e-commerce live).
|
|
48
|
-
- 'voice': Voice Chat Room (keywords: voice chat, voice room, radio, audio room).
|
|
49
|
-
*Strategy: If user does not specify explicitly, **default values are strictly prohibited**, MUST call 'present_scenario_choice' first.`,
|
|
50
|
-
platform: `[REQUIRED] Development platform (android/ios/flutter/uni-app).
|
|
51
|
-
*Strategy: If user does not specify explicitly, **default values are strictly prohibited**, MUST call 'present_framework_choice' first.`,
|
|
52
|
-
goals: `[REQUIRED] Feature module list (Array):
|
|
53
|
-
- 'co_guest_interaction': Co-guesting/Seat management (includes apply, invite, leave seat).
|
|
54
|
-
- 'co_host_interaction': Host/Room owner cross-room connection, PK battle (⚠️ Flutter/uni-app not supported in Voice scenario).
|
|
55
|
-
- 'audience_list': Member list, count statistics, administrator permissions.
|
|
56
|
-
*Strategy: Multiple selections allowed, e.g., ['co_guest_interaction', 'audience_list'].`
|
|
57
|
-
};
|
|
58
|
-
export const GET_NATIVE_LIVE_UIKIT_INTERACTION_DEFINITION = {
|
|
59
|
-
name: 'get_native_live_uikit_interaction',
|
|
60
|
-
description: TOOL_DESCRIPTION,
|
|
61
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
62
|
-
};
|
|
63
|
-
//# sourceMappingURL=get_native_live_uikit_interaction_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_native_live_uikit_interaction_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_live_uikit_interaction_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE;;;yIAG6H;IAEvI,QAAQ,EAAE;0IAC8H;IAExI,KAAK,EAAE;;;;2FAIkF;CAC1F,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `The Real-Time Audio & Video (TRTC SDK) primarily offers two solutions: low-latency interactive live streaming and multi-person audio & video. It supports low-latency live streaming viewing, real-time recording, screen sharing, beauty effects, stereo sound, and seamless integration with live streaming CDNs. It is suitable for various business scenarios such as interactive live streaming, cross-room PK, voice radio, karaoke, small group classes, large group classes, voice chat, video chat, and online conferencing. This article will briefly describe the business scenarios that the low-latency interactive live streaming and multi-person audio & video solutions can address.\n
|
|
2
|
-
|
|
3
|
-
[KEYWORDS]: 'TRTC', '实时音视频', '互动直播', '多人音视频'。\n
|
|
4
|
-
|
|
5
|
-
[SUPPORTED FRAMEWORKS]: Currently only supports the Android、iOS and C++ frameworks.
|
|
6
|
-
`;
|
|
7
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
8
|
-
framework: 'For the TRTC SDK platform type. You first need to choose which platform to use to create your chat application. Currently supported frameworks are: Flutter, Android、iOS and C++.',
|
|
9
|
-
componentName: 'TRTC SDK.'
|
|
10
|
-
};
|
|
11
|
-
export const GET_TRTC_NATIVE_API_DEFINITION = {
|
|
12
|
-
name: 'get_trtc_native_api',
|
|
13
|
-
description: TOOL_DESCRIPTION,
|
|
14
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=get_trtc_native_api_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_trtc_native_api_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_trtc_native_api_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;CAKxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,mLAAmL;IAC9L,aAAa,EAAE,WAAW;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[CORE FUNCTION]: Specialized for querying Web TUICallKit Component APIs, providing API documentation for CallKit components and solutions for customizing UI interfaces.\n
|
|
3
|
-
|
|
4
|
-
[KEYWORDS]: CallKit, TUICallKit, Web, API, Custom UI, Component, React, Vue, Set Avatar, Ringtone.\n
|
|
5
|
-
|
|
6
|
-
[SCOPE]:\n
|
|
7
|
-
1. API Query: Retrieves detailed API information for all components, including setting avatar/nickname, custom ringtones, floating window, virtual background, call interface layout, and default camera behavior.\n
|
|
8
|
-
2. UI Customization: Provides guidance to users on CallKit UI customization, re-rendering, and style modification.\n
|
|
9
|
-
|
|
10
|
-
[SUPPORTED FRAMEWORKS]: React and Vue.\n
|
|
11
|
-
|
|
12
|
-
[MANDATORY CONSTRAINTS]:\n
|
|
13
|
-
1. Framework Selection Constraint: If the user has not explicitly specified the React or Vue framework in the prompt, the tool MUST prioritize calling 'present_framework_choice' to guide the user to make a selection.
|
|
14
|
-
`;
|
|
15
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
16
|
-
framework: 'The Web Call TUIKit framework type. Options: react, vue. Used to determine which framework\'s component API documentation to query.',
|
|
17
|
-
};
|
|
18
|
-
export const GET_WEB_CALLKIT_API_DEFINITION = {
|
|
19
|
-
name: 'get_web_call_uikit_api',
|
|
20
|
-
description: TOOL_DESCRIPTION,
|
|
21
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=get_web_call_uikit_api_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_web_call_uikit_api_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_call_uikit_api_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;CAaxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,qIAAqI;CACjJ,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[CORE FUNCTION]: This is a Web Chat TUIKit Login and Initialization Tool, specialized in providing documentation and code examples for the component library's login authentication and SDK initialization process.\n
|
|
3
|
-
|
|
4
|
-
[FUNCTION]:\n
|
|
5
|
-
1. Login Logic: Provides the implementation solution for the Chat TUIKit component's required login (including user authentication and UserSig).\n
|
|
6
|
-
2. Initialization: Provides documentation for the configuration and initialization of the SDK and TUIKit components.\n
|
|
7
|
-
|
|
8
|
-
[KEYWORDS]: 'Login', 'Initialization', 'Init', 'Authentication', 'UserSig', 'TUIKit', 'React', 'Vue', 'SDK'.\n
|
|
9
|
-
|
|
10
|
-
[SUPPORTED FRAMEWORKS]: React and Vue.\n
|
|
11
|
-
|
|
12
|
-
[MANDATORY CONSTRAINTS]:\n
|
|
13
|
-
1. Framework Selection Constraint: If the user has not explicitly specified the React or Vue framework in the prompt, the tool MUST prioritize calling 'present_framework_choice' to guide the user to make a selection.
|
|
14
|
-
`;
|
|
15
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
16
|
-
framework: 'The framework type of the Web Chat UIKit component library. Options: react, vue. Used to determine which framework\'s login and initialization documentation to query.',
|
|
17
|
-
};
|
|
18
|
-
export const GET_WEB_CHAT_UIKIT_INIT_DEFINITION = {
|
|
19
|
-
name: 'get_web_chat_uikit_init',
|
|
20
|
-
description: TOOL_DESCRIPTION,
|
|
21
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=get_web_chat_uikit_init_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_web_chat_uikit_init_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_chat_uikit_init_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;CAaxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,wKAAwK;CACpL,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[CORE FUNCTION]: This is a Web Group Creation Tool, specialized in providing sample code and documentation for creating group chats.\n
|
|
3
|
-
|
|
4
|
-
[FUNCTION]: After calling this tool, users can automatically create a test group based on the provided documentation and sample code for functional testing.\n
|
|
5
|
-
|
|
6
|
-
[KEYWORDS]: 'Create Group', 'Group Chat', 'Sample Code', 'Test Group', 'Auto Create', 'React', 'Vue', 'Chat UIKit'.\n
|
|
7
|
-
|
|
8
|
-
[SUPPORTED FRAMEWORKS]: React and Vue.
|
|
9
|
-
`;
|
|
10
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
11
|
-
framework: 'The Web framework type supported by the Chat UIKit group creation API. Options: react, vue.',
|
|
12
|
-
};
|
|
13
|
-
export const GET_WEB_CREATE_GROUP_DOC_DEFINITION = {
|
|
14
|
-
name: 'get_web_create_group_doc',
|
|
15
|
-
description: TOOL_DESCRIPTION,
|
|
16
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=get_web_create_group_doc_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_web_create_group_doc_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_create_group_doc_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;CAQxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,6FAA6F;CACzG,CAAC;AAGF,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
[CORE FUNCTION]: Specialized for querying the Web Live TUIKit State API, providing detailed usage instructions and sample code for the State API within Web Live TUIKit components.\n
|
|
3
|
-
|
|
4
|
-
[FUNCTION]: Provides usage instructions and examples for TUIKit component state management (State API).\n
|
|
5
|
-
|
|
6
|
-
[KEYWORDS]: 'Web', 'Live', 'TUIKit', 'State API', 'State Management', 'Vue', 'live-state'.\n
|
|
7
|
-
|
|
8
|
-
[SUPPORTED FRAMEWORKS]: Currently only supports the Vue framework.
|
|
9
|
-
`;
|
|
10
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
11
|
-
framework: 'The framework type supported by the Web Live TUIKit State API. Currently only supports Vue.',
|
|
12
|
-
componentName: 'The specific State name of the Web Live TUIKit component, e.g., live-state.'
|
|
13
|
-
};
|
|
14
|
-
export const GET_WEB_LIVE_STATE_DETAIL_DEFINITION = {
|
|
15
|
-
name: 'get_web_live_state_detail',
|
|
16
|
-
description: TOOL_DESCRIPTION,
|
|
17
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=get_web_live_state_detail_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_web_live_state_detail_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_live_state_detail_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;CAQxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,6FAA6F;IACxG,aAAa,EAAE,6EAA6E;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const TOOL_DESCRIPTION = `
|
|
2
|
-
【CORE PURPOSE】Dedicated to querying detailed information about individual Web TUILiveKit components, providing comprehensive descriptions, usage guides, and example code for components within the Web TUILiveKit ecosystem.
|
|
3
|
-
|
|
4
|
-
【FUNCTIONAL SCOPE】:
|
|
5
|
-
1. Scenario Support: Specifically designed for building Web live streaming applications.
|
|
6
|
-
2. Component List Details:
|
|
7
|
-
- Live Video Component (LiveView)
|
|
8
|
-
- Audience List Component (LiveAudienceList)
|
|
9
|
-
- Barrage/Chat Component (Barrage)
|
|
10
|
-
- Co-Guest Management Panel Component (CoGuestPanel)
|
|
11
|
-
- Media Resource Configuration Panel Component (LiveScenePanel)
|
|
12
|
-
- Video Source Editing Panel Component (StreamMixer)
|
|
13
|
-
|
|
14
|
-
【KEYWORDS】:'vue live components', 'co-guest management','LiveKit', 'TUILiveKit', 'component details', 'Vue', 'live video', 'barrage component'.
|
|
15
|
-
|
|
16
|
-
【SUPPORTED FRAMEWORK】:Currently supports only the Vue framework.
|
|
17
|
-
`;
|
|
18
|
-
const PARAMETER_DESCRIPTIONS = {
|
|
19
|
-
framework: 'The framework type supported by the Web Live UIKit component details query. Currently, only Vue is supported.',
|
|
20
|
-
componentName: 'The specific name of the Web Live UIKit component, e.g., live-view (Live Video Component).'
|
|
21
|
-
};
|
|
22
|
-
export const GET_WEB_LIVE_UIKIT_COMPONENT_DETAIL_DEFINITION = {
|
|
23
|
-
name: 'get_web_live_uikit_component_detail',
|
|
24
|
-
description: TOOL_DESCRIPTION,
|
|
25
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=get_web_live_uikit_component_detail_def.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_web_live_uikit_component_detail_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_live_uikit_component_detail_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,+GAA+G;IAC1H,aAAa,EAAE,4FAA4F;CAC5G,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC5D,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|