# Changes

## 0.10

Released on 2026-11-30.

hotty's 0.10 hosts and SDKs speak 0.9 too, and no longer 0.8 (SPEC.md
§15), so versions meet as follows (§4, §14):
- a 0.9 program on a 0.10 host that speaks 0.9 is answered in 0.9, and
  hears 0.9's events from then on: no `pointer` event, no `pointer`,
  `finger` or `cut` in a detail, no `gesture` or `wheel` read from
  `data-on`, and a touch's drag that a second finger ends (HOST.md §5).
  Its surfaces' media features follow the device, as in every session;
- a 0.10 program, whose query lists `0.9,0.10`, on a 0.9 host is
  answered in 0.9, and hears none of 0.10's events there (SDK.md §3.8);
- an 0.8 program meets a 0.10 host at `EVERSION`, as a host or a program
  that speaks only 0.10 meets a 0.9 one, and the program falls back.

Versions compare as numbers: 0.10 is after 0.9 (SPEC.md §4).

### What changed

- **The media features follow the device that draws** (SPEC.md §8;
  HOST.md §4.2). `pointer`, `any-pointer`, `hover` and `any-hover` are the
  drawing host's device's, in every session, and a change draws every
  surface again, as `prefers-color-scheme` does. The program hears
  nothing: `@media (pointer: coarse)` makes a phone's targets big with no
  code of the program's.
- **The kind of pointer** (SPEC.md §9). A `click`, `press`,
  `contextmenu`, `dragstart`, `gesturestart` and `wheel` carry
  `"pointer"`: `"mouse"`, `"pen"` or `"touch"`, Pointer Events' names; a
  touchpad is `"mouse"`. None from the keyboard. A program takes a kind it
  does not know as `"mouse"`.
  - **`pointer`, an event of the terminal,** asked for by the query, says
    the user pressed, touched or scrolled with another kind than the
    program last heard of, before what the input makes. A move alone
    sends none. A multiplexer sends each pane's own.
- **A drag per finger** (SPEC.md §9.1). A finger that touches while
  others drag or are undecided is decided on its own: it drags, taps or
  long-presses, and never pans. Each touch drag's events carry `finger`,
  the lowest number no finger down holds. A tap among fingers is a press
  and a click the host makes. Once a finger pans, the rest are the
  host's, as before.
- **`cut`** on a `dragend` that something other than the release ended:
  a gesture, a hide, a new document, a lost pointer (SPEC.md §9.1).
- **Gestures** (SPEC.md §9.8). `gesture` in `data-on` makes two fingers
  on the element a gesture: `gesturestart`, then `gesture` at most once a
  frame with `scale`, `angle` (degrees, clockwise, counted on) and the
  centre's cell and step, then `gestureend`. It takes over a first
  finger's drag (with `cut`) or pan; a quick second finger is a tap; a
  third joins. Over such an element a pinch is not the host's. A
  touchpad's pinch over it is the same gesture, `"pointer": "mouse"`,
  its centre moving where the platform says.
- **The wheel for an element that asks** (SPEC.md §9.9). `wheel` in
  `data-on` makes the wheel over the element its own: nothing scrolls,
  and `wheel` carries `dx` and `dy` in CSS pixels, the pointer's cell and
  step, `mods` (Ctrl included), `pointer`, and `precise`, whether the
  device scrolls by pixels or by notches. Summed, at most one a frame.
- **A tie drags where no pan is allowed** (SPEC.md §9.1): a first move
  as far across as down pans only where the `touch-action` allows a pan
  along an axis, and drags under `none`.
- **A host may bounce and coast** (SPEC.md §5.3): a precise scroll past
  an edge springs back, and a fling coasts, honouring
  `overscroll-behavior` and reduced motion. The program hears nothing of
  the bounce.

### Upgrading from 0.9

**A program:**
- Ask for `v=0.10`, or `v=0.9,0.10` to speak both. Compare versions as
  numbers.
- Read `pointer` where it adapts to the device, and the `pointer` event
  in the cells; take an unknown kind, and none, as the mouse. A press
  with no `t` now has a detail, its `pointer`.
- Key touch drags by `s` and `finger`, not by the surface alone: two
  fingers may drag at once, on one element or two. Drop what a `dragend`
  with `cut` ended.
- Take pinches, turns and two-finger pans with `gesture`, and the wheel
  in pixels with `wheel`. For a 0.9 host as well, offer another way to
  zoom and pan.
- Style for touch with `pointer` and `hover` media queries: no capability
  says it.
- Size what follows the cell from each `caps`: `cellcss` may change in a
  session (SDK.md §4.8).

**An SDK:**
- `Version` is `"0.10"`, `Versions` `["0.9", "0.10"]`, and the copy of
  the vectors moves with them (SDK.md Appendix I). An 0.8 host is no
  longer one it takes.
- Read the new kinds and fields: `Pointer`, `Finger`, `Cut`, `Gesture`,
  `Wheel`, and the `PointerMouse`, `PointerPen` and `PointerTouch` names
  (SDK.md §3.1, §3.9). The decode vectors check them.
- The test host plays fingers, gestures, wheels and a kind (SDK.md
  §4.4), and skips the `speaks-0.9` vectors where it speaks 0.10 only.

**A host:**
- Speak 0.10, and a host that also speaks 0.9 answers a 0.9 program in
  0.9 with 0.9's events and `data-on` (HOST.md §5). An 0.8 program is
  answered with `EVERSION`.
- Match the media features to the device that draws, and draw again when
  its pointers change (HOST.md §4.2).
- Send `pointer` in the details and the `pointer` event; take each
  finger on its own with `finger`; recognise gestures, a touchpad's pinch
  included; take the wheel for `wheel`, with `precise`; send `cut`;
  break a tie as §9.1 now has it.
- Let §16's test interface touch with several fingers, pinch a touchpad
  where the platform has one, and turn the wheel by pixels or by notches.
  The runner declares `pinch` and `pinch-pan` where it has them, and
  follows the vectors' new steps (conformance/README.md).
- A bounce and a coast are optional, and say nothing.

**A multiplexer:**
- One that passes hotty through sends each pane's program its own
  `pointer` event, for input in the pane's part of the terminal that
  shows it (SPEC.md §9, §16). A surface it relays to two terminals matches
  each one's device there, with nothing for it to do.

## 0.9

Released on 2026-11-23.

