UNOUNOCODE

CORE CONCEPTS

Compaction

Every model has a limit on how much it can read at once: its context window. When a long conversation gets close, Uno shortens it so the work can carry on.

IN ONE LINEFirst drop old tool output, then, if that is not enough, replace the conversation after your first message with a summary.
BEFORE window limit STAGE 1 · prune old tool output STAGE 2 · all after your first message becomes one summary, plus recent files summary
Stage one is free and usually enough. Stage two costs one model call.

What happens, in order

  1. Prune. Old tool output (file contents, test logs) is the bulk of most long conversations, and the model has already acted on it. Uno replaces old results with a short note. The newest ones stay.
  2. Summarise. If that is not enough, Uno asks the same model, on the same cached prefix, for a summary in fixed sections: the goal, decisions made, files touched, work still open, and the exact next step. The summary replaces everything after your first message, and the current text of up to five recently touched files is attached so the work can carry on.
  3. Carry on. Tool calls and their results always stay in pairs, and a resumed session loads the short history.
  4. Last resort. If even a summary will not fit, the run stops with too_long, the work so far saved, and tells you to start a new run with what is left.

Type /compact to shorten now, for example before starting the next part of a big task. --window <tokens> sets the window for a model Uno does not know, or makes shortening happen earlier.

Use cases

A long migration

Hours of edits and test runs in one chat. The old logs get pruned, the plan and decisions survive in the summary.

uno

Before the next chapter

Finished one feature, starting another in the same chat? Compact first so the new work starts lean.

/compact
DESIGN DECISION · M8, M9, M10

Summarise with the same model on the same prefix, not a cheaper model: the cached prefix makes it cheap anyway, and a cheaper model forgets more. Prune before summarising, because dropping old output loses almost nothing and costs nothing. Use fixed sections, because free-form summaries quietly drop the things you need later.