(entry: any)
| 203 | } |
| 204 | |
| 205 | function extractMessageText(entry: any): string { |
| 206 | const content = entry.message?.content; |
| 207 | if (!content) return ""; |
| 208 | if (typeof content === "string") return content; |
| 209 | if (Array.isArray(content)) { |
| 210 | return content |
| 211 | .filter((c: any) => c.type === "text") |
| 212 | .map((c: any) => c.text) |
| 213 | .join("\n"); |
| 214 | } |
| 215 | return ""; |
| 216 | } |
| 217 | |
| 218 | // ------------------------------------------------------------------- |
| 219 | // Antigravity: ~/.gemini/antigravity/brain/<id>/ |
no outgoing calls
no test coverage detected