Skip to content

The CrewAI Bot is a CrewAI conversational Agent - #1

Open
lorenzejay wants to merge 229 commits into
mainfrom
crewai-conversational-agent
Open

lorenzejay wants to merge 229 commits into
mainfrom
crewai-conversational-agent

Conversation

@lorenzejay

@lorenzejay lorenzejay commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

What this changes

The CrewAI engine (agent-crewai) now runs CrewAI's conversational standalone Agent (Agent(conversational=True), new in CrewAI 1.15.45) instead of a one-step Flow that called the model directly through LiteLLM. Before this, no CrewAI Agent ever ran in the CrewAI Bot.

It is built the same way CrewAI builds Agent.as_flow(): a conversational Flow whose turn hands the conversation to a CrewAI Agent. ag-ui-crewai 1.0.0 serves it with conversational=True, so each AG-UI thread becomes a CrewAI session. Four things didn't work for OpenBot out of the box, and the harness fixes them:

  • The Bot's role was dropped. ag-ui-crewai's conversational mode removes every system message, and that's where the server sends the role and tool guidance. They are now kept and given to the Agent right after CrewAI's own system prompt.
  • OpenBot's tools go back to the server. A CrewAI Agent runs its tools itself. Each OpenBot tool is now a result_as_answer stand-in that ends the turn and asks the server to run it, using the model's own call id. CrewAI is also stopped from reporting the stand-in as a finished backend tool call, which would otherwise store a call with a fake result and break the next run.
  • The app would show the conversation twice. ag-ui-crewai gave earlier messages fresh ids in its snapshots, and a MESSAGES_SNAPSHOT replaces the app's messages. Messages now keep the ids they arrived with.
  • An image on the latest user message was lost when a run picked up after a tool result. It now reaches the model.

Two of these fixes override module-level functions in ag-ui-crewai (crewai_prepare_inputs, is_backend_tool_event). Fixing them upstream in ag-ui-crewai / CrewAI would let us remove them.

Things that behave differently

  • Replies still arrive whole, not token by token. ag-ui-crewai 1.0.0 streams text only from its own LiteLLM wrapper; the old engine didn't stream either.
  • OpenAI, Anthropic and Google models now go through CrewAI's native SDK clients (crewai[anthropic,google-genai] extras), because CrewAI refuses to start a model it knows without its SDK. Other models still go through LiteLLM. CI's model check will re-verify this engine's entry in shared/model-lock.json.
  • On Google only, the conversation is reshaped for CrewAI's Gemini client before it runs: a tool result carries the name of the tool it answers (Gemini refuses an empty function_response.name), images become Gemini's inlineData / fileData parts (the client drops image_url), and a replayed tool call carries Google's documented placeholder thought signature (Gemini 3 refuses an unsigned call, and AG-UI has nowhere to keep the real one between runs). OpenAI and Anthropic get the conversation unchanged: a strict OpenAI-compatible server refuses a name on a tool message.
  • requirements.txt sets floors (crewai>=1.15.45, ag-ui-crewai>=1.0.0), unpinned like the rest of the repo. The litellm<1.106.0 hold stays.

Also: a CHANGELOG entry, and a section in docs/agent-frameworks.md for people connecting a conversational CrewAI Agent they run themselves.

Where it runs

  • New state that outlives a request? None. The thread is sent whole on every run; the Flow's session state is rebuilt from it each time. The only module-level state is a per-run registry of caller-tool names keyed by agent id, added and removed around one kickoff inside one process.
  • What happens on the second replica? The same as on the first: each run carries the whole thread, so any replica can answer it.
  • Anything serialised? No.
  • Anything fanned out to a browser? No; the harness streams its run back over the same AG-UI response as before.
  • New listener, port, or schedule? No. Same harness id, image, port and route.

Boundary and audit

  • Every acting call still goes through the gateway: tools are handed back to the server, never run in the harness.
  • No new refusals or failures.
  • Nothing new is trusted from the client.

API and database

  • This changes nothing under api/, no app's requests, no database change and no release-policy.json.

Changelog

  • A line in CHANGELOG.md under Unreleased.

Proof

All 29 tests in agent-crewai/tests pass in a fresh pip venv run from the repo root, the way CI's python-harness job runs them. They include the shared harness contract on OpenAI and Anthropic (role and whole thread reach the model, each run uses its own gateway key), the three-run learned-skill handback, and the provider loopback proofs, which now also check that a handed-back tool gets no result and no second call, that message ids survive, and that system messages are kept.

Live, on gpt-6.1-terra, against a full local OpenBot (local Intelligence, scripts/start.sh, the engine run from this branch):

  • 16 scripted checks against the engine: a second turn remembers the first and keeps the role; message ids survive and no system message reaches the snapshot; a tool is handed back with the model's own call id and no invented result, the continuation answers from the result without calling it again, and a later turn still remembers; two parallel calls both come back; an image the person sends is seen.
  • A CrewAI Bot made in New Bot, chatted with in the app: it answered in its role, used OpenBot's memory tool, recalled an earlier turn, browsed example.com and wikipedia.org on its computer, chained a browse and a memory save across runs, and showed every message once after a reload. No errors in the engine's or the server's log.
  • The same 16 checks on the other two native providers: Anthropic claude-sonnet-5-5 16/16 with no changes; Google 16/16 on gemini-3.5-flash and, after the last refactor, on gemini-3.1-flash-lite (3.5-flash had hit the free tier's daily quota). Before the Gemini fixes, every run after a tool failed and images were ignored. OpenAI was rerun on the final code: 16/16.
  • A second commit stops a pydantic "serialized value may not be as expected" warning that every live run logged (messages appended to the session in place, past validation). Covered by a new test; 27 tests pass.

Not run: the Docker image itself (the engine ran from source), the TypeScript suite (no TypeScript changed), and an image sent from the app to a Gemini Bot (the app sends a link to OpenBot's own file address, passed to Gemini as fileData; the live image checks sent it inline).

Not part of this change: OpenBot's default Google model, gemini-2.5-flash, is no longer available to new Google accounts; that is shared by every Bot and fixed separately. New Bot sends a connection's key only as Authorization, while every shipped engine checks x-openbot-agent-token. The API accepts a custom header name; the form does not offer one.

🤖 Generated with Claude Code

lorenzejay and others added 30 commits November 26, 2026 16:53
The CrewAI engine was a one-step Flow that called the model through LiteLLM directly, so no
CrewAI Agent ever ran. It now runs CrewAI 1.15.45's conversational Agent session, served by
ag-ui-crewai with conversational=True, and keeps OpenBot's contract:

- The server's system messages (the Bot's role and tool guidance), which ag-ui-crewai's
  conversational mode drops, reach the Agent after CrewAI's own system prompt.
- OpenBot's tools are handed back to the server: each is a result_as_answer stand-in that ends
  the turn with the model's own call id, and its phantom backend tool events are suppressed.
- Messages keep the ids they arrived with, so the authoritative snapshot doesn't show the
  thread twice.
- An image on the request survives a continuation run.

Same harness id, image, port and route; no API change. OpenAI, Anthropic and Google models go
through CrewAI's native SDK clients (extras added); LiteLLM stays the fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A live run appends the current user message to the session as a plain dict, and CrewAI appends
its base ConversationMessage. Pydantic never sees in-place appends, and CrewAI serializes the
state on every step, so every run logged "serialized value may not be as expected". The
state's serializer now coerces those entries, leaving the list itself untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ol calls

CrewAI's Gemini client failed every run that followed an OpenBot tool, and
dropped images:

- A tool result now carries the name of the tool it answers, taken from the
  matching tool call; Gemini refuses an empty function_response name.
- Image parts become Gemini's inlineData / fileData parts, the only image
  parts CrewAI's Gemini client reads.
- A replayed tool call carries Google's documented placeholder thought
  signature, since AG-UI has nowhere to keep the real one between runs.

All three apply to Google only: a strict OpenAI-compatible server refuses a
name on a tool message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#2558)

Pressing Stop while a Bot ran a command left its line saying "Running a
command" after the Bot had stopped. The server runs the command in the
Bot's run, and its answer reaches the page in that run's stream, which the
Stop closes. The line read "running" from the call having no answer,
whether or not its turn was still going. Opened again, the runtime's own
answer for the stopped step ({ status: "stopped" }) read as a command that
didn't run.

A command with no answer is now running only while its turn is. Once the
turn is over, or with the runtime's stopped answer, its line reads "Run a
command, interrupted" and its card "Not completed", the words a Claude
Code command left by a stopped turn already uses. In a folded run of steps
its row reads "Run a command" with "Not completed". This is the page's
reading of the conversation, so built-in and connected AG-UI Bots get the
same.

Tests: the real conversation in Chromium and WebKit, light and dark, wide
and on a phone: a command under way, Stop pressed, the line no longer
running, and the same after the conversation is opened again with the
runtime's answer and with none (fails before). A folded run's row reads
not completed rather than running or didn't work (fails before).
* fix: keep Home and settings selects usable at zoom

* test: allow for browser contention in Theme menu checks

* test: stabilize wheel scrolling in the zoomed Theme menu

* Keep Home's field full size and running to the top at zoom

With CopilotKit#2498 the field's canvas fills the pane, so the hard top edge this branch set out to fix is gone on main at every zoom. The shader's fit-to-room radius and edge fade then shrank the orb in OpenBot Desktop's smallest window at 100% and drew nothing at 200%, and faded the glow out before the top. Drop them and keep the canvas-coordinate fix. A browser test shoots the strip along the window's top, with and without the field, at 150% and 200%, light and dark, in Chromium and WebKit.

Also a changelog line for the Theme menu.

* Theme menu: flip first, then slide into view only when neither side fits

side: "shift" turned off flipping, so with the Theme row near the bottom of an ordinary window the menu slid up over its own trigger instead of opening above it, as it does on main. sticky keeps Base UI's flip and adds the shift along the side axis after it, so the menu opens above or below as before and only slides over the trigger when neither side has room for all three choices. A browser test pins the menu opening above the trigger near the window's bottom.

---------

Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
…2519)

