@tencentcloud/sdk-mcp 1.0.7 → 1.0.8

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.
Files changed (320) hide show
  1. package/package.json +1 -1
  2. package/resource/doc/chatuikit/react/components/chat.md +38 -0
  3. package/resource/doc/chatuikit/react/components/chatheader.md +153 -0
  4. package/resource/doc/chatuikit/react/components/conversation-list.md +765 -0
  5. package/resource/doc/chatuikit/react/components/message-input.md +799 -0
  6. package/resource/doc/chatuikit/react/components/message-list.md +385 -0
  7. package/resource/doc/chatuikit/react/components/tuikit.md +64 -0
  8. package/resource/doc/chatuikit/react/login.md +25 -0
  9. package/resource/doc/chatuikit/vue/components/MessageInput.md +546 -0
  10. package/resource/doc/chatuikit/vue/components/avatar.md +105 -0
  11. package/resource/doc/chatuikit/vue/components/chat.md +38 -0
  12. package/resource/doc/chatuikit/vue/components/chatheader.md +153 -0
  13. package/resource/doc/chatuikit/vue/components/component-list.md +90 -0
  14. package/resource/doc/chatuikit/vue/components/conversation-list.md +590 -0
  15. package/resource/doc/chatuikit/vue/components/login.md +29 -0
  16. package/resource/doc/chatuikit/vue/components/message-input.md +546 -0
  17. package/resource/doc/chatuikit/vue/components/message-list.md +548 -0
  18. package/resource/doc/chatuikit/vue/components/tuikit.md +110 -0
  19. package/resource/doc/chatuikit/vue/components/userpicker.md +256 -0
  20. package/resource/doc/chatuikit/vue/integration.md +218 -0
  21. package/resource/doc/chatuikit/vue/login.md +29 -0
  22. package/resource/doc/chatuikit/vue3/components/MessageList.md +385 -0
  23. package/resource/doc/chatuikit/vue3/integration.md +7 -4
  24. package/tools/call/get-native-call-integration-guide.js +2 -2
  25. package/tools/call/get-native-call-integration-guide.js.map +1 -1
  26. package/tools/call/get-native-call-integration.js +35 -0
  27. package/tools/call/get-native-call-integration.js.map +1 -0
  28. package/tools/call/get-web-call-integration-guide.js +4 -4
  29. package/tools/call/get-web-call-integration-guide.js.map +1 -1
  30. package/tools/call/get-web-call-integration.js +34 -0
  31. package/tools/call/get-web-call-integration.js.map +1 -0
  32. package/tools/chat/get-native-chat-integration-guide.js +2 -2
  33. package/tools/chat/get-native-chat-integration-guide.js.map +1 -1
  34. package/tools/chat/get-native-chat-integration.js +33 -0
  35. package/tools/chat/get-native-chat-integration.js.map +1 -0
  36. package/tools/chat/get-web-chat-component-detail.js +8 -5
  37. package/tools/chat/get-web-chat-component-detail.js.map +1 -1
  38. package/tools/chat/get-web-chat-integration-guide.js +16 -8
  39. package/tools/chat/get-web-chat-integration-guide.js.map +1 -1
  40. package/tools/chat/get-web-chat-integration.js +36 -0
  41. package/tools/chat/get-web-chat-integration.js.map +1 -0
  42. package/tools/chat/get-web-chat-uikit-login.js +30 -0
  43. package/tools/chat/get-web-chat-uikit-login.js.map +1 -0
  44. package/tools/common/present-framework-choice.js +6 -6
  45. package/tools/common/present-framework-choice.js.map +1 -1
  46. package/tools/common/record-result.js +2 -2
  47. package/tools/common/record-result.js.map +1 -1
  48. package/tools/index.js +10 -8
  49. package/tools/index.js.map +1 -1
  50. package/utils/handle-component-name.js +12 -0
  51. package/utils/handle-component-name.js.map +1 -0
  52. package/utils/handle-framework.js +9 -0
  53. package/utils/handle-framework.js.map +1 -0
  54. package/@tencent/aegis-node-sdk/CHANGELOG.md +0 -8
  55. package/@tencent/aegis-node-sdk/LICENSE +0 -21
  56. package/@tencent/aegis-node-sdk/README.md +0 -562
  57. package/@tencent/aegis-node-sdk/lib/aegis.min.js +0 -1
  58. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +0 -14
  59. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +0 -1
  60. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +0 -9
  61. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +0 -2
  62. package/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +0 -85
  63. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +0 -3
  64. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +0 -9
  65. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +0 -3
  66. package/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +0 -9
  67. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +0 -62
  68. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +0 -11
  69. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +0 -4
  70. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +0 -130
  71. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +0 -34
  72. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +0 -2
  73. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +0 -18
  74. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +0 -8
  75. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +0 -8
  76. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +0 -2
  77. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +0 -4
  78. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +0 -10
  79. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +0 -3
  80. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +0 -3
  81. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +0 -34
  82. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +0 -12
  83. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +0 -14
  84. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +0 -2
  85. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +0 -12
  86. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +0 -3
  87. package/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +0 -33
  88. package/@tencent/aegis-node-sdk/lib/packages/core/src/polyfill.d.ts +0 -0
  89. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +0 -2
  90. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +0 -18
  91. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +0 -60
  92. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +0 -15
  93. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +0 -5
  94. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +0 -6
  95. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +0 -18
  96. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +0 -12
  97. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +0 -10
  98. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +0 -20
  99. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +0 -27
  100. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +0 -2
  101. package/@tencent/aegis-node-sdk/package.json +0 -19
  102. package/@tencent/polaris/README.md +0 -407
  103. package/@tencent/polaris/dist/consumer/health.d.ts +0 -126
  104. package/@tencent/polaris/dist/consumer/health.js +0 -283
  105. package/@tencent/polaris/dist/consumer/health.js.map +0 -1
  106. package/@tencent/polaris/dist/consumer/index.d.ts +0 -120
  107. package/@tencent/polaris/dist/consumer/index.js +0 -348
  108. package/@tencent/polaris/dist/consumer/index.js.map +0 -1
  109. package/@tencent/polaris/dist/consumer/monitor.d.ts +0 -145
  110. package/@tencent/polaris/dist/consumer/monitor.js +0 -343
  111. package/@tencent/polaris/dist/consumer/monitor.js.map +0 -1
  112. package/@tencent/polaris/dist/consumer/selector.d.ts +0 -73
  113. package/@tencent/polaris/dist/consumer/selector.js +0 -316
  114. package/@tencent/polaris/dist/consumer/selector.js.map +0 -1
  115. package/@tencent/polaris/dist/errors.d.ts +0 -373
  116. package/@tencent/polaris/dist/errors.js +0 -154
  117. package/@tencent/polaris/dist/errors.js.map +0 -1
  118. package/@tencent/polaris/dist/global.d.ts +0 -16
  119. package/@tencent/polaris/dist/global.js +0 -18
  120. package/@tencent/polaris/dist/global.js.map +0 -1
  121. package/@tencent/polaris/dist/index.d.ts +0 -62
  122. package/@tencent/polaris/dist/index.js +0 -145
  123. package/@tencent/polaris/dist/index.js.map +0 -1
  124. package/@tencent/polaris/dist/instance.d.ts +0 -109
  125. package/@tencent/polaris/dist/instance.js +0 -38
  126. package/@tencent/polaris/dist/instance.js.map +0 -1
  127. package/@tencent/polaris/dist/limiter/bucket.d.ts +0 -51
  128. package/@tencent/polaris/dist/limiter/bucket.js +0 -152
  129. package/@tencent/polaris/dist/limiter/bucket.js.map +0 -1
  130. package/@tencent/polaris/dist/limiter/index.d.ts +0 -73
  131. package/@tencent/polaris/dist/limiter/index.js +0 -149
  132. package/@tencent/polaris/dist/limiter/index.js.map +0 -1
  133. package/@tencent/polaris/dist/limiter/ratelimit.d.ts +0 -27
  134. package/@tencent/polaris/dist/limiter/ratelimit.js +0 -134
  135. package/@tencent/polaris/dist/limiter/ratelimit.js.map +0 -1
  136. package/@tencent/polaris/dist/limiter/ratelimiter/base.d.ts +0 -17
  137. package/@tencent/polaris/dist/limiter/ratelimiter/base.js +0 -15
  138. package/@tencent/polaris/dist/limiter/ratelimiter/base.js.map +0 -1
  139. package/@tencent/polaris/dist/limiter/ratelimiter/global.d.ts +0 -59
  140. package/@tencent/polaris/dist/limiter/ratelimiter/global.js +0 -397
  141. package/@tencent/polaris/dist/limiter/ratelimiter/global.js.map +0 -1
  142. package/@tencent/polaris/dist/limiter/ratelimiter/index.d.ts +0 -3
  143. package/@tencent/polaris/dist/limiter/ratelimiter/index.js +0 -19
  144. package/@tencent/polaris/dist/limiter/ratelimiter/index.js.map +0 -1
  145. package/@tencent/polaris/dist/limiter/ratelimiter/local.d.ts +0 -17
  146. package/@tencent/polaris/dist/limiter/ratelimiter/local.js +0 -52
  147. package/@tencent/polaris/dist/limiter/ratelimiter/local.js.map +0 -1
  148. package/@tencent/polaris/dist/location.d.ts +0 -48
  149. package/@tencent/polaris/dist/location.js +0 -67
  150. package/@tencent/polaris/dist/location.js.map +0 -1
  151. package/@tencent/polaris/dist/logging.d.ts +0 -106
  152. package/@tencent/polaris/dist/logging.js +0 -130
  153. package/@tencent/polaris/dist/logging.js.map +0 -1
  154. package/@tencent/polaris/dist/metadata.d.ts +0 -78
  155. package/@tencent/polaris/dist/metadata.js +0 -119
  156. package/@tencent/polaris/dist/metadata.js.map +0 -1
  157. package/@tencent/polaris/dist/plugins/breaker/polaris.d.ts +0 -47
  158. package/@tencent/polaris/dist/plugins/breaker/polaris.js +0 -162
  159. package/@tencent/polaris/dist/plugins/breaker/polaris.js.map +0 -1
  160. package/@tencent/polaris/dist/plugins/lb/base.d.ts +0 -24
  161. package/@tencent/polaris/dist/plugins/lb/base.js +0 -32
  162. package/@tencent/polaris/dist/plugins/lb/base.js.map +0 -1
  163. package/@tencent/polaris/dist/plugins/lb/edf.d.ts +0 -24
  164. package/@tencent/polaris/dist/plugins/lb/edf.js +0 -77
  165. package/@tencent/polaris/dist/plugins/lb/edf.js.map +0 -1
  166. package/@tencent/polaris/dist/plugins/lb/hashring.d.ts +0 -24
  167. package/@tencent/polaris/dist/plugins/lb/hashring.js +0 -53
  168. package/@tencent/polaris/dist/plugins/lb/hashring.js.map +0 -1
  169. package/@tencent/polaris/dist/plugins/lb/sticky.d.ts +0 -31
  170. package/@tencent/polaris/dist/plugins/lb/sticky.js +0 -88
  171. package/@tencent/polaris/dist/plugins/lb/sticky.js.map +0 -1
  172. package/@tencent/polaris/dist/plugins/lb/swrr.d.ts +0 -25
  173. package/@tencent/polaris/dist/plugins/lb/swrr.js +0 -72
  174. package/@tencent/polaris/dist/plugins/lb/swrr.js.map +0 -1
  175. package/@tencent/polaris/dist/plugins/lb/wr.d.ts +0 -17
  176. package/@tencent/polaris/dist/plugins/lb/wr.js +0 -50
  177. package/@tencent/polaris/dist/plugins/lb/wr.js.map +0 -1
  178. package/@tencent/polaris/dist/plugins/lb/wrr.d.ts +0 -19
  179. package/@tencent/polaris/dist/plugins/lb/wrr.js +0 -81
  180. package/@tencent/polaris/dist/plugins/lb/wrr.js.map +0 -1
  181. package/@tencent/polaris/dist/plugins/logging/console.d.ts +0 -10
  182. package/@tencent/polaris/dist/plugins/logging/console.js +0 -38
  183. package/@tencent/polaris/dist/plugins/logging/console.js.map +0 -1
  184. package/@tencent/polaris/dist/plugins/naming/local-server/index.d.ts +0 -32
  185. package/@tencent/polaris/dist/plugins/naming/local-server/index.js +0 -88
  186. package/@tencent/polaris/dist/plugins/naming/local-server/index.js.map +0 -1
  187. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.d.ts +0 -124
  188. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js +0 -398
  189. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js.map +0 -1
  190. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.d.ts +0 -27
  191. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js +0 -287
  192. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js.map +0 -1
  193. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.d.ts +0 -15
  194. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js +0 -43
  195. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js.map +0 -1
  196. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.d.ts +0 -28
  197. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js +0 -249
  198. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js.map +0 -1
  199. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.d.ts +0 -19
  200. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js +0 -222
  201. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js.map +0 -1
  202. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.d.ts +0 -26
  203. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js +0 -99
  204. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js.map +0 -1
  205. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.d.ts +0 -60
  206. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js +0 -259
  207. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js.map +0 -1
  208. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/discover.proto +0 -24
  209. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/monitor.proto +0 -18
  210. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/ratelimit.proto +0 -12
  211. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.d.ts +0 -39
  212. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js +0 -115
  213. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js.map +0 -1
  214. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/api.proto +0 -24
  215. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/client.proto +0 -22
  216. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/model.proto +0 -28
  217. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/ratelimit.proto +0 -80
  218. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/request.proto +0 -18
  219. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/response.proto +0 -65
  220. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/routing.proto +0 -66
  221. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/service.proto +0 -95
  222. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/types.d.ts +0 -1568
  223. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.d.ts +0 -36
  224. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.js +0 -51
  225. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.js.map +0 -1
  226. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/api.proto +0 -18
  227. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto +0 -67
  228. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/request.proto +0 -82
  229. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/response.proto +0 -11
  230. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkcache.proto +0 -46
  231. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto +0 -16
  232. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdktoken.proto +0 -10
  233. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/types.d.ts +0 -1102
  234. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.d.ts +0 -29
  235. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js +0 -77
  236. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js.map +0 -1
  237. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/api.proto +0 -12
  238. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/ratelimit.proto +0 -28
  239. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/types.d.ts +0 -395
  240. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.d.ts +0 -13
  241. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js +0 -116
  242. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js.map +0 -1
  243. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.d.ts +0 -67
  244. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.js +0 -67
  245. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.js.map +0 -1
  246. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.d.ts +0 -99
  247. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js +0 -217
  248. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js.map +0 -1
  249. package/@tencent/polaris/dist/plugins/registry/memory.d.ts +0 -10
  250. package/@tencent/polaris/dist/plugins/registry/memory.js +0 -50
  251. package/@tencent/polaris/dist/plugins/registry/memory.js.map +0 -1
  252. package/@tencent/polaris/dist/plugins/router/polaris/nearby.d.ts +0 -51
  253. package/@tencent/polaris/dist/plugins/router/polaris/nearby.js +0 -145
  254. package/@tencent/polaris/dist/plugins/router/polaris/nearby.js.map +0 -1
  255. package/@tencent/polaris/dist/plugins/router/polaris/rule.d.ts +0 -11
  256. package/@tencent/polaris/dist/plugins/router/polaris/rule.js +0 -174
  257. package/@tencent/polaris/dist/plugins/router/polaris/rule.js.map +0 -1
  258. package/@tencent/polaris/dist/plugins/router/trpc/canary.d.ts +0 -25
  259. package/@tencent/polaris/dist/plugins/router/trpc/canary.js +0 -36
  260. package/@tencent/polaris/dist/plugins/router/trpc/canary.js.map +0 -1
  261. package/@tencent/polaris/dist/plugins/router/trpc/env.d.ts +0 -10
  262. package/@tencent/polaris/dist/plugins/router/trpc/env.js +0 -34
  263. package/@tencent/polaris/dist/plugins/router/trpc/env.js.map +0 -1
  264. package/@tencent/polaris/dist/plugins/router/trpc/set.d.ts +0 -56
  265. package/@tencent/polaris/dist/plugins/router/trpc/set.js +0 -106
  266. package/@tencent/polaris/dist/plugins/router/trpc/set.js.map +0 -1
  267. package/@tencent/polaris/dist/plugins/shaping/unirate.d.ts +0 -31
  268. package/@tencent/polaris/dist/plugins/shaping/unirate.js +0 -124
  269. package/@tencent/polaris/dist/plugins/shaping/unirate.js.map +0 -1
  270. package/@tencent/polaris/dist/plugins/shaping/warmup.d.ts +0 -61
  271. package/@tencent/polaris/dist/plugins/shaping/warmup.js +0 -171
  272. package/@tencent/polaris/dist/plugins/shaping/warmup.js.map +0 -1
  273. package/@tencent/polaris/dist/plugins/weight/polaris.d.ts +0 -23
  274. package/@tencent/polaris/dist/plugins/weight/polaris.js +0 -159
  275. package/@tencent/polaris/dist/plugins/weight/polaris.js.map +0 -1
  276. package/@tencent/polaris/dist/plugins.d.ts +0 -619
  277. package/@tencent/polaris/dist/plugins.js +0 -91
  278. package/@tencent/polaris/dist/plugins.js.map +0 -1
  279. package/@tencent/polaris/dist/polaris.d.ts +0 -33
  280. package/@tencent/polaris/dist/polaris.js +0 -59
  281. package/@tencent/polaris/dist/polaris.js.map +0 -1
  282. package/@tencent/polaris/dist/provider/index.d.ts +0 -102
  283. package/@tencent/polaris/dist/provider/index.js +0 -168
  284. package/@tencent/polaris/dist/provider/index.js.map +0 -1
  285. package/@tencent/polaris/dist/registry.d.ts +0 -174
  286. package/@tencent/polaris/dist/registry.js +0 -660
  287. package/@tencent/polaris/dist/registry.js.map +0 -1
  288. package/@tencent/polaris/dist/rules.d.ts +0 -163
  289. package/@tencent/polaris/dist/rules.js +0 -24
  290. package/@tencent/polaris/dist/rules.js.map +0 -1
  291. package/@tencent/polaris/dist/scripts/postinstall.d.ts +0 -1
  292. package/@tencent/polaris/dist/scripts/postinstall.js +0 -71
  293. package/@tencent/polaris/dist/scripts/postinstall.js.map +0 -1
  294. package/@tencent/polaris/dist/service.d.ts +0 -18
  295. package/@tencent/polaris/dist/service.js +0 -3
  296. package/@tencent/polaris/dist/service.js.map +0 -1
  297. package/@tencent/polaris/dist/skeleton.d.ts +0 -87
  298. package/@tencent/polaris/dist/skeleton.js +0 -282
  299. package/@tencent/polaris/dist/skeleton.js.map +0 -1
  300. package/@tencent/polaris/dist/utils.d.ts +0 -36
  301. package/@tencent/polaris/dist/utils.js +0 -74
  302. package/@tencent/polaris/dist/utils.js.map +0 -1
  303. package/@tencent/polaris/dist/weak.d.ts +0 -11
  304. package/@tencent/polaris/dist/weak.js +0 -44
  305. package/@tencent/polaris/dist/weak.js.map +0 -1
  306. package/@tencent/polaris/package.json +0 -114
  307. package/resource/doc/chatuikit/react/integrate_tuichat_only_react.md +0 -185
  308. package/resource/doc/chatuikit/react/integrate_tuichat_react.md +0 -212
  309. package/resource/doc/chatuikit/vue/integrate_tuichat_only_vue.md +0 -149
  310. package/resource/doc/chatuikit/vue/integrate_tuichat_vue.md +0 -248
  311. package/streamableHttp.js +0 -74
  312. package/streamableHttp.js.map +0 -1
  313. /package/resource/doc/chatuikit/{iOS → ios}/client_api_iOS.md +0 -0
  314. /package/resource/doc/chatuikit/{iOS → ios}/integrate_tuichat_only_iOS.md +0 -0
  315. /package/resource/doc/chatuikit/{iOS → ios}/integrate_tuikit_iOS.md +0 -0
  316. /package/resource/doc/chatuikit/{iOS → ios}/ui_api_iOS.md +0 -0
  317. /package/resource/doc/tuicallkit/{iOS → ios}/api_TUICallKit.md +0 -0
  318. /package/resource/doc/tuicallkit/{iOS → ios}/api_TUICallObserver.md +0 -0
  319. /package/resource/doc/tuicallkit/{iOS → ios}/how_to_integrated_iOS_callkit.md +0 -0
  320. /package/resource/doc/tuicallkit/{iOS → ios}/how_to_run_iOS_callkit_demo.md +0 -0
