[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MF6BH1C9Q3RWMR6PY0YMG6":3,"skill-same:01M6MF6BH1C9Q3RWMR6PY0YMG6":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6MF6BH1C9Q3RWMR6PY0YMG6","cometchat-angular-v5-calls",null,"Add voice and video calling to an Angular CometChat app — install the calls SDK, mount the incoming-call listener at app root, call buttons in the message header, and call logs. Triggers: 'add voice calling', 'add video calls', 'enable calling', 'show call history', 'incoming call not ringing'.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-calls\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"calls","cometchat angular v5 calls","angular","cometchat","buttons","chat","uikit","add voice","calling","call","triggers","history","add","verified","install","at","message","logs","webrtc","show","app","Video","2026-11-10 10:12:30",false,"---\nname: cometchat-angular-v5-calls\ndescription: \"Add voice and video calling to an Angular CometChat app — install the calls SDK, mount the incoming-call listener at app root, call buttons in the message header, and call logs. Triggers: 'add voice calling', 'add video calls', 'enable calling', 'show call history', 'incoming call not ringing'.\"\nlicense: \"MIT\"\ncompatibility: \"@cometchat\u002Fchat-uikit-angular ^5 (5.1.0–5.2.2 verified) + @cometchat\u002Fcalls-sdk-javascript ^5.0.3; Angular 17-21\"\nmetadata:\n  author: \"CometChat\"\n  version: \"1.0.0\"\n  tags: \"cometchat angular calls v5 voice video calling webrtc call-logs\"\n---\n\n> **Ground truth:** calling UI ships INSIDE `@cometchat\u002Fchat-uikit-angular@5` — there is no separate calls-UI package — but the WebRTC engine is a SEPARATE, NOT-bundled peer: `@cometchat\u002Fcalls-sdk-javascript@^5.0.3` (major 5, distinct from the chat SDK's v4). Every `CometChat*` symbol below exists in the `angular-v5` catalog. Exhaustive inputs\u002Foutputs and advanced call surfaces are FETCHED, not baked — `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcall-features.md`, the per-component pages (`\u002Fcomponents\u002Fcometchat-incoming-call`, `-call-buttons`, `-call-logs`, `-outgoing-call`), and `\u002Fguides\u002Fcall-log-details`; base + paths in `cometchat-angular-v5-core\u002Freferences\u002Fdocs-map.md`. **APPEND to the user's app — additive wiring only** (`RULES.md`).\n\n## Companion skills (read first)\n- `cometchat-angular-v5-core` — install, credentials, `init→login→render`. Assumed.\n- `cometchat-angular-v5-placement` — where the incoming-call listener mounts.\n\n## Use this skill when\nAdding voice\u002Fvideo calling, or diagnosing calls that never ring.\n\n## Prerequisites & install — calls needs a second package\n```bash\nnpm install @cometchat\u002Fcalls-sdk-javascript@^5\n```\nIt is an **optional peer** of the UI Kit (`^5.0.3`), so it is not installed by default. Without it the call components are inert and `CometChatUIKit.isCallingEnabled()` returns false.\n\nCalling must also be enabled for the app in the dashboard. Code alone is not enough.\n\n## ⚠️ Installing the package is NOT what turns calling on\n`core` inits with `initFromSettings`, and on that path the kit derives calling from the settings object:\n\n```ts\n\u002F\u002F verified in the shipped 5.1.0 and 5.2.2 bundles\nconst callingEnabled = !!settings.uiKit?.['callsSDK'];\nif (callingEnabled) builder.setCallingEnabled(true);\n```\n\nSo you must declare a **`uiKit.callsSDK` block** or calling stays off no matter what you installed:\n\n```ts\nCometChatUIKit.initFromSettings({\n  appId, region,\n  credentials: { authKey },\n  chatSDK: { presenceSubscription: { type: 'ALL_USERS' } },\n  uiKit: { callsSDK: {} },          \u002F\u002F ← REQUIRED for calling on the initFromSettings path\n});\n```\n\n**Symptom if you miss it:** `\u003Ccometchat-call-buttons>` renders as a **zero-size empty element** and the message header shows no call buttons. Nothing errors, nothing logs, and the package is installed — so it reads as a layout or CSS bug. `CometChatUIKit.isCallingEnabled()` returns `false`; check that first.\n\n> The docs' builder path uses `.setCallingEnabled(true)` on `UIKitSettingsBuilder` instead. Both are correct for their own init — see `cometchat-angular-v5-core\u002Freferences\u002Flifecycle.md`. Do not mix them.\n\n## The four things, in order\n1. **Install the calls SDK** (above).\n2. **Mount `\u003Ccometchat-incoming-call>` at APP ROOT** — not in the chat page.\n3. **Add call buttons** — the message header renders them by default.\n4. **Optionally add call logs.**\n\nStep 2 is the one that goes wrong.\n\n## Incoming calls — app root, not the chat route\n```html\n\u003C!-- app.component.html -->\n\u003Ccometchat-incoming-call\n  (callAccepted)=\"onAccepted($event)\"\n  (callDeclined)=\"onDeclined($event)\"\n  (error)=\"onError($event)\">\n\u003C\u002Fcometchat-incoming-call>\n\u003Crouter-outlet>\u003C\u002Frouter-outlet>\n```\nMounted inside the chat page it unmounts the moment the user navigates elsewhere, so calls stop ringing anywhere except that one route. It looks like the calls SDK is broken; it is a placement bug.\n\nRemember `CometChatIncomingCallComponent` in the root component's `imports: []`.\n\n## Call buttons\n`\u003Ccometchat-message-header>` renders voice and video buttons itself — **check the running app before adding your own.** Suppress with `[hideVoiceCallButton]=\"true\"` \u002F `[hideVideoCallButton]=\"true\"`.\n\nThe default is not hardcoded: the header reads `COMETCHAT_GLOBAL_CONFIG` and tracks whether you set the input explicitly, so an app-wide config can hide the buttons even though nothing on the component says so. If they are missing, check the global config before concluding the header does not render them — and if they are present, do not add `\u003Ccometchat-call-buttons>` alongside or you get two sets.\n\nStandalone, elsewhere in your UI:\n```html\n\u003Ccometchat-call-buttons [user]=\"activeUser()\" [group]=\"activeGroup()\" (error)=\"onError($event)\">\u003C\u002Fcometchat-call-buttons>\n```\n\nBoth call components must be in the consuming component's `imports: []` — omitted, they\nrender nothing and never ring. Mount `\u003Ccometchat-incoming-call>` at the **app root**, not\ninside a route, or it stops ringing the moment the user navigates away:\n\n```ts\nimport { Component, inject, computed } from '@angular\u002Fcore';\nimport { CommonModule } from '@angular\u002Fcommon';\nimport {\n  ChatStateService,\n  CometChatCallButtonsComponent,\n  CometChatIncomingCallComponent,\n  CometChatUIKitCalls,\n} from '@cometchat\u002Fchat-uikit-angular';\n\n@Component({\n  selector: 'app-root',\n  standalone: true,\n  imports: [CommonModule, CometChatCallButtonsComponent, CometChatIncomingCallComponent],\n  template: `\n    \u003Ccometchat-incoming-call (callAccepted)=\"onAccepted($event)\">\u003C\u002Fcometchat-incoming-call>\n    \u003Ccometchat-call-buttons [user]=\"activeUser()\" [group]=\"activeGroup()\">\u003C\u002Fcometchat-call-buttons>\n  `,\n})\nexport class AppRootComponent {\n  private readonly chatState = inject(ChatStateService);\n  readonly activeUser = computed(() => this.chatState.activeUser() ?? undefined);\n  readonly activeGroup = computed(() => this.chatState.activeGroup() ?? undefined);\n  \u002F\u002F CometChatUIKitCalls is the calls-SDK accessor the kit exposes; it is null until the\n  \u002F\u002F SDK has loaded, so never touch it during construction.\n  readonly calls = CometChatUIKitCalls;\n  onAccepted(_call: unknown) { \u002F* route to your ongoing-call screen *\u002F }\n}\n```\n\n## Ongoing and outgoing\nThe kit drives these once a call is accepted. Outputs, if you need to react:\n\n| Component | Outputs |\n| --- | --- |\n| `\u003Ccometchat-incoming-call>` | `callAccepted` `callDeclined` `error` |\n| `\u003Ccometchat-outgoing-call>` | `callCanceled` `error` |\n| `\u003Ccometchat-ongoing-call>` | `callEnded` `error` |\n| `\u003Ccometchat-call-buttons>` | `error` |\n| `\u003Ccometchat-call-logs>` | `itemClick` `callButtonClicked` |\n| `\u003Ccometchat-call-bubble>` | `buttonClick` |\n\n`\u003Ccometchat-ongoing-call>` takes `[sessionID]` and optionally `[callSettingsBuilder]` \u002F `[isAudioOnly]`. Do not build your own call screen — WebRTC state, permissions and teardown are handled.\n\n**Huddle \u002F docked call (Slack-style, not full screen):** `\u003Ccometchat-ongoing-call>` always covers the whole viewport (`:host` is `position: fixed`), wherever you mount it. For a docked or drop-in group call, follow `references\u002Fhuddle.md` (BAKED — start \u002F join override \u002F dock via the Calls SDK \u002F leave, verified vs 5.2.2).\n\n## Call history\n> ⚠️ **`\u003Ccometchat-call-logs>` HARD-CRASHES if it mounts before the Calls SDK has loaded.**\n> Its `ngOnInit` synchronously runs `new CometChatUIKitCalls.CallLogRequestBuilder()`, but\n> `CometChatUIKitCalls` is `null` until the lazily-loaded Calls SDK resolves — so on a fresh\n> `initFromSettings` app the tab renders an **\"OOPS! \u002F Retry\"** error state and logs\n> `[CometChatCallLogs] Error: TypeError: Cannot read properties of null (reading 'CallLogRequestBuilder')`.\n> **Retry does NOT recover it.** This is the same \"`CometChatUIKitCalls` is null until the SDK\n> has loaded, so never touch it during construction\" trap as the standalone accessor above — it\n> just bites INSIDE the kit's own component. **GATE the call-logs surface on the calls-SDK namespace\n> ACTUALLY being populated — not on `callingReady` alone.** Verified live (AUDIT-163):\n> `CometChatUIKit.callingReady` defaults to a **pre-resolved** `Promise.resolve()`, and even after\n> `initCalling()` runs the lazily-loaded `CometChatUIKitCalls` namespace can still be `null` (e.g. the\n> calls chunk never loaded) — so a `callingReady`-ONLY gate STILL crashes. Await `callingReady`, THEN\n> confirm `CometChatUIKitCalls` is non-null before mounting:\n```ts\n\u002F\u002F component\nimport { CometChatUIKit, CometChatUIKitCalls } from '@cometchat\u002Fchat-uikit-angular';\nreadonly callsReady = signal(false);\nconstructor() {\n  CometChatUIKit.callingReady\n    .then(() => this.callsReady.set(!!CometChatUIKitCalls))   \u002F\u002F namespace must be populated, not just \"ready\"\n    .catch(() => this.callsReady.set(false));\n}\n```\n```html\n\u003C!-- Do NOT mount \u003Ccometchat-call-logs> unguarded — it NPEs on CometChatUIKitCalls being null. -->\n\u003Ccometchat-call-logs *ngIf=\"callsReady()\" (itemClick)=\"openCall($event)\">\u003C\u002Fcometchat-call-logs>\n\u003Cdiv *ngIf=\"!callsReady()\">Loading call history...\u003C\u002Fdiv>\n```\n> **STOPGAP** (remove once the kit component awaits `getCometChatCalls()` \u002F null-guards\n> `CometChatUIKitCalls` itself — filed as a UIKit bug; the docs page also omits this prerequisite —\n> DOCS-BACKLOG). `isCallingEnabled()` is the sync settings check; **`callingReady` + a `CometChatUIKitCalls`\n> null-check** is what actually guards the mount (`callingReady` alone is NOT enough — proven live).\n\nAlso available: `CallLogsService` for headless querying, and `guides\u002Fcall-log-details` for a detail view.\n\n## Environment requirements\n- **HTTPS or localhost.** `getUserMedia` is blocked on plain HTTP, so calls fail on a LAN IP over http.\n- Microphone\u002Fcamera permission is a **user-gesture** prompt — trigger it from a click, never on load.\n- `CometChatUIKit.callingReady` is a promise that resolves once calling is initialised; `isCallingEnabled()` is the synchronous check.\n\n## Common pitfalls\n1. **Listener in the chat page** → calls ring only on that route.\n2. **`uiKit.callsSDK` missing from `initFromSettings`** → calling silently off; call buttons render as zero-size empty elements. Installing the package is not enough.\n3. **Calls SDK not installed** → components inert, no error.\n4. **Calling not enabled in the dashboard** → code correct, nothing happens.\n5. **Plain HTTP** → `getUserMedia` blocked.\n6. **Duplicate call buttons** → the header already renders them.\n7. **Hand-rolled call screen** → loses WebRTC teardown; use `\u003Ccometchat-ongoing-call>`.\n8. **No zero-height container** — the ongoing-call surface needs real dimensions like any other component.\n\n## Verify it works\nTwo browsers, two users, HTTPS or localhost · caller sees outgoing UI, callee's device rings **from any route** · accepting connects audio\u002Fvideo both ways · ending returns both to chat · the call appears in call logs · no console errors.\n\n## Explain what you built (REQUIRED close)\nTell the developer what changed, naming the files: calling — the packages added, that `uiKit: { callsSDK: {} }` is what switches it on, and where `\u003Ccometchat-incoming-call>` is mounted. Flag anything dev-only as dev-only, and say what you did **not** touch — this is additive.\n\n**Then offer these THREE options as a SELECTABLE choice and WAIT for the pick — never auto-continue (`RULES.md` §19):**\n1. **Add another feature** → call-log details, or another grow-set feature from `features.angular-v5.json`. **Never offer an `auto` entry** (reactions, mentions, receipts, typing, media) — those are core in v5 and already on.\n2. **Customize theming** → `cometchat-angular-v5-customization`.\n3. **Test it manually** → do nothing further; hand back so the user runs it.\n","> **Ground truth:** calling UI ships INSIDE `@cometchat\u002Fchat-uikit-angular@5` — there is no separate calls-UI package — but the WebRTC engine is a SEPARATE, NOT-bundled peer: `@cometchat\u002Fcalls-sdk-javascript@^5.0.3` (major 5, distinct from the chat SDK's v4). Every `CometChat*` symbol below exists in the `angular-v5` catalog. Exhaustive inputs\u002Foutputs and advanced call surfaces are FETCHED, not baked — `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcall-features.md`, the per-component pages (`\u002Fcomponents\u002Fcometchat-incoming-call`, `-call-buttons`, `-call-logs`, `-outgoing-call`), and `\u002Fguides\u002Fcall-log-details`; base + paths in `cometchat-angular-v5-core\u002Freferences\u002Fdocs-map.md`. **APPEND to the user's app — additive wiring only** (`RULES.md`).\n\n## Companion skills (read first)\n- `cometchat-angular-v5-core` — install, credentials, `init→login→render`. Assumed.\n- `cometchat-angular-v5-placement` — where the incoming-call listener mounts.\n\n## Use this skill when\nAdding voice\u002Fvideo calling, or diagnosing calls that never ring.\n\n## Prerequisites & install — calls needs a second package\n```bash\nnpm install @cometchat\u002Fcalls-sdk-javascript@^5\n```\nIt is an **optional peer** of the UI Kit (`^5.0.3`), so it is not installed by default. Without it the call components are inert and `CometChatUIKit.isCallingEnabled()` returns false.\n\nCalling must also be enabled for the app in the dashboard. Code alone is not enough.\n\n## ⚠️ Installing the package is NOT what turns calling on\n`core` inits with `initFromSettings`, and on that path the kit derives calling from the settings object:\n\n```ts\n\u002F\u002F verified in the shipped 5.1.0 and 5.2.2 bundles\nconst callingEnabled = !!settings.uiKit?.['callsSDK'];\nif (callingEnabled) builder.setCallingEnabled(true);\n```\n\nSo you must declare a **`uiKit.callsSDK` block** or calling stays off no matter what you installed:\n\n```ts\nCometChatUIKit.initFromSettings({\n  appId, region,\n  credentials: { authKey },\n  chatSDK: { presenceSubscription: { type: 'ALL_USERS' } },\n  uiKit: { callsSDK: {} },          \u002F\u002F ← REQUIRED for calling on the initFromSettings path\n});\n```\n\n**Symptom if you miss it:** `\u003Ccometchat-call-buttons>` renders as a **zero-size empty element** and the message header shows no call buttons. Nothing errors, nothing logs, and the package is installed — so it reads as a layout or CSS bug. `CometChatUIKit.isCallingEnabled()` returns `false`; check that first.\n\n> The docs' builder path uses `.setCallingEnabled(true)` on `UIKitSettingsBuilder` instead. Both are correct for their own init — see `cometchat-angular-v5-core\u002Freferences\u002Flifecycle.md`. Do not mix them.\n\n## The four things, in order\n1. **Install the calls SDK** (above).\n2. **Mount `\u003Ccometchat-incoming-call>` at APP ROOT** — not in the chat page.\n3. **Add call buttons** — the message header renders them by default.\n4. **Optionally add call logs.**\n\nStep 2 is the one that goes wrong.\n\n## Incoming calls — app root, not the chat route\n```html\n\u003C!-- app.component.html -->\n\u003Ccometchat-incoming-call\n  (callAccepted)=\"onAccepted($event)\"\n  (callDeclined)=\"onDeclined($event)\"\n  (error)=\"onError($event)\">\n\u003C\u002Fcometchat-incoming-call>\n\u003Crouter-outlet>\u003C\u002Frouter-outlet>\n```\nMounted inside the chat page it unmounts the moment the user navigates elsewhere, so calls stop ringing anywhere except that one route. It looks like the calls SDK is broken; it is a placement bug.\n\nRemember `CometChatIncomingCallComponent` in the root component's `imports: []`.\n\n## Call buttons\n`\u003Ccometchat-message-header>` renders voice and video buttons itself — **check the running app before adding your own.** Suppress with `[hideVoiceCallButton]=\"true\"` \u002F `[hideVideoCallButton]=\"true\"`.\n\nThe default is not hardcoded: the header reads `COMETCHAT_GLOBAL_CONFIG` and tracks whether you set the input explicitly, so an app-wide config can hide the buttons even though nothing on the component says so. If they are missing, check the global config before concluding the header does not render them — and if they are present, do not add `\u003Ccometchat-call-buttons>` alongside or you get two sets.\n\nStandalone, elsewhere in your UI:\n```html\n\u003Ccometchat-call-buttons [user]=\"activeUser()\" [group]=\"activeGroup()\" (error)=\"onError($event)\">\u003C\u002Fcometchat-call-buttons>\n```\n\nBoth call components must be in the consuming component's `imports: []` — omitted, they\nrender nothing and never ring. Mount `\u003Ccometchat-incoming-call>` at the **app root**, not\ninside a route, or it stops ringing the moment the user navigates away:\n\n```ts\nimport { Component, inject, computed } from '@angular\u002Fcore';\nimport { CommonModule } from '@angular\u002Fcommon';\nimport {\n  ChatStateService,\n  CometChatCallButtonsComponent,\n  CometChatIncomingCallComponent,\n  CometChatUIKitCalls,\n} from '@cometchat\u002Fchat-uikit-angular';\n\n@Component({\n  selector: 'app-root',\n  standalone: true,\n  imports: [CommonModule, CometChatCallButtonsComponent, CometChatIncomingCallComponent],\n  template: `\n    \u003Ccometchat-incoming-call (callAccepted)=\"onAccepted($event)\">\u003C\u002Fcometchat-incoming-call>\n    \u003Ccometchat-call-buttons [user]=\"activeUser()\" [group]=\"activeGroup()\">\u003C\u002Fcometchat-call-buttons>\n  `,\n})\nexport class AppRootComponent {\n  private readonly chatState = inject(ChatStateService);\n  readonly activeUser = computed(() => this.chatState.activeUser() ?? undefined);\n  readonly activeGroup = computed(() => this.chatState.activeGroup() ?? undefined);\n  \u002F\u002F CometChatUIKitCalls is the calls-SDK accessor the kit exposes; it is null until the\n  \u002F\u002F SDK has loaded, so never touch it during construction.\n  readonly calls = CometChatUIKitCalls;\n  onAccepted(_call: unknown) { \u002F* route to your ongoing-call screen *\u002F }\n}\n```\n\n## Ongoing and outgoing\nThe kit drives these once a call is accepted. Outputs, if you need to react:\n\n| Component | Outputs |\n| --- | --- |\n| `\u003Ccometchat-incoming-call>` | `callAccepted` `callDeclined` `error` |\n| `\u003Ccometchat-outgoing-call>` | `callCanceled` `error` |\n| `\u003Ccometchat-ongoing-call>` | `callEnded` `error` |\n| `\u003Ccometchat-call-buttons>` | `error` |\n| `\u003Ccometchat-call-logs>` | `itemClick` `callButtonClicked` |\n| `\u003Ccometchat-call-bubble>` | `buttonClick` |\n\n`\u003Ccometchat-ongoing-call>` takes `[sessionID]` and optionally `[callSettingsBuilder]` \u002F `[isAudioOnly]`. Do not build your own call screen — WebRTC state, permissions and teardown are handled.\n\n**Huddle \u002F docked call (Slack-style, not full screen):** `\u003Ccometchat-ongoing-call>` always covers the whole viewport (`:host` is `position: fixed`), wherever you mount it. For a docked or drop-in group call, follow `references\u002Fhuddle.md` (BAKED — start \u002F join override \u002F dock via the Calls SDK \u002F leave, verified vs 5.2.2).\n\n## Call history\n> ⚠️ **`\u003Ccometchat-call-logs>` HARD-CRASHES if it mounts before the Calls SDK has loaded.**\n> Its `ngOnInit` synchronously runs `new CometChatUIKitCalls.CallLogRequestBuilder()`, but\n> `CometChatUIKitCalls` is `null` until the lazily-loaded Calls SDK resolves — so on a fresh\n> `initFromSettings` app the tab renders an **\"OOPS! \u002F Retry\"** error state and logs\n> `[CometChatCallLogs] Error: TypeError: Cannot read properties of null (reading 'CallLogRequestBuilder')`.\n> **Retry does NOT recover it.** This is the same \"`CometChatUIKitCalls` is null until the SDK\n> has loaded, so never touch it during construction\" trap as the standalone accessor above — it\n> just bites INSIDE the kit's own component. **GATE the call-logs surface on the calls-SDK namespace\n> ACTUALLY being populated — not on `callingReady` alone.** Verified live (AUDIT-163):\n> `CometChatUIKit.callingReady` defaults to a **pre-resolved** `Promise.resolve()`, and even after\n> `initCalling()` runs the lazily-loaded `CometChatUIKitCalls` namespace can still be `null` (e.g. the\n> calls chunk never loaded) — so a `callingReady`-ONLY gate STILL crashes. Await `callingReady`, THEN\n> confirm `CometChatUIKitCalls` is non-null before mounting:\n```ts\n\u002F\u002F component\nimport { CometChatUIKit, CometChatUIKitCalls } from '@cometchat\u002Fchat-uikit-angular';\nreadonly callsReady = signal(false);\nconstructor() {\n  CometChatUIKit.callingReady\n    .then(() => this.callsReady.set(!!CometChatUIKitCalls))   \u002F\u002F namespace must be populated, not just \"ready\"\n    .catch(() => this.callsReady.set(false));\n}\n```\n```html\n\u003C!-- Do NOT mount \u003Ccometchat-call-logs> unguarded — it NPEs on CometChatUIKitCalls being null. -->\n\u003Ccometchat-call-logs *ngIf=\"callsReady()\" (itemClick)=\"openCall($event)\">\u003C\u002Fcometchat-call-logs>\n\u003Cdiv *ngIf=\"!callsReady()\">Loading call history...\u003C\u002Fdiv>\n```\n> **STOPGAP** (remove once the kit component awaits `getCometChatCalls()` \u002F null-guards\n> `CometChatUIKitCalls` itself — filed as a UIKit bug; the docs page also omits this prerequisite —\n> DOCS-BACKLOG). `isCallingEnabled()` is the sync settings check; **`callingReady` + a `CometChatUIKitCalls`\n> null-check** is what actually guards the mount (`callingReady` alone is NOT enough — proven live).\n\nAlso available: `CallLogsService` for headless querying, and `guides\u002Fcall-log-details` for a detail view.\n\n## Environment requirements\n- **HTTPS or localhost.** `getUserMedia` is blocked on plain HTTP, so calls fail on a LAN IP over http.\n- Microphone\u002Fcamera permission is a **user-gesture** prompt — trigger it from a click, never on load.\n- `CometChatUIKit.callingReady` is a promise that resolves once calling is initialised; `isCallingEnabled()` is the synchronous check.\n\n## Common pitfalls\n1. **Listener in the chat page** → calls ring only on that route.\n2. **`uiKit.callsSDK` missing from `initFromSettings`** → calling silently off; call buttons render as zero-size empty elements. Installing the package is not enough.\n3. **Calls SDK not installed** → components inert, no error.\n4. **Calling not enabled in the dashboard** → code correct, nothing happens.\n5. **Plain HTTP** → `getUserMedia` blocked.\n6. **Duplicate call buttons** → the header already renders them.\n7. **Hand-rolled call screen** → loses WebRTC teardown; use `\u003Ccometchat-ongoing-call>`.\n8. **No zero-height container** — the ongoing-call surface needs real dimensions like any other component.\n\n## Verify it works\nTwo browsers, two users, HTTPS or localhost · caller sees outgoing UI, callee's device rings **from any route** · accepting connects audio\u002Fvideo both ways · ending returns both to chat · the call appears in call logs · no console errors.\n\n## Explain what you built (REQUIRED close)\nTell the developer what changed, naming the files: calling — the packages added, that `uiKit: { callsSDK: {} }` is what switches it on, and where `\u003Ccometchat-incoming-call>` is mounted. Flag anything dev-only as dev-only, and say what you did **not** touch — this is additive.\n\n**Then offer these THREE options as a SELECTABLE choice and WAIT for the pick — never auto-continue (`RULES.md` §19):**\n1. **Add another feature** → call-log details, or another grow-set feature from `features.angular-v5.json`. **Never offer an `auto` entry** (reactions, mentions, receipts, typing, media) — those are core in v5 and already on.\n2. **Customize theming** → `cometchat-angular-v5-customization`.\n3. **Test it manually** → do nothing further; hand back so the user runs it.\n",{"name":5,"license":15,"metadata":46,"description":7,"compatibility":50},{"tags":47,"author":48,"version":49},"cometchat angular calls v5 voice video calling webrtc call-logs","CometChat","1.0.0","@cometchat\u002Fchat-uikit-angular ^5 (5.1.0–5.2.2 verified) + @cometchat\u002Fcalls-sdk-javascript ^5.0.3; Angular 17-21","main","cebc3dce495d7eb80d3b1d5841f877a4a92e162d","plugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-calls",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-angular-v5-calls",{"tool":67,"command":68},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-angular-v5-calls",{"tool":70,"command":71},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-angular-v5-calls","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-calls\u002FSKILL.md",true,[75],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fhuddle.md","REFERENCE","参考文档",7072,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-calls\u002Freferences\u002Fhuddle.md",[82,91,99,107,115,123],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":90},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":90},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":90},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":90},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":90},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":90},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]