(payload: any)
| 1222 | } |
| 1223 | |
| 1224 | send(payload: any): void { |
| 1225 | if (!this.child?.stdin?.writable) { |
| 1226 | throw new Error('Codex app-server stdio is not open'); |
| 1227 | } |
| 1228 | this.child.stdin.write(`${JSON.stringify(payload)}\n`); |
| 1229 | } |
| 1230 | |
| 1231 | handleMessage(raw: string): void { |
| 1232 | let message; |
no test coverage detected