@@ -1,248 +0,0 @@
1
- ## chat-uikit-vue3 介绍
2
-
3
- chat-uikit-vue3 是基于腾讯云 Chat SDK 的一款 vue3 UI 组件库,它提供了一些通用的 UI 组件,包含会话、聊天、群组等功能。基于这些精心设计的 UI 组件,您可以快速构建优雅的、可靠的、可扩展的 Chat 应用。 chat-uikit-vue3 界面效果如下图所示:
4
-
5
- 您可以在线体验:[Web Demo](https://web.sdk.qcloud.com/im/demo/react/index.html?scene=social)
6
-
7
- **TUIKit Web 端**界面效果如下图所示:
8
-
9
-
10
-
11
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/448b9f3a822511f0840d525400454e06.png)
12
-
13
-
14
- **TUIKit H5 端**界面效果如下图所示:
15
-
16
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/dbb524d6822511f0840d525400454e06.png)
17
-
18
-
19
- ## 开发环境要求
20
- - vue3
21
-
22
- - TypeScript
23
-
24
- - node(node.js ≥ 16.0.0)
25
-
26
- - npm(版本请与 node 版本匹配)
27
-
28
-
29
- ## chat-uikit-vue3 集成
30
-
31
- ### 步骤1:创建项目
32
- 1. 创建一个新的名称为 **chat-example** 的 Vue3 项目,您可自行选择是否需要使用 ts 模板。
33
-
34
-
35
-
36
- 【shell】
37
- ``` bash
38
- npm create vite@latest
39
- ```
40
- 2. 创建项目完成后,切换到项目所在目录。
41
-
42
-
43
-
44
- 【shell】
45
- ``` bash
46
- cd chat-example
47
- npm install
48
- ```
49
-
50
- ### 步骤2:下载 chat-uikit-vue3 组件
51
-
52
-
53
- 【shell】
54
- ``` bash
55
- npm i @tencentcloud/chat-uikit-vue3
56
- ```
57
-
58
- ### 步骤3:引入 chat-uikit-vue3 组件
59
-
60
- > **注意:**
61
- >
62
- > - 以下代码中未填入 `SDKAppID`、`userID` 和 `userSig`,需在 [步骤4](https://write.woa.com/#step4) 中获取相关信息后进行替换。
63
- > - 为了尊重表情符号设计的版权,Demo/UIKit 项目不包括大型表情元素的剪切图。请在正式商业发布之前,用您自己设计或拥有版权的表情包替换它们。默认的小黄脸表情包由腾讯云拥有版权,并可以收费授权。如果您希望获得授权,请提交工单与我们联系。
64
-
65
- ``` typescript
66
- <template>
67
- <UIKitProvider>
68
- <div class="chat-layout">
69
- <div class="sidebar" style="width: 300px;">
70
- <div class="tab-header">
71
- <button
72
- :class="['tab-button', { active: activeTab === 'conversations' }]"
73
- @click="activeTab = 'conversations'"
74
- >
75
- 会话
76
- </button>
77
- <button
78
- :class="['tab-button', { active: activeTab === 'contacts' }]"
79
- @click="activeTab = 'contacts'"
80
- >
81
- 联系人
82
- </button>
83
- </div>
84
-
85
- <div class="tab-content">
86
- <ConversationList v-if="activeTab === 'conversations'" />
87
- <ContactList v-else />
88
- </div>
89
- </div>
90
-
91
- <Chat style="flex: 1;" v-if="activeTab === 'conversations'">
92
- <ChatHeader />
93
- <MessageList />
94
- <MessageInput />
95
- </Chat>
96
- <ContactInfo v-else style="flex: 1;" @send-message="handleSendMessage" />
97
- </div>
98
- </UIKitProvider>
99
- </template>
100
-
101
- <script setup lang="ts">
102
- import { ref } from 'vue';
103
- import {
104
- ConversationList,
105
- Chat,
106
- MessageList,
107
- MessageInput,
108
- ChatHeader,
109
- ContactList,
110
- ContactInfo,
111
- UIKitProvider,
112
- useLoginState,
113
- } from '@tencentcloud/chat-uikit-vue3';
114
-
115
- const config = {
116
- sdkAppId : 0, // SDKAppID, 可以参考步骤 4 获取
117
- userId: 'xxx', // UserID, 可以参考步骤 4 获取
118
- userSig: 'xxx', // userSig, 可以参考步骤 4 获取
119
- }
120
-
121
- const { login } = useLoginState();
122
- const activeTab = ref<'conversations' | 'contacts'>('conversations');
123
-
124
- login({
125
- ...config,
126
- useUploadPlugin: true
127
- })
128
- .then(() => {})
129
- .catch(() => {});
130
- const handleSendMessage = () => {
131
- activeTab.value = 'conversations';
132
- }
133
- </script>
134
-
135
- <style scoped>
136
- .chat-layout {
137
- width: 100vw;
138
- height: 100vh;
139
- display: flex;
140
- }
141
-
142
- .sidebar {
143
- display: flex;
144
- flex-direction: column;
145
- border-right: 1px solid #e5e7eb;
146
- }
147
-
148
- .tab-header {
149
- display: flex;
150
- border-bottom: 1px solid #e5e7eb;
151
- }
152
-
153
- .tab-button {
154
- flex: 1;
155
- padding: 12px 16px;
156
- background: none;
157
- border: none;
158
- cursor: pointer;
159
- font-size: 14px;
160
- color: #6b7280;
161
- transition: all 0.2s;
162
- }
163
-
164
- .tab-button.active {
165
- color: #3b82f6;
166
- background-color: #eff6ff;
167
- border-bottom: 2px solid #3b82f6;
168
- }
169
-
170
- .tab-content {
171
- flex: 1;
172
- overflow: hidden;
173
- }
174
- </style>
175
- ```
176
-
177
- ### 步骤4:获取 SDKAppID、userID 和 userSig
178
- - SDKAppID:SDKAppID 是腾讯云 IM 服务区分客户账号的唯一标识。我们建议每一个独立的 App 都申请一个新的 SDKAppID。不同 SDKAppID 之间的消息是天然隔离的,不能互通。
179
-
180
-
181
- 您可以在 [即时通信 IM 控制台](https://console.cloud.tencent.com/im) 查看所有的 SDKAppID,单击**创建新应用**,可以创建新的 SDKAppID。
182
-
183
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/2572e2a350d311f0adb15254005ef0f7.png)
184
-
185
- - userID:可通过单击 [ 即时通信 IM 控制台 -【账号管理】](https://console.cloud.tencent.com/im/account-management),切换至目标应用所在账号,即可创建账号并获取 userID。
186
-
187
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/2568297950d311f0a6ac525400bf7822.png)
188
-
189
- - userSig:可单击 [ 即时通信 IM 控制台 > 开发工具 > UserSig生成&校验](https://console.cloud.tencent.com/im/tool-usersig),填写创建的 userID,即可生成 userSig。
190
-
191
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/2576e73950d311f0abce52540099c741.png)
192
-
193
-
194
- ### 步骤5:启动项目
195
-
196
-
197
- 【shell】
198
- ``` bash
199
- npm run dev
200
- ```
201
-
202
- > **注意:**
203
- >
204
- > 1. 请确保 [步骤3](https://write.woa.com/#step3) 代码中 SDKAppID、userID 和 userSig 均已成功替换,如未替换将会导致项目表现异常。
205
- > 2. userID 和 userSig 为一一对应关系,具体参见 生成 UserSig。
206
- > 3. 如遇到项目启动失败,请检查 开发环境要求 是否满足。
207
-
208
-
209
- ### 步骤6:发送您的第一条消息
210
- 1. 项目启动成功后,切换到联系人,点击添加好友。
211
-
212
- 2. 在输入框中搜索另一个用户的 userID(参考:[步骤4 -> 创建账号并获取 `userID`](https://write.woa.com/#step4))。
213
-
214
- 3. 添加好友成功后,打开好友列表,发送消息。
215
-
216
- 4. 在输入框输入消息,按下 **enter **键发送。
217
-
218
-
219
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/afaf6aa6822711f08aa952540099c741.gif)
220
-
221
-
222
- ## 常见问题
223
-
224
- #### 什么是 UserSig?
225
-
226
- UserSig 是用户登录即时通信 IM 的密码,其本质是对 UserID 等信息加密后得到的密文。
227
-
228
- #### 如何生成 UserSig?
229
-
230
- UserSig 签发方式是将 UserSig 的计算代码集成到您的服务端,并提供面向项目的接口,在需要 UserSig 时由您的项目向业务服务器发起请求获取动态 UserSig。更多详情请参见 [服务端生成 UserSig](https://cloud.tencent.com/document/product/269/32688)。
231
-
232
- > **注意:**
233
- >
234
-
235
- > 本文示例代码采用的获取 UserSig 的方案是在客户端代码中配置 SECRETKEY,该方法中 SECRETKEY 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量,因此**该方法仅适合本地跑通功能调试**。 正确的 UserSig 签发方式请参见上文。
236
- >
237
-
238
-
239
- ## 相关文档
240
- - [chat-uikit-vue3 npm](https://www.npmjs.com/package/@tencentcloud/chat-uikit-vue3)
241
-
242
- - [github Demo](https://github.com/Tencent-RTC/TUIKit_Vue3/tree/main/demos/rtcube-vite-vue3)
243
-
244
-
245
- ## 交流与反馈
246
-
247
- 如遇任何问题,可联系 [官网售后](https://cloud.tencent.com/act/event/connect-service#/) 反馈,享有专业工程师的支持,解决您的难题。
248
-
package/streamableHttp.js DELETED
@@ -1,74 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const express_1 = __importDefault(require("express"));
7
- const streamableHttp_js_1 = require("@modelcontextprotocol/sdk/server/streamableHttp.js");
8
- const server_js_1 = require("./server.js");
9
- const app = (0, express_1.default)();
10
- app.use(express_1.default.json());
11
- const server = (0, server_js_1.createServer)();
12
- const transport = new streamableHttp_js_1.StreamableHTTPServerTransport({
13
- sessionIdGenerator: undefined, // set to undefined for stateless servers
14
- });
15
- // Setup routes for the server
16
- const setupServer = async () => {
17
- await server.connect(transport);
18
- };
19
- app.post('/mcp', async (req, res) => {
20
- console.log('Received MCP request:', req.body);
21
- try {
22
- await transport.handleRequest(req, res, req.body);
23
- }
24
- catch (error) {
25
- console.error('Error handling MCP request:', error);
26
- if (!res.headersSent) {
27
- res.status(500).json({
28
- jsonrpc: '2.0',
29
- error: {
30
- code: -32603,
31
- message: 'Internal server error',
32
- },
33
- id: null,
34
- });
35
- }
36
- }
37
- });
38
- app.get('/mcp', async (req, res) => {
39
- console.log('Received GET MCP request');
40
- res.writeHead(405).end(JSON.stringify({
41
- jsonrpc: "2.0",
42
- error: {
43
- code: -32000,
44
- message: "Method not allowed."
45
- },
46
- id: null
47
- }));
48
- });
49
- app.delete('/mcp', async (req, res) => {
50
- console.log('Received DELETE MCP request');
51
- res.writeHead(405).end(JSON.stringify({
52
- jsonrpc: "2.0",
53
- error: {
54
- code: -32000,
55
- message: "Method not allowed."
56
- },
57
- id: null
58
- }));
59
- });
60
- // Start the server
61
- const PORT = process.env.PORT || 3088;
62
- setupServer().then(() => {
63
- app.listen(PORT, (error) => {
64
- if (error) {
65
- console.error('Failed to start server:', error);
66
- process.exit(1);
67
- }
68
- console.log(`Weather MCP Server listening on port ${PORT}`);
69
- });
70
- }).catch(error => {
71
- console.error('Failed to set up the server:', error);
72
- process.exit(1);
73
- });
74
- //# sourceMappingURL=streamableHttp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"streamableHttp.js","sourceRoot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