Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
Mods API changes

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.

Releases65 since 2.1.259
Newest2.1.330+35 added · 0 removed · 3 changed · 9 docs only
Machine readablechanges.jsonin pages: counts, and each release's items

v2.1.325

No change to the surface since 2.1.324

v2.1.324

+3 added · 0 removed · 5 changed · 15 docs only since 2.1.323

Types

  • changed ThemeColorGround interface extended
        color: ThemeColor;    gradient?: never;    vector?: never;    image?: never;}
  • changed ThemeGradientGround interface extended
        gradient: ThemeGradient;    color?: never;    vector?: never;    image?: never;}
  • changed ThemeGround type may break

    A still ground behind the conversation: a flat color, a gradient, a drawing in paths or a picture. A scene draws what moves, and any other pattern.

    export type ThemeGround = ThemeColorGround | ThemeGradientGround | ThemeVectorGround;export type ThemeGround = ThemeColorGround | ThemeGradientGround | ThemeImageGround | ThemeVectorGround;
  • changed ThemeScene type extended

    A live scene: what ui.render answers for Backdrop, and how the surface frosts its panels over it.

        color?: never;    gradient?: never;    vector?: never;    image?: never;};
  • changed ThemeVectorGround interface extended
        vector: ThemeVector;    color?: never;    gradient?: never;    image?: never;}
  • added ThemeImage interface

    A picture from the mod's folder, filling its box unless size and repeat tile it.

  • added ThemeImageGround interface
  • added ThemeImageWire type

    How a Theme answer names a ground's image: a surface pulls the bytes by id, and lays them out by size and repeat as the mod gave them. The bytes are the mod's own, so width and height, the size in the file's header before any EXIF rotation, are hints: a surface reads the file's header with its own decoder, decodes off the main thread, caps the pixels at 4096 on a side and, if it can't draw the picture, keeps the app's own ground.

15 docs only: reworded, same shape
  • Picks one of labels for text with one completion over $.model.complete and a fixed classifier prompt.

  • Runs one text completion through the session's own API client and resolves a result: the reply's text and cost, or why there is no text.

  • Returns when the session began, and the context window's fill, the rate-limit windows and the cost as the status line has them, itemized. The cost includes every mod's answered $.model calls.

  • Runs while $ is being built, once per load or reload of this plugin and before any other hook of it; next(e) resolves to $ built so far.

  • Matcher type

    What on(event, matcher, hook) takes for an argument of type I: the shape of the e the hook wants, a partial of it at any depth.

  • What a prompt.context hook returns: the blocks the conversation carries, in order; one left out is not sent.

  • The plain-data props of each renderable component, as ui.render sees them under e.props; a hook rewrites them with next({ ...e, props }).

  • What the session has cost, as /cost and the status line total it.

  • What $.session.usage() answers: when the session began, the context window's fill, the account's rate-limit windows and the session's cost.

  • TIERS const

    The chain's five tiers, outermost first: earlier is outer is more authority, and same-event hooks nest in this order and no other way.

  • The backdrop attribute of $.theme.set: what is behind the conversation. scene makes a live scene, and color, gradient, vector or image make a still ground.

  • A color in a still backdrop. A surface uses a raw color as it is, works out a name from the look's colors in the look's mode, or from the app's own colors where the look gives none, and refuses the ground over anything else. Annotate a color kept in an object or a list with this type, or it widens to string.

  • ThemeTiling interface

    How a drawing, a gradient or a picture lies in its box.

  • ThemeVector interface

    A drawing in SVG path data, the text of a path's d attribute.

  • Tier type

    One of the chain's five tiers (TIERS), outermost first; on every next.trace entry, and what next.to(e, tier) names.

v2.1.323

+15 added · 0 removed · 11 changed · 31 docs only since 2.1.322

