@tencent-rtc/mcp 1.7.3 → 1.7.4
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/CHANGELOG.md +13 -0
- package/README.md +13 -13
- package/knowledge/path-meta.js +23 -1
- package/package.json +1 -1
- package/resource/index/manifest.json +1 -1
- package/resource/knowledge/callkit/best-practice/android/video-chat-dating.md +497 -0
- package/resource/knowledge/callkit/best-practice/flutter/android-keep-call-alive-background.md +79 -0
- package/resource/knowledge/callkit/best-practice/flutter/background-incoming-call-no-notification.md +99 -0
- package/resource/knowledge/callkit/best-practice/flutter/ios-keep-call-alive-background.md +93 -0
- package/resource/knowledge/callkit/best-practice/flutter/ios-startup-crash-version-voip.md +68 -0
- package/resource/knowledge/callkit/core-sdk/miniprogram/call-engine.md +386 -0
- package/resource/knowledge/callkit/core-sdk/miniprogram/call-event.md +315 -0
- package/resource/knowledge/callkit/faq/uniapp-miniprogram.md +204 -0
- package/resource/knowledge/callkit/preset/harmonyos/api.md +362 -0
- package/resource/knowledge/callkit/preset/harmonyos/integration.md +318 -0
- package/resource/knowledge/callkit/preset/miniprogram/api-uniapp.md +430 -0
- package/resource/knowledge/callkit/preset/miniprogram/api.md +293 -0
- package/resource/knowledge/callkit/preset/miniprogram/integration.md +294 -0
- package/resource/knowledge/callkit/preset/miniprogram/uniapp-integration.md +224 -0
- package/resource/knowledge/callkit/preset/uni-app/api.md +339 -0
- package/resource/knowledge/callkit/preset/uni-app/integration.md +243 -0
- package/resource/knowledge/chat/preset/react/h5/integration.md +964 -0
- package/resource/knowledge/chat/preset/vue/h5/integration.md +717 -0
- package/resource/knowledge/rtcengine/web/plugin/23-advanced-support-detection.md +6 -6
- package/resource/knowledge/rtcengine/web/plugin/31-advanced-plugins-overview.md +8 -6
- package/resource/knowledge/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +30 -10
- package/server.js +1 -1
- package/utils/report-cls-client.js +1 -1
- package/utils/report-es-client.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## Version 1.7.4 @2026.08.31
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Added 4 CallKit Flutter best-practice docs: Android background call keep-alive, iOS background audio keep-alive, iOS startup crash troubleshooting, background incoming call notification troubleshooting.
|
|
7
|
+
- Added CallKit Android video chat dating scenario (VideoChat Demo) best-practice doc, covering Demo setup and component quick integration.
|
|
8
|
+
- Added CallKit HarmonyOS platform support: UIKit integration guide and API reference.
|
|
9
|
+
- Added CallKit Mini Program & uni-app docs: UIKit integration guide, API reference, uni-app packaging guide.
|
|
10
|
+
- Added CallKit uni-app (Android/iOS) standalone integration docs and API reference.
|
|
11
|
+
- Added Chat Vue3/React H5 mobile integration docs.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- Optimized Chat UIKit search tags: vue/react framework changed from single tag to dual tags (`['vue','web']` / `['react','web']`), allowing `frameworks=['web']` to match Chat Web docs.
|
|
15
|
+
|
|
3
16
|
## Version 1.7.3 @2026.08.17
|
|
4
17
|
|
|
5
18
|
### Added
|
package/README.md
CHANGED
|
@@ -57,6 +57,19 @@ npx -y @tencent-rtc/mcp
|
|
|
57
57
|
|
|
58
58
|
> Only recent updates are listed here. For full history, see `CHANGELOG.md`.
|
|
59
59
|
|
|
60
|
+
## Version 1.7.4 @2026.08.31
|
|
61
|
+
|
|
62
|
+
### Added
|
|
63
|
+
- Added 4 CallKit Flutter best-practice docs: Android background call keep-alive, iOS background audio keep-alive, iOS startup crash troubleshooting, background incoming call notification troubleshooting.
|
|
64
|
+
- Added CallKit Android video chat dating scenario (VideoChat Demo) best-practice doc, covering Demo setup and component quick integration.
|
|
65
|
+
- Added CallKit HarmonyOS platform support: UIKit integration guide and API reference.
|
|
66
|
+
- Added CallKit Mini Program & uni-app docs: UIKit integration guide, API reference, uni-app packaging guide.
|
|
67
|
+
- Added CallKit uni-app (Android/iOS) standalone integration docs and API reference.
|
|
68
|
+
- Added Chat Vue3/React H5 mobile integration docs.
|
|
69
|
+
|
|
70
|
+
### Changed
|
|
71
|
+
- Optimized Chat UIKit search tags: vue/react framework changed from single tag to dual tags (`['vue','web']` / `['react','web']`), allowing `frameworks=['web']` to match Chat Web docs.
|
|
72
|
+
|
|
60
73
|
## Version 1.7.3 @2026.08.17
|
|
61
74
|
|
|
62
75
|
### Added
|
|
@@ -80,16 +93,3 @@ npx -y @tencent-rtc/mcp
|
|
|
80
93
|
|
|
81
94
|
### Fixed
|
|
82
95
|
- Fixed the case where mis-passed dual product / dual frameworks (e.g., "安卓 Web TRTC") were not corrected according to the prompt truth.
|
|
83
|
-
|
|
84
|
-
### Version 1.7.0 @2026.08.02
|
|
85
|
-
|
|
86
|
-
#### Added
|
|
87
|
-
- Added and synchronized best-practice docs across product domains including Chat / Call / Live / Room to improve knowledge coverage.
|
|
88
|
-
|
|
89
|
-
#### Changed
|
|
90
|
-
- Continued refactoring of the bilingual retrieval pipeline, including query normalization, intent routing, candidate filtering, and exact-match strategies.
|
|
91
|
-
- Improved recall and ranking for best-practice and URL-based documents to increase answer usability and stability.
|
|
92
|
-
- Improved `search_trtc_knowledge` definitions and answer constraints for better readability and executability.
|
|
93
|
-
|
|
94
|
-
#### Fixed
|
|
95
|
-
- Fixed off-topic retrieval in some complex queries, reducing high-score false-positive hits.
|
package/knowledge/path-meta.js
CHANGED
|
@@ -8,6 +8,9 @@ function inferTypesFromFilename(fileName, baseTypes) {
|
|
|
8
8
|
types.push('error_code');
|
|
9
9
|
if (lower === 'client-api.md' || lower === 'api.md' || lower === 'index.md')
|
|
10
10
|
types.push('api');
|
|
11
|
+
// api-<变体>.md(如 api-uniapp.md:微信小程序 uni-app 打包 API)同样是 API 文档
|
|
12
|
+
if (/^api-[\w-]+\.mdx?$/.test(lower))
|
|
13
|
+
types.push('api');
|
|
11
14
|
if (lower === 'faq.md')
|
|
12
15
|
types.push('faq');
|
|
13
16
|
// 文件名 = integration.md 不再默认 push integration(由上游 framework 分支显式声明 type)
|
|
@@ -75,7 +78,14 @@ export function inferPathMeta(relativeSource) {
|
|
|
75
78
|
else if (normalized.startsWith('knowledge/chat/') || normalized.startsWith('integration/chat/')) {
|
|
76
79
|
product = 'chat';
|
|
77
80
|
if (parts.includes('preset') && parts.length >= 4) {
|
|
78
|
-
|
|
81
|
+
const fw = normalizeFrameworkDir(parts[parts.indexOf('preset') + 1]);
|
|
82
|
+
// vue/react 运行在 Web/H5 端,追加 web 标签,使 frameworks=['web'] 也能命中
|
|
83
|
+
framework = (fw === 'vue' || fw === 'react') ? [fw, 'web'] : [fw];
|
|
84
|
+
variant = 'preset';
|
|
85
|
+
// preset 下的 integration.md 显式标记 integration type
|
|
86
|
+
if (fileName.toLowerCase() === 'integration.md') {
|
|
87
|
+
types.push('integration');
|
|
88
|
+
}
|
|
79
89
|
}
|
|
80
90
|
if (parts.includes('features')) {
|
|
81
91
|
types.push('feature');
|
|
@@ -137,6 +147,13 @@ export function inferPathMeta(relativeSource) {
|
|
|
137
147
|
framework = [normalizeFrameworkDir(parts[coreIdx + 1])];
|
|
138
148
|
variant = 'core-sdk';
|
|
139
149
|
}
|
|
150
|
+
// 微信小程序 uni-app 打包版:目录归入 miniprogram(运行平台=微信小程序),
|
|
151
|
+
// 但技术栈是 uni-app,通过文件名 *-uniapp.md / uniapp-*.md 触发双标签,
|
|
152
|
+
// 使「微信小程序」与「uni-app」两种 framework 检索都能召回同一篇文档。
|
|
153
|
+
// 原生小程序(api.md/integration.md 等无 uniapp 标记)保持单 miniprogram 标签。
|
|
154
|
+
if (framework[0] === 'miniprogram' && /(^uniapp[-.]|-uniapp\.mdx?$)/.test(fileName.toLowerCase())) {
|
|
155
|
+
framework = ['miniprogram', 'uni-app'];
|
|
156
|
+
}
|
|
140
157
|
// callkit 最佳实践目录:knowledge/callkit/best-practice/{platform}/{topic}.md
|
|
141
158
|
// 统一按 FAQ/经验类知识处理,支持 types=faq + frameworks={platform} 的精确检索。
|
|
142
159
|
// 与 chat best-practice 对齐:common 目录表示多平台通用,按最全集覆盖。
|
|
@@ -147,6 +164,11 @@ export function inferPathMeta(relativeSource) {
|
|
|
147
164
|
: [fwSlug];
|
|
148
165
|
types.push('faq');
|
|
149
166
|
}
|
|
167
|
+
// preset 下的 integration.md(纯文件名,无连字符前缀)需显式标记 integration type,
|
|
168
|
+
// 否则 inferTypesFromFilename 只匹配 *-integration.md,导致兜底为 faq。
|
|
169
|
+
if (variant === 'preset' && fileName.toLowerCase() === 'integration.md') {
|
|
170
|
+
types.push('integration');
|
|
171
|
+
}
|
|
150
172
|
if (parts.includes('faq'))
|
|
151
173
|
types.push('faq', 'error_code');
|
|
152
174
|
if (fileName === 'api.md')
|