()
| 43 | } |
| 44 | |
| 45 | export function getLogger(): Logger { |
| 46 | if (!globalLogger) { |
| 47 | throw new Error("Logger not initialized"); |
| 48 | } |
| 49 | return globalLogger; |
| 50 | } |
| 51 | |
| 52 | export function getApi(): OpenClawPluginApi { |
| 53 | if (!globalApi) { |
no outgoing calls
no test coverage detected