Types

  • changed ClientElements type may break

    The element table a surface module draws with, surface.elements: the terminal's (Elements) less Client, Raster, Image and Progress.

    export type ClientElements = Omit<Elements['terminal'], 'Client' | 'Raster' | 'Image'>;export type ClientElements = Omit<Elements['terminal'], 'Client' | 'Raster' | 'Image' | 'Progress'>;
  • changed Elements interface extended

    Each surface's primitive tags and their prop types, by e.surface, for the surfaces the plugin was compiled against.

            Link: ElementConstructor<LinkProps>;        Code: ElementConstructor<CodeProps>;        Markdown: ElementConstructor<MarkdownProps>;        Progress: ElementConstructor<ProgressProps>;        Client: ElementConstructor<ClientProps>;        Raster: ElementConstructor<RasterProps>;        Image: ElementConstructor<ImageProps>;…        Link: ElementConstructor<LinkProps>;        Code: ElementConstructor<CodeProps>;        Markdown: ElementConstructor<MarkdownProps>;        Progress: ElementConstructor<ProgressProps>;        Client: ElementConstructor<ClientProps>;    };    mobile: {…        Link: ElementConstructor<LinkProps>;        Code: ElementConstructor<CodeProps>;        Markdown: ElementConstructor<MarkdownProps>;        Progress: ElementConstructor<ProgressProps>;    };    vscode: {        Box: ElementConstructor<BoxProps>;…        Link: ElementConstructor<LinkProps>;        Code: ElementConstructor<CodeProps>;        Markdown: ElementConstructor<MarkdownProps>;        Progress: ElementConstructor<ProgressProps>;    };}
  • changed InvalidatableEventName type may break

    What $.ui.invalidate takes: a render event, or one of the seven events whose answers the engine caches for the session.

    export type InvalidatableEventName = RenderEventName | 'prompt.section' | 'prompt.context' | 'prompt.attachment' | 'tool.describe' | 'command.describe' | 'config.describe';export type InvalidatableEventName = RenderEventName | 'prompt.section' | 'prompt.context' | 'prompt.attachment' | 'tool.describe' | 'tool.list' | 'command.describe' | 'config.describe';
  • changed PaneOpenArgs type extended

    The argument of $.ui.open: which pane, its title, whether it asks the person's keyboard, its dialog manners, its size (rows, columns), its seat.

        backgroundColor?: Color;    rows?: number;    columns?: number;    placement?: 'widget';};
  • changed RenderComponent type may break

    Everything ui.render can 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' | 'Placed' | 'Backdrop';export type RenderComponent = 'AskUserQuestion' | 'UserMessage' | 'AssistantMessage' | 'ToolUse' | 'ToolResult' | 'ToolGroup' | 'ToolProgress' | 'CommandOutput' | 'Spinner' | 'TurnDuration' | 'InfoNotice' | 'SessionMode' | 'PromptHint' | 'AbovePrompt' | 'AbovePromptList' | 'Pane' | 'Placed' | 'Backdrop';
  • changed RenderElement type extended

    What a render hook returns, and what next(e) resolves to: a plain-data tree of elements (a Box or Text is a StyledElement), strings as children.

        props: SvgProps;    children?: undefined;} | {    type: 'Progress';    props: ProgressProps;    children?: undefined;} | {    type: 'Raster';    props: RasterProps;    raster: {
  • changed RenderInputOf type extended

    One ui.render input, for a component narrowed to one surface.

        surface: P;    component: C;    requestId: string;    plugin?: string;    viewport?: RenderViewport;    props: RenderPropsOf[C];};
  • changed RenderPropsOf type may break

    The plain-data props of each renderable component, as ui.render sees them under e.props; a hook rewrites them with next({ ...e, props }).

            word: string;        durationMs: number;        isExpanded?: boolean;        waitingFor?: {            agents: ReadonlyArray<{                id: string;                agentType: string;                tool_use_id?: string;            }>;            workflows: number;        };        waitingFor?: WaitingFor;        onScreen?: OnScreen | null;    };    InfoNotice: {…        scroll: SiteScroll;        view: SiteView;    };    AbovePromptList: {        rows: readonly AbovePromptRow[];        hasSurvey: boolean;        isCollapsed: boolean;        isWorking: boolean;        maxRows: number;        bodyColumns: number;        scroll: SiteScroll;        view: SiteView;    };    Pane: {        title: string;        isFocused: boolean;        isPromptCovered?: true;        bodyColumns: number;        placement: 'dock' | 'inline';        placement: 'dock' | 'inline' | 'widget';        anchoredEdges?: readonly ('top' | 'right' | 'bottom' | 'left')[];        scroll: SiteScroll;        view: SiteView;    };…        onScreen?: OnScreen | null;    };    Backdrop: {        id: string;        scene: string;        plugin: string;        glass: {            blur: number;            tint?: string;            opacity: number;        } | false;        colorScheme?: 'light' | 'dark';        overrideColorScheme?: 'light' | 'dark';    };};
  • changed ThemeBackdrop type may break

    The backdrop attribute of $.theme.set: what is behind the conversation. scene makes a live scene, and color, gradient or vector make a still ground.

    export type ThemeBackdrop = {    id: string;    glass?: ThemeBackdropGlass | false;    colorScheme?: 'light' | 'dark';};export type ThemeBackdrop = ThemeScene | ThemeGround;
  • changed ThemeSetArgs type extended

    The argument of $.theme.set: one object of named attributes, so a later attribute is an addition and never a change of the call.

    export type ThemeSetArgs = {    backdrop?: ThemeBackdrop;    overrideColorScheme?: 'light' | 'dark';    colors?: ThemeColors;};
  • changed ToolInfo type extended

    One tool as $.tool.list() returns it and a tool.list hook answers it.

        name: string;    description: string;    mcp: boolean;    inputSchema?: Record<string, unknown>;};
  • added AbovePromptRow type

    One plugin's row of the band: what its AbovePrompt chain settled to, with a Progress root inside a Box marked as that plugin's.

  • added ProgressProps type

    The props of Progress, how far along a task is. A leaf: no children.

  • added ThemeColor type

    A color in a still backdrop. A surface uses a raw color as it is, works out a name from the look's colors in the look's mode, or from the app's own colors where the look gives none, and logs and drops anything else. Annotate a color kept in an object or a list with this type, or it widens to string.

  • added ThemeColorGround interface
  • added ThemeColorName type

    The design system's color names. A surface works each one out from the look's colors, so one rule serves light and dark. A name is not a key of colors, and a ThemeKey from a drawn tree isn't one of these names. In the stock palette fill-primary is near-black in light and near-white in dark, not the brand color.

  • added ThemeGradient interface

    Colors that run across their box.

  • added ThemeGradientGround interface
  • added ThemeGround type

    A still ground behind the conversation: a flat color, a gradient or a drawing in paths. A scene draws what moves, and any other pattern.

  • added ThemeGroundBase interface

    A scene's keys, which no ground has.

  • added ThemeScene type

    A live scene: what ui.render answers for Backdrop, and how the surface frosts its panels over it.

  • added ThemeTiling interface

    How a drawing or a gradient lies in its box.

  • added ThemeVector interface

    A drawing in SVG path data, the text of a path's d attribute.

  • added ThemeVectorGround interface
  • added WaitingAgent type

    One background agent a line waits on, as ui.render sees it under waitingFor.agents.

  • added WaitingFor type

    What a line waits on, as ui.render sees it under waitingFor.

