Command output, diffs and previews

While DataMind Oda works in your chat, the reply shows what its steps produced: the output of the commands it ran, the changes it made to files, and small details about those files. This page covers how that output is drawn, and how to read and copy it.

What each card shows, and how much of it, is in Step cards in chat; how a step runs, fails or is stopped is in Tool calls in the chat. Charts, KPI cards and diagrams are covered with the company data work in Company data and documents.

Read a command's output

Read a diff

Rows and preview cards

File details in cards and lists

Questions, answered

Why does coloured output look different from my terminal?

The card draws colours from your theme, not from your terminal's own palette. Basic colours map onto the app's palette, and plain black or white text is remapped so it stays readable in light and dark themes. Colours the palette has no match for, such as 256-colour output, keep the values the command printed.

A progress line in the output came out scrambled. Why?

A command that redraws a line in place uses carriage returns, and the card replays those moves as plain text. Characters the earlier version wrote can stay beside the redrawn text.

Is the output card a terminal I can type in?

No. The card shows what a command printed and reads like text: it is not a full terminal, so cursor positioning, screen clearing, full-screen programs and animated text are not reproduced. You take the text out with Copy. For your own shell, see The terminal.

How do I copy a diff as it is shown?

Use the card's Copy control. It copies the change as plain text: removed lines take - , added lines take + , unchanged context keeps two spaces, and the lines the fold hides are included.

Why does a very large change show every line as added and removed?

The card pairs a change line by line, and a very large change can exceed what it can pair. It then shows the whole change as a replacement: every old line as removed and every new line as added. The totals count both sides.

Why is a code block sometimes shown as plain text?

The card colours code by the language it recognises from the file's name. When the language is not recognised, the text shows plain; nothing is missing from it.

Why does README show a Markdown icon?

File names such as README, CHANGELOG and CONTRIBUTING are read as Markdown, so they get the Markdown icon even without a .md ending.

Why is a file's size rounded?

Sizes are shown in the largest unit that fits, with one decimal below ten of that unit and rounded values above. That is why a file can read 4.2KB instead of an exact byte count.

How do I keep a preview card open once it appears?

Rest the pointer on the card itself: the card stays while the pointer is on it. To close a preview without moving away, press Escape.

How do I copy a value from a preview card?

If the card offers copying, click it, or focus it and press Enter or Space. It copies what it shows, and the card says Copied for about a second.