You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tui): open generated files and reports in a terminal viewer
Add a clickable "Files generated" list in the chat transcript with a
full-screen file viewer (Esc to return). Wire Studio artifact/report_marker
SSE events and session history artifacts through the platform backend, and
fetch content via GET /api/studio/artifacts/content.
| Network authorization | Inline transcript notice plus a focused approval card for OpenShell proxy denials; `enter`/`y` allows the blocked host, `b` allows the suggested broader pattern, and `n`/`esc` denies |
105
105
| File diffs |**Main-thread**`ItemFileDiff` dual-gutter editor view (`old`/`new` line numbers + ± content) on successful `edit_file`/`write_file`. Prefers `verification_context`; falls back to args |
106
+
| Generated files / reports |`artifact` SSE events render as a compact “Files generated” list in the transcript. Clicking a file opens a full-screen file viewer; `Esc` returns to the main chat. Markdown artifacts render through the same terminal markdown renderer as agent responses, while other extensions render as scrollable raw/code content with line numbers. |
Copy file name to clipboardExpand all lines: docs/website/docs/cli/chat.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,10 @@ Pasting an image from the clipboard inserts `[image #1]` (then `#2`, `#3`, …).
88
88
89
89
On Linux, image paste requires `wl-paste` (Wayland) or `xclip` (X11) on `PATH`. On macOS, the system pasteboard is used directly.
90
90
91
+
## Generated files and reports
92
+
93
+
When an agent creates files, the terminal transcript shows a compact **Files generated** list. Click a file row to open it in a full-screen viewer; press `Esc` to return to the main chat thread. Markdown files and reports render with formatted headings, lists, tables, and code blocks. Other file types open as scrollable raw/code content with line numbers.
94
+
91
95
## In-Session Commands
92
96
93
97
While in an active chat session, type `/` to access these commands:
0 commit comments