| Files | Last commit | Last update |
|---|---|---|
Add the opt-in OpenBot management agent (#1852) * Share the Kubernetes promotion steps between the promotion tool and the agent Lift quiesce, backup, apply, verify and the journal's phases and failure rules out of scripts/promote-kubernetes.ts into shared/kubernetes-promotion.ts. The promotion tool runs the same commands in the same order; only the backup and apply steps are its own. * Add the opt-in OpenBot management agent A long-running process for an install whose owner turns management on. It sends a heartbeat every minute over mutual TLS, moves the product to the version the management service asks for by pinning Flux to that release's exact chart digest, only inside the maintenance window and along the release policy's upgrade paths, with the promotion tool's quiesce, verified backup, verify and journal steps, and runs the signed restart, rollback, support-bundle, pause and resume commands. * Install the shared package's dependencies in the agent image build * Agent end-to-end test on a real cluster, and a writable HOME for kubectl * Keep the test's management service answering while the chart installs * Accept a published release's server whatever commit its image was built from A server reports the commit its image was built from on /release, while a release's manifest names the later commit that released it, so neither the promotion tool nor the agent could ever accept a real published release. The image digest the Deployment is pinned to already holds which bytes run; version, distribution, repository and channel are still compared. * Wait before trying a release again after its promotion was undone A failed backup undoes the quiescing, and the next heartbeat used to start the same promotion again, scaling the product down every minute. The agent now waits 30 minutes (or a restart) before trying that release again, and says so in its heartbeat. The end-to-end test fails the first backup on purpose and checks the product is put back and not quiesced again. * Back up with a role that bypasses row-level security in the end-to-end test | 4 days ago | |
Add TrustedRouter to the desktop model provider screen (#1901) A TrustedRouter row on Connect your AI and in Settings, between Unbiased AI and the custom endpoint. TrustedRouter is an OpenAI-compatible gateway in front of many providers with no sign-in, so the row asks only for an API key: OpenBot fills in https://api.trustedrouter.com/v1 and the model anthropic/claude-sonnet-5.5, which stays editable. The API takes provider trustedrouter with login endpoint, as it takes unbiased. In answers the provider is declared open (AiConnectionProviderAnswer, x-extensible-enum), so an app released before this one shows a provider it doesn't know by its id instead of failing. Requests still name one of the closed AiConnectionProvider list. | 9 hours ago | |
A Bot answers in words, never with only a reaction (#2059) In a conversation a Bot answers the person in words. Reactions are for how a proactive Bot gets in touch later, not for chat. The standing instructions for a Bot that hands work to tasks told it to react with an emoji, as its whole answer, to a message that needed only an acknowledgement, and a Bot answered a "Hello" that opened a conversation with only a reaction. Those instructions now name two ways to answer a turn, both in words: answer a short ask directly, or say in a line what it will do and hand the work to a task. A greeting, a thank-you or an "ok" is a short ask, answered in a few words and never with only an emoji. The line telling the Bot to react is gone. The react tool's name and the list of reactions stay exported, so a conversation still draws the reactions and calls it already has. | 10 hours ago | |
Answer in Markdown by default, fix how cards and charts draw (#1316) | 15 days ago | |
Require a token on every call from the server to a Bot (#52) * Require a token on every call from the server to a Bot * Generate the token this needs, and keep the Bot ports on loopback Two things the token boundary needs to be usable and to be worth having. `MANAGED_AGENT_TOKEN` is required and ships empty in `.env.example`, so a fresh clone doing `cp .env.example .env && bash scripts/start.sh` refused to start with "MANAGED_AGENT_TOKEN must be configured". That is step four of the quick start, and the first thing a stranger does. `start.sh` already supplies the two neighbouring secrets; this one is generated and written back to `.env` rather than defaulted to a fixed string, because a well-known token from a public repository is no boundary at all, and because the server and the Bot are separate processes that have to agree on it across restarts. The Bot ports were published on every interface, which this PR's own description names as the reason the hole mattered. `agent-computer` was already bound to loopback, so the two Bots were the exception rather than the rule. Binding them means somebody has to be on the machine before the token is even the thing standing in their way. Driven rather than reasoned about: from an empty token, the script generates 44 characters and writes one line back; the Bots then publish on 127.0.0.1 only, answer 401 with no token and with a wrong one, and 200 with the right one. * Give the image check the token the server now requires `MANAGED_AGENT_TOKEN` is required, so the container refuses to start without it and the check waited 150 seconds for an answer that was never coming. The job could not have been updated in the original commit: this branch predates the check, and the workflow that ran came from the merge commit rather than from here. Rebasing onto main brings it into view. Reproduced with the job's own command: answers on /api/capabilities in four seconds, nothing respawning after fifteen. --------- Co-authored-by: David McKay <davidmckayv@users.noreply.github.com> | 3 months ago | |
Require a token on every call from the server to a Bot (#52) * Require a token on every call from the server to a Bot * Generate the token this needs, and keep the Bot ports on loopback Two things the token boundary needs to be usable and to be worth having. `MANAGED_AGENT_TOKEN` is required and ships empty in `.env.example`, so a fresh clone doing `cp .env.example .env && bash scripts/start.sh` refused to start with "MANAGED_AGENT_TOKEN must be configured". That is step four of the quick start, and the first thing a stranger does. `start.sh` already supplies the two neighbouring secrets; this one is generated and written back to `.env` rather than defaulted to a fixed string, because a well-known token from a public repository is no boundary at all, and because the server and the Bot are separate processes that have to agree on it across restarts. The Bot ports were published on every interface, which this PR's own description names as the reason the hole mattered. `agent-computer` was already bound to loopback, so the two Bots were the exception rather than the rule. Binding them means somebody has to be on the machine before the token is even the thing standing in their way. Driven rather than reasoned about: from an empty token, the script generates 44 characters and writes one line back; the Bots then publish on 127.0.0.1 only, answer 401 with no token and with a wrong one, and 200 with the right one. * Give the image check the token the server now requires `MANAGED_AGENT_TOKEN` is required, so the container refuses to start without it and the check waited 150 seconds for an answer that was never coming. The job could not have been updated in the original commit: this branch predates the check, and the workflow that ran came from the merge commit rather than from here. Rebasing onto main brings it into view. Reproduced with the job's own command: answers on /api/capabilities in four seconds, nothing respawning after fifteen. --------- Co-authored-by: David McKay <davidmckayv@users.noreply.github.com> | 3 months ago | |
Check every app's version against what its OpenBot serves, and say Update OpenBot when it's too old (#1811) ## What this does Every OpenBot app now says who it is on every request, every OpenBot server says which API versions and which app releases it serves, and when an app is older than its OpenBot serves, the person reads one sentence instead of a confusing failure: **Update OpenBot**. When the minimum was raised for a security problem, the sentence is **This version of OpenBot has a security problem. Update to keep using it.** This is the first piece of OpenBot's API versioning, for the two places where OpenBot runs both sides or the server: OpenBot Desktop with its own OpenBot, and OpenBot Cloud, where people's apps lag the server. Desktop connected to a company's own OpenBot gets nothing new: the company rolls out both, and the existing "ask whoever runs it to update" sentence stays as it was. ## The contract (spec first, v2, additive) - `OpenBot-Client: <kind>/<version>` on every request, kind `web`, `desktop`, `mobile` or `recorder`. A header may name several, separated by spaces: OpenBot Desktop adds its own after its window page's (`web/1.1.0 desktop/1.1.0`). A program of your own sends nothing and is never refused for a version. - `getDeployment` gains `api` (the API versions served, `["v2"]`), `minimumClients` (the oldest release of each app served), `securityMinimumClients` (the part of those raised for a security problem, only when there is one), `launcherApi` and `extensionApi` (the numbers `release-policy.json` keeps). It is never refused for the app's version, so an app reads it first. - Every other `/api/v2` operation refuses an app below its minimum with 400 `application/problem+json`, code `CLIENT_UPDATE_REQUIRED`, with `client`, `minimumVersion`, `security: true` when the minimum is there for security, and a detail sentence. Not 426, which RFC 9110 keeps for protocol upgrades. - `shared/client-version.ts` holds the rules; `shared/fixtures/client-version/cases.json` holds deployment answers and what every app must decide from them. The web app, the Recorder, Desktop (a Rust port) and the phone app (a self-contained copy) each run every case. **The support window is 12 months.** A server serves every app released in the last 12 months, so a release builds in a minimum for an app only at a release published more than 12 months before it. Every OpenBot release is younger than that, so the built-in minimums are empty today, and apps from before this change send no header: nothing released is refused by it. A server's minimums are raised in one place, `OPENBOT_MINIMUM_CLIENTS` on the server (how OpenBot Cloud raises its own), and a minimum is never lowered. ## Each app - **Web app**: the header on the one fetch in `lib/client.ts` (so the generated client too), the CopilotKit provider, sign-in and the consent verifier. A gate at the root, before sign-in as well as after, reads `deployment` and any `CLIENT_UPDATE_REQUIRED` refusal, and replaces the app with the sign-in screen's own frame: "Update OpenBot" with Update (loads the new page), or inside the Desktop window, when the refusal names Desktop, its own Update and restart. A tab left open across an upgrade gets the sentence on its next request. - **OpenBot Desktop**: the header on every request the shell makes, and the relay adds it to the page's. With its own OpenBot, the shell reads that OpenBot's deployment before opening the window and shows "Update OpenBot" with Update and restart when the app is too old; a local OpenBot from an older release that still serves v2 opens exactly as before. Connected to OpenBot Cloud, the same check runs when the person connects and on every launch: "The OpenBot at {host} needs a newer version of this app. Update OpenBot, then connect again.", with Update and restart. - **Phone app**: the header (the OpenBot release it was built from, not Expo's own version) on every request and on sign-in, and a root gate with the update sentence. - **Recorder**: the header on every request, and a refusal now reaches the person as the update sentence on the popup, the Connect page and Connect with OpenBot Desktop, where before it read "OpenBot did not answer" or "This connect request has expired". ## Tests Each new test was seen failing before its change and passing after. - `shared/tests/client-version.test.ts`: release order, the header, every fixture case, the empty built-in minimum. - `app/tests/client-name-header.test.ts`, `app/tests/client-version-gate.test.tsx`: the header reaches a real local server; the app's real root, sign-in gate and screens against a local server answering the fixture's deployments and the spec's own refusals, the security one included. - Desktop: `client_version.rs` runs every fixture case; `connected/address.rs`, `relay.rs`, `sign_in.rs` and `main.rs` through the real HTTP path with the fake OpenBot; the window's React tests and layout test. - `mobile/tests/*`, `extension/tests/openbot-client.test.ts`, `connection.test.ts`, `recording.test.ts`. - Every existing suite still passes: app, extension, Desktop crate and window, root copy and boundary tests. ## End to end On the all-in-one cluster (two server replicas, the backend in the cluster, Keycloak sign-in), from images built from this branch: - **Nothing built in, nothing refused.** `deployment` answers `api: ["v2"]`, `minimumClients: {}`, `launcherApi: 1`, `extensionApi: 1`; `/api/capabilities` answers exactly its previous fields. Every app version (`desktop/0.0.1` to `desktop/1.1.0`, `web/1.0.0`, `mobile/0.1.0`, `recorder/1.0.0`), no header, `curl/8.7.1` and `desktop/main-ci` go on to sign-in as before. 17 of 17 checks. - **Matching versions unaffected.** The sign-in screen and home, light and dark, at 1440px and 390px, as before; every request the page makes to `/api` carries `OpenBot-Client: web/1.1.0` (27 of 27; the identity provider's redirect back is a navigation and carries no page header). - **Minimums raised, as Cloud raises its own** (`OPENBOT_MINIMUM_CLIENTS=web=1.1.0,desktop=1.2.0,mobile=1.2.0,recorder=1.2.0`): `deployment` publishes them; `desktop/1.1.0`, `mobile/1.1.0`, `recorder/1.1.0`, `web/1.0.0` and `web/1.1.0 desktop/1.1.0` are refused with 400 `application/problem+json`, `CLIENT_UPDATE_REQUIRED`, the app, its minimum and the sentence ("This OpenBot needs OpenBot Desktop 1.2.0 or later. Update OpenBot, then try again."); `desktop/1.2.0`, no header and `curl` go on. 24 of 24. - **A tab left open across an upgrade.** Four tabs (light and dark, desktop and phone width) signed in on release 1.1.0; the server rolled to a 1.2.0 build whose admin raised every app to 1.2.0. Moving around the app without reloading, each tab's next request was refused and the page showed "Update OpenBot" / "This page is from an older version of OpenBot." with Update, no sideways scroll; Update loaded the 1.2.0 page, which works and names itself `web/1.2.0`. 28 of 28. ## OpenBot Desktop on a Mac and on Windows The pass of record ran on the tested head 0fe5a14c2. The installers came from that head, with the server built from the same change, and every check passed on both: - An update over v1.1.0 opens OpenBot, and so does Quit and reopen. - With the minimum raised, Start shows Update OpenBot. A relaunch that finds OpenBot running shows the same screen, never "stopped". With the minimum removed, OpenBot opens again. - Connected to a real OpenBot for Business server: the sentence with no Connect when the minimum is raised, and the API-version refusal. Sign-in works when the minimum isn't raised. A relaunch after the minimum is raised says so, and opens again once it's removed. On the Mac, the last of these showed OpenBot's relay page instead of OpenBot. That's a separate, earlier fault in connected Desktop on macOS, with its own fix; the version check's part of the step passed. The merge head differs from the tested head only by #1826 (pinning the LangGraph harness's Python dependencies), which landed on main in between: ``` agent-langgraph-agui/requirements-test.txt | 1 - agent-langgraph-agui/requirements.txt | 16 ++++++++++++---- agent-langgraph-agui/tests/test_provider_boundaries.py | 10 +++++++--- 3 files changed, 19 insertions(+), 8 deletions(-) ``` | 5 days ago | |
Bots that finish: run budget and promise catch, one prompt for every Bot, tool calls that come back, rewritten shipped Bots (#1407) * Bots finish their runs: say when the last step has no tools, send a promise back to work, and give routines room and a checklist A built-in Bot's last step went to the model with tools switched off and nothing saying so, and a routine about twenty lookups deep ended "I'll fetch the rest now" with no call after it. - The last step now carries a one-turn message: tools are off, answer from what you have, then say what you did not get to and why. Chat keeps its eight steps. - A step that would end the run on a promise of work ("I'll...", "Let me...", "Fetching the rest now"), with no tool call and steps left, is asked again in the same step with a one-turn nudge. At most twice in a row, counted again after any tool call; never on the last step; a question to the person is never sent back. - Routine firings and check-ins get an unattended step budget: 24 steps, plus 4 per part of a multi-part routine, under a ceiling of 48. - A routine written as a list carries a checklist: the model is shown its parts numbered, and the run is sent back while any part is not closed as Done, Blocked (reason) or Skipped (reason). Every sentence the harness says to the model lives in shared/run-notices.ts. * Rewrite the instructions of every Bot OpenBot ships so they finish the job Every shipped Bot now says who it works for and why each rule exists, in plain sentences: take the step in the same reply, use what it already has before asking, ask only when a wrong guess is hard to undo or only the person knows, retry a failed call once, and deliver with what it could not confirm. - Personal Assistant: drops "ask when something is ambiguous" and "ask the person to sign in, and wait", which contradicted OpenBot's own sign-in rule. A desktop still on either earlier text word for word moves to the new one. - General Assistant and Knowledge: same habits within their jobs. - The ten catalog Bots: their rules lived in role_description, which a Bot that runs here is never given. The rules move into system_prompt, role_description becomes the one sentence people read, and "say so and stop" becomes retry once, then deliver with the gap named. No more capitals for emphasis. - bot-creator: tells the Bot writing a new Bot's instructions the same rules. A fast test reads every shipped Bot file and fails on capitals for emphasis, a sign-in asked for in words and waited on, or instructions over the 1,000 characters a Bot's form allows. * Say in the changelog what the shipped Bots now do differently * Give every Bot one sectioned prompt that works unattended, asks only when it must, and says what it could not confirm A cycle-planning routine on a built-in Bot never delivered: it fired every lookup at once, said "I'll fetch the rest now" without a call, re-searched for issues the Notion page already named, and stopped to ask its person to decide things. The prompt invited each of those. - Tagged sections in a fixed order for built-in and brought Bots alike: identity, role, the person's own instructions, how_to_work, asking, sources, answer_format, subagents, untrusted_content, apps, computer, learned_skills, run_mode, model_and_date, picked_skill. - A short "how to work" block for every Bot: what you have first, a few reads at a time and read every result, take the step in the same reply, retry once, deliver with the gaps named. - Routines and check-ins are told nobody is watching (run_mode); a routine also gets its report shape: result, "What I could not confirm" with reasons, questions, changes with links. Unattended runs ask for high effort where the model takes it and the person picked none. - Every asking cue is the same closed test: ask_person, the approval and choice cards, and the asking section, which replaces "the choice is theirs to make". The choice card is no longer named in the component rules. - Brought Bots (the Claude Agent SDK harness replaces Claude Code's own prompt with this) get the how-to-work block, the run mode and approval guidance scoped to the tools OpenBot gives them. - The computer guidance goes only to a run offered a computer tool. All-caps emphasis becomes a plain rule with its reason; "standing" now means one thing; precedence is said once; run_subagent's description matches the subagents section, cost first. * Set a nudged answer's words apart from the ones before it A step asked again shows the person both answers in one message; without a paragraph break the promise and what followed it ran together into one sentence. * Read the subagent's prompt by its sections * Run a Bot's app calls a few at a time, answer a repeated read once, and retry passing read failures A Bot that sends many lookups at once to an app meets the timeouts and 429s an app answers a burst with, and nothing stopped it re-asking for what it already held. Each run now has at most 5 app calls out at a time and queues the rest in order, so every call still gets its own answer. A read with the same tool and arguments as one already answered in the run gets that answer back, marked as already fetched; a write always goes to the app. A read that fails for a reason that passes (a timeout, a 429, a 5xx, or an app's error answer saying so) is tried twice more, half a second and a second and a half apart, before the Bot hears of it, inside the store so the grant, policy and approval are settled once and the trail records one outcome. A write is never retried. Every "not run" answer now speaks in one voice: what happened, then "Run it again if you still need it, or say in your answer that you could not get it." That covers the unanswered-call repair, the step skipped while the turn waited, the two withdrawn approvals and the no-answer close. * Never retry this deployment's own database errors, and keep a retried read's error as it was A query this database refused carried "statement timeout" and was taken for an app that might answer next time: it was tried three times and wrapped, which hid the statement-free reason the trail records. Only a thrown error's status, MCP timeout code or network code now counts as passing (words are read only on an app's own error answer), anything from our own database never does, and the error given back after the last try keeps its class and cause with a sentence added saying it was tried. * Give a run the unattended step budget whenever it is told it runs unattended The step budget read the initiator one way (routine-kind only) and the run-mode prompt another (routines, check-ins and goal runs), so a goal's run was told to finish on its own with chat's eight steps. Both now read the run mode. * Count a subagent's app calls in its run's five at a time A Bot that split a cycle plan between two subagents had nine lookups out at once, because each subagent was built with its own set of app calls. A subagent is now built inside its run's calls, so the run never has more than five out and a read one subagent made is answered for the other. * Read a routine's steps when they are numbered in one paragraph A Bot asked for a routine in a conversation saves it as one paragraph, "Steps: 1) read the cycle 2) read the page 3) match 4) rank", and the checklist only read steps written one per line, so a routine made that way ran with no parts to close. Steps counted 1, 2, 3 in running text are parts too; version numbers and numbers out of order are not. * Tell a brought Bot a multi-part routine's checklist A Claude Agent SDK Bot fired on a four-part routine was never told the parts it had to close, so its answer ended with no part closed. Its instructions now carry the same checklist a built-in Bot gets with the firing. In the instructions rather than on the firing, which the harness echoes back into the conversation. | 13 days ago | |
Run a Bot's browser actions in order, and draw an answer only after its reads come back (#1450) * Tell every Bot to batch only independent tool calls, and to draw a component only from results it has read Anthropic's parallel tool use guidance asks for this sentence in the system prompt: a model that calls tools in parallel by default put its charts and tables in the same step as the searches they were meant to show. Work in progress: the browser and headless enforcement follow on this branch. * Hold every step to Anthropic's parallel tool use pattern in the browser and on headless turns A built-in Bot's steps each get an assistant message of their own, so a step is something the conversation can be read for. A computer's actions in one step run in order and stop at the first failure, and a component asked for beside another kind of call is answered as drawn too early and left out of the transcript. Work in progress: browser tests follow. * Test the step rules in the browser through the real chat, gallery and computer tools A form's fields typed in one step reach the gate in order and stop at the first that fails; a chart and table asked for beside a search are answered as drawn too early and never shown, not even while they stream, nor when the conversation is opened again; an approval card asked for beside a search is not shown. The prompt test pins Anthropic's sentence. * Read the published components from the page's query cache, so a transcript draws without a query provider The Claude Agent SDK harness's instructions fixture takes the new working rule. * Say in the changelog that a Bot draws only from results it has read, and stops a form at the first failure | 13 days ago | |
Attach and send Word, Excel and PowerPoint files (#1804) People can now attach Word, Excel and PowerPoint files, and Bots can send them. Only the Office Open XML formats are taken: .docx, .xlsx and .pptx. The older binary formats (.doc, .xls, .ppt) and the macro-enabled ones (.docm, .xlsm, .pptm) are still refused. ## What changes - **One list.** `ACCEPTED_FILE_TYPES` in `shared/attachments.ts` gains three document rows: "Word document", "Excel workbook" and "PowerPoint presentation". Each row names the main part its package must declare in `[Content_Types].xml` (`mainPartType`). The server uses that to tell a real .xlsx from a renamed zip, a macro-enabled workbook, a template or a slide show. The same list drives: - the composer's file dialog, which now offers every type and every extension on the list; - the composer's size refusal, which names the kind (for example "too large for an Excel workbook"); - the card's kind label; - the Bot's send tool, its description and its refusal sentence. - **The list says what a new type needs.** There are four things: the row itself, the server recognising the type by its bytes, a way for the model to read it, and an icon for its card. The test beside the list pins today's set. - **Limits.** Office files are documents, so they get the document limit. That limit is 8 MB unless the server publishes a larger one. - **Cards that say what the file is.** - Every accepted type has an icon of its own in `FILE_TYPE_ICONS`, keyed by the list. A type added to the list without an icon does not compile. - The Bot's file card uses these icons. A Word file shows `IconFileTypeDocx`, an Excel file `IconFileTypeXls`, and a PowerPoint file `IconFileTypePpt`. - A file a person sent now shows its icon, its kind and size ("Excel workbook · 14 KB"), and a Download button, the same way the Bot's card does. A message that carries no type still shows "Attachment". - A long kind wraps to a second line instead of losing the size. The browser showed "PowerPoint presentation ·…" until this change. The line can break only before the kind's last word. - The composer's tile shows the file's icon from the moment the file is picked. - **API (descriptions only).** `AttachmentLimits.documentBytes` now says that it covers Word, Excel and PowerPoint files. `getAttachment` now says that every file except a picture is served as a download. Clients are regenerated. ## Tests Each test failed before the change and passes after it: - `shared/attachments.test.ts`: - the pinned set now includes the three Office types; - each Office type names its main part; - the legacy and macro-enabled types and main parts are not on the list; - the composer and the server name a document's kind the same way; - the Bot's description and refusal list the new types. - `app/src/components/channels/composer/picked-files.test.ts`: - all three types are accepted; - the file dialog offers them by type and by extension; - a file over the limit is refused as "too large for an Excel workbook"; - .doc, .xls and .xlsm are still refused and are not offered. - `app/tests/office-file-cards.test.tsx`: - each Office file a Bot sends reads as its kind, with its icon and a Download; - every type on the list has a name and an icon. - `app/tests/transcript-attachments.test.tsx`: a person's Office file draws with its kind, size, icon and Download, and a long kind's size is never cut off. The full app suite, the shared suite, typecheck, lint and format all pass locally. ## End to end This was checked in a real browser, in two setups: an install that keeps files in Postgres (the Desktop shape, with an 8 MB limit) and a cluster install with an object store (100 MB, three people). - A person attaches a .xlsx, a .docx and a .pptx. The composer shows each file's icon. - The Bot answers questions that only the files' contents answer. - The sent tiles show the kind and size, and each file downloads byte for byte as an attachment with its type. - A text file renamed .docx and an older Office file renamed .xlsx are refused in the composer with a plain sentence. - A Bot makes an .xlsx on its computer and sends it. Its card reads "Excel workbook". Another member of the conversation downloads the same bytes, and a person from another organization gets 404. - Every screen was shot in light and dark, on a desktop and on a phone. The test found that a long kind cut the size off a tile. That is fixed in the second commit. | 5 days ago | |
Attach and send Word, Excel and PowerPoint files (#1804) People can now attach Word, Excel and PowerPoint files, and Bots can send them. Only the Office Open XML formats are taken: .docx, .xlsx and .pptx. The older binary formats (.doc, .xls, .ppt) and the macro-enabled ones (.docm, .xlsm, .pptm) are still refused. ## What changes - **One list.** `ACCEPTED_FILE_TYPES` in `shared/attachments.ts` gains three document rows: "Word document", "Excel workbook" and "PowerPoint presentation". Each row names the main part its package must declare in `[Content_Types].xml` (`mainPartType`). The server uses that to tell a real .xlsx from a renamed zip, a macro-enabled workbook, a template or a slide show. The same list drives: - the composer's file dialog, which now offers every type and every extension on the list; - the composer's size refusal, which names the kind (for example "too large for an Excel workbook"); - the card's kind label; - the Bot's send tool, its description and its refusal sentence. - **The list says what a new type needs.** There are four things: the row itself, the server recognising the type by its bytes, a way for the model to read it, and an icon for its card. The test beside the list pins today's set. - **Limits.** Office files are documents, so they get the document limit. That limit is 8 MB unless the server publishes a larger one. - **Cards that say what the file is.** - Every accepted type has an icon of its own in `FILE_TYPE_ICONS`, keyed by the list. A type added to the list without an icon does not compile. - The Bot's file card uses these icons. A Word file shows `IconFileTypeDocx`, an Excel file `IconFileTypeXls`, and a PowerPoint file `IconFileTypePpt`. - A file a person sent now shows its icon, its kind and size ("Excel workbook · 14 KB"), and a Download button, the same way the Bot's card does. A message that carries no type still shows "Attachment". - A long kind wraps to a second line instead of losing the size. The browser showed "PowerPoint presentation ·…" until this change. The line can break only before the kind's last word. - The composer's tile shows the file's icon from the moment the file is picked. - **API (descriptions only).** `AttachmentLimits.documentBytes` now says that it covers Word, Excel and PowerPoint files. `getAttachment` now says that every file except a picture is served as a download. Clients are regenerated. ## Tests Each test failed before the change and passes after it: - `shared/attachments.test.ts`: - the pinned set now includes the three Office types; - each Office type names its main part; - the legacy and macro-enabled types and main parts are not on the list; - the composer and the server name a document's kind the same way; - the Bot's description and refusal list the new types. - `app/src/components/channels/composer/picked-files.test.ts`: - all three types are accepted; - the file dialog offers them by type and by extension; - a file over the limit is refused as "too large for an Excel workbook"; - .doc, .xls and .xlsm are still refused and are not offered. - `app/tests/office-file-cards.test.tsx`: - each Office file a Bot sends reads as its kind, with its icon and a Download; - every type on the list has a name and an icon. - `app/tests/transcript-attachments.test.tsx`: a person's Office file draws with its kind, size, icon and Download, and a long kind's size is never cut off. The full app suite, the shared suite, typecheck, lint and format all pass locally. ## End to end This was checked in a real browser, in two setups: an install that keeps files in Postgres (the Desktop shape, with an 8 MB limit) and a cluster install with an object store (100 MB, three people). - A person attaches a .xlsx, a .docx and a .pptx. The composer shows each file's icon. - The Bot answers questions that only the files' contents answer. - The sent tiles show the kind and size, and each file downloads byte for byte as an attachment with its type. - A text file renamed .docx and an older Office file renamed .xlsx are refused in the composer with a plain sentence. - A Bot makes an .xlsx on its computer and sends it. Its card reads "Excel workbook". Another member of the conversation downloads the same bytes, and a person from another organization gets 404. - Every screen was shot in light and dark, on a desktop and on a phone. The test found that a long kind cut the size off a tile. That is fixed in the second commit. | 5 days ago | |
Ask the audit trail a question in plain English, and filter it by app, tool, effect, action and rule (#1380) * Ask the audit trail a question in plain English, and filter it by app, tool, effect, action and rule An admin types a question on the Audit page, such as "every Gmail write by a routine last week", and the deployment's own model turns it into the trail's filters. The answer is the trail's own rows under those filters, shown as chips the admin can edit or remove, so nothing is summarised without rows behind it. A second call that sees only the filters, never the question, says in one line what they show. Filters are checked before anyone sees them: known event types, this deployment's Bots, people, apps, tools and rules, a real date range that has happened, and no two filters that ask for different kinds of row at once. Filters that fail go back to the model once with what was wrong, and are refused if they fail again. A question the trail can't answer, such as who an email went to, says so plainly, because tool arguments are left out of the trail on purpose. Every question is recorded as audit.asked with the filters it became. The trail gains filters it had no way to ask for: app (matched whichever broker carried it), tool and effect on app calls, the intent of a computer action, derived from its tool and key as the gateway derives it, and the boundary rule that refused it. They run in SQL over the payload, so they reach the whole trail and the CSV export carries them. Measured over 1.2 million rows they need no index of their own. The person filter now also finds the app calls made on that person's accounts, which name them only in the payload. The model is told each recent local midnight with its own UTC offset, so "last week" across a change of clocks starts at the admin's real midnight. * Put the Audit page's filters in one row, and read them back in the page's own words Admin's Audit page had two sets of filters: the chips and Add filter under the Ask box, and the Outcome, Bot and Started by buttons beside the search, so a Bot or an initiator could be set in two places that filtered two different things. The chips now sit beside the search with Refresh and Export CSV, wrapping when narrow, and Outcome, Bot and Started by are chips too, asked of the server. Outcome is asked by event type, as the Blocked and Did not happen views are. The Bot chip takes several Bots, and the server's bot filter takes them separated by commas. A Bot's Activity link arrives as its chip. The rows already shown stay while the next ones load, so the toolbar and an open chip menu are not redrawn on every tick. The personal edition's Activity keeps its buttons. A filter now names its rows in the Audit page's words: "Computer actions, blocked", not a single row's "Use the computer, blocked". The reading is given those words instead of the event type's stored name, and is no longer told to call the AI a Bot, which put a stray "Bot" in front of rows no Bot filter named. "What did the social media rule block today?" now reads "Computer actions, blocked by the rule "Social media", from 9 November 12:00 AM to 2:14 PM." The model names a boundary rule by its name, since it could not copy a long rule's text and the question was refused. * Say a range inside one day once in the audit reading Given an After and a Before on the same day, the reader wrote "from 9 November to 9 November". A range inside one local day now reaches it as that day, and a range ending at the next midnight as the whole day. | 14 days ago | |
Only an admin adds a server by its address (#2075) A server added by its address on Connections is added for everyone in the organization, so only an admin adds one, as every other way of adding an app. Connections offers Add server only to an admin and the personal edition's one person, and a member who opens the Add server address is told an admin adds it. The spec says so for createApp, says updateOrganizationSettings saves the settings sent all or none with context read-only, and lists the audit events for deleting an organization and for every change to its teams, which get words on Activity and Audit. | 6 hours ago | |
Record a task in a Bot's own browser: browser controls and the Recorder built in (#868) | 25 days ago | |
Ask for the app a request needs before searching the web, and when a not-found could be private (#1864) A Bot asked about content private to the person or their team in an app it holds no tools for, such as the team's own GitHub repositories, now shows that app's card before searching the web. A not-found on the web that could be theirs and private, such as a private repository's 404, gets the same card instead of "it may not exist", and so does the person saying something is private. Anything public, such as an open-source project's release or a dead public link, is still answered from the web with no card. A run nobody is watching, such as a routine, says which app needs connecting instead of showing a card. A Bot handing work to tasks passes an answer to a task's report, such as "it's private", to that task with follow_up instead of reacting, and briefs all of what the person asked for rather than only what seems public. The Claude Agent SDK fixture is regenerated to match. | 4 days ago | |
Ask for the app a request needs before searching the web, and when a not-found could be private (#1864) A Bot asked about content private to the person or their team in an app it holds no tools for, such as the team's own GitHub repositories, now shows that app's card before searching the web. A not-found on the web that could be theirs and private, such as a private repository's 404, gets the same card instead of "it may not exist", and so does the person saying something is private. Anything public, such as an open-source project's release or a dead public link, is still answered from the web with no card. A run nobody is watching, such as a routine, says which app needs connecting instead of showing a card. A Bot handing work to tasks passes an answer to a task's report, such as "it's private", to that task with follow_up instead of reacting, and briefs all of what the person asked for rather than only what seems public. The Claude Agent SDK fixture is regenerated to match. | 4 days ago | |
Add a personal edition for one person on one computer (#977) * Read OPENBOT_EDITION and refuse a personal edition without single-user mode and one computer * Fix capabilities and enterprise settings for the personal edition * Ask before acting by default in the personal edition * Close enterprise-only API routes in the personal edition * Share the plugin, skill, credential, computer and audit pages between Admin and Settings * Move what a person needs from Admin into Settings in the personal edition * Show the team edition's features instead of Admin in the personal edition * Settle React work before the personal edition tests take the document away * Add the personal tenant package with one Personal Assistant * Document and start the personal edition * Keep a person's own screens working and ignore team settings in the personal edition * Give every Bot an app's new read-only tools when it is connected in the personal edition * Make Connections the one place for apps in the personal edition * Make every app a tile you connect in one press on the personal edition's Connections * Keep Routines on for every Bot in the personal edition The server adds Routines at startup and gives every Bot all of its tools. A Bot made later gets them the first time it runs. Turning Routines off or taking its tools from a Bot is refused, and its page reads Always on. * Keep Routines on for every Bot in every edition The team edition now adds Routines at startup and gives every Bot its tools, as the personal edition does. Turning it off or taking its tools from a Bot is refused in both. Its page reads Always on and has no owner switch. * Call the personal edition's team entry OpenBot for Business, with OpenBot's logo The menu entry and its dialog say OpenBot for Business, and the entry uses the orb from the desktop app and extension as its icon. The entry is now as wide as the menu items beside it. * Lay out the OpenBot for Business dialog with an illustration beside the feature list The dialog is wider, with a placeholder for an illustration on the left and the title over a short bulleted list on the right. Each feature is now one short line. The placeholder is hidden on narrow screens. * Give every Bot every tool of a connected app in the personal edition Connecting an app is the whole decision for one person: every Bot gets all of its tools, including the ones that change things, and Ask before acting stays in front of each write. A Bot made later gets them the first time it runs. Taking an app from one Bot is refused. The app's page lists its tools without granting controls, and the per-tool and per-Bot pages open the app's page. * List only apps that connect in one press on the personal edition's Connections Apps that need a key or an OAuth client typed first wait behind a Show apps that need setup button, and a search finds them. Apps already in use always show. The server tells the app which catalogue entries connect in one step. Slack is left out, since the personal edition has no Slack. * Keep saved logins and keys on Connections in the personal edition Every way a Bot signs in to something is now on one page. Connections gets a Sign-ins and keys section, with saved logins at /connections/logins and keys at /connections/keys. Settings no longer lists Passwords or Credentials, and their old addresses open the new pages. * Open Skills and Memory from the Bots page instead of Capabilities in the personal edition The personal menu is now Bots, Connections and Settings. The Bots page gets a What your Bots know section linking to Skills and Memory. Each of those pages has its own title and a back button to Bots, instead of the Capabilities tabs. * Cut a Bot's settings to four rows in the personal edition Routines, Memory, What it can do and Setup. What it can do is the access page renamed, now also holding approval rules and goals. Reaching you is hidden, since personal has no Slack, Teams or text. The per-Bot app switches, Visibility and Isolated are hidden too: every Bot has every app, and there is one person and one computer. * Connect an app from the chat card in one press in the personal edition When a Bot needs an app that isn't on yet, the card in the conversation offers Connect. It turns the app on and opens the sign-in in a new tab on the same press; the tab is claimed on the click so browsers don't block it. An app with no account just turns on, and one that needs a key opens its page. The card and the model's message say the app isn't connected yet, not that an admin has to act. * Describe the simpler personal edition in its doc * Note the personal edition and always-on Routines in the changelog * Keep saved logins and keys under Settings in the personal edition, linked from Connections Settings lists Saved logins and Keys again, at /settings/passwords and /settings/credentials. Connections keeps its Sign-ins and keys section as a way in. The /connections/logins and /connections/keys pages, which never shipped, are gone. * Give the OpenBot for Business dialog a split layout with grouped features Wider, with OpenBot's mark over the illustration's place on the left and the features in three groups, each with an icon, on the right. * Say OpenBot for Business runs on prem, for a whole team * Add Talk to us to the OpenBot for Business dialog, opening openbot.co * Draw one OpenBot reaching a team's people and apps in the OpenBot for Business dialog * Animate the OpenBot for Business illustration: a floating orb over a drifting field of orbs Drawn in CSS, so it moves and loads nothing. The field drifts up one tile per loop so it never jumps, and every animation holds still under reduced motion. Replaces the static SVG. * Put a Bot's live orb in the OpenBot for Business dialog, over a field in every Bot colour, at 40/60 The big orb is the AgentOrb a conversation opens with, in the periwinkle palette. The field behind it has every Bot palette, shuffled over four rows. The dialog is a size wider, with the picture taking two fifths. * Open the sign-in after turning an app on, even when the button is swapped meanwhile Turning an app on refetches it, which swaps the personal edition's Connect for the ordinary one while the sign-in is still being asked for. The callbacks given to mutate() were dropped with the unmounted button, so the tab stayed blank. The tab is now held by AppAccessAction for every button it draws, and the connect answer is awaited rather than given callbacks. * Send Set it up for a keyless broker app to the broker, and drop team wording from the personal edition Set it up for a Composio or Arcade app with no key opened /connections/composio in the personal edition, which read as an app called composio. It now opens the broker's directory. Unfinished set-ups no longer say an admin has to act, and an app page that can't load says apps rather than plugins. * Show Routines as always on for each Bot, instead of a switch the server refuses The tool page and a Bot's page for an app still offered to take a Routines tool from one Bot, which now returns 403 every time. * Never refuse Routines under the MCP allowlist Routines is built in and given to every Bot in every edition, and it can't be removed. Held to an allowlist that didn't list it, every Bot was offered Routines tools refused on every call. * Record a later Bot's inherited apps as personal defaults, not always on Only Routines' grants are recorded as openbot:always-on now. Also drops the unused read flag on listed tools and corrects the comment that said only read-only tools are given. * Sort imports the rebase onto main left out of order * Make a Bot's tool steps readable: one scroll, folded results, no internal noise An expanded group of steps no longer scrolls inside its own box; each step's result sits in a soft box cut to a few lines with Show all, instead of a second scrollbar. OpenBot's own tools, such as tool search, no longer open to the query and limit they were given. A vendor that prefixes its tools with its name is named once: Fetch on Notion, not Notion fetch notion. * Keep a short tool label on one line beside a long detail "Asked you" broke over two lines beside a long question, because the label could still shrink a few pixels. A label of a few words no longer shrinks; the detail truncates instead. Long labels still wrap on a phone. * Let a Bot keep several check-ins, each on one thing A check-in can now watch one named thing (subject, source link), and a Bot can hold several. Migration 0075 drops the one-per-Bot unique index and adds the two columns. Accepting a check-in on something already watched turns that one back on rather than adding a second. New check-ins run daily unless the person picks more often. The Bot's check-ins list leads with what each one watches. * Let a Bot offer a check-in on what you just looked at together Every Bot holds offer_check_in. After it reads something that keeps changing, like a document or an inbox, it draws a card: Keep an eye on <subject>? with Turn on, Not now, and how often (daily by default). The tool writes nothing; Turn on creates the check-in as the person. The card says so when the Bot already watches it, and offers nothing where check-ins are turned off. * Stop switching check-ins on by themselves A Bot no longer turns on an hourly check-in on everything it can read the first time a person talks to it alone; it offers one in the conversation instead. Existing check-ins keep running. OPENBOT_PROACTIVE_DEFAULTS=true brings the old default back. * Split Needs you into what Bots wait on and what check-ins found, grouped by Bot Needs you now has two halves. Waiting on you holds questions, approvals and tasks, decided on their rows. From check-ins holds what check-ins found. Each half is grouped under the Bot it came from, opened by its orb and name, with what its check-ins watch. A find shows its source, a one-line detail that opens on click, Open <site>, Work on it, Dismiss, and a menu to stop the check-in that found it. The Bots badge counts only what a Bot is stopped on; finds alone show a dot. Bots stay in their own sections instead of moving under Needs you. * Draw every Needs you row in the mockup's shape One row component for questions, approvals, tasks and check-in finds: a 28px icon square (tinted when a Bot is stopped on you), a 14px title, a one-line 13px detail that opens on a click, a 12px meta line joined with dots, and the actions on the right. Questions answer from an Answer button rather than an open box; approvals show Deny and Allow on the right with Always allow here in a menu, and keep what they act on and would send whole and on screen. Every group opens with its Bot's orb and name, on a Bot's own page too, and waiting groups say how long they have waited. * Keep Needs you on the page's white cards, with solid fills Each Bot's group is the card PageRows draws: white on the off-white page, borderless in the dark, dividers short of the edges. The header is solid muted and a waiting row's icon a solid amber, instead of see-through fills. * Cut Needs you titles to a line, and answer questions in a dialog Every row's title is one line until the row is opened. Answer, or a click on a question, opens a dialog with the whole question, why the Bot stopped, and the box to answer in; it closes once the answer is sent. Approvals keep what they act on whole. * Let Mark done close a task its Bot is waiting on, and let a question be dismissed A task's status checked waiting-on-you before done, so a task with an open question could never be marked done: the press saved, and the task still read Needs input. What a task waited on before it was marked done no longer holds it open, as its earlier turns already don't, and marking it done puts its open question down. A question can also be dismissed on its own, unanswered: POST /api/approvals/questions/:id/dismiss, and a ✕ on its row. The Bot is not resumed. * Lay out the answer dialog as a reply Who asked and when on one line, the question itself as the heading with the Bot's reason under it, and one answer box with Send answer in its corner. ⌘↵ (Ctrl↵ elsewhere) sends; Escape or close puts it away. No generic description and no Cancel button. * Answer a question in an InputGroup The answer box is the shared InputGroup: InputGroupTextarea with a block-end InputGroupAddon holding the send shortcut and Send answer, instead of a hand-drawn border around a Textarea. * Draw the send shortcut as keys in the answer box * Answer a Bot's question in the conversation it was asked in * Attach the waiting question to the composer as a drawer, and widen the composer to the answers' column * Let a Bot ask several decisions at once, each with its options, answered one at a time * Answer a question of several decisions in the Questionnaire * Read the approval policy store as present in the edition defaults test The store's policy became optional on main, so the test's type check failed in CI. * Keep the apostrophe in the managed endpoint fallback out of the expansion * Accept a migration that drops and recreates an index of the same name * fix: serialize check-in creation and enforce per-Bot daily limits * fix: update OpenBot for Business modal copy * fix: widen check-in actions dropdown * fix: clarify personal Bot settings and Business links * fix: hide team visibility and approval concepts in personal mode | 19 days ago | |
Check every app's version against what its OpenBot serves, and say Update OpenBot when it's too old (#1811) ## What this does Every OpenBot app now says who it is on every request, every OpenBot server says which API versions and which app releases it serves, and when an app is older than its OpenBot serves, the person reads one sentence instead of a confusing failure: **Update OpenBot**. When the minimum was raised for a security problem, the sentence is **This version of OpenBot has a security problem. Update to keep using it.** This is the first piece of OpenBot's API versioning, for the two places where OpenBot runs both sides or the server: OpenBot Desktop with its own OpenBot, and OpenBot Cloud, where people's apps lag the server. Desktop connected to a company's own OpenBot gets nothing new: the company rolls out both, and the existing "ask whoever runs it to update" sentence stays as it was. ## The contract (spec first, v2, additive) - `OpenBot-Client: <kind>/<version>` on every request, kind `web`, `desktop`, `mobile` or `recorder`. A header may name several, separated by spaces: OpenBot Desktop adds its own after its window page's (`web/1.1.0 desktop/1.1.0`). A program of your own sends nothing and is never refused for a version. - `getDeployment` gains `api` (the API versions served, `["v2"]`), `minimumClients` (the oldest release of each app served), `securityMinimumClients` (the part of those raised for a security problem, only when there is one), `launcherApi` and `extensionApi` (the numbers `release-policy.json` keeps). It is never refused for the app's version, so an app reads it first. - Every other `/api/v2` operation refuses an app below its minimum with 400 `application/problem+json`, code `CLIENT_UPDATE_REQUIRED`, with `client`, `minimumVersion`, `security: true` when the minimum is there for security, and a detail sentence. Not 426, which RFC 9110 keeps for protocol upgrades. - `shared/client-version.ts` holds the rules; `shared/fixtures/client-version/cases.json` holds deployment answers and what every app must decide from them. The web app, the Recorder, Desktop (a Rust port) and the phone app (a self-contained copy) each run every case. **The support window is 12 months.** A server serves every app released in the last 12 months, so a release builds in a minimum for an app only at a release published more than 12 months before it. Every OpenBot release is younger than that, so the built-in minimums are empty today, and apps from before this change send no header: nothing released is refused by it. A server's minimums are raised in one place, `OPENBOT_MINIMUM_CLIENTS` on the server (how OpenBot Cloud raises its own), and a minimum is never lowered. ## Each app - **Web app**: the header on the one fetch in `lib/client.ts` (so the generated client too), the CopilotKit provider, sign-in and the consent verifier. A gate at the root, before sign-in as well as after, reads `deployment` and any `CLIENT_UPDATE_REQUIRED` refusal, and replaces the app with the sign-in screen's own frame: "Update OpenBot" with Update (loads the new page), or inside the Desktop window, when the refusal names Desktop, its own Update and restart. A tab left open across an upgrade gets the sentence on its next request. - **OpenBot Desktop**: the header on every request the shell makes, and the relay adds it to the page's. With its own OpenBot, the shell reads that OpenBot's deployment before opening the window and shows "Update OpenBot" with Update and restart when the app is too old; a local OpenBot from an older release that still serves v2 opens exactly as before. Connected to OpenBot Cloud, the same check runs when the person connects and on every launch: "The OpenBot at {host} needs a newer version of this app. Update OpenBot, then connect again.", with Update and restart. - **Phone app**: the header (the OpenBot release it was built from, not Expo's own version) on every request and on sign-in, and a root gate with the update sentence. - **Recorder**: the header on every request, and a refusal now reaches the person as the update sentence on the popup, the Connect page and Connect with OpenBot Desktop, where before it read "OpenBot did not answer" or "This connect request has expired". ## Tests Each new test was seen failing before its change and passing after. - `shared/tests/client-version.test.ts`: release order, the header, every fixture case, the empty built-in minimum. - `app/tests/client-name-header.test.ts`, `app/tests/client-version-gate.test.tsx`: the header reaches a real local server; the app's real root, sign-in gate and screens against a local server answering the fixture's deployments and the spec's own refusals, the security one included. - Desktop: `client_version.rs` runs every fixture case; `connected/address.rs`, `relay.rs`, `sign_in.rs` and `main.rs` through the real HTTP path with the fake OpenBot; the window's React tests and layout test. - `mobile/tests/*`, `extension/tests/openbot-client.test.ts`, `connection.test.ts`, `recording.test.ts`. - Every existing suite still passes: app, extension, Desktop crate and window, root copy and boundary tests. ## End to end On the all-in-one cluster (two server replicas, the backend in the cluster, Keycloak sign-in), from images built from this branch: - **Nothing built in, nothing refused.** `deployment` answers `api: ["v2"]`, `minimumClients: {}`, `launcherApi: 1`, `extensionApi: 1`; `/api/capabilities` answers exactly its previous fields. Every app version (`desktop/0.0.1` to `desktop/1.1.0`, `web/1.0.0`, `mobile/0.1.0`, `recorder/1.0.0`), no header, `curl/8.7.1` and `desktop/main-ci` go on to sign-in as before. 17 of 17 checks. - **Matching versions unaffected.** The sign-in screen and home, light and dark, at 1440px and 390px, as before; every request the page makes to `/api` carries `OpenBot-Client: web/1.1.0` (27 of 27; the identity provider's redirect back is a navigation and carries no page header). - **Minimums raised, as Cloud raises its own** (`OPENBOT_MINIMUM_CLIENTS=web=1.1.0,desktop=1.2.0,mobile=1.2.0,recorder=1.2.0`): `deployment` publishes them; `desktop/1.1.0`, `mobile/1.1.0`, `recorder/1.1.0`, `web/1.0.0` and `web/1.1.0 desktop/1.1.0` are refused with 400 `application/problem+json`, `CLIENT_UPDATE_REQUIRED`, the app, its minimum and the sentence ("This OpenBot needs OpenBot Desktop 1.2.0 or later. Update OpenBot, then try again."); `desktop/1.2.0`, no header and `curl` go on. 24 of 24. - **A tab left open across an upgrade.** Four tabs (light and dark, desktop and phone width) signed in on release 1.1.0; the server rolled to a 1.2.0 build whose admin raised every app to 1.2.0. Moving around the app without reloading, each tab's next request was refused and the page showed "Update OpenBot" / "This page is from an older version of OpenBot." with Update, no sideways scroll; Update loaded the 1.2.0 page, which works and names itself `web/1.2.0`. 28 of 28. ## OpenBot Desktop on a Mac and on Windows The pass of record ran on the tested head 0fe5a14c2. The installers came from that head, with the server built from the same change, and every check passed on both: - An update over v1.1.0 opens OpenBot, and so does Quit and reopen. - With the minimum raised, Start shows Update OpenBot. A relaunch that finds OpenBot running shows the same screen, never "stopped". With the minimum removed, OpenBot opens again. - Connected to a real OpenBot for Business server: the sentence with no Connect when the minimum is raised, and the API-version refusal. Sign-in works when the minimum isn't raised. A relaunch after the minimum is raised says so, and opens again once it's removed. On the Mac, the last of these showed OpenBot's relay page instead of OpenBot. That's a separate, earlier fault in connected Desktop on macOS, with its own fix; the version check's part of the step passed. The merge head differs from the tested head only by #1826 (pinning the LangGraph harness's Python dependencies), which landed on main in between: ``` agent-langgraph-agui/requirements-test.txt | 1 - agent-langgraph-agui/requirements.txt | 16 ++++++++++++---- agent-langgraph-agui/tests/test_provider_boundaries.py | 10 +++++++--- 3 files changed, 19 insertions(+), 8 deletions(-) ``` | 5 days ago | |
feat: Bots work as coworkers (#673) * fix: enable Automatic Learning by default * fix: provision the default learning container during setup * feat: provision self-hosted learning through Intelligence SSO * feat: coworker parity for OpenBot Bots now work as always-on coworkers: they act unattended, take on standing responsibilities, reach people where they are, and stay under one set of approvals and admin controls. - Unattended work: headless turns drive the Bot's own computer, draw charts and cards into the conversation, and keep its browser profile, cookies and files across restarts. Computers move to a new image on wake or on request. - Responsibilities and triggers: standing goals fed by schedules, signed webhooks, GitHub, Linear, Sentry, PagerDuty, inbound email and Slack messages; Run now and run history for routines. - Reachability: Slack and Microsoft Teams through the OpenTag pairing, SMS, and native push. A Bot's questions and approval requests reach the person who owns the conversation and resume it when they answer. Charts reach Slack and Teams as native charts. - Approvals: one personal approval flow across browser, connected apps, shell, files, the host and remote Bots; custom rules, auto-review and host command modes. - Memory: memories imported from connected apps with provenance, Bot-formed memories, and background research that suggests next steps. - Coordination: Bot-to-Bot messages, group conversations with attributed speakers, and Team Bots shared with teammates. - Demonstrations: record a task in the browser and turn it into a skill. - Admin: capability toggles, SSO-required sign-in, SCIM, network egress policy, action recording, OpenTelemetry export, Passwords and private sign-in requests. - A native mobile app (Expo) and its CI typecheck. Migrations 0048 and 0049 are generated from the schema. * docs: describe the coworker parity release in the changelog * test: launch Chromium in the sign-in test only when asked The test imported Playwright at the top of the file, and CI's install does not carry it, so the whole file failed to load. It now follows follows-popup.test.ts: the browser half runs with OPENBOT_COMPUTER_BROWSER=1 and imports Playwright then, while the parsing test runs everywhere. * fix: close the holes found in review Every change below was reproduced with a failing test before it was fixed. - Admin gate: match the decoded path as well as the raw one, and recognise CopilotKit runs, connects and suggestions by their trailing segments, as the runtime does. Use Bots and the model allowlist now also apply in the shared headless turn runner, and Team Bots publication checks its own switch. - Egress: a computer refuses the network until its policy arrives, and the server pushes the policy as the computer wakes. Plain HTTP connects to the address it checked, metadata and link-local addresses are refused in every mode, WebRTC stays inside the proxy, and the filter no longer forwards plain HTTP back into itself. - Team Bots: the computer, its live screen and sign-ins stay with the owner and administrators; teammates' turns run without computer tools. - Groups: a reply waiting on its owner's share check is hidden from other people and from their Bots, a resumed turn keeps its Bot-to-Bot depth, and an always-allow is bound to the member set it was given for. - Approvals: a refused or changed re-check, an approved hand-off, a revoked rule and an interrupted action all continue the conversation, once. Same-action matching includes the arguments, previews show the content being approved, Team Bot calls keep their credential rules without spending a one-time consent early, and auto-review covers vendor settings tools. - Lifecycle, memory, passwords, telemetry: reset clears Bot-formed memories, research and allow rules; one failed pause read no longer stops every turn; a pause stops a running hand-off; memories stay visible during a resync and are filtered in SQL; a stuck password sign-in reopens after a lease; exported commands are scrubbed; Bot-formed memories cannot be stored twice. - Inbound and auth: signed webhooks dedupe on signed identifiers, Slack triggers match messages from anyone in the owner's channels, a push token cannot be moved to another account, saving SSO-required ends non-SSO sessions (and is refused with no identity provider), and the mobile sign-in scheme is trusted only where the native app runs. - A CI job runs the real-Chromium computer tests, and the new environment variables are documented. Migration 0050_review_fixes is generated from the schema. * test: give each ADK model-name case its own thread Both cases posted to thread "namespaced-model", run "first-run". The current ag-ui-adk keeps a thread's state for the life of the process, so the second case answered from the first one's thread and never asked the model endpoint. Each case now uses its own thread and run. * fix: close the gaps found in the second review Each was reproduced with a failing test before it was fixed. - An approved hand-off keeps its Bot-to-Bot depth however long the person takes to decide: the signed run is checked by its signature, not by the ten-minute expiry that guards live callbacks. - Hand-offs obey Use Bots and the model allowlist, and a refusal is final rather than retried. - An approval whose Bot may no longer run is refused before the approved action executes, instead of executing first and failing in the continuation. - A re-check that hits a removed connector, a bad saved argument, or a share check that is pending again tells the Bot, and an approval still failing on its last try is answered "could not be carried out", so the conversation continues instead of hanging. - The egress filter tries every checked address (Happy Eyeballs), so an IPv6-first answer on a host without IPv6 still connects, and never looks the name up again. | 1 month ago | |
Fix delete dialogs, the masked box's endings, key-check banners and model usage wording (#1563) * Fix four bugs the Mac test pass found in delete dialogs, the masked box and key checks - A routine's delete dialog names the routine as its heading does, not its schedule ("Delete “Owl facts”?"). - The personal edition's conversation delete dialog no longer says it disappears "for everyone in the conversation". Only a team is told that. - The Bot is told a secret was entered only when the computer says that request's value reached the field. A request that ended another way (a take, a restarted browser, its time running out) is said as nothing typed, with the reason, and the Bot is told not to submit the form. - A send from the masked box that fails because the request ended keeps its message on screen after the box closes. - A failed key check never puts an app's JSON error body in the banner. - Admin, Providers, Usage says how each model is known, and says why when a Bot never named its model, instead of "remote:<id> · unknown". Each has a test that fails before the change. * Say a file that was not saved as not saved When a write is refused (its computer held for a person in another conversation, say), the step row read "Saved a file, didn't work" and Activity "Saved <file>". Now the row reads "Didn't save a file" and Activity "Didn't save <file>" with the reason under it. | 10 days ago | |
A Bot's computer call waits up to three minutes for its computer to start (#2033) A cold computer on a busy day took about 105 s to come up, and a call gave up after 45 s with "The computer is still starting". The app now asks again while the answer is that the computer is still starting, until COMPUTER_START_WAIT_MS (180 s, in shared/computer-start.ts) has gone, so the model sees one call that waited rather than a failure. Each ask is a new request with its own Idempotency-Key, and a Stop ends the wait. The Computer panel's startup grace moves from 150 s to 30 s past the start wait, so it keeps saying the computer is starting while the Bot's step is still waiting for it. | 1 day ago | |
Keep a person's computers apart per organization: token label, and a limit's refusal on Activity (#1896) * Name the organization in a computer's own token outside default A person in two organizations gets a computer in each, and the two must not open each other. The token derivation now takes an optional organization: outside default the label is org/<encoded org>/<kind>:<id>; in default, or with none given, it is exactly the label it was, so a computer already running in default keeps its token. * Name the trail event for a computer refused at its organization's limit Where a deployment caps how many computers an organization, or one person in it, may have, a refused new computer is written to that organization's trail. Activity and Audit show it in words like every other event. * Format the computer token test as the formatter writes it * Show a computer refused at a limit as blocked on Activity, and by which limit computer.limit_reached was drawn as Allowed, the opposite of what happened. It is now a refusal, in the Blocked view, and its row says which limit refused it (the organization's, the person's in it, or OpenBot's own) and how many that limit allows, and when the computer was the person's own browser. Checked in Chromium and WebKit, light and dark, wide and at a phone's width. | 3 days ago | |
Land the UX work: chart sources, search, calm computer start, waiting rows, app cards, owner apps, per-Bot files (#847) * Make every chart say where its figures came from A chart now carries a basis (read, given, own knowledge), the sources it was read from and an as-of date, and draws them under the plot. Figures the Bot recalled without looking up are marked as unchecked. The model has to give a basis; older conversations without one still render, with no footer. * Tell Bots to look figures up before charting them * Let an admin turn on and give an app to a Bot in one press Adds POST /api/plugins/for/:agentId/apps/:app/approve, admin only. It files the request the app's state needs, as the admin, and approves it straight away through the same code the inbox's Approve runs: the approve body moved into a shared carryOut, and the filing checks into a shared requestable, so the one press can't grant more or check less than the two presses would. The trail reads as the two presses: app_access.requested, then app_access.approved marked direct. No refs, so only read-only actions are granted, as the inbox does. A press that can't be carried out withdraws the request it filed; one of the admin's own that was already waiting is put back as it was. * Say on the app card's marker whether the app was blocked when the Bot asked A refusal is blocked by definition, but show_app_access also answers for an app that is ready, and its card can't tell later whether the app became ready since or was ready all along. The tool now writes blocked: true or false from the state it found, so a card drawn already ready can offer to carry on only where something actually changed. Older answers without the field offer nothing. * Give an admin the fix itself on an app card, not a request to themselves An admin looking at an app that is off, or that a Bot wasn't given, now gets one primary button: "Turn on and give it to <Bot>" or "Give it to <Bot>". It calls the new one-press approve route, so the app is turned on and its read-only actions granted with the same checks and trail as the inbox. Send and write actions are still chosen on the Bot's page. Where one press can't do it (no broker key, a set-up left unfinished, a team account nobody connected) the admin gets a link to the app's admin page in a new tab instead. The card reads the app again when its tab has the focus back, so it follows whatever was done over there. * Carry the task on by itself once a Bot's app card says the app is ready When the person finishes connecting in the other tab, or an admin turns the app on and gives it to the Bot, the card used to say "Ask again and the Bot can use it". Now the card that sees its app go from blocked to ready sends one message on the person's behalf, "Gmail is ready now. Please carry on.", through the same ask any transcript card uses. Why a message and not handoff-resume: that resumes a browser tool call that is still open. An app card is drawn from a call that already answered, and its turn has ended, so there is nothing open to answer. The next turn is what carries the task on. A visible message says why the Bot started again, and the Bot gets the whole conversation with it. Guards: - Only while the card is the latest thing: the person has said nothing since it, has nothing queued, and the Bot isn't working. The transcript passes this down with the tool call id. - Only once per card, across re-renders, remounts and tabs, by a mark in localStorage keyed by the tool call id, set before sending. - Only automatically where the card saw the change. A card drawn already ready (an admin approved while the conversation was closed) offers a Continue button. For show_app_access it does so only if the marker says the app was blocked when the Bot asked. * Record who may give an app to a Bot, and whether its owner or an admin gave it * Tell a Bot its computer is still starting, rather than failing, when a cold start outlasts the wait * Answer a screenshot of a computer that is not ready with its state, without waking it * Tell whether a Bot holds a search tool, from its refs or its tool names holdsWebSearch reads the grant refs a built-in Bot is built with, and researchRoleOfToolName reads the mcp__server__tool names a Bot running its own loop is offered. Either counts a search tool from any research provider, without needing its reader alongside. RESEARCH_APP_NAMES lists the catalogue's search apps by title, the name show_app_access resolves. There is no app called "search", so a Bot with none has to name one, and listing every provider keeps the choice with the administrator. A test holds the list to the catalogue's titles. * Send a search to the search tool, and never to the browser Asked to "search for" something in a demo, a Bot drove its browser to a search engine. The computer guidance told it to navigate whenever asked to look at, check or read anything, and never to claim it cannot browse; the one line saying a page is not a search read as a hedge beside them. computerGuidance now takes what the run holds and says one thing: - With a search tool, finding information goes to it, and the computer is for signing in, clicking through, filling in forms, or opening a page the person asked to see. - Without one, the browser never goes to Google, Bing or DuckDuckGo to look something up. The Bot answers from what it knows, says it has not checked it, and calls show_app_access once with one of Parallel Search, Exa Search or Firecrawl so the person can ask for it. "Never claim you cannot browse" is gone; opening a page the person names is still something the Bot does. Every path gets the right wording. Built-in Bots are worded in builtInAgentConfiguration from the tools they are built with, so a narrowed run follows what it was offered. agent-bot and agent-langgraph work it out from the tool names each run offers them, which are the only view they have of their grants. * Say in computer_navigate's description that it is not a web search The tool description repeated the old prompt's "look at, visit, open or check a website", which reads "check the latest on X" as a page to open. It now says to open a particular site and never a search engine, so the tool list agrees with the guidance beside it. * Format the not-ready screenshot route tests * Type the still-starting headless test's fetch double * Report a live screen being retried as reconnecting, not as a problem * Show a computer starting calmly, and a problem only when there is one * Say what a conversation is waiting on, on reads and on every busy event The busy signal said only that something was running, on the socket and nowhere else. Read what a conversation waits on from the rows that already say so: an unfinished hop it asked, folded with its relay, and an open routine run. The channel read and the roster carry the list, and every busy event carries the whole list at the moment it is sent. * Tell the asking conversation when a hop is queued and when the queue moves The delivery's busy signal fires inside the run, while the row still says the hop is in flight, so it cannot be what says the hop is over. The runner now settles after finish or release, with the relay already queued, and the desk announces a hop the moment it is offered. * Show a conversation as working while a routine fires into it Signalled around the firing and cleared after the run row has its outcome, since the open run row is what the conversation reads. * Show a computer call turned away by a cold start as not done yet, and tell the Bot to try again * Have a Bot say what it is about to do before its first computer action * Tell a Bot's owner when an app is theirs to give it, and let an admin decide which apps are * Let a Bot's owner give it their own apps, and take back only what they gave * Keep a Team Bot on each teammate's own account for apps its owner gave it * Restore the canvas and image prototypes the calm-start tests stub * Keep what a conversation waits on in the roster and in the open channel's read Busy events now carry the whole work list. It replaces the row's list in the roster and the channel read the conversation screen uses, and both are refetched with the roster after a reconnect or a resync. The sidebar stays lit while a hop or a routine is pending between turns. * Show who a conversation is waiting on, with a running clock, where the answer will land "Asking Ana… 0:12" for a Bot its Bot asked, "Ana is running a routine…" for a routine, at the end of the transcript, from the server's list. Hidden while this tab's own turn runs. ProgressRow is the reusable line for later waits. * Let an admin choose on an app's page whether Bot owners can give it * Ask a Bot's owner on the app card whether to let it use their app, in one press * Give a new Bot your connected apps, and switch them on its page * Keep a chart's sources line readable when the model's arguments are odd Separate the unchecked note from the sources list, name a repeated source once, and skip sources or dates that are not the shape the schema asks for instead of breaking the card. * Test the sources line with an unchecked note and malformed arguments * Count a routine firing as the conversation moving on past an app card The card that carries a task on once its app is ready only did so while it was the latest thing, but a routine firing after it did not count, so a later connect sent "please carry on" onto the routine's work. Any user turn now counts. The rule is pulled out as latestFrom and tested. * Write the withdrawal into the trail when an admin's one press is undone A one press that could not be carried out withdrew the request it had just filed without a trail row, leaving an app_access.requested nothing answered. It now writes app_access.cancelled, marked direct, as a withdrawal does. * Word the no-search guidance as a condition, not a claim that the Bot holds no search tool Search tools the catalogue roles do not recognise (a Composio toolkit, a server added by URL, Exa's advanced search granted alone) would otherwise be contradicted by the prompt. * Name computerGuidance, not the removed COMPUTER_GUIDANCE, in a copilot test comment * Tell an admin's one press to try again, not to approve a request The one press withdraws the request it filed when it cannot be carried out, yet its refusals ended "then approve this request again". They now end "then try again" there; the inbox's wording is unchanged. The browser's fallback sentence follows the copy rules too. * Refuse an owner a grant on an action their app does not advertise * Record nothing when an owner's grant lands on one that already stands * Say where an owner gives a write action, in the give route's note * Format the owner grant refusal * Tell a Bot its computer is still starting when the supervisor's own health wait runs out The supervisor answers a container that is up but not yet healthy with a 503 after 60s, which is well inside the server's 120s ensure timeout, so the docker and desktop paths never reached the gentle still-starting answer. The supervisor now marks that 503 as starting and the provider maps it to ComputerStillStartingError. Also awaits a rejects assertion that was never checked. * Report a docker computer whose browser is still booting as starting, not ready Docker says running as soon as the process exists, so status called a booting container ready, the screenshot route went on to /ensure, and the poll was held for up to a minute on the health wait. The supervisor now passes the healthcheck verdict through its list, and running with a starting healthcheck reads as starting. An older supervisor sends no verdict and reads as before. * Answer a cold sandbox start within 45s, under a load balancer's idle timeout locate waited up to 120s inside the person's request. Behind an ALB's default 60s idle timeout the browser got a bare gateway error, and the action could still land once the pod came up after the model had been told it failed. locate now gives up at 45s with the still-starting answer while the pod keeps coming up; update's background restart keeps the full resume budget. * Keep the computer panel honest when a not-ready answer goes stale A screenshot failure after an 'absent' answer kept the old state, so the side panel went on calling a failing computer off, and an off computer is never timed out, so the failure was never shown. A failure now clears the polled state and the status read resumes. A not-ready answer also drops the last frame, which showed a sleeping computer as live and kept its stream reconnecting. * Format the stale-state computer panel test * Read a conversation's open hops through an index instead of scanning every hop The work list is read on every roster page and every busy event. It filtered work_items on payload->>'threadId' with no index, and joined each relay to its hop by building 'relay:' || key for every row, so both sides scanned a day of finished hops. A partial index on unfinished rows by thread, and a join that cuts the hop key out of the relay key, turn it into two index lookups. * Keep what a conversation waits on to the person whose thread it is Every member of a shared channel has a thread of their own in it. The work list was broadcast to all members on every busy event, read from whichever thread the signal came from, so another member learned which Bot somebody asked and lost their own list to it; the roster also listed every member's routine runs. Hops are now read from the reader's thread and routines from the reader's own; the list goes only to the thread's owner, and the other members hear the busy flag alone, as before. Each list is stamped with the database clock just before it is read, so a browser can tell an older list that arrived late from a newer one. * Ignore a work list read before the one a conversation already holds Busy events are read on whichever replica sent them and can arrive out of order. The roster and the open conversation now keep the list with the latest stamp, so a late event no longer puts back a hop that has already settled. * Keep the assertion-shape guard green across the work-list tests The branch moved four allow-listed offences down their files, and its own tests added four new ones: an absent busy flag and work list asserted through a ?. chain, and an expected undefined key in a toEqual. The moved entries are re-keyed; the new ones assert the missing key directly instead. * Check the first-action line in both computer guidance variants * Follow the moved headless-components lines in the assertion-shape allow-list * Follow the moved computer-supervisor and computer-sandbox lines in the assertion-shape allow-list * Hold the admin's approve call to an absent body, so the assertion can fail * Hold the owner's give call to an absent body, and follow the moved siblingReads line in the allow-list * Add a changelog line for chart sources * Add a changelog line for search routing * Add a changelog line for the app card carrying on * Add a changelog line for the handoff progress row * Add a changelog line for the calm computer start * Add a changelog line for owner app grants * Mark a Shared-account audience an owner's grant set, so it can be withdrawn with it * Let an owner's grant set a Shared app's audience, and read it only while owners decide * Set the audience when an owner gives a Shared app, and withdraw it on take-back or a rule change * Test an owner's Shared-app grant: usable at once, scoped to the Bot, withdrawn with the grant or the rule * Say on a Shared app's page that owners who give it let their Bots use the team account * Document owners giving Shared apps, and add the changelog line * Say where a chart's figures came from in Slack and Teams too * Give each Bot its own files on a computer many Bots share * End a hop at once when the other Bot's address is one this deployment will not dial * Recognise a refused address by its message, since the AG-UI client keeps only that * Show the asked Bot's avatar on the waiting row, and drop the clock * Read container health in its own file, so its test does not need dockerode | 28 days ago | |
Read and change apps, connections and Bot grants through the API's generated client (#1649) * Name the apps, connections, Bot grants and app access requests the API will describe, with the parts they share * Describe the apps in the API: list, read, add, change and remove them, the directory of apps that can be added, and how apps are set up Twelve operations under /api/v2/organizations/{organizationId}: listApps, getApp, createApp (from a directory entry or by a server's address), replaceApp (a server at an id an admin chooses), updateApp (who may give an app to a Bot), deleteApp, refreshApp, setAppAccountMode (personal or shared, with validateOnly to see what a switch would do), setAppOAuthClient, listAppDirectory (the catalogue and the wider directory, searchable), getAppSetup and getShortenedToolNames. The client is regenerated, and api/openapi-apps.test.ts holds the directory's entries, the ids createApp takes back and the apps they become to one another, and every directory service app-setup can name to a page of its own in both editions. * Describe a person's connections to apps and an app's shared account in the API spec A person's own connections live under people/{personId}/connections: list and read them, start connecting an app (a sign-in page, a key form, or already connected), confirm with the app on return, re-check a key, disconnect, preview what a disconnect also ends, read and start consent action by action, and manage the accounts connected at one app. An app's one shared account lives at apps/{appId}/shared-connection with the same acts, read by anybody and changed by an admin. The way back from a sign-in page is one of OpenBot's own pages, never an address. Generates the client, and pins that both holders answer alike, that each says who may act, and that no request names an address. * Rebuild the bundle and the client from the merged sources * Say which app a refusal names when the app is already here * Describe what each Bot may use, a Bot's apps, and requests for apps in the API spec Bot grants: list what a Bot was given (app actions, skills and other Bots), give or take one by its id (action:<app id>:<action name>, skill:<slug>, bot:<Bot id>), change one app's actions together, and describe or test such a change before saving it. A Bot's apps, each as it stands for the person asking, with an owner giving their own app and taking it back, and an admin turning an app on and giving it in one step. The apps a person could give their own Bots. App access requests: list (everybody's for an admin, your own otherwise), ask, withdraw, approve and dismiss. Pins that a grant id names exactly the kinds a grant is listed with, and that every operation asks for its own area's permission, read to look and write to change. * Merge the Bot grants and app access requests into the apps spec, and say what a refusal with several reasons lists * Rebuild the bundle and the client after merging main * Carry the app a refusal names on an apps problem of its own, not on the shared problem, and let the lint accept a problem type that extends the shared one * Read every page of a list the API pages, for screens that draw a whole list * Read how apps are set up here through the API's generated client * Rebuild the client's index after merging main * Read and change a person's connections and an app's shared account through the API The connections list, one app's accounts, what a disconnect would also end, what an account allows action by action, and every press on a connection (connect, confirm, re-check, disconnect, consent for one action, the default account and ending one account) go through the generated client. A Shared app's one account is read and changed at its own address, so a person's own connections never carry it. The page a consent comes back to and whether it came from OpenBot Desktop travel in the request body. App tests fake the API's connections through one helper. * Read and change what each Bot may use, a Bot's apps and requests for apps through the API's generated client The web app reads a Bot's grants, its apps, the apps a person could give and the waiting requests page by page from the API, and gives, takes back, changes, describes and tests a Bot's actions, files, withdraws, approves and dismisses requests there. The card's set-up link finds the directory's own page from how apps are set up here. The mobile skills screen switches skills through the API too, sending a key with every write so a retry is the same write. Taking away what a Bot doesn't have still counts as done. App tests fake these through one helper in the API's shape, and the inbox is tested across several pages. * Read and change apps through the API's generated client Every screen that lists, adds, changes or removes an app now goes through listApps, createApp, updateApp, deleteApp, refreshApp, setAppAccountMode, setAppOAuthClient, listAppDirectory, getAppSetup and getShortenedToolNames, and reads every page of each list. The pages and their routes are unchanged; only where their data comes from moved. The skills half of the plugins read stays where it is. App tests fake the API through one helper that describes a deployment the way the screens see it, and a list that runs over several pages is shown whole. * List the catalogue's apps in the catalogue's own order listAppDirectory returns OpenBot's own catalogue in the order the catalogue keeps, the order the screens have always shown it in, and then the wider directory by title and id. * Rebuild the bundle and the client after merging main * Say the apps lists order titles without regard to case listApps and the wider directory in listAppDirectory order by title ignoring case, then by id, the order the store has always listed apps in. * Clear the app's query client after the hand-back test The hand-back test leaves the app's own query client holding a Bot's grants, which poll. In the same test process the onboarding name step's save then waited on their refetch through its own held fetch, and timed out. Clearing the client when the file ends leaves the next file nothing to wait on. * Start each onboarding name test with the app's query client empty Saving the name refreshes the signed-in person in the app's shared query client. A person left there by an earlier file in the same process was refetched through this file's held fetch, and the save waited on it until the test timed out. Seen in CI, where the file order put it after such a file; reproduced locally by seeding a person first. | 9 days ago | |
Install self-hosted Intelligence with OpenBot from one Helm chart (#1019) OpenBot's Helm chart installs self-hosted CopilotKit Intelligence 0.16.0-rc.2 with it, wired up by itself: a vanilla OpenBot is one helm install plus a secrets file with the licence and the model key. Fixes found on the way, each with a regression test: Bot-to-Bot handoff answers under the helper's name, conversation titles from the person's words, routines asked for in a conversation, Learning review in Admin, secret changes rolling the pods that read them, and conversation naming on Anthropic. | 18 days ago | |
Stop the Desktop asking to turn on notifications after every yes (#1265) * Stop the Desktop asking to turn on notifications after every yes In OpenBot Desktop the page's offer to turn on notifications read the window's own Notification API. On macOS that is a WKWebView, and wry gives it no notification delegate: requestPermission() answers "denied" at once with no prompt, and the next launch reads "default" again. So Enable did nothing, nothing was ever shown, and the offer came back whenever the page's stored answer was not there, as after a reopen moved the app to another port. The Desktop now carries Tauri's notification plugin and grants OpenBot's own page its is_permission_granted, request_permission and notify commands, and no other page. The plugin's script stands in for Notification in the window, so a Bot's notifications are posted by the system. The page reads the desktop app's answer from the plugin rather than the window's, which on a desktop is always yes, so it no longer offers what is already on. Off the Desktop nothing changes. * Bring OpenBot forward at the Bot's page when its notification is clicked The notification plugin reports a click on a notification on macOS and Windows (on Windows only while the toast is on screen) to an on_action handler. The Desktop now registers one: a click brings the window forward the way a second launch does, then opens the page the notice names. The page names it in the notification's extra.path: a Bot's notice opens that Bot's page, a ping opens Bots, where Needs you is listed first. Only a path on the OpenBot the window shows is followed. On Windows a toast from an installed app is attributed by its AppUserModelID. The plugin uses the bundle identifier once installed, and Tauri's NSIS template stamps the same identifier on the Start menu shortcut it names OpenBot, so toasts read OpenBot. A test now holds the config to that: no custom NSIS template in any Tauri config, the same identifier and product name, and no shortcut made by our hooks. * Grant OpenBot's page its notification commands before it loads On a Mac no Bot's notification ever reached the system: usernoted was never contacted by the app. The shell granted the owned app page its commands only once the page had finished loading, but the notification plugin's script asks is_permission_granted as the page starts. That first question was refused, the script does not ask again, and its Notification.permission stayed "default" for as long as the page was open. The notifier read that, so it never called notify. The offer to turn them on asked later, after the grant, so it was rightly hidden. The shell now grants the page when it trusts the app's origin, ahead of the window going there. The notifier also reads the same answer as the offer, the desktop app's, instead of the plugin script's, so the two cannot disagree. * Open OpenBot at the notice's page from Windows' notification centre On Windows a click on an OpenBot notification in the notification centre only removed it. For an app installed without a package, Windows supports foreground activation only with a COM activator; without one only a protocol activation works. The notification plugin builds its toasts through notify-rust, which sets neither a launch nor an activation type. The Desktop now shows its own toast on Windows, with activationType="protocol" and launch="openbot://open?path=...". The installer registers the openbot scheme (plugins.deep-link), so Windows starts OpenBot.exe with the link, the single-instance plugin hands it to the running OpenBot through deep-link, and the window comes forward at that page, only if the path is one of the shown OpenBot's pages. A click that starts OpenBot opens the page once OpenBot's page has loaded. The page asks for every notice through the Desktop's new notify command, and falls back to the plugin on a Desktop without it. macOS and Linux still show it through the plugin. * Notify when a Bot replies while OpenBot is out of sight The offer to turn notifications on promises a notice when a Bot finishes, and nothing raised one. A Bot's reply that reaches the page over the channel events socket while the window is hidden or unfocused now shows "<Bot> replied" over the reply's first line, opening the conversation on a click (extra.path in OpenBot Desktop). Gated on notifications being allowed and the Bot's notify setting being everything. The server adds the reply's first line, as plain text, to a Bot's activity event, since the roster preview runs every line into one. * Count the cards a Bot asks with in the conversation as needing the person A Bot that asks through the form, choice or approval card ends its run with the call unanswered and waits for the browser to send the answer back. OpenBot stored nothing about that wait, so the Bot never showed under Needs you and no notification went out. The runtime's runner is now watched: a run that finishes on an unanswered card saves a person.decision work item for the conversation's person and Bot, and a later run carrying that call's result finishes it. Attention counts the approval card as an approval and the other cards as questions, a task's conversation counts it as the task needing input, and the Bot's Activity lists it. Each attention row also carries waitingIn, the conversation of the Bot's newest needs-you item, so a notice can open there. * Raise the reply notice through showNotice The base branch now has one way to raise a notice, which in OpenBot Desktop goes through the desktop app's own notify so a click opens the conversation from the notification centre too. The reply notice uses it, with the router navigation as the browser's click, and the helper this slice had moved out of attention.tsx is gone with the change it served. * Open a needs-you notice at the conversation that is waiting Clicking "<Bot> needs you" opened the Bot's page, one step away from the question or card the person had to answer. The notice now opens the conversation the attention row names in waitingIn, and falls back to the Bot's page when nothing waits in a conversation. * Close the decision-waits test's database pool and assert a person's event has no first line The repo's own checks flagged both: a test file that opens a pool must close it, and an optional-chained subject under toBeUndefined passes when the event itself is missing. * Give one notice per moment, and read each Bot's own notification setting On Windows one turn that ended asking the person a question raised four toasts: "needs you", "replied" twice with the same words, and "replied" again with the server's "A question needs your answer" line. "Needs you" also fired while OpenBot was in front, and a Bot set to "Only when it needs me" still raised "replied". A reply is no longer announced the moment it arrives. It waits for its conversation's turn to end (the socket's busy signal), keeps only the turn's newest reply, and is dropped when the conversation then waits on the person (attention's waitingIn, read fresh): that moment's notice is "needs you". A reply already announced is not announced again by its words, whatever its timestamp. Every notice about a conversation shares its tag, which a browser and Windows (the toast's Tag) use to replace rather than stack. Neither notice is raised while the person is looking at OpenBot. The reply notice reads the Bot's setting from its own lifecycle, not from the attention list, which names only Bots with something waiting. A missing entry had been read as "Everything"; an unknown setting now raises nothing. * Bring OpenBot to the front on a toast click, and open the page without a reload On Windows a click on an OpenBot toast opened the right conversation but left OpenBot behind the app in front, or restored it inactive with a grey title bar; the foreground stayed with the shell's notification host. Only a process started by the foreground process, or that received the last input, may set the foreground window. The launch Windows makes for the toast's link is that process; the OpenBot already running is not. The launch now calls AllowSetForegroundWindow(ASFW_ANY) before the single-instance plugin hands its link over, and the running OpenBot restores its window if it is minimised and calls SetForegroundWindow. Each click also loaded the whole page again, losing what the person was in the middle of. The shell now dispatches an openbot:open event in the page, which the app's router handles as a route change and cancels; a page that does not handle it is loaded at the address, as before. * Fall back to attaching to the foreground's input when a toast click can't activate OpenBot On Windows (8fb4cf53c) OpenBot still stayed behind Edge after a click on a toast: the running instance's SetForegroundWindow was refused. The click's launch already passes the foreground on first thing in main, before the Tauri builder whose single-instance plugin hands the link over and exits, but the launch may not hold the right to pass: Windows grants it to a process started by the foreground process, and the toast's protocol launch need not be one. Thunderbird met the same (bugzilla 1863798). The running instance now tries, on the window's own thread: the plain SetForegroundWindow; then SetForegroundWindow with its thread's input attached to the foreground window's thread (AttachThreadInput); and only then raises the window above the others for a moment (HWND_TOPMOST, then HWND_NOTOPMOST). It logs which worked, and how the launch fared passing the foreground on, which the launch leaves in a file since it exits before it has a log. | 15 days ago | |
Record a task in a Bot's own browser: browser controls and the Recorder built in (#868) | 25 days ago | |
Record a task in a Bot's own browser: browser controls and the Recorder built in (#868) | 25 days ago | |
Download an update's images in the background before the Update click (#1391) * Download an update's images in the background before the Update click An app update did all its work after the click, with OpenBot down: the back end's update, then OpenBot's own image pulls (up to 1.1 GB when every image changed), then the start. As soon as the update feed names a newer release, OpenBot Desktop now reads that release's desktop-images.json (downloads.copilotkit.ai first, GitHub after) and, while the current version keeps running, pulls the images this installation runs into its engine, and, when the back end's release changes, the back end's images into its running k3d node through the same download local update uses. The node's images are pinned so the kubelet keeps them for the update; a download for a later release takes the pin off. It pulls one image at a time, stops before the next whenever OpenBot starts, stops, updates or quits, never starts or stops anything, and skips with a log line when the engine would fall under 15% free or the computer's drive would lose more than half its free space. Builds that do not update themselves never start it. The update offer, Settings > This computer and the setup window say how ready the new version is: "downloading in the background (40%)", then "ready to install. It takes a few minutes." The downloads mirror now serves each release's desktop-images.json, which answered 403. * Let an internal build try the background update download from a test feed OPENBOT_TEST_UPDATE_FEED names a folder holding a latest.json and the desktop-images.json of the build it names. An internal build started with it reads that folder as its update feed, logs "[update ready] using a test feed from <folder>", offers the version and downloads its images in the background, so the download can be checked live on a test machine before any release names one. It installs nothing: an internal build has no updater. Stable and candidate builds never read the variable, which a test proves through the app's own start. * Keep the update banner one line in every state, so the page under it never moves At OpenBot Desktop's default window width the banner wrapped to two lines when the background download started, and pushed the page down. It is now one line, as tall as its buttons, whether the new version is available, downloading, ready or installing: the downloading sentence is shorter ("OpenBot 1.0.1 is downloading in the background (40%).", the same words in Settings and the setup window), and a sentence too long for a narrow window is cut short with the whole of it on hover. The setup window's offer drops "You can keep working." so its three sentences take the same line. A real-Chromium test checks that the page under the banner holds still through every state at the default and narrowest window widths, for a release's version and an internal build's. * Say the update changelog's example without a version number | 13 days ago | |
Download an update's images in the background before the Update click (#1391) * Download an update's images in the background before the Update click An app update did all its work after the click, with OpenBot down: the back end's update, then OpenBot's own image pulls (up to 1.1 GB when every image changed), then the start. As soon as the update feed names a newer release, OpenBot Desktop now reads that release's desktop-images.json (downloads.copilotkit.ai first, GitHub after) and, while the current version keeps running, pulls the images this installation runs into its engine, and, when the back end's release changes, the back end's images into its running k3d node through the same download local update uses. The node's images are pinned so the kubelet keeps them for the update; a download for a later release takes the pin off. It pulls one image at a time, stops before the next whenever OpenBot starts, stops, updates or quits, never starts or stops anything, and skips with a log line when the engine would fall under 15% free or the computer's drive would lose more than half its free space. Builds that do not update themselves never start it. The update offer, Settings > This computer and the setup window say how ready the new version is: "downloading in the background (40%)", then "ready to install. It takes a few minutes." The downloads mirror now serves each release's desktop-images.json, which answered 403. * Let an internal build try the background update download from a test feed OPENBOT_TEST_UPDATE_FEED names a folder holding a latest.json and the desktop-images.json of the build it names. An internal build started with it reads that folder as its update feed, logs "[update ready] using a test feed from <folder>", offers the version and downloads its images in the background, so the download can be checked live on a test machine before any release names one. It installs nothing: an internal build has no updater. Stable and candidate builds never read the variable, which a test proves through the app's own start. * Keep the update banner one line in every state, so the page under it never moves At OpenBot Desktop's default window width the banner wrapped to two lines when the background download started, and pushed the page down. It is now one line, as tall as its buttons, whether the new version is available, downloading, ready or installing: the downloading sentence is shorter ("OpenBot 1.0.1 is downloading in the background (40%).", the same words in Settings and the setup window), and a sentence too long for a narrow window is cut short with the whole of it on hover. The setup window's offer drops "You can keep working." so its three sentences take the same line. A real-Chromium test checks that the page under the banner holds still through every state at the default and narrowest window widths, for a release's version and an internal build's. * Say the update changelog's example without a version number | 13 days ago | |
feat: add voice conversations and improve chat and settings UX (#636) * fix: load older sidebar conversations on scroll * feat: try agent cards with clearer roles and direct conversation actions * Revert "feat: try agent cards with clearer roles and direct conversation actions" This reverts commit 9b904df52344d04c4bc6fa00a583bc5f6f2e2d84. * feat: refine agent directory cards and dark mode borders * feat: add synced message preferences and connected app logos * feat: add provider-independent voice dictation with live waveform * feat: add live voice conversations and thread summaries Support OpenAI Realtime and Grok voice adapters with agent tool delegation, persistent transcripts and summaries, and context shared with text chat. Add a floating call widget, refine its controls and avatars, and group browser activity into compact disclosures. * docs: describe voice and conversation experience updates * fix: configure microphone access for the macOS app * fix: summarize voice calls with the configured chat provider * fix: refresh voice previews safely after summary retries * test: include voice sessions in chat history fixtures * fix: keep waveform accessibility compatible with current lint rules * docs: clarify voice summary credentials and retry behavior * test: serve voice history in failed-send attachment fixtures * test: isolate desktop connection failure state across suites | 1 month ago | |
feat(computer): download generated workspace files (#698) * feat(computer): download generated workspace files * docs: note generated file downloads * Let the Cloud computer use switch refuse workspace downloads download_file was not one of the intents the switch gates, so a member could still download workspace files after an administrator turned Cloud computer use off. It now needs the same capability as reading or writing those files. --------- Co-authored-by: David McKay <david@copilotkit.ai> | 1 month ago | |
feat(computer): download generated workspace files (#698) * feat(computer): download generated workspace files * docs: note generated file downloads * Let the Cloud computer use switch refuse workspace downloads download_file was not one of the intents the switch gates, so a member could still download workspace files after an administrator turned Cloud computer use off. It now needs the same capability as reading or writing those files. --------- Co-authored-by: David McKay <david@copilotkit.ai> | 1 month ago | |
Install self-hosted Intelligence with OpenBot from one Helm chart (#1019) OpenBot's Helm chart installs self-hosted CopilotKit Intelligence 0.16.0-rc.2 with it, wired up by itself: a vanilla OpenBot is one helm install plus a secrets file with the licence and the model key. Fixes found on the way, each with a regression test: Bot-to-Bot handoff answers under the helper's name, conversation titles from the person's words, routines asked for in a conversation, Learning review in Admin, secret changes rolling the pods that read them, and conversation naming on Anthropic. | 18 days ago | |
Finish a Claude Agent SDK Bot's turn when it searches its tools in the same step as an app call (#1504) In one step the model called an app tool OpenBot runs and Claude Code's own ToolSearch. Claude Code ran the app tool first, so the harness ended its run for that result with the search still to run. OpenBot ran the app tool, then took the search for a call the browser would answer and ended the turn: no answer, no error, and the harness left waiting until its timeout. The tools a harness runs itself (ToolSearch and Read) are now named once, in shared/harness-own-tools.ts, and held to the adapter's list by a test. A call to one of them no longer ends a run for the caller: OpenBot sends its own results back, and Claude Code runs the search and answers. The learned-skills middleware follows the same rule. A run that still ends on such a call with nothing for anyone else to answer now says the Bot stopped before it finished, instead of ending silently. Co-authored-by: David McKay <david@copilotkit.ai> Co-authored-by: David McKay <davidmckayv@users.noreply.github.com> | 11 days ago | |
Finish a Claude Agent SDK Bot's turn when it searches its tools in the same step as an app call (#1504) In one step the model called an app tool OpenBot runs and Claude Code's own ToolSearch. Claude Code ran the app tool first, so the harness ended its run for that result with the search still to run. OpenBot ran the app tool, then took the search for a call the browser would answer and ended the turn: no answer, no error, and the harness left waiting until its timeout. The tools a harness runs itself (ToolSearch and Read) are now named once, in shared/harness-own-tools.ts, and held to the adapter's list by a test. A call to one of them no longer ends a run for the caller: OpenBot sends its own results back, and Claude Code runs the search and answers. The learned-skills middleware follows the same rule. A run that still ends on such a call with nothing for anyone else to answer now says the Bot stopped before it finished, instead of ending silently. Co-authored-by: David McKay <david@copilotkit.ai> Co-authored-by: David McKay <davidmckayv@users.noreply.github.com> | 11 days ago | |
Engines keep each organization apart: Claude plan queries, and every harness on its run's own gateway token (#1898) * LangGraph TypeScript engine: a Claude plan's query is named per organization too One Claude engine serves every organization of an OpenBot. The engine named a Claude plan's query by (Bot, thread) alone, so the same thread id for a Bot of the same id in two organizations went to one query: one transcript and one set of turns for both. The server now names the run's organization in forwardedProps.openbotOrganization, and the engine joins it to the query's name. A run with no organization keeps the name it always had, so a thread that already has a query keeps it. * LangGraph harness: call the model with the run's own gateway token when the server sends one One harness serves every organization of an OpenBot, and the key in its environment is the deployment's gateway token, which means one organization. Where more than one organization is allowed the server refuses that token, so every model call has to say which organization it is for. The server now sends the harness it runs the token it mints for each run, in the run's organization (forwardedProps.openbotModelRoute), as it already does for the LangGraph TypeScript engine. The harness calls an OpenAI or Anthropic model with that token as its key; a plan's route carries none, and a run without a route keeps the key in the environment. The route and openbotOrganization are server props, kept out of graph state and never passed to the model. fake_provider can now write down the key each request presented. * LangGraph harness: read the run's gateway token where a run's settings may not carry one The compose probe stands in for the run's settings with an object that has only a model and an effort. Read the token as _retries reads send_once, so a settings object without it means no token. * Every harness calls the model gateway with its run's own token, in its organization One harness serves every organization of an OpenBot, and the key in its environment is the deployment's gateway token, which names one organization. Where more than one organization is allowed the gateway refuses that token, so the server sends each run a token of its own (forwardedProps.openbotModelRoute), and every harness now calls the gateway with it for that run. - Python harnesses (CrewAI, LlamaIndex, Agno, LangChain, Google ADK, Pydantic AI, Microsoft Agent Framework, Strands, AG2, Langroid): shared/run_model_key.py. RunModelKey reads the token from the run's body, takes the server's props out so no framework holds the token, and keeps it for the run; every httpx and httpx2 request to the gateway's path then carries it in place of the environment's key. The frameworks build their model clients once, at start, so the HTTP request is the one place they all meet. - Claude Agent SDK: Claude Code makes the calls from a process that lives across runs, so a query on the gateway is pointed back at the harness on a secret loopback path, which passes each call on with the newest token a run of that thread brought (src/run_model_proxy.py). - Mastra: the token arrives as the OpenBot model route context entry, and a run with one answers on a model that calls with it. - Antigravity reaches Gemini with Google's own key, never the gateway; its server props are still taken out. Only to the gateway: a request to any other address keeps its own key, and a run with no token keeps the environment's. This replaces the LangGraph harness's own reading of the token in the previous commit. Each harness has a test that calls a local stand-in for the gateway, at the gateway's paths, with a run that brings a token and one that does not, on both wires; each fails on main. * Claude Agent SDK harness: install httpx, which passes Claude Code's calls on to the gateway The image had no httpx: the harness's tests install it for themselves, the image does not. Found by the live run of the built image through the gateway. * Keep the model lock to model clients, and the compose probe's FastAPI in step httpx in the Claude Agent SDK harness is not a model client, so it is not pinned exactly: the model lock reads every exact pin in a harness's requirements as one. The compose probe's stand-in FastAPI takes add_middleware, which the LangGraph harness now calls. * Changelog: engines keep each organization apart | 3 days ago | |
New Bots run on LangGraph (TypeScript) (#1805) New Bots, made on the web or in Desktop, run on the LangGraph (TypeScript) engine with whatever AI connection the person has: an Anthropic, OpenAI or Gemini API key, a Gemini sign-in, or a ChatGPT plan. A Claude plan keeps the Claude engine. Existing Bots, check-ins and orchestrator turns stay on the built-in engine, and OPENBOT_DEFAULT_BOT_ENGINE=built-in sends new Bots back to it. A Bot's Setup names the engine it runs on. Desktop downloads each plan's image only for the plan that uses it, and publishes the Bot on its own port after an update moves its image. Fused from #1781, #1780, #1783, #1788, #1795, #1796, #1797 and #1798. Tested with engine tests and real runs on each provider, live journeys in Chromium and WebKit, Desktop on Mac and Windows, and a Windows update from 1.0.3 on this head: the room check passed, the Bot moved to its own port, no unused plan image was pulled, and the old Bot and conversation carried over. | 5 days ago | |
New Bots run on LangGraph (TypeScript) (#1805) New Bots, made on the web or in Desktop, run on the LangGraph (TypeScript) engine with whatever AI connection the person has: an Anthropic, OpenAI or Gemini API key, a Gemini sign-in, or a ChatGPT plan. A Claude plan keeps the Claude engine. Existing Bots, check-ins and orchestrator turns stay on the built-in engine, and OPENBOT_DEFAULT_BOT_ENGINE=built-in sends new Bots back to it. A Bot's Setup names the engine it runs on. Desktop downloads each plan's image only for the plan that uses it, and publishes the Bot on its own port after an update moves its image. Fused from #1781, #1780, #1783, #1788, #1795, #1796, #1797 and #1798. Tested with engine tests and real runs on each provider, live journeys in Chromium and WebKit, Desktop on Mac and Windows, and a Windows update from 1.0.3 on this head: the room check passed, the Bot moved to its own port, no unused plan image was pulled, and the old Bot and conversation carried over. | 5 days ago | |
New Bots run on LangGraph (TypeScript) (#1805) New Bots, made on the web or in Desktop, run on the LangGraph (TypeScript) engine with whatever AI connection the person has: an Anthropic, OpenAI or Gemini API key, a Gemini sign-in, or a ChatGPT plan. A Claude plan keeps the Claude engine. Existing Bots, check-ins and orchestrator turns stay on the built-in engine, and OPENBOT_DEFAULT_BOT_ENGINE=built-in sends new Bots back to it. A Bot's Setup names the engine it runs on. Desktop downloads each plan's image only for the plan that uses it, and publishes the Bot on its own port after an update moves its image. Fused from #1781, #1780, #1783, #1788, #1795, #1796, #1797 and #1798. Tested with engine tests and real runs on each provider, live journeys in Chromium and WebKit, Desktop on Mac and Windows, and a Windows update from 1.0.3 on this head: the room check passed, the Bot moved to its own port, no unused plan image was pulled, and the old Bot and conversation carried over. | 5 days ago | |
fix(config): accept the Intelligence runtime key written by the CLI (#810) * fix(config): accept the Intelligence runtime key written by the CLI * fix(desktop): keep selected Intelligence project authoritative * fix(setup): remove legacy key copy and clarify configuration errors | 26 days ago | |
Management agent: refuse an upgrade when the backup would be of another database (#1902) * Management agent: refuse an upgrade when the backup would be of another database Before the backup that comes ahead of a migrating upgrade, and before anything is quiesced, the agent now confirms that the database its backup values name is the database the product's server uses. A restore always makes a new database server, and the agent's backup values are a separate copy of where the database is: they can drift back to the old server (a helm upgrade --reuse-values from an earlier revision does exactly that), and a backup of the wrong database before a migration defeats the backup. The product's side comes from the server's /release (the host of its database, never credentials); the backup's side from the cloud, through the chart's backup-target Job, which runs under the backup's own identity and writes where the instance, cluster or server answers to its termination message. They match by instance connection name, host name, or address (a CNAME of the endpoint). A mismatch, or anything unknown, stops the upgrade in recovery-required with the reason in the journal and the heartbeat, with nothing touched. backup.kind=command is not checked. * Management agent: let servers from before the database field upgrade, with a warning Servers released before /release named their database (every 1.1.x install today) would have had every migrating upgrade refused, so no managed install could move to a release that reports it. When a server reports no database and its version is older than v1.1.3, the first release that can carry the field (1.1.2 was cut before it), the agent skips the check, journals the warning ("backup target not verified: server predates the check") and the heartbeat carries it until the next promotion. A server at or after v1.1.3 that reports nothing, an unknown version, and any mismatch are still refused. | 4 days ago | |
Read a status, role or kind a newer server adds as other (#1812) The web app and the phone app read a status, role or kind they don't know as "other" instead of failing. A newer server can then add a value to a growing response list without breaking an older app. Assignable roles and network scope kinds the app sends back stay limited to values it knows. Screen fallback tests: app 12 failing before, 13 passing after; mobile 2 failing before, 3 passing after. | 5 days ago | |
Read an empty Bot PORT as unset, so NaN never reaches Bun.serve (#395) agent-bot and agent-langgraph still used Number.parseInt(process.env.PORT ?? default). Empty PORT= is not undefined, so parseInt yielded NaN and Bun.serve bound an ephemeral port while compose published 4200/4201. Prefix typos started on the numeric prefix. Same trap as supervisor #343. Co-authored-by: David McKay <david@copilotkit.ai> | 2 months ago | |
Read an empty Bot PORT as unset, so NaN never reaches Bun.serve (#395) agent-bot and agent-langgraph still used Number.parseInt(process.env.PORT ?? default). Empty PORT= is not undefined, so parseInt yielded NaN and Bun.serve bound an ephemeral port while compose published 4200/4201. Prefix typos started on the numeric prefix. Same trap as supervisor #343. Co-authored-by: David McKay <david@copilotkit.ai> | 2 months ago | |
Management contract: the install's own id on an enrollment start (#1968) An optional instanceId (a UUID the server makes once and keeps), so the service keys one live install on the organization and instanceId, and two installs at the chart's default address under one licence no longer collide. | 3 days ago | |
Show Mastra's current mark (#1822) The Mastra mark was Mastra's old orb. Mastra rebranded in November 2025, and the icon set most of our marks come from still ships the old one. shared/marks/mastra.svg now holds the current mark's outline exactly as Mastra publishes it (mastra.ai/favicon/new-brand/icon.svg), drawn in one colour at the size of the other single-colour marks, with its source row in shared/marks/README.md. The New Bot sheet, the agent sheet, the Agents list and Desktop's setup window all read this file. Tested: shared/marks.test.ts fails on main's file (old orb present) and passes with the new mark; the harness and harness-mark tests pass. Screenshots in Chromium and WebKit, light and dark, of the New Bot list, the chosen Mastra row, the agent sheet and the Agents list: the mark matches its neighbours in size and alignment. | 5 days ago | |
Offer a model only when the model check has proven it on the Bot's engine (#1779) The model picker offers a model only when the model check has proven it answers on the Bot's engine. shared/model-lock.json records, per engine and provider, which models are verified, and which are refused and why. It is regenerated from a CI run of every listed model through the client each engine ships. A conversation saved on a model that is no longer offered shows a notice and falls back to the engine's default. Guards, each failing before and passing after: - the lock must match the engine pins and package-lock.json, so a client upgrade without a re-check fails CI; - the default engine must have at least one verified model. A model the provider has retired ("no longer available to new users") counts as refused, and a failing model is asked once more before it counts. Gemma 4 is refused wherever its reasoning leaks into the answer. Browser check on this head, Chromium and WebKit, light and dark: 46 of 46. The Claude Agent SDK engine offers Opus 5.5, Fable 5.2, Sonnet 5.5 and Haiku 5.5. A Google Bot hides the gemini-omni, Gemma 4 and gemini-2.5-flash-lite models. | 5 days ago | |
Offer a model only when the model check has proven it on the Bot's engine (#1779) The model picker offers a model only when the model check has proven it answers on the Bot's engine. shared/model-lock.json records, per engine and provider, which models are verified, and which are refused and why. It is regenerated from a CI run of every listed model through the client each engine ships. A conversation saved on a model that is no longer offered shows a notice and falls back to the engine's default. Guards, each failing before and passing after: - the lock must match the engine pins and package-lock.json, so a client upgrade without a re-check fails CI; - the default engine must have at least one verified model. A model the provider has retired ("no longer available to new users") counts as refused, and a failing model is asked once more before it counts. Gemma 4 is refused wherever its reasoning leaks into the answer. Browser check on this head, Chromium and WebKit, light and dark: 46 of 46. The Claude Agent SDK engine offers Opus 5.5, Fable 5.2, Sonnet 5.5 and Haiku 5.5. A Google Bot hides the gemini-omni, Gemma 4 and gemini-2.5-flash-lite models. | 5 days ago | |
Offer a model only when the model check has proven it on the Bot's engine (#1779) The model picker offers a model only when the model check has proven it answers on the Bot's engine. shared/model-lock.json records, per engine and provider, which models are verified, and which are refused and why. It is regenerated from a CI run of every listed model through the client each engine ships. A conversation saved on a model that is no longer offered shows a notice and falls back to the engine's default. Guards, each failing before and passing after: - the lock must match the engine pins and package-lock.json, so a client upgrade without a re-check fails CI; - the default engine must have at least one verified model. A model the provider has retired ("no longer available to new users") counts as refused, and a failing model is asked once more before it counts. Gemma 4 is refused wherever its reasoning leaks into the answer. Browser check on this head, Chromium and WebKit, light and dark: 46 of 46. The Claude Agent SDK engine offers Opus 5.5, Fable 5.2, Sonnet 5.5 and Haiku 5.5. A Google Bot hides the gemini-omni, Gemma 4 and gemini-2.5-flash-lite models. | 5 days ago | |
New Bots run on LangGraph (TypeScript) (#1805) New Bots, made on the web or in Desktop, run on the LangGraph (TypeScript) engine with whatever AI connection the person has: an Anthropic, OpenAI or Gemini API key, a Gemini sign-in, or a ChatGPT plan. A Claude plan keeps the Claude engine. Existing Bots, check-ins and orchestrator turns stay on the built-in engine, and OPENBOT_DEFAULT_BOT_ENGINE=built-in sends new Bots back to it. A Bot's Setup names the engine it runs on. Desktop downloads each plan's image only for the plan that uses it, and publishes the Bot on its own port after an update moves its image. Fused from #1781, #1780, #1783, #1788, #1795, #1796, #1797 and #1798. Tested with engine tests and real runs on each provider, live journeys in Chromium and WebKit, Desktop on Mac and Windows, and a Windows update from 1.0.3 on this head: the room check passed, the Bot moved to its own port, no unused plan image was pulled, and the old Bot and conversation carried over. | 5 days ago | |
New Bots run on LangGraph (TypeScript) (#1805) New Bots, made on the web or in Desktop, run on the LangGraph (TypeScript) engine with whatever AI connection the person has: an Anthropic, OpenAI or Gemini API key, a Gemini sign-in, or a ChatGPT plan. A Claude plan keeps the Claude engine. Existing Bots, check-ins and orchestrator turns stay on the built-in engine, and OPENBOT_DEFAULT_BOT_ENGINE=built-in sends new Bots back to it. A Bot's Setup names the engine it runs on. Desktop downloads each plan's image only for the plan that uses it, and publishes the Bot on its own port after an update moves its image. Fused from #1781, #1780, #1783, #1788, #1795, #1796, #1797 and #1798. Tested with engine tests and real runs on each provider, live journeys in Chromium and WebKit, Desktop on Mac and Windows, and a Windows update from 1.0.3 on this head: the room check passed, the Bot moved to its own port, no unused plan image was pulled, and the old Bot and conversation carried over. | 5 days ago | |
gpt-5.4 and gpt-5.5 take tools on the Responses API (#1786) OpenAI refuses function tools on Chat Completions for the gpt-5.4 and gpt-5.5 families (snapshots, -mini and -nano included) once a run carries a reasoning effort: "Function tools with reasoning_effort are not supported for gpt-5.5 in /v1/chat/completions." On the Responses API they take tools with or without one. requiresResponsesApi now names them, and its two Python mirrors match, so every Bot that decides by the rule (the built-in Bots behind a gateway, agent-langgraph-agui, agent-ag2, agent-langroid) sends them there. gpt-5, gpt-5.1 and gpt-5.2 take tools and an effort on either API and stay on Chat Completions. | 6 days ago | |
A Bot can hold hundreds of tools, and finds the ones it needs with search (#966) * Name the most tools one model request may carry * Mark the granted tools that may wait behind a search * Let a Bot find its tools with search_tools, and send each step only what it found * Mark an app's tools searchable, and count the waiting ones in what a Bot is told * Report the tools the chosen skills asked for, so search keeps them in front of the model * Hold a run to Chat Completions' tool limit, read from the API the runtime resolves * Check a run's tools before its model call, leaving out what waits behind search * Put a large Bot's app tools behind search, and refuse a run its model would refuse * Record a run refused for sending too many tools * Pass the tool-limit recorder to each person's Bots * Write a tool-limit refusal to the audit log * List a tool-limit refusal under Blocked * Label a tool-limit refusal in the audit log * Test a 279-tool Bot on OpenAI Responses, Chat Completions and Anthropic * Say in the changelog that a Bot can hold hundreds of tools * Keep room for tool search and include client tools in its plan * Share the search tool's name between the server and the conversation * Keep found tools for the last few turns, relax their strict schemas, and treat app descriptions as untrusted * Say whose limit a refused run met, and make its audit row testable * Count waiting tools only when search really holds them, and give searching runs two more steps * Read a tool's system the same way tool search does * Record tool-limit refusals through the shared recorder * Show a tool search in the conversation in words * Test tool search against LLMock, over long threads, narrowed runs and injected descriptions * Describe how a Bot holds more tools than one request carries * Say that the tool-limit refusal applies wherever search runs | 20 days ago | |
gpt-5.4 and gpt-5.5 take tools on the Responses API (#1786) OpenAI refuses function tools on Chat Completions for the gpt-5.4 and gpt-5.5 families (snapshots, -mini and -nano included) once a run carries a reasoning effort: "Function tools with reasoning_effort are not supported for gpt-5.5 in /v1/chat/completions." On the Responses API they take tools with or without one. requiresResponsesApi now names them, and its two Python mirrors match, so every Bot that decides by the rule (the built-in Bots behind a gateway, agent-langgraph-agui, agent-ag2, agent-langroid) sends them there. gpt-5, gpt-5.1 and gpt-5.2 take tools and an effort on either API and stay on Chat Completions. | 6 days ago | |
Ask once for a star on GitHub, on the personal edition, after real use (#1553) On the personal edition only, a card above the message box asks once: "Enjoying OpenBot? Star it on GitHub so that we can keep making it better." with Not now and Star on GitHub. It shows only after the person has used OpenBot on three separate days and has just had a win (copied a Bot's answer, a routine ran, or a long task finished), never right after an error. Either answer is kept on the person's account, so no device asks again. Settings > General gains a "Star OpenBot on GitHub" row on the personal edition. The answer is kept in a general list of dismissed notices on the person's preferences, and shown, clicked and dismissed are recorded as general nudge events, so later nudges need no new API. Tested in Chromium and WebKit, light and dark, on a personal-edition stack. | 6 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
Show what OpenBot did by itself on Activity as started by OpenBot, in words (#1184) After an upgrade that added seven goal tools to Routines, Settings > Activity listed twenty-one rows at the moment the app started, one per tool for each Bot, each "Change a setting" over the tool's internal name and "Started by a person". Nobody did anything: OpenBot gives every Bot Routines' tools at every start. The grant named OpenBot as its actor (openbot:always-on), but the row was written with no initiator, which the trail reads as a person. A fresh install did the same for every Routines tool, every skill, Parallel's tools, and each component the build published on the first page load. The plugin store now records a row whose actor is OpenBot itself (openbot:..., or deployment for a refresh it ran on its own) as started by OpenBot, through one rule in shared/openbot-actor.ts. Giving every Bot an app's tools writes one row per Bot naming all the tools given, not one per tool. A build's new component is recorded as published by OpenBot, not by whoever's page announced it. Activity says what changed in words: "Give a Bot tools" over "Complete goal, create goal and 5 more on Routines", "Give a Bot a tool" over "Send email on Gmail", and the app's name under a tool call where the internal name used to be. Admin keeps the stored names under the words. Rows recorded before this cannot be rewritten (the trail is append-only), so Activity reads them by their own actor and shows them as started by OpenBot, in the same words, one row per tool as written. | 16 days ago | |
Apps work in one organization at a time: delete an organization, keys and events by organization, the phone's switcher, the Recorder's organization (#1900) * Apps work in one organization at a time: delete an organization, keys and events by organization, the phone's switcher, the Recorder's organization Web: an owner deletes an organization from its settings after typing its name; the server's refusal (a person's own organization, default, an unfinished delete) is shown in its own words, and the person moves to another of their organizations. Each API key's row names the organization it acts in (a key from before binding acts in default), and Create says where the key will work. Conversation events about another organization are ignored; events that name none are taken as before. Phone: a switcher on Home for a person in several organizations. The pick is kept on the phone and used while it is still one of theirs. Every signed-in request names its organization in OpenBot-Organization, the deployment is read in the person's organization once signed in rather than default, and signing out removes the device from each organization. Recorder: the connection keeps the organization its grant names and every request after the connect goes there, falling back to default when the grant names none. * Learning names each organization's own default, in every organization Every organization learns in a backend project of its own, with the openbot container assigned there, so the server names no container kept for an organization alone (organizationSpaceId is null) in any of them. The page took that to mean the deployment's container and said "Deployment default" in every organization. Where the person works in one of several organizations, the default is now that organization's: the picker, each Bot's choice, the note on what was assigned automatically and the section's description all name it. An OpenBot that keeps one organization and lists none reads as before. * Phone: signed out, read the deployment in default whatever cookies sign-in left behind The deployment, which says how people sign in, was read in the person's organization whenever the phone held any cookie. Sign-in leaves cookies of its own (an unfinished sign-in's state, an expired or revoked session), and reading the person's organizations with one of those is refused, so the signed-out screen lost its sign-in buttons and read "Authentication required". Whether somebody is signed in is now the session's answer: the deployment is read in the person's organization only with a live session, and in default otherwise, or when that session turns out to have ended. A request whose organization can't be read goes without the OpenBot-Organization header rather than failing. * Phone: read default's deployment as nobody, once the session has answered, and read the session again when it is refused On a cold start the session hadn't answered yet, so Home's signed-out read of the deployment ran and went to default with the person's own cookie and OpenBot-Organization: default. A signed-in person who isn't a member of default is refused there as not found, and Home kept showing "Couldn't find that organization." Default's deployment answers anybody, so it is now read with no cookie and no organization. Neither Home's read nor the update check runs until the session has answered, a signed-in person's read falls back to default on a 404 as well as a 401, and Home no longer shows the signed-out screen's error once somebody is signed in. With the app open, a session revoked elsewhere left Home on the signed-in screen saying "Authentication required." until the app was opened again. A request sent with the session and refused as signed out now says so, and the root layout reads the session again, so a session that is gone goes back to the sign-in buttons. * Sign in to a hosted OpenBot with an OpenBot by CopilotKit account Where the deployment says people sign in through the hosted sign-in (hostedSignIn), the sign-in screen offers "Continue with OpenBot by CopilotKit" first, drawn like the other ways in. It is a link to /api/auth/hosted/sign-in, whose returnTo is where sign-in would have brought the person: the app, or an app account's verifier when they were part-way through connecting one. A hosted OpenBot with no other way in no longer says sign-in isn't set up. * Invitations on a hosted OpenBot: emailed by OpenBot by CopilotKit, with no link to copy On a hosted OpenBot (the deployment's hostedSignIn) an invitation arrives as an email from OpenBot by CopilotKit and is accepted from that email, and no OpenBot link accepts it. The Invite dialog now says so there, and a waiting invitation's row offers only Cancel. Self-hosted OpenBot and OpenBot Desktop read as before. * Phone: move off an organization the person was removed from, and keep each person's own pick Removed from the organization they worked in while the app was open, the person stayed in it, ticked, with "Couldn't find that organization.", and every list kept asking it until the app was opened again. Its "not found" now makes the phone forget it: the next request reads their organizations again and works in another of theirs, Home reads them again too, and somebody left in none is told so. The pick of organization was kept for the phone, so a phone two people share opened in the last person's organization when the next one was a member of it too. It is now kept for each person on each OpenBot, by who the sign-in client says is signed in. * Phone: Home for somebody in no organization offers only Try again and Sign out Left in no organization, Home said so and still offered Needs you, approvals, Bots, Memory, notifications and conversations, all of which act on an organization, and asked for conversations it couldn't have. Home for somebody in no organization is now its own: the sentence, Try again (which reads their organizations afresh) and Sign out. Signing out works there too: there is no organization to take the phone off. * Web: a page for somebody signed in to no organization, and the sign-in screen for them as for anybody Signed in and removed from their last organization, a person got the router's raw "Something went wrong!" box on every page, the sign-in screen too, with no Sign out and no way back in. Every page now answers with a page of its own in the sign-in screen's layout: the sentence, Try again, Sign out, and on a hosted OpenBot "Continue with OpenBot by CopilotKit", which picks up a membership added again there. The sign-in screen shows as for anybody. What the deployment offers is read as nobody for somebody in no organization, being in none isn't retried or reported as a fault, and no raw error screen is shown for it anywhere. * Recorder: say which organization it records into The popup and the Connect page never said which organization a recording goes to. The connection keeps the organization's name its grant gives (organizationName), the popup reads OpenBot's latest answer (RecorderIdentity.organization) and falls back to the grant's, and says "Records into <organization> on <OpenBot>". An approved Connect says "It records into <organization>". Where OpenBot names no organization (one that keeps every connection in default), both read as before. * Renew a hosted OpenBot's sign-in without asking, and never take it for being signed out On a hosted OpenBot an admin action whose proof ran out is refused with 401 HOSTED_SIGN_IN_RENEWAL_REQUIRED, naming where sign-in renews it (OpenBot-Sign-In). The web app now sends the page through that sign-in and back to where it was, with a marker, which takes no clicks for somebody still signed in there; back, it reads everything again and says the person is signed in again, in case what they did needs doing again. Refused again within two minutes, it offers Sign in again to that address instead of going round in a loop. Neither the web app nor the phone takes this 401 for being signed out: the current user and the list of organizations read it as a failure, not as nobody signed in, and the phone doesn't read its session again for it. * Send the write a hosted sign-in renewal interrupted again, once, with its own Idempotency-Key Web: before the page goes through the hosted sign-in, the write that was refused for renewal is kept exactly as it was sent (address, method, body, headers with its Idempotency-Key) in session storage. Back with the marker, it is taken and sent again once, with the same key, so a write that did land is answered as a repeat and never done twice; the page then reads everything again and says it's done, or shows the server's refusal. Only writes carrying an Idempotency-Key are kept; reads are simply read again. Phone: on the same refusal the phone opens the hosted sign-in in the in-app browser, as sign-in does, then sends the request again once with the same Idempotency-Key. Refused for renewal again, Home offers Sign in again, and it never renews in a loop. * Read the person's organizations under the app's retry rule The list of organizations carried a retry rule of its own (one retry, never for being in no organization), which replaced the one the query client is given. With retries turned off it still asked a failed read again a second later, so a screen waiting for the app's reads to settle waited past its timeout. Being in no organization is now never retried by the query client itself, for every read, and the list keeps the client's rule. * Open the account menu once the unreadable invitations have failed The test for invitations that could not be read opened the menu while the read was still in its one retry, a second's wait. Until that retry fails too the menu offers no Invitations entry, so on a busy runner the entry came after findByRole gave up. It now waits for the read to have failed before opening the menu. * Organization settings: list members who haven't opened OpenBot yet On a hosted OpenBot the member list can include somebody who is a member at OpenBot by CopilotKit and hasn't opened OpenBot yet (notOpenedYet). Their row shows their role from the answer and says "Hasn't opened OpenBot yet". It offers no Role menu and no Remove, whatever else the answer says, and opens no page of theirs. Without an address the row shows their name, and without either it shows "Unnamed member" with a person's mark in place of initials. The audit page no longer names anybody by an empty address. * Offer Remove on a not-yet-opened member wherever the server says they can be removed Remove on a member's row follows removable alone, for somebody who hasn't opened OpenBot yet as for anybody else, and goes through the same remove-member request with the row's id. Their row still offers no Role menu. * Show a computer refused for good as a calm blocked state, without Try again At the organization's computer limit the server refuses opening a computer with retryable: false, and asking again can't succeed. Teach a Bot showed that refusal in red over a Try again, and the Bot's screen beside a conversation swallowed it and said the computer starts when the Bot next uses it. Now a refusal the server marks as not retryable is shown in the app's empty-state style, with a heading and the server's sentence, and nothing to press: on Teach a Bot's opening browser, its Open it again, its desktop-window steps (Show browser, and Open browser and record at the limit), and the Bot's screen when opening it asks the computer to start. At the computer limit an admin also gets a link to Computers, where stopping one makes room. A refusal that may pass keeps its Try again. * Remove dialog: say what removing a member who hasn't opened OpenBot yet does They never made anything here, so the dialog no longer says what they made stays. It says that removing them takes them out of the organization, and that they haven't opened OpenBot yet. * Identity providers outside default: an organization's own, for its members * Require SSO in an organization: its members link their company account A member an organization holds out until they sign in through their company (SSO_REQUIRED) saw the router's error box with no way in. Every page now answers with one that says why in the server's sentence and offers Link your company account, which signs in through a provider that counts for the organization, by its id, while signed in, so the server links it to their account. Several providers are a button each, by domain. Sign out is always there. The refusal is an answer, never retried or reported. Settings, General offers the same link, or says the company account is linked. On Identity providers outside default, the providers set up for all of OpenBot are listed as counting there too, read-only. * Settings: the company account's link on a line of its own Beside the row's sentence the long button squeezed it to a word a line in a narrow window. It sits under the row, in line with its words. * A computer refused a start offers no Take control and no Record At the computer limit the Bot's screen says it can't start, but its tile still offered Take control, and the full-size view Take control and Record, on a computer with no screen to drive. While starting it is refused they are not drawn, and the Bot's browser is not read. * Beside a conversation, a computer at the limit says so in full, with the admin's link to Computers The tile drew the blocked state inside its own button, under the control bar, so the sentence was cut off and an admin had no link to Computers. It is now drawn over the tile, beside the button, without the icon so it fits, and the admin's Open Computers is a link that can be pressed. * Held out of one organization, switch to another from its page Require SSO holds a member out of that organization only, and they keep working in their others, but its page offered only Link and Sign out. It now offers Switch organization, listing their other organizations as the account menu does, and opens the app at home in the one they pick. It is not drawn when they have no other. * Computers on a hosted OpenBot: no folders section Only the OpenBot that OpenBot Desktop runs on the person's own computer can be given a folder from it; connected to a hosted one, the desktop app never can. Admin, Computers said "Needs OpenBot Desktop" there anyway, sending people to something that could not help. On a hosted OpenBot (hostedSignIn) the section is not drawn. Self-hosted outside the desktop app still says what it needs. * Held page: after a switch, load the app afresh at home On a real OpenBot the switch took (the new organization's reads all answered) but the page went on showing the gate's refusal from before it, with the Link gone, until a reload. Once the server and the app both work in the picked organization, the page now loads the app afresh at home there. The test's server answers as a real one did: the held organization's deployment read refused, and the new organization's company sign-in empty. * Phone: a member held out by Require SSO can link their company account Home showed the server's refusal as an error, with no way to do the company sign-in it asked for. It now reads the organization's company sign-in and, while it holds the person out, shows Link your company account (a button per provider, by domain, when there are several), which signs in through the provider by its id in the system browser while signed in, plus Switch organization and Sign out. The phone's client now includes the People area, for getCompanySignIn. * Identity providers: the deployment's don't count where an organization has its own When an organization has identity providers of its own, only those count for its Require SSO; the deployment's count only while it has none. Each of the deployment's rows then says "Not used for this organization's rule", and the section says why. With none of its own, they read as before. * Recorder: held out by Require SSO, say so and open OpenBot to sign in with the company While the organization it records into held the person out (SSO_REQUIRED), the popup said only that OpenBot does not let them record. It now says, in the Recorder's own words and never the answer's, that their organization requires signing in through their company, with Sign in with your company, which opens OpenBot, where every page offers Link your company account. * Phone: link the company account through a single-use ticket (flow) * Phone: link the company account through a single-use ticket The system browser has no OpenBot session, so starting company sign-in there could not link it to the person. The phone now asks for a single-use ticket on each tap (createCompanySignInTicket, a new Idempotency-Key every time), opens it at once in the system browser, then reads the company sign-in again to see whether the hold lifted. A provider that no longer counts reads the list again instead of opening anything. Regenerates the phone client for the ticket operation. * Format the phone's company-account link and its test * Move to the held page as soon as an organization begins to require company sign-in When Require SSO is turned on while someone has OpenBot open, the server closes their sockets with 4403 and refuses every request with SSO_REQUIRED, but the page stayed on Home until the next load. Now the first SSO_REQUIRED answer to any read or write, or the events socket closing with 4403, swaps the signed-in app for the held page at once, with Link your company account. The socket is not reconnected. The hold is dropped when the person works in another organization. * Read the deployment as nobody until the person's organization is known On first load the app asked default for the deployment with the person's session before it knew their organizations, and a signed-in person outside default was answered 404 (the page then fell back, but the console showed the refusal). Before the organization is known it is now asked at default without cookies, which the server answers to anybody, and afterwards in the person's organization. Inside Desktop on the OpenBot on this computer it is still asked with cookies, which that OpenBot needs. The reachability check asks the same way. * Recorder: say Learning capture is paused for company sign-in, not an unknown answer While the person's organization holds them out (Require SSO), the capture pass is refused with 403 SSO_REQUIRED, and the popup's Learning capture card read "an answer the Recorder does not know (403)" above the company sign-in block. The pass table now has a row for it: held, with the events kept and tried again every 5 minutes, and a sentence that points at Sign in with your company below. * Phone: come back from linking the company account by OpenBot's deep link OpenBot's linked page now sends the browser to openbotmobile://company-sign-in/linked. The system browser's session ends there, and the app reads the company sign-in again. The same link opening the app outside the session (the page's Open OpenBot button) has its own screen, which reads it again too, so a hold that lifted leaves the held state. * Phone: ask for the company sign-in ticket with returnTo app With returnTo app, OpenBot's linked page sends the browser to the phone's deep link once the account is linked, so the browser's session ends by itself instead of waiting for the person to close it. Regenerates the phone client for the spec's new field. * Recorder tests: preload the same scripts from inside extension/ as from the root Bun reads bunfig.toml only from the directory it runs in, and extension/ had none. Run from there, nothing evaluated Base UI while a DOM existed (app/tests/preload.ts), so its layout effect was a no-op, the popup's Discard dialog never mounted, and its two tests failed every time at testing-library's one-second timeout while passing from the root. extension/bunfig.toml now declares the root's preload list, and the drift test holds it to the root's as it does app's. * Phone: back from linking, leave no second Home on the stack The linked deep-link screen redirected to Home, which replaced it with a new Home above the one already open, so Home showed a back arrow to itself. It now dismisses to Home (Expo Router's dismissTo): down to the Home beneath it, or Home in its place when the link started the app. The screen has no header or animation, since it is never seen. * Phone: open the company sign-in in the app's own task, so the Custom Tab goes when the app comes back On Android, expo-web-browser 55 opens a Custom Tab in a task of its own through a proxy activity, and can't close it afterwards (dismissBrowser is iOS only, coolDownAsync only lets go of a warmed-up browser). After the deep link back, the tab outlived the return and Back from Home landed on the company's sign-in form. It now opens with createTask false, in the app's own task above the app, where the deep link bringing the app's activity forward takes it away. Opening the app from its icon mid-sign-in now ends the session as dismissed; the company sign-in is read again and Link opens a new ticket. * Phone: back from linking after the process died, leave no Custom Tab below Home When the app's process died mid-sign-in, its task kept only the browser's Custom Tab. The linked deep link (NEW_TASK and CLEAR_TOP) then had no MainActivity to clear down to, singleTask included, so a new MainActivity landed on top of the tab and Back from Home showed the sign-in form. A config plugin adds to Expo's generated MainActivity: created for openbotmobile://company-sign-in/linked while it isn't its task's root, it starts again with the same link in a task of its own (NEW_TASK and CLEAR_TASK, which takes the tab away) and finishes. Launches from the icon, returns from recents and the link while the app is open don't reach it. * Phone: load the cold-start plugin's MainActivity change without the phone's dependencies The repository's test shards install only the root workspaces, and the phone is an npm package of its own, so its test of the plugin failed to load expo/config-plugins there. The change to MainActivity is now the plugin's own (a marked block after super.onCreate, replaced on each prebuild), and expo/config-plugins is loaded only when expo prebuild runs the plugin. * Changelog: the apps' part of working in one organization at a time | 3 days ago | |
Desktop: OpenBot (Self-Contained), and OpenBot for Business (Cloud or Self-Hosted) books a call (#1765) * Desktop: OpenBot for Business books a call instead of asking for an address Picking OpenBot for Business on Desktop's first screen now shows the app's OpenBot for Business view: where it runs, what it adds, and the booking calendar inline. A calendar that can't load gives way to Book a demo, which opens the OpenBot for Business page in the browser, as the app does. Connecting this app to an OpenBot a company already runs moves to a link under the rows (Already have OpenBot at work? Connect to it.), which opens the same address field and Connect as before. The old Book a demo line goes, since the tile now books. The words and the Calendly event move to shared/openbot-for-business.ts so the app's dialog and Desktop read one copy. * Desktop: first screen offers OpenBot (Self-Contained), then OpenBot for Business with Cloud and Self-Hosted The first choice is OpenBot (Self-Contained): everything runs on this computer, for trying it or personal use, with Install and what this computer needs as before. OpenBot for Business is one card holding its two ways to run, Cloud and Self-Hosted (your own cloud or on-prem, with the AWS, Azure, Google Cloud and Kubernetes marks). Either one opens the booker. The separate OpenBot Cloud tile goes: Cloud is a way to get OpenBot for Business. Self-hosted is no longer used for this computer anywhere on the screen. The cloud marks are vendored in shared/marks: AWS, Azure and Google Cloud from @lobehub/icons-static-svg (MIT), Kubernetes from the CNCF's artwork repository. | 6 days ago | |
Say what the person told a task under its card in the conversation that started it (#1665) A person can open a task's thread and type into it. The conversation that asked for the work never heard of it, so its card went on describing the task as it was briefed. The latest thing the person told a task, when the task had asked them for nothing, is now one line under its card: their own words, on one line, replaced by the next thing they tell it. An answer to the task's own question is not a steer and is not shown. - Task gains steer (text and time) in the API spec. - A task's reports gain the kind steer: the words written into the conversation for its Bot to know of. The transcript draws no message for it, since the card says it once, and reads the task again when one lands. - steerWords is the rule that trims the words to one short line. | 9 days ago | |
A Bot answers in words, never with only a reaction (#2059) In a conversation a Bot answers the person in words. Reactions are for how a proactive Bot gets in touch later, not for chat. The standing instructions for a Bot that hands work to tasks told it to react with an emoji, as its whole answer, to a message that needed only an acknowledgement, and a Bot answered a "Hello" that opened a conversation with only a reaction. Those instructions now name two ways to answer a turn, both in words: answer a short ask directly, or say in a line what it will do and hand the work to a task. A greeting, a thank-you or an "ok" is a short ask, answered in a few words and never with only an emoji. The line telling the Bot to react is gone. The react tool's name and the list of reactions stay exported, so a conversation still draws the reactions and calls it already has. | 10 hours ago | |
Add the management agent's wire contract (#1850) Zod schemas for the heartbeat, its reply, signed commands and command results that the opt-in management agent and CopilotKit's management service both import, so the fields that cross the wire are defined once and readable in this repository. Every object is strict. Commands are signed with Ed25519 over their RFC 8785 canonical JSON (the canonicalize package, by an author of the RFC). readCommands accepts only commands that parse, verify against the configured public key, have not expired and were not issued in the future, and reports why it ignored each other one. | 4 days ago | |
OpenBot Desktop: Windows starts, simple upgrades, Teach a Bot in the window, and the P0 shakedown fixes (#1069) Windows starts, upgrades are one simple path with a database backup and rollback, Teach a Bot runs inside the window with on-device narration, and the P0 checklist's bugs are fixed with regression tests. Intelligence 0.16.0-rc.9 and CopilotKit 1.85.0. | 17 days ago | |
OpenBot Desktop: Windows starts, simple upgrades, Teach a Bot in the window, and the P0 shakedown fixes (#1069) Windows starts, upgrades are one simple path with a database backup and rollback, Teach a Bot runs inside the window with on-device narration, and the P0 checklist's bugs are fixed with regression tests. Intelligence 0.16.0-rc.9 and CopilotKit 1.85.0. | 17 days ago | |
Remove the Recorder's earlier addresses from the shared path table (#1695) The server no longer answers or reads the Recorder's earlier addresses, so they leave shared/recorder-api.ts and the client-boundary allowlist's temporary list. recorderPaths keeps the connect code the released Desktop shells ask for and the runtime's capture pass. | 8 days ago | |
Apps work in one organization at a time: delete an organization, keys and events by organization, the phone's switcher, the Recorder's organization (#1900) * Apps work in one organization at a time: delete an organization, keys and events by organization, the phone's switcher, the Recorder's organization Web: an owner deletes an organization from its settings after typing its name; the server's refusal (a person's own organization, default, an unfinished delete) is shown in its own words, and the person moves to another of their organizations. Each API key's row names the organization it acts in (a key from before binding acts in default), and Create says where the key will work. Conversation events about another organization are ignored; events that name none are taken as before. Phone: a switcher on Home for a person in several organizations. The pick is kept on the phone and used while it is still one of theirs. Every signed-in request names its organization in OpenBot-Organization, the deployment is read in the person's organization once signed in rather than default, and signing out removes the device from each organization. Recorder: the connection keeps the organization its grant names and every request after the connect goes there, falling back to default when the grant names none. * Learning names each organization's own default, in every organization Every organization learns in a backend project of its own, with the openbot container assigned there, so the server names no container kept for an organization alone (organizationSpaceId is null) in any of them. The page took that to mean the deployment's container and said "Deployment default" in every organization. Where the person works in one of several organizations, the default is now that organization's: the picker, each Bot's choice, the note on what was assigned automatically and the section's description all name it. An OpenBot that keeps one organization and lists none reads as before. * Phone: signed out, read the deployment in default whatever cookies sign-in left behind The deployment, which says how people sign in, was read in the person's organization whenever the phone held any cookie. Sign-in leaves cookies of its own (an unfinished sign-in's state, an expired or revoked session), and reading the person's organizations with one of those is refused, so the signed-out screen lost its sign-in buttons and read "Authentication required". Whether somebody is signed in is now the session's answer: the deployment is read in the person's organization only with a live session, and in default otherwise, or when that session turns out to have ended. A request whose organization can't be read goes without the OpenBot-Organization header rather than failing. * Phone: read default's deployment as nobody, once the session has answered, and read the session again when it is refused On a cold start the session hadn't answered yet, so Home's signed-out read of the deployment ran and went to default with the person's own cookie and OpenBot-Organization: default. A signed-in person who isn't a member of default is refused there as not found, and Home kept showing "Couldn't find that organization." Default's deployment answers anybody, so it is now read with no cookie and no organization. Neither Home's read nor the update check runs until the session has answered, a signed-in person's read falls back to default on a 404 as well as a 401, and Home no longer shows the signed-out screen's error once somebody is signed in. With the app open, a session revoked elsewhere left Home on the signed-in screen saying "Authentication required." until the app was opened again. A request sent with the session and refused as signed out now says so, and the root layout reads the session again, so a session that is gone goes back to the sign-in buttons. * Sign in to a hosted OpenBot with an OpenBot by CopilotKit account Where the deployment says people sign in through the hosted sign-in (hostedSignIn), the sign-in screen offers "Continue with OpenBot by CopilotKit" first, drawn like the other ways in. It is a link to /api/auth/hosted/sign-in, whose returnTo is where sign-in would have brought the person: the app, or an app account's verifier when they were part-way through connecting one. A hosted OpenBot with no other way in no longer says sign-in isn't set up. * Invitations on a hosted OpenBot: emailed by OpenBot by CopilotKit, with no link to copy On a hosted OpenBot (the deployment's hostedSignIn) an invitation arrives as an email from OpenBot by CopilotKit and is accepted from that email, and no OpenBot link accepts it. The Invite dialog now says so there, and a waiting invitation's row offers only Cancel. Self-hosted OpenBot and OpenBot Desktop read as before. * Phone: move off an organization the person was removed from, and keep each person's own pick Removed from the organization they worked in while the app was open, the person stayed in it, ticked, with "Couldn't find that organization.", and every list kept asking it until the app was opened again. Its "not found" now makes the phone forget it: the next request reads their organizations again and works in another of theirs, Home reads them again too, and somebody left in none is told so. The pick of organization was kept for the phone, so a phone two people share opened in the last person's organization when the next one was a member of it too. It is now kept for each person on each OpenBot, by who the sign-in client says is signed in. * Phone: Home for somebody in no organization offers only Try again and Sign out Left in no organization, Home said so and still offered Needs you, approvals, Bots, Memory, notifications and conversations, all of which act on an organization, and asked for conversations it couldn't have. Home for somebody in no organization is now its own: the sentence, Try again (which reads their organizations afresh) and Sign out. Signing out works there too: there is no organization to take the phone off. * Web: a page for somebody signed in to no organization, and the sign-in screen for them as for anybody Signed in and removed from their last organization, a person got the router's raw "Something went wrong!" box on every page, the sign-in screen too, with no Sign out and no way back in. Every page now answers with a page of its own in the sign-in screen's layout: the sentence, Try again, Sign out, and on a hosted OpenBot "Continue with OpenBot by CopilotKit", which picks up a membership added again there. The sign-in screen shows as for anybody. What the deployment offers is read as nobody for somebody in no organization, being in none isn't retried or reported as a fault, and no raw error screen is shown for it anywhere. * Recorder: say which organization it records into The popup and the Connect page never said which organization a recording goes to. The connection keeps the organization's name its grant gives (organizationName), the popup reads OpenBot's latest answer (RecorderIdentity.organization) and falls back to the grant's, and says "Records into <organization> on <OpenBot>". An approved Connect says "It records into <organization>". Where OpenBot names no organization (one that keeps every connection in default), both read as before. * Renew a hosted OpenBot's sign-in without asking, and never take it for being signed out On a hosted OpenBot an admin action whose proof ran out is refused with 401 HOSTED_SIGN_IN_RENEWAL_REQUIRED, naming where sign-in renews it (OpenBot-Sign-In). The web app now sends the page through that sign-in and back to where it was, with a marker, which takes no clicks for somebody still signed in there; back, it reads everything again and says the person is signed in again, in case what they did needs doing again. Refused again within two minutes, it offers Sign in again to that address instead of going round in a loop. Neither the web app nor the phone takes this 401 for being signed out: the current user and the list of organizations read it as a failure, not as nobody signed in, and the phone doesn't read its session again for it. * Send the write a hosted sign-in renewal interrupted again, once, with its own Idempotency-Key Web: before the page goes through the hosted sign-in, the write that was refused for renewal is kept exactly as it was sent (address, method, body, headers with its Idempotency-Key) in session storage. Back with the marker, it is taken and sent again once, with the same key, so a write that did land is answered as a repeat and never done twice; the page then reads everything again and says it's done, or shows the server's refusal. Only writes carrying an Idempotency-Key are kept; reads are simply read again. Phone: on the same refusal the phone opens the hosted sign-in in the in-app browser, as sign-in does, then sends the request again once with the same Idempotency-Key. Refused for renewal again, Home offers Sign in again, and it never renews in a loop. * Read the person's organizations under the app's retry rule The list of organizations carried a retry rule of its own (one retry, never for being in no organization), which replaced the one the query client is given. With retries turned off it still asked a failed read again a second later, so a screen waiting for the app's reads to settle waited past its timeout. Being in no organization is now never retried by the query client itself, for every read, and the list keeps the client's rule. * Open the account menu once the unreadable invitations have failed The test for invitations that could not be read opened the menu while the read was still in its one retry, a second's wait. Until that retry fails too the menu offers no Invitations entry, so on a busy runner the entry came after findByRole gave up. It now waits for the read to have failed before opening the menu. * Organization settings: list members who haven't opened OpenBot yet On a hosted OpenBot the member list can include somebody who is a member at OpenBot by CopilotKit and hasn't opened OpenBot yet (notOpenedYet). Their row shows their role from the answer and says "Hasn't opened OpenBot yet". It offers no Role menu and no Remove, whatever else the answer says, and opens no page of theirs. Without an address the row shows their name, and without either it shows "Unnamed member" with a person's mark in place of initials. The audit page no longer names anybody by an empty address. * Offer Remove on a not-yet-opened member wherever the server says they can be removed Remove on a member's row follows removable alone, for somebody who hasn't opened OpenBot yet as for anybody else, and goes through the same remove-member request with the row's id. Their row still offers no Role menu. * Show a computer refused for good as a calm blocked state, without Try again At the organization's computer limit the server refuses opening a computer with retryable: false, and asking again can't succeed. Teach a Bot showed that refusal in red over a Try again, and the Bot's screen beside a conversation swallowed it and said the computer starts when the Bot next uses it. Now a refusal the server marks as not retryable is shown in the app's empty-state style, with a heading and the server's sentence, and nothing to press: on Teach a Bot's opening browser, its Open it again, its desktop-window steps (Show browser, and Open browser and record at the limit), and the Bot's screen when opening it asks the computer to start. At the computer limit an admin also gets a link to Computers, where stopping one makes room. A refusal that may pass keeps its Try again. * Remove dialog: say what removing a member who hasn't opened OpenBot yet does They never made anything here, so the dialog no longer says what they made stays. It says that removing them takes them out of the organization, and that they haven't opened OpenBot yet. * Identity providers outside default: an organization's own, for its members * Require SSO in an organization: its members link their company account A member an organization holds out until they sign in through their company (SSO_REQUIRED) saw the router's error box with no way in. Every page now answers with one that says why in the server's sentence and offers Link your company account, which signs in through a provider that counts for the organization, by its id, while signed in, so the server links it to their account. Several providers are a button each, by domain. Sign out is always there. The refusal is an answer, never retried or reported. Settings, General offers the same link, or says the company account is linked. On Identity providers outside default, the providers set up for all of OpenBot are listed as counting there too, read-only. * Settings: the company account's link on a line of its own Beside the row's sentence the long button squeezed it to a word a line in a narrow window. It sits under the row, in line with its words. * A computer refused a start offers no Take control and no Record At the computer limit the Bot's screen says it can't start, but its tile still offered Take control, and the full-size view Take control and Record, on a computer with no screen to drive. While starting it is refused they are not drawn, and the Bot's browser is not read. * Beside a conversation, a computer at the limit says so in full, with the admin's link to Computers The tile drew the blocked state inside its own button, under the control bar, so the sentence was cut off and an admin had no link to Computers. It is now drawn over the tile, beside the button, without the icon so it fits, and the admin's Open Computers is a link that can be pressed. * Held out of one organization, switch to another from its page Require SSO holds a member out of that organization only, and they keep working in their others, but its page offered only Link and Sign out. It now offers Switch organization, listing their other organizations as the account menu does, and opens the app at home in the one they pick. It is not drawn when they have no other. * Computers on a hosted OpenBot: no folders section Only the OpenBot that OpenBot Desktop runs on the person's own computer can be given a folder from it; connected to a hosted one, the desktop app never can. Admin, Computers said "Needs OpenBot Desktop" there anyway, sending people to something that could not help. On a hosted OpenBot (hostedSignIn) the section is not drawn. Self-hosted outside the desktop app still says what it needs. * Held page: after a switch, load the app afresh at home On a real OpenBot the switch took (the new organization's reads all answered) but the page went on showing the gate's refusal from before it, with the Link gone, until a reload. Once the server and the app both work in the picked organization, the page now loads the app afresh at home there. The test's server answers as a real one did: the held organization's deployment read refused, and the new organization's company sign-in empty. * Phone: a member held out by Require SSO can link their company account Home showed the server's refusal as an error, with no way to do the company sign-in it asked for. It now reads the organization's company sign-in and, while it holds the person out, shows Link your company account (a button per provider, by domain, when there are several), which signs in through the provider by its id in the system browser while signed in, plus Switch organization and Sign out. The phone's client now includes the People area, for getCompanySignIn. * Identity providers: the deployment's don't count where an organization has its own When an organization has identity providers of its own, only those count for its Require SSO; the deployment's count only while it has none. Each of the deployment's rows then says "Not used for this organization's rule", and the section says why. With none of its own, they read as before. * Recorder: held out by Require SSO, say so and open OpenBot to sign in with the company While the organization it records into held the person out (SSO_REQUIRED), the popup said only that OpenBot does not let them record. It now says, in the Recorder's own words and never the answer's, that their organization requires signing in through their company, with Sign in with your company, which opens OpenBot, where every page offers Link your company account. * Phone: link the company account through a single-use ticket (flow) * Phone: link the company account through a single-use ticket The system browser has no OpenBot session, so starting company sign-in there could not link it to the person. The phone now asks for a single-use ticket on each tap (createCompanySignInTicket, a new Idempotency-Key every time), opens it at once in the system browser, then reads the company sign-in again to see whether the hold lifted. A provider that no longer counts reads the list again instead of opening anything. Regenerates the phone client for the ticket operation. * Format the phone's company-account link and its test * Move to the held page as soon as an organization begins to require company sign-in When Require SSO is turned on while someone has OpenBot open, the server closes their sockets with 4403 and refuses every request with SSO_REQUIRED, but the page stayed on Home until the next load. Now the first SSO_REQUIRED answer to any read or write, or the events socket closing with 4403, swaps the signed-in app for the held page at once, with Link your company account. The socket is not reconnected. The hold is dropped when the person works in another organization. * Read the deployment as nobody until the person's organization is known On first load the app asked default for the deployment with the person's session before it knew their organizations, and a signed-in person outside default was answered 404 (the page then fell back, but the console showed the refusal). Before the organization is known it is now asked at default without cookies, which the server answers to anybody, and afterwards in the person's organization. Inside Desktop on the OpenBot on this computer it is still asked with cookies, which that OpenBot needs. The reachability check asks the same way. * Recorder: say Learning capture is paused for company sign-in, not an unknown answer While the person's organization holds them out (Require SSO), the capture pass is refused with 403 SSO_REQUIRED, and the popup's Learning capture card read "an answer the Recorder does not know (403)" above the company sign-in block. The pass table now has a row for it: held, with the events kept and tried again every 5 minutes, and a sentence that points at Sign in with your company below. * Phone: come back from linking the company account by OpenBot's deep link OpenBot's linked page now sends the browser to openbotmobile://company-sign-in/linked. The system browser's session ends there, and the app reads the company sign-in again. The same link opening the app outside the session (the page's Open OpenBot button) has its own screen, which reads it again too, so a hold that lifted leaves the held state. * Phone: ask for the company sign-in ticket with returnTo app With returnTo app, OpenBot's linked page sends the browser to the phone's deep link once the account is linked, so the browser's session ends by itself instead of waiting for the person to close it. Regenerates the phone client for the spec's new field. * Recorder tests: preload the same scripts from inside extension/ as from the root Bun reads bunfig.toml only from the directory it runs in, and extension/ had none. Run from there, nothing evaluated Base UI while a DOM existed (app/tests/preload.ts), so its layout effect was a no-op, the popup's Discard dialog never mounted, and its two tests failed every time at testing-library's one-second timeout while passing from the root. extension/bunfig.toml now declares the root's preload list, and the drift test holds it to the root's as it does app's. * Phone: back from linking, leave no second Home on the stack The linked deep-link screen redirected to Home, which replaced it with a new Home above the one already open, so Home showed a back arrow to itself. It now dismisses to Home (Expo Router's dismissTo): down to the Home beneath it, or Home in its place when the link started the app. The screen has no header or animation, since it is never seen. * Phone: open the company sign-in in the app's own task, so the Custom Tab goes when the app comes back On Android, expo-web-browser 55 opens a Custom Tab in a task of its own through a proxy activity, and can't close it afterwards (dismissBrowser is iOS only, coolDownAsync only lets go of a warmed-up browser). After the deep link back, the tab outlived the return and Back from Home landed on the company's sign-in form. It now opens with createTask false, in the app's own task above the app, where the deep link bringing the app's activity forward takes it away. Opening the app from its icon mid-sign-in now ends the session as dismissed; the company sign-in is read again and Link opens a new ticket. * Phone: back from linking after the process died, leave no Custom Tab below Home When the app's process died mid-sign-in, its task kept only the browser's Custom Tab. The linked deep link (NEW_TASK and CLEAR_TOP) then had no MainActivity to clear down to, singleTask included, so a new MainActivity landed on top of the tab and Back from Home showed the sign-in form. A config plugin adds to Expo's generated MainActivity: created for openbotmobile://company-sign-in/linked while it isn't its task's root, it starts again with the same link in a task of its own (NEW_TASK and CLEAR_TASK, which takes the tab away) and finishes. Launches from the icon, returns from recents and the link while the app is open don't reach it. * Phone: load the cold-start plugin's MainActivity change without the phone's dependencies The repository's test shards install only the root workspaces, and the phone is an npm package of its own, so its test of the plugin failed to load expo/config-plugins there. The change to MainActivity is now the plugin's own (a marked block after super.onCreate, replaced on each prebuild), and expo/config-plugins is loaded only when expo prebuild runs the plugin. * Changelog: the apps' part of working in one organization at a time | 3 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
Say "backend" as one word everywhere a person reads it (#1411) * Say "backend" as one word everywhere a person reads it Atai asked for it on Desktop's setup progress ("Waiting for the back end"). Every string literal, template and JSX text in the desktop window and its native side, the app, the server, the shared Recorder disclosure and the Recorder says "backend" and "Backend" now, with their tests. Comments, identifiers and past changelog entries are left as they were. The Recorder still matches "Could not connect to OpenBot's back end", a message OpenBot does not write. The openbot-copy glossary lists "backend", and the copy guard that keeps Intelligence out of what a person reads now also fails on the two-word spelling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012xYtaRm1VTLHW6QMDUMASK * Say in the changelog where Desktop still showed "back end" after #1390 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012xYtaRm1VTLHW6QMDUMASK * Say "backend" in the update-ahead reasons main added in #1391 * Say "Backend service" for an unnamed backend container, and fail the copy guard on "Back-end" too The Status window and Settings > This computer named an unknown backend container "Back-end service", which the two-word guard did not catch. The last test fixture of the stop error now says "Backend stop failed" as the native side does. * Leave the Status window's part names out of the setup plain-words check 0f99b2e made the unnamed backend container "Backend service". `partNames.ts` is read only by the Status window, which the check already passes over, and "Back-end service" had escaped its `/back ?end/i` only by the hyphen. CI shard 5 failed on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012xYtaRm1VTLHW6QMDUMASK --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: David McKay <david@copilotkit.ai> | 13 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
Add upgrades for forked desktop, local web and Kubernetes installs (#979) Explicit, opt-in upgrades for installs that pin a release, including customer forks, plus a workflow that proposes upstream changes for a fork without touching its checkout. - A shared release manifest and planner name each distribution, its source baseline, its exact digest-pinned artifacts and the transitions it supports. The upgrade policy is committed in release-policy.json and checked against the migrations at publish time. - Desktop: check, stage and acknowledged apply, with backups and running-release verification. An interrupted or failed update recovers from the app. Older installs can still be laid out again. - Local web: plan and apply commands that pull the pinned images, back up with pg_dump, preserve host or Compose topology and never cut a long step short. - Kubernetes: promotion pins chart and images, keeps the release's current values and any registry mirror, gates schema changes on the migration Job, and restores exactly what it changed. - Upstream: integration and tests run with read-only access. A separate job with no upstream code pushes the reviewed candidate, using a GitHub App token when configured. - /release answers only to a caller on the server's own machine. | 19 days ago | |
Add upgrades for forked desktop, local web and Kubernetes installs (#979) Explicit, opt-in upgrades for installs that pin a release, including customer forks, plus a workflow that proposes upstream changes for a fork without touching its checkout. - A shared release manifest and planner name each distribution, its source baseline, its exact digest-pinned artifacts and the transitions it supports. The upgrade policy is committed in release-policy.json and checked against the migrations at publish time. - Desktop: check, stage and acknowledged apply, with backups and running-release verification. An interrupted or failed update recovers from the app. Older installs can still be laid out again. - Local web: plan and apply commands that pull the pinned images, back up with pg_dump, preserve host or Compose topology and never cut a long step short. - Kubernetes: promotion pins chart and images, keeps the release's current values and any registry mirror, gates schema changes on the migration Job, and restores exactly what it changed. - Upstream: integration and tests run with read-only access. A separate job with no upstream code pushes the reviewed candidate, using a GitHub App token when configured. - /release answers only to a caller on the server's own machine. | 19 days ago | |
Add upgrades for forked desktop, local web and Kubernetes installs (#979) Explicit, opt-in upgrades for installs that pin a release, including customer forks, plus a workflow that proposes upstream changes for a fork without touching its checkout. - A shared release manifest and planner name each distribution, its source baseline, its exact digest-pinned artifacts and the transitions it supports. The upgrade policy is committed in release-policy.json and checked against the migrations at publish time. - Desktop: check, stage and acknowledged apply, with backups and running-release verification. An interrupted or failed update recovers from the app. Older installs can still be laid out again. - Local web: plan and apply commands that pull the pinned images, back up with pg_dump, preserve host or Compose topology and never cut a long step short. - Kubernetes: promotion pins chart and images, keeps the release's current values and any registry mirror, gates schema changes on the migration Job, and restores exactly what it changed. - Upstream: integration and tests run with read-only access. A separate job with no upstream code pushes the reviewed candidate, using a GitHub App token when configured. - /release answers only to a caller on the server's own machine. | 19 days ago | |
Retire agent-bot and the TypeScript agent-langgraph; the managed Bot is the LangGraph harness (#1570) * Retire agent-bot and the TypeScript agent-langgraph; the managed Bot is the LangGraph harness agent-bot was a proof of concept that wrote the AG-UI protocol by hand, and the TypeScript agent-langgraph was superseded by the maintained LangGraph harness, agent-langgraph-agui. Both go, with their images, their CI installs, BOT_PORT, BOT_IMAGE and AGENT_BOT_MODEL. The team edition keeps its managed Bot: start.sh starts agent-langgraph-agui on LANGGRAPH_PORT (4201 on the host, 4206 in the container) and points MANAGED_AGENT_AG_UI_URL at it, so the fintech example's Risk Analyst runs on it. A release publishes neither retired image, and Desktop pins the harness in their place, drops the Bot port from its port table and stops writing AGENT_BOT_MODEL (an earlier .env's line is still taken out). tests/compose.test.ts and scripts/start-restart-guard.test.ts check that the managed Bot is the harness and that neither retired Bot is started. * Desktop's port test counts the ports there are now * Desktop pins only the images it runs: no Bot image * Format the files this changes, and leave the generated capabilities schema as it was * cargo fmt * On a Mac with Podman, override ports only for services the installation defines Updating 1.0.2 on a Mac with Podman stopped at the database backup, rolled back, and the fall-back start failed too. The port overlay this app writes named agent-langgraph-agui, which 1.0.2's docker-compose.yml does not define, and Compose refuses a project in which a file names a service with no image, so every command given the overlay failed, the backup and the rollback start among them. The overlay now lists every service any release has published a port for, and the app writes only the ones the installation's own Compose files define, read each time it builds a command. So it fits the previous release's file during the update and after a rollback, and this release's file once it is in place. Tests: the overlay written over 1.0.2's Compose file (a fixture) names only its services, and over this release's file names the harness; real Compose accepts the first and refuses the old every-service overlay. * The overlay merge test counts the server's two published ports | 10 days ago | |
Name the eight things a Bot has once, and make routines, goals and check-ins from one New routine screen (#1444) * Name the eight things a Bot has once, and list the page names they retire docs/how-openbot-works.md describes OpenBot as one noun, Bot, and eight things a Bot has: Conversations, Routines, Memory, Skills, Apps, Computer, Approvals and Activity, with Setup and the Vault beside them. It is the target the next changes move the app toward. app/src/lib/primitives.ts holds the eight in their fixed order with their labels, pairs, questions and icons, plus the page names they retire. The copy glossary gains the eight, Setup and Vault, drops Capabilities, and withdraws Admin's allowance for "plugin". tests/no-retired-page-names.test.ts reads every page title, settings row title and menu label in the app and its skins, and lists the ones that still use a retired name. It reports without failing until the last phase ships. * Keep saved logins and keys in one Vault under Settings Saved logins (Passwords, or Saved logins in the personal edition) and Keys were two Settings pages and two Connections rows for one question: where are my secrets? They are now one page, Settings → Vault, with a Logins section in both editions and a Keys section in the personal edition, where the one person stores keys. The two stores and their endpoints are unchanged; the page draws both lists as they were. /settings/passwords and /settings/credentials open /settings/vault, and /settings/credentials/new opens the Vault's Add key form at /settings/vault/new. Old /admin/credentials links in the personal edition land there too. Connections' "Sign-ins and keys" section is one Vault row, in both editions. The sign-in form's checkbox reads Save to Vault, and the personal setup checklist links its model key to the Vault. * Show routines, goals and check-ins as one Routines list, per Bot and for every Bot "When does it work without being asked?" had three answers: Routines, a Bot's Goals page, and check-ins on its Memory page (or What it can do in the personal edition). They are now one list, on the Bot's Routines page and in Settings → Routines. The three stores, endpoints and tools are unchanged; the browser builds the list from the three reads it already had (app/src/lib/routines/merged.ts). Each row is one sentence in four parts: what, starts, does, until. A routine reads its title or instruction, its schedule, and "Acts". A goal reads its title (labelled Goal), its starts, "Acts", and its outcome under Until, with its status and progress. A check-in reads what it watches (labelled Check-in), how often, and "Tells you". Rows open what they opened before, through the same mutations. A routine that runs a goal is not a row of its own: its schedule is one of the goal's starts, and the goal's dialog lists it with a switch and Delete. GET /api/routines gains goalId, resolved on the server with the rule the goal store and Activity already read, so a routine made before routines recorded their goal reports it the same way. New is a menu of Routine (the create screen, as before), Goal and Check-in (their dialogs), and says that asking a Bot works too. The empty state gives one example of each kind. The "all your Bots" check-ins switch moves from Notifications to under the list. /routines and /responsibilities open /settings/routines, and /bots/$agentId/responsibilities opens /bots/$agentId/routines. Routines leaves the main menu for the Settings sidebar. The Bot page loses its Goals row; its Routines row counts every kind. The Memory page and What it can do no longer hold check-ins or goals. OpenMuse's Goals tab is Routines, and OpenDuet's Tasks shows the one list. Text written for the model that named the Goals page now names the Routines page, and nothing else in it changed: - server/src/responsibilities/chat-tools.ts, create_goal's description ("Run now on its card on the Bot's Routines page"). - server/src/responsibilities/trigger-tools.ts, the trigger tool's description and the two sentences that ask the person to open the goal's card for a key or a signing secret. * Put Skills and Memory in Settings, fold Learning into Skills, and retire Capabilities "What does it know how to do?" was Capabilities → Skills, the personal edition's Settings → Skills, Settings → Learning, and Teach a Bot. It is now Settings → Skills, in both editions, with four sections: - Your skills: one list. Skills you wrote (side panel, as before) and, in the personal edition, the skills written for every Bot (their own page with a switch per Bot) are marked Written; skills learned from your recordings and conversations are marked Learned and keep their dialog and the team edition's sharing switches. The "who else's Bots use your skills" choice follows the list. - Workspace skills, team edition only: the admin's, read-only. - Waiting for your review: Learning's review, as it was. - Teach a Bot: one row to the recording page, where OpenBot can run a browser for you. The recording page keeps its sidebar entry. "What does it know about me?" is Settings → Memory, where memory is offered; the personal edition has none and keeps sending it to Bots. Capabilities leaves the main menu. /capabilities, /capabilities/skills and /skills open /settings/skills (the side panel's ?new and ?edit go with them), /capabilities/memory and /memory open /settings/memory, and /settings/learning opens /settings/skills. The Settings sidebar gains Memory and Skills after Routines and loses Learning. The Bots page's "What your Bots know" is "What your Bots learn" in both editions, with Memory (where offered) and Skills. * Give each Bot the same rows in the fixed order: Routines, Memory, Skills, Apps, Computer, Approvals, Setup A Bot's page listed different rows per edition: the personal edition collapsed approvals, goals and check-ins into "What it can do", and the team edition had "Skills and access" with apps, skills and hand-offs on one page. Both editions now draw the same rows, in the order of lib/primitives.ts, each shown only where it has something to set: - Routines; Memory where OpenBot offers it. - Skills (/bots/$agentId/skills) and Apps (/bots/$agentId/apps), the two halves of the old access page. "What it can use" was one list of apps and skills; it is split by kind, and each page keeps its "Your skills" or "Your apps" switches. - Computer (/bots/$agentId/computer), where the Bot has something of its own there: its folders on this computer inside OpenBot Desktop, its browser in the personal edition, or a computer of its own for someone who may list computers. It reuses the Computer page's sections, narrowed to the Bot. - Approvals, in both editions, retitled from Approval rules. - Setup, which now holds the team edition's hand-off panel. - Team edition only: Sharing and Reaching you, unchanged. /bots/$agentId/access opens /bots/$agentId/apps. A Bot's Activity page keeps In progress, Completed and its link to the trail; its Scheduled and On demand lists are one row to the Bot's Routines. * Make Computer one Settings page and group the Settings sidebar as You, Every Bot and OpenBot Settings → Computer (/settings/computer) now holds, in both editions, each section where it exists: the personal edition's computer and folders, This computer (inside OpenBot Desktop only), and the browsers signed in to the Recorder. /settings/browsers and /settings/this-computer redirect to it. OpenBot Desktop and the Recorder still open those addresses, and Desktop looks for the this-computer route file before it does, so both redirect files stay. The sidebar is grouped: You (General, Notifications, Vault), Every Bot (Routines, Memory, Skills, Computer, Approvals, and Activity in the personal edition), and OpenBot (Setup, Components gallery). * Group Admin by the eight and rename Plugins, Audit, Credentials and Check-ins Admin's sidebar and overview now draw one list (components/admin/admin-sections.ts), grouped Routines, Skills, Apps, Computer, Approvals, Activity, Vault, Team. Pages keep their addresses. What would happen sits under Approvals, beside the controls it explains. Enterprise has no entry: its address already redirects to the overview. Renamed in Admin, with managePaths("team") following: - Plugins -> Apps (/admin/plugins), including its pages' titles and errors - Audit -> Activity (/admin/audit), and every sentence that sends an admin there - Credentials -> Vault (/admin/credentials), and the setup checklist's link to it - Check-ins -> Routines (/admin/proactive); its check-in settings are now the Check-ins section, and the switch is "Check-ins for everybody" Server text that names a page: - server/src/what-if.ts (written for the model): "find it on the Audit page" is now "find it on the Activity page". Nothing else in that prompt changed. - server/src/computer/routes.ts (shown to a person): "Audit couldn't record the change" is now "Activity couldn't record the change". - server/src/setup/checklist.ts: the team edition's model-key fix links to "Vault". The retired-names report is now empty. * Describe the eight in the docs, and fail on a retired page name - docs/how-openbot-works.md: the Status note is gone, it says how Admin is grouped, and the open decision on the team edition's vault records where it stands. It is linked first from docs/README.md and from the root README's docs list. - Root README, Main surfaces: the route table is now the eight, each with its page for one Bot, every Bot and everyone, then the pages beside them and the old addresses that redirect. - docs/personal-edition.md, What the app shows: the Bot's page rows, the Settings groups, Settings -> Computer and Vault, and Learning as part of Skills. - docs/routines.md: the one list, the four parts of a row, and the New menu. The mechanics are unchanged. - docs/coworkers.md: Bot and conversation in prose. Table and endpoint names stay. - docs/automatic-learning.md: Settings -> Learning is Settings -> Skills. tests/no-retired-page-names.test.ts now fails on any retired title, and reads components/admin/admin-sections.ts, where Admin's titles now live. * A goal on a schedule or an event can end when its outcome is met * A goal needs no outcome, and a routine made on the page can run a goal * Work out from one form whether a routine, a goal or a check-in is being made * Make a routine, a goal or a check-in from one plan, and undo what a refusal leaves behind * Say what a Bot should do, when it starts and when it is done, on one screen * New routine opens one screen instead of a menu of Routine, Goal and Check-in * Describe the one New routine screen and a goal that ends when met * Settings → Skills keeps the skills you wrote when Learning can't be read * In the personal edition, New skill makes a skill with a switch for each Bot * A goal on a schedule counts when Routines aren't running, and its row claims no start it couldn't read * A schedule can't be switched back on for a goal that is complete * A routine that was saved answers 201 even when the list can't be read * A goal is paused only when its schedule was refused, not when the answer was lost * Cancel waits while a routine is being created * Reading which goals repeat skips the ones that are complete * A sentence that sends an admin to an app's page says Apps, as the sidebar does * When OpenBot needs a model key, it says to add one in the Vault * Learned skills are said to be in Settings, Skills, and the links go there * The retired-names check reads a skin's own rows, and OpenMuse says Approvals * The addresses Desktop, the extension and old skill links open are kept under test * The old address for adding a key opens the Vault in the team edition too * Test switching off and deleting a goal's schedule from its dialog * Say in the release notes which pages moved and what they are called now * The docs name each page as the app shows it, and Desktop's comment says where This computer went * Settings and Admin are checked against the one order of the eight * Remove the access summary no row shows any more * Admin's Skills page says only what it says in the team edition, the one place it is shown * Settings → Skills and the keys list use the one shared query client * The request that makes a routine is written once * The empty Routines list gives an example without naming the button beside it * Routines, Memory and Skills are in the main menu beside Bots and Connections, Teach a Bot opens from the Skills page, and Settings keeps what you set once * Deleting a goal's schedule is tested with an assertion that checks every field it names * Connections lists the apps your Bots use apart from the ones you can add, with every app to add in one place * The sidebar keeps one width across the app, Settings and Admin, so moving between them never shifts the page * fix: prevent duplicate routine saves and completed goal restarts * Leave a broad routine on when the goal it once ran completes A routine like "Summarise my inbox, and if a release shipped run the goal" records the goal its firing ran, though its instruction never names it. Completing that goal switched the routine off for good, since switching it back on was refused as goal_complete. Completion now unlinks a routine whose instruction names neither the goal's id nor its quoted title, and leaves it on; a routine that names the goal is still switched off. * Say what to do when a goal can't end when met, and send saved logins to the Vault The refusals for a goal that both repeats and ends when met, or ends when met with nothing to meet, now say what happened and then what to fix. A login that could not be saved after signing in points to the Vault, the page saved logins live on now, not the old Passwords page. * Show a live recording on the main menu's Skills entry Removing the Teach a Bot entry took away the only place OpenBot said a Recorder was recording. The Skills entry now carries the same red dot and tooltip ("Recording: Submit the receipt, 1:23") from the server's activity while a recording runs, and nothing extra otherwise. * Keep a Bot's follow-ups and queued runs under Scheduled on its Activity page The row to Routines replaced the whole Scheduled section, but the Bot's own follow-ups, queued runs of a goal and delegated tasks waiting their turn are not on the Routines page, so they had vanished, and a follow-up could no longer be cancelled. Scheduled lists them again with their Cancel, ends on the row to Routines, and that row counts only the routines it opens. * Open Settings, Computer at the section Desktop and the extension ask for, and say what it holds per edition Desktop's tray Status opens /settings/this-computer and the extension's popup opened /settings/browsers. Both landed at the top of the combined Computer page with their section below the fold. The old addresses now redirect with a hash naming the section, the sections carry those ids, and the page scrolls to the one named once it draws, keeping it in view while the sections above load. The extension opens /settings/computer#browsers itself; the redirect stays for older extensions, and Desktop still finds the this-computer route file. The personal edition's description says again that a command one Bot runs can still read another Bot's files, and the team edition only promises what OpenBot runs on this computer inside OpenBot Desktop, where that section exists. * Make Your apps and Add an app sections of the Connections page itself, and say No matches In the personal edition both were nested inside the page's first section with spacing of their own. They are now sections of the page, spaced as every other section is, under the first section that holds the search. A search that matches nothing shows the empty state with the search icon and No matches, and draws no section or directory tile under it. * Say the team edition's Vault keeps logins alone, and give key rows their icon tile In the team edition the Vault holds saved logins only, yet said it kept logins and keys and put its one section under a Logins heading that repeated the page. It now says "Your saved logins are kept here. Bots never see them." with no section heading. The personal edition is unchanged. Key rows get the key icon tile the login rows above them have. * Hold every retired page address to where it leads, and say the Bots page's Memory row in a sentence The retired-addresses table now covers /settings/passwords, /settings/credentials and /settings/credentials/new in both editions, /settings/learning, /settings/memory, /capabilities and its Skills and Memory, and a Bot's responsibilities and access pages. The Memory row on the Bots page read as a fragment; it now says "Your Bots remember facts about you and your work here." * Format the new tests as Biome lays them out * Keep the extension opening Settings, Browsers, and say in the team Vault that you approve each use /settings/computer exists only on servers with the regrouped Settings, and a newer extension can point at an older one. /settings/browsers is on both: older servers show it, and newer ones redirect to Computer at its Browsers section. * A goal can be deleted, and the routines that run it go with it DELETE /api/responsibilities/:id deletes the person's own goal in one transaction: first the routines that record it, which exist only to run it, then the goal, whose runs and triggers follow by foreign key. Another person's goal, or one that is gone, is not found, in the same sentence the other goal routes use. * A goal's dialog deletes the goal and shows each schedule's last run and history, and its row says until only when it can end Delete sits in the goal's dialog as a routine's does on the Routines list, confirmed in a dialog of its own. Each schedule in the dialog shows the last-run chip and the History it had as its own row, now one shared piece. A goal that repeats no longer says Until on its row, and one whose schedules are all switched off says Schedule off instead of When you ask. A goal that couldn't be changed now says so in a sentence with a next step. * New routine takes back a goal whose schedule is refused, holds its back link while saving, and names an unnamed check-in A refused schedule now deletes the goal it made and the conversation started for it, and the form stays editable with the server's own sentence, so Create can be pressed again. Only if that delete fails is the goal kept, paused, and the form locked as before. The Routines back link waits while the writes run, as Cancel does, so leaving can't hide a refusal. An Only tell you with no Name is called by its instruction: with an empty subject it landed on the Bot's default check-in and was refused as already there. * Format the Vault test * Deleting a goal drops its triggers and runs from the cache instead of asking for them again The dialog still watched them as it closed, so the refresh after a delete asked the server for the deleted goal's triggers and got a 404. --------- Co-authored-by: David McKay <david@copilotkit.ai> | 12 days ago | |
Name the eight things a Bot has once, and make routines, goals and check-ins from one New routine screen (#1444) * Name the eight things a Bot has once, and list the page names they retire docs/how-openbot-works.md describes OpenBot as one noun, Bot, and eight things a Bot has: Conversations, Routines, Memory, Skills, Apps, Computer, Approvals and Activity, with Setup and the Vault beside them. It is the target the next changes move the app toward. app/src/lib/primitives.ts holds the eight in their fixed order with their labels, pairs, questions and icons, plus the page names they retire. The copy glossary gains the eight, Setup and Vault, drops Capabilities, and withdraws Admin's allowance for "plugin". tests/no-retired-page-names.test.ts reads every page title, settings row title and menu label in the app and its skins, and lists the ones that still use a retired name. It reports without failing until the last phase ships. * Keep saved logins and keys in one Vault under Settings Saved logins (Passwords, or Saved logins in the personal edition) and Keys were two Settings pages and two Connections rows for one question: where are my secrets? They are now one page, Settings → Vault, with a Logins section in both editions and a Keys section in the personal edition, where the one person stores keys. The two stores and their endpoints are unchanged; the page draws both lists as they were. /settings/passwords and /settings/credentials open /settings/vault, and /settings/credentials/new opens the Vault's Add key form at /settings/vault/new. Old /admin/credentials links in the personal edition land there too. Connections' "Sign-ins and keys" section is one Vault row, in both editions. The sign-in form's checkbox reads Save to Vault, and the personal setup checklist links its model key to the Vault. * Show routines, goals and check-ins as one Routines list, per Bot and for every Bot "When does it work without being asked?" had three answers: Routines, a Bot's Goals page, and check-ins on its Memory page (or What it can do in the personal edition). They are now one list, on the Bot's Routines page and in Settings → Routines. The three stores, endpoints and tools are unchanged; the browser builds the list from the three reads it already had (app/src/lib/routines/merged.ts). Each row is one sentence in four parts: what, starts, does, until. A routine reads its title or instruction, its schedule, and "Acts". A goal reads its title (labelled Goal), its starts, "Acts", and its outcome under Until, with its status and progress. A check-in reads what it watches (labelled Check-in), how often, and "Tells you". Rows open what they opened before, through the same mutations. A routine that runs a goal is not a row of its own: its schedule is one of the goal's starts, and the goal's dialog lists it with a switch and Delete. GET /api/routines gains goalId, resolved on the server with the rule the goal store and Activity already read, so a routine made before routines recorded their goal reports it the same way. New is a menu of Routine (the create screen, as before), Goal and Check-in (their dialogs), and says that asking a Bot works too. The empty state gives one example of each kind. The "all your Bots" check-ins switch moves from Notifications to under the list. /routines and /responsibilities open /settings/routines, and /bots/$agentId/responsibilities opens /bots/$agentId/routines. Routines leaves the main menu for the Settings sidebar. The Bot page loses its Goals row; its Routines row counts every kind. The Memory page and What it can do no longer hold check-ins or goals. OpenMuse's Goals tab is Routines, and OpenDuet's Tasks shows the one list. Text written for the model that named the Goals page now names the Routines page, and nothing else in it changed: - server/src/responsibilities/chat-tools.ts, create_goal's description ("Run now on its card on the Bot's Routines page"). - server/src/responsibilities/trigger-tools.ts, the trigger tool's description and the two sentences that ask the person to open the goal's card for a key or a signing secret. * Put Skills and Memory in Settings, fold Learning into Skills, and retire Capabilities "What does it know how to do?" was Capabilities → Skills, the personal edition's Settings → Skills, Settings → Learning, and Teach a Bot. It is now Settings → Skills, in both editions, with four sections: - Your skills: one list. Skills you wrote (side panel, as before) and, in the personal edition, the skills written for every Bot (their own page with a switch per Bot) are marked Written; skills learned from your recordings and conversations are marked Learned and keep their dialog and the team edition's sharing switches. The "who else's Bots use your skills" choice follows the list. - Workspace skills, team edition only: the admin's, read-only. - Waiting for your review: Learning's review, as it was. - Teach a Bot: one row to the recording page, where OpenBot can run a browser for you. The recording page keeps its sidebar entry. "What does it know about me?" is Settings → Memory, where memory is offered; the personal edition has none and keeps sending it to Bots. Capabilities leaves the main menu. /capabilities, /capabilities/skills and /skills open /settings/skills (the side panel's ?new and ?edit go with them), /capabilities/memory and /memory open /settings/memory, and /settings/learning opens /settings/skills. The Settings sidebar gains Memory and Skills after Routines and loses Learning. The Bots page's "What your Bots know" is "What your Bots learn" in both editions, with Memory (where offered) and Skills. * Give each Bot the same rows in the fixed order: Routines, Memory, Skills, Apps, Computer, Approvals, Setup A Bot's page listed different rows per edition: the personal edition collapsed approvals, goals and check-ins into "What it can do", and the team edition had "Skills and access" with apps, skills and hand-offs on one page. Both editions now draw the same rows, in the order of lib/primitives.ts, each shown only where it has something to set: - Routines; Memory where OpenBot offers it. - Skills (/bots/$agentId/skills) and Apps (/bots/$agentId/apps), the two halves of the old access page. "What it can use" was one list of apps and skills; it is split by kind, and each page keeps its "Your skills" or "Your apps" switches. - Computer (/bots/$agentId/computer), where the Bot has something of its own there: its folders on this computer inside OpenBot Desktop, its browser in the personal edition, or a computer of its own for someone who may list computers. It reuses the Computer page's sections, narrowed to the Bot. - Approvals, in both editions, retitled from Approval rules. - Setup, which now holds the team edition's hand-off panel. - Team edition only: Sharing and Reaching you, unchanged. /bots/$agentId/access opens /bots/$agentId/apps. A Bot's Activity page keeps In progress, Completed and its link to the trail; its Scheduled and On demand lists are one row to the Bot's Routines. * Make Computer one Settings page and group the Settings sidebar as You, Every Bot and OpenBot Settings → Computer (/settings/computer) now holds, in both editions, each section where it exists: the personal edition's computer and folders, This computer (inside OpenBot Desktop only), and the browsers signed in to the Recorder. /settings/browsers and /settings/this-computer redirect to it. OpenBot Desktop and the Recorder still open those addresses, and Desktop looks for the this-computer route file before it does, so both redirect files stay. The sidebar is grouped: You (General, Notifications, Vault), Every Bot (Routines, Memory, Skills, Computer, Approvals, and Activity in the personal edition), and OpenBot (Setup, Components gallery). * Group Admin by the eight and rename Plugins, Audit, Credentials and Check-ins Admin's sidebar and overview now draw one list (components/admin/admin-sections.ts), grouped Routines, Skills, Apps, Computer, Approvals, Activity, Vault, Team. Pages keep their addresses. What would happen sits under Approvals, beside the controls it explains. Enterprise has no entry: its address already redirects to the overview. Renamed in Admin, with managePaths("team") following: - Plugins -> Apps (/admin/plugins), including its pages' titles and errors - Audit -> Activity (/admin/audit), and every sentence that sends an admin there - Credentials -> Vault (/admin/credentials), and the setup checklist's link to it - Check-ins -> Routines (/admin/proactive); its check-in settings are now the Check-ins section, and the switch is "Check-ins for everybody" Server text that names a page: - server/src/what-if.ts (written for the model): "find it on the Audit page" is now "find it on the Activity page". Nothing else in that prompt changed. - server/src/computer/routes.ts (shown to a person): "Audit couldn't record the change" is now "Activity couldn't record the change". - server/src/setup/checklist.ts: the team edition's model-key fix links to "Vault". The retired-names report is now empty. * Describe the eight in the docs, and fail on a retired page name - docs/how-openbot-works.md: the Status note is gone, it says how Admin is grouped, and the open decision on the team edition's vault records where it stands. It is linked first from docs/README.md and from the root README's docs list. - Root README, Main surfaces: the route table is now the eight, each with its page for one Bot, every Bot and everyone, then the pages beside them and the old addresses that redirect. - docs/personal-edition.md, What the app shows: the Bot's page rows, the Settings groups, Settings -> Computer and Vault, and Learning as part of Skills. - docs/routines.md: the one list, the four parts of a row, and the New menu. The mechanics are unchanged. - docs/coworkers.md: Bot and conversation in prose. Table and endpoint names stay. - docs/automatic-learning.md: Settings -> Learning is Settings -> Skills. tests/no-retired-page-names.test.ts now fails on any retired title, and reads components/admin/admin-sections.ts, where Admin's titles now live. * A goal on a schedule or an event can end when its outcome is met * A goal needs no outcome, and a routine made on the page can run a goal * Work out from one form whether a routine, a goal or a check-in is being made * Make a routine, a goal or a check-in from one plan, and undo what a refusal leaves behind * Say what a Bot should do, when it starts and when it is done, on one screen * New routine opens one screen instead of a menu of Routine, Goal and Check-in * Describe the one New routine screen and a goal that ends when met * Settings → Skills keeps the skills you wrote when Learning can't be read * In the personal edition, New skill makes a skill with a switch for each Bot * A goal on a schedule counts when Routines aren't running, and its row claims no start it couldn't read * A schedule can't be switched back on for a goal that is complete * A routine that was saved answers 201 even when the list can't be read * A goal is paused only when its schedule was refused, not when the answer was lost * Cancel waits while a routine is being created * Reading which goals repeat skips the ones that are complete * A sentence that sends an admin to an app's page says Apps, as the sidebar does * When OpenBot needs a model key, it says to add one in the Vault * Learned skills are said to be in Settings, Skills, and the links go there * The retired-names check reads a skin's own rows, and OpenMuse says Approvals * The addresses Desktop, the extension and old skill links open are kept under test * The old address for adding a key opens the Vault in the team edition too * Test switching off and deleting a goal's schedule from its dialog * Say in the release notes which pages moved and what they are called now * The docs name each page as the app shows it, and Desktop's comment says where This computer went * Settings and Admin are checked against the one order of the eight * Remove the access summary no row shows any more * Admin's Skills page says only what it says in the team edition, the one place it is shown * Settings → Skills and the keys list use the one shared query client * The request that makes a routine is written once * The empty Routines list gives an example without naming the button beside it * Routines, Memory and Skills are in the main menu beside Bots and Connections, Teach a Bot opens from the Skills page, and Settings keeps what you set once * Deleting a goal's schedule is tested with an assertion that checks every field it names * Connections lists the apps your Bots use apart from the ones you can add, with every app to add in one place * The sidebar keeps one width across the app, Settings and Admin, so moving between them never shifts the page * fix: prevent duplicate routine saves and completed goal restarts * Leave a broad routine on when the goal it once ran completes A routine like "Summarise my inbox, and if a release shipped run the goal" records the goal its firing ran, though its instruction never names it. Completing that goal switched the routine off for good, since switching it back on was refused as goal_complete. Completion now unlinks a routine whose instruction names neither the goal's id nor its quoted title, and leaves it on; a routine that names the goal is still switched off. * Say what to do when a goal can't end when met, and send saved logins to the Vault The refusals for a goal that both repeats and ends when met, or ends when met with nothing to meet, now say what happened and then what to fix. A login that could not be saved after signing in points to the Vault, the page saved logins live on now, not the old Passwords page. * Show a live recording on the main menu's Skills entry Removing the Teach a Bot entry took away the only place OpenBot said a Recorder was recording. The Skills entry now carries the same red dot and tooltip ("Recording: Submit the receipt, 1:23") from the server's activity while a recording runs, and nothing extra otherwise. * Keep a Bot's follow-ups and queued runs under Scheduled on its Activity page The row to Routines replaced the whole Scheduled section, but the Bot's own follow-ups, queued runs of a goal and delegated tasks waiting their turn are not on the Routines page, so they had vanished, and a follow-up could no longer be cancelled. Scheduled lists them again with their Cancel, ends on the row to Routines, and that row counts only the routines it opens. * Open Settings, Computer at the section Desktop and the extension ask for, and say what it holds per edition Desktop's tray Status opens /settings/this-computer and the extension's popup opened /settings/browsers. Both landed at the top of the combined Computer page with their section below the fold. The old addresses now redirect with a hash naming the section, the sections carry those ids, and the page scrolls to the one named once it draws, keeping it in view while the sections above load. The extension opens /settings/computer#browsers itself; the redirect stays for older extensions, and Desktop still finds the this-computer route file. The personal edition's description says again that a command one Bot runs can still read another Bot's files, and the team edition only promises what OpenBot runs on this computer inside OpenBot Desktop, where that section exists. * Make Your apps and Add an app sections of the Connections page itself, and say No matches In the personal edition both were nested inside the page's first section with spacing of their own. They are now sections of the page, spaced as every other section is, under the first section that holds the search. A search that matches nothing shows the empty state with the search icon and No matches, and draws no section or directory tile under it. * Say the team edition's Vault keeps logins alone, and give key rows their icon tile In the team edition the Vault holds saved logins only, yet said it kept logins and keys and put its one section under a Logins heading that repeated the page. It now says "Your saved logins are kept here. Bots never see them." with no section heading. The personal edition is unchanged. Key rows get the key icon tile the login rows above them have. * Hold every retired page address to where it leads, and say the Bots page's Memory row in a sentence The retired-addresses table now covers /settings/passwords, /settings/credentials and /settings/credentials/new in both editions, /settings/learning, /settings/memory, /capabilities and its Skills and Memory, and a Bot's responsibilities and access pages. The Memory row on the Bots page read as a fragment; it now says "Your Bots remember facts about you and your work here." * Format the new tests as Biome lays them out * Keep the extension opening Settings, Browsers, and say in the team Vault that you approve each use /settings/computer exists only on servers with the regrouped Settings, and a newer extension can point at an older one. /settings/browsers is on both: older servers show it, and newer ones redirect to Computer at its Browsers section. * A goal can be deleted, and the routines that run it go with it DELETE /api/responsibilities/:id deletes the person's own goal in one transaction: first the routines that record it, which exist only to run it, then the goal, whose runs and triggers follow by foreign key. Another person's goal, or one that is gone, is not found, in the same sentence the other goal routes use. * A goal's dialog deletes the goal and shows each schedule's last run and history, and its row says until only when it can end Delete sits in the goal's dialog as a routine's does on the Routines list, confirmed in a dialog of its own. Each schedule in the dialog shows the last-run chip and the History it had as its own row, now one shared piece. A goal that repeats no longer says Until on its row, and one whose schedules are all switched off says Schedule off instead of When you ask. A goal that couldn't be changed now says so in a sentence with a next step. * New routine takes back a goal whose schedule is refused, holds its back link while saving, and names an unnamed check-in A refused schedule now deletes the goal it made and the conversation started for it, and the form stays editable with the server's own sentence, so Create can be pressed again. Only if that delete fails is the goal kept, paused, and the form locked as before. The Routines back link waits while the writes run, as Cancel does, so leaving can't hide a refusal. An Only tell you with no Name is called by its instruction: with an empty subject it landed on the Bot's default check-in and was refused as already there. * Format the Vault test * Deleting a goal drops its triggers and runs from the cache instead of asking for them again The dialog still watched them as it closed, so the refresh after a delete asked the server for the deleted goal's triggers and got a 404. --------- Co-authored-by: David McKay <david@copilotkit.ai> | 12 days ago | |
Bots that finish: run budget and promise catch, one prompt for every Bot, tool calls that come back, rewritten shipped Bots (#1407) * Bots finish their runs: say when the last step has no tools, send a promise back to work, and give routines room and a checklist A built-in Bot's last step went to the model with tools switched off and nothing saying so, and a routine about twenty lookups deep ended "I'll fetch the rest now" with no call after it. - The last step now carries a one-turn message: tools are off, answer from what you have, then say what you did not get to and why. Chat keeps its eight steps. - A step that would end the run on a promise of work ("I'll...", "Let me...", "Fetching the rest now"), with no tool call and steps left, is asked again in the same step with a one-turn nudge. At most twice in a row, counted again after any tool call; never on the last step; a question to the person is never sent back. - Routine firings and check-ins get an unattended step budget: 24 steps, plus 4 per part of a multi-part routine, under a ceiling of 48. - A routine written as a list carries a checklist: the model is shown its parts numbered, and the run is sent back while any part is not closed as Done, Blocked (reason) or Skipped (reason). Every sentence the harness says to the model lives in shared/run-notices.ts. * Rewrite the instructions of every Bot OpenBot ships so they finish the job Every shipped Bot now says who it works for and why each rule exists, in plain sentences: take the step in the same reply, use what it already has before asking, ask only when a wrong guess is hard to undo or only the person knows, retry a failed call once, and deliver with what it could not confirm. - Personal Assistant: drops "ask when something is ambiguous" and "ask the person to sign in, and wait", which contradicted OpenBot's own sign-in rule. A desktop still on either earlier text word for word moves to the new one. - General Assistant and Knowledge: same habits within their jobs. - The ten catalog Bots: their rules lived in role_description, which a Bot that runs here is never given. The rules move into system_prompt, role_description becomes the one sentence people read, and "say so and stop" becomes retry once, then deliver with the gap named. No more capitals for emphasis. - bot-creator: tells the Bot writing a new Bot's instructions the same rules. A fast test reads every shipped Bot file and fails on capitals for emphasis, a sign-in asked for in words and waited on, or instructions over the 1,000 characters a Bot's form allows. * Say in the changelog what the shipped Bots now do differently * Give every Bot one sectioned prompt that works unattended, asks only when it must, and says what it could not confirm A cycle-planning routine on a built-in Bot never delivered: it fired every lookup at once, said "I'll fetch the rest now" without a call, re-searched for issues the Notion page already named, and stopped to ask its person to decide things. The prompt invited each of those. - Tagged sections in a fixed order for built-in and brought Bots alike: identity, role, the person's own instructions, how_to_work, asking, sources, answer_format, subagents, untrusted_content, apps, computer, learned_skills, run_mode, model_and_date, picked_skill. - A short "how to work" block for every Bot: what you have first, a few reads at a time and read every result, take the step in the same reply, retry once, deliver with the gaps named. - Routines and check-ins are told nobody is watching (run_mode); a routine also gets its report shape: result, "What I could not confirm" with reasons, questions, changes with links. Unattended runs ask for high effort where the model takes it and the person picked none. - Every asking cue is the same closed test: ask_person, the approval and choice cards, and the asking section, which replaces "the choice is theirs to make". The choice card is no longer named in the component rules. - Brought Bots (the Claude Agent SDK harness replaces Claude Code's own prompt with this) get the how-to-work block, the run mode and approval guidance scoped to the tools OpenBot gives them. - The computer guidance goes only to a run offered a computer tool. All-caps emphasis becomes a plain rule with its reason; "standing" now means one thing; precedence is said once; run_subagent's description matches the subagents section, cost first. * Set a nudged answer's words apart from the ones before it A step asked again shows the person both answers in one message; without a paragraph break the promise and what followed it ran together into one sentence. * Read the subagent's prompt by its sections * Run a Bot's app calls a few at a time, answer a repeated read once, and retry passing read failures A Bot that sends many lookups at once to an app meets the timeouts and 429s an app answers a burst with, and nothing stopped it re-asking for what it already held. Each run now has at most 5 app calls out at a time and queues the rest in order, so every call still gets its own answer. A read with the same tool and arguments as one already answered in the run gets that answer back, marked as already fetched; a write always goes to the app. A read that fails for a reason that passes (a timeout, a 429, a 5xx, or an app's error answer saying so) is tried twice more, half a second and a second and a half apart, before the Bot hears of it, inside the store so the grant, policy and approval are settled once and the trail records one outcome. A write is never retried. Every "not run" answer now speaks in one voice: what happened, then "Run it again if you still need it, or say in your answer that you could not get it." That covers the unanswered-call repair, the step skipped while the turn waited, the two withdrawn approvals and the no-answer close. * Never retry this deployment's own database errors, and keep a retried read's error as it was A query this database refused carried "statement timeout" and was taken for an app that might answer next time: it was tried three times and wrapped, which hid the statement-free reason the trail records. Only a thrown error's status, MCP timeout code or network code now counts as passing (words are read only on an app's own error answer), anything from our own database never does, and the error given back after the last try keeps its class and cause with a sentence added saying it was tried. * Give a run the unattended step budget whenever it is told it runs unattended The step budget read the initiator one way (routine-kind only) and the run-mode prompt another (routines, check-ins and goal runs), so a goal's run was told to finish on its own with chat's eight steps. Both now read the run mode. * Count a subagent's app calls in its run's five at a time A Bot that split a cycle plan between two subagents had nine lookups out at once, because each subagent was built with its own set of app calls. A subagent is now built inside its run's calls, so the run never has more than five out and a read one subagent made is answered for the other. * Read a routine's steps when they are numbered in one paragraph A Bot asked for a routine in a conversation saves it as one paragraph, "Steps: 1) read the cycle 2) read the page 3) match 4) rank", and the checklist only read steps written one per line, so a routine made that way ran with no parts to close. Steps counted 1, 2, 3 in running text are parts too; version numbers and numbers out of order are not. * Tell a brought Bot a multi-part routine's checklist A Claude Agent SDK Bot fired on a four-part routine was never told the parts it had to close, so its answer ended with no part closed. Its instructions now carry the same checklist a built-in Bot gets with the firing. In the instructions rather than on the firing, which the harness echoes back into the conversation. | 13 days ago | |
Bots that finish: run budget and promise catch, one prompt for every Bot, tool calls that come back, rewritten shipped Bots (#1407) * Bots finish their runs: say when the last step has no tools, send a promise back to work, and give routines room and a checklist A built-in Bot's last step went to the model with tools switched off and nothing saying so, and a routine about twenty lookups deep ended "I'll fetch the rest now" with no call after it. - The last step now carries a one-turn message: tools are off, answer from what you have, then say what you did not get to and why. Chat keeps its eight steps. - A step that would end the run on a promise of work ("I'll...", "Let me...", "Fetching the rest now"), with no tool call and steps left, is asked again in the same step with a one-turn nudge. At most twice in a row, counted again after any tool call; never on the last step; a question to the person is never sent back. - Routine firings and check-ins get an unattended step budget: 24 steps, plus 4 per part of a multi-part routine, under a ceiling of 48. - A routine written as a list carries a checklist: the model is shown its parts numbered, and the run is sent back while any part is not closed as Done, Blocked (reason) or Skipped (reason). Every sentence the harness says to the model lives in shared/run-notices.ts. * Rewrite the instructions of every Bot OpenBot ships so they finish the job Every shipped Bot now says who it works for and why each rule exists, in plain sentences: take the step in the same reply, use what it already has before asking, ask only when a wrong guess is hard to undo or only the person knows, retry a failed call once, and deliver with what it could not confirm. - Personal Assistant: drops "ask when something is ambiguous" and "ask the person to sign in, and wait", which contradicted OpenBot's own sign-in rule. A desktop still on either earlier text word for word moves to the new one. - General Assistant and Knowledge: same habits within their jobs. - The ten catalog Bots: their rules lived in role_description, which a Bot that runs here is never given. The rules move into system_prompt, role_description becomes the one sentence people read, and "say so and stop" becomes retry once, then deliver with the gap named. No more capitals for emphasis. - bot-creator: tells the Bot writing a new Bot's instructions the same rules. A fast test reads every shipped Bot file and fails on capitals for emphasis, a sign-in asked for in words and waited on, or instructions over the 1,000 characters a Bot's form allows. * Say in the changelog what the shipped Bots now do differently * Give every Bot one sectioned prompt that works unattended, asks only when it must, and says what it could not confirm A cycle-planning routine on a built-in Bot never delivered: it fired every lookup at once, said "I'll fetch the rest now" without a call, re-searched for issues the Notion page already named, and stopped to ask its person to decide things. The prompt invited each of those. - Tagged sections in a fixed order for built-in and brought Bots alike: identity, role, the person's own instructions, how_to_work, asking, sources, answer_format, subagents, untrusted_content, apps, computer, learned_skills, run_mode, model_and_date, picked_skill. - A short "how to work" block for every Bot: what you have first, a few reads at a time and read every result, take the step in the same reply, retry once, deliver with the gaps named. - Routines and check-ins are told nobody is watching (run_mode); a routine also gets its report shape: result, "What I could not confirm" with reasons, questions, changes with links. Unattended runs ask for high effort where the model takes it and the person picked none. - Every asking cue is the same closed test: ask_person, the approval and choice cards, and the asking section, which replaces "the choice is theirs to make". The choice card is no longer named in the component rules. - Brought Bots (the Claude Agent SDK harness replaces Claude Code's own prompt with this) get the how-to-work block, the run mode and approval guidance scoped to the tools OpenBot gives them. - The computer guidance goes only to a run offered a computer tool. All-caps emphasis becomes a plain rule with its reason; "standing" now means one thing; precedence is said once; run_subagent's description matches the subagents section, cost first. * Set a nudged answer's words apart from the ones before it A step asked again shows the person both answers in one message; without a paragraph break the promise and what followed it ran together into one sentence. * Read the subagent's prompt by its sections * Run a Bot's app calls a few at a time, answer a repeated read once, and retry passing read failures A Bot that sends many lookups at once to an app meets the timeouts and 429s an app answers a burst with, and nothing stopped it re-asking for what it already held. Each run now has at most 5 app calls out at a time and queues the rest in order, so every call still gets its own answer. A read with the same tool and arguments as one already answered in the run gets that answer back, marked as already fetched; a write always goes to the app. A read that fails for a reason that passes (a timeout, a 429, a 5xx, or an app's error answer saying so) is tried twice more, half a second and a second and a half apart, before the Bot hears of it, inside the store so the grant, policy and approval are settled once and the trail records one outcome. A write is never retried. Every "not run" answer now speaks in one voice: what happened, then "Run it again if you still need it, or say in your answer that you could not get it." That covers the unanswered-call repair, the step skipped while the turn waited, the two withdrawn approvals and the no-answer close. * Never retry this deployment's own database errors, and keep a retried read's error as it was A query this database refused carried "statement timeout" and was taken for an app that might answer next time: it was tried three times and wrapped, which hid the statement-free reason the trail records. Only a thrown error's status, MCP timeout code or network code now counts as passing (words are read only on an app's own error answer), anything from our own database never does, and the error given back after the last try keeps its class and cause with a sentence added saying it was tried. * Give a run the unattended step budget whenever it is told it runs unattended The step budget read the initiator one way (routine-kind only) and the run-mode prompt another (routines, check-ins and goal runs), so a goal's run was told to finish on its own with chat's eight steps. Both now read the run mode. * Count a subagent's app calls in its run's five at a time A Bot that split a cycle plan between two subagents had nine lookups out at once, because each subagent was built with its own set of app calls. A subagent is now built inside its run's calls, so the run never has more than five out and a read one subagent made is answered for the other. * Read a routine's steps when they are numbered in one paragraph A Bot asked for a routine in a conversation saves it as one paragraph, "Steps: 1) read the cycle 2) read the page 3) match 4) rank", and the checklist only read steps written one per line, so a routine made that way ran with no parts to close. Steps counted 1, 2, 3 in running text are parts too; version numbers and numbers out of order are not. * Tell a brought Bot a multi-part routine's checklist A Claude Agent SDK Bot fired on a four-part routine was never told the parts it had to close, so its answer ended with no part closed. Its instructions now carry the same checklist a built-in Bot gets with the firing. In the instructions rather than on the firing, which the harness echoes back into the conversation. | 13 days ago | |
Stop the person-facing screens saying things that are not true (#463) * Let the roster grid divide the width it actually has, instead of a flex wrapper collapsing auto-fill to a single column * Drop the server from a tool line when the action names it in the singular, so a routine call stops reading Create routine routines * Declare the routine firing frame in shared, so the transcript can recognise it and the server still stores exactly what it stored before * Draw a routine firing as a scheduled event, not as a message the person appears to have written * Say when nobody has shared an agent, and stop both roster sections claiming emptiness before the list has arrived * Scroll the home screen's shared Bots in a carousel, so a fifth one stops squeezing the other four * Match a tool line's server against the label word by word, so a hyphenated key stops printing beside the words it already said * Strip the firing frame before the channel titler sees it A channel a routine opens carries the firing frame around its first message, so the auto-generated title was drawn from three sentences of model-facing scaffolding rather than from what was asked. `readFiring` now runs before the excerpt is built, the same unwrapping the transcript already does before a person reads it. `readFiring` returns null if and only if the text is not a framed firing. A frame wrapping a blank instruction is still a firing — the schedule ran and the frame is intact — so it returns that (empty) instruction. Overloading null to also mean "firing with nothing in it" would tell both callers the opposite of the truth: the transcript reads null as "a person wrote this" and would draw the scaffolding as their own words, which is the defect this branch exists to remove. * Stop a routine firing scrolling the transcript as though the person had just sent it * Drop a tsconfig include that never did anything, since the import chain already type-checks the file * Say when the agent list could not be loaded, hold each section's height while it arrives, and name the shared-with-you rule once * Give PageShell its own scroller, so Skills stops hiding its last rows below the fold `_authed/_app` is deliberately a single non-scrolling viewport — "one viewport, never scrolls: panes scroll inside it" — and its `main` is `overflow-hidden`. PageShell rendered a plain auto-height div with no scroller of its own, which is fine under `_authed`, where the document scrolls, and silently clipping under `_app`, where nothing does. Measured on Skills: `main` was 800px tall against 1046px of content, so 246px sat below the fold with no way to reach it by mouse or keyboard. `/routines` had the same zero scrollable descendants and merely happened to fit. `min-h-0` is the load-bearing half of `min-h-0 flex-1`: a flex item's default `min-height: auto` refuses to shrink below its content, so `flex-1` alone would have grown the pane and clipped exactly as before. Under `_authed` both are inert and `overflow-y-auto` on an auto-height element shows no scrollbar, so the eighteen screens there are untouched — verified: `/settings` and `/admin` still scroll the document and gain no inner scroller. The scroller wraps the centred column rather than being it, so the scrollbar rides the pane's edge instead of appearing inside a 630px measure with content either side of it. * Stand the sidebar toggle down while the sidebar is already on screen On a desktop-width window with the roster showing, a button whose whole offer is to take it away is clutter beside the screen's own controls. It now draws only where it has something to offer: on mobile, where the sidebar is a Sheet that starts closed and this is the only way to open it, and on desktop once the sidebar is collapsed. Deliberately NOT hidden in both desktop states. Collapsing is remembered across reloads (`lib/sidebar.ts` stores `collapsed`) and ⌘B still works, so a window that hid this whenever it was desktop-width would leave somebody who pressed ⌘B once with every channel behind a shortcut nobody told them about — which is the defect this component was written to fix. The rule is that it may stand down while the sidebar is visible, never while it is the way back. The visibility test is exported as `useSidebarToggleVisible` rather than re-derived, because PageShell reserves a 56px bar to hold this control. Deciding that on "is there a sidebar" while the toggle decides on something narrower left an empty band on every configuration screen — measured on /skills, /settings and /admin — which is the layout bug that file's own comment warns against. One predicate keeps the two from drifting apart. Also corrects the docstring, which claimed the toggle is drawn in both states. | 2 months ago | |
Stop the person-facing screens saying things that are not true (#463) * Let the roster grid divide the width it actually has, instead of a flex wrapper collapsing auto-fill to a single column * Drop the server from a tool line when the action names it in the singular, so a routine call stops reading Create routine routines * Declare the routine firing frame in shared, so the transcript can recognise it and the server still stores exactly what it stored before * Draw a routine firing as a scheduled event, not as a message the person appears to have written * Say when nobody has shared an agent, and stop both roster sections claiming emptiness before the list has arrived * Scroll the home screen's shared Bots in a carousel, so a fifth one stops squeezing the other four * Match a tool line's server against the label word by word, so a hyphenated key stops printing beside the words it already said * Strip the firing frame before the channel titler sees it A channel a routine opens carries the firing frame around its first message, so the auto-generated title was drawn from three sentences of model-facing scaffolding rather than from what was asked. `readFiring` now runs before the excerpt is built, the same unwrapping the transcript already does before a person reads it. `readFiring` returns null if and only if the text is not a framed firing. A frame wrapping a blank instruction is still a firing — the schedule ran and the frame is intact — so it returns that (empty) instruction. Overloading null to also mean "firing with nothing in it" would tell both callers the opposite of the truth: the transcript reads null as "a person wrote this" and would draw the scaffolding as their own words, which is the defect this branch exists to remove. * Stop a routine firing scrolling the transcript as though the person had just sent it * Drop a tsconfig include that never did anything, since the import chain already type-checks the file * Say when the agent list could not be loaded, hold each section's height while it arrives, and name the shared-with-you rule once * Give PageShell its own scroller, so Skills stops hiding its last rows below the fold `_authed/_app` is deliberately a single non-scrolling viewport — "one viewport, never scrolls: panes scroll inside it" — and its `main` is `overflow-hidden`. PageShell rendered a plain auto-height div with no scroller of its own, which is fine under `_authed`, where the document scrolls, and silently clipping under `_app`, where nothing does. Measured on Skills: `main` was 800px tall against 1046px of content, so 246px sat below the fold with no way to reach it by mouse or keyboard. `/routines` had the same zero scrollable descendants and merely happened to fit. `min-h-0` is the load-bearing half of `min-h-0 flex-1`: a flex item's default `min-height: auto` refuses to shrink below its content, so `flex-1` alone would have grown the pane and clipped exactly as before. Under `_authed` both are inert and `overflow-y-auto` on an auto-height element shows no scrollbar, so the eighteen screens there are untouched — verified: `/settings` and `/admin` still scroll the document and gain no inner scroller. The scroller wraps the centred column rather than being it, so the scrollbar rides the pane's edge instead of appearing inside a 630px measure with content either side of it. * Stand the sidebar toggle down while the sidebar is already on screen On a desktop-width window with the roster showing, a button whose whole offer is to take it away is clutter beside the screen's own controls. It now draws only where it has something to offer: on mobile, where the sidebar is a Sheet that starts closed and this is the only way to open it, and on desktop once the sidebar is collapsed. Deliberately NOT hidden in both desktop states. Collapsing is remembered across reloads (`lib/sidebar.ts` stores `collapsed`) and ⌘B still works, so a window that hid this whenever it was desktop-width would leave somebody who pressed ⌘B once with every channel behind a shortcut nobody told them about — which is the defect this component was written to fix. The rule is that it may stand down while the sidebar is visible, never while it is the way back. The visibility test is exported as `useSidebarToggleVisible` rather than re-derived, because PageShell reserves a 56px bar to hold this control. Deciding that on "is there a sidebar" while the toggle decides on something narrower left an empty band on every configuration screen — measured on /skills, /settings and /admin — which is the layout bug that file's own comment warns against. One predicate keeps the two from drifting apart. Also corrects the docstring, which claimed the toggle is drawn in both states. | 2 months ago | |
Size replies to the question, gate claims on results, and say the push to act once (#1538) * Size replies to the question, gate claims on results, and say the push to act once * Carry the new working rules in the Claude SDK prompt fixture * Format the prompt tests * Answer a capability question from the tools held, and say what they cannot do * Regenerate the Claude SDK prompt fixture for the capability wording * Read an app change back only when its own result does not show it * Regenerate the Claude SDK prompt fixture for the read-back wording * Write when there is a result, not a line before each job * Regenerate the Claude SDK prompt fixture for the progress wording * Show the capability answer by example, and end a job on its result and gaps * Regenerate the Claude SDK prompt fixture for the reply example * Answer a capability question with yes or no and at most one question The worked example answered the Smartlead question itself with "Partly", from tools that could not add sequence steps, and Bots repeated it whatever tools they held: "Partly", a list of limits and four or five things to supply. The example is now about another app and a plain yes, a limit is one sentence and only when the tools have one, and the Bot asks at most one question. * Regenerate the Claude SDK prompt fixture for the capability answer * Ask one question, not for a list of details, and say nothing about what was not looked at Asked whether it could build a sequence, a Bot answered yes and then numbered four things to supply. The capability rule now names that list, and says the rest can be asked once the work has started. A Bot summarising a Slack search added that the messages had no thread replies and were all from this week, with no replies fetched and no dates read. The claims rule now says to leave out what was not looked at, and names the asides. * Regenerate the Claude SDK prompt fixture for the one question and the claims wording * Make nothing up in a call, and try an empty search another way Asked for the latest email from Dana about the contract, a Bot searched an address it had invented, found nothing, and told the person no such email existed. Others fetched thread "1" and passed a spreadsheet's title where its id goes. The retry on an empty search was already in the rules, inside the paragraph on failed calls, where an empty result does not read as a failure. Both are now said on their own before the work starts. * Regenerate the Claude SDK prompt fixture for the lookup and empty-search wording | 9 days ago | |
Engines keep each organization apart: Claude plan queries, and every harness on its run's own gateway token (#1898) * LangGraph TypeScript engine: a Claude plan's query is named per organization too One Claude engine serves every organization of an OpenBot. The engine named a Claude plan's query by (Bot, thread) alone, so the same thread id for a Bot of the same id in two organizations went to one query: one transcript and one set of turns for both. The server now names the run's organization in forwardedProps.openbotOrganization, and the engine joins it to the query's name. A run with no organization keeps the name it always had, so a thread that already has a query keeps it. * LangGraph harness: call the model with the run's own gateway token when the server sends one One harness serves every organization of an OpenBot, and the key in its environment is the deployment's gateway token, which means one organization. Where more than one organization is allowed the server refuses that token, so every model call has to say which organization it is for. The server now sends the harness it runs the token it mints for each run, in the run's organization (forwardedProps.openbotModelRoute), as it already does for the LangGraph TypeScript engine. The harness calls an OpenAI or Anthropic model with that token as its key; a plan's route carries none, and a run without a route keeps the key in the environment. The route and openbotOrganization are server props, kept out of graph state and never passed to the model. fake_provider can now write down the key each request presented. * LangGraph harness: read the run's gateway token where a run's settings may not carry one The compose probe stands in for the run's settings with an object that has only a model and an effort. Read the token as _retries reads send_once, so a settings object without it means no token. * Every harness calls the model gateway with its run's own token, in its organization One harness serves every organization of an OpenBot, and the key in its environment is the deployment's gateway token, which names one organization. Where more than one organization is allowed the gateway refuses that token, so the server sends each run a token of its own (forwardedProps.openbotModelRoute), and every harness now calls the gateway with it for that run. - Python harnesses (CrewAI, LlamaIndex, Agno, LangChain, Google ADK, Pydantic AI, Microsoft Agent Framework, Strands, AG2, Langroid): shared/run_model_key.py. RunModelKey reads the token from the run's body, takes the server's props out so no framework holds the token, and keeps it for the run; every httpx and httpx2 request to the gateway's path then carries it in place of the environment's key. The frameworks build their model clients once, at start, so the HTTP request is the one place they all meet. - Claude Agent SDK: Claude Code makes the calls from a process that lives across runs, so a query on the gateway is pointed back at the harness on a secret loopback path, which passes each call on with the newest token a run of that thread brought (src/run_model_proxy.py). - Mastra: the token arrives as the OpenBot model route context entry, and a run with one answers on a model that calls with it. - Antigravity reaches Gemini with Google's own key, never the gateway; its server props are still taken out. Only to the gateway: a request to any other address keeps its own key, and a run with no token keeps the environment's. This replaces the LangGraph harness's own reading of the token in the previous commit. Each harness has a test that calls a local stand-in for the gateway, at the gateway's paths, with a run that brings a token and one that does not, on both wires; each fails on main. * Claude Agent SDK harness: install httpx, which passes Claude Code's calls on to the gateway The image had no httpx: the harness's tests install it for themselves, the image does not. Found by the live run of the built image through the gateway. * Keep the model lock to model clients, and the compose probe's FastAPI in step httpx in the Claude Agent SDK harness is not a model client, so it is not pinned exactly: the model lock reads every exact pin in a harness's requirements as one. The compose probe's stand-in FastAPI takes add_middleware, which the LangGraph harness now calls. * Changelog: engines keep each organization apart | 3 days ago | |
Stop every app below a signed security floor, never for a company's own OpenBot (#1810) A forced update for a release with a security problem. A small Ed25519-signed document beside latest.json names the lowest safe release of OpenBot Desktop, the back end it runs on the computer, the phone app and the Recorder. Tauri signs only the installers, not latest.json, so the floor carries its own signature over its payload's exact bytes, verified against keys built into every app. Each app keeps the highest serial it has verified, so an older floor can't lift a block, and the kept floor still holds offline; a first launch with no network runs. Below the floor the app shows one notice: "This version of OpenBot has a security problem. Update to keep using it." OpenBot Desktop also stops its back end as Stop does, refuses to start it, and its Status window offers no Start. The floor applies to Desktop's own back end and to the Cloud addresses the floor lists, so an app connected to a company's own server ignores it. Check for updates also reads the floor, and a floor above the Latest release is refused at signing. The Security floor workflow signs a new floor only in a protected environment, in a job with no write access; a separate job puts it on the Latest release, each new Latest carries it on, and Downloads sync copies it to latest/. The feature stays dormant until the signing key is created and its public key added to shared/security-floor.json (docs/releasing.md, "Security floor"). Tested: TypeScript and Rust check the same signed fixtures; below the floor the notice shows and Start refuses, a company server ignores the floor, a kept floor blocks offline, unsigned, tampered, other-key and lower-serial floors are ignored, and a first launch offline runs. Windows box runs on internal builds of this head: the back end stops at launch with volumes kept, the notice appears within a second while the stop runs, and the Status window offers no Start. | 5 days ago | |
Stop every app below a signed security floor, never for a company's own OpenBot (#1810) A forced update for a release with a security problem. A small Ed25519-signed document beside latest.json names the lowest safe release of OpenBot Desktop, the back end it runs on the computer, the phone app and the Recorder. Tauri signs only the installers, not latest.json, so the floor carries its own signature over its payload's exact bytes, verified against keys built into every app. Each app keeps the highest serial it has verified, so an older floor can't lift a block, and the kept floor still holds offline; a first launch with no network runs. Below the floor the app shows one notice: "This version of OpenBot has a security problem. Update to keep using it." OpenBot Desktop also stops its back end as Stop does, refuses to start it, and its Status window offers no Start. The floor applies to Desktop's own back end and to the Cloud addresses the floor lists, so an app connected to a company's own server ignores it. Check for updates also reads the floor, and a floor above the Latest release is refused at signing. The Security floor workflow signs a new floor only in a protected environment, in a job with no write access; a separate job puts it on the Latest release, each new Latest carries it on, and Downloads sync copies it to latest/. The feature stays dormant until the signing key is created and its public key added to shared/security-floor.json (docs/releasing.md, "Security floor"). Tested: TypeScript and Rust check the same signed fixtures; below the floor the notice shows and Start refuses, a company server ignores the floor, a kept floor blocks offline, unsigned, tampered, other-key and lower-serial floors are ignored, and a first launch offline runs. Windows box runs on internal builds of this head: the back end stops at launch with volumes kept, the notice appears within a second while the stop runs, and the Status window offers no Start. | 5 days ago | |
Attach and send Word, Excel and PowerPoint files (#1804) People can now attach Word, Excel and PowerPoint files, and Bots can send them. Only the Office Open XML formats are taken: .docx, .xlsx and .pptx. The older binary formats (.doc, .xls, .ppt) and the macro-enabled ones (.docm, .xlsm, .pptm) are still refused. ## What changes - **One list.** `ACCEPTED_FILE_TYPES` in `shared/attachments.ts` gains three document rows: "Word document", "Excel workbook" and "PowerPoint presentation". Each row names the main part its package must declare in `[Content_Types].xml` (`mainPartType`). The server uses that to tell a real .xlsx from a renamed zip, a macro-enabled workbook, a template or a slide show. The same list drives: - the composer's file dialog, which now offers every type and every extension on the list; - the composer's size refusal, which names the kind (for example "too large for an Excel workbook"); - the card's kind label; - the Bot's send tool, its description and its refusal sentence. - **The list says what a new type needs.** There are four things: the row itself, the server recognising the type by its bytes, a way for the model to read it, and an icon for its card. The test beside the list pins today's set. - **Limits.** Office files are documents, so they get the document limit. That limit is 8 MB unless the server publishes a larger one. - **Cards that say what the file is.** - Every accepted type has an icon of its own in `FILE_TYPE_ICONS`, keyed by the list. A type added to the list without an icon does not compile. - The Bot's file card uses these icons. A Word file shows `IconFileTypeDocx`, an Excel file `IconFileTypeXls`, and a PowerPoint file `IconFileTypePpt`. - A file a person sent now shows its icon, its kind and size ("Excel workbook · 14 KB"), and a Download button, the same way the Bot's card does. A message that carries no type still shows "Attachment". - A long kind wraps to a second line instead of losing the size. The browser showed "PowerPoint presentation ·…" until this change. The line can break only before the kind's last word. - The composer's tile shows the file's icon from the moment the file is picked. - **API (descriptions only).** `AttachmentLimits.documentBytes` now says that it covers Word, Excel and PowerPoint files. `getAttachment` now says that every file except a picture is served as a download. Clients are regenerated. ## Tests Each test failed before the change and passes after it: - `shared/attachments.test.ts`: - the pinned set now includes the three Office types; - each Office type names its main part; - the legacy and macro-enabled types and main parts are not on the list; - the composer and the server name a document's kind the same way; - the Bot's description and refusal list the new types. - `app/src/components/channels/composer/picked-files.test.ts`: - all three types are accepted; - the file dialog offers them by type and by extension; - a file over the limit is refused as "too large for an Excel workbook"; - .doc, .xls and .xlsm are still refused and are not offered. - `app/tests/office-file-cards.test.tsx`: - each Office file a Bot sends reads as its kind, with its icon and a Download; - every type on the list has a name and an icon. - `app/tests/transcript-attachments.test.tsx`: a person's Office file draws with its kind, size, icon and Download, and a long kind's size is never cut off. The full app suite, the shared suite, typecheck, lint and format all pass locally. ## End to end This was checked in a real browser, in two setups: an install that keeps files in Postgres (the Desktop shape, with an 8 MB limit) and a cluster install with an object store (100 MB, three people). - A person attaches a .xlsx, a .docx and a .pptx. The composer shows each file's icon. - The Bot answers questions that only the files' contents answer. - The sent tiles show the kind and size, and each file downloads byte for byte as an attachment with its type. - A text file renamed .docx and an older Office file renamed .xlsx are refused in the composer with a plain sentence. - A Bot makes an .xlsx on its computer and sends it. Its card reads "Excel workbook". Another member of the conversation downloads the same bytes, and a person from another organization gets 404. - Every screen was shot in light and dark, on a desktop and on a phone. The test found that a long kind cut the size off a tile. That is fixed in the second commit. | 5 days ago | |
The OpenBot Recorder and the OpenBot Browser: teach a Bot by doing it in your own browser (#858) | 26 days ago | |
Hand off only work the person asked for, and have a task report the result itself (#1606) A Bot that holds delegate hands off the work the person asked for, answers a question about whether it can with yes or no and an offer, and sets up a routine, a follow-up or a goal in its own reply. The line for handing off is what the work takes: an app's tool, a computer, a search, or something made for the person. A task's brief asks for a last message that is the report: the answer itself in words, standing on its own, sized to the question, without the working, with a component called in a step of its own before the words. The Slack mention rules move to the shared package and can carry a name inside a mention, so a result that leaves the conversation whose steps looked the person up still shows the name. | 9 days ago | |
Hand off only work the person asked for, and have a task report the result itself (#1606) A Bot that holds delegate hands off the work the person asked for, answers a question about whether it can with yes or no and an offer, and sets up a routine, a follow-up or a goal in its own reply. The line for handing off is what the work takes: an app's tool, a computer, a search, or something made for the person. A task's brief asks for a last message that is the report: the answer itself in words, standing on its own, sized to the question, without the working, with a component called in a step of its own before the words. The Slack mention rules move to the shared package and can carry a name inside a mention, so a result that leaves the conversation whose steps looked the person up still shows the name. | 9 days ago | |
Allow a send for the rest of a conversation, and open every kind of action that asks by default (#1394) * Allow a send for the rest of a conversation, and open every kind of action that asks by default Approving every message in a back-and-forth on Slack was tiring: sending, deleting, sharing and posting asked every time with Allow once and Deny only (#998), and paying or changing account settings was handed to the person. Per David, OpenBot opens these by default and organisations close them: - Every kind of action that asks now offers Allow once, Allow for this conversation, Always allow here and Deny. Payments and account-setting changes ask instead of being handed off. - Allow for this conversation covers the same Bot, tool, target and account in that conversation only, ends when turned off or when the conversation is deleted, and is shown above the composer with Turn off. Each call it lets through writes an audit row (source: conversation). - An allow reaches a kind only when it was given on that kind's card, so older rules and typed rules don't silently open sends or payments. - Admins set each kind to Members choose, Ask every time or Members do it themselves. A team rule that asks still beats any personal answer. - A password changed on a website stays a hand-off: only the person has it. * Name a website step's conversation answer by its kind, not as every click Allowed for a conversation on a website, the answer covers that kind of step there (a Send button, say), so the line above the message box says "Sending to other people on <site>" instead of "Click on <site>", which read as every click. * Rebaseline one test type error whose message TypeScript now prints differently The same pre-existing error in plugin-routes.test.ts, printed as "ref?: undefined" instead of "readonly ref?: undefined" now that the test program has another file in it. | 14 days ago | |
Organizations, phase 2: each organization governs itself, its own memory and Learning, one's own organization and invitations, teams, and Desktop connected to a remote OpenBot (#1705) Organizations, phase 2, fused into one branch: each organization governs itself, memory and Learning are kept per organization, an organization of one's own at first sign-in with invitations, teams inside an organization, and OpenBot Desktop connected to an OpenBot that runs somewhere else. This branch merges, at their current heads: - #1701 Say in the spec and Admin that each organization governs itself - #1697 Say in the API that memory and Learning are kept per organization - #1700 Invitations, organization settings and an organization of one's own in the app - #1699 Teams inside an organization: the API, the screens, and granting to a team - #1698 Add an API keys page to Settings, and say what OAuth needs in the spec - #1702 Connect OpenBot Desktop to an OpenBot that runs somewhere else - main, with #1704 On top of the merges: - The spec bundled once and the clients generated again from it, keeping every piece's additions in the shared spec files. - The teams tests' organization and member fixtures carry the fields an organization and a member answer with (`personal`, `removable`, `assignableRoles`). - The rust-toolchain action's pin is commented with the tag it is (`v1`), as the static analysis of the workflows asks. Checked locally: format, lint, typecheck, API lint, the teams, Learning and audit tests. Draft: the pieces' own PRs stay open; this lands them together after one end-to-end test. | 7 days ago | |
Say a subtask that called no tool answered directly, and show a task's time in its details (#1736) A subagent that answered without calling a tool came back with a count of none, and its Bot reported that its worker took 0 steps. Its run is work done, so a result with no tool calls now carries no count and says it answered directly, and its line in the task's thread says the same. A result from before that still says steps: 0 is read the same way. A task's details now say how long it worked: its turns' time added up, as the server records it. A subagent a turn started works inside that turn, so its time is in there. | 7 days ago | |
Say a subtask that called no tool answered directly, and show a task's time in its details (#1736) A subagent that answered without calling a tool came back with a count of none, and its Bot reported that its worker took 0 steps. Its run is work done, so a result with no tool calls now carries no count and says it answered directly, and its line in the task's thread says the same. A result from before that still says steps: 0 is read the same way. A task's details now say how long it worked: its turns' time added up, as the server records it. A subagent a turn started works inside that turn, so its time is in there. | 7 days ago | |
Single-user installs answer only this machine's own app, each computer has its own token, and a Bot's shell installs packages without root (#984) ## What this changes Hardening across four places where something could reach further than it was meant to. A Bot keeps its shell and its package installs; nothing a person or a Bot is supposed to do stops working. **A single-user install answers only this machine's own app.** Single-user mode (Desktop, `scripts/start.sh`, a clone run from `.env.example`) admits every request as the administrator. Now: - The CopilotKit runtime answers CORS only for OpenBot's own origins: the public and app URLs, `TRUSTED_ORIGINS`, the app's port on loopback, and the Recorder extension. It used to answer every origin. - One guard on `/api/*` and on every WebSocket upgrade refuses a state-changing request or an upgrade that a browser marks as coming from another site, in every auth mode. Requests with no Origin (servers, webhooks, mobile, CLIs) are unaffected. `/api/auth/*` stays with Better Auth. - In single-user mode, the administrator is admitted only for a Host that names this machine or a configured address, so a renamed host is refused. - When the server runs on the host rather than in a container, the administrator is also admitted only from a loopback peer. Both images set `OPENBOT_IN_CONTAINER=true`, where the published port is the boundary. An operator who configured an address beyond this machine keeps the old behaviour. - `app/serve.ts` listens on loopback, and the Vite dev server refuses other machines, unless such an address is configured. - Container callbacks keep working: they authenticate with their own secrets. **Each computer of one person's own has its own token.** The supervisor and Helm `sandbox` used to give every computer the deployment's `COMPUTER_TOKEN`. - Each now gets `HMAC-SHA256(COMPUTER_TOKEN, <its identity>)`. The server derives the same value whenever it calls that computer, over HTTP and on the live-screen socket, so a computer accepts only its own token. - A computer created before this holds the old token and is recreated on first use, keeping its files and sign-ins. - The one shared computer (no supervisor) is unchanged. **The one-container image's Bot shell installs packages and nothing else as root.** - sudo now allows only `docker/openbot-apt`, installed root-owned. It takes `update`, or `install` and Debian package names (`-y` is accepted and ignored), and refuses every other option, file, version and path. It runs `apt-get` with a clean environment. - `/app`, which holds the API's code and the page it serves, is no longer owned by the Bot's user. - The tool descriptions say `sudo openbot-apt install <package>` where the shell is not root. **A Bot's endpoint no longer receives the person's request headers.** The runtime forwarded `authorization` and every `x-*` header from the request that started a run to the agent it runs. It now denies both: `{ deny: ["authorization"], denyPrefixes: ["x-"] }`, because `allow: []` in this runtime still forwards them. A Bot's own key and the server-set agent token still go. ## Where it runs - [x] **New state that outlives a request?** None. The guard, the Host and peer checks, and the token derivation are per request and deterministic. - [x] **What happens on the second replica?** The same answer. Every replica derives the same computer token from the same `COMPUTER_TOKEN` and identity, and the origin and Host rules come from configuration. - [x] **Anything serialised?** Recreating a computer that holds an old token. - Under the supervisor, it uses the supervisor's existing recreate path, which already handles image changes. - Under Helm `sandbox`, a running Sandbox is suspended and resumed with its new template, the same way an image update is. - Resuming now waits for a suspend already in progress. That wait is tested within one process, against a fake controller. - [x] **Anything fanned out to a browser?** Nothing new. - [x] **New listener, port, or schedule?** None. `serve.ts` and Vite listen on loopback when the server runs on the host. Inside a container they keep listening as before. ## Boundary and audit - [x] Every acting call still goes through the gateway: resolve, decide, audit, then act. - [ ] New refusals and new failures each write a row. Origin, Host and peer refusals are answered with a 403 before any person is identified, so they write no audit row. The Recorder's connect route keeps its own stricter check, which records each refusal. - [x] Nothing new is trusted from the client that the server can resolve itself. The peer address comes from the socket (`server.requestIP`), passed to the app as a binding, never a header. ## Changelog - [x] Lines under `Unreleased` for the origin and single-user change, the computer tokens, the one-container shell, and the Bot headers. ## Proof Each regression test fails on `main` (6f64339a) and passes here: | Test | `main` | This branch | |---|---|---| | `server/tests/request-trust.integration.test.ts`: real app, runtime and front door on a port | 9 fail / 6 pass | 15 / 15 pass | | `server/tests/computer-own-token.test.ts`: real `agent-computer` processes, the real gateway and supervisor provider, the real stream proxy | 7 fail / 1 pass | 8 / 8 pass | | `server/tests/computer-sandbox.test.ts` (four new cases) | 4 new fail | 31 / 31 pass | | Supervisor Docker integration: a container holding the old token is recreated, keeping its files | fails | passes | | `server/tests/copilot-forwarded-headers.test.ts`: a run and a suggestion against a real AG-UI endpoint that records headers | 0 / 2 pass | 2 / 2 pass | | `app/tests/serve.test.ts`, `app/tests/vite-listen.test.ts`, `shared/this-machine.test.ts` | fail | pass | | CI: "A Bot's shell cannot reach the deployment secrets or the API's code", run against the built image | fails (a Pre-Invoke hook ran as root and read `KEY_ENCRYPTION_KEY`) | passes | The full suite has 11,626 tests across 941 files. Every file that fails here fails on `main` too, with the same tests. The one exception is a browser-extension test that failed intermittently in a file this PR does not touch. End to end, on a stack started from this branch (single-user, supervisor, one computer per person) in Chrome: - **The app works through Vite and through `serve.ts`**, the way Desktop runs it: - onboarding; - a Bot run that used its shell and its browser; - the live screen; - the conversation list updating over its socket. - **A page on another origin is refused:** - it could not read `/api/me` or `/api/copilotkit/info`; - both WebSockets were refused; - its cross-site POST to the approval rules added nothing (0 rows). - **Requests that are not this machine's own app get 403:** - a renamed Host; - a request on the machine's LAN address; - a container calling with its own Host. `serve.ts` listened on `127.0.0.1` and `[::1]` only. - **One person's computer is refused by another's:** - The computer held its own token, not the deployment's. - From one person's computer, another person's computer refused that token on `/computers` and `/exec` (401). - **The one-container image, built from this branch:** - A Bot asked in chat to install cowsay did, through `openbot-apt`. - `sudo apt-get` with a Pre-Invoke hook was refused and nothing ran. - Writes under `/app` and reads of the container's secrets were denied. That run found one bug, fixed here with a CI check that fails before and passes after: the helper refused `install -y`, which is how a model writes an install. | 19 days ago | |
Single-user installs answer only this machine's own app, each computer has its own token, and a Bot's shell installs packages without root (#984) ## What this changes Hardening across four places where something could reach further than it was meant to. A Bot keeps its shell and its package installs; nothing a person or a Bot is supposed to do stops working. **A single-user install answers only this machine's own app.** Single-user mode (Desktop, `scripts/start.sh`, a clone run from `.env.example`) admits every request as the administrator. Now: - The CopilotKit runtime answers CORS only for OpenBot's own origins: the public and app URLs, `TRUSTED_ORIGINS`, the app's port on loopback, and the Recorder extension. It used to answer every origin. - One guard on `/api/*` and on every WebSocket upgrade refuses a state-changing request or an upgrade that a browser marks as coming from another site, in every auth mode. Requests with no Origin (servers, webhooks, mobile, CLIs) are unaffected. `/api/auth/*` stays with Better Auth. - In single-user mode, the administrator is admitted only for a Host that names this machine or a configured address, so a renamed host is refused. - When the server runs on the host rather than in a container, the administrator is also admitted only from a loopback peer. Both images set `OPENBOT_IN_CONTAINER=true`, where the published port is the boundary. An operator who configured an address beyond this machine keeps the old behaviour. - `app/serve.ts` listens on loopback, and the Vite dev server refuses other machines, unless such an address is configured. - Container callbacks keep working: they authenticate with their own secrets. **Each computer of one person's own has its own token.** The supervisor and Helm `sandbox` used to give every computer the deployment's `COMPUTER_TOKEN`. - Each now gets `HMAC-SHA256(COMPUTER_TOKEN, <its identity>)`. The server derives the same value whenever it calls that computer, over HTTP and on the live-screen socket, so a computer accepts only its own token. - A computer created before this holds the old token and is recreated on first use, keeping its files and sign-ins. - The one shared computer (no supervisor) is unchanged. **The one-container image's Bot shell installs packages and nothing else as root.** - sudo now allows only `docker/openbot-apt`, installed root-owned. It takes `update`, or `install` and Debian package names (`-y` is accepted and ignored), and refuses every other option, file, version and path. It runs `apt-get` with a clean environment. - `/app`, which holds the API's code and the page it serves, is no longer owned by the Bot's user. - The tool descriptions say `sudo openbot-apt install <package>` where the shell is not root. **A Bot's endpoint no longer receives the person's request headers.** The runtime forwarded `authorization` and every `x-*` header from the request that started a run to the agent it runs. It now denies both: `{ deny: ["authorization"], denyPrefixes: ["x-"] }`, because `allow: []` in this runtime still forwards them. A Bot's own key and the server-set agent token still go. ## Where it runs - [x] **New state that outlives a request?** None. The guard, the Host and peer checks, and the token derivation are per request and deterministic. - [x] **What happens on the second replica?** The same answer. Every replica derives the same computer token from the same `COMPUTER_TOKEN` and identity, and the origin and Host rules come from configuration. - [x] **Anything serialised?** Recreating a computer that holds an old token. - Under the supervisor, it uses the supervisor's existing recreate path, which already handles image changes. - Under Helm `sandbox`, a running Sandbox is suspended and resumed with its new template, the same way an image update is. - Resuming now waits for a suspend already in progress. That wait is tested within one process, against a fake controller. - [x] **Anything fanned out to a browser?** Nothing new. - [x] **New listener, port, or schedule?** None. `serve.ts` and Vite listen on loopback when the server runs on the host. Inside a container they keep listening as before. ## Boundary and audit - [x] Every acting call still goes through the gateway: resolve, decide, audit, then act. - [ ] New refusals and new failures each write a row. Origin, Host and peer refusals are answered with a 403 before any person is identified, so they write no audit row. The Recorder's connect route keeps its own stricter check, which records each refusal. - [x] Nothing new is trusted from the client that the server can resolve itself. The peer address comes from the socket (`server.requestIP`), passed to the app as a binding, never a header. ## Changelog - [x] Lines under `Unreleased` for the origin and single-user change, the computer tokens, the one-container shell, and the Bot headers. ## Proof Each regression test fails on `main` (6f64339a) and passes here: | Test | `main` | This branch | |---|---|---| | `server/tests/request-trust.integration.test.ts`: real app, runtime and front door on a port | 9 fail / 6 pass | 15 / 15 pass | | `server/tests/computer-own-token.test.ts`: real `agent-computer` processes, the real gateway and supervisor provider, the real stream proxy | 7 fail / 1 pass | 8 / 8 pass | | `server/tests/computer-sandbox.test.ts` (four new cases) | 4 new fail | 31 / 31 pass | | Supervisor Docker integration: a container holding the old token is recreated, keeping its files | fails | passes | | `server/tests/copilot-forwarded-headers.test.ts`: a run and a suggestion against a real AG-UI endpoint that records headers | 0 / 2 pass | 2 / 2 pass | | `app/tests/serve.test.ts`, `app/tests/vite-listen.test.ts`, `shared/this-machine.test.ts` | fail | pass | | CI: "A Bot's shell cannot reach the deployment secrets or the API's code", run against the built image | fails (a Pre-Invoke hook ran as root and read `KEY_ENCRYPTION_KEY`) | passes | The full suite has 11,626 tests across 941 files. Every file that fails here fails on `main` too, with the same tests. The one exception is a browser-extension test that failed intermittently in a file this PR does not touch. End to end, on a stack started from this branch (single-user, supervisor, one computer per person) in Chrome: - **The app works through Vite and through `serve.ts`**, the way Desktop runs it: - onboarding; - a Bot run that used its shell and its browser; - the live screen; - the conversation list updating over its socket. - **A page on another origin is refused:** - it could not read `/api/me` or `/api/copilotkit/info`; - both WebSockets were refused; - its cross-site POST to the approval rules added nothing (0 rows). - **Requests that are not this machine's own app get 403:** - a renamed Host; - a request on the machine's LAN address; - a container calling with its own Host. `serve.ts` listened on `127.0.0.1` and `[::1]` only. - **One person's computer is refused by another's:** - The computer held its own token, not the deployment's. - From one person's computer, another person's computer refused that token on `/computers` and `/exec` (401). - **The one-container image, built from this branch:** - A Bot asked in chat to install cowsay did, through `openbot-apt`. - `sudo apt-get` with a Pre-Invoke hook was refused and nothing ran. - Writes under `/app` and reads of the container's secrets were denied. That run found one bug, fixed here with a CI check that fails before and passes after: the helper refused `install -y`, which is how a model writes an install. | 19 days ago | |
Name an app's tool the same way everywhere, and list an app's tools by name (#1296) * Name an app's tool the same way everywhere, and list an app's tools by name The app's page named Gmail's tools as a person would after #1290, while Activity and a conversation's steps still read "Settings get imap" and "Fetch message by thread id", and the page kept the stored names' order, so "Get IMAP settings" sat under S. The rules that turn a stored name into words move from the app's page into shared/tool-name-words.ts, and appToolName applies them, so Activity, a conversation's step, an approval and the app's page all say "Get IMAP settings". An approval keeps a name written in capitals that way inside its sentence ("API root", not "aPI root"), as Activity does where it lists several tools. The personal edition's app page lists its tools in the order of the names it shows. Team Admin keeps the stored names and their order. * Test an approval's words through its card, not the naming function One test per surface a person reads, each through its real rendering: Activity's row, the conversation's step, the approval on the Bot's page and the app's page. The two direct tests of the naming functions go. | 15 days ago | |
Settings cards: one link to a screen, and approvals in plain words (#2098) Every settings card now opens its screen with the same link: "Open Settings" in the primary colour with a chevron, underlined on hover. The personal cards used an underlined "Open Settings" while the admin cards used "Open Routines" with a chevron. The chevron is the app's mark for a link to another screen (the layout skill's chevron rows, What if's "Open Apps"); an underlined word is its link inside a sentence. Rows that open a screen (a Bot in "Your Bots", a screen in "Where to change it") end in the same chevron instead of an arrow out. A settings change waiting on the person is titled by what it changes: "Change your settings", "Change Scout's settings", "Change your organization's settings", "Invite someone to your organization", "Move a team". It read "Update my settings on OpenBot settings": the tool's own name, written for the model, then the app. The same words reach the Approvals list, a saved rule's title, Slack's card and a task's waiting line. A change to a Bot names it from its preview (change.bot) and says "a Bot" when the preview doesn't carry it. Tests: the settings card browser tests (Chromium and WebKit, light and dark, 1440 and 390) pin the link's look on every card and each approval's title, and the read cards' test joins the two-engine CI job; a rule test pins every settings approval's words. Each fails on main. | 2 hours ago | |
Say Activity, approval and skill rows the way a person would (#1315) | 15 days ago | |
Run a Bot's browser actions in order, and draw an answer only after its reads come back (#1450) * Tell every Bot to batch only independent tool calls, and to draw a component only from results it has read Anthropic's parallel tool use guidance asks for this sentence in the system prompt: a model that calls tools in parallel by default put its charts and tables in the same step as the searches they were meant to show. Work in progress: the browser and headless enforcement follow on this branch. * Hold every step to Anthropic's parallel tool use pattern in the browser and on headless turns A built-in Bot's steps each get an assistant message of their own, so a step is something the conversation can be read for. A computer's actions in one step run in order and stop at the first failure, and a component asked for beside another kind of call is answered as drawn too early and left out of the transcript. Work in progress: browser tests follow. * Test the step rules in the browser through the real chat, gallery and computer tools A form's fields typed in one step reach the gate in order and stop at the first that fails; a chart and table asked for beside a search are answered as drawn too early and never shown, not even while they stream, nor when the conversation is opened again; an approval card asked for beside a search is not shown. The prompt test pins Anthropic's sentence. * Read the published components from the page's query cache, so a transcript draws without a query provider The Claude Agent SDK harness's instructions fixture takes the new working rule. * Say in the changelog that a Bot draws only from results it has read, and stops a form at the first failure | 13 days ago | |
Move the turn engine into @openbot/toolkit, and split the largest server files (#784) * test(server): pin a headless turn that waits on a person through the interrupt's metadata * test(server): pin how a hop treats a failed lock renewal and a Bot paused before it starts * refactor: make shared/ the @openbot/shared workspace and import it by name * refactor(server): lift the hop's thread lock out of mountCopilotRuntime and test it * refactor(server): give the thread-history helpers their own module so run-turn stops importing copilot.ts * refactor(server): move the headless tool contract and middleware to src/toolkit, apart from the computer tools * refactor(server): move the GrantedTool contract and parametersFor to src/toolkit, apart from the plugin store * refactor(server): inject a turn's admission into the turn runner instead of reading the lifecycle and controls globals * refactor(server): hand the headless component tools an AuditSink instead of the audit store * refactor(server): define AuditInitiator in src/toolkit and re-export it from audit.ts * refactor(server): move the approval continuation and the waiting metadata key into src/toolkit * refactor(server): give a headless turn its components through a ComponentCatalog port, and keep AuditSink on the server * refactor(server): move the headless turn runner, its types and the history helpers into src/toolkit * chore(lint): forbid server, CopilotKit, Drizzle and Hono imports inside server/src/toolkit * refactor(toolkit): decide how a headless turn ended in one pure settle(), with the lock held by a lease * refactor: make the toolkit its own @openbot/toolkit workspace, outside the server * fix(toolkit): stop a turn only when its lock is renewed as somebody else's, not on any failed renewal * fix(server): admit a hop before it locks the conversation, and stop it when its lock is renewed as somebody else's * refactor(toolkit): name a headless turn's limits in TURN_LIMITS and derive the sweep's abandoned-run cutoff from it * docs(server): say that the platform applies its own lock lifetime whatever a hop asks for * refactor(server): name the built-in Bot's OpenAI fallback model and read its Anthropic fallback from the shared spec * refactor(server): name the OAuth and delivery request timeouts that several call sites share * fix(toolkit): ask for the platform's own 120-second lock lifetime on a headless turn * refactor(server): move Composio's vendor shapes and parsers out of the adapter into composio-vendor.ts * refactor(server): split the plugin routes into one module per route group, mounted in their original order * refactor(server): move the approval resume loop out of index.ts into approvals/resume-sweep.ts * refactor(server): move the person-response loop out of index.ts into approvals/person-response-sweep.ts * refactor(server): move the Bun server and its websocket dispatch out of index.ts into http-server.ts * refactor(server): move starting handoff delivery out of index.ts into agents/handoff-wiring.ts * refactor(server): move the coordination tools and their per-run wrapper out of index.ts into agents/coordination-wiring.ts * refactor(server): split the plugin store into its model, a shared context and five method groups * refactor(server): split the Composio client into a shared context, its actions and four broker method groups * refactor(toolkit): move the native approval wrapper into the toolkit core * refactor(toolkit): add the copilotkit adapters folder, starting with the thread lock, and keep the core free of CopilotKit * refactor(toolkit): move the CopilotKit agent classes into the toolkit, with the server's run hooks passed in * refactor(server): declare what the approval service reads before it in index.ts * refactor(server): move the approval service's construction out of index.ts into approvals/wiring.ts * refactor(server): move the responsibility engine's construction out of index.ts into responsibilities/wiring.ts * style(server): format copilot.ts's imports after moving the agent classes * refactor(server): declare what index.ts's statements read before them, where no cycle prevents it * docs(changelog): say how Bot turns hold their conversation more carefully * fix(desktop): copy the toolkit workspace into a deployment, and fingerprint shared and toolkit's dependencies * fix(lint): stop the toolkit core importing its copilotkit folder through the package's own name * fix(server): normalise the model base URLs before the runtime model reads them, as on main * fix(toolkit): lose a lease whose renewals have failed for its whole lifetime, not only on a conflict * test: pin the 120-second lock lifetime with a literal, not the constant it checks * fix(toolkit): give up on a lease one interval before its lock lapses, not after | 1 month ago | |
Harden runtime env, tokens, control text and model content (#550) Supervisor passed whitespace-only COMPUTER_IMAGE/NETWORK/RUNTIME through to Docker and forwarded bad BROWSER_MODEs to crash the child; values are trimmed and modes fail fast. Whitespace COMPUTER_TOKEN is omitted instead of crashing the child at boot. Stream query tokens and Bearer remainders are trimmed like headers. Control reason/label are capped at 500 chars against poll amplification. Empty WORKSPACE_DIR falls back instead of ENOENT crash. Unparseable socket input gets an error frame. Model image parts are mime-allowlisted and base64-checked. Co-authored-by: David McKay <david@copilotkit.ai> | 2 months ago | |
Retire agent-bot and the TypeScript agent-langgraph; the managed Bot is the LangGraph harness (#1570) * Retire agent-bot and the TypeScript agent-langgraph; the managed Bot is the LangGraph harness agent-bot was a proof of concept that wrote the AG-UI protocol by hand, and the TypeScript agent-langgraph was superseded by the maintained LangGraph harness, agent-langgraph-agui. Both go, with their images, their CI installs, BOT_PORT, BOT_IMAGE and AGENT_BOT_MODEL. The team edition keeps its managed Bot: start.sh starts agent-langgraph-agui on LANGGRAPH_PORT (4201 on the host, 4206 in the container) and points MANAGED_AGENT_AG_UI_URL at it, so the fintech example's Risk Analyst runs on it. A release publishes neither retired image, and Desktop pins the harness in their place, drops the Bot port from its port table and stops writing AGENT_BOT_MODEL (an earlier .env's line is still taken out). tests/compose.test.ts and scripts/start-restart-guard.test.ts check that the managed Bot is the harness and that neither retired Bot is started. * Desktop's port test counts the ports there are now * Desktop pins only the images it runs: no Bot image * Format the files this changes, and leave the generated capabilities schema as it was * cargo fmt * On a Mac with Podman, override ports only for services the installation defines Updating 1.0.2 on a Mac with Podman stopped at the database backup, rolled back, and the fall-back start failed too. The port overlay this app writes named agent-langgraph-agui, which 1.0.2's docker-compose.yml does not define, and Compose refuses a project in which a file names a service with no image, so every command given the overlay failed, the backup and the rollback start among them. The overlay now lists every service any release has published a port for, and the app writes only the ones the installation's own Compose files define, read each time it builds a command. So it fits the previous release's file during the update and after a rollback, and this release's file once it is in place. Tests: the overlay written over 1.0.2's Compose file (a fixture) names only its services, and over this release's file names the harness; real Compose accepts the first and refuses the old every-service overlay. * The overlay merge test counts the server's two published ports | 10 days ago | |
Ask once for a star on GitHub, on the personal edition, after real use (#1553) On the personal edition only, a card above the message box asks once: "Enjoying OpenBot? Star it on GitHub so that we can keep making it better." with Not now and Star on GitHub. It shows only after the person has used OpenBot on three separate days and has just had a win (copied a Bot's answer, a routine ran, or a long task finished), never right after an error. Either answer is kept on the person's account, so no device asks again. Settings > General gains a "Star OpenBot on GitHub" row on the personal edition. The answer is kept in a general list of dismissed notices on the person's preferences, and shown, clicked and dismissed are recorded as general nudge events, so later nudges need no new API. Tested in Chromium and WebKit, light and dark, on a personal-edition stack. | 6 days ago | |
feat: add voice conversations and improve chat and settings UX (#636) * fix: load older sidebar conversations on scroll * feat: try agent cards with clearer roles and direct conversation actions * Revert "feat: try agent cards with clearer roles and direct conversation actions" This reverts commit 9b904df52344d04c4bc6fa00a583bc5f6f2e2d84. * feat: refine agent directory cards and dark mode borders * feat: add synced message preferences and connected app logos * feat: add provider-independent voice dictation with live waveform * feat: add live voice conversations and thread summaries Support OpenAI Realtime and Grok voice adapters with agent tool delegation, persistent transcripts and summaries, and context shared with text chat. Add a floating call widget, refine its controls and avatars, and group browser activity into compact disclosures. * docs: describe voice and conversation experience updates * fix: configure microphone access for the macOS app * fix: summarize voice calls with the configured chat provider * fix: refresh voice previews safely after summary retries * test: include voice sessions in chat history fixtures * fix: keep waveform accessibility compatible with current lint rules * docs: clarify voice summary credentials and retry behavior * test: serve voice history in failed-send attachment fixtures * test: isolate desktop connection failure state across suites | 1 month ago | |
Bots tell you when something needs you (#929) Bots now tell a person when something needs them. **What it does** - A Bot the person has talked to quietly checks what that person connected, at most once an hour. That's any app or server they connected with their own account (Composio, Arcade, MCP). It only reads. - When something needs the person, the Bot raises an item that says why and where it came from. When nothing does, nothing is sent; a quiet check is one database row. - The person hears at most once an hour, with every Bot's items folded into one message, each labelled with its Bot: - in the app: Needs you, a badge and a browser notification; - by phone push, which opens Needs you; - on Slack, Teams or SMS, in the conversation they used last, skipping a Bot they silenced. - **Start** turns an item into a task in its own conversation. It always asks before any send or change, and its approvals never offer "Always allow". The only thing it does unasked is a read a reviewed read list names, on an app the person connected with their own account; a tool only labelled a read, by its server or a broker, asks. **Hide** keeps the item from coming back for 30 days, across all of the person's Bots. - **Settings → Notifications** has a Check-ins switch and a "Something needs you" row for where these go. - **Admin → Check-ins** has an organization switch, a daily limit (24 per Bot), and per-Bot numbers: runs, items started and hidden, and pings. Counts only, no titles or names. **Also fixed on the way:** on Bun, a Bot's tool calls lost their approval context when a real model's stream closed. That meant private-share sends were refused, and changes could run unasked with "Ask before making changes" on. Each built-in Bot now carries the run it is in, and its tools re-enter that run, so a call can never land in another person's conversation. The regression tests run through a real MCP server on the Bun this repo pins. **Migrations:** `0071_proactive_check_ins` and `0072_check_in_read_labels`, after main's `0070_memory_dedup_per_bot`. | 21 days ago | |
Organizations, phase 2: each organization governs itself, its own memory and Learning, one's own organization and invitations, teams, and Desktop connected to a remote OpenBot (#1705) Organizations, phase 2, fused into one branch: each organization governs itself, memory and Learning are kept per organization, an organization of one's own at first sign-in with invitations, teams inside an organization, and OpenBot Desktop connected to an OpenBot that runs somewhere else. This branch merges, at their current heads: - #1701 Say in the spec and Admin that each organization governs itself - #1697 Say in the API that memory and Learning are kept per organization - #1700 Invitations, organization settings and an organization of one's own in the app - #1699 Teams inside an organization: the API, the screens, and granting to a team - #1698 Add an API keys page to Settings, and say what OAuth needs in the spec - #1702 Connect OpenBot Desktop to an OpenBot that runs somewhere else - main, with #1704 On top of the merges: - The spec bundled once and the clients generated again from it, keeping every piece's additions in the shared spec files. - The teams tests' organization and member fixtures carry the fields an organization and a member answer with (`personal`, `removable`, `assignableRoles`). - The rust-toolchain action's pin is commented with the tag it is (`v1`), as the static analysis of the workflows asks. Checked locally: format, lint, typecheck, API lint, the teams, Learning and audit tests. Draft: the pieces' own PRs stay open; this lands them together after one end-to-end test. | 7 days ago | |
Give every process its own lease name, so two on one machine cannot both hold an item (#435) Co-authored-by: David McKay <david@copilotkit.ai> | 2 months ago | |
Give every process its own lease name, so two on one machine cannot both hold an item (#435) Co-authored-by: David McKay <david@copilotkit.ai> | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 days ago | ||
| 9 hours ago | ||
| 10 hours ago | ||
| 15 days ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 5 days ago | ||
| 13 days ago | ||
| 13 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 14 days ago | ||
| 6 hours ago | ||
| 25 days ago | ||
| 4 days ago | ||
| 4 days ago | ||
| 19 days ago | ||
| 5 days ago | ||
| 1 month ago | ||
| 10 days ago | ||
| 1 day ago | ||
| 3 days ago | ||
| 28 days ago | ||
| 9 days ago | ||
| 18 days ago | ||
| 15 days ago | ||
| 25 days ago | ||
| 25 days ago | ||
| 13 days ago | ||
| 13 days ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 18 days ago | ||
| 11 days ago | ||
| 11 days ago | ||
| 3 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 26 days ago | ||
| 4 days ago | ||
| 5 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 3 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 6 days ago | ||
| 20 days ago | ||
| 6 days ago | ||
| 6 days ago | ||
| 26 days ago | ||
| 16 days ago | ||
| 3 days ago | ||
| 6 days ago | ||
| 9 days ago | ||
| 10 hours ago | ||
| 4 days ago | ||
| 17 days ago | ||
| 17 days ago | ||
| 8 days ago | ||
| 3 days ago | ||
| 26 days ago | ||
| 13 days ago | ||
| 26 days ago | ||
| 26 days ago | ||
| 26 days ago | ||
| 26 days ago | ||
| 26 days ago | ||
| 26 days ago | ||
| 19 days ago | ||
| 19 days ago | ||
| 19 days ago | ||
| 10 days ago | ||
| 12 days ago | ||
| 12 days ago | ||
| 13 days ago | ||
| 13 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 9 days ago | ||
| 3 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 26 days ago | ||
| 9 days ago | ||
| 9 days ago | ||
| 14 days ago | ||
| 7 days ago | ||
| 7 days ago | ||
| 7 days ago | ||
| 19 days ago | ||
| 19 days ago | ||
| 15 days ago | ||
| 2 hours ago | ||
| 15 days ago | ||
| 13 days ago | ||
| 1 month ago | ||
| 2 months ago | ||
| 10 days ago | ||
| 6 days ago | ||
| 1 month ago | ||
| 21 days ago | ||
| 7 days ago | ||
| 2 months ago | ||
| 2 months ago |