@cometchat/skills 4.0.0 → 4.2.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.
Files changed (258) hide show
  1. package/README.md +42 -2
  2. package/bin/install.js +448 -57
  3. package/package.json +1 -1
  4. package/skills/cometchat/SKILL.md +337 -80
  5. package/skills/cometchat-a11y/SKILL.md +476 -0
  6. package/skills/cometchat-android-v5/SKILL.md +1 -1
  7. package/skills/cometchat-android-v5-calls/SKILL.md +413 -0
  8. package/skills/cometchat-android-v5-calls/references/README.md +53 -0
  9. package/skills/cometchat-android-v5-calls/references/add-calls-to-existing-chat.md +195 -0
  10. package/skills/cometchat-android-v5-calls/references/audio-controls.md +91 -0
  11. package/skills/cometchat-android-v5-calls/references/background-handling.md +168 -0
  12. package/skills/cometchat-android-v5-calls/references/call-layouts.md +123 -0
  13. package/skills/cometchat-android-v5-calls/references/call-logs.md +113 -0
  14. package/skills/cometchat-android-v5-calls/references/call-session.md +274 -0
  15. package/skills/cometchat-android-v5-calls/references/custom-ui.md +150 -0
  16. package/skills/cometchat-android-v5-calls/references/event-listeners.md +123 -0
  17. package/skills/cometchat-android-v5-calls/references/group-calls.md +205 -0
  18. package/skills/cometchat-android-v5-calls/references/idle-timeout.md +111 -0
  19. package/skills/cometchat-android-v5-calls/references/in-call-chat.md +134 -0
  20. package/skills/cometchat-android-v5-calls/references/join-session.md +120 -0
  21. package/skills/cometchat-android-v5-calls/references/migration-v4-to-v5.md +206 -0
  22. package/skills/cometchat-android-v5-calls/references/participant-management.md +110 -0
  23. package/skills/cometchat-android-v5-calls/references/picture-in-picture.md +106 -0
  24. package/skills/cometchat-android-v5-calls/references/raise-hand.md +242 -0
  25. package/skills/cometchat-android-v5-calls/references/recording.md +101 -0
  26. package/skills/cometchat-android-v5-calls/references/ringing-integration.md +152 -0
  27. package/skills/cometchat-android-v5-calls/references/screen-sharing.md +82 -0
  28. package/skills/cometchat-android-v5-calls/references/server-fcm-voip.md +215 -0
  29. package/skills/cometchat-android-v5-calls/references/session-settings.md +121 -0
  30. package/skills/cometchat-android-v5-calls/references/setup.md +137 -0
  31. package/skills/cometchat-android-v5-calls/references/share-invite.md +151 -0
  32. package/skills/cometchat-android-v5-calls/references/video-controls.md +87 -0
  33. package/skills/cometchat-android-v5-calls/references/voip-calling.md +526 -0
  34. package/skills/cometchat-android-v5-components/SKILL.md +1 -1
  35. package/skills/cometchat-android-v5-core/SKILL.md +1 -1
  36. package/skills/cometchat-android-v5-customization/SKILL.md +1 -1
  37. package/skills/cometchat-android-v5-extensions/SKILL.md +1 -1
  38. package/skills/cometchat-android-v5-features/SKILL.md +1 -1
  39. package/skills/cometchat-android-v5-placement/SKILL.md +1 -1
  40. package/skills/cometchat-android-v5-production/SKILL.md +1 -1
  41. package/skills/cometchat-android-v5-push/SKILL.md +1 -1
  42. package/skills/cometchat-android-v5-testing/SKILL.md +1 -1
  43. package/skills/cometchat-android-v5-theming/SKILL.md +1 -1
  44. package/skills/cometchat-android-v5-troubleshooting/SKILL.md +1 -1
  45. package/skills/cometchat-android-v6/SKILL.md +1 -1
  46. package/skills/cometchat-android-v6-builder-settings/SKILL.md +1 -1
  47. package/skills/cometchat-android-v6-calls/SKILL.md +375 -0
  48. package/skills/cometchat-android-v6-calls/references/add-calls-to-existing-chat.md +97 -0
  49. package/skills/cometchat-android-v6-calls/references/call-layouts.md +91 -0
  50. package/skills/cometchat-android-v6-calls/references/call-session.md +163 -0
  51. package/skills/cometchat-android-v6-calls/references/device-management.md +171 -0
  52. package/skills/cometchat-android-v6-calls/references/group-calls.md +191 -0
  53. package/skills/cometchat-android-v6-calls/references/idle-timeout.md +107 -0
  54. package/skills/cometchat-android-v6-calls/references/in-call-chat.md +136 -0
  55. package/skills/cometchat-android-v6-calls/references/raise-hand.md +186 -0
  56. package/skills/cometchat-android-v6-calls/references/ringing-integration.md +176 -0
  57. package/skills/cometchat-android-v6-calls/references/server-fcm-voip.md +127 -0
  58. package/skills/cometchat-android-v6-calls/references/share-invite.md +105 -0
  59. package/skills/cometchat-android-v6-compose-components/SKILL.md +2 -2
  60. package/skills/cometchat-android-v6-compose-customization/SKILL.md +1 -1
  61. package/skills/cometchat-android-v6-compose-placement/SKILL.md +1 -1
  62. package/skills/cometchat-android-v6-compose-theming/SKILL.md +1 -1
  63. package/skills/cometchat-android-v6-core/SKILL.md +1 -1
  64. package/skills/cometchat-android-v6-events/SKILL.md +1 -1
  65. package/skills/cometchat-android-v6-extensions/SKILL.md +1 -1
  66. package/skills/cometchat-android-v6-features/SKILL.md +1 -1
  67. package/skills/cometchat-android-v6-kotlin-components/SKILL.md +1 -1
  68. package/skills/cometchat-android-v6-kotlin-customization/SKILL.md +1 -1
  69. package/skills/cometchat-android-v6-kotlin-placement/SKILL.md +1 -1
  70. package/skills/cometchat-android-v6-kotlin-theming/SKILL.md +1 -1
  71. package/skills/cometchat-android-v6-migration/SKILL.md +398 -0
  72. package/skills/cometchat-android-v6-production/SKILL.md +1 -1
  73. package/skills/cometchat-android-v6-push/SKILL.md +1 -1
  74. package/skills/cometchat-android-v6-testing/SKILL.md +1 -1
  75. package/skills/cometchat-android-v6-troubleshooting/SKILL.md +1 -1
  76. package/skills/cometchat-angular-calls/SKILL.md +511 -0
  77. package/skills/cometchat-angular-calls/references/add-calls-to-existing-chat.md +95 -0
  78. package/skills/cometchat-angular-calls/references/call-layouts.md +106 -0
  79. package/skills/cometchat-angular-calls/references/call-session.md +167 -0
  80. package/skills/cometchat-angular-calls/references/custom-ui.md +231 -0
  81. package/skills/cometchat-angular-calls/references/device-management.md +135 -0
  82. package/skills/cometchat-angular-calls/references/group-calls.md +412 -0
  83. package/skills/cometchat-angular-calls/references/idle-timeout.md +145 -0
  84. package/skills/cometchat-angular-calls/references/in-call-chat.md +148 -0
  85. package/skills/cometchat-angular-calls/references/lazy-loading-pitfalls.md +205 -0
  86. package/skills/cometchat-angular-calls/references/migration-v4-to-v5.md +53 -0
  87. package/skills/cometchat-angular-calls/references/ngzone-and-async-callbacks.md +183 -0
  88. package/skills/cometchat-angular-calls/references/picture-in-picture.md +285 -0
  89. package/skills/cometchat-angular-calls/references/raise-hand.md +167 -0
  90. package/skills/cometchat-angular-calls/references/recording-screen-share.md +267 -0
  91. package/skills/cometchat-angular-calls/references/ringing-integration.md +131 -0
  92. package/skills/cometchat-angular-calls/references/server-web-push-vapid.md +100 -0
  93. package/skills/cometchat-angular-calls/references/share-invite.md +116 -0
  94. package/skills/cometchat-angular-components/SKILL.md +1 -1
  95. package/skills/cometchat-angular-core/SKILL.md +1 -1
  96. package/skills/cometchat-angular-customization/SKILL.md +1 -1
  97. package/skills/cometchat-angular-features/SKILL.md +1 -1
  98. package/skills/cometchat-angular-patterns/SKILL.md +1 -1
  99. package/skills/cometchat-angular-placement/SKILL.md +1 -1
  100. package/skills/cometchat-angular-production/SKILL.md +1 -1
  101. package/skills/cometchat-angular-push/SKILL.md +403 -0
  102. package/skills/cometchat-angular-testing/SKILL.md +333 -0
  103. package/skills/cometchat-angular-theming/SKILL.md +1 -1
  104. package/skills/cometchat-angular-troubleshooting/SKILL.md +1 -1
  105. package/skills/cometchat-astro-patterns/SKILL.md +1 -1
  106. package/skills/cometchat-calls/SKILL.md +358 -0
  107. package/skills/cometchat-calls/references/use-case-broadcast.md +194 -0
  108. package/skills/cometchat-calls/references/use-case-marketplace.md +158 -0
  109. package/skills/cometchat-calls/references/use-case-support.md +190 -0
  110. package/skills/cometchat-calls/references/use-case-team.md +169 -0
  111. package/skills/cometchat-calls/references/use-case-telehealth.md +154 -0
  112. package/skills/cometchat-components/SKILL.md +1 -1
  113. package/skills/cometchat-core/SKILL.md +1 -1
  114. package/skills/cometchat-customization/SKILL.md +2 -2
  115. package/skills/cometchat-features/SKILL.md +2 -2
  116. package/skills/cometchat-flutter-v5/SKILL.md +1 -1
  117. package/skills/cometchat-flutter-v5-calls/SKILL.md +325 -94
  118. package/skills/cometchat-flutter-v5-calls/references/add-calls-to-existing-chat.md +169 -0
  119. package/skills/cometchat-flutter-v5-calls/references/call-layouts.md +98 -0
  120. package/skills/cometchat-flutter-v5-calls/references/call-session.md +330 -0
  121. package/skills/cometchat-flutter-v5-calls/references/device-management.md +120 -0
  122. package/skills/cometchat-flutter-v5-calls/references/group-calls.md +187 -0
  123. package/skills/cometchat-flutter-v5-calls/references/idle-timeout.md +97 -0
  124. package/skills/cometchat-flutter-v5-calls/references/in-call-chat.md +132 -0
  125. package/skills/cometchat-flutter-v5-calls/references/migration-v4-to-v5.md +160 -0
  126. package/skills/cometchat-flutter-v5-calls/references/raise-hand.md +244 -0
  127. package/skills/cometchat-flutter-v5-calls/references/ringing-integration.md +193 -0
  128. package/skills/cometchat-flutter-v5-calls/references/server-push-bridge.md +101 -0
  129. package/skills/cometchat-flutter-v5-calls/references/share-invite.md +142 -0
  130. package/skills/cometchat-flutter-v5-conversations/SKILL.md +1 -1
  131. package/skills/cometchat-flutter-v5-core/SKILL.md +1 -1
  132. package/skills/cometchat-flutter-v5-customization/SKILL.md +1 -1
  133. package/skills/cometchat-flutter-v5-events/SKILL.md +1 -1
  134. package/skills/cometchat-flutter-v5-messages/SKILL.md +1 -1
  135. package/skills/cometchat-flutter-v5-production/SKILL.md +1 -1
  136. package/skills/cometchat-flutter-v5-push/SKILL.md +1 -1
  137. package/skills/cometchat-flutter-v5-testing/SKILL.md +390 -0
  138. package/skills/cometchat-flutter-v5-theming/SKILL.md +1 -1
  139. package/skills/cometchat-flutter-v5-troubleshooting/SKILL.md +1 -1
  140. package/skills/cometchat-flutter-v5-users-groups/SKILL.md +1 -1
  141. package/skills/cometchat-flutter-v6/SKILL.md +1 -1
  142. package/skills/cometchat-flutter-v6-calls/SKILL.md +308 -243
  143. package/skills/cometchat-flutter-v6-calls/references/add-calls-to-existing-chat.md +134 -0
  144. package/skills/cometchat-flutter-v6-calls/references/call-layouts.md +102 -0
  145. package/skills/cometchat-flutter-v6-calls/references/call-session.md +229 -0
  146. package/skills/cometchat-flutter-v6-calls/references/device-management.md +99 -0
  147. package/skills/cometchat-flutter-v6-calls/references/group-calls.md +190 -0
  148. package/skills/cometchat-flutter-v6-calls/references/idle-timeout.md +80 -0
  149. package/skills/cometchat-flutter-v6-calls/references/in-call-chat.md +122 -0
  150. package/skills/cometchat-flutter-v6-calls/references/raise-hand.md +268 -0
  151. package/skills/cometchat-flutter-v6-calls/references/ringing-integration.md +171 -0
  152. package/skills/cometchat-flutter-v6-calls/references/server-push-bridge.md +93 -0
  153. package/skills/cometchat-flutter-v6-calls/references/share-invite.md +102 -0
  154. package/skills/cometchat-flutter-v6-components/SKILL.md +1 -1
  155. package/skills/cometchat-flutter-v6-conversations/SKILL.md +1 -1
  156. package/skills/cometchat-flutter-v6-core/SKILL.md +1 -1
  157. package/skills/cometchat-flutter-v6-customization/SKILL.md +1 -1
  158. package/skills/cometchat-flutter-v6-events/SKILL.md +1 -1
  159. package/skills/cometchat-flutter-v6-features/SKILL.md +1 -1
  160. package/skills/cometchat-flutter-v6-messages/SKILL.md +1 -1
  161. package/skills/cometchat-flutter-v6-migration/SKILL.md +1 -1
  162. package/skills/cometchat-flutter-v6-placement/SKILL.md +1 -1
  163. package/skills/cometchat-flutter-v6-production/SKILL.md +1 -1
  164. package/skills/cometchat-flutter-v6-push/SKILL.md +452 -0
  165. package/skills/cometchat-flutter-v6-testing/SKILL.md +319 -0
  166. package/skills/cometchat-flutter-v6-theming/SKILL.md +1 -1
  167. package/skills/cometchat-flutter-v6-troubleshooting/SKILL.md +1 -1
  168. package/skills/cometchat-flutter-v6-users-groups/SKILL.md +1 -1
  169. package/skills/cometchat-i18n/SKILL.md +358 -0
  170. package/skills/cometchat-ios/SKILL.md +5 -5
  171. package/skills/cometchat-ios-calls/SKILL.md +409 -0
  172. package/skills/cometchat-ios-calls/references/add-calls-to-existing-chat.md +172 -0
  173. package/skills/cometchat-ios-calls/references/avaudiosession-routing.md +189 -0
  174. package/skills/cometchat-ios-calls/references/call-layouts.md +136 -0
  175. package/skills/cometchat-ios-calls/references/call-session.md +221 -0
  176. package/skills/cometchat-ios-calls/references/callkit-and-pushkit.md +353 -0
  177. package/skills/cometchat-ios-calls/references/custom-ui.md +322 -0
  178. package/skills/cometchat-ios-calls/references/device-management.md +171 -0
  179. package/skills/cometchat-ios-calls/references/group-calls.md +396 -0
  180. package/skills/cometchat-ios-calls/references/idle-timeout.md +185 -0
  181. package/skills/cometchat-ios-calls/references/in-call-chat.md +183 -0
  182. package/skills/cometchat-ios-calls/references/migration-v4-to-v5.md +138 -0
  183. package/skills/cometchat-ios-calls/references/picture-in-picture.md +246 -0
  184. package/skills/cometchat-ios-calls/references/raise-hand.md +239 -0
  185. package/skills/cometchat-ios-calls/references/recording-screen-share.md +339 -0
  186. package/skills/cometchat-ios-calls/references/ringing-integration.md +142 -0
  187. package/skills/cometchat-ios-calls/references/server-apns-pushkit.md +267 -0
  188. package/skills/cometchat-ios-calls/references/share-invite.md +152 -0
  189. package/skills/cometchat-ios-calls/references/swiftui-uikit-hosting.md +246 -0
  190. package/skills/cometchat-ios-calls/references/voip-cert-setup.md +166 -0
  191. package/skills/cometchat-ios-components/SKILL.md +1 -1
  192. package/skills/cometchat-ios-core/SKILL.md +1 -1
  193. package/skills/cometchat-ios-customization/SKILL.md +1 -1
  194. package/skills/cometchat-ios-features/SKILL.md +1 -1
  195. package/skills/cometchat-ios-placement/SKILL.md +1 -1
  196. package/skills/cometchat-ios-production/SKILL.md +1 -1
  197. package/skills/cometchat-ios-push/SKILL.md +1 -1
  198. package/skills/cometchat-ios-testing/SKILL.md +371 -0
  199. package/skills/cometchat-ios-theming/SKILL.md +1 -1
  200. package/skills/cometchat-ios-troubleshooting/SKILL.md +1 -1
  201. package/skills/cometchat-native-bare-patterns/SKILL.md +45 -3
  202. package/skills/cometchat-native-calls/SKILL.md +599 -0
  203. package/skills/cometchat-native-calls/references/add-calls-to-existing-chat.md +203 -0
  204. package/skills/cometchat-native-calls/references/call-layouts.md +124 -0
  205. package/skills/cometchat-native-calls/references/call-session.md +182 -0
  206. package/skills/cometchat-native-calls/references/custom-ui.md +250 -0
  207. package/skills/cometchat-native-calls/references/device-management.md +135 -0
  208. package/skills/cometchat-native-calls/references/expo-vs-bare.md +179 -0
  209. package/skills/cometchat-native-calls/references/group-calls.md +291 -0
  210. package/skills/cometchat-native-calls/references/idle-timeout.md +128 -0
  211. package/skills/cometchat-native-calls/references/in-call-chat.md +143 -0
  212. package/skills/cometchat-native-calls/references/migration-v4-to-v5.md +72 -0
  213. package/skills/cometchat-native-calls/references/picture-in-picture.md +276 -0
  214. package/skills/cometchat-native-calls/references/raise-hand.md +203 -0
  215. package/skills/cometchat-native-calls/references/recording-screen-share.md +290 -0
  216. package/skills/cometchat-native-calls/references/ringing-integration.md +118 -0
  217. package/skills/cometchat-native-calls/references/server-push-bridge.md +135 -0
  218. package/skills/cometchat-native-calls/references/server-push-payloads.md +193 -0
  219. package/skills/cometchat-native-calls/references/share-invite.md +144 -0
  220. package/skills/cometchat-native-calls/references/voip-push-end-to-end.md +317 -0
  221. package/skills/cometchat-native-components/SKILL.md +1 -1
  222. package/skills/cometchat-native-core/SKILL.md +1 -1
  223. package/skills/cometchat-native-customization/SKILL.md +1 -1
  224. package/skills/cometchat-native-expo-patterns/SKILL.md +18 -1
  225. package/skills/cometchat-native-features/SKILL.md +1 -1
  226. package/skills/cometchat-native-placement/SKILL.md +1 -1
  227. package/skills/cometchat-native-production/SKILL.md +1 -1
  228. package/skills/cometchat-native-push/SKILL.md +1 -1
  229. package/skills/cometchat-native-testing/SKILL.md +1 -1
  230. package/skills/cometchat-native-theming/SKILL.md +1 -1
  231. package/skills/cometchat-native-troubleshooting/SKILL.md +1 -1
  232. package/skills/cometchat-nextjs-patterns/SKILL.md +1 -1
  233. package/skills/cometchat-placement/SKILL.md +29 -1
  234. package/skills/cometchat-production/SKILL.md +1 -1
  235. package/skills/cometchat-react-calls/SKILL.md +539 -0
  236. package/skills/cometchat-react-calls/references/add-calls-to-existing-chat.md +145 -0
  237. package/skills/cometchat-react-calls/references/call-layouts.md +161 -0
  238. package/skills/cometchat-react-calls/references/call-session.md +235 -0
  239. package/skills/cometchat-react-calls/references/custom-ui.md +201 -0
  240. package/skills/cometchat-react-calls/references/device-management.md +206 -0
  241. package/skills/cometchat-react-calls/references/group-calls.md +262 -0
  242. package/skills/cometchat-react-calls/references/idle-timeout.md +175 -0
  243. package/skills/cometchat-react-calls/references/in-call-chat.md +212 -0
  244. package/skills/cometchat-react-calls/references/migration-v4-to-v5.md +172 -0
  245. package/skills/cometchat-react-calls/references/picture-in-picture.md +245 -0
  246. package/skills/cometchat-react-calls/references/raise-hand.md +238 -0
  247. package/skills/cometchat-react-calls/references/recording-screen-share.md +143 -0
  248. package/skills/cometchat-react-calls/references/ringing-integration.md +255 -0
  249. package/skills/cometchat-react-calls/references/server-web-push-vapid.md +241 -0
  250. package/skills/cometchat-react-calls/references/share-invite.md +176 -0
  251. package/skills/cometchat-react-calls/references/testing-calls-on-web.md +198 -0
  252. package/skills/cometchat-react-calls/references/voip-and-web-push.md +165 -0
  253. package/skills/cometchat-react-patterns/SKILL.md +56 -8
  254. package/skills/cometchat-react-push/SKILL.md +448 -0
  255. package/skills/cometchat-react-router-patterns/SKILL.md +1 -1
  256. package/skills/cometchat-react-testing/SKILL.md +404 -0
  257. package/skills/cometchat-theming/SKILL.md +3 -3
  258. package/skills/cometchat-troubleshooting/SKILL.md +2 -2
