(method: string)
| 129 | } |
| 130 | |
| 131 | function classifyCapabilityMethod(method: string): GatewayCapabilityName | null { |
| 132 | if (method === 'health') return 'openclawHealth'; |
| 133 | if (method === 'status') return 'openclawStatus'; |
| 134 | if (method === 'channels.status') return 'channels'; |
| 135 | if (method.startsWith('doctor.memory.')) return 'memory'; |
| 136 | return null; |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Gateway Manager Events |