* Draw a picture a Bot makes as a card in the conversation

A generate_image call now draws a card of its own, built like the card a
sent file draws: the same border, fill and corners, the same lightbox and
the same Download button.

While the picture is being made, the card is already there at the shape
the Bot asked for, painted in frame first, with the prompt and "Making the
image". When the answer comes, the picture fades in inside the same box,
with what was asked for, the model and the size, and Download saving it
under its stored name. On a person's first picture, when other image
models are available, one quiet line names them and says they can ask for
one by name.

When no picture was made, the card says why in plain words: the provider
wanting the organization verified (with a link to do it), an image limit
used up (with when it resets, in the person's own time, and the plan's
page), a refusal, a failure, no image model, an unknown model, a picture
too large to keep. A call whose turn ended without an answer says it
stopped instead of making forever.

The card is drawn from the stored answer alone, so a reload and a task's
thread show the same card. The picture's name in the Bot's words
downloads it, as a sent file's does.

shared/generate-image.ts is the tool's contract as the contract change
defines it, carried here until that change lands.

* Run the picture card's browser test with the other Chromium files in CI

* Keep the picture card to the app's corner steps, and allow its one timed paint-in wait

* Serve the app's own font to the picture card's browser test
…y for (CopilotKit#2534)

Adds removeBotKey (POST .../bots/{botId}/remove-key), so an existing Bot's key can be set, replaced (updateBot's auth) and removed. Documents the BOT_KEY_REFUSED code a run ends with when a Bot's address refuses it with 401 or 403. Adds the move note bot-key-not-brought, with the Bots it is about by id, for a Bot whose key couldn't come across in a move.
… is set

OpenBot Desktop now answers that it cannot fill from 1Password unless the
environment variable OPENBOT_DESKTOP_ONEPASSWORD is 1 or true when it starts.
While it is off the sign-in form does not offer the fill, every fill and picker
command refuses, the 1Password helper is never started, and the menus carry no
1Password item. The variable is read in one place, once per launch.

The docs say how to turn it on for an app opened from Finder:
launchctl setenv OPENBOT_DESKTOP_ONEPASSWORD 1, then reopen the app.
…CopilotKit#2557)