@@ -0,0 +1,158 @@
1
+ # Use case — Marketplace (buyer ↔ seller)
2
+
3
+ A peer-to-peer marketplace where buyers and sellers communicate before/during a transaction. The shape: time-bounded chat between matched users, optional 1:1 video for product walkthroughs, communications archived for dispute resolution, identity controls so neither party can recontact post-transaction without going through the platform.
4
+
5
+ **Examples:** OfferUp, Airbnb host/guest messaging, eBay seller-buyer chat with video, Etsy custom-order discussions.
6
+
7
+ ---
8
+
9
+ ## End-to-end flow
10
+
11
+ ```
12
+ 1. Buyer expresses interest in a listing
13
+ → Server creates a CometChat group with both buyer + seller
14
+ → Group lives only for the duration of the deal (auto-archive after N days)
15
+
16
+ 2. Either party can initiate text chat in the group
17
+
18
+ 3. (Optional) Either party can initiate a video call to walk through the product
19
+ → Identity is hidden — call shows "Buyer" or "Seller", not real names
20
+
21
+ 4. Transaction closes (purchase confirmed / canceled)
22
+ → Group is locked: read-only for both parties, archived for dispute resolution
23
+
24
+ 5. After dispute window (90 days typical), group is hard-deleted
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Identity protection
30
+
31
+ Don't expose real names/emails through the SDK. Use **opaque UIDs** that resolve to display strings only via your auth-gated lookup:
32
+
33
+ ```ts
34
+ // On the server, when creating the deal group:
35
+ await cometchatApi.createGroup({
36
+ guid: `deal-${dealId}`,
37
+ members: [
38
+ { uid: `buyer-${buyerId}`, scope: "participant" },
39
+ { uid: `seller-${sellerId}`, scope: "participant" },
40
+ ],
41
+ metadata: {
42
+ dealId,
43
+ expiresAt: Date.now() + 90 * 86400_000,
44
+ },
45
+ });
46
+
47
+ // Client-side: when CometChat returns a UID, resolve display name via your API
48
+ function resolveDisplayName(uid: string, viewerRole: "buyer" | "seller"): string {
49
+ // Only show "Seller" / "Buyer" — not real name
50
+ if (uid.startsWith("seller-")) return viewerRole === "buyer" ? "Seller" : "You";
51
+ if (uid.startsWith("buyer-")) return viewerRole === "seller" ? "Buyer" : "You";
52
+ return "Unknown";
53
+ }
54
+ ```
55
+
56
+ ---
57
+
58
+ ## Recommended call settings
59
+
60
+ ```ts
61
+ const settings = {
62
+ layout: "SPOTLIGHT", // 1:1 focus
63
+ hideChangeLayoutButton: true,
64
+
65
+ hideRecordingButton: true, // No platform-side recording — privacy + dispute via chat archive
66
+ hideShareInviteButton: true, // Buyer ↔ seller only — don't allow inviting
67
+ hideScreenShareButton: false, // Useful for "show me the actual condition"
68
+ hideVirtualBackgroundButton: false, // Privacy — most people are in their home
69
+ hideChatButton: false, // For sharing photos/details mid-call
70
+
71
+ hideRaiseHandButton: true,
72
+ callIdleTime: 600, // 10min idle = end (sometimes deals die)
73
+ };
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Time-bounded access
79
+
80
+ After the deal closes (or expires), revoke access without deleting history:
81
+
82
+ ```ts
83
+ // Server-side, when transaction closes:
84
+ await cometchatApi.updateGroup({
85
+ guid: `deal-${dealId}`,
86
+ metadata: {
87
+ status: "closed",
88
+ closedAt: Date.now(),
89
+ },
90
+ });
91
+ // Lock by switching group to "private" with no joinable handle
92
+ await cometchatApi.kickMembers({ guid, uids: [/* all participants */] });
93
+ ```
94
+
95
+ Or — if your dispute window allows — keep them in the group as **read-only** by checking `metadata.status` client-side and disabling composer:
96
+
97
+ ```tsx
98
+ function DealMessageComposer({ group }: Props) {
99
+ const isClosed = group.metadata?.status === "closed";
100
+ return (
101
+ <CometChatMessageComposer group={group} disabled={isClosed} />
102
+ // (Disable shows the input greyed out with explanation)
103
+ );
104
+ }
105
+ ```
106
+
107
+ ---
108
+
109
+ ## Anti-patterns
110
+
111
+ 1. **Using real user UIDs in CometChat.** Real names leak via SDK events. Always use opaque IDs.
112
+ 2. **Allowing share-invite.** Bypasses identity controls — a savvy user shares the call link to a third party (their lawyer, advocate, etc.). Lock down to invitees only.
113
+ 3. **No expiration.** Old deals' groups pile up. Use `metadata.expiresAt` + nightly cron to delete.
114
+ 4. **Recording calls.** Liability risk — neither party gave consent + you may not be the legal data controller for their home interiors.
115
+ 5. **Cross-platform message routing without checks.** Customer says "find me on WhatsApp" → links pasted in chat → bypass your platform's protection. Run profanity-filter + URL-detection extensions; flag attempts.
116
+
117
+ ---
118
+
119
+ ## Anti-fraud heuristics
120
+
121
+ ```ts
122
+ // Hook into message-sent events
123
+ CometChat.addMessageListener("antifraud", new CometChat.MessageListener({
124
+ onTextMessageReceived: (msg) => {
125
+ const text = msg.getText();
126
+ // Off-platform routing attempts
127
+ const offPlatform = /\b(whatsapp|telegram|signal|wechat|email|@gmail|@yahoo)\b/i;
128
+ // Wire-fraud red flags
129
+ const wireFraud = /\b(western union|moneygram|gift card|crypto|bitcoin|wire transfer)\b/i;
130
+ if (offPlatform.test(text) || wireFraud.test(text)) {
131
+ // Quietly flag for review — don't tip the user that you're watching
132
+ api.flagMessage({ messageId: msg.getId(), reasons: { offPlatform: offPlatform.test(text), wireFraud: wireFraud.test(text) }});
133
+ }
134
+ },
135
+ }));
136
+ ```
137
+
138
+ ---
139
+
140
+ ## Verification checklist
141
+
142
+ - [ ] Opaque UIDs used (no real names in CometChat)
143
+ - [ ] Display names resolved via auth-gated API
144
+ - [ ] `hideShareInviteButton: true`
145
+ - [ ] No platform-side recording
146
+ - [ ] Group `metadata.expiresAt` set + nightly archive job
147
+ - [ ] Anti-fraud message listener wired
148
+ - [ ] Profanity filter + URL detection extensions enabled
149
+ - [ ] Call settings: SPOTLIGHT layout, idle 10min
150
+
151
+ ---
152
+
153
+ ## Pointers
154
+
155
+ - `cometchat-react-calls/references/screen-sharing.md` — for product walkthrough
156
+ - `cometchat-react-extensions` — profanity-filter + URL-detection
157
+ - `cometchat-production` — server-minted auth tokens (don't leak the auth key in client)
158
+ - `cometchat-react/SKILL.md` — group + message UX
@@ -0,0 +1,190 @@
1
+ # Use case — Customer support / Help desk
2
+
3
+ A customer initiates contact with a support agent. The shape: customer arrives via "Talk to us" button, lands in a queue, gets matched to next available agent, voice-first (video optional), screen-share for troubleshooting, recording for QA + agent training, post-call CSAT survey.
4
+
5
+ **Examples:** Intercom voice/video upgrade, Zendesk Talk, custom help-desk integrations.
6
+
7
+ ---
8
+
9
+ ## End-to-end flow
10
+
11
+ ```
12
+ 1. Customer clicks "Get help" in your app
13
+ → Server checks queue depth → routes to next agent OR shows wait estimate
14
+
15
+ 2. Server creates a support group (CometChat group keyed to ticket ID)
16
+ Both customer + agent are members
17
+
18
+ 3. Agent gets push notification "New support call"
19
+
20
+ 4. Agent accepts → call starts; customer auto-joins
21
+
22
+ 5. Mid-call: agent can request screen-share to see the customer's screen
23
+ → Customer must explicitly allow (OS-level permission)
24
+
25
+ 6. Agent ends call → recording auto-uploaded to your QA pipeline
26
+
27
+ 7. Customer gets CSAT survey (1-5 rating + comment)
28
+ → Stored against the ticket for agent performance reviews
29
+ ```
30
+
31
+ ---
32
+
33
+ ## Agent-side identity
34
+
35
+ Display the agent's first name + photo, NOT internal handle:
36
+
37
+ ```ts
38
+ // Agent's CometChat user metadata (set when agent logs into the support tool):
39
+ await CometChat.updateUser(new CometChat.User({
40
+ uid: `agent-${employeeId}`,
41
+ name: "Sarah", // First name only — privacy + warmth
42
+ metadata: {
43
+ displayPhoto: "/agent-photos/sarah.png",
44
+ role: "Support Specialist",
45
+ department: "Billing",
46
+ },
47
+ }));
48
+ ```
49
+
50
+ ---
51
+
52
+ ## Recommended call settings
53
+
54
+ ```ts
55
+ const settings = {
56
+ layout: "SPOTLIGHT", // Speaker focus
57
+ hideChangeLayoutButton: false, // Agent may want grid for note-taking workflows
58
+
59
+ hideRecordingButton: true, // Don't let agent toggle — server-side auto-record
60
+ startRecordingOnCallStart: true, // QA recording is the policy
61
+ // (consent text in the in-app "By starting the call,
62
+ // you agree to recording for quality" notice)
63
+ hideScreenShareButton: false, // Critical for troubleshooting
64
+
65
+ hideVirtualBackgroundButton: false, // Agent uses brand background
66
+
67
+ hideChatButton: false, // For pasting links/error messages
68
+ hideShareInviteButton: true, // Customer ↔ agent only
69
+
70
+ hideRaiseHandButton: true,
71
+ callIdleTime: 300, // 5min — short, agents are busy
72
+ };
73
+ ```
74
+
75
+ ---
76
+
77
+ ## Recording consent (one-party + platform notice)
78
+
79
+ For most customer-support flows, a "By starting this call, you agree to recording" notice in your app's pre-call screen is sufficient (one-party consent jurisdictions). For two-party-consent jurisdictions (CA, IL, FL), add an explicit consent dialog before connecting:
80
+
81
+ ```tsx
82
+ function PreCallScreen({ onAccept, onCancel }: Props) {
83
+ return (
84
+ <dialog open className="precall">
85
+ <h2>Connect to support</h2>
86
+ <p>Estimated wait: 2 minutes</p>
87
+ <div role="note" aria-label="Recording notice">
88
+ <p><strong>This call will be recorded for quality assurance.</strong></p>
89
+ <p>By starting the call, you consent to recording. Recordings are
90
+ retained for 90 days, accessible to you on request, and never sold.</p>
91
+ </div>
92
+ <button onClick={onAccept}>Start call</button>
93
+ <button onClick={onCancel}>Cancel</button>
94
+ </dialog>
95
+ );
96
+ }
97
+ ```
98
+
99
+ ---
100
+
101
+ ## Queue display + ETA
102
+
103
+ ```tsx
104
+ function QueueWaiting({ ticketId }: Props) {
105
+ const [position, setPosition] = useState<number>(0);
106
+ const [eta, setEta] = useState<number>(0);
107
+
108
+ useEffect(() => {
109
+ // Server-side queue manager publishes updates via CometChat custom messages
110
+ const listener = CometChat.addMessageListener("queue-updates", new CometChat.MessageListener({
111
+ onCustomMessageReceived: (msg) => {
112
+ const data = msg.getCustomData();
113
+ if (data.ticketId === ticketId) {
114
+ setPosition(data.position);
115
+ setEta(data.etaSeconds);
116
+ }
117
+ },
118
+ }));
119
+ return () => CometChat.removeMessageListener("queue-updates");
120
+ }, [ticketId]);
121
+
122
+ return (
123
+ <div role="status" aria-live="polite">
124
+ <p>You're number {position} in line</p>
125
+ <p>Estimated wait: {Math.round(eta / 60)} minutes</p>
126
+ </div>
127
+ );
128
+ }
129
+ ```
130
+
131
+ ---
132
+
133
+ ## Post-call CSAT
134
+
135
+ Fire immediately after call end; before they navigate away:
136
+
137
+ ```tsx
138
+ function PostCallSurvey({ ticketId }: Props) {
139
+ const [rating, setRating] = useState<number | null>(null);
140
+ return (
141
+ <dialog open>
142
+ <h2>How was your call?</h2>
143
+ <fieldset>
144
+ <legend>Rate from 1 (poor) to 5 (excellent)</legend>
145
+ {[1, 2, 3, 4, 5].map((n) => (
146
+ <button key={n} onClick={() => setRating(n)} aria-pressed={rating === n}>
147
+ {n} ⭐
148
+ </button>
149
+ ))}
150
+ </fieldset>
151
+ <textarea name="comment" placeholder="Anything else?" />
152
+ <button onClick={() => api.submitCsat({ ticketId, rating, comment })}>Submit</button>
153
+ </dialog>
154
+ );
155
+ }
156
+ ```
157
+
158
+ ---
159
+
160
+ ## Anti-patterns
161
+
162
+ 1. **No recording notice.** Two-party-consent law: lawsuit risk.
163
+ 2. **Letting agent disable recording mid-call.** QA pipeline breaks. Hide the recording button server-side; only ops can disable for specific tickets via admin tool.
164
+ 3. **Sharing internal employee handles.** Customer doesn't need agent's full name or company username — just first name.
165
+ 4. **Recording forever.** Set 90-day retention; auto-delete via storage lifecycle.
166
+ 5. **No queue UX.** Customer waits 5 minutes thinking it's broken → bounces. Show position + ETA.
167
+ 6. **Agent transfers without context.** When transferring to another agent, pass the ticket history (custom messages with summary). Customer hates re-explaining.
168
+
169
+ ---
170
+
171
+ ## Verification checklist
172
+
173
+ - [ ] Recording is server-side auto-on; agent can't disable
174
+ - [ ] Pre-call screen shows recording notice + estimated wait
175
+ - [ ] Queue position + ETA visible during wait
176
+ - [ ] Customer ↔ agent only — share-invite hidden
177
+ - [ ] Idle timeout 5min (short on purpose)
178
+ - [ ] Post-call CSAT fires immediately
179
+ - [ ] Recording retention enforced via storage lifecycle (90d default)
180
+ - [ ] Agent transfer carries ticket context
181
+
182
+ ---
183
+
184
+ ## Pointers
185
+
186
+ - `cometchat-react-calls/references/recording.md` — recording config
187
+ - `cometchat-react-calls/references/screen-sharing.md` — for troubleshooting
188
+ - `cometchat-react/SKILL.md` — group + custom message patterns
189
+ - `cometchat-production` — credential hygiene
190
+ - `cometchat-react-extensions` — analytics for agent QA
@@ -0,0 +1,169 @@
1
+ # Use case — Team / Standup / Collaboration
2
+
3
+ Internal team meetings — standup, sprint review, retro, ad-hoc collaboration. The shape: 2–15 participants, all with mic + video on, TILE layout for equal visibility, screen-share for shared docs, in-call chat for links, optional recording for absent teammates.
4
+
5
+ **Examples:** Slack huddles, Microsoft Teams meetings, internal company calls.
6
+
7
+ ---
8
+
9
+ ## End-to-end flow
10
+
11
+ ```
12
+ 1. A user creates or joins a team channel (CometChat group already exists for the team)
13
+
14
+ 2. Anyone in the group can start a call → all members get a "huddle started" notification
15
+
16
+ 3. Members join voluntarily (no incoming-call ring — opt-in)
17
+
18
+ 4. Mic + camera ON by default (it's a team meeting, not a webinar)
19
+
20
+ 5. (Optional) Anyone can record; absent members get the link in the channel
21
+
22
+ 6. Screen-share + in-call chat for collaboration
23
+
24
+ 7. Last person leaves → call ends → optional recording posted to channel
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Recommended call settings
30
+
31
+ ```ts
32
+ const settings = {
33
+ layout: "TILE", // Equal visibility — team meetings
34
+ hideChangeLayoutButton: false, // Let users pick (some prefer SPOTLIGHT)
35
+
36
+ hideRecordingButton: false, // Anyone can record; team norms decide
37
+ startRecordingOnCallStart: false,
38
+
39
+ hideScreenShareButton: false, // Critical
40
+ hideVirtualBackgroundButton: false,
41
+
42
+ hideChatButton: false, // Side-chat for links
43
+ hideShareInviteButton: false, // Pull others in mid-call
44
+
45
+ hideRaiseHandButton: false, // For larger team meetings (10+)
46
+
47
+ callIdleTime: 1800, // 30min — meetings can have lulls
48
+ };
49
+ ```
50
+
51
+ ---
52
+
53
+ ## "Huddle started" notification
54
+
55
+ ```ts
56
+ // When someone starts a call in a team group, fire a custom message
57
+ // so other members see "🟢 Huddle started by Sarah" in the channel.
58
+ async function startHuddle(group: CometChat.Group) {
59
+ // 1. Initiate the call
60
+ const session = await CometChatCalls.startSession({
61
+ sessionId: `huddle-${group.guid}-${Date.now()}`,
62
+ participants: [...group.memberUids],
63
+ });
64
+
65
+ // 2. Post a custom message in the chat group
66
+ const customMessage = new CometChat.CustomMessage(
67
+ group.guid,
68
+ CometChat.RECEIVER_TYPE.GROUP,
69
+ "huddle_started",
70
+ {
71
+ sessionId: session.sessionId,
72
+ startedBy: currentUserUid,
73
+ startedAt: Date.now(),
74
+ },
75
+ );
76
+ await CometChat.sendCustomMessage(customMessage);
77
+ }
78
+ ```
79
+
80
+ Render in the chat list:
81
+
82
+ ```tsx
83
+ function HuddleStartedBubble({ message }: Props) {
84
+ const data = message.getCustomData();
85
+ return (
86
+ <div role="alert" className="huddle-bubble">
87
+ <p>🟢 Huddle started by {resolveUserName(data.startedBy)}</p>
88
+ <button onClick={() => joinHuddle(data.sessionId)}>Join</button>
89
+ </div>
90
+ );
91
+ }
92
+ ```
93
+
94
+ ---
95
+
96
+ ## Recording → channel post
97
+
98
+ When the call ends and a recording was made, auto-post a link to the channel:
99
+
100
+ ```ts
101
+ // Server-side: triggered by CometChat call-ended webhook
102
+ app.post("/webhooks/call", async (req, res) => {
103
+ if (req.body.trigger === "call_ended" && req.body.data.recordingUrl) {
104
+ const { sessionId, recordingUrl } = req.body.data;
105
+ const groupGuid = sessionId.split("-").slice(0, 2).join("-").replace("huddle-", "");
106
+
107
+ // Post a custom message in the team's chat group
108
+ await cometchatApi.sendCustomMessage({
109
+ receiver: groupGuid,
110
+ receiverType: "group",
111
+ type: "huddle_recording",
112
+ data: {
113
+ recordingUrl,
114
+ durationSeconds: req.body.data.durationSeconds,
115
+ },
116
+ });
117
+ }
118
+ res.status(200).end();
119
+ });
120
+ ```
121
+
122
+ ---
123
+
124
+ ## Anti-patterns
125
+
126
+ 1. **Force-ringing all team members.** Annoying — they might be focused. Use channel notification + opt-in join.
127
+ 2. **No screen-share quality config.** Default screen-share is 720p; for code review, bump to 1080p (`screenShareQuality: 'high'`).
128
+ 3. **Idle timeout too short.** Standup runs 35min, idle of 600s ends it during a debate. Use 1800s (30min).
129
+ 4. **Recording auto-on without team norms.** Some teams hate being recorded; surprise recording = trust hit. Default off; let team decide.
130
+ 5. **No way to invite outside team mid-call.** Sometimes you need to pull in a designer or PM. Don't hide share-invite for team calls.
131
+ 6. **Persistent sessions.** A "huddle" session that lasts forever bills forever. Auto-end when last person leaves.
132
+
133
+ ---
134
+
135
+ ## Auto-end on empty
136
+
137
+ ```ts
138
+ // Subscribe to participant-left events; when count hits 0, end session
139
+ let participantCount = 0;
140
+ CometChatCalls.addEventListener("onParticipantJoined", () => participantCount++);
141
+ CometChatCalls.addEventListener("onParticipantLeft", () => {
142
+ participantCount--;
143
+ if (participantCount === 0) {
144
+ CometChatCalls.endSession();
145
+ }
146
+ });
147
+ ```
148
+
149
+ ---
150
+
151
+ ## Verification checklist
152
+
153
+ - [ ] Mic + camera ON by default for joiners
154
+ - [ ] Layout TILE, but switchable
155
+ - [ ] Idle timeout 30min
156
+ - [ ] "Huddle started" custom message + Join button in channel
157
+ - [ ] Recording optional (not auto-on)
158
+ - [ ] Recording auto-posted to channel as link if made
159
+ - [ ] Auto-end when last participant leaves
160
+ - [ ] Share-invite available for pulling in non-team members
161
+
162
+ ---
163
+
164
+ ## Pointers
165
+
166
+ - `cometchat-react-calls/references/call-layouts.md` — TILE layout
167
+ - `cometchat-react-calls/references/in-call-chat.md` — side chat
168
+ - `cometchat-react-calls/references/screen-sharing.md` — for shared docs
169
+ - `cometchat-react/SKILL.md` — group + custom message patterns
@@ -0,0 +1,154 @@
1
+ # Use case — Telehealth (provider ↔ patient)
2
+
3
+ A virtual visit between a healthcare provider and a patient. The shape: pre-call waiting room, provider initiates the call, video-first, screen-share for sharing labs/imaging, in-call chat for sending links, optional recording with explicit consent, post-call note-taking workflow.
4
+
5
+ **Compliance:** HIPAA (US) + PIPEDA (CA) + GDPR (EU) — patient data in any form (incl. recording, screen-share content) is regulated. Telehealth integrations carry compliance risk that's outside CometChat's scope. Always:
6
+ - Run a Business Associate Agreement (BAA) with CometChat
7
+ - Run a separate BAA with your storage provider (S3, GCS) for recordings
8
+ - Surface explicit consent UI before recording starts
9
+ - Implement HIPAA-compliant audit logging
10
+
11
+ **The architecture below is a reference shape — pair it with your legal/compliance review before shipping.**
12
+
13
+ ---
14
+
15
+ ## End-to-end flow
16
+
17
+ ```
18
+ 1. Patient books appointment in your scheduling system
19
+
20
+ 2. At appointment time, both join a "virtual waiting room"
21
+ (CometChat group keyed to appointment ID)
22
+
23
+ 3. Provider sees patient is waiting, clicks "Start visit"
24
+ → CometChat.initiateCall(patientUid, sessionId=appointmentId, type="video")
25
+
26
+ 4. Patient gets incoming call → accepts → in-call
27
+
28
+ 5. (Optional) Provider taps "Start recording" → consent prompt to patient
29
+ → only on patient accept does setRecordingOnCallStart fire
30
+
31
+ 6. (Optional) Provider screen-shares lab results
32
+
33
+ 7. (Optional) Provider opens in-call chat to send PDF/links
34
+
35
+ 8. Provider ends call → recording uploaded to your secure storage
36
+ → patient redirected to feedback form
37
+ ```
38
+
39
+ ---
40
+
41
+ ## Recommended call settings (web/RN)
42
+
43
+ ```ts
44
+ import { CometChatCalls } from "@cometchat/calls-sdk-javascript";
45
+ const settings = {
46
+ layout: "SPOTLIGHT", // Focus on the person speaking
47
+ hideChangeLayoutButton: true, // Don't let user switch — calmer UX
48
+
49
+ hideRecordingButton: false, // Provider needs it
50
+ startRecordingOnCallStart: false, // NEVER auto-record without consent
51
+
52
+ hideScreenShareButton: false, // Sharing labs is core
53
+ hideVirtualBackgroundButton: false, // Patient often wants privacy
54
+
55
+ hideChatButton: false, // For sending links/PDFs
56
+ hideShareInviteButton: true, // Patient ↔ provider only — no inviting
57
+ hideRaiseHandButton: true, // 1:1 — no need
58
+
59
+ callIdleTime: 600, // 10min — long enough for thinking pauses
60
+ };
61
+ ```
62
+
63
+ ---
64
+
65
+ ## Two-party consent recording
66
+
67
+ Two-party-consent jurisdictions (CA, IL, FL, MD, MA, MT, NH, PA, WA + Canada + EU) require explicit consent from BOTH parties before recording starts. Implement a banner, not just a small "REC" indicator:
68
+
69
+ ```tsx
70
+ function RecordingConsentBanner({ onAccept, onReject }: Props) {
71
+ return (
72
+ <div role="alertdialog" aria-labelledby="rec-title" className="rec-banner">
73
+ <h2 id="rec-title">Recording requested</h2>
74
+ <p>
75
+ Your provider would like to record this visit for medical records.
76
+ The recording will be stored securely and accessible to you in your
77
+ patient portal.
78
+ </p>
79
+ <button onClick={onAccept}>I consent to recording</button>
80
+ <button onClick={onReject}>I do not consent</button>
81
+ </div>
82
+ );
83
+ }
84
+
85
+ // Provider's "Start recording" button:
86
+ async function requestRecording() {
87
+ // 1. Send a CometChat custom message asking for consent
88
+ await CometChat.sendCustomMessage(/* type: 'recording_request', target: patientUid */);
89
+ // 2. Wait for patient response (custom message back: 'recording_consent_granted')
90
+ // 3. ONLY THEN call CometChatCalls.startRecording()
91
+ }
92
+ ```
93
+
94
+ ---
95
+
96
+ ## Waiting room pattern
97
+
98
+ ```tsx
99
+ function WaitingRoom({ appointmentId }: Props) {
100
+ const [providerOnline, setProviderOnline] = useState(false);
101
+
102
+ useEffect(() => {
103
+ // Subscribe to the appointment group; provider's presence triggers visit start
104
+ const groupGuid = `appt-${appointmentId}`;
105
+ const listener = CometChat.addGroupMemberListener(/* fires when provider joins */);
106
+ return () => CometChat.removeGroupMemberListener(listener);
107
+ }, [appointmentId]);
108
+
109
+ return (
110
+ <div role="status" aria-live="polite">
111
+ {providerOnline ? <p>Your provider is ready. The visit will start shortly.</p>
112
+ : <p>Please wait. Your provider will be with you soon.</p>}
113
+ <button onClick={cancelVisit}>Leave waiting room</button>
114
+ </div>
115
+ );
116
+ }
117
+ ```
118
+
119
+ `role="status"` + `aria-live="polite"` so a screen reader announces the state change without interrupting (vs `assertive` which interrupts).
120
+
121
+ ---
122
+
123
+ ## Anti-patterns
124
+
125
+ 1. **Recording without explicit consent UI.** Two-party-consent law violation = lawsuit risk + HIPAA non-compliance.
126
+ 2. **Storing recordings in default S3.** Use a HIPAA-compliant tier with BAA + KMS encryption + audit logging.
127
+ 3. **No idle timeout.** Patient or provider walks away → call runs forever → bills + privacy concern (if recording).
128
+ 4. **Sharing PHI in call settings.** Don't put `patientName` in `callerName` — use opaque IDs in the SDK config; resolve display names client-side from your auth-gated user store.
129
+ 5. **Sending custom-message PII without encryption.** CometChat E2E encryption is opt-in (Extensions) — turn it on for telehealth.
130
+
131
+ ---
132
+
133
+ ## Verification checklist
134
+
135
+ - [ ] BAA executed with CometChat
136
+ - [ ] BAA executed with recording storage provider
137
+ - [ ] Recording UX includes explicit consent prompt + audit log
138
+ - [ ] Waiting room → call transition is automatic on provider initiate
139
+ - [ ] Idle timeout 10min
140
+ - [ ] Layout locked to SPOTLIGHT
141
+ - [ ] Share-invite hidden (1:1 only)
142
+ - [ ] No PII in SDK config or push payloads — only opaque IDs
143
+ - [ ] HIPAA audit log captures: visit start/end, recording start/stop, screen-share start/stop, file send
144
+
145
+ ---
146
+
147
+ ## Pointers
148
+
149
+ - `cometchat-react-calls/references/recording.md` — recording reference
150
+ - `cometchat-react-calls/references/screen-sharing.md` — screen share
151
+ - `cometchat-react-calls/references/in-call-chat.md` — link/file sending
152
+ - `cometchat-react-calls/references/idle-timeout.md` — idle timeout config
153
+ - `cometchat-production` skill — credential hygiene for sensitive integrations
154
+ - `cometchat-react-extensions` — message encryption setup
@@ -3,7 +3,7 @@ name: cometchat-components
3
3
  description: "Complete catalog of CometChat React UI Kit v6 components. Reference before writing integration code -- never invent component names."
4
4
  license: "MIT"
5
5
  compatibility: "@cometchat/chat-uikit-react ^6; @cometchat/chat-sdk-javascript ^4"
6
- allowed-tools: "executeBash, readFile, fileSearch, listDirectory"
6
+ allowed-tools: "shell, file-read, file-search, file-list"
7
7
  metadata:
8
8
  author: "CometChat"
9
9
  version: "3.0.0"
@@ -3,7 +3,7 @@ name: cometchat-core
3
3
  description: "Shared rules for CometChat React UI Kit v6. Always loaded alongside framework + placement skills. Read this first."
4
4
  license: "MIT"
5
5
  compatibility: "Node.js >=18; React >=18; @cometchat/chat-uikit-react ^6; @cometchat/chat-sdk-javascript ^4"
6
- allowed-tools: "executeBash, readFile, fileSearch, listDirectory"
6
+ allowed-tools: "shell, file-read, file-search, file-list"
7
7
  metadata:
8
8
  author: "CometChat"
9
9
  version: "3.0.0"