Edited files New in 0.9.13

When Enkaidu writes or edits a text file during your chat, the Web UI makes that file one click away: a small button labeled with the file’s name appears above the response that follows the change. If several files were touched, each one gets its own button (a file modified multiple times yields a single button).

Hovering a button reveals the file’s full path.

Viewing a file

Clicking a file button opens a side panel to the right of the transcript.

  • The panel header shows the file’s full path, with a button to close it.
  • The content is the file’s current contents, read from disk at the moment you clicked — source code shown highlighted, or rendered if it’s a renderable format like Markdown, Mermaid diagrams etc.
  • Clicking the same file’s button again closes the panel; clicking another file’s button switches the panel to that file (re-reading its contents fresh).

The panel opens at half the window width. Drag the slim divider between the transcript and the panel to resize it; double-click the divider to snap back to half.

Rich output

Enkaidu’s web UI supports rendering rich content types like Mermaid diagrams and Vega-lite charts within code blocks. The file viewer supports rendering those formats as well, allowing you to see both the visualization as well as the source code.

What counts as an edit

Buttons appear when Enkaidu’s write or edit tools run on a text file. (Other file types Enkaidu can produce, like images, are shown inline instead.)

The viewer only serves files that live under the session’s working directory — a path resolving outside it is refused, and the panel shows an authorization error instead of content.