@tencentcloud/sdk-mcp 1.6.1 → 1.6.2

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.
@@ -19,7 +19,7 @@ TUIKit 是一款基于腾讯云 IM SDK 和 UTS 原生渲染技术的 uni-app UI
19
19
 
20
20
  > H5 和小程序项目,如有需要请参考以下替代方案:
21
21
  >
22
- > - 打包 H5,可参考:Web H5(Vue3)。
22
+ > - 打包 Web H5,可参考:Web H5(Vue3)。
23
23
  > - 打包小程序,可参考:uni-app 完整版(Vue3/Vue2)。
24
24
  > - 接入过程中遇到任何卡点或有改进建议,欢迎通过 [UniApp Atomicx 接入体验反馈](https://wj.qq.com/s2/26120470/621d/) 反馈,官方会及时跟进处理。
25
25
 
@@ -12,18 +12,13 @@ TUIKit 是基于腾讯云 Chat SDK 的一款 Vue 3 UI 组件库,它提供了
12
12
 
13
13
  > 您的反馈我们会**高度重视**,本问卷填写**仅需要 30 秒**!诚邀您的参与。
14
14
  >
15
-
16
- > **说明:**
17
- >
18
-
19
- > **⚡ 请根据您的技术栈和目标平台,选择对应的接入文档开始集成:**
20
- >
15
+ > - **请根据您的技术栈和目标平台,选择对应的接入文档开始集成:**
21
16
 
22
17
  |接入需求|桌面端|移动端 H5|
23
18
  |---------|---------|---------|
24
- |全新 Web Vue3 项目|请参考本文|全功能接入/移动端/Vue3|
25
- |全新 Web React 项目|全功能接入/桌面端/React|全功能接入/移动端/React|
26
- |Web Vue2 项目|全功能接入/桌面端/Vue2 & 旧版本 Vue3|全功能接入/桌面端/Vue2 & 旧版本 Vue3|
19
+ |全新 Web Vue3 项目|请参考本文|全功能接入 > 移动端 > Vue3|
20
+ |全新 Web React 项目|全功能接入 > 桌面端 > React|全功能接入 > 移动端 > React|
21
+ |Web Vue2 项目|全功能接入 > 桌面端 > Vue2 & 旧版本 Vue3|全功能接入 > 桌面端 > Vue2 & 旧版本 Vue3|
27
22
 
28
23
  ## 关键概念
29
24
 
@@ -12,6 +12,7 @@ const registrySearchTRTCKnowledgeTool = (mcpServer) => {
12
12
  product: z.array(z.enum(['chat', 'call', 'live', 'room', 'push', 'rtcengine', 'native_trtc_sdk'])).min(1).max(4).optional().describe(parameter_descriptions.product),
13
13
  framework: z.enum(['react', 'vue', 'web', 'android', 'ios', 'flutter', 'c++', 'uni-app', 'harmonyos', 'react-native', 'unity', 'unreal-engine', 'donut']).optional().describe(parameter_descriptions.framework),
14
14
  queryID: z.string().describe(parameter_descriptions.queryID),
15
+ ide: z.string().describe(parameter_descriptions.ide),
15
16
  types: z.array(z.enum([
16
17
  'integration', 'component', 'feature', 'api', 'plugin',
17
18
  'sdk', 'faq', 'error_code', 'product', 'server_api', 'webhook',
@@ -27,6 +28,7 @@ const registrySearchTRTCKnowledgeTool = (mcpServer) => {
27
28
  prompt: params.prompt,
28
29
  framework: params.framework ?? '',
29
30
  product: params.product ? params.product.join(',') : '',
31
+ ide: params.ide,
30
32
  });
31
33
  const response = searchKnowledge({
32
34
  prompt: params.prompt,
@@ -28,6 +28,7 @@ const PARAMETER_DESCRIPTIONS = {
28
28
  types: '默认不传;开放["faq"]。限定:integration|component|feature|api|plugin|sdk|error_code|product|server_api|webhook。component 与 feature 等价(同时匹配);发现型/罗列型问题("有哪些组件")MUST 省略 types。控制台/计费/产品能力配置→product(非feature)。勿主动窄传。',
29
29
  scenario: 'live|voice,仅live产品。',
30
30
  queryID: '首次\'\',后续同一咨询MUST透传(见server)。',
31
+ ide: 'IDE名称(cursor|claude-code|vscode|codebuddy|codex|trae|others)',
31
32
  limit: '片段数,默认8,最大16。',
32
33
  };
33
34
  export const SEARCH_KNOWLEDGE_DEFINITION = {
@@ -27,12 +27,12 @@ function reportCLSClient(reportData) {
27
27
  }
28
28
  function sendCLSReport(reportData) {
29
29
  const { SDKAppID: _SDKAppID } = ServerConfig.getInstance().getConfig();
30
- const { SDKAppID = _SDKAppID, method = '', userID = '', framework = '', product = '', prompt = '', queryID = '', answer = '', feedback = '', info = '', } = reportData;
30
+ const { SDKAppID = _SDKAppID, method = '', userID = '', framework = '', product = '', prompt = '', queryID = '', answer = '', feedback = '', info = '', ide = '', } = reportData;
31
31
  const identifier = getDeviceIdentifier();
32
32
  const time = Date.now();
33
33
  const data = {
34
34
  platform: 'mcp',
35
- verison: '1.6.1',
35
+ verison: '1.6.2',
36
36
  sdkappid: `${SDKAppID}`,
37
37
  method: method,
38
38
  userid: queryID || userID,
@@ -44,8 +44,8 @@ function sendCLSReport(reportData) {
44
44
  useragent: identifier,
45
45
  level: product,
46
46
  app: info,
47
- callkitversion: '',
48
- isfromchat: 'false',
47
+ callkitversion: ide,
48
+ isfromchat: '',
49
49
  };
50
50
  return httpPost({
51
51
  hostname: 'ap-nanjing.cls.tencentcs.com',
@@ -7,7 +7,7 @@ function reportESClient(reportData) {
7
7
  report: [
8
8
  {
9
9
  platform: 'mcp',
10
- version: '1.6.1',
10
+ version: '1.6.2',
11
11
  sdkappid: `${SDKAppID}`,
12
12
  method: method,
13
13
  userID: `${userID}`,