@tencentcloud/sdk-mcp 1.3.9 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
- package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
- package/resource/doc/{tuicallkit/vue/faq.md → callkit/faq/web-faq.md} +78 -311
- package/resource/doc/callkit/preset/android/api.md +330 -0
- package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +63 -420
- package/resource/doc/callkit/preset/flutter/api.md +401 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
- package/resource/doc/callkit/preset/ios/api.md +282 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
- package/resource/doc/callkit/preset/react/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
- package/resource/doc/callkit/preset/vue/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/android/integration.md +30 -126
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
- package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
- 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 +116 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
- package/resource/doc/chatkit/react/components/search.md +282 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
- package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
- 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 -316
- 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 +1 -23
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
- package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
- 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 +26 -139
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
- 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 +91 -338
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
- 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 +160 -543
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +17 -88
- 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 +26 -139
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +53 -262
- 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 +60 -272
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +63 -440
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +23 -151
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audience-list.md +13 -91
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audio-effect.md +34 -177
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-barrage.md +18 -102
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -201
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-gift.md +66 -460
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +57 -419
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-room-list.md +24 -157
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +23 -96
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +33 -195
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +35 -150
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +45 -254
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +77 -457
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +52 -261
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +36 -167
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audience-list.md +15 -45
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audio-effect.md +23 -137
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-barrage.md +25 -131
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-co-guest-interaction.md +70 -366
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-gift.md +70 -424
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
- package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-room-list.md +24 -116
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
- 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 +9 -48
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
- package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
- package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
- package/resource/doc/roomkit/android/features/room-state.md +358 -0
- package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
- package/resource/doc/roomkit/android/integration.md +433 -0
- package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
- package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
- package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
- package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
- package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
- package/resource/doc/roomkit/flutter/integration.md +405 -0
- package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
- package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
- package/resource/doc/roomkit/ios/features/room-state.md +320 -0
- package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
- package/resource/doc/roomkit/ios/integration.md +384 -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 -36
- package/resource/doc/roomkit/vue/features/room-view.md +30 -127
- 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 -34
- package/resource/doc/roomkit/vue/integration.md +21 -80
- package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
- package/resource/doc/rtcengine/faq/web/web.md +15 -22
- package/resource/doc/rtcengine/web/api.md +17 -21
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
- package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
- package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
- 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 -4
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
- package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
- package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
- package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
- package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
- package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
- package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
- 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 +115 -900
- package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
- 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/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +28 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +18 -19
- 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 +33 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +33 -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 -24
- 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 +13 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +27 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +13 -46
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +23 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -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 +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/doc/chatuikit/android/workflow.md +0 -713
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/flutter/workflow.md +0 -816
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
- package/resource/doc/chatuikit/react/components/search.md +0 -885
- package/resource/doc/chatuikit/react/create-group.md +0 -22
- package/resource/doc/chatuikit/react/init.md +0 -25
- package/resource/doc/chatuikit/react/workflow.md +0 -254
- package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
- package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
- package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
- package/resource/doc/chatuikit/vue/create-group.md +0 -26
- package/resource/doc/chatuikit/vue/init.md +0 -35
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -322
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -352
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
- package/resource/doc/livekit/live/vue/workflow.md +0 -219
- package/resource/doc/livekit/voice/android/workflow.md +0 -333
- package/resource/doc/livekit/voice/flutter/workflow.md +0 -359
- package/resource/doc/livekit/voice/ios/voice-integration.md +0 -853
- package/resource/doc/livekit/voice/ios/workflow.md +0 -358
- package/resource/doc/livekit/voice/uni-app/voice-integration.md +0 -613
- package/resource/doc/livekit/voice/uni-app/workflow.md +0 -369
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
- 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 -879
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
- 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 -432
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1512
- package/resource/doc/tuicallkit/react/faq.md +0 -986
- package/resource/doc/tuicallkit/vue/api.md +0 -1512
- 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 -22
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
- 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 -17
- 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/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/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { PRESENT_FRAMEWORK_CHOICE_DEFINITION } from '../definitions/present_framework_choice_def.js';
|
|
3
|
+
const PRODUCT_OPTIONS_MAP = {
|
|
4
|
+
chat: {
|
|
5
|
+
title: 'Chat 聊天支持的平台或框架',
|
|
6
|
+
options: ['react', 'vue', 'flutter', 'android', 'ios'],
|
|
7
|
+
},
|
|
8
|
+
call: {
|
|
9
|
+
title: 'Call 音视频通话支持的平台或框架',
|
|
10
|
+
options: ['react', 'vue', 'flutter', 'android', 'ios'],
|
|
11
|
+
},
|
|
12
|
+
live: {
|
|
13
|
+
title: 'Live 直播互动支持的平台或框架',
|
|
14
|
+
options: ['vue', 'flutter', 'android', 'ios', 'uni-app'],
|
|
15
|
+
},
|
|
16
|
+
room: {
|
|
17
|
+
title: 'Room 视频会议支持的平台或框架',
|
|
18
|
+
options: ['vue'],
|
|
19
|
+
},
|
|
20
|
+
rtcengine: {
|
|
21
|
+
title: 'WebRTC / rtcEngine 支持的平台或框架',
|
|
22
|
+
options: ['web'],
|
|
23
|
+
},
|
|
24
|
+
native_trtc_sdk: {
|
|
25
|
+
title: 'Native TRTC SDK 支持的平台或框架',
|
|
26
|
+
options: ['android', 'ios', 'c++'],
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
function buildSelectionText(product, selectionText) {
|
|
30
|
+
const config = PRODUCT_OPTIONS_MAP[product];
|
|
31
|
+
if (!config) {
|
|
32
|
+
return selectionText;
|
|
33
|
+
}
|
|
34
|
+
const options = config.options.map((option) => `- '${option}'`).join('\n');
|
|
35
|
+
return `${selectionText}
|
|
36
|
+
|
|
37
|
+
请先让用户选择以下平台或框架:
|
|
38
|
+
|
|
39
|
+
${config.title}:
|
|
40
|
+
${options}
|
|
41
|
+
|
|
42
|
+
请等待用户回复具体平台后,再调用对应的集成工具或查询工具。`;
|
|
43
|
+
}
|
|
44
|
+
const registryPresentFrameworkChoiceTool = (mcpServer) => {
|
|
45
|
+
const { name, description, selectionText, parameter_descriptions } = PRESENT_FRAMEWORK_CHOICE_DEFINITION;
|
|
46
|
+
mcpServer.registerTool(name, {
|
|
47
|
+
description,
|
|
48
|
+
inputSchema: {
|
|
49
|
+
product: z.enum(['chat', 'call', 'live', 'room', 'rtcengine', 'native_trtc_sdk']).describe(parameter_descriptions.product),
|
|
50
|
+
},
|
|
51
|
+
}, ({ product }) => {
|
|
52
|
+
return {
|
|
53
|
+
content: [
|
|
54
|
+
{
|
|
55
|
+
type: 'text',
|
|
56
|
+
text: buildSelectionText(product, selectionText),
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
export { registryPresentFrameworkChoiceTool };
|
|
63
|
+
//# sourceMappingURL=present_framework_choice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"present_framework_choice.js","sourceRoot":"","sources":["../../../src/tools/common/present_framework_choice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,MAAM,gDAAgD,CAAC;AAErG,MAAM,mBAAmB,GAAyD;IAChF,IAAI,EAAE;QACJ,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC;KACvD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,oBAAoB;QAC3B,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC;KACvD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC;KACzD;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,CAAC,KAAK,CAAC;KACjB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,6BAA6B;QACpC,OAAO,EAAE,CAAC,KAAK,CAAC;KACjB;IACD,eAAe,EAAE;QACf,KAAK,EAAE,0BAA0B;QACjC,OAAO,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC;KACnC;CACF,CAAC;AAEF,SAAS,kBAAkB,CAAC,OAAe,EAAE,aAAqB;IAChE,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE5C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAE3E,OAAO,GAAG,aAAa;;;;EAIvB,MAAM,CAAC,KAAK;EACZ,OAAO;;8BAEqB,CAAC;AAC/B,CAAC;AAED,MAAM,kCAAkC,GAAG,CAAC,SAAoB,EAAE,EAAE;IAClE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,sBAAsB,EAAE,GAAG,mCAAmC,CAAC;IACzG,SAAS,CAAC,YAAY,CACpB,IAAI,EACJ;QACC,WAAW;QACV,WAAW,EAAE;YACX,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,OAAO,CAAC;SAC3H;KACF,EACD,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACd,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,kBAAkB,CAAC,OAAO,EAAE,aAAa,CAAC;iBACjD;aACF;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const TOOL_DESCRIPTION = `
|
|
2
|
+
用途:
|
|
3
|
+
返回跨平台 CallKit 含 UI API 文档,适合在已明确平台后查询单功能能力对应的 API、方法、参数、回调和配置方式。
|
|
4
|
+
|
|
5
|
+
典型适用问题:
|
|
6
|
+
CallKit API, TUICallKit API, React, Vue, Android, iOS, Flutter, 含 UI API, 单功能查询, 某个能力用哪个 API, 方法名是什么, 最新接口是什么, 参数怎么传, 回调怎么监听, 某个功能怎么设置, 某个功能怎么配置, 自定义 UI, 方法用法, 事件回调, calls, join, setSelfInfo
|
|
7
|
+
|
|
8
|
+
输入:
|
|
9
|
+
- framework: react | vue | android | ios | flutter
|
|
10
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
11
|
+
|
|
12
|
+
返回:
|
|
13
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
14
|
+
|
|
15
|
+
边界:
|
|
16
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
17
|
+
- 面向 CallKit preset 线路下的已明确平台的单功能/API 查询,不负责整体集成主路径或交互式平台选择
|
|
18
|
+
`;
|
|
19
|
+
const PARAMETER_DESCRIPTIONS = {
|
|
20
|
+
framework: '目标平台或框架。参数名固定为 framework。可选值:react | vue | android | ios | flutter。',
|
|
21
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
22
|
+
};
|
|
23
|
+
export const GET_CALLKIT_API_DEFINITION = {
|
|
24
|
+
name: 'get_callkit_api',
|
|
25
|
+
description: TOOL_DESCRIPTION,
|
|
26
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=get_callkit_api_def.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_callkit_api_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_callkit_api_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,qEAAqE;IAChF,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
2
|
+
用途:
|
|
3
|
+
返回 Tencent RTC FAQ 检索结果,适合查询常见问题、错误定位、鉴权说明、控制台配置和排障信息。
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
2. 音视频通话应用 (Call):涵盖移动端 (Native)、Web 端 (React/Vue) 等平台搭建的音视频通话应用解决方案。
|
|
7
|
-
3. 实时音视频 (TRTC):涵盖 rtc/webrtc 相关平台的常见问题解答、如何部署用户鉴权服务、以及获取 userSig 的算法细节等。
|
|
5
|
+
典型适用问题:
|
|
6
|
+
FAQ, 常见问题, 错误码, 排障, 鉴权失败, userSig 怎么生成, userSig 原理, userSig 签发流程, 服务端鉴权, 控制台配置, 计费, chat faq, call faq, live faq, room faq, rtcengine faq, native trtc sdk faq, react faq, vue faq, web faq, android faq, ios faq, flutter faq, c++ faq
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
8
|
+
输入:
|
|
9
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
10
|
+
- product: chat | call | live | room | rtcengine | native_trtc_sdk
|
|
11
|
+
- framework: react | vue | web | flutter | android | ios | c++
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
返回:
|
|
14
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
【返回格式】: 返回包含原始 Markdown 内容、结构化 JSON 对象。
|
|
16
|
+
边界:
|
|
17
|
+
- 面向 FAQ、错误码、控制台、鉴权说明和排障信息,不返回主集成文档或组件/API 专题文档
|
|
18
|
+
- 当前定义已覆盖:chat | call | live | room | rtcengine | native_trtc_sdk
|
|
19
|
+
- 当前 framework 定义已覆盖:react | vue | web | flutter | android | ios | c++
|
|
21
20
|
`;
|
|
22
21
|
const PARAMETER_DESCRIPTIONS = {
|
|
23
|
-
|
|
24
|
-
product: '
|
|
25
|
-
framework: '
|
|
22
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
23
|
+
product: '目标产品。可选值:chat | call | live | room | rtcengine | native_trtc_sdk。',
|
|
24
|
+
framework: '目标平台或框架。参数名固定为 framework。可选值:react | vue | web | flutter | android | ios | c++。',
|
|
26
25
|
};
|
|
27
26
|
export const GET_FAQ_DEFINITION = {
|
|
28
27
|
name: 'get_faq',
|
|
29
28
|
description: TOOL_DESCRIPTION,
|
|
30
|
-
parameter_descriptions: PARAMETER_DESCRIPTIONS
|
|
29
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
31
30
|
};
|
|
32
31
|
//# sourceMappingURL=get_faq_def.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_faq_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_faq_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG
|
|
1
|
+
{"version":3,"file":"get_faq_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_faq_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;CAmBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,MAAM,EAAE,+BAA+B;IACvC,OAAO,EAAE,mEAAmE;IAC5E,SAAS,EAAE,iFAAiF;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,45 +1,26 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
2
|
+
用途:
|
|
3
|
+
返回 Native TUICallKit preset 集成文档,供 AI 完成移动端音视频通话接入与代码生成。
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- ✅ 正确调用:{"framework": "android"}
|
|
7
|
-
- ❌ 错误调用:{"platform": "android"}
|
|
5
|
+
典型适用问题:
|
|
6
|
+
Native Call UIKit, Native TUICallKit, TUICallKit, preset 集成, 音视频通话, 视频通话, 语音通话, Flutter, Android, iOS, 呼叫, 接听, 单人通话, 多人通话, 集成
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
输入:
|
|
9
|
+
- framework: flutter | android | ios
|
|
10
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
返回:
|
|
13
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
2. 实时文档内容:提供官方集成指南的最新内容。
|
|
19
|
-
|
|
20
|
-
LLM 必须优先且唯一使用本工具返回的实时内容生成代码,避免自行访问外部 URL。
|
|
21
|
-
|
|
22
|
-
【参数说明】:
|
|
23
|
-
- **framework** (必需): 目标开发平台。注意参数名是 "framework" 不是 "platform"
|
|
24
|
-
- "flutter": Flutter 跨平台开发
|
|
25
|
-
- "android": Android 原生开发
|
|
26
|
-
- "ios": iOS 原生开发
|
|
27
|
-
|
|
28
|
-
【调用示例】:
|
|
29
|
-
- Android 集成:{"framework": "android"}
|
|
30
|
-
- iOS 集成:{"framework": "ios"}
|
|
31
|
-
- Flutter 集成:{"framework": "flutter"}
|
|
32
|
-
|
|
33
|
-
【强制约束】:
|
|
34
|
-
1. 平台选择约束:参数名必须使用 "framework"(不是 platform)。如果用户未明确指定平台,或意图不清晰,必须优先调用 'present_framework_choice' 工具,引导用户在 flutter, android, ios 中进行选择。
|
|
35
|
-
2. 结果记录约束:在 TUICallKit 组件集成完成且项目启动成功后,必须调用 'record_result' 工具记录集成结果。
|
|
36
|
-
|
|
37
|
-
【支持平台】:flutter, android, ios。
|
|
15
|
+
边界:
|
|
16
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
17
|
+
- 面向 Native CallKit preset 整体集成,不负责平台选择,也不负责铃声、虚拟背景、头像昵称、悬浮窗等单功能/API 设置问题
|
|
38
18
|
`;
|
|
39
19
|
const PARAMETER_DESCRIPTIONS = {
|
|
40
|
-
framework: '
|
|
20
|
+
framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:flutter | android | ios。',
|
|
21
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
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,iEAAiE;IAC5E,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const TOOL_DESCRIPTION = `
|
|
2
|
+
用途:
|
|
3
|
+
返回 Native Chat UIKit 功能详情文档,适合查询单个功能的 API、用法和示例代码。
|
|
4
|
+
|
|
5
|
+
典型适用问题:
|
|
6
|
+
Native Chat UIKit, 功能详情, Android, iOS, Flutter, theme, 主题定制, 深色模式, UI 定制, TUITheme
|
|
7
|
+
|
|
8
|
+
输入:
|
|
9
|
+
- framework: android | ios | flutter
|
|
10
|
+
- featureName: theme
|
|
11
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
12
|
+
|
|
13
|
+
返回:
|
|
14
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
15
|
+
|
|
16
|
+
边界:
|
|
17
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
18
|
+
- 面向单个聊天功能与专题能力,不负责 Chat UIKit 完整集成主路径
|
|
19
|
+
- featureName 需要使用受支持的功能名
|
|
20
|
+
`;
|
|
21
|
+
const PARAMETER_DESCRIPTIONS = {
|
|
22
|
+
framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | flutter。',
|
|
23
|
+
featureName: '功能名。当前支持:theme(主题定制)。',
|
|
24
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
25
|
+
};
|
|
26
|
+
export const GET_NATIVE_CHAT_UIKIT_FEATURE_DETAIL_DEFINITION = {
|
|
27
|
+
name: 'get_native_chat_uikit_feature_detail',
|
|
28
|
+
description: TOOL_DESCRIPTION,
|
|
29
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=get_native_chat_uikit_feature_detail_def.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_native_chat_uikit_feature_detail_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_feature_detail_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;CAmBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,iEAAiE;IAC5E,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG;IAC7D,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,51 +1,26 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
2
|
+
用途:
|
|
3
|
+
返回 Native Chat UIKit 集成文档,供 AI 完成移动端 IM 应用接入或聊天窗口接入。
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- ✅ 正确调用:{"framework": "android", "goals": ["full-featured"]}
|
|
7
|
-
- ❌ 错误调用:{"platform": "android", "goals": ["full-featured"]}
|
|
8
|
-
\n
|
|
5
|
+
典型适用问题:
|
|
6
|
+
Native Chat UIKit, TUIKit, IM, 聊天, 会话列表, 聊天窗口, Flutter, Android, iOS, full-featured, chat-only, 客服, 问诊
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
输入:
|
|
9
|
+
- framework: flutter | android | ios
|
|
10
|
+
- goals: [full-featured] | [chat-only]
|
|
11
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
- "flutter": Flutter 跨平台开发
|
|
17
|
-
- "android": Android 原生开发
|
|
18
|
-
- "ios": iOS 原生开发
|
|
19
|
-
- **goals** (必需): 功能目标列表
|
|
20
|
-
- ["full-featured"]: 完整应用功能
|
|
21
|
-
- ["chat-only"]: 仅聊天窗口
|
|
13
|
+
返回:
|
|
14
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
22
15
|
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- Flutter 全功能:{"framework": "flutter", "goals": ["full-featured"]}
|
|
27
|
-
|
|
28
|
-
【关键词】:
|
|
29
|
-
'Native', '移动端', 'Chat', 'TUIKit', '聊天', '即时通信', '微信', '企微',
|
|
30
|
-
'framework=flutter', 'framework=android', 'framework=ios',
|
|
31
|
-
'集成', '客服', '医疗问诊', 'TabBar', '消息入口', '会话列表', '对话框'。
|
|
32
|
-
|
|
33
|
-
【行动指令与工作流引导】:\n
|
|
34
|
-
Agent 在处理用户需求时,应使用本工具返回的 llm_code_generation_instructions_md 字段。这个字段包含了:
|
|
35
|
-
1. 核心工作流指令:包含环境准备、依赖安装、初始化 SDK、鉴权 UserSig 以及组件的版本说明。
|
|
36
|
-
2. 实时文档内容:根据选择的 goals 动态返回对应的官方集成指南。
|
|
37
|
-
|
|
38
|
-
LLM 必须优先且唯一使用本工具返回的实时内容生成代码,避免自行访问外部 URL。\n
|
|
39
|
-
|
|
40
|
-
【强制约束】:
|
|
41
|
-
1. 平台选择约束:参数名必须使用 "framework"(不是 platform)。如果用户未明确指定平台,或意图不清晰,必须优先调用 'present_framework_choice' 工具,引导用户在 flutter, android, ios 中进行选择。
|
|
42
|
-
2. 结果记录约束:在 TUIKit 组件集成完成且项目启动成功后,必须调用 'record_result' 工具记录集成结果。
|
|
43
|
-
|
|
44
|
-
【支持平台】:flutter, android, ios。
|
|
16
|
+
边界:
|
|
17
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
18
|
+
- 面向 Native Chat UIKit 整体集成,不负责平台选择或单功能深挖
|
|
45
19
|
`;
|
|
46
20
|
const PARAMETER_DESCRIPTIONS = {
|
|
47
|
-
framework: '
|
|
48
|
-
goals:
|
|
21
|
+
framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:flutter | android | ios。',
|
|
22
|
+
goals: '功能目标数组。仅允许传一个值,可选值:full-featured(完整应用)| chat-only(单聊天窗口)。',
|
|
23
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
49
24
|
};
|
|
50
25
|
export const GET_NATIVE_CHAT_UIKIT_INTEGRATION_DEFINITION = {
|
|
51
26
|
name: 'get_native_chat_uikit_integration',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_native_chat_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG
|
|
1
|
+
{"version":3,"file":"get_native_chat_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_chat_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;CAkBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,iEAAiE;IAC5E,KAAK,EAAE,2DAA2D;IAClE,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const TOOL_DESCRIPTION = `
|
|
2
|
+
用途:
|
|
3
|
+
返回基于 AtomicXCore SDK 的 Native LiveKit Core 功能扩展文档,适合在已有视频直播或语聊房基础上继续实现互动与特效能力。视频直播场景重点覆盖连麦、PK、观众管理、美颜、音效、弹幕、礼物;语聊房场景重点覆盖上麦、PK、成员列表。
|
|
4
|
+
|
|
5
|
+
典型适用问题:
|
|
6
|
+
Native LiveKit Core, AtomicXCore, 无 UI SDK, Core SDK, co_guest, co_host, 连麦, PK, 观众管理, 上麦, 麦位管理, 成员列表, 视频直播, 语聊房, 美颜, 音效, 弹幕, 礼物, BaseBeautyStore, AudioEffectStore, BarrageStore, GiftStore, Android, iOS, Flutter, uni-app
|
|
7
|
+
|
|
8
|
+
输入:
|
|
9
|
+
- scenario: live | voice
|
|
10
|
+
- framework: android | ios | flutter | uni-app
|
|
11
|
+
- goals: 功能模块列表
|
|
12
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
13
|
+
|
|
14
|
+
返回:
|
|
15
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
16
|
+
|
|
17
|
+
边界:
|
|
18
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
19
|
+
- 面向基于 AtomicXCore SDK 的已有视频直播或语聊房项目功能扩展,不负责基础开播、观看或房间列表集成
|
|
20
|
+
- 'base_beauty'、'audio_effect'、'barrage'、'gift' 当前仅适用于 'scenario=live'
|
|
21
|
+
`;
|
|
22
|
+
const PARAMETER_DESCRIPTIONS = {
|
|
23
|
+
scenario: '场景类型。可选值:live(视频直播)| voice(语聊房)。当需求是开播、观看、房间列表时应使用 integration;当需求是连麦、PK、成员列表、美颜、音效、弹幕、礼物时使用 features。',
|
|
24
|
+
framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | flutter | uni-app。',
|
|
25
|
+
goals: '功能列表。可选值:co_guest_interaction(观众连麦/听众上麦)| co_host_interaction(主播连线/PK)| audience_list(成员/观众列表)| base_beauty(美颜)| audio_effect(音效)| barrage(弹幕)| gift(礼物)。',
|
|
26
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
27
|
+
};
|
|
28
|
+
export const GET_NATIVE_LIVEKIT_CORE_FEATURES_DEFINITION = {
|
|
29
|
+
name: 'get_native_livekit_core_features',
|
|
30
|
+
description: TOOL_DESCRIPTION,
|
|
31
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=get_native_livekit_core_features_def.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_native_livekit_core_features_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_livekit_core_features_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,wGAAwG;IAClH,SAAS,EAAE,2EAA2E;IACtF,KAAK,EAAE,2JAA2J;IAClK,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const TOOL_DESCRIPTION = `
|
|
2
|
+
用途:
|
|
3
|
+
返回基于 AtomicXCore SDK 的 Native LiveKit Core 基础集成文档,适合实现视频直播或语聊房的开播、观看和房间列表。视频直播场景重点覆盖主播开播、观众观看、直播列表;语聊房场景重点覆盖房主开房、听众进房、语聊房列表。
|
|
4
|
+
|
|
5
|
+
典型适用问题:
|
|
6
|
+
Native LiveKit Core, AtomicXCore, 无 UI SDK, Core SDK, 视频直播, 语聊房, 开播, 观看, 房间列表, Android, iOS, Flutter, uni-app, live, voice
|
|
7
|
+
|
|
8
|
+
输入:
|
|
9
|
+
- scenario: live | voice
|
|
10
|
+
- framework: android | ios | flutter | uni-app
|
|
11
|
+
- goals: 功能模块列表
|
|
12
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
13
|
+
|
|
14
|
+
返回:
|
|
15
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
16
|
+
|
|
17
|
+
边界:
|
|
18
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
19
|
+
- 面向基于 AtomicXCore SDK 的视频直播或语聊房基础集成主路径,不负责连麦、PK、成员列表、美颜、音效、弹幕、礼物等功能扩展
|
|
20
|
+
- 返回的是 Core/Store 级基础集成文档,不是完整预制 UIKit 页面模板
|
|
21
|
+
`;
|
|
22
|
+
const PARAMETER_DESCRIPTIONS = {
|
|
23
|
+
scenario: '场景类型。可选值:live(视频直播)| voice(语聊房)。当需求是开播、观看、房间列表时使用 integration;当需求是连麦、PK、成员列表、美颜、音效、弹幕、礼物时应使用 features。',
|
|
24
|
+
framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | flutter | uni-app。',
|
|
25
|
+
goals: '功能列表。可选值:host_streaming(主播/房主开播)| audience_streaming(观众/听众观看)| live_list(房间列表)。',
|
|
26
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
27
|
+
};
|
|
28
|
+
export const GET_NATIVE_LIVEKIT_CORE_INTEGRATION_DEFINITION = {
|
|
29
|
+
name: 'get_native_livekit_core_integration',
|
|
30
|
+
description: TOOL_DESCRIPTION,
|
|
31
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=get_native_livekit_core_integration_def.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_native_livekit_core_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_livekit_core_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,wGAAwG;IAClH,SAAS,EAAE,2EAA2E;IACtF,KAAK,EAAE,iFAAiF;IACxF,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC5D,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const TOOL_DESCRIPTION = `
|
|
2
|
+
用途:
|
|
3
|
+
按平台返回 Native TRTC SDK 对应文档域,适合查询核心 API、类型定义、回调、统计、音效、美颜、设备和错误码。
|
|
4
|
+
|
|
5
|
+
典型适用问题:
|
|
6
|
+
TRTC SDK, 实时音视频, 互动直播, 多人音视频, 屏幕分享, 录制, 连麦, PK, Android, iOS, C++, 进房, 退房, 本地预览, 远端渲染, 回调, 事件监听, 参数结构, 编码参数, 统计信息, 音效, 美颜, 设备管理, 错误码, 具体错误码, error code, -4009, -13xx, TXLiteAVCode, 某个错误码含义, 某个错误码怎么处理
|
|
7
|
+
|
|
8
|
+
输入:
|
|
9
|
+
- framework: android | ios | c++
|
|
10
|
+
- intent: core_api | type_def | callback | statistics | audio_effect | beauty | device | error_code
|
|
11
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
12
|
+
|
|
13
|
+
返回:
|
|
14
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
15
|
+
|
|
16
|
+
边界:
|
|
17
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
18
|
+
- 仅返回 Native TRTC SDK 文档内容,不负责 UIKit 集成或平台选择
|
|
19
|
+
- 每次只返回一个平台下的一个文档域,不会合并整个平台全部文档
|
|
20
|
+
- 已知具体错误码时,应优先使用 error_code 文档域
|
|
21
|
+
`;
|
|
22
|
+
const PARAMETER_DESCRIPTIONS = {
|
|
23
|
+
framework: '目标平台。参数名固定为 framework,禁止传 platform。可选值:android | ios | c++。',
|
|
24
|
+
intent: '文档域。可选值:core_api(核心 API)| type_def(类型定义)| callback(回调事件)| statistics(统计信息)| audio_effect(音效)| beauty(美颜)| device(设备管理)| error_code(错误码)。',
|
|
25
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
26
|
+
};
|
|
27
|
+
export const GET_NATIVE_TRTC_SDK_DOCS_DEFINITION = {
|
|
28
|
+
name: 'get_native_trtc_sdk_docs',
|
|
29
|
+
description: TOOL_DESCRIPTION,
|
|
30
|
+
parameter_descriptions: PARAMETER_DESCRIPTIONS,
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=get_native_trtc_sdk_docs_def.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_native_trtc_sdk_docs_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_native_trtc_sdk_docs_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,6DAA6D;IACxE,MAAM,EAAE,0IAA0I;IAClJ,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
3. 安全提醒:\n
|
|
20
|
-
- 前端生成 userSig 是不安全的。请务必提醒用户:在应用正式上线前,UserSig 必须在后端服务生成。\n
|
|
21
|
-
4. 禁止行为:\n
|
|
22
|
-
- 禁止引导用户在控制台手动生成 userSig 后粘贴到代码中。\n
|
|
23
|
-
- 禁止给用户输出使用示例,输出 SDKAppID、userID、userSig 结果即可。\n
|
|
24
|
-
5. 有效期:\n
|
|
25
|
-
- userSig 有效期默认为 7 天,该参数当前不可通过工具调整。\n
|
|
2
|
+
用途:
|
|
3
|
+
使用 MCP 环境变量中的 SDKAppID 和 secretKey 生成测试用 userSig,供 IM 或 TRTC 本地联调使用。
|
|
4
|
+
|
|
5
|
+
典型适用问题:
|
|
6
|
+
为指定 userID 生成 userSig, 生成测试凭证, 本地联调凭证, userID 对应的 userSig, SDKAppID, secretKey, IM, TRTC, 登录凭证
|
|
7
|
+
|
|
8
|
+
输入:
|
|
9
|
+
- userID
|
|
10
|
+
|
|
11
|
+
返回:
|
|
12
|
+
- content: [{ type: 'text', text: userSig 结果或错误说明 }]
|
|
13
|
+
|
|
14
|
+
边界:
|
|
15
|
+
- 面向已明确 userID 的测试凭证生成,不负责解释 userSig 原理、签发流程或生产鉴权方案
|
|
16
|
+
- 仅用于开发测试
|
|
17
|
+
- 生产环境应改为服务端签发
|
|
18
|
+
- 如果环境变量缺失,需先补齐配置
|
|
26
19
|
`;
|
|
27
20
|
export const GET_USERSIG_DEFINITION = {
|
|
28
21
|
name: 'get_usersig',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_usersig_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_usersig_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG
|
|
1
|
+
{"version":3,"file":"get_usersig_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_usersig_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;CAkBxB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE;QACtB,MAAM,EAAE,iBAAiB;KAC1B;CACF,CAAC"}
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
const TOOL_DESCRIPTION = `
|
|
2
|
-
|
|
2
|
+
用途:
|
|
3
|
+
返回 Web TUICallKit preset 集成文档,适合实现 PC/H5 音视频通话应用。
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
典型适用问题:
|
|
6
|
+
Web Call UIKit, Web TUICallKit, TUICallKit, preset 集成, React, Vue, PC, H5, 音视频通话, 视频通话, 语音通话, 集成, 呼叫, 接听
|
|
5
7
|
|
|
6
|
-
|
|
8
|
+
输入:
|
|
9
|
+
- framework: react | vue
|
|
10
|
+
- prompt: 用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要
|
|
7
11
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
返回:
|
|
13
|
+
- content: [{ type: 'text', text: 文档正文或说明文本 }]
|
|
14
|
+
|
|
15
|
+
边界:
|
|
16
|
+
- 当用户未明确平台或框架时,应先调用 'present_framework_choice'
|
|
17
|
+
- 面向 Web CallKit preset 整体集成,不负责 API 细节或交互式框架选择
|
|
11
18
|
`;
|
|
12
19
|
const PARAMETER_DESCRIPTIONS = {
|
|
13
|
-
framework: '
|
|
20
|
+
framework: '目标框架。参数名固定为 framework,禁止传 platform。可选值:react | vue。',
|
|
21
|
+
prompt: '用户的原始问题全文,保留完整上下文,不要压缩成关键词摘要。',
|
|
14
22
|
};
|
|
15
23
|
export const GET_WEB_CALL_UIKIT_INTEGRATION_DEFINITION = {
|
|
16
24
|
name: 'get_web_call_uikit_integration',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_web_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG
|
|
1
|
+
{"version":3,"file":"get_web_call_uikit_integration_def.js","sourceRoot":"","sources":["../../../src/tools/definitions/get_web_call_uikit_integration_def.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AAEF,MAAM,sBAAsB,GAAG;IAC7B,SAAS,EAAE,qDAAqD;IAChE,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gBAAgB;IAC7B,sBAAsB,EAAE,sBAAsB;CAC/C,CAAC"}
|