()
| 127 | } |
| 128 | |
| 129 | private getClient(): OpencodeClient { |
| 130 | if (!this.client) { |
| 131 | throw new Error("OpenCode client is not initialized."); |
| 132 | } |
| 133 | return this.client; |
| 134 | } |
| 135 | |
| 136 | async createSession(options: CreateSessionOptions): Promise<AISession> { |
| 137 | await this.ensureServer(); |
no outgoing calls
no test coverage detected