The window confirmed every consent when it was back in front, including apps OpenBot signs the person in to itself, which its own sign-in page records before the person is back; that confirm asks the broker and was refused with a 400 after every one of those sign-ins. It now confirms only apps from the directory, and still reads every list again.
…r it (CopilotKit#2556)

A conversation moved from another OpenBot carries the cards of tasks that stayed behind. Each card asked for its task on every mount, retried, and asked again on every work event, and read Working for ever. A task's own not-found is now an answer: asked once, never read again, and its card, needs-you frame and thread link draw nothing, while the Bot's own words stay.
…New Bot (CopilotKit#2517)

* Creating a Bot can name its default model, as changing one can

* The model picker offers Connect more providers to whoever can connect one

* New Bot can choose the Bot's default model

* Who may connect a provider is asked when the picker opens, and the New Bot sheet offers no way out of itself

* A Bot's default saves the model's own thinking level as the model's default, as a conversation's does

* Tab from the model search reaches Connect more providers

* Skins test: a centred OpenDuet page title sits 1px further right in Figtree

---------

Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
…otKit#2515)

* Back off and stay quiet when the server says too many requests

The server now answers 429 with a sentence and Retry-After when one person asks too much of it at
once. The app read that as a failure: every refused read drew "Couldn't load" in red, and a polling
read asked again on its own interval however often it was refused, which kept the person over the
limit.

Web app:
- A read refused 429 is retried quietly by the query client: one with something to show keeps it,
  one loading for the first time keeps loading. Each try waits the Retry-After, doubled for each
  refusal in a row, up to a minute, with a little spread. A polling read's interval waits the same
  way and goes back to normal once answered. A first load still refused after 30 seconds fails with
  the 429, which every screen draws as the calm sentence, and is asked again after each wait.
- A write refused 429 says the server's sentence, drawn calmly, and is not sent again by itself.
- A run the runtime refused 429 says the server's sentence calmly, as a 503 hold is said, instead
  of reading as a rule that refused the person for good.
- Learning's review keeps its "may be out of date" line while its read is retried.

Desktop:
- A 429 on a token refresh no longer ends the sign-in; the refresh waits for Retry-After.
- A 429 to the folder-access poll or hand-back no longer ends approved folders, and the next poll
  waits for Retry-After.
- Connecting to an OpenBot over its limit says it is busy, never that there is no OpenBot there.
- The local status watcher reads a 429 as an answer and waits Retry-After before asking again.

* Wait for the page to be still, not a fixed time, in the chat's 429 browser test
The five chart colours were grays of slate: the first was 1.5:1 on a light
card and the last nearly black on a dark one, so every chart read as gray
and some series could hardly be seen.

They are now OpenBot's own hues, in an order that keeps neighbours apart:
the brand blue, warning's amber, success's teal, destructive's rose and
the sidebar's violet. Each is set separately for light and dark, at least
3:1 against the card in its mode, and the five stay apart for protan,
deutan and tritan colour vision. A test holds all three, and fails on the
old values.
…opilotKit#2568)

A Bot's generate_image step was drawn as "Generate image" wherever its card is not registered (inside a subtask, a run with no browser). It now reads like OpenBot's other tools, in words chosen for it, and says what was tried when it is blocked or doesn't work.
…measured (CopilotKit#2566)

* Count a connection from Desktop's first screen, and the engine setup measured

Signing in to OpenBot Cloud from Desktop's first screen sent nothing,
and connecting to a company's OpenBot sent only that its screen was
viewed. Both now send oss.desktop.openbot_connect, with sign_in's
outcomes: the window says started when the person presses Sign in or
Connect, and failed or cancelled with how long it took, from the one
hook both ways share. The desktop says completed itself, since the
window has gone to OpenBot by the time connect_to_openbot answers; the
window hands it the screen and the time since the press. The screen
(cloud or connect_openbot) and the outcome are closed enums; the
address, its host and the sentence about what went wrong are never
sent. Opening again with the sign-in the computer already has sends
nothing, and a sign-in left behind when the screen goes says nothing
when it ends. The first screen also shows on a later launch, for a
sign-in that ended or a choice made again from Settings, and is counted
there too.

A connection never sends activated, so quitting after signing in to
OpenBot Cloud was counted as setup_abandoned. A completed connection
now ends the setup session the way activated does, without being
activated; a quit after only started, or after failed, still counts.

What the Account step's check measured of the engine was sent only
inside setup_failed, for an engine too small. The desktop now sends it
as oss.desktop.engine_measured, with the same closed Resources, once a
launch and again only when the engine's CPUs or memory change, or the
installation is new. A connection to an OpenBot elsewhere runs no
engine here and never sends it.

Both go through the closed schema and the same opt-out as every other
Desktop event. The window may send openbot_connect's started, failed
and cancelled, and neither completed nor engine_measured. Also fixes a
doubled word in BusinessOpened's doc comment.

* Prove Connect reads the screen and the wait by the names the window sends

A completed openbot_connect is counted from the screen and waitedMs the first screen hands connect_to_openbot. Under any other name they would be dropped and nothing counted, with no error anywhere, so a test through the command's IPC now pins the names: a closed screen and a number are taken, anything else is refused as it arrives. TELEMETRY.md's setup_abandoned paragraph now says a completed connection ends setup too.

---------

Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
* Show a conversation at once when it is opened again

Keep what each conversation showed in memory, and draw it while its
history is read again. Switching back to a conversation no longer
shows an empty transcript and then every message sliding in.

* Keep nothing past a sign-out, and no turn still going

Two things the kept conversations got wrong, found in review:

- The conversation open at sign-out was kept anyway. Signing out empties
  the store, then goes to the sign-in screen, and that is what closes the
  conversation, which then kept itself into the emptied store. Switching
  organization went the same way. A conversation now keeps only into the
  store it opened in (`transcriptEra`).
- A conversation left while its Bot was working was kept part way through
  the turn. Opened again, its command read "Run a command, interrupted"
  for over a second while it was still running, because nothing runs on
  that screen until the join catches up. A conversation closed while a
  turn is going is now not kept, and loads as before.

Tests: the conversation open while everything kept is let go is not drawn
from memory (channel-history-refresh, fails before). A real browser test,
Chromium and WebKit, light and dark: back to a conversation, built-in Bot
and connected AG-UI Bot, its messages are on screen before the history
read answers and a message added on another device comes in after it;
signed out and back, nothing is drawn before the read (fails before); a
command running on another device reads as running in every frame after
coming back, never interrupted (fails before). Added to CI's real-browser
list.

---------

Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
…n and OpenBot Desktop (CopilotKit#2206)

Every icon in the web app, the extension and OpenBot Desktop now comes from Hugeicons' free set, through the icons module (app/src/components/icons) and Desktop's own icons file, in place of Tabler.
…opilotKit#2555)

Notification settings gain routing.appAccessRequest, the channels an admin is told on when someone in the organization asks for access to an app or a request moves to a different step: all (the default until they choose) or a list of push, email, slack, teams and sms. The settings answer also lists appAccessRequestChannels, the ways this deployment can tell an admin, each only once it is set up where OpenBot runs. Additive: a new required response property, an optional request property, and new schemas.
main is moving to a merge queue, which builds each queued pull request on top of main and the
pull requests ahead of it and merges it once `verify` passes there. CI now runs on `merge_group`,
so the queue gets its `verify`; without it every queued pull request would wait until the queue's
timeout removed it.

A merge group runs everything, as main does (scripts/ci-changes.ts plans a pull request only).
The API's breaking-change checks, which ran on pull requests alone, also run on a merge group,
against the main it is built on, so pull requests merged together are checked as one change. A
merge group never writes the image build cache, as a pull request never does: its ref is gone
once it merges.

A test holds ci.yml to the merge_group trigger.
…s refused 429 (CopilotKit#2571)

A save whose refresh was refused 429 kept its button on Saving… until the refused read was answered; the query client's refetchQueries now lets go of a read once it is refused 429, and the read retries quietly. A conversation's history read treated a 429 as unavailable history; it now waits the Retry-After (doubled per refusal, up to a minute) and reads again, keeping what is shown. Real-browser tests in Chromium and WebKit.
On the first Home of a visit, typing / opened the skills menu at the
bottom right of the page, partly off the screen, instead of on the box
as a conversation's composer does.

prompt-area draws the menu position: fixed at the caret's place in the
window. Home's rise-in animates transform and filter and was filled
both ways, so it kept applying after it ended. An element with a
transform or filter animation applied is the frame fixed elements
inside it are placed in, so the menu moved as far from the caret as the
box is from the window's corner. Filling the rise backwards lets it go
once it ends; its last frame is the element's own look, so nothing else
changes.

The Home browser test now opens the / menu on a first visit, in a
normal window and in OpenBot Desktop's smallest, light and then dark in
the same page, and checks that it is wholly inside the window, drawn on
top, at the box's left edge and touching the box. One page per window
and engine: more first-visit Homes at once made CI's Linux WebKit crash
its renderer more often.
… the notice (CopilotKit#2560)

* Tell an admin when someone asks for an app, and open the request from the notice

Settings, Notifications gains Requests for apps for an admin of an organization: one switch per way OpenBot can tell them (the server's appAccessRequestChannels), every way on until they choose, saved as routing.appAccessRequest and read back. Members and the personal edition don't see it.

Admin, Apps takes ?request=<id>, the link every notice carries: the request's row is scrolled to, filled as a muted row is, and focused. One no longer waiting says so in one line.

The Admin sidebar counts waiting requests on Apps, as Settings counts Setup. A watcher around every page polls the requests while OpenBot is open and, while it is out of sight, raises one notice for each new request someone else filed, through showNotice so OpenBot Desktop shows it too, with the server's web push tag. Only when the admin's route for requests is all or includes push, and notifications are allowed.

* Mark a notice's request with the row fill alone, and check the screens in a browser

The request a notice opens is focused only by arriving, so the keyboard ring drawn round it read as a second, louder highlight. Its fill is now the full muted fill, which shows in the dark theme too.

admin-request-notify-layout.test.tsx loads Settings, Notifications and Admin, Apps opened from a notice in a real browser (OPENBOT_APP_BROWSER=1, Chromium and WebKit, light and dark, desktop and phone widths): the requests row fits, the request is marked, focused and on screen, and a request no longer waiting says so.

* Announce a waiting request again when it moves to a different step

A request that moved to another step under the same id (the app added, so turning it on for a Bot became giving it to the Bot) was told again by email and web push, but the open tab raised no notice: the watcher only announced ids it had not seen. It now remembers each request at its step (what it asks for, for which Bot, and which actions in any order) and announces once more when the step changes, under the same tag so the new notice replaces the old. Asking again with only a new note or urgency stays silent.
…e Bot's agent refuses (CopilotKit#2559)

* Bot key screens: set, replace and remove an existing Bot's key, and the way to it

A Bot connected to its own agent had no way to be given its key once it was made, so after a move
to OpenBot Cloud every message failed with a 401 and nothing on screen led to a fix.

- Setup's Connection section gets a Key row under Agent URL: a summary of whether a key is set,
  never the key, and for whoever manages the Bot a chevron to its own screen
  (/bots/$agentId/setup/key). There the New Bot sheet's Key field adds or replaces it through
  updateBot's write-only auth, and Remove (removeBotKey, a new mutation factory) says beside its
  button what removing does. Any Bot at an address of its own, whatever runs it.
- Setup's text rows (Name, Title, What it does, Instructions, Agent URL) move from dialogs to a
  screen each (/bots/$agentId/setup/$field), keeping each field's label, checks and save rules.
- A run that ends in a RUN_ERROR coded BOT_KEY_REFUSED keeps the code with the failure, live and
  when the history is replayed after a reload, and under the stopped turn links to the Bot's key
  for whoever manages it.
- On OpenBot Cloud, a slim bar beside the apps-to-reconnect bar names the Bots a move couldn't
  bring a key for (the bot-key-not-brought note), each a link to its key, until each has one or
  is gone.

* Keep the way to a Bot's key when the run fails again after its RUN_ERROR

In the real product the runtime's client fails a run after the server's RUN_ERROR, in the same
words. For a turn still counted here that second failure was said again without the RUN_ERROR's
code, so a BOT_KEY_REFUSED turn ended with the sentence and no link to the Bot's key. A run whose
RUN_ERROR already said why is no longer said twice, and the same failure said again without a
code keeps the code it was first said with.

* Bound a long Setup field so Save stays in reach

What it does and Instructions take 5000 characters. On their own screen the field grew with its
text and pushed Save, and a refusal under it, several screens down. It now grows up to a bound and
scrolls inside, as the dialog it replaced did.

* Sort the icon imports in the Setup and key screens after the move to the app's icon set
…ng (CopilotKit#2577)

While a generate_image call's arguments stream, the card is drawn from
whatever has arrived. Half a word of the shape ("squ"), a shape it doesn't
know, or a prompt that isn't text threw on every chunk ("is not
iterable"), and the transcript logged "a component failed to render
generate_image" until the arguments were whole.

The card now takes only what is already whole and of the right kind: a
prompt only when it is text, and a shape only when it is one of square,
portrait or landscape. Until then it is square. The card itself also falls
back to square for a shape it doesn't know.

The card's tests draw it from half an aspect, an unknown aspect, no
arguments yet, arguments that aren't an object, a list and a prompt that
isn't text, through the app's transcript, and check nothing failed. The
browser test streams a call's arguments a piece at a time and checks the
card stays square until "portrait" is whole, then takes its shape. Every
page in that test now checks that the browser's console logged no card
failing to draw.
…a stray run in the picked-model test (CopilotKit#2578)

* Count only the current page's requests in the picked-model test

The test file's server is shared by all its tests, and its trail of
routings, starts, saves and runs was one list, cleared when a test
opened its page. The page the previous test closed could still have its
first message's run on the way: it landed after the clear, and the next
test's "nothing is saved yet" check saw a stray "run". It failed the
WebKit job on main and on pull requests, after the Chromium test before
it.

Each page now sends its own id in a header with every request, and the
server writes each step to the trail of the page that asked for it, so a
test reads only its own page's.

* End Home's rise at blur(0), which WebKit on Linux crashed on at none

The WebKit job lost Home's tests to renderer crashes: first-message-
thinking's home tests and home-holds-still's first visit, the tests that
show Home with motion on. The web process died with a null pointer in
its compositor thread (ThreadedCompositor in libWPEWebKit), at the same
address every time, while it painted the layers during Home's rise. The
retries did not save it when it crashed three times in a row.

The rise animates opacity, a transform and a blur from blur(4px) to
none. Run eight at a time, first-message-thinking crashed WebKit two to
four times a round on main, and still did with the orb's WebGL field
off. Without the rise it never did, nor without its transform, nor
without its blur, nor with the blur ended at blur(0). So the
blur now ends at blur(0), which draws the same, and the rise fills
backwards only, so nothing of it stays on the page once it is over, as
with none.

A test reads the stylesheet's animations and fails on any that takes a
filter to none.
…s long answer to the end (CopilotKit#2580)

A Bot is given read_result_part, which reads the next part of an app's answer that was too long to show at once (found on OpenBot Cloud: a Bot asked to sum up a meeting never saw most of its transcript, because every answer was cut at 20,000 characters with no way to read the rest). The tool's name lives in shared, with its words for a step line, so the transcript names it as it names every other tool OpenBot offers. The changelog says what changes for a deployment.
…pilotKit#2583)

In a conversation at 400px the offer's sentence read one word to a line, in
Chromium and WebKit. The row wraps, but ItemContent starts from nothing
(flex-1), so Not now and Enable notifications stayed on the sentence's line
whenever they fitted beside its longest word. Figtree's narrower labels (CopilotKit#2489)
made them fit at 400px; in Inter they wrapped under the sentence there. The
sentence now claims 192px first, so the buttons go under it on a phone as they
did, and sit beside it on a wide screen as before.

The offers' browser test now loads Figtree, as the app does, runs at 400px too,
and checks the conversation's sentence keeps half the row and never wraps to
one word a line.
github.com's release downloads answered some runs HTTP 618 today, and the API spec job's
oasdiff download failed at once: curl's plain --retry counts only a few status codes as transient,
and the oasdiff download had no retry at all. It failed two of main's merge groups and a run on
main. In the merge queue a failed run removes every pull request in its group, so a download
that fails once costs the whole group its place.

Both downloads from github.com in ci.yml (oasdiff, and Compose v2.24.5) now retry five times on
any error. The checksum check after each is unchanged. A test holds every github.com download in
ci.yml to it.
davidmckayv and others added 30 commits December 2, 2026 21:27
…ilotKit#2844)

v1.2.8 joins fromVersions and its last migration, 0211_schedule_runs_schedule_created_index, joins database.from. database.to is 0215_windows_computer_machines, the newest migration on the server's main. requiresDowntime stays false and rollbackCompatible stays false, with restore-backup recovery.
* Model picker: Auto, Simplified and All models

An Auto switch tops the picker. On, OpenBot picks: the conversation follows the default model, the
popup collapses to the switch, and the composer's button says "Auto" alone. Off, two ways to choose
unfold under it, All models and Simplified, which this browser remembers.

Simplified, the default, is a slider of four sizes, Small to Extra large, on one provider, drawn
like ChatGPT's thinking slider. lib/models/sizes.ts sorts each provider's models into lines by the
words in their ids (haiku < sonnet < opus < fable, luna < terra < sol < astra, hydrogen < carbon <
argon, and the words any maker uses), takes the newest of each line, and spreads the sizes over
them with the effort rising. A model whose id says nothing about its size stays in All models.

All models is the picker as it was, its button now naming the model and effort beside the maker's
mark. The existing picker tests are pinned to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Model picker: an Extra small size, and no two sizes alike

Simplified's slider has five sizes, Extra small to Extra large. Extra small is the smallest line at
the least thinking it takes; Small shares that line and thinks one step harder. No two sizes run the
same model at the same effort: a size that would repeat the one before thinks one step harder, or,
where that would repeat the next, isn't offered, so a provider can have fewer stops (xAI has four,
with no Small). That also fixes Large and Extra large landing on one model at one effort, where the
slider could never rest on Extra large. Switching provider keeps the size, or takes the nearest one
offered there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin the starter tour's picker tests to All models

They pick a model from the full list, which is All models now that Simplified is the default, as
the other picker tests are pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Sort the picker-mode imports where they were added

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Model picker: Auto follows a Bot's default whole, and only in a conversation

Auto picked the default's model alone, at the model's own effort and on
the default connection. With a Bot whose default thinks High, turning
Auto on saved the model at its own effort as a pick of its own, so the
conversation stopped following the Bot's default. With a Bot whose default
is on another connection, Auto was never offered. The picker now takes
the Bot's default whole (defaultPick) and Auto picks exactly that, which
is saved as no pick.

A Bot's own default (Setup, and the New Bot sheet) offers no Auto: there
"Use OpenBot's default" is how a Bot follows the default, and Auto saved
a fixed model under a switch saying OpenBot picks. With Auto on in the
composer, choosing a model for a Bot opened collapsed to that switch.

* Popover: pass collisionPadding through to the positioner

The combobox already lets a popup keep a gutter from the window's edge;
the popover didn't, so a popover on a phone could only sit Base UI's 5px
from the edge. Left out, Base UI's default stands, so nothing else moves.

* Model picker: keep every mode's popup over the message box

Each popup lined up with the trigger's far end. Once the trigger named its
model, a picker on the left of the compact composer (a conversation, a new
conversation) opened out past the box's left side on a wide window, by
285px in All models. The popup now lines up with the end of the row the
trigger sits nearer, measured as it opens.

Simplified and Auto's popover also keeps the page's 16px gutter on a phone,
as the list does, where it sat 5px from the edge.

The phone layout test now draws each mode at either end of the row, in
light and dark, at 390 and 1440.

* Model sizes: rank xAI's models from its price list

xAI's model ids say nothing of their size, so its slider was Grok 4.7 alone at its four efforts.
KNOWN_TIERS ranks the models whose ids don't, from the maker's price list: on docs.x.ai on
2026-12-02, Grok 4.3 and 4.20 at $1.25 / $2.50 per million tokens, and 4.5, 4.6 and 4.7 at $2 / $6.
xAI now has five sizes, Grok 4.3 for Extra small (no thinking) and Small, Grok 4.7 for the rest;
4.5 and 4.6, older releases at 4.7's price, are never a smaller size. A pick made in All models on
a model no size runs reads as the size nearest in rank and then in effort: Grok 4.6 at High reads
as Large.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
…opilotKit#2849)

A conversation with a long table in an earlier answer scrolled on past its
newest turn through screens of empty space, every time it was opened (Atai's
daily briefing on OpenBot Desktop).

A long table scrolls in a 300px box of its own, and a Docs, Sheets or Slides
link carries its type for a screen reader in an absolutely positioned sr-only
span. The box was not positioned, so the spans in the rows it cut off belonged
to the message bubble, outside the box and the bubble's overflow-hidden, and
the conversation scrolled to reach the last of them: the table's whole height
below its end.

The table's scroller, and the fullscreen table's, are now relative. Nothing
changes visually.

A browser test opens a routine conversation with long tables of document
links, in Chromium and WebKit, light and dark, at 1440 and 390, and checks it
ends at its newest turn, the table still scrolls in its own box, and every link
still says its type. It failed by 1,809px and 4,929px before.
Co-authored-by: davidmckayv <1574202+davidmckayv@users.noreply.github.com>
* fix(app): the conversation's loading shapes can be seen

While a conversation loads, its transcript is drawn as a message bubble
and eight lines. They were painted at 40% of `muted`, a shade off the
page, and the pulse halves that again, so the page looked empty while it
loaded. They're now `foreground/10`, the shade a progress track uses, in
light and in dark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(app): the loading shapes at a middle shade, foreground/6

`foreground/10` read too dark next to the transcript it stands in for.
At 6% the bubble and lines are clearly there, in light and in dark,
and still visible at the pulse's faintest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): Artifacts is a section on the strip, not a row in Conversations

Artifacts was the one row in the Conversations panel that wasn't a
conversation, sitting above Pinned. It's now a destination of its own in
the shared navigation list, so it sits on the strip under Chats (and in
every skin that draws the list). Its page takes the width, as Routines'
does, and the Conversations panel holds conversations only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(app): Artifacts sits low on the strip, just above Apps

Artifacts moves from right under Chats to the bottom of the sections,
above Apps: Bots and the every-Bot pages come first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(app): the command palette lists Artifacts among its pages

Artifacts is a page in the shared navigation list now, so ⌘K lists it
too, between Skills and Apps as the strip does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
On Your apps and Browse apps, Add custom MCP moves from the search row
to the end of the tab row, beside Your apps and Browse apps. Where the
page draws no tabs, the search row keeps it, so it's never missing for
somebody who may add one.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…pilotKit#2857)

The bar beside the open section was drawn by each section on its own, so
opening another one moved it instantly. Now there is one bar, which
travels: a shared-layout move on a critically damped spring
(`SLIDE_SPRING`: bounce 0, visual duration 0.25s). It's the same short
glide whatever the distance, with no overshoot and no bounce on arrival.
Where less motion is asked for, it moves at once, as before.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…otKit#2860)

Copy on the person's own message moves from beside the bubble's last
line to under the bubble, at its right edge, as ChatGPT and Claude put
it. It still shows on hover (and on focus). Its row is kept whether or
not it shows, so nothing moves when the pointer comes and goes; the
reply under a message of the person's sits that much lower.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Bot orbs: the designers' eight, drawn in code, and a routine tile in a Bot's colors

A Bot's orb is an SVG drawn from its seed: the designers' colors as a soft mesh on a sphere, their
four silk folds over 40px (turned up to 7° per Bot, the starters' untilted), a shade at the foot, a
shine, a frosted rim and a faint edge. The palette is picked as before (orbIndex), so every Bot
keeps its palette, in the designers' shades. An idle or waiting orb stands still at every size; a
working one breathes and its folds drift, in CSS, and nothing moves with less motion asked for.
BotOrb, a Bot in onboarding's pictures and the OpenBot for Business field draw it. OpenBot's own
orb (AgentOrb) is unchanged.

RoutineTile: a 16px glyph on a 32px field in the Bot's colors, the designers' "Gradients/*" as CSS
radial gradients; near black on every field, at least 3:1. No screen draws it yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bot orbs: one list for the eight, a breath inside the box, folds that stay still

From the review of CopilotKit#2492:
- The eight palettes live in one list, ORB_PALETTES in orb-palette.ts (name, nine colors, fold
  shade). The orb and Home's field both read it; Home's field takes the nearest of the orbs' own
  colors to the ones it had, so it looks as it did. ORB_MESH is gone.
- The routine tile goes to the Routines pull request, which raises the change to rule 7 first.
- A working orb breathes inward (to 96.6%), so it never draws past its box; its edge line is just
  inside and the svg clips to its box. The halo test steps a working orb through a whole breath.
- Its folds no longer drift: moving them inside the SVG redrew every blur on every frame, and a page
  of 48 working orbs at 80px fell to 12 fps. With the breath alone it holds 120.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* The phone draws a Bot's orb from the web app's new palettes, so a Bot is the same color on both

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guido Vizoso <guido.vizoso9@gmail.com>
…bar and an offer to take control (CopilotKit#2870)

* feat(app): a Bot's browser is a window over the app, Record in its toolbar

The Bot's full-size screen was a card holding the browser, with a side
column for whose it is, Take control and a long Record panel. Now the
browser itself is the window over the dimmed app:

- its tabs' row starts with the Bot's name and ends with Close;
- its toolbar ends with Record and Take control (Hand back);
- a line under the toolbar says who has control, and while the Bot has
  it, that clicking, typing and scrolling need control;
- Record is the person's own browser's control (`RecordingBar`): one
  button, and a popover to name a teaching session, narrate or not,
  and start; the toolbar then holds its name, time and Stop, and a line
  says what Stop saved;
- the address bar says "Take control to type an address" while it is
  read-only.

Leaving (Close, Escape, or a click on the app around the window) closes
at once, unless the person holds control: then it asks whether to hand
it back, keep it, or stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bot screen: touching the browser without control offers to take it

While the Bot drives, a press anywhere on its browser (page, address bar,
back/forward, a tab, +) or the wheel turned over it asks "Take control?"
instead of doing nothing. Close, Record and Take control sit above the
layer that catches the press and keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Look guard: computer-view.tsx no longer breaks two of its old rules

The window replaced the card's dark close button and one of its corner
steps, so the allowlist comes down to what the file still has.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bot screen: Record always offers narration, with the wheel or without

The switch only keeps the person's choice; their microphone opens only
while their own recording runs, which takes the wheel. So it shows
whenever Record's popover does, and can be set before taking control.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bot's browser window: its name, tab, + and Close on one line, its edges with the rows under it

The Bot's name, + and Close were centred on the tabs' row and lifted by a padding under them, while the
tab sits on the row's floor: each sat 3 to 5px above the tab's label. They now share the tab's band.
The avatar starts where the line under the toolbar does, and Close ends where Take control and Hand back
do. A real-browser test measures all of it.

* A browser window comes to rest at its size, measured to the fraction of a pixel

The window's height was read with offsetHeight, rounded to whole pixels, while its page is rarely a whole
number of pixels tall. The bars worked out from it were off by up to half a pixel, differently at each
width, and in WebKit the Bot's browser could flip between two widths a pixel apart and never settle
(1034 and 1035 wide in a 1100 by 800 window). Its size is now read from its computed style.

* The sharp-screen test waits for the narrower window to rest before checking the size it was told

The window comes to its new size over more than one layout, and the computer can be told a size on
the way. Waited for with a pixel's leeway, the exact check after it could catch one of those sizes
under CI's load. It now waits for the page to be still, then for the size to the pixel.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guido Vizoso <guido.vizoso9@gmail.com>
…pilotKit#2488)

* Onboarding: the new window, and videos of what OpenBot does

From lg up, onboarding's steps sit in one window on a dark edge, as Figma's
Onboarding_it2 draws them: the words on the sidebar's colour on the left, the
picture on the page's on the right, two rounded panes meeting in a notch. The edge
is the scheme's darkest ink in either mode (light-dark of the foreground and the
primary's foreground). Buttons are pills; Extra vigilant is a card on the pane.

Welcome and OpenBot for Business play the design's videos (OnboardingSlides), an
exception to docs/design-system.md's animation-in-code rule for onboarding only.
The dots and the caption follow the scene on screen; a missing Bot computer's
scene is jumped over; reduced motion holds the first frame; in dark the video is
drawn inverted with its hues turned back. The name step keeps its code orb, which
plays its finish before the app opens, with the question Home opens on under it.

The code-drawn demos, the Book a demo picture and the clock they ran on are
removed, with their tests; the colour-scheme and look-guard lists drop them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bot orbs: the designers' eight, drawn in code, and a routine tile in a Bot's colors

A Bot's orb is an SVG drawn from its seed: the designers' colors as a soft mesh on a sphere, their
four silk folds over 40px (turned up to 7° per Bot, the starters' untilted), a shade at the foot, a
shine, a frosted rim and a faint edge. The palette is picked as before (orbIndex), so every Bot
keeps its palette, in the designers' shades. An idle or waiting orb stands still at every size; a
working one breathes and its folds drift, in CSS, and nothing moves with less motion asked for.
BotOrb, a Bot in onboarding's pictures and the OpenBot for Business field draw it. OpenBot's own
orb (AgentOrb) is unchanged.

RoutineTile: a 16px glyph on a 32px field in the Bot's colors, the designers' "Gradients/*" as CSS
radial gradients; near black on every field, at least 3:1. No screen draws it yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Onboarding reels: closer to the videos, and never larger than their frame

- Chips in the tokens nearest the videos' blue and mint (chart-1/20, chart-3/15).
- Welcome: the request's orb slows, winds back and swells three times after Send,
  turning as the video turns it; it sits over the middle of the message box. Each
  Bot's card and the pointer give under the click that starts it.
- Business: the orbs sit where the video has them and turn at its speeds; the
  teams' orb swells as each run reaches it; the cloud's orb turns, in the video's
  colors; the two places swell in turn at 4.3s; the faces stack, each over the last;
  the clouds' pills hold their mark and name in the middle.
- The big orbs float with the look's shadow.
- A reel is drawn no larger than its 856×876 frame: a wider pane centres it.
- The reels' browser tests get the time other browser tests have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Onboarding: the app's own frame and panel, and no decoration of its own

- From lg up the window is the app's frame (sidebar) with the picture on the
  page's panel (background, rounded-lg), inset as every screen's panel is, in place
  of a dark edge painted in text colors.
- No soft spots behind the picture: Home's orb stays the app's one decoration.
- Buttons keep the button's own corner on wide screens; pills stay on a phone.
- Extra vigilant is the outlined row it was, not a card drawn by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* CI runs onboarding's reels test in the real-browser job, as every browser test file now must be

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guido Vizoso <guido.vizoso9@gmail.com>
…r and copy (CopilotKit#2805)

* Emil Kowalski's design-engineering skills in .claude/skills, for motion and UI polish

* The command menu opens and closes without an entrance or a backdrop fade, as a shortcut should

* The typing dots stop bouncing and pulse instead when less motion is asked for

* An attachment arrives from 0.95, not 0.85, and its neighbours stop sliding when less motion is asked for

* The transcript rail's marks grow with scale rather than width, so hovering down the rail lays nothing out

* A decision's badge blurs 2px while its words cross, so the swap reads as one badge changing

* Switching conversations shows the new name at once; it eases in only when it arrives after the conversation opened

* An idle orb breathes with a transform string, which runs off the main thread on motion 13, rather than motion's scale shorthand

* The new Bot's check badge springs from 0.6 with a 0.3 bounce, not from nothing with 0.5, and the sheet's steps ease on the shared strong ease-out

* Sign-in takes its ease-out from lib/motion instead of declaring its own copy

* The step dots in the intro reel and the browser lesson name what they transition, and stand still when less motion is asked for

* Paul Bakaus's impeccable skill in .claude/skills, installed with the skills CLI, for design audits and polish

* The typing dots rise and brighten as one soft wave rather than bouncing, and only brighten when less motion is asked for

* A table's full-screen view takes focus, keeps Tab inside and hands focus back; its Copy and Download menus say when they are open, close on Escape and show focus

* The SSO email field is named Work email and a Bot's visibility select is named Visibility, for screen readers

* A decision's options, Other included, show a focus ring when reached by keyboard

* Show all toggles say whether they are open, and the computer panel's Activity heading follows the page's h1 as an h2

* A sheet's cells are reachable from the keyboard: one Tab stop, and the arrow keys move the chosen cell and focus with it

* While presenting, the slide sits outside the Next slide button, so a screen reader reads it; a click on it still moves on

* A page title with no spaces, such as a site's address, wraps instead of pushing the page sideways, and so does a long email in People

* Ticks on the success green are drawn in the background colour, which reads in dark mode where white on the light green did not

* On touch screens an inactive tab's close button stays visible instead of taking taps unseen, and an attachment's remove button gets a larger hit area and a focus ring

* Pictures in a conversation load as they scroll into view, and the terminal's code loads with the first terminal, not with every conversation

* Jakub Krehel's better-* and interface-review skills in .claude/skills, installed with the skills CLI, for interface reviews

* Full-screen sign-in pages grow and scroll instead of centring their top out of reach at high zoom

* The conversation header keeps its buttons beside the name and truncates the name instead of wrapping

* On a phone the model picker puts the efforts under the models, so model names keep the width

* Card footers wrap their buttons, and a member reads the whole organization name instead of a truncated one

* An answered decision's check is neutral, so a Denied answer no longer shows a green check, and the empty radio is visible

* The open conversation in the sidebar is drawn as the selected row, and the row's time and pin are readable

* Waiting for you is the warning color in Routines and the Bots list, not sky blue or the unread dot

* Diff removals and the hang-up button draw with the destructive token instead of Tailwind's red

* Home's holding-off notice is muted, not error red, and a generated image's prompt is clamped and readable

* Headings balance their lines, figures in a reply's table line up, and the conversation name shows in full on hover

* Cards in a conversation keep their hairline edge in dark, parts inside a card are a muted fill, and floating panels use the popover look

* Clickable cards hover and show the open one with a muted fill, keeping the ring for focus

* Attachment tiles in the message box have smaller corners than the box around them, and a solid muted fill

* Errors on Home, artifacts, settings and company sign-in say what to do next

* A Bot's page offers New conversation, a call returns to the conversation, and a step that used several apps says apps

* Voice call and dictation errors say what happened in plain words and what to do, without Please

* A page that fails says it couldn't be shown, a card that fails says it couldn't show this, and search and empty lists say what to do

* Long names, emails, addresses and messages wrap instead of being cut off, counts keep their width, and the Routines switch reads On or Paused before it

* Paused routines and goals, withdrawn models and a step's detail read in the muted color instead of faded, and the Record button's dot is no longer Tailwind red

* The Windows computer's full-screen panel floats as a popover, Needs you groups and the Apps loading tiles are cards, and picked model rows and the attachment remove badge use solid fills

* Sign-in choices, question options, a what-if result and the stopped notice keep one color in light and dark, and the sidebar's small text and avatar use the scale's own sizes

* Your account, OpenBot Desktop's memory line and a conversation's voice calls say what failed in plain words and what to do next

* A search that finds nothing says to clear it, and empty lists of memories, rules, destinations and recorded commands say how something gets there

* Apps are called apps instead of connectors, skills are lowercase mid-sentence, the Recorder's note reads as three short sentences, and the routine switch says Turn on

* The release under the sidebar's avatar is drawn at the small text size and still reads whole within the strip

* Sign out in the account menu is a plain menu item, not drawn in the destructive color

* The admin's skills on the Skills page are listed under Organization skills

* Empty lists of memories, rules and destinations say how they fill up without repeating the button's name

* Biome skips the impeccable skill's bundled scripts and font data, which come from upstream as they are

* Pictures in a conversation load with it again, so a long one opened at its newest message doesn't jump when a picture above loads
…rapping (CopilotKit#2806)

* The sidebar lands at once when ⌘B toggles it, and eases in-out rather than linearly when clicked

* Tooltips wait before the first one opens, then their neighbours open at once without replaying the zoom

* Menus, selects and popovers open on a strong ease-out over 150ms, not the browser's plain ease over 100ms

* When less motion is asked for, popups, dialogs and sheets keep their fade without the zoom or slide, and skeletons stop pulsing

* A pressed button scales to 0.97 on a strong ease-out, rather than nudging down a pixel

* No transition-all in tabs or progress, the jump-to-latest button leaves on ease-out, toasts move in 400ms

* A focused tab panel shows a ring, and the combobox's chevron is named Show options

* A row's content can shrink, so a long word or email in an Item wraps or truncates instead of widening the row

* Dialog footers wrap their buttons, dialog and sheet titles balance their lines, and the combobox's chips field has a field's corners
…dits (CopilotKit#1932)

* Desktop: sign in with Cloudflare to use AI Gateway models on the account's credits

OpenBot Desktop's AI screen, and Settings inside Desktop, gain a Cloudflare
row. Signing in is an authorization code with PKCE against the dashboard;
model calls then go through the chosen account's AI Gateway and are billed to
its credits. The build carries OpenBot's own OAuth client ID, which is public,
and OPENBOT_CLOUDFLARE_MODEL_OAUTH_CLIENT_ID replaces it at build or run time.

The API's AiConnectionProvider gains cloudflare, which takes oauth.

desktop/PROVIDER_OAUTH.md says how to set up the OAuth client.

* Desktop: the Cloudflare sign-in outlasts stray connections, and says less of what the address bar held

Review of the sign-in:

- A connection to the callback port that says nothing, sends half a request or
  closes early is not the browser's answer, and no longer ends the sign-in. Nor
  does a tab that closed before reading the reply, once the code is in hand.
- A declined consent gets its own sentence. Any other error from the address
  bar is cut to a code's own characters before it is shown.
- The dashboard and API address overrides are read in a debug build only.
- Three sentences the person sees no longer name the OAuth client.
- api/accepted-breaking-changes.md no longer accepts cloudflare in signIns:
  that list has its own closed enum on main, which this change leaves alone.

* Desktop, App, API: offer Cloudflare's sign-in only where the OpenBot says it serves it

OpenBot Desktop can be newer than the OpenBot it started. Signed in to
Cloudflare on one that does not serve the sign-in, every model call would be
refused.

The deployment answer gains desktopSignIns: the model providers whose Desktop
sign-in this OpenBot serves. Settings inside Desktop offers Cloudflare's row
only where it is named. The setup window asks the OpenBot the installation is
running; on a first setup nothing runs, so the row is left out there, and an
installation already signed in to Cloudflare keeps it. xAI's sign-in is not
held to the list, so nothing changes on an OpenBot from before it.
* Words for four audit events: an approval waiting, an approval not carried out, a question answered or put down

The server records four more outcomes on the audit trail:

- approval.requested: a request opened and waiting on the person.
- approval.not_carried_out: an action the person allowed that was then
  not carried out (refused when it came to run, refused on its re-check,
  outcome unknown after a restart, tries run out, or its conversation
  left).
- agent.question_answered and agent.question_dismissed: what came of a
  question a Bot put to its person.

Activity names each in words, labels its outcome, and counts
approval.not_carried_out under "Did not happen".

* Activity: a Bot's task actions, a file it couldn't send, its subtasks, and where a hop's chain began

A Bot starting, telling and stopping a task thread, a file it pulled from its
computer and never sent, and a subtask that started and never finished now have
rows on the trail. Activity says each in words with how it ended:

- Start a task, Tell a task more, Stop a task, with the task's title.
- Send a file: Not sent (drawn as blocked) or Couldn't send it (did not
  happen), with the sentence the person was told.
- Start a subtask and Do a subtask: Started, Finished, Handed back to the
  conversation, or Didn't finish (did not happen) with why.

A hop's row now carries what started its chain (`payload.origin`), so a hop a
routine, a goal or a memory source started reads "Handed on by Notes, started
by a routine" in Started by.

Tested by app/tests/audit-bot-work-rows.test.tsx, and in Chromium and WebKit,
light and dark, wide and on a phone, by app/tests/audit-bot-work-layout.test.tsx.

* Activity: words for what a computer and OpenBot do by themselves

Five new rows reach the trail: a connection a Bot's computer refused by its
network rules, a command a person typed into the Bot's terminal while in
control, a broken computer OpenBot replaced, records a computer could not keep,
and old activity the retention policy deleted. Each gets its words on Activity,
says what came of it and why, and the network refusal is a refusal (in the
Blocked view); records lost are drawn as did-not-happen.

* Activity says how the call was made, and never reads an unrecorded start as a person

Audit events gain credentialKind and credentialId: whether a person's sign-in, an API key or one of OpenBot's apps made the call, and which key or app. Activity shows "with an API key" or "in OpenBot Desktop" after who started a row, the CSV export adds both as its last two columns, and the search box finds rows by them.

initiatorKind gains unknown (nothing recorded what started it, shown as Not recorded) and directory (a company's directory, by SCIM), each in the Started by filter. Words for the new events: API keys created and deleted, OpenBot apps let in, turned down, signed in and signed out, sessions ended, ways to sign in added and removed, identity providers changed, and a person's groups changed by the directory.

* A card to confirm what a Bot wants to remember, and memory on Activity

A fact a Bot saves on its own, or reads in from a connected app, now waits
for the person before any Bot is given it. The conversation draws a card for
remember_personal_fact and save_observed_memory: the fact, who wants to keep
it, and Confirm or Don't keep, one press each through the Memory page's own
routes. The card shows the memory as it is now, read from the person's
memory, so a conversation opened again shows what became of it: waiting,
kept, saved because they asked, or not kept.

Every change to a person's memory is on the trail now (memory.remembered,
confirmed, declined, updated, forgotten, imported). Activity names each in
words, draws a refused ask as refused and a failed read as not happened, and
shows the refusal's sentence.

Tests: the card's states and its two presses, its layout in Chromium and
WebKit at the narrowest column, and the outcome of each memory row.

* Activity: a change that failed, or whose end is unknown, says so

A change's row now says how it came out when it did not simply happen:
`outcome: "failed"` with why, or `outcome: "unknown"` when OpenBot started
it and could not confirm how it ended. Activity drew those rows by their
type alone, so a stop that never stopped read "A person pressed stop" in the
colour of a change that went through.

Such a row now reads "Did not happen" or "Outcome unknown", in the colour of
a change that did not happen, with the reason under it. Rows that went
through are drawn as before. The CSV export already carries the payload.

Tests: the rows as the page draws them, and the same page in Chromium and
WebKit, light and dark, wide and on a phone.

* Activity: a Bot's refused task actions

A Bot's delegate, follow_up or stop that was refused before anything happened
(one answer's cap on new tasks, a task nobody could find, the person's words
fitting another task, a task already over) now has a row. Activity draws it as
Start a task, Tell a task more or Stop a task, Refused in the refusal colour,
with the sentence the Bot was told, and names the task by its title or, where
none was found, by what the Bot called it. The three join the Blocked view.

* Architecture: only reviewed memories reach a Bot

* Say why on an approval waiting and on an allowed action not done, and check the four rows in a browser

Seen in a real browser: the waiting row and the Not done row gave no reason, where a withdrawn request says why. Both now show the reason in a person's words, as a withdrawal does (Not done reads "It started, but OpenBot can't tell whether it finished.").

audit-approval-trace-layout.test.tsx draws Activity with the four new rows beside existing ones, in light and dark, at 1440 and 390 pixels: no event type shown raw, Not done never reads Allowed, and nothing scrolls sideways. Added to the browser job.

* Run the memory card's layout test in the real-browser job

* Activity words for account deletion, moves, Team Bots, conversations and link codes

Activity and Audit gain words for the rows that now record what a person
does with their data and access: an account deletion refused, started and
finished; a move exported or imported, and one that failed; a Team Bot
published, unpublished, assigned, unassigned, and a person's answer to one
asking to use their account; a conversation started, renamed, a person
added or removed, its model chosen; a staged file withdrawn; a person
driving a Bot's browser; a Slack or Teams link code that linked nobody;
and a folder OpenBot Desktop handed back after a restart.

A refused deletion and a refused link code are drawn as Blocked, with the
reason in words. A failed export or import is drawn as Did not happen.

* Format the reasons a deletion or link code is turned away

* Activity: say why a task action was refused in words for people

A refused task action's row now keeps a reason code (cap_reached, no_match,
several_match, already_over, missing_brief and the rest), never the sentence
the Bot was told, which is written for the model ("Call again with the
taskId..."). Activity says each code in plain words from TASK_REFUSAL_WORDS
("The Bot had already started as many tasks as one reply can.", "No task in
this conversation matched."), and shows nothing for a code it has no words
for, never the code itself.

* Release note goes in the description, not CHANGELOG.md

* Filter the trail by how the call was signed in

The audit list and export take credentialKind (session, api-key, app-token), the filters Ask the trail answers with carry it, and Activity has a Signed in with filter.

* Activity: Did not happen also finds changes that failed

A change that failed keeps its own event type (a stop that did not stop
is still computer.stopped, with outcome failed), so the Did not happen
view, which asks by type, never showed it.

The audit-events list and export take a new optional changeOutcome
parameter: failed, unknown, or both. With eventType, an event matches
either; every other filter still applies, and leaving it out changes
nothing. The Did not happen view and the Did not happen outcome chip ask
for failed,unknown as well as their types.

Test: the view and the chip ask the server for both, and Blocked does not.

* Regenerate the API bundle after the fuse

* Upgrade policy: the database goes to 0217_audit_intents

* Activity: a held remember waits, a task reads by its name, and Not done reads once

Three rows the G1 end-to-end run found in words a person should never read:

- A memory a Bot formed, or an app's read brought in, that waits for the person read "Allowed". It now reads "Waiting for a person", as an approval still to be answered does.

- A refused "Tell a task more" that named its task by id showed the raw id. A task reads by its title, or by what the Bot called it, and never by an id.

- An allowed action that was not carried out read "Not done", then "Not done: This Bot has not been given the tool field-notes/save_field_note." The line under it now says why once, in plain words, with no stored action name.

Test: app/tests/audit-copy-rows.test.ts (5 of 7 fail before, 7 pass after).

* The memory card says a refused remember in plain words

A remember the server refused showed "Not saved." followed by the sentence the Bot was told, such as "Invalid memory arguments." or a validator's message. The card now says what happened and what to do: "This memory wasn't saved. Ask the Bot again if you want it kept."

Test: memory-card, "a remember that was refused says so in plain words, never the sentence the Bot was told" (red before).
…ver (CopilotKit#2872)

The browser's type for a file is whatever the computer registered for its
extension. A .pdb protein structure is chemical/x-pdb on Linux, and a Windows
machine with chemistry software names .mol and .cif too, though each is plain
text. The composer refused any type that named a format OpenBot doesn't take,
so those files never reached the server, which reads the bytes and takes text
as text.

Only images are refused by name now (an SVG, a HEIC), as the server refuses
them. Every other type goes to the server, held to the largest limit, and a
file that isn't text (a .zip, an old .doc) is refused there by its bytes.
… wait out a 429 (CopilotKit#2881)

* Mobile push: tests that hold registration to once per organization, one at a time, and waiting out a 429

The stand-in for expo-notifications now does what 58.1 does on a phone: asking for the Expo push token without a device token asks the phone for one, and the phone tells every push token listener the token it gave, changed or not. Against the code before the fix these fail: hundreds of registrations in 300ms where there should be two.

Also: signing in refused as too many says it couldn't reach OpenBot, and a refresh refused as too many keeps the refresh token.

* Mobile push: stop the token listener registering in a loop, one registration at a time, and wait out a 429

Asking expo-notifications for the Expo push token without a device token asks the phone for one, and the phone then tells every push token listener. The listener asked again, so it told itself again: build 7 sent about 10,000 device registrations a minute until the rate limit blocked the phone.

The listener now registers with the token it is handed and never asks the phone for one. A token already registered registers nothing. One registration runs at a time, and whatever asks during it makes one more after it, with the newest token. Refused as too many, the phone waits out Retry-After, or a wait that doubles from 30 seconds, before it tries again.

Sign-in refused as too many now says it couldn't reach OpenBot, not that OpenBot needs updating, and a refresh refused as too many no longer ends the sign-in.
… web (CopilotKit#2886)

eas update --platform all bundled web too, because react-dom makes Expo count web as one of the
app's platforms, and the web bundle fails on @radix-ui/react-dialog, which
react-native-true-sheet imports only on web. Listing platforms in app.config.ts would change the
runtime version (the fingerprint hashes the resolved config, platforms included), so the update
would reach none of the installed apps. The workflow and the README now publish one platform at a
time.
…tKit#2873)

A connected Bot that works on its own machine had no way to hand the
person a file: computer_send_file reads a path on the Bot's OpenBot
computer, and is offered only with that computer. The Bot said it had no
file-attachment channel and told the person to pick the file up from a
path on its machine.

send_file carries the file's name and contents (text, or base64), and
every Bot holds it on every run. The server answers it, checks the bytes
as it checks an upload, and answers in the shape computer_send_file does,
so the conversation draws the same file card, live and after a reload.
This adds the shared name, description and prompt lines, the tool's
words, and the card's renderer.
…2884)

* Disconnect on the page of an app OpenBot signs you in to

On OpenBot Desktop, Fireflies.ai (added as its own MCP server, which
signs each person in) read "Connected" under "Your account" with nothing
to press. Google Sheets, from the directory, has Disconnect on the same
row. The only control on the page was the app's switch, which turns it
off for every Bot, so a person couldn't take their own account back.

The app's page draws two account rows: one for directory apps, with
Disconnect, and one for apps OpenBot signs the person in to itself (a
server added by its address that signs people in, and catalogue apps
such as Notion), which had none. That second row now has the same
Disconnect, in the same place, in both editions. It makes the write the
person's own Connections page already makes (disconnectApp), and the
row goes back to Connect. Where the app couldn't be asked to end the
access, the row says where to finish it, as that page does. A sign-in
the vendor withdrew offers Disconnect beside Reconnect.

The server already ends this kind of connection; no API change.

* Run the Disconnect layout test in the real-browser jobs
…r left on the refusal (CopilotKit#2883)

Connected through the relay, the window's page load could come without the run's cookie, and the
relay answered its refusal, a white page with no script that says only "This relay is for the
OpenBot window." Show Window (the Dock, the tray, a second launch) took any address on the relay's
origin to be showing OpenBot already, the refusal included, so opening the window again left it
there; only a quit, which starts a new relay and enters it, got the person back. Reported on
1.2.0-rc.5 connected to OpenBot Cloud.

The relay now keeps the path of a page load it refused until the window enters again or a page load
passes, and writes every refusal to the log with why (method and path only, never the secret). A
page load in the window that ends on that refusal goes back through the entry at the same page by
itself (at most once in 5 seconds and three times a minute), and opening the window again does the
same every time. A request of the page's own that comes without the cookie (Sec-Fetch-Site:
same-origin) tells the shell, which sends the window through the entry at the page it shows.

Nothing else changes about what the relay accepts: another site's page and another program are
still refused and never reach OpenBot.
…#2887)

Bots are told to call the person "you", and nothing told them who the person was. Summarising a meeting the person had been in, a Bot wrote about them by name, in the third person.

personGuidance(name, email) says who they are, to say "you" where a document, meeting or message clearly involves them, and to say who it takes them to be where it might be someone else with the same name. It goes to every Bot alike as the AG-UI context entry "OpenBot person" (PERSON_CONTEXT). The Mastra harness now puts that entry in front of its model, and the connected-agent docs describe it.
* A Bot can read a large attached file to its end

A large text file reached a Bot as its first 120,000 characters, with no way
to read the rest, and the composer warned the file "may be cut". The server
now offers every Bot a read_attachment tool that reads an attached file page
by page. This has its name, how the conversation draws it, and the warning.

- shared: the tool's name (read-attachment.ts), and its step words: "Reading
  an attached file" / "Read an attached file".
- The conversation draws a run of reads of one file as one row naming the
  file and how many parts, and the folded line counts it as one file read.
- API: deployment gains an optional attachmentsReadWhole. Where a server says
  true, the composer drops the "may be cut" warning, since the Bot reads the
  whole file. Absent, as from an older server, the warning stays as it was.

* A single read of an attached file names the file, with a file's icon

Found in the end-to-end run: a Bot that read only the end of a file made one read, drawn on a line of its own, and the line said "Read an attached file" with a wrench and no file. It now names the file the answer carries and draws a file, as the folded row does.
…ked to (CopilotKit#2889)

When OpenBot picks the Bot without the server (the router could not be
reached), the composer sent the message to the picked Bot, else the first
public Bot on the roster. The roster is listed oldest first, so a person
with Bots of their own and a history, in an organization whose oldest
public Bot was somebody else's, landed on a Bot they had never used.

It is now the Bot they last talked to (the roster's lastConversationAt),
else their own default (their copy of the picked Bot, or their own
General Assistant), else their first own Bot, and only then the
organization's picked Bot or a public one. A Bot chosen in To:, by a
link, a Bot's page or an @ is still the one. Home's starter suggestions
and the routine box use the same pick.
…opilotKit#2885)

* Every Bot reads a result in parts to its end before it summarizes it

A Bot asked about a 34-minute meeting got the transcript in three parts,
each ending with the exact call for the next, read part 1 and summarized
the meeting from it. It said only halfway down its reply that it had not
read the rest.

The working rules every Bot gets, built-in and connected alike, now say:
when a result says it was cut or is one part of several, read every part
before you summarize it or answer from it. If that can't be done, say what
was not read at the start of the reply, and don't present the answer as
complete.

* A Claude SDK Bot starts with the rule to read every part

The harness fixture is what the server sends a Claude Agent SDK Bot, rewritten from the server's own test; the harness test now checks the new rule reaches Claude Code.
… old

It is the version shared/model-lock.json records for agent-crewai. The harness suite and the live
tool round trips pass on it as they did on 1.15.47.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.