| 1707 | // this — dev_plugins captures what was typed, not what was accepted. |
| 1708 | if (channelEntries.length > 0 || (devChannels?.length ?? 0) > 0) { |
| 1709 | const joinPluginIds = (entries: ChannelEntry[]) => { |
| 1710 | const ids = entries.flatMap(e => e.kind === 'plugin' ? [`${e.name}@${e.marketplace}`] : []); |
| 1711 | return ids.length > 0 ? ids.sort().join(',') as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS : undefined; |
| 1712 | }; |
| 1713 | logEvent('tengu_mcp_channel_flags', { |
| 1714 | channels_count: channelEntries.length, |
| 1715 | dev_count: devChannels?.length ?? 0, |