31 docs only: reworded, same shape
  • $.mcp noun

    The engine's MCP servers: calling a connected one's tools, and connecting one the plugin lists itself or /mcp lists.

  • Connects an MCP server if the session has not already: one this plugin's own manifest lists, by its key, or any server /mcp lists.

  • Sets the session's theme from one object of named top-level attributes, the whole theme: what a set leaves out is gone. backdrop is a scene, drawn behind the conversation by what ui.render answers for Backdrop: full window on desktop under its frosted panels, full screen on mobile under one veil (tint and opacity, not yet blur). Or it's a still ground, which a surface draws with no hook. colors is a theme for a surface to paint itself with, where it reads one. With no scene, no ui.render hook is asked to draw. Display only: --resume brings none back and a plugin that unloads takes its own with it, so set it at session.start.

  • Returns the tools the model can call now, built-in and MCP alike, in the order the model sees them, through the tool.list hooks.

  • Closes one of the open panes; an id that is not open is left alone, and a pane another plugin holds is refused.

  • Opens a pane, a framed region the surface places and this plugin draws by hooking ui.render for { component: "Pane" }; says if it is drawn.

  • tool.list event

    The argument of $.tool.list(), and of the engine's own raise of its tools: what the hooks answer that raise is the session's tool pool (ToolInfo).

  • The hook on("*", hook) takes: it runs on every event, plugin nouns no declaration names included, so e is unknown and next is StarNext.

  • The props of Button, every surface's pressable: an address, a label or children, the closure a press runs, and the styles a hover overrides.

  • What a surface module's function receives as its second argument: its elements, the instance's local state, its region, input, clock and port.

  • What a mounted drawing's find and findAll match an element on, every field given at once: its tag, its key, and the text it shows.

  • One element of a mounted drawing as find returns it: the description the plugin's hook (or a Client's module) built, read as plain data.

  • The time bounds every hook runs under, in milliseconds: the engine's own constants are typed by these members, and next.budget reads the live one.

  • Plain data: what JSON holds, and what crosses between a plugin's hooks module and its surface module whole (a Client's props, a post's data).

  • Matcher type

    What on(event, matcher, hook) takes for an argument of type I: the shape of the e the hook wants, a partial of it at any depth.

  • Why $.mcp.connect left a server unconnected, in one word; unlisted too where the session's host runs the plugin's servers itself.

  • Every member a mounted drawing of component C can have; Mounted<P, C> keeps the ones surface P has the element for (ElementOfAct).

  • One object member E under object pattern P, D levels down: never when a key of P is impossible on it (ImpossibleKeys), else E narrowed.

  • Where an inbound delivery came from, as the bridge classified it from the server's stamps: prompt.submit's e.origin, less what never arrives.

  • The input of skill.prompt: one skill's prompt, at the moment the engine expanded it for the model.

  • How a surface keeps its text readable over a backdrop: the desktop app frosts its own panels, and the mobile app lays one veil over the backdrop. Each key absent takes the surface's default, so {} is the default glass.

  • The colors attribute of $.theme.set: a whole palette as JSON data, for a surface to paint itself with, where it reads one.

  • What $.theme.set and $.theme.clear resolve to, and what a theme.set or theme.clear hook's { value } holds.

  • What a tool.check hook returns and what next(e) resolves to: the verdict, why, and what stands behind it, never who answers it.

  • The 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.

  • The input of ui.focus: a site's focus ring about to move onto one of the elements a hook drew in it (a Button, Input or Select), or off them.

  • The argument of ui.input: a change of, or a submit from, an Input a render hook drew. Flat and frozen like every event's.

  • What $.ui.open resolves to and what a ui.open hook's { value } holds.

  • UiPane type

    One of this plugin's open panes as $.ui.panes() lists it: the pane's id and title, and where it stands with the person right now.

  • The argument of ui.press: a press on a Button a render hook drew, or on an answered Markdown link. Flat and frozen like every event's.

  • The argument of ui.select: a pick from a Select a render hook drew. Flat and frozen like every event's.

