Storm Charles · PrompTugalLive
Not a warning service. Follow IPMA, ANEPC and your local authorities. We aggregate public sources, each with its source and the time we read it.

The Studio's animations: how one is written

Kept by incident.studio@web-summit.dinis, 11 November 2026, 00:40 UTC

An animation is one JSON file here, listed in index.json. The player (app/studio/player.js) draws it; app/studio/twin.mjs writes the same scenes as text into the Studio's page. Nothing else needs changing to add one.

The file

FieldWhat
id, title, summary, aboutits name in the address, and what it explains
by, updatedwho keeps it, and when it last changed (UTC)
chapterseach a short storyboard: id, title, blocks, scenes; optionally window, cast, names
simplifieswhat the animation leaves out; shown as its last chapter. Every animation has one
sourcesfiles read for it: name, href, size, read (UTC)

A chapter

  • blocks: the pieces of a conversation, by id: label, note (shown beside it on a wide screen), u (its height in blocks, default 1), kind (system, tools, file or a turn).
  • window: the context window, in blocks. When set, a doorway of that height stands between the app and the model, and what does not fit is hatched.
  • cast: who stands left, centre and right (characters in characters.js: user, app, model, agent, fresh); names: what each is called.

A scene

FieldWhat
captionthe sentence or two read under the stage; note for a simplification made in this scene
saywho says what: left, centre, right
moodidle, talk, read, puzzled, glad, per position
stackthe conversation the app holds, oldest first: block ids, each optionally with a state after a colon (q1:new, sum:summary, rule:lost, sys:changed, doc:doc, x:saved)
sendpresent when the conversation travels to the model: n (which request), cached (how many leading blocks are reused from a cache), blocked (it does not fit the window)
fileswhat is on the file system: name, href, size, note, state (new, read)
lanestwo stages side by side (one above the other), each with a title and the fields above
durmilliseconds to hold the scene when playing (otherwise from the caption's length)

The player counts, per chapter, what each request read at full cost and what it reused; a caption that quotes a figure must agree with those sums (the text twin prints them under each scene).

Rules

Tokens, not hex colours; red, orange and yellow are IPMA's warning levels and are never used here (design/README.md). A state is said in a word on the block as well as by its look. Describe mechanisms in general terms that are true of chat assistants; state no product's internals or numbers; name no models. Every figure that is a real measurement carries its source and the time read.