What changed, release by release.
Every release's mods API against the one before it: which nouns, verbs, events and types it added, which it removed, and which changed shape, with the lines that moved. A removal is marked breaking; a change that took something out may break a mod; one that only added to a shape is marked extended.
v2.1.314
+4 added · 0 removed · 3 changed · 1 docs only since 2.1.312The engine
-
Places one row at the transcript's end, which scrolls with the conversation and draws what
ui.renderanswers forPlaced.
Events
-
The argument of
$.ui.place({ id }).
Types
-
What each call on
$answers (thevalueof its event's result), by event name.'ui.open': UiOpenResult; 'ui.close': void; 'ui.panes': readonly UiPane[]; 'ui.place': UiPlaceResult; 'ui.selection': UiSelection | undefined; 'ui.copy': UiCopyResult; 'ui.view': UiViewResult; -
Everything
ui.rendercan draw: one name per component that has a render site; a matcher narrows on it.export type RenderComponent = 'AskUserQuestion' | 'UserMessage' | 'AssistantMessage' | 'ToolUse' | 'ToolResult' | 'ToolGroup' | 'ToolProgress' | 'CommandOutput' | 'Spinner' | 'TurnDuration' | 'InfoNotice' | 'SessionMode' | 'PromptHint' | 'AbovePrompt' | 'Pane';export type RenderComponent = 'AskUserQuestion' | 'UserMessage' | 'AssistantMessage' | 'ToolUse' | 'ToolResult' | 'ToolGroup' | 'ToolProgress' | 'CommandOutput' | 'Spinner' | 'TurnDuration' | 'InfoNotice' | 'SessionMode' | 'PromptHint' | 'AbovePrompt' | 'Pane' | 'Placed'; -
The plain-data props of each renderable component, as
ui.rendersees them undere.props; a hook rewrites them withnext({ ...e, props }).scroll: SiteScroll; view: SiteView; }; Placed: { id: string; plugin: string; onScreen?: OnScreen | null; };}; -
The argument of
$.ui.place. -
What
$.ui.placeresolves to and what aui.placehook's{ value }holds.
1 docs only: reworded, same shape
SvgPropstypeThe props of
Svg, the remote surfaces' vector leaf: the markup is the element's data, as a string is a Text's, drawn isolated.
v2.1.312
+0 added · 0 removed · 0 changed · 1 docs only since 2.1.3111 docs only: reworded, same shape
TurnStepInputtypeThe input of
turn.step: one model request inside a turn, at the moment the engine is about to send it; the bottom of the chain sends it.
v2.1.311
+4 added · 0 removed · 3 changed · 2 docs only since 2.1.310The engine
-
Sets this plugin's own decorations over the draft and nothing else.
Events
-
The argument of
$.prompt.paint(...): the draft and this plugin's runs.
Types
-
What each call on
$answers (thevalueof its event's result), by event name.'session.version': SessionVersion; 'turn.abort': void; 'prompt.read': PromptBox; 'prompt.paint': PromptPainted; 'tool.list': ToolInfo[]; 'tool.register': { tool: string; -
The argument of
$.ui.open: which pane, its title, whether it asks the person's keyboard, its dialog manners, its size: rows inline, columns docked.focus?: true; closeOnEscape?: true; holdToasts?: true; backgroundColor?: Color; rows?: number; columns?: number;}; -
A tier
next.to(e, tier)may name: one a floor can reach past links of less authority to, so neverprepend, which nothing skips to;useris for a prepend hook alone, and skips the peers below it.export type TargetTier = Exclude<Tier, 'prepend' | 'user'>;export type TargetTier = Exclude<Tier, 'prepend'>; -
What a plugin's
$.prompt.paint(args)takes, and a hook onprompt.paintsees aseand may rewrite. -
What
$.prompt.paintresolves to: whether the runs were painted, and the box as it stands (PromptBox).
2 docs only: reworded, same shape
v2.1.310
+0 added · 0 removed · 1 changed · 1 docs only since 2.1.309Types
-
What
$.ui.blitresolves to and what aui.blithook's{ value }holds:{}once the cells or source are the next frame's, or why not.export type UiBlitResult = { deny?: string; fix?: 'tmux-passthrough';};
1 docs only: reworded, same shape
ImagePropstypeThe props of
Image, the terminal surface's picture leaf: pixels over a box of cells where the terminal can (kitty and Ghostty, or iTerm2 3.5 and later forpngandrgbabytes under fullscreen rendering; inside tmux too, for bytes only, with tmux'sallow-passthroughandfocus-eventson), thealtelsewhere.
v2.1.309
+0 added · 0 removed · 2 changed · 2 docs only since 2.1.308Types
-
prompt.fill's input as a plugin's$.prompt.fill(args)takes it: noorigin(the engine sets the calling plugin's),modeoptional.text: string; mode?: PromptFillMode; decorations?: PromptDecoration[]; cursor?: number;}; -
The input of
prompt.fill(prompt-fill/): a text about to be put in the prompt box as the person's draft, over it, after it, or at the cursor.mode: PromptFillMode; origin: PromptFillOrigin; decorations?: PromptDecoration[]; cursor?: number;};
2 docs only: reworded, same shape
PromptFilledtypeWhat
$.prompt.fillresolves to: whether the box took the text, and the box afterwards (PromptBox) as the caller's own$.prompt.read()reads it.TurnStepInputtypeThe input of
turn.step: one model request inside a turn, at the moment the engine is about to send it; the bottom of the chain sends it.