v2.1.322

No change to the surface since 2.1.321

v2.1.321

+7 added · 0 removed · 10 changed · 13 docs only since 2.1.319

The engine

  • Takes back one of this plugin's own notifications by its key: a host that raises notifications removes it, shown or still booked. The frame names this plugin's source, which keys are scoped by. Await the $.ui.notify first: a cancel sent before it is out takes back nothing.

Events

  • added ui.cancelNotify event

    The argument of $.ui.cancelNotify(key): the key of the plugin's own notification to take back; rewritable, deniable, answerable, like ui.notify. Only a client's surface holds one to take.

Types

  • changed HttpInit type may break

    Options of $.http.fetch.

    export type HttpInit = {    method?: string;    headers?: Record<string, string>;    body?: string;    body?: HttpBody;    compress?: HttpCompress;    auth?: string;    socketPath?: string;};
  • changed HttpResponse type extended

    What $.http.fetch resolves with.

        ok: boolean;    headers: Record<string, string>;    text: string;    isStreaming?: true;    sendIndex?: number;};
  • changed MountedMembers type extended

    Every member a mounted drawing of component C can have; Mounted<P, C> keeps the ones surface P has the element for (ElementOfAct).

        advance: (ms: number) => Promise<void>;    resize: (size: MountResizeTarget) => Promise<void>;    redraw: (props?: RenderPropsOf[C]) => Promise<void>;    keepsBeneath: () => Promise<boolean>;    unmount: () => Promise<void>;};
  • changed NotifyOptions type extended

    Options of $.ui.notify.

    export type NotifyOptions = {    title?: string;    key?: string;    delayMs?: number;    at?: number;    untilBack?: boolean;};
  • changed OpValueOf type extended

    What each call on $ answers (the value of its event's result), by event name.

        'ui.copy': UiCopyResult;    'ui.view': UiViewResult;    'ui.notify': UiNotifyResult;    'ui.cancelNotify': {        isSent: boolean;    };    'ui.blit': UiBlitResult;    'fs.read': string | FsBytes;    'fs.write': void;
  • changed PromptSectionResult type extended

    What a prompt.section hook returns: the text the prompt carries for that section, or null to leave it out.

    export type PromptSectionResult = {    text: string | null;    breakPromptCache?: boolean;};
  • changed RenderPropsOf type extended

    The plain-data props of each renderable component, as ui.render sees them under e.props; a hook rewrites them with next({ ...e, props }).

        };    AbovePrompt: {        hasSurvey: boolean;        isCollapsed: boolean;        isWorking: boolean;        maxRows: number;        bodyColumns: number;
  • changed ThemeSetArgs type may break

    The argument of $.theme.set: one object of named attributes, so a later attribute is an addition and never a change of the call.

    export type ThemeSetArgs = {    backdrop: ThemeBackdrop;    backdrop?: ThemeBackdrop;    colors?: ThemeColors;};
  • changed ToolDescribeResult type extended

    What a tool.describe hook returns: the description the model sees for that tool and, when the hook moves it, where the tool waits (ToolDeferral).

    export type ToolDescribeResult = {    description: string;    isDeferred?: ToolDeferral;    breakPromptCache?: boolean;};
  • changed UiNotifyResult type may break

    What $.ui.notify resolves to and what a ui.notify hook's { value } holds: whether a channel sent it (isSent) and which, else why not.

    export type UiNotifyResult = {    isSent: true;    channel: 'iterm2' | 'iterm2_with_bell' | 'kitty' | 'ghostty' | 'terminal_bell';    channel: 'iterm2' | 'iterm2_with_bell' | 'kitty' | 'ghostty' | 'terminal_bell' | 'client';} | {    isSent: false;    reason: 'disabled' | 'no-channel' | 'no-surface' | 'refused';
  • added CancelNotifyArgs type

    The argument of $.ui.cancelNotify.

  • added HttpBody type

    A request body: text, or bytes that are not valid UTF-8 as { base64 }.

  • added HttpCompress type

    The encoding the engine gives a request body beneath the hooks.

  • added ThemeColorInputs type

    One mode's colors in ThemeColors: a six-digit hex color such as #1e1e2e under the name of each design system token the theme sets. The type checks the leading # alone.

  • added ThemeColors type

    The colors attribute of $.theme.set: a whole color theme as JSON data, for a surface to paint itself with, where it reads one.

13 docs only: reworded, same shape
  • Fetches url through the host (never the plugin's own network) and resolves { status, ok, headers, text } once the body is read.

  • Runs one tool-less completion over the session's OWN transcript as the main thread last sent it, so the API serves that prefix from its cache.

  • Sets the session's theme from one object of named top-level attributes, the whole theme: what a set leaves out is gone. backdrop is drawn behind the conversation by what ui.render answers for Backdrop: full window on desktop under its frosted panels, full screen on mobile under one veil (tint and opacity, not yet blur). colors is a theme for a surface to paint itself with, where it reads one. With no backdrop, no ui.render hook is asked to draw. Display only: --resume brings none back and a plugin that unloads takes its own with it, so set it at session.start.

  • Calls a tool: the event tool.call, the same call the engine makes for the model's tool calls, under a tool_use_id of its own.

  • Re-runs an event whose results the engine caches: ui.render draws the instances this plugin may draw again; the others drop the cached answers.

  • Raises a native notification of text through the person's own notification channel, the one their preferredNotifChannel names.

  • Fires once per named section of the system prompt, when the engine assembles it; next(e) resolves to { text } as core computed it.

  • Fires when the engine first renders the tool's schema in a session; next(e) resolves to { description, isDeferred? }.

  • The input of skill.prompt: one skill's prompt, at the moment the engine expanded it for the model.

  • A test: the engine's $, and on, a plugin's registrar, whose hooks sit beneath every plugin; beneath them the bottom hook throws, naming its event.

  • What $.theme.set and $.theme.clear resolve to, and what a theme.set or theme.clear hook's { value } holds.

  • The 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.

  • What a ui.scroll hook returns, what next(e) resolves to, and what $.ui.scroll hands back: {} once the window moved, or why it did not.

Feedback