(client: OpenCodeClient, level: LogLevel, message: string)
| 88 | } |
| 89 | |
| 90 | function log(client: OpenCodeClient, level: LogLevel, message: string): void { |
| 91 | try { |
| 92 | void client.app?.log?.({ level, message }); |
| 93 | } catch { |
| 94 | // OpenCode logging is best-effort. |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | function getPlannotatorBin(): string { |
| 99 | return process.env.PLANNOTATOR_BIN?.trim() || "plannotator"; |
no outgoing calls
no test coverage detected