Skip to content

Releases

aparté 1.17.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 21:25
89f3b7c

Every @aparte/* package ships at this version (they are released in lockstep).

Minor Changes

  • 3a59a20: A message the server refuses for its size (HTTP 413) now reads "This message is too large to send. Remove a file or send a shorter one." instead of promising a retry, and is left out of later requests.

    AparteError.codeForStatus had no case for 413, so the error fell back to a failing provider: "Try again in a moment", and a retry sends the same bytes. It is easy to hit: nginx refuses a body over 1 MB by default, PHP one over 8 MB, and an image travels in base64. It has its own code now, USAGE_TOO_LARGE, its own sentence, errorTooLarge, in the nine languages of @aparte/locales, and it joins the codes whose message is left out of every later request: a long pasted text refused for its size no longer goes out again with the next message and takes it down too. (#294)
    @aparte/core, @aparte/locales

  • 118707f: A sub-agent opened by another sub-agent, saved while it waited for an approval, now goes on on its own line in its parent's transcript when the reply is resumed after a reload.

    Its saved line was looked for in the reply's own segments only, so its resumed work was dropped, or went to a second, top-level line, and its call stayed awaiting approval. The plugin now finds it at any depth and takes up the sub-agents it sits under first. createSegmentList gains a paused option for that: a saved list taken up as a pause keeps its calls waiting for an approval open, where history aborts them.
    @aparte/core, @aparte/plugin-subagents

  • 6d1f934: A conversation row can say its turn is queued: setConversationStatus(id, 'queued') (or aparte-conversation-status with status: 'queued') draws a muted mark, no shimmer, and "Queued" for a screen reader.

    For a turn sent but waiting behind another conversation's: a local engine that serves one turn at a time, a backend's queue. Read as running, the row shimmered and said "Answering" while nothing was being written. Only the app knows a turn is queued, so the app says it, and says running once the turn is served; the conversation controller's running at the turn's start no longer takes a queued back. AparteConversationStatus gains 'queued': a host that matched every status exhaustively has one more to handle. The new locale key conversationQueued is translated in the nine languages of @aparte/locales. (#289)
    @aparte/core, @aparte/locales

  • 608fb2c: A conversation can be dragged from one <aparte-conversation-list> onto another: give each list the key of the group it stands for in drop-key (dropKey). The drag type is public: APARTE_CONVERSATION_DRAG_TYPE.

    For an app that renders one flat list per project under headings of its own. A list's rows with no group are in its key's group, a row dropped on it moves there, from another list of the page or from an element of the app's own that carries the type, and a row dropped back on its own list moves nothing. A list with no rows still takes a drop. The move is the same aparte-conversation-move, sent by the list the row lands on, from the key of the list it came from. Without drop-key, nothing changes. (#278)
    @aparte/core, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue

  • 6db770f: A step can say what it is about: step-start carries a detail, a new step-update { name, detail } changes it while the step stays open, and the step's label function is handed detail and the reply's messageId.

    A server waiting for a slot of a local engine knows who holds it, and the words belong to the page. A step carried its name alone and its label saw only that: an app kept the last holder in a module of its own, ended and restarted the step to have the words asked again, and two chats waiting showed the last one told. The detail travels with the step to the reply's waiting indicator and to a sub-agent's line, and the label is asked again when it changes. A second step-start of the same name still opens a nested step, as AG-UI's rule says: update a step with step-update. (#288)
    @aparte/core, @aparte/engine, @aparte/plugin-subagents

  • 6d5eab5: A sub-agent heard before it names the call that opened it (an AG-UI agent whose first event arrives before SUBAGENT_STARTED) now moves onto that call: one line with all it said, and nothing marked Stopped.

    It got a line of its own first, as a sub-agent with no call does. Announced again with its call, it was taken for another sub-agent under the same id: the first line read Stopped and what it said was split across two lines. createSegmentList gains removeSegment, so a sub-agent's own transcript can take a line out as a reply can.
    @aparte/core, @aparte/plugin-subagents

  • 85ea6eb: New showToast(text, { tone, timeout, target }) in the kit: a short message in a corner of the page that goes away on its own.

    For what has nowhere else to be said, such as why an action did not happen. It is the kit's alert, stacked in a fixed corner that never moves the layout under the pointer. It is announced as a status, or as an alert in the danger tone, waits while it is hovered or holds the focus, and closes by its button or Escape, giving the focus back to where it came from. Shown while a modal dialog is open, it goes inside the dialog, since everything outside one is inert; for a design system's dialog drawn in its own shadow root, it goes in the page's own content the dialog shows, where the kit's stylesheet reaches it. target names the element it is about: the toast goes in that element's shadow root and wears its theme. It returns a handle with close(), and does nothing in a server render. Two locale keys name its region and its button (notifications, dismissNotification), in the nine languages. (#279)
    @aparte/core, @aparte/locales

  • dd2fce8: A tool can set its own time limit (timeoutMs on the tool), which replaces the client's or the server handler's toolTimeoutMs for that tool; Infinity means no limit.

    A tool that runs a whole sub-agent on a slow local model, or a command with a limit of its own, was cut at five minutes like a lookup, and a host that raised the shared bound to spare it lost the bound for every other tool. Infinity, or any delay above 2^31-1 ms, used to fire at once (a timer reads such a delay as zero): it is no limit now. A sub-agent a call opens in the background is bounded by that call's limit. The docs now say what happens when a limit fires: the call is abandoned and the run stops, since a handler that ignores its signal may still be running. (#290)
    @aparte/core, @aparte/engine

  • 6075c93: An approval policy can rule asynchronously: setApprovalPolicy and the server handler's approvalPolicy may return a promise, awaited before the call runs, pauses or is refused.

    Security fix included: a policy that returned a promise used to let every call run unasked in the page (the promise was taken for a ruling with no verdict, so the gate opened, needsApproval tools included), and was ignored on the server, where a deny on a tool with no flag let the call run. While a policy rules, the calls the model made after that one wait, as they wait for a person's answer, so the order guarantee holds; a synchronous policy stays synchronous. A promise that rejects asks a person, with the reason on the console. A policy is asked once per call, so the ruling that paused a call is the one that answers it, and a Stop does not wait for a ruling still on its way. config.ruleOnToolCall stays synchronous and answers ask for a policy still ruling; the new config.ruleOnToolCallAsync waits for it. The engine's needsApproval predicate may answer with a promise too. (#291)

    Code that CALLS a policy (one that wraps config.getApprovalPolicy() to compose two) now gets a type whose answer may be a promise: await it, or ask config.ruleOnToolCallAsync. A policy you write is unaffected, and createApprovalPolicy from @aparte/plugin-approval is still typed as ruling at once.
    @aparte/core, @aparte/engine

  • 2ba627d: new AparteConversationManager(adapter, { orderBy }) orders its lists as the app chooses: 'updated' (the default, unchanged), 'created', or a compare function.

    The lists were by updatedAt, the last change of content: a reply that ends moves its conversation up, as most chat products do. An app that keeps a conversation in its place, or orders by the person's last message, sorted the manager's lists again itself. A conversation list's date groups still read each row's updatedAt: with another order, hand it the date you order by. Opening, renaming or reloading a conversation never moved it, and still does not. The framework helpers' lists (useConversationManager in React and Vue, Angular's ConversationManagerService, Svelte's createConversationManager and createConversations) follow the same option, given to their init; manager.compare(a, b) sorts a list of the app's own the same way. (#293)
    @aparte/core, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue

  • 8783037: A sub...

Read more

aparté 1.16.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 15:06
4299efc

Every @aparte/* package ships at this version (they are released in lockstep).

Minor Changes

  • 4130c3e: <aparte-conversation-list> can move a conversation to another of your groups: set moveTargets, and each row's menu offers "Move to…" and "Remove from “…”", a row can be dragged onto another group, and aparte-conversation-move tells you where.

    Nothing changes without moveTargets: the menu and the rows are the ones they were. Set it to the groups a conversation can go to ([{ key, label }], the shape an item's group already has). "Move to…" lists every target but the row's own group, in the same menu and walked by its keys; "Remove from “…”" takes a row in a group out of it; a row dragged onto another group (its heading or its rows) moves there, the group marked while a drop would land, and dropped on the rows of no group it leaves its group. Each sends aparte-conversation-move with { id, from, to } (to is a key, or null for no group), and the list moves nothing: you write it and assign conversations again. manage does not carry it out, since a group is your data. A target no row is in has no heading to drop on, so the menu reaches it. Under a wrapper, moveTargets is a prop or input and the event is onConversationMove in React, (conversationMove) in Angular, aparte-conversation-move in Vue and Svelte.

    Three locale keys, in the nine languages of @aparte/locales: moveConversation, moveConversationTo, removeFromGroup. The icon provider gains folder, which the "Move to…" item draws; folderIcon is still exported from @aparte/core/icons.
    @aparte/core, @aparte/locales

Patch Changes

  • 0ad9f5c: A reply, or a sub-agent's conversation, no longer loses its last words when the server sends no text-flush before the next call or the run's end.

    Nothing to change in your code. The stream parser holds a delta that ends on a backtick (or on the start of a block tag) until more arrives, and only text-flush handed it over. aparté's own runner sends one at the end of every model call; a server loop of one's own may not (#275). Then a reply ending on inline code lost it, and was saved that way: "La valeur est 42" in one delta showed nothing at all. The text is now handed over at every turn-start and at the run's end (done, suspended, stopped), and a sub-agent's at its own end and at the run's; after a text-flush there is nothing left to hand over, so nothing appears twice. The server-loop guide's wire example closes each call with text-flush.
    @aparte/core, @aparte/plugin-subagents

  • 0448d6f: <aparte-model-selector> lists the new models when a provider is replaced while it is on screen, instead of an empty list or the old models.

    Nothing to change in your code. An app that replaces its model catalogue (unregisterAIProvider(id), then registerAIProvider(createModelCatalogue({ id, ... })) with the new models) saw an empty picker: the second change was compared with the list loaded before the first one, taken for no change, and the load the first one had started, which saw no provider, wrote an empty list (#276). A change that comes while a load runs now makes that load go round again. And a provider registered again under the same id, a catalogue whose models changed, now reloads the list: the selector compared provider ids only, and kept the old models. A fresh id per catalogue, the workaround, is no longer needed.
    @aparte/plugin-model-selector

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue, @aparte/docs-mcp.

aparté 1.15.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 10:24
cb08756

Every @aparte/* package ships at this version (they are released in lockstep).

Patch Changes

  • 0ff08c9: Reasoning that arrives after its block was closed now opens a new block, instead of growing a block that already reads "Thought for 3s".

    Nothing to change in your code. A reasoning block closes when the answer starts or a tool is called, and only a turn-start let the next reasoning open a block of its own. Later reasoning in the same turn was appended to the closed block, folded, above the calls made since, and the block kept its finished label while it grew. It happened to a server loop that sent one turn-start per run instead of one per model call (#272), and as well to a model that reasons again after it starts answering within one call (the engine, ai-sdk and AG-UI all pass that through), in the reply and in a sub-agent's transcript.

    The server-loop guide now says what a server writing its own wire must send: a turn-start before each model call, a sub-agent's with its agentId.
    @aparte/core

  • 350930e: A call in a sub-agent's conversation under its line now shows its own state: a failed or refused call no longer reads in the success colour, and a reply being written has one caret instead of one per paragraph of the transcript.

    Nothing to change in your code. Five rules of the tool row (the success ink of a call that is done, the quiet line's target face and chevron place, a queued call's muted name, a running quiet call's state word under reduced motion) were keyed on the row's state with a descendant combinator, so they reached every row drawn under it: with setupSubagents({ details: 'transcript' }) a failed call in the transcript of a line that was done read "Failed" in green (#271), and a quiet line made the calls under it quiet. They now name the row's own line; their specificity is unchanged. The streaming caret (setStreamingCaret) had the same reach and blinked after the last paragraph of every text in a transcript; it now stays at the reply's own words.

    A browser test now draws every state of a line with a call of every state under it, and compares each call with the same call on its own.
    @aparte/core

  • 4879492: Under React, Vue, Svelte and Angular, a scrolled conversation no longer moves up and down by a pixel while a reply streams reasoning.

    Nothing to change in your code. The space kept under a reply (so the question stays at the top) was written as a fraction and, under a wrapper, read back as that fraction against a scrollHeight the browser gives in whole pixels. It never settled: on every streamed delta that grew nothing on screen, a closed reasoning block in the reply or in a sub-agent's transcript, it went 65.6, 66.1, 65.6 px, and the thread, held at the end of its scroll, moved a pixel each way for as long as the reply streamed (#270). The space is now whole pixels, so measuring it again with nothing changed gives the same value, in both modes; raw core also loses a one-pixel jump on the second measure.

    A browser test now reads every frame of a reasoning reply streaming into an already scrolled thread, on every example, at half a pixel.
    @aparte/core

  • 11895b0: Formulas in a sub-agent's conversation under its line are drawn at their own pace again, instead of waiting on each other.

    Nothing to change in your code. A formula still arriving is drawn at most once a frame per reply part, and the part was found as a segment of the reply. A sub-agent's text is drawn inside a segment of the reply (the line of the call that opened it), so every formula of its conversation, and of sub-agents writing at once, shared one pace: each answered null while another's turn came. The part is now the nearest segment.
    @aparte/plugin-katex

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-model-selector, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue, @aparte/locales, @aparte/docs-mcp.

aparté 1.15.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 08:01
81b42f5

Every @aparte/* package ships at this version (they are released in lockstep).

Minor Changes

  • 20124fb: An error renderer can return null for an error it does not change: that error keeps aparté's card, translated on a language switch as before.

    Nothing to change in your code. setErrorRenderer replaced the card for every error, so an app that wanted its own words for one code (appCode === 'engine-died') rebuilt aparté's card by hand for all the others: a copy of its markup that drifts, and that a language switch no longer rewrote. Returning null made the card vanish. null or nothing now draws aparté's card for that error, exactly as without a renderer; a card you return is still never rewritten, even one that copies aparté's classes. AparteErrorRenderer returns string | HTMLElement | null | undefined.
    @aparte/core

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-model-selector, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue, @aparte/locales, @aparte/docs-mcp.

aparté 1.14.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 00:37
3e68424

Every @aparte/* package ships at this version (they are released in lockstep).

Minor Changes

  • 749770c: A / command and a trigger row can show a badge at the end of the row: badge: 'Beta'. It stays while the person filters the list.

    Nothing to change in your code. AparteCommand.badge and AparteTriggerItem.badge take a short text, drawn as the kit's small badge (.aparte-menu__badge) before a submenu's chevron, as text. A command's group heading says a state only while nothing is searched, because a filtered list is ranked rather than grouped; the badge is on the row itself. commands.override changes it like any other field. A row drawn by your own render draws its own badge.
    @aparte/core, @aparte/plugin-triggers

  • c4fa388: A custom error renderer now receives appCode: the code your own server or agent ended the run with (engine-died), which it could not see before.

    Nothing to change in your code. A run-error line on aparté's agent wire, or an AG-UI RUN_ERROR, can carry a code aparté does not know. The runner folds it into PROVIDER_ERROR, so the default card still says a provider error in the reader's language, and keeps the raw value in the error's data. That value reached the aparte-message-error event only: the card saw PROVIDER_ERROR, and once the reply was saved the app's code was gone. It now rides on the error segment as appCode, saved with the message, and setErrorRenderer receives it beside code. A code of aparté's own (USAGE_RATE_LIMIT) is the error's code as before, and sets no appCode. The default card is unchanged: it shows the sentence of PROVIDER_ERROR, never the server's words.
    @aparte/core

  • 2901291: New stop-key on the chat and the composer, stopKey on the framework components: a key that stops the reply being written, as Stop does. stop-key="Escape"; none by default.

    Nothing to change in your code. The key counts while the focus is in the composer, pressed alone, and once nothing inside took it: the / menu, a select, a question or an approval in the composer keep their own keys. In a launcher, the first Escape stops the reply and the next one closes the chat.

    Every element of aparté that takes Escape now cancels the keydown, and the accessibility guide says in which order they answer, so a handler of yours reads event.defaultPrevented. Two did not: the Restore question of a compaction stopped the key without cancelling it, and a stock chart's cursor did neither, so Escape on a chart in a launcher also closed the card. The chart now takes Escape only while its cursor is shown.
    @aparte/core, @aparte/plugin-cards, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue

Patch Changes

  • 2aa71b8: <aparte-icon> with a name no icon has now says so once in the console, instead of drawing an empty square in silence.

    Nothing to change in your code. name="plus" and name="panel" draw nothing until registered: the glyphs of @aparte/core/icons are SVG strings, not names, and <aparte-icon> knows core's names and the ones added with registerIcons. The warning names the name and how to register it; it comes once per name, and not for a name registered right after the element mounted. The Icon page now says it, with the registerIcons line. The menu recipe's own example named chevronRight, which is not one of core's names, so its chevron drew nothing: it now names nextBranch.
    @aparte/core

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-model-selector, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/locales, @aparte/docs-mcp.

aparté 1.13.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 13:00
d032fd9

Every @aparte/* package ships at this version (they are released in lockstep).

Patch Changes

  • 8a12c10: A long notice now wraps onto several lines instead of being clipped at the edge of the chat.

    A notice (kind: 'notice') wore the divider recipe, whose label is a single word that never wraps. "Marie joined the conversation" fit; a sentence such as "Someone of the team will answer you here, usually within minutes" ran past a narrow chat and was cut. The notice's text now wraps, centred, and the lines on either side keep a short stretch.
    @aparte/core

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-model-selector, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue, @aparte/locales, @aparte/docs-mcp.

aparté 1.13.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 01:52
77fe619

Every @aparte/* package ships at this version (they are released in lockstep).

Minor Changes

  • 205d5a9: A message can now say who wrote it (author), a notice can mark what happened in the conversation (kind: 'notice'), a note can sit under a message (note), and setAutoReply(false) keeps the AI quiet while a person answers.

    Nothing to change in your code, with one thing to know first: a conversation saved with notices, opened with an older version of aparté, shows each notice as a reply of the AI.

    • AparteMessage.author (AparteAuthor: name, type 'ai' | 'human', avatar, id) names the writer; role still says the side. The bubble shows the name and the picture, carries data-author-type and data-author-name, and a person's message offers no regenerate, rating or model details. An avatar provider is told the author (render(role, host, { author })), and registerAction takes bubble.authorTypes. isModelReply(message) and authorTypeOf(message) are exported.
    • kind: 'notice' draws a line across the transcript (role="note"), never sent to the model and never answered. note is a short line under a message, set with updateMessage(id, { note }).
    • config.setAutoReply(on, conversationId?) / getAutoReply(conversationId?): off, a person's message is shown, announced and saved, and no turn starts — not from a send, a queued message, a regenerate, an edit or the resume of a paused reply. Regenerate and edit are disabled meanwhile. Per conversation, or for the whole chat; not stored, so apply it again on aparte-conversation-loaded.
    • aparte-send carries messageId, the id of the message on screen. A message appended or updated outside a turn fires aparte-transcript-change, and the conversation controller saves it; manager.addMessage() now writes the stored branch tree too.
    • A message appended while a reply streams no longer cuts into it: the turn writes into its own message by id, and the history is cut at the message that was sent, wherever it sits.
    • What the model reads: an author's name goes as the message's name; two messages in a row on the same side are joined into one, assistant ones too unless they call tools (before, only the person's were), since strict chat templates refuse two in a row; joined messages from different authors open each named author's words with the name (Marie: …).

    The guide is "Humans in the conversation".
    @aparte/core

  • 205d5a9: A message of the agent loop can carry its author's name (StreamAgentMessage.name), passed through to the provider.
    @aparte/engine

  • 205d5a9: A message's author now goes to the agent as the message's name, on user and assistant messages alike.
    @aparte/runner-ag-ui

  • 205d5a9: sendNames: true sends a message's author as OpenAI's name field; it is on in presets.OPENAI.

    Off by default, because other OpenAI-compatible servers refuse the field (Mistral answers 422). The name is fitted to what the API accepts — letters, digits, _ and -, up to 64 characters — and left out when nothing is left of it.
    @aparte/provider-openai-compat

Patch Changes

  • f4b255a: A new message no longer flashes 320px tall for a frame before taking its own height.

    Nothing to change in your code. The bubbles skip drawing what is off screen (content-visibility: auto), and one that has never been drawn is laid out at the 320px fallback. A message just appended lands below the fold until the scroll catches up a frame later, so the transcript was pinned to that height and then snapped back: a flash under the person's message, the reply, or a message the app appended (an advisor's, a notice). The newest two bubbles are now always drawn (aparte-chat-bubble:nth-last-of-type(-n + 2)); the history above keeps the skipping.
    @aparte/core

  • 205d5a9: The summary now leaves notices out and names a person's message by its author (Marie: …), so it never puts an advisor's words in the AI's mouth.
    @aparte/plugin-compaction

  • 205d5a9: /retry now targets the AI's last answer, never a notice or a person's message after it.

    When a notice or a person's message follows that answer, regenerating it would drop what came after, and the chat refuses, as its own Regenerate button does.
    @aparte/plugin-triggers

  • 205d5a9: A message with an author and a notice now draw right on the first paint: the bubble gets data-kind, name and data-author-type from the message.
    @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue

Version-only bumps (no changes of their own): @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-model-selector, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/locales, @aparte/docs-mcp.

aparté 1.12.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 19:40
19c7b39

Every @aparte/* package ships at this version (they are released in lockstep).

Patch Changes

  • d47c000: A model chosen through /model now sends aparte-model-change with picked: true, as a pick in the list does; nothing to change in your code.

    The rows of /model in the triggers menu ran setSelection(), so the person's choice was told with picked: false, like a change made by code. An app that asks before switching (if (!picked) return) let it through without asking. Choosing through /model the model already selected now changes nothing and sends nothing, as in the list. setSelection() still sends picked: false (#255).
    @aparte/core, @aparte/plugin-model-selector

  • c2d03df: A RUN_ERROR whose code is one of aparté's error codes (USAGE_RATE_LIMIT, CONFIG_INVALID_KEY…) now keeps that code, so the error card says its sentence; nothing to change in your code.

    Every RUN_ERROR used to become a PROVIDER_ERROR, so the card read "The assistant couldn't answer. Try again in a moment." whatever the agent said. An agent that finds a reason mid-run (a tool hitting a rate limit) has already answered 200, so no HTTP status can carry it: the code is the only place left. aparté's own agent wire already read a run-error line's code this way; the AG-UI runner now does the same. Any other code, or none, is still a provider error, the agent's own value kept in the error's data.
    @aparte/runner-ag-ui

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue, @aparte/locales, @aparte/docs-mcp.

aparté 1.12.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 17:43
f350941

Every @aparte/* package ships at this version (they are released in lockstep).

Patch Changes

  • 1da0eee: <aparte-diff> no longer draws its rows again when handed the same comments or the same change; nothing to change in your code.

    A framework hands comments and diff on every render, often as a new array of the same comments (review.filter((c) => c.path === file)) or a new { path, before, after } with the same texts. Each drew every row again: what the reader was doing was carried over, but every row was a new element, so a text selection in the code was lost and the field being written in left the page and came back. A list of the same comments, or a change with the same texts, now draws nothing. A comment changed in place and handed back is still drawn, and an app's own fields on a comment (id, say) do not count, since the view does not show them (#253).
    @aparte/plugin-diff

Version-only bumps (no changes of their own): @aparte/core, @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-cards, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-model-selector, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-subagents, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react, @aparte/svelte, @aparte/vue, @aparte/locales, @aparte/docs-mcp.

aparté 1.12.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 11:26
947f0b4

Every @aparte/* package ships at this version (they are released in lockstep).

Minor Changes

  • 3ba3797: A checkpoint can cover the message that carries it: contextSummary: { …, includesSelf: true } starts the history after that message, so a summary of everything so far no longer leaves the last answer counted (#246).

    A checkpoint reads "from this message on, the summary stands for everything before", so its own message was always read and sent. A host that summarised everything, the last answer included because keeping it would free nothing, had only that answer to put the checkpoint on: the gauge read about full right after a compaction that had freed most of the window, and the next request carried the answer again. With includesSelf the history, the gauge and the request start after it, and the separator is drawn under the message rather than above it. It never covers the question being answered: on a last user message it reads as an ordinary checkpoint. Retention that hands the checkpoint down to a later message drops the flag, since the inheritor is kept.
    @aparte/core

  • 9930f0b: A send can be held: call preventDefault() on the new aparte-before-send event (onBeforeSend / @before-send / onbeforeSend in the wrappers) and the message stays in the composer, text and files, with nothing added to the thread; getComposer()?.submit() sends it later (#245).

    The event goes out before aparte-send, with the same detail. aparte-send itself could not be the cancelable one: the conversation controller appends the person's message in the capture phase on the chat, so it runs before any listener an app can add, and a cancel there arrived after the message was already in the thread. A first event of its own has no such race, the shape the platform uses for beforeinput before input. The getComposer() documentation now names setValue(), submit() and addAttachments().
    @aparte/core

  • 844c6c5: A chat whose turns run on a server can list the server's models: registerAIProvider(createModelCatalogue({ id, name, models })) registers a provider that lists them and runs none, and <aparte-model-selector> shows them (#244). aparte-model-change now says picked, so an app that asks before switching can tell the person's pick from its own revert.

    createModelCatalogue is the provider a server-loop page used to write by hand, a chat() that rejects: the selector lists its models, the one selected goes out on every request, and its capabilities gate what it cannot do. A page with no stream runner that sends anyway gets a PROVIDER_MISCONFIGURED error that says so. picked is true when the person chose in the list, false for setSelection() and for auto-select; without persist, a cancelled switch puts the old model back with setSelection() and that change no longer reads as a pick.
    @aparte/core, @aparte/plugin-model-selector

  • 6c9b0af: A question can be answered from outside its chat: aparteGlobalConfig.observeElicitations(listener) hands the app each question and approval a chat puts on screen, with respond() to answer it and settled to know when it no longer waits (#250).

    The chat still asks: its panel is up and the person can answer there. Whichever answers first is the answer, and an answer from outside takes the chat's panel down. request.conversationId names the conversation that asked, so an inbox of everything waiting across conversations can answer an ask_user question the way approvalResolver already let it answer an approval. The answer is what the panel would have resolved, { action: 'accept', content } with the value the question's schema collects (for ask_user, the option's value, a string[] for several, free text, or { q1, q2 } for several questions), or { action: 'decline' }. AparteElicitationPending is the type. A listener that throws is reported at the console and the question is still asked. The elicitation guide has it under "Answer from outside the chat".
    @aparte/core

  • 7d17240: A message written while a reply streams can wait for it: aparteGlobalConfig.setQueueWhileStreaming(true) makes Enter queue the draft above the field, and each queued message is sent when the reply ends (#248). Off by default.

    Each queued message shows with a button to take it back into the field and one to remove it. When the reply ends well (aparte-message-done) the first one goes out through the same aparte-before-send and aparte-send as a message sent by hand, so a held send holds it too, and the next one waits for the reply to it. After a Stop or an error nothing is sent: what was queued comes back into the field. The Stop button stays Stop. composer.queue() queues from a button of your own, and the composer's state carries queued (AparteQueuedMessage[]). Three locale keys, queueLabel, queueEdit and queueRemove, in the nine languages.

    The norm it follows: Cursor queues follow-ups typed during a run and sends them in order once it ends, each removable; Codex queues them with Tab, and with Enter in its IDE extension.
    @aparte/core, @aparte/locales

  • 39979a6: A chat can say what its Stop button interrupts: stop-label on <aparte-composer>, or its stopLabel property, names the button "Stop the sub-agents" in place of the locale's stopButton (#249). Set it back to null when the run it named is over.

    It is the accessible name and the tooltip of the composer's send button while it is Stop, and of <aparte-composer-cancel>, on this chat only. The one way before was extendLocale({ stopButton }), which renamed the Stop of every chat sharing the config, a locale edit standing in for state. An attribute, like the composer's other options, so a framework binding ([stopLabel] in Angular, a prop on the generated components) reaches it the way a script does. The sub-agents guide shows it following the sub-agents that run.
    @aparte/core

  • ff23780: A fold of sub-agents can say where they stand: setTurnSummary({ label: subagentsTurnLabel }) writes the fold's line as "3 sub-agents · 1 done, 2 running" (#247). label takes any function of yours too.

    setTurnSummary takes a label function, called with the fold's steps, running and the chat's config each time they change; a string replaces core's line ("Working", "Worked 9 s · 7 tools") and the running step's name, null keeps them. A line of the app's is a polite live region; one that throws leaves core's line. @aparte/plugin-subagents exports subagentsTurnLabel, which counts the fold's sub-agents by state in the chat's language, with six locale keys (subagentsCount, subagentsDone, subagentsRunning, subagentsWaiting, subagentsFailed, subagentsStopped) in the ten languages, and leaves core's line under two sub-agents.

    The headline goes on the fold core already draws, moves and keeps up to date, not on a second grouping of rows: with openWhileRunning the lines show under it while the sub-agents work. A sub-agent that waits for the person or failed stands out of the fold, where it has to be read.
    @aparte/core, @aparte/plugin-subagents

Patch Changes

  • 3795730: A change of the config no longer closes a conversation list's open row menu or a title being renamed, and the list redraws only when its words or its glyphs change. No code to change (#251).

    <aparte-conversation-list> redrew itself on every aparte-config-change, which goes out for every change of the config (a provider registered, a model selected, a tool display), and it did so unheld: a menu open under the pointer was detached, and a rename lost what was typed, when an app registered its models a second after launch or again when a model loaded. It now redraws for a new locale or a new icon set only, and waits, as conversations already does, for an open menu, a rename or a press to end.
    @aparte/core

  • f0b2b37: A plan card sent again folds the earlier card of the same plan to its header, and a plan's "in progress" ring stops turning once the reply is over. No code to change.

    An agent that calls its plan tool at each step drew a card per call, and the earlier ones stayed whole: their step "in progress" kept turning above the card that said the plan was done. In a chat, the latest card of a plan (cards of one plan share its title) is now the plan; an earlier one keeps its title, its "2 of 4 done" and its bar, what it said then, and gives up its steps and its motion (data-plan-superseded). Codex and Claude Code keep the earlier versions of a plan in the transcript too, still. A reload or a redraw lands on the same answer, read from the page in the conversation's order.
    @aparte/plugin-cards

Version-only bumps (no changes of their own): @aparte/engine, @aparte/runner-ag-ui, @aparte/runner-n8n, @aparte/provider-ai-sdk, @aparte/provider-openai-compat, @aparte/provider-scenario, @aparte/provider-transformers, @aparte/plugin-approval, @aparte/plugin-artifacts, @aparte/plugin-ask-user, @aparte/plugin-chartjs, @aparte/plugin-compaction, @aparte/plugin-diff, @aparte/plugin-echarts, @aparte/plugin-katex, @aparte/plugin-marked, @aparte/plugin-mermaid, @aparte/plugin-shiki, @aparte/plugin-storage-idb, @aparte/plugin-streaming-markdown, @aparte/plugin-titler, @aparte/plugin-triggers, @aparte/angular, @aparte/react,...

Read more