(event)
| 149 | } |
| 150 | |
| 151 | function isFailureEvent(event) { |
| 152 | const type = typeof event?.type === "string" ? event.type : ""; |
| 153 | return type.includes("failed") || type === "error" || Boolean(event?.error); |
| 154 | } |
| 155 | |
| 156 | export function parseCodexJsonStream(text) { |
| 157 | const lines = String(text || "").split(/\r?\n/); |
no outgoing calls
no test coverage detected