hotty's 0.9 hosts and SDKs speak 0.8 too, and no longer 0.7 (SPEC.md
§15), so versions meet as follows (§4, §14):
- an 0.8 program on a 0.9 host that speaks 0.8 is answered in 0.8, and
  the host speaks 0.8 to it from then on in its wire shapes: its
  `data-keys` holds for everything inside its element, and its menus come
  from a `press` with `button` 2 under `secondary` (HOST.md §5.1, §5.2).
  Focus fixup, the edge wheel, a program key sent as the command and an
  identical resend are 0.9's in every session, an 0.8 one included
  (HOST.md §5);
- a 0.9 program, whose query lists `0.8,0.9`, on an 0.8 host is answered
  in 0.8: it hears no `contextmenu` and no `auxclick` there, and its
  `data-keys-inner` is not read (SDK.md §3.8);
- a 0.7 program meets a 0.9 host at `EVERSION`, as a host or a program
  that speaks only 0.9 meets an 0.8 one, and the program falls back.

### What changed

- **The focused element going away** loses focus, as in HTML's focus
  fixup (SPEC.md §10.1, §10.2, §9): removed, replaced, disabled, inert, no
  longer focusable, or not rendered, `visibility: hidden` included and
  `opacity: 0` not. The surface keeps the keyboard with nothing focused,
  the host sends no `blur`, and the next key reaches the program. A text
  control the user changed sends its `change`.
  - **From nothing focused,** Tab goes to the first of the elements that
    take focus and Shift+Tab to the last.
  - **`a=focus` with `t`** on an element that is not focusable, or is
    disabled, inert or not rendered, focuses nothing, and is no error: an
    element that had focus keeps it.
- **An identical resend may change nothing** (SPEC.md §7.1). A host
  **MAY** ignore an `a=res` whose id, type as sent and bytes match the
  stored resource, and either way **MUST NOT** change what is shown: an
  animated image goes on from where it is, and no frame is drawn without
  the resource. **A resource's type** says what it is: a stylesheet link
  or `@import` applies only a resource whose type, ignoring case and
  parameters, is `text/css`.
- **A key the keymap gives the program,** bound to `program` or `prefix`,
  that is a command the program took reaches it as the command (SPEC.md
  §10.6, §10.2, §10.5, §11): `ctrl+c=program` on Linux, with `copy` taken,
  sends `copy` with `"key": "ctrl+c"`, and does not copy a selection.
- **A wheel past a surface's edge no longer becomes keys** (SPEC.md §5.3,
  §9; SDK.md §4.5). On the alternate screen, while the program has no
  mouse tracking on, a gesture along an axis the document scrolls stops at
  the root, whatever the terminal's alternate scroll setting. On the main
  screen it still chains to the scrollback. A host that keeps a gesture's
  route keeps one for each axis, and a multiplexer that relays the surface
  does the same for the program behind it.
- **A pointer's other buttons, as the DOM has them** (SPEC.md §9,
  §9.1–§9.4, §3.3, §5.2, §10.2, §11; HOST.md §3.1, §3.2).
  - **`contextmenu`**, an event and a word of `data-on`, replaces the
    secondary press: the platform's gesture for a context menu (a mouse's
    secondary button, Control with the primary on macOS, a pen's barrel,
    a long press, and the menu key on a host that reports it), with
    `area` and the pointer's cell.
  - **`aux`** brings an `auxclick` at the release, for every other button
    by its DOM number, and with `drag` a drag with those buttons, its
    `button` in `dragstart`.
  - **`rightbutton`** takes the secondary button as a plain button: the
    nearest element with `contextmenu` or `rightbutton` decides.
  - A `press` is the primary button's alone.
- **A keymap is the element's own, or for what is inside it** (SPEC.md
  §10.1, §10.2, §10.4, §10.5, §10.7, §11).
  - **`data-keys`** holds only while its element is focused, and
    **`data-keys-inner`** while something inside it is, never the element
    itself. The focused element's keymap is the default keymap for a text
    field, each ancestor's `data-keys-inner` from the root down, then its
    own `data-keys`.
  - **Each reader takes what it has a use for,** in a table: a binding it
    does not take neither acts nor overrides. An element takes a key it
    uses to `program` or `prefix` from its own `data-keys` only, and
    `default` holds there alone.
  - **With nothing focused** the body stands for the document: the root's
    and the body's `data-keys-inner`, then the body's own `data-keys`. A
    selection reads only those, and takes `copy` from the body's own.
  - In the SDKs, `Resolve` takes `own` and `inner`, and its readers as a
    closed set (SDK.md §3.10).
- **Said outright:** a multiplexer that is a host itself conforms as a
  host, and one that passes hotty through conforms by doing what the spec
  says of one (SPEC.md §16, which lists the sections). The vectors do not
  test it.

### Upgrading from 0.8

**A program:**
- Ask for `v=0.9`, or `v=0.8,0.9` to speak both.
- Open an element's menu from a `contextmenu`: write `contextmenu` in its
  `data-on` where `secondary` was, and read `area`, `c` and `r` from it,
  with no `c` and `r` from the menu key. For an 0.8 host as well, write
  both words, and open the same menu from the `press` with `button` 2
  (SDK.md §4.7). A program that acts on every `press` hears only the
  primary button now.
- Take the middle, back and forward buttons with `aux` (an `auxclick`
  with `button`), and the secondary button as a plain one with
  `rightbutton`.
- Place each binding: one for the element alone in its `data-keys`, one
  for what is inside it in its `data-keys-inner`, and one for both in
  both. A wrapper's editing keys or leader, written in `data-keys` under
  0.8, move to its `data-keys-inner`. A key an element uses, such as a
  field's characters or a button's `space`, is given to `program` or
  `prefix` only in that element's own `data-keys`, and so is `default`.
  The document's keys go on the `body`, which holds them with nothing
  focused. For an 0.8 host as well, write a wrapper's inner bindings in
  its `data-keys` too, or write the keymaps by the capabilities' `v`
  (SDK.md §3.8): an 0.8 host reads no `data-keys-inner`, and the program
  would lose its leader and editing keys there.
- A program that takes edit commands and gives a key to `program` or
  `prefix` now hears that key as the `command`, with its `key`: a REPL
  with `copy` taken and `ctrl+c=program` interrupts on a `copy` when
  nothing is selected.
- Send stylesheets as `text/css`: one sent under another type no longer
  applies.
- Expect no arrow keys from a wheel at a surface's edge on the alternate
  screen: the document keeps it.
- After the focused element goes away, the next key comes to the
  program with no `blur`: the last `focus` it heard is stale.

**An SDK:**
- `Version` is `"0.9"`, `Versions` `["0.8", "0.9"]`, and the copy of the
  vectors moves with them (SDK.md Appendix H).
- `Resolve` takes `own` and `inner` and a reader from its closed set; an
  0.8 call fails loudly (SDK.md §3.10). The keymap vectors name `reader`,
  `own` and `inner` in place of `multiline` and `keys`.
- A Field sets its keymap in the `data-keys-inner` of the element that
  holds the fields (SDK.md §4.6).
- Read `contextmenu` and `auxclick` (§3.1, §3.9). The five `Button`
  constants, `ButtonPrimary` to `ButtonForward`, name the DOM's numbers,
  where only `ButtonSecondary` was before.
- The test host does focus fixup, sending only the `change`, and skips
  the `layout` vectors, and the `speaks-0.8` ones where it speaks 0.9
  only (SDK.md §4.4).
- A relay drops a wheel over a relayed surface's window, along an axis
  its document scrolls, where it would become keys (SDK.md §4.5).

**A host:**
- Speak 0.9, and a host that also speaks 0.8 answers an 0.8 program in
  0.8, reading its keymaps and its secondary press as HOST.md §5.1 and
  §5.2 have it, and everything else as 0.9 has it. A 0.7 program is
  answered with `EVERSION`.
- Send `contextmenu` and `auxclick`, take `aux` and `rightbutton`, and
  drag with the other buttons where `drag` asks. Let §16's test interface
  press the secondary button and the other buttons too. The runner
  declares the new requires its host has: `middle-paste`, `menu-key` and
  `control-click`, and `layout` from focus fixup.
- Build a keymap from own and inner, by its reader.
- Run focus fixup at each layout, with no `blur`, committing a changed
  text control with its `change`. Take Tab and Shift+Tab from nothing
  focused to the first and last element, and focus nothing on an
  `a=focus` whose element takes no focus.
- Stop a wheel at the root on the alternate screen as §5.3 has it, with a
  route for each axis.
- Send a key the keymap gives the program as the command it is, where the
  program took it.
- A byte-identical resend may be skipped, and never restarts an
  animation. Apply only a `text/css` resource as a stylesheet.

**A multiplexer:**
- One that relays a surface drops a wheel over its window, along an axis
  the document scrolls, where it would turn it into keys for the program
  behind it (SPEC.md §5.3), and does what §16 says of one.

## 0.8

A draft, as every 0.x is, released across the stack on 2026-11-15:
hotty-go, hotty-ts, hotty-lua and hotty-rs 0.8.0; hotty-blitz and
xterm-addon-hotty 0.8.0; hottyterm 26.11.15-dev.8bfe841, the first build
that speaks 0.8.

hotty's 0.8 hosts and SDKs speak 0.7 too (SPEC.md §15), so versions meet
as follows (§4, §14):
- a 0.7 program on a 0.8 host that speaks 0.7 is answered in 0.7, and the
  host speaks 0.7 to it from then on (HOST.md §5);
- a 0.8 program, whose query lists `0.7,0.8`, on a 0.7 host is answered in
  0.7, and has no `scroll` op and no `hit` there (SDK.md §3.8);
- a host or a program that speaks only 0.8 meets a 0.7 one at `EVERSION`,
  and the program falls back.

### What changed

- **`scroll`, a delta op** (SPEC.md §6.1, §5.3, §10.2). Its `v` is a scroll
  action, and it scrolls as a key bound to that action would with focus on
  the target, the root when `t` is empty: one of the host's steps for each
  op, whether the surface has the keyboard or not. For a program that keeps
  the keyboard and a keymap of its own, such as a reader's `j` and `k`.
- **`a=hit`, what a cell holds** (SPEC.md §9.7). A query, answered with the
  element a `drag` would name at that cell, and its steps: for a program
  that carries something of its own over a surface, as plx does a pane.
- **A text field may give the program `tab`** with `tab=program` in its
  keymap (SPEC.md §10.2). `shift+tab` and `escape` keep their meaning.
- **`default` gives a key back** to the host, for an element and what is
  inside it, as if no element above had bound it (SPEC.md §10.2).
  `tab=default` takes back a farther `tab=program`.
- **`prefers-reduced-motion`** follows the user's setting on the system
  the terminal runs on (SPEC.md §8; HOST.md §4).
- **A session's resources are its own** (SPEC.md §7.1, §12): no host
  resolves `cid:` across sessions, nor lets one session replace, delete or
  learn of another's resources.
- **Said outright:** §8's theme includes the colours a program sets with
  OSC 4, 10 and 11; and a multiplexer that answers a program's query is
  its host, so it lists only the features it carries (SPEC.md §2; SDK.md
  §4.5).

### Upgrading from 0.7

**A program:**
- Ask for `v=0.8`, or `v=0.7,0.8` to speak both.
- On a 0.7 host, send no `scroll` op or `hit`: a delta that holds one is
  refused whole with `EINVAL`. Check the capabilities' `v`.

**A host:**
- Speak 0.8, and a host that also speaks 0.7 answers a 0.7 program in 0.7
  (HOST.md §5). One that does not answers it with `EVERSION`.
- Take the `scroll` op and `a=hit`, `tab=program` in a field's keymap, and
  `default` in any.
- Follow the reduced-motion setting, and keep each session's resources
  apart.

## 0.7

A draft, as every 0.x is, landed across the stack on 2026-11-06, and
released on 2026-11-07 (the maintainer: "ship everything that's
pending").

hotty's 0.7 hosts and SDKs speak 0.6 too (SPEC.md §15), so versions meet
as follows (§4, §14):
- a 0.6 program on a 0.7 host that speaks 0.6 is answered in 0.6, and the
  host speaks 0.6 to it from then on;
- a 0.7 program, whose query lists `0.6,0.7`, on a 0.6 host is answered in
  0.6, and meets no secondary press: the keys open its menus (SDK.md
  §4.7);
- a host or a program that speaks only 0.7 meets a 0.6 one at `EVERSION`,
  and the program falls back.

### What changed

- **A secondary press** (SPEC.md §9, §9.1, §9.2). An element that has
  `secondary` in its `data-on` gets a `press` with `button` 2, its `area`
  and the pointer's cell in `c` and `r`, from a mouse's secondary button,
  the primary button with Control on macOS, a pen's barrel button, or a
  touch's long press. It does nothing else: no click, no focus, no drag,
  and not the terminal's menu. Over an element without `secondary`, and
  with Shift held, it is the terminal's. With Alt held it is the
  program's, and with mouse reporting on it hears `CSI < 10 ; <col> ;
  <row> M` (§9.2). The keys that open a menu, `shift+f10` and
  `context_menu`, stay keys (§10.2). A primary `press` has no `button`,
  which means 0.

### Upgrading from 0.6

**A program:**
- Ask for `v=0.7`, or `v=0.6,0.7` to speak both.
- A program that acts on every `press` checks its `button`: a secondary
  press comes only to an element that has `secondary`.
- Open menus from the keys everywhere, and from the press where the host
  sends one: a 0.6 host never does.

**A host:**
- Speak 0.7, and a host that also speaks 0.6 answers a 0.6 program in 0.6
  (HOST.md §4). One that does not answers it with `EVERSION`.
- Take `secondary` in `data-on` and report the press as §9 has it.
- In a 0.6 session, a secondary press with Alt held stays the terminal's.

## 0.6

A draft, as every 0.x is, released 2026-11-01 across the stack. It breaks
0.5 (SPEC.md §15): a 0.6 host answers a 0.5 program with `EVERSION`, and
the program falls back (§4, §14).

It is tagged `v0.6.0` (71e7e0f). Its implementations take its MAJOR.MINOR
(gov P-5 rule 6), and each released 0.6.0 with it, tagged `v0.6.0` in its
repository: hotty-go (with `hottyedit/`, `hottyterm/`, `hottytea/`,
`hottytest/` and `hottyvt/v0.6.0`), hotty-ts, which npm has as
`@neuroplastio/hotty` 0.6.0, hotty-lua (`hotty-0.6.0-1.rockspec`), hotty-rs,
hotty-blitz (with `v0.6.1` for CSS animations and transitions), and
xterm-addon-hotty, which npm has as `@neuroplastio/xterm-addon-hotty` 0.6.0.
hotty-surf `v0.1.1` builds on hotty-go `v0.6.0`. The first hottyterm release
that speaks it is 26.11.01-dev.8f8cc90, on hotty-blitz 0.6.1; margin's is
26.11.01 (aca330e), and plx's 26.11.01-dev.d18fe65.

hotty-blitz's 0.5.11, which damages only the field an edit changes
(Backspace, a word's deletion) rather than the whole surface, is not
tagged: the maintainer folded it into hotty-blitz 0.6.0 (2026-11-01).
Nothing on the wire changes.

### What changed

The first two change what a 0.5 document meets; the others are new.

- **Enter commits a text field, in a form or not** (SPEC.md §9). Enter in
  a text `input` the user changed sends `change`, as focus leaving it
  does. In a form it commits, then submits: `change`, then `submit`. A key
  bound to `submit` does the same (§10.2). Until 0.6, §9 named only focus
  leaving the field, and hosts read Enter in a field outside a form both
  ways: hotty-blitz and the xterm addon sent `change`, hotty-go's test
  host (`hottytest`) nothing.
- **The host stylesheet rings only controls on focus** (§8). The rule is
  `:is(a[href], button, input, select, textarea, summary, [contenteditable]):focus-visible`.
  A focused container (an element focused by its `tabindex`, a scrolling
  region, a list) has no ring by default. An editing host is a text field
  (§10.2), and rings as one. Nothing a program is told changes.
- **A backdrop is drawn under the cells** (§5.2). `a=place` takes
  `b=1`, and the placement goes under the terminal's text instead of over
  it, below every other placement.
  - A host that can draw one lists the feature `backdrop` (§4). Without
    it, `b` is ignored (§15) and the surface is drawn above the cells.
  - Backdrops stack among themselves by `z`, then by when they were
    placed. `b` is the placement's, as `z` is: placing the surface again
    without it puts it back above the cells, and a hidden surface is no
    backdrop until a placement makes it one.
  - A backdrop takes no input. Presses, wheels, touches and hover pass
    through to the cells, and the program hears them as it would without
    the surface. A press the surface took before it became a backdrop
    still ends on it, and a window that had the pointer loses it.
  - A backdrop never has the keyboard (§10.1). `a=focus` on one answers
    `EINVAL` (§3.6), and a surface that had the keyboard gives it back
    when it is placed as one: the host sends `blur`.
  - A backdrop at the grid's edge reaches the window's edge, past the
    last whole cell and into the padding.
- **A scroll comes to rest on a snap position** (§5.3). CSS Scroll Snap
  applies to an element that scrolls, as in a browser: `scroll-snap-type`,
  `scroll-snap-align` and `scroll-padding`, after a key's step, a page, the
  wheel and `reveal`. A list of rows, each `scroll-snap-align: start` under
  `scroll-snap-type: y mandatory`, comes to rest with a whole row at its
  top, short of its end. A document without them scrolls as before.

### Upgrading from 0.5

**A program:**
- Ask for `v=0.6`.
- Expect `change` when the user presses Enter in a text `input` they
  changed, in a form or not, and before `submit` in a form. A program
  that read a lone field only on `blur` hears it on Enter too, and needs
  no key of its own for it.
- Send `b=1` only where the capabilities list `backdrop`. Without it,
  draw the scene in cells, or not at all: a surface placed with `b` on a
  host without it covers the text.
- Don't focus a backdrop, and expect `blur` when you place a focused
  surface as one. A surface you hide is no backdrop: place it with `b=1`
  again to make it one.
- If a container should show a ring when it is focused, give it one in
  the document's sheet. A document that took the ring off its containers
  (`outline: 0`) can keep that rule, or drop it.
- To scroll by whole rows, mark them `scroll-snap-align: start` under
  `scroll-snap-type: y mandatory` on the element that scrolls.

**A host:**
- Speak 0.6, and answer a 0.5 program with `EVERSION`.
- Commit a text field on `submit`, Enter's action in an `input`, in a form
  or not: send `change` if its value changed since it last committed, then
  `submit` if it is in a form.
- If it can draw under the cells, list `backdrop` and take `b=1`, which
  is the only value that makes a backdrop:
  - draw it under the cells, below every placement without `b`, ordered
    by `z` and then by when it was placed;
  - give its presses, wheels, touches and hover to the cells, but let a
    press the surface took before end on it, and send the pointer's
    leave to a window that had it;
  - answer `a=focus` on it with `EINVAL` (or `EDETACHED` if it is
    detached as well), and send `blur` when a surface that has the
    keyboard is placed as one;
  - drop the flag with the placement, so a hidden surface is no backdrop
    and `a=focus` on it answers as on any surface not placed;
  - reach the window's edges where it reaches the grid's.
- If it can't, leave `backdrop` out of the features and ignore `b`.
- Change the stylesheet's focus rule to the controls', editing hosts
  among them (§8).
- Honour CSS Scroll Snap on an element that scrolls: `scroll-snap-type`,
  `scroll-snap-align` and `scroll-padding`, after keys, pages, the wheel
  and `reveal`.

**A multiplexer** relays `b` with the rest of the placement, as it relays
`z`.

## 0.5

A draft, as every 0.x is, released 2026-10-22 across the stack. It breaks
0.4 (SPEC.md §15): a 0.5 host answers a 0.4 program with `EVERSION`, and
the program falls back (§4, §14).

It is tagged `v0.5.0` (95a1147). Its implementations take its MAJOR.MINOR
(gov P-5 rule 6), and each released 0.5.0 with it, tagged `v0.5.0` in its
repository: hotty-go (with `hottyedit/`, `hottyterm/`, `hottytea/`,
`hottytest/` and `hottyvt/v0.5.0`), hotty-ts, which npm has as
`@neuroplastio/hotty` 0.5.0, hotty-lua (`hotty-0.5.0-1.rockspec`), hotty-rs,
tagged for the first time, hotty-blitz, and xterm-addon-hotty, which npm has
as `@neuroplastio/xterm-addon-hotty` 0.5.0. The first hottyterm release that
speaks it is 26.10.22-dev.9793b2f, on hotty-blitz 0.5.0; margin's is
26.10.22-dev.a0d5c31, and plx's 26.10.22-dev.6403390.

hotty-blitz 0.5.1 and xterm-addon-hotty 0.5.1 ship the font that
[HOST.md](https://hotty.neuroplast.io/docs/host-design) describes; hottyterm has it from 26.10.22-dev.9a14b7e.
It isn't on the wire, so nothing above changes.

hotty-blitz 0.5.2 and xterm-addon-hotty 0.5.4 add its Italic and Bold Italic,
so italic is the font's own rather than Regular slanted. hottyterm has them
from 26.10.26-dev.189693b, which also draws its cells in Adwaita Mono by
default, so cells and surfaces look alike until the user picks a font.

hotty-blitz 0.5.3 draws no `text-overflow` ellipsis on a line that fits its
box until the box is rounded to whole pixels, which cut names short in plx's
picker although the row had room. hottyterm has it from 26.10.26-dev.16dd52e.

Since the release, SPEC.md §3.3 says what a host does with a document that
is not UTF-8: it answers `EINVAL` and applies nothing. hotty-blitz, and so
hottyterm, did already. xterm-addon-hotty put U+FFFD in place of the bad
bytes, and answers `EINVAL` from 0.5.3, as the test hosts of hotty-go
(`hottytest`) and hotty-ts do from their next patch. A program that sends
UTF-8 sees no change. The conformance vectors test it, with a send step's
`payload_b64` for bytes that are not UTF-8.

Since the release, SPEC.md has the error code `ENOTERM` (§3.6). A
multiplexer running a pane with no terminal attached keeps what the
program sends for the terminal that attaches, and answers in its place.
What it can tell it answers as a host would. What needs the document, an
`a=doc`, `a=delta`, `a=field`, `a=focus`, `a=blur` and the rows of an
`r=auto` placement, it keeps unchecked, and answers `ENOTERM` where the
program asks for every answer (`q=0`). It no longer leaves them
unanswered, and no longer answers `EBUDGET` for the rows, as plx did
before. An `r=auto` placement moves the cursor as one row tall would, and
with `f=1` hears its rows as `fit` once a terminal attaches and lays the
surface out (§5.2). Only a multiplexer sends it, and the SDKs name it from
their next patch. A program that doesn't know the code reads it as any
other error.

An erratum in an example, since the release: Appendix A's detection reply
was capabilities whose `v` decodes to "0.3". Its base64 now decodes to
"0.5", as §4 has it. The example was wrong, and no rule changes.

### What changed

- **`a=field` changes a control the user may be changing** (SPEC.md §6.4),
  but only if they have not changed it since the program last heard.
  - It works on a text field, a checkbox, a radio button and a select,
    focused or not.
  - Its msgpack body holds the control's `rev` and one of:
    - `value`;
    - `text`, which replaces the selection or a range `from`..`to`;
    - `checked`.
  - It can also hold `sel`, the selection after the change.
  - A program can now complete what the user typed in place. Before, it
    had to replace the field with a new one so that its value would
    reach the field while it was focused.
- **Controls count the user's changes, as `rev`** (§6.4):
  - every edit, toggle, check and pick;
  - never a move of the caret, nor a value the program sets.
  - `input` and `change` carry it (§9).
  - An `a=field` made against another `rev` changes nothing and answers
    `ESTALE`, a new code whose detail is the control's `rev` (§3.6).
- **Positions are bytes of the value's UTF-8** (§6.4), in `a=field` and in
  the selection events report.
- **`caret`, a new event** (§9), with `data-on~=caret`, reports the
  user's moves of the selection. With it, `input` carries `sel` as well.
- **A field's caret starts at the end of its value** (§10.2). That holds
  when the field enters the document and when a delta sets its value. A
  field keeps its selection while it is not focused, and `a=focus` gives
  it back.
- **An `a=field` is one edit of the field's history** (§10.2), and it ends
  a run of typing.

### Upgrading from 0.4

**A program:**
- Read `rev` from `input` and `change`, and send it back in `a=field`.
- To complete a field, send `a=field` with `text`, `from` and `to`. Don't
  swap in a new element: the field keeps its id, its history and its
  caret, which goes after the text.
- On `ESTALE`, do nothing. The user typed first. Decide again from the
  `input` you hear next, and don't resend against the detail's `rev`.
- Count positions in bytes of UTF-8. In JavaScript, convert from UTF-16.

**A host:**
- Keep a `rev` for each control:
  - one more for each of the user's changes;
  - for a radio group, one `rev` for the group.
  - Send it in `input` and `change`.
- Take `a=field`:
  - check it whole first;
  - answer `ESTALE` against another `rev`, or while an input method
    composes, whatever its positions: check them only when it is not
    stale;
  - apply it as one edit of the history;
  - send nothing back.
- Send `caret`, and `sel` in `input`, for fields with `data-on~=caret`.
- Put a field's caret at the end of its value when the field enters the
  document and when a delta sets the value. Keep the selection while the
  field is not focused.
- When focus leaves a field that only `a=field` changed, send no
  `change`.

**A multiplexer** relays `a=field` to the host and `ESTALE` back, as it
relays `a=focus`.

## 0.4

A draft, as every 0.x is, released 2026-10-18 across the stack. It breaks
0.3 (SPEC.md §15): a 0.4 host answers a 0.3 program with `EVERSION`, and
the program falls back (§4, §14).

It is tagged `v0.4.0` (481a79f). Its implementations take its MAJOR.MINOR
(gov P-5 rule 6), and each released 0.4.0 with it, tagged `v0.4.0` in its
repository: hotty-go (with `hottyedit/`, `hottyterm/`, `hottytea/`,
`hottytest/` and `hottyvt/v0.4.0`), hotty-ts, hotty-lua
(`hotty-0.4.0-1.rockspec`), hotty-blitz, and xterm-addon-hotty, which npm
has as `@neuroplastio/xterm-addon-hotty` 0.4.0. The first hottyterm release
that speaks it is 26.10.17-dev.e873289, on hotty-blitz a596c6d, which named
itself 0.0.3; the first to say so beside its name, on hotty-blitz 0.4.0, is
26.10.21-dev.6ca19c1.

### What changed

- **Keys are named by *myelin key names* 0.1** (SPEC.md §10.4), which this
  document cites at the tag `myelinkey/v0.1.0` rather than naming keys
  itself. The modifiers are `super`, `ctrl`, `alt` and `shift`. A physical
  key is its W3C code in snake case (`arrow_left`, `page_down`, `key_w`).
  A character is what the key types, a letter written small with `shift`
  as a modifier (`shift+g`). The W3C key values (`Control+a`, `ArrowLeft`,
  `Meta+Enter`) are gone.
- **`mod` is myelin's command modifier** (its §4.4): a binding writes
  `mod+s`. The capabilities' `mod` is `"ctrl"` or `"super"`, and `edit`
  names its keys the new way (§4).
- **A host reads a key a program writes** with myelin's default reading,
  so `G` is `g`, and `meta` is refused (§10.4).
- **A press can have two names,** its physical key and the character it
  types, and a keymap is looked up by the physical one first (§10.4). A
  host that reads bytes names what they carry.
- **Shift falls back only from a key that is not a character** (§10.2):
  `shift+g` is a key of its own. A field types what a key types, a letter
  with `shift` as its capital.
- **`mods` keeps its bits,** and 8 is `super` (§9).
- **A press given to the program as pressed stays the program's** when it
  comes again as bytes, though the field binds its bytes' name, and a
  `prefix` binding starts its prefix (§10.4): `ctrl+key_a=program` in a
  field sends `ctrl+a` on.
- **A modifier tapped alone** is named on its release (`shift_left`,
  `shift`) and goes no further, so a tap bound to `program` or `prefix`
  does nothing (§10.4).
- **A `command`'s `key` is the one name its bytes have,** `ctrl+c`, never
  `ctrl+key_c` (§10.6).
- **A finger can drag in the cells** (§9.6). `a=touch` names areas of the
  screen, each with the way it drags. There, while the program reads the
  mouse, a touch drag that way and a tap reach the program as the mouse's
  primary button. Elsewhere, and the other way, a touch drag still
  scrolls. It adds to 0.3 and changes nothing a program already does.
- **The name is written hotty,** in lowercase, even at the start of a
  sentence: "hotty 0.4", "a hotty host". Nothing on the wire changes, and
  neither do identifiers, environment variables or task ids. The text of
  0.1 to 0.3 stays as it was released.

### Upgrading from 0.3

**A program:**
- Write keys in the new names: in `data-keys`, in a menu's item keys and
  `seq`, and wherever you compare a `command`'s `key`. `Mod+s` is
  `mod+s`, and `Control+A` is `ctrl+shift+a` (§10.4).
- Read the capabilities' `mod` as `"ctrl"` or `"super"`, and `edit` in the
  new names (§4).
- Bind Shift with a letter as `shift+<letter>`: a host reads `G` as `g`.
- If you read the mouse to drag something in your cells, such as a
  slider, send its cells with `a=touch` so that a finger drags it too, and
  send them again when it moves (§9.6).

**A host:**
- Read a written key with myelin's default reading, `mod` standing for
  your `mod`. Refuse `meta`, and a binding with `mod` and `ctrl` or
  `super` as well (§10.4).
- Name a press seen as pressed by its physical key and by the character
  it types, and look the physical one up first. Name keys from bytes as
  §10.4's table has them.
- Report `mod`, `edit` and a `command`'s `key` in the new names, the
  `key` as its bytes name it (§10.6).
- Keep a press you give the program as pressed, by either name, the
  program's when its bytes come, and start a `prefix` binding's prefix
  then. Offer a modifier tapped alone to the surface, and send it nowhere
  else (§10.4).
- Fall back without `shift` only from a key that is not a character
  (§10.2).
- Take `a=touch`, and keep its areas per screen. In an area, while the
  program reads the mouse, report a touch drag the area's way, and a tap,
  as the mouse's primary button (§9.6).

**A multiplexer** does both lists. A keymap of its own that is myelin's
already speaks these names. One that relays the mouse gives the terminal
the areas of the panes it shows, moved to where each pane is (§9.6).

## 0.3

A draft, as every 0.x is. It breaks 0.2 (SPEC.md §15): it folds what 0.2
grew, for bandwidth and for fewer rules, and programs and hosts move to it
together. The list it folds is `vault/tasks/fold-0.3.md`.

### What changed

- **A delta is one list of ops** (SPEC.md §6.1): `a=delta:s=<name>` and one
  msgpack map, `{"ops": [{"op", "t", "k", "v"}, …]}`, applied in order and
  shown as one. The control keys `op`, `t` and `k`, and the text payload,
  are gone. A frame of fifteen small changes is 184 bytes, not 755. An op
  whose target is missing fails alone, and the reply names it by its index,
  `i`; a malformed op rejects the whole delta. Targets travel as the
  document has them, so an id outside ASCII is addressed as it is.
- **`p`, `f` and `v` belong to the surface** (SPEC.md §5.2): `1` on, `0`
  off, held until the program sends them again. A placement without them
  leaves them as they were. One table in §9 says, for every event, what
  asks for it, how long and how often.
- **Features** (SPEC.md §4): a 0.3 host does every op and event, scrolling,
  steps, drops and `view`. One list, `features`, names what a host may
  lack: `passthrough`, `hover`, `count`, `menu`. The capabilities' `ops`,
  `events`, `passthrough`, `scroll`, `steps`, `drop`, `count`, `keys` and
  `menu` are gone.
- **The cell is in CSS pixels** (SPEC.md §4, §5.3, §8): `cellcss` takes the
  place of `cell`, `resize` is gone, and a new font sends `caps` with the
  new `cellcss`. `--hotty-px` is one device pixel, current through zooms.
  `scale` stays, as a hint for images.
- **`caps` carries any field that changed** (SPEC.md §4, §9), not only
  `mod` and `edit`: a multiplexer whose program moves to another viewer's
  host tells it everything that differs.
- **Event details** (SPEC.md §9): a submit's fields are pairs,
  `{"fields": [[name, value], …]}`; `mods`, one int of modifier bits, goes
  on clicks, presses and drags in place of a drag's `keys`; `t` is absent,
  not empty, where no element is meant; a detail with no field is no
  payload.
- **Errors only, unless asked** (SPEC.md §3.5, §3.6): `q` defaults to 1,
  and to 0 for a query and a command with `n`. Continuation chunks carry
  only `m`.
- **Key sequences are the program's** (SPEC.md §10.5): `data-key`, the
  capabilities' `keys`, and the hosts' sequence engines are gone. A keymap
  action, `prefix`, sends the program every key after it, whatever is
  focused, until it sends `a=focus`.
- **A menu is what a program can do** (SPEC.md §10.7, which takes menus
  out of §10.5): `a=menu` sends the program's actions as a tree, kept per
  screen, each item with a key where one reaches it and a `name`;
  `a=menu:show=1` shows the level the keys typed reach, a few bytes a key,
  and `show=0` hides it. A pick, from a multiplexer's palette or an agent,
  sends `command` with the item's name. A 0.2 menu was one level, shown
  when sent. A host that takes menus has the feature `menu`, for programs
  on surfaces as in the cells.

### Upgrading from 0.2

**A program:**
- Send a frame's changes to a surface as one `a=delta` whose `ops` list
  holds them all (§6.1), not one message per change. Deltas no longer take
  `op`, `t` or `k` in the control.
- Send `p`, `f` and `v` when they change, not with every placement: they
  hold until the program sends them again (§5.2).
- Lay out with `cellcss`, in CSS pixels, and stop handling `resize`: a new
  font sends `caps` with the new `cellcss` (§4). A document that needs a
  device pixel reads `--hotty-px` (§8).
- Ask `features` for `passthrough`, `hover`, `count` and `menu` only, and
  count on every op, every event, scrolling, steps and drops.
- Read a submit's `fields` as pairs, a click's, press's or drag's `mods` as
  bits, and an absent `t` as no element (§9).
- Leave `q` out unless you want more than errors (§3.5).
- Resolve key sequences yourself: bind the keys that start one to `prefix`
  in the keymap, and the keys after it come to you, whatever is focused,
  until you send `a=focus` (§10.5). `data-key` is gone.
- Send what you can do as a menu tree with a `name` per item, show a level
  with `a=menu:show=1` and hide it with `show=0`, and handle `command` with
  a `name` from a pick (§10.7).

**A host:**
- Decode a delta's op list and apply it as one unit. Reply to an op whose
  target is missing with its index `i`, and reject a malformed op's whole
  delta (§6.1).
- Keep `p`, `f` and `v` per surface (§5.2).
- Report `cellcss` and `features`, and send `caps` with every field that
  changed. Send no `resize` (§4).
- Take `q` as 1 when it is absent, and read only `m` on continuation
  chunks (§3.5, §3.6).
- Send event details as §9 has them.
- Route every key after a `prefix` to the program, until it sends
  `a=focus` or the surface loses the keyboard (§10.5).
- Keep a program's menu per screen and show the level its keys reach.
  Report the feature `menu` only if both hold (§10.7). Add no palette for
  it: where you already list commands of your own, you may list its named
  items there, and send a pick as `command` with the item's name.

**A multiplexer** is a host to the programs in its panes and a program to
its terminal, so it does both lists. Besides them:
- Answer a pane's query for the terminal whose keys reach that pane, and
  when that terminal changes, send the pane `caps` with every field that
  differs from what it last heard (§4).
- Replay a surface with its `p`, `f` and `v`: they are the surface's now,
  not a placement's.
- Keep each pane's menu and show its levels, or leave `menu` out of the
  features you report and answer a pane's `a=menu` with `EINVAL` (§10.7).
  You may offer the menu in a palette of your own, or to whatever drives
  the pane, and send picks to the pane as `command`.
- While a surface you relay has the keyboard, give its pane every key you
  read, after your own shortcuts. A prefix asks nothing of you, since the
  keys the surface uses never reach you (§10.5).

## 0.2

A draft, as every 0.x is. It breaks 0.1 (SPEC.md §15): programs and hosts
move to it together. It ships with hottyterm's release that pins hotty-blitz
a70065f and with xterm-addon-hotty 0.1.0-next.8.

### What changed

- **A host's bodies are msgpack** (SPEC.md §3.3): the capabilities, an
  error's body, and every event's detail are one msgpack map, with nothing
  after it, nested at most 32 deep. What a program sends is unchanged: text
  and bytes.
- **Each field has a type**, and keeps it from 0.2 on: `int`, `float`, `str`,
  `bool`, arrays and maps of them. A float is sent as a float even when
  whole. A known field of another type fails the body; unknown fields are
  skipped.
- **A body holds nothing a host does not send**, anywhere in it: no nil,
  keys that are strings and each given once, UTF-8 strings, ints within
  2^53 − 1 of zero, and timestamps msgpack defines. A body that breaks one
  does not decode, and the message stands without it (SDK.md §3.9).
- **A query lists the versions the program speaks** (SPEC.md §4):
  `a=q:n=1:v=0.2`. A host answers in the highest it shares, or with the new
  error `EVERSION`, its detail the versions it speaks. A program takes as a
  host only an answer whose capabilities decode and name a version it
  speaks. A 0.1 program on a 0.2 host, and a 0.2 program on a 0.1 host,
  each find no host and draw in cells.

### Added within 0.2

What follows came after the first 0.2 hosts, and keeps the version: a host
that lacks it says so in its capabilities.

- **`reveal`** (SPEC.md §6.1), a delta that scrolls an element into view:
  its top to the top with `start`, its bottom to the bottom with `end`,
  and by as little as it takes with neither. It moves no focus. A program
  asks `Supports(c, "reveal")`.
- **`view`** (SPEC.md §9.5), an event: the elements with `data-on~=view`
  and an id that are in view, each with its area, and whether the
  document shows its end. A host sends it once the document is laid out,
  then on each change, once a scroll comes to rest. A program asks
  `Views(c)`.
- **`limits.message`** (SPEC.md §13): a host may limit the decoded size of
  one reassembled message and reports it under `limits` (§4). Past it a
  message is malformed (§3.7), not `EQUOTA`, and its further chunks are
  dropped; a host that reports none enforces none, and one with a limit
  should accept at least 1 MiB decoded. A resource is one message, so this
  limit also caps the largest resource. A program may limit what it decodes
  from its host the same way: each SDK's Decoder takes `Max`, 16 MiB by
  default (SDK.md §3.6).

- **A click's `count`** (SPEC.md §9): a click that quickly follows another
  on the same element carries its place in that run, 2 for the second
  click of a double click, as the platform counts them by the user's own
  settings. Every click of a run is reported. A host that counts reports
  `count: true` in its capabilities.
- **Drops** (SPEC.md §9.1): an element with `drop` in its `data-on` can be
  where a drag goes, `t`, without being dragged, and keeps its text
  selection. When such a `t` has `data-steps`, `drag` and `dragend` say
  where in it the pointer is, `tx` and `ty`, and a `drag` goes out when that
  step changes: a row with `"0 1"` splits into halves, a folder with `"0 2"`
  into before, into and after. A host that does both reports `drop: true`.
- **Copying** (SPEC.md §10.2, §11): the new action `copy`, which the
  default keymap binds to Control+c and Meta+c (Command+c). A text field's
  keymap copies its selection; a selection elsewhere in a document is
  copied by the keymap of the element it starts in, which the host offers
  each key first, keyboard or not. With nothing selected, in a password
  field, or under `Control+c=program`, the key goes to the program: Control+c
  still interrupts. The terminal's own copy keys and menu copy whatever
  the keymaps say. A double click selects a word, a triple click a block,
  and Linux hosts put a selection in the primary selection. There is one
  selection across the host. No wire change and no capability.
- **Cutting, pasting and undo** (SPEC.md §10.2, §11): a text field's
  default keymap binds Control+x and Meta+x to the new action `cut`,
  Control+v and Meta+v to `paste`, Control+z and Meta+z to `undo`, and
  Control+Z, Control+y and Meta+Z to `redo`. Each field keeps its own
  history, as a browser's does; a value the program sets clears it. `cut`
  with nothing selected, or in a password field, leaves the key to the
  program. The terminal's own paste types into a field that has the
  keyboard. A host that does not know the actions leaves the keys to the
  program, as before; no capability.
- **`Mod` and the edit shortcuts** (SPEC.md §10.2, §10.4): a binding's
  `Mod` is Meta on macOS and Control elsewhere, reported as `mod`. The
  default keymap now binds each edit action once, to the host's edit
  shortcuts (Mod+a, Mod+c, Mod+x, Mod+v, Mod+z, Mod+Z, and Control+y where
  Mod is Control), which the user may change and the host reports as
  `edit`. Its other rows follow the platform: Control+ArrowLeft moves by a
  word where Mod is Control; Meta+ArrowLeft and Control+a go to the line's
  start where it is Meta. A Linux host no longer binds Meta+c, nor a macOS
  host Control+c. Breaks 0.2 in place.
- **Key sequences** (SPEC.md §10.5): `data-key="<leader> f n"` gives an
  element a sequence that clicks or focuses it, with groups, `<leader>`
  and a timeout reported as `keys`, by myelin's rules. While one waits the
  host shows a which-key menu of the elements' labels.
- **Commands in the cells** (SPEC.md §10.6): `a=edit:take=copy,paste,…`
  makes the edit shortcuts reach a program as the event `command`, with
  their key and, for a paste, the clipboard's text, per screen. The
  terminal's selection is still copied first, and its menus send commands
  without a key. `a=menu` shows a program's which-key menu, a msgpack map
  as myelin's levels are, reported as `menu`. `caps` says when `mod`,
  `edit` or `keys` change, and sends one that became absent empty
  (`"edit": {}`). `command` and `caps` belong to no surface.

Each SDK has the builder `Reveal`, the event's `View` (`Areas` and `AtEnd`,
from `in` and `end`), `Views`, the event's `Count`, the drag's `tx` and
`ty`, and the capabilities' `Count` and `Drop`.

### Porting

A port that compiles can still be wrong. SDK.md Appendix C lists what ports
got wrong; the two that cost most:

- **A clicked link is `Link`, not a field.** 0.1's hotty-go read any detail
  through `Event.Fields()`, so programs found a link's href as
  `Fields()["href"]`. In 0.2 `Fields` holds a submit's fields only, and a
  link click carries `Link` (`Href`, `URL`). After a mechanical port, link
  clicks silently go nowhere.
- **Read the event's fields, never its detail.** Code that unmarshals
  `ev.Detail` as JSON reads zero values from msgpack: a checkbox that is
  always unchecked. Use `Checked`, `Value` and the rest.

And a test that plays the host answers with msgpack capabilities naming
0.2 (hotty-go: `hottytest.Body`, or `hottytest.Host`), or the program under
test falls back to text.

### In each SDK

- **hotty-go** (Go): the wire types are data, with functions beside them.
  `m.Reply()` is `hotty.ReplyOf(m)`, `m.Event()` is `hotty.EventOf(m)`,
  `r.Caps()` is the field `r.Caps` (nil when none) or `hotty.CapsOf(body)`,
  `r.Err()` is `hotty.Err(r)`, `c.Supports(op)` is `hotty.Supports(c, op)`,
  and an event's accessors (`Value()`, `Checked()`, `Link()`, `Size()`,
  `FitRows()`, `Drag()`, `Hover()`, `Area()`, `Fields()`) are its fields.
  A host or relay answers a query with `hotty.ReplyQuery`.
- **hotty-ts** (TypeScript) and the **Python client**: the reader keeps an
  int apart from a float; `query()` sends `v`.
- **hotty-lua**: `hotty.msgpack.decode(s)` returns `value, kinds`, where
  `kinds[t][k]` tells a float, bin, array, time or extension apart from
  what Lua alone cannot.
- **hotty-blitz** and **xterm-addon-hotty**, the hosts: they send msgpack
  and answer queries by version.
