Eric Traut and GitHub
e5af672d73
Render code comment directives in TUI replay ( #26554 )
...
## Summary
Resumed Codex App or VS Code review sessions can contain
`::code-comment` directives that the TUI previously displayed verbatim
because only rich clients interpret them.
This change rewrites valid line-start directives into readable Markdown
during assistant-message parsing, using the session working directory
for relative file paths. The fallback is applied consistently to live
messages, replayed transcripts, and resume previews while preserving
malformed directives and existing `::git-*` parsing.
## Before
The TUI exposed the raw client directive:
```text
::code-comment{title="Fix body= parsing" body="Keep role=\"tab\", ::git-stage{cwd=/tmp}, file=, and \n literal." file="/repo/src/app.ts" start=10 end=12 priority="P2"}
```
## After
The same directive is rendered as readable review feedback:
```text
- [P2] Fix body= parsing — src/app.ts:10-12
Keep role="tab", ::git-stage{cwd=/tmp}, file=, and \n literal.
```
Fixes #25658
2026-06-05 08:34:34 -07:00
..
2026-05-18 10:32:33 -07:00
2026-05-19 17:54:41 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-04-28 12:35:00 -07:00
2026-06-04 11:24:12 -07:00
2026-05-07 15:44:17 -07:00
2026-06-05 14:43:44 +00:00
2026-06-02 13:18:59 -07:00
2026-05-25 09:41:12 -07:00
2026-06-05 14:43:44 +00:00
2026-05-28 14:54:39 -07:00
2026-06-05 05:12:23 +00:00
2026-06-01 18:45:07 +00:00
2026-06-03 19:08:19 -07:00
2026-05-07 15:44:17 -07:00
2026-05-08 04:07:59 +00:00
2026-06-05 14:43:44 +00:00
2026-05-05 22:22:01 -07:00
2026-06-01 11:04:21 -07:00
2026-06-05 08:32:42 -07:00
2026-06-02 16:41:48 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 09:39:20 -07:00
2026-06-05 02:41:06 -07:00
2026-06-01 21:25:42 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-02 17:04:11 +02:00
2026-05-07 15:44:17 -07:00
2026-06-04 18:40:18 +00:00
2026-05-28 22:08:05 -07:00
2026-06-03 13:32:55 +02:00
2026-06-05 16:24:22 +02:00
2026-06-04 12:43:07 -07:00
2026-06-04 17:47:58 -07:00
2026-06-04 15:28:06 +02:00
2026-06-04 20:23:37 -07:00
2026-06-04 13:36:24 -07:00
2026-06-04 22:36:25 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-05 10:25:57 +02:00
2026-06-04 14:16:03 -04:00
2026-06-04 13:13:05 -04:00
2026-06-04 13:15:50 -07:00
2026-05-26 15:59:25 -07:00
2026-05-07 15:44:17 -07:00
2026-06-01 11:53:31 -07:00
2026-05-28 23:09:55 -07:00
2026-05-18 10:53:49 -07:00
2026-06-02 13:18:59 -07:00
2026-06-03 19:08:19 -07:00
2026-05-07 15:44:17 -07:00
2026-06-05 08:00:46 -07:00
2026-05-07 15:44:17 -07:00
2026-05-28 05:40:17 -07:00
2026-06-05 02:41:06 -07:00
2026-06-04 13:36:24 -07:00
2026-06-04 09:53:08 -04:00
2026-05-30 11:54:58 -07:00
2026-05-28 10:29:06 -07:00
2026-06-04 18:49:51 -07:00
2026-06-01 23:23:59 +00:00
2026-06-04 09:53:08 -04:00
2026-06-05 02:41:06 -07:00
2026-05-21 16:11:59 -07:00
2026-05-25 17:26:10 -03:00
2026-06-03 13:32:55 +02:00
2026-06-05 02:41:06 -07:00
2026-05-07 15:44:17 -07:00
2026-04-22 22:24:12 -07:00
2026-05-07 15:44:17 -07:00
2026-06-05 02:31:06 +00:00
2026-06-05 02:41:06 -07:00
2026-06-05 02:41:06 -07:00
2026-06-03 10:41:41 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 22:36:25 -07:00
2026-05-07 15:44:17 -07:00
2026-05-28 15:11:11 +00:00
2026-06-04 13:36:24 -07:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-06-04 18:40:18 +00:00
2026-06-04 13:36:24 -07:00
2026-06-05 10:25:57 +02:00
2026-06-05 08:34:34 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 13:36:24 -07:00
2026-05-18 21:33:05 -07:00
2026-05-06 18:10:30 +00:00
2026-06-04 16:52:10 -07:00
2025-10-19 20:41:55 -04:00
2026-04-24 17:49:29 -07:00
2026-06-04 22:36:25 -07:00
2026-06-04 20:07:53 +00:00
2026-04-20 22:41:54 -07:00
2026-05-13 03:08:01 +00:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00
2025-05-07 08:37:48 -07:00