Commit 12ad547
fix(runner): add timestamps to Gemini CLI messages in UI (#892)
## Summary
- Pass event timestamps from Gemini CLI NDJSON to AguiAssistantMessage
objects
- Converts ISO timestamps to milliseconds for AG-UI compatibility
- Adds timestamps to TextMessageStartEvent for streaming events
## Test plan
- [x] Unit tests pass (13/13 Gemini adapter tests)
- [x] Lints pass (ruff check + ruff format)
- [ ] Manual test: start Gemini session, verify timestamps appear
Fixes: RHOAIENG-52261
**Jira:**
[RHOAIENG-52261](https://issues.redhat.com/browse/RHOAIENG-52261)
Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 310e369 commit 12ad547
1 file changed
Lines changed: 21 additions & 0 deletions
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
43 | 53 | | |
44 | 54 | | |
45 | 55 | | |
| |||
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
| 101 | + | |
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
| |||
141 | 152 | | |
142 | 153 | | |
143 | 154 | | |
| 155 | + | |
144 | 156 | | |
145 | 157 | | |
146 | 158 | | |
147 | 159 | | |
| 160 | + | |
148 | 161 | | |
149 | 162 | | |
150 | 163 | | |
| |||
163 | 176 | | |
164 | 177 | | |
165 | 178 | | |
| 179 | + | |
166 | 180 | | |
167 | 181 | | |
168 | 182 | | |
169 | 183 | | |
| 184 | + | |
170 | 185 | | |
171 | 186 | | |
172 | 187 | | |
| |||
193 | 208 | | |
194 | 209 | | |
195 | 210 | | |
| 211 | + | |
196 | 212 | | |
197 | 213 | | |
198 | 214 | | |
199 | 215 | | |
| 216 | + | |
200 | 217 | | |
201 | 218 | | |
202 | 219 | | |
| |||
213 | 230 | | |
214 | 231 | | |
215 | 232 | | |
| 233 | + | |
216 | 234 | | |
217 | 235 | | |
218 | 236 | | |
219 | 237 | | |
220 | 238 | | |
| 239 | + | |
221 | 240 | | |
222 | 241 | | |
223 | 242 | | |
| |||
297 | 316 | | |
298 | 317 | | |
299 | 318 | | |
| 319 | + | |
300 | 320 | | |
301 | 321 | | |
302 | 322 | | |
303 | 323 | | |
304 | 324 | | |
| 325 | + | |
305 | 326 | | |
306 | 327 | | |
307 | 328 | | |
| |||
0 commit comments