Repository navigation
Commit 4c6be13
committed
feat(tui): give every tool call the time, duration and message ID footer
A tool call's finish time and duration were easy to lose: a block tool
appended them to its title, so a long multi-line title such as a plugin
tool's prompt argument pushed them to the end of its last line, and an
inline row whose arguments span lines did the same. The message ID had
no place on tool calls at all.
Tool calls now take footer.time, footer.duration and footer.message_id
the same way the other entries do, whatever renders them - built-in,
generic, plugin or MCP tools: toolFooter in session/index.tsx feeds
formatToolTimestamp, which adds the message the call belongs to. A
block tool puts them on its own last line; an inline row keeps them
after its text unless the arguments span lines (footerBelow), in which
case they get their own line. Defaults still show nothing.
AI-Tool: opencode 1.18.34-vt-168-907b3bc518
AI-Model: anthropic/claude-opus-5-5
AI-Variant: high
AI-Platform: linux
AI-Harness: Vibeterm 18dc0eb
AI-Session-ID: ses_ee68aab01ffei41gwUGJ5ESj6W1 parent 8a940a7 commit 4c6be13
4 files changed
Lines changed: 62 additions & 22 deletions
File tree
- packages
- tui
- src
- config
- routes/session
- test/cli/tui
- web/src/content/docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
216 | | - | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2179 | 2179 | | |
2180 | 2180 | | |
2181 | 2181 | | |
2182 | | - | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
2183 | 2189 | | |
2184 | 2190 | | |
2185 | 2191 | | |
| |||
2209 | 2215 | | |
2210 | 2216 | | |
2211 | 2217 | | |
| 2218 | + | |
2212 | 2219 | | |
2213 | 2220 | | |
2214 | 2221 | | |
| |||
2238 | 2245 | | |
2239 | 2246 | | |
2240 | 2247 | | |
2241 | | - | |
2242 | | - | |
2243 | | - | |
2244 | | - | |
| 2248 | + | |
2245 | 2249 | | |
2246 | 2250 | | |
2247 | 2251 | | |
| |||
2269 | 2273 | | |
2270 | 2274 | | |
2271 | 2275 | | |
| 2276 | + | |
2272 | 2277 | | |
2273 | 2278 | | |
2274 | 2279 | | |
| |||
2302 | 2307 | | |
2303 | 2308 | | |
2304 | 2309 | | |
| 2310 | + | |
2305 | 2311 | | |
2306 | 2312 | | |
2307 | 2313 | | |
| |||
2357 | 2363 | | |
2358 | 2364 | | |
2359 | 2365 | | |
2360 | | - | |
| 2366 | + | |
2361 | 2367 | | |
2362 | 2368 | | |
2363 | 2369 | | |
2364 | 2370 | | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
2365 | 2376 | | |
2366 | 2377 | | |
2367 | 2378 | | |
| |||
2387 | 2398 | | |
2388 | 2399 | | |
2389 | 2400 | | |
2390 | | - | |
2391 | | - | |
2392 | | - | |
2393 | | - | |
2394 | | - | |
2395 | | - | |
| 2401 | + | |
2396 | 2402 | | |
2397 | 2403 | | |
2398 | 2404 | | |
| |||
2421 | 2427 | | |
2422 | 2428 | | |
2423 | 2429 | | |
2424 | | - | |
2425 | 2430 | | |
2426 | 2431 | | |
2427 | 2432 | | |
| |||
2433 | 2438 | | |
2434 | 2439 | | |
2435 | 2440 | | |
2436 | | - | |
2437 | | - | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
2438 | 2445 | | |
2439 | 2446 | | |
2440 | 2447 | | |
| |||
2707 | 2714 | | |
2708 | 2715 | | |
2709 | 2716 | | |
2710 | | - | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
| 2720 | + | |
| 2721 | + | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
2711 | 2731 | | |
2712 | 2732 | | |
2713 | 2733 | | |
2714 | 2734 | | |
| 2735 | + | |
2715 | 2736 | | |
2716 | 2737 | | |
2717 | 2738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
257 | 271 | | |
258 | 272 | | |
259 | 273 | | |
| |||
275 | 289 | | |
276 | 290 | | |
277 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
278 | 296 | | |
279 | 297 | | |
280 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments