DorkOS 0.144.0
Replies, room messages and clicks that survive a restart, and API keys that become programs you can see and control.
DorkOS 0.144.0 keeps your work going when DorkOS restarts: a Claude Code or Codex reply carries on, and waiting messages are kept. Your API keys are now programs you can see and control in Settings. If you call the DorkOS API from your own scripts, read the upgrade notes first.
All Changes
Note for people upgrading
- If a script or the command line starts getting "did not accept your API key", check that it sends a working key as
Authorization: Bearer <key>. Make a new key in Settings, under Login & security, if you need one. (DOR-5313)
Added
- A script an agent runs can check who sent a message to its chat, instead of trusting the message's words.
dorkos call chat.view_received_message --input '{"messageId":"…"}'(orGET /api/chat-messages/{messageId}) answers one message sent to the calling chat, with the sending agent's id as DorkOS recorded it. Only the chat's own turn can ask; every other caller is refused, and an id that isn't a message to that chat reads as not found (DOR-3040). - Your API keys are now programs, and you can manage them through the DorkOS API at
/api/programs: make one, list them, rename one, set what it may do, or revoke it. A new key is shown once, when you make it, and never again. Making a key, or giving one more power, asks you to confirm it's you first. (DOR-5313) dorkos program listshows your programs and what each may do. It only lists: making, changing and revoking go through the API. (DOR-5313)- Settings → Login & security now lists your programs: each API key, its level and which chats it may read. Make one there (its key is shown once), or open one to rename it, change its level or reach, turn on Trust its words, or revoke it. Giving a program more asks you to confirm it's you first. (DOR-5313)
- If you had API keys before programs, the Inbox names them until you set what each may read. To keep one reaching all chats, open it and save. (DOR-5313)
- A session running outside DorkOS can now claim a ticket or pull request with its own program key, so your other sessions see it is taken. Make a program in Settings → Login & security → Programs and start the session with
DORKOS_API_KEYset to its key. Then rundorkos call work-claims.create_program_claim --input '{"ref":"DOR-1234"}'. A claim is a heads-up, not a lock on the work: an agent's chat can hold the same ticket, and a session that never claims isn't stopped. It ends when you release it, two hours after the session's last call, or as soon as you revoke the program. (DOR-5463) dorkos call work-graph.work_item_chatsnow lists programs beside chats. You see each program's name and what it said it is doing. Agents see only the days. (DOR-5463)- When an agent's chat claims a ticket, it is now told who else holds it (another agent's chat or a program key), without being blocked. (DOR-5463)
Changed
-
A widget button clicked while the agent is still replying now waits for the reply to finish, for up to five minutes, instead of failing with "Wait for the reply to finish". A click that waits longer than that is dropped, so it never runs against a later reply (DOR-5215).
-
With login off, a request that sends an API key must now send a working one, as
Authorization: Bearer <key>. A key DorkOS can't use (one you revoked or turned off, one that expired, one it never made), a key sent in anX-Api-Keyheader, another scheme such asToken, or a malformed value now gets 401 instead of being treated as you. (DOR-5313) -
With login off, a script with a working key is now a program, not you, so it no longer sees what only you see, such as owner-only updates on the live event stream. (DOR-5313)
-
The audit log now names the program when a script calls with one of your API keys, instead of recording the call as yours. (DOR-5313)
-
Four reads the app's screens use now come from the same place as DorkOS's other reads: the Inbox, the list of mini apps, the mini apps waiting to be allowed together, and whether network access is on. Their addresses and answers are the same, and so is who may read them. The network access read was missing from the API document before.
-
In the API document, the read of mini apps waiting together has a new operation name:
extensions.listApprovalSetsis nowextensions.list_approval_sets. A generated client needs regenerating. -
Ten more API addresses now name a thing instead of an action. Saying yes or no to a request now goes to one address, with your answer in the body. The app already uses the new ones. If you call the DorkOS API from your own scripts, change these calls. The old addresses now answer "not found".
Before Now POST /api/approvals/{id}/grantPOST /api/approvals/{id}/decisionwith{ "answer": "once" }or{ "answer": "always" }POST /api/approvals/{id}/denyPOST /api/approvals/{id}/decisionwith{ "answer": "deny" }and an optional"reason"POST /api/devices/sign-in-requests/{id}/approvePOST /api/devices/sign-in-requests/{id}/decisionwith{ "answer": "approve" }and the passkey checkPOST /api/devices/sign-in-requests/{id}/declinePOST /api/devices/sign-in-requests/{id}/decisionwith{ "answer": "decline" }POST /api/canvas/docs/{id}/routes/{routeId}/approvePUT /api/canvas/docs/{id}/routes/{routeId}/grantPOST /api/canvas/docs/{id}/routes/{routeId}/revokeDELETE /api/canvas/docs/{id}/routes/{routeId}/grantPOST /api/canvas/docs/{id}/work/{batchId}/clearPATCH /api/canvas/docs/{id}/work/{batchId}with{ "status": "set-aside" }POST /api/connectors/mini-app-access/{approvalId}/revokeDELETE /api/connectors/mini-app-access/{approvalId}POST /api/connectors/access-changes/{changeId}/undoPOST /api/connectors/access-changes/{changeId}/reversalPOST /api/permissions/history/{eventId}/undoPOST /api/permissions/history/{eventId}/reversal -
A decision with no answer, or an answer the address does not take, is refused and changes nothing. Who may use each one, and what it does, has not changed.
dorkos permissions undouses the new address. Some operation names in the API document changed with them, so a client built from the document needs rebuilding. -
Cancelling an agent's held action keeps its address,
POST /api/connectors/holds/{holdId}/cancel, for now. It moves once an app tab left open from before a server update has been reloaded. -
Answering what a chat is waiting on now goes through one API address. The body says which kind of answer it is, in
kind. The app and the desktop app already use it. If you call the DorkOS API from your own scripts, change these calls. The old addresses now answer "not found".Before Now POST /api/sessions/{id}/approvePOST /api/sessions/{sessionId}/answerswith{ "kind": "approve" }POST /api/sessions/{id}/denyPOST /api/sessions/{sessionId}/answerswith{ "kind": "deny" }POST /api/sessions/{id}/batch-approvePOST /api/sessions/{sessionId}/answerswith{ "kind": "approve-batch" }POST /api/sessions/{id}/batch-denyPOST /api/sessions/{sessionId}/answerswith{ "kind": "deny-batch" }POST /api/sessions/{id}/submit-answersPOST /api/sessions/{sessionId}/answerswith{ "kind": "answer" }POST /api/sessions/{id}/submit-elicitationPOST /api/sessions/{sessionId}/answerswith{ "kind": "elicitation" } -
Each answer keeps its other fields and its checks. A body that mixes two kinds is refused.
-
Stopping a chat, stopping one of its background tasks, and reading its waiting messages now work only for a person. An agent, or a program sending its own key, is told only a person can do this. An agent that tries is told to stop the other chat with its chat stop tool instead.
-
In the API document, every chat address names its chat as
sessionId. The addresses themselves did not change. A client built from the document needs rebuilding. -
When DorkOS restarts in the middle of a Claude Code reply in a chat, the agent now carries on with that work once DorkOS is back. It first checks what it had already done, so a step that was cut off is checked before it runs again. Before, the reply stopped and waited for you to send a message. Other runtimes still stop and say so. (DOR-5229)
-
An agent's message sent through the DorkOS API now keeps to the limit on running chats. When the computer is already running as many chats as it allows, the message waits for a free slot and then runs, where before it started anyway. A message from an agent to a paused agent also waits until that agent is resumed, where before it failed and had to be sent again. If DorkOS restarts while such a message waits, it is kept and runs once. Your own messages still go straight in, and a paused agent still tells you it is paused. One new limit: a single message can be at most 200,000 characters (a very long pasted log can pass that). A longer one is not sent; DorkOS says so, and your words stay in the box so you can shorten them. The same goes for any message DorkOS turns away: the box no longer empties. (DOR-5510)
-
Seventeen more API addresses now name a thing instead of an action. The app already uses the new ones. If you call the DorkOS API from your own scripts, change these calls. The old addresses now answer "not found".
Before Now POST /api/extensions/{id}/enablePUT /api/extensions/{id}/enabledPOST /api/extensions/{id}/disableDELETE /api/extensions/{id}/enabledPOST /api/extensions/{id}/approvePUT /api/extensions/{id}/run-approvalPOST /api/extensions/{id}/revokeDELETE /api/extensions/{id}/run-approvalPOST /api/extensions/{id}/removeDELETE /api/extensions/{id}/installationPOST /api/extensions/reloadPOST /api/extensions/rescansPOST /api/connectors/reconciliation/applyPOST /api/connectors/reconciliation/revisionsPOST /api/relay/adapters/{id}/enablePUT /api/relay/adapters/{id}/enabledPOST /api/relay/adapters/{id}/disableDELETE /api/relay/adapters/{id}/enabledPOST /api/relay/adapters/testPOST /api/relay/adapters/config-testsPOST /api/relay/bindings/{id}/movePATCH /api/relay/bindings/{id}with only{ "agentId" }POST /api/relay/unclaimed-chats/{id}/claimPOST /api/relay/unclaimed-chats/{id}/bindingPOST /api/runtimes/claude-code/accounts/{id}/probePOST /api/runtimes/claude-code/accounts/{id}/usage-checksPOST /api/runtimes/claude-code/signins/{id}/acceptPUT /api/runtimes/claude-code/signins/{id}/confirmationPOST /api/runtimes/opencode/openrouter/oauth/startPOST /api/runtimes/opencode/openrouter/oauth-flowsPOST /api/tunnel/startPUT /api/tunnelPOST /api/tunnel/stopDELETE /api/tunnel -
Moving a chat to another agent now goes through the same address as changing the chat's other settings. Send
agentIdon its own: sent with any other setting, it is refused. A move still waits for you to confirm it's you. -
Who may use each one, what it does, and what waits for you to confirm it's you have not changed. A device on your Wi-Fi is refused the same ones as before. Some operation names in the API document changed with them, so a client built from the document needs rebuilding.
-
A tab left open from before the update says the action failed. Reload it to use the new addresses.
-
When DorkOS restarts in the middle of a Codex reply in a chat, the agent now carries on with that work once DorkOS is back. It picks up the same conversation and first checks what it had already done, so a step that was cut off is checked before it runs again. Before, the reply stopped and waited for you to send a message. (DOR-5225)
-
Removing a package source now has one address:
DELETE /api/marketplace/sources?name=<name>. The oldDELETE /api/marketplace/sources/<name>is gone and answers "not found". The app and thedorkos marketplace removecommand already use the new one. If a script of yours removes sources, change that call. -
The DorkOS agent card for A2A now has one address:
/.well-known/agent-card.json, the one the A2A standard names. The older/.well-known/agent.jsonaddress no longer answers. If you point an A2A client at DorkOS, use/.well-known/agent-card.json. -
Eleven more API addresses now name a thing instead of an action. The app already uses the new ones. If you call the DorkOS API from your own scripts, change these calls. The old addresses now answer "not found".
Before Now POST /api/cloud/link/startPOST /api/cloud/link-flowsGET /api/cloud/link/statusGET /api/cloud/account-linkPOST /api/cloud/link/checkPOST /api/cloud/account-link/checksPOST /api/cloud/unlinkDELETE /api/cloud/account-linkPOST /api/cloud/account/exportPOST /api/cloud/account/exportsPOST /api/cloud/communities/{communityId}/restorePOST /api/cloud/communities/{communityId}/restorationsPOST /api/cloud/communities/moves/{moveId}/uploadPUT /api/cloud/communities/moves/{moveId}/filePOST /api/local-browser/openPOST /api/local-browser/windowsPOST /api/local-browser/sign-inPOST /api/local-browser/sign-in-windowPOST /api/local-browser/sign-in/doneDELETE /api/local-browser/sign-in-windowPOST /api/local-browser/handoff/stopDELETE /api/local-browser/handoff -
Who may use each one, what it does, and what waits for you to confirm it's you have not changed. A device on your Wi-Fi is refused the same ones as before. Some operation names in the API document changed with them, so a client built from the document needs rebuilding.
-
A tab left open from before the update says the action failed. Reload it to use the new addresses.
-
Apps that connect to DorkOS over MCP now need the local token to look up an agent with
get_agent. Before, it worked without one. If your app gets a refusal, send the token asAuthorization: Bearer <token>. You can copy it from Settings → Advanced → Tools → Connect other apps to DorkOS.get_agentnow also answers likeagent.current. -
API keys you had before this update keep reaching all your chats, at the lowest level, until you set what each one may read. (DOR-5313)
-
With login off, a script that sends an API key no longer counts as you on pages only you may see, such as the controls for this computer's browser and for an agent computer. (DOR-5313)
-
Ten lists in the DorkOS API now come a page at a time: scheduled tasks (
GET /api/tasks) and their runs (GET /api/tasks/runs), to-dos (GET /api/todos), agents' promises (GET /api/todo-promises), the folders in a folder (GET /api/directory), slash commands (GET /api/commands), the team (GET /api/team), projects (GET /api/projects), the checkouts on disk (GET /api/workspaces/disk-checkouts) and the schedules and heartbeats that cannot wake (GET /api/heartbeats/wakers-off). The app reads every page and shows each list in the same order as before. -
If you call these lists from your own scripts: each answer now carries
nextCursor. Send it back ascursor, with the same filters, to get the next page; it isnullon the last one.limitsets the page size, 1 to 200, and is 50 when left out. Scheduled tasks used to come back as a bare list; they now come intasks. Runs now come inruns, andoffsetis refused: page withcursor. For to-dos and promises,limitis now the page size, not the most the whole list holds. -
dorkos task listreads every page for you, anddorkos task runs --limitfollows pages until it has that many. -
Something added or removed while you read the pages can show up twice or be skipped. Runs go newest first, so a run that starts while you read is never repeated.
-
A cursor from another list, or one read with other filters, is refused with a clear message instead of starting over. A cursor for runs works only for the caller it was given to, since an agent reads only its own schedules' runs.
-
Apps that connect to DorkOS over MCP now need the local token to list chat connections with
relay_list_adapters. Before, it worked without one. If your app gets a refusal, send the token asAuthorization: Bearer <token>. You can copy it from Settings → Advanced → Tools → Connect other apps to DorkOS. -
Six reads about your DorkOS account now come from the same place as DorkOS's other reads: whether this computer is linked, the plan, usage, the plan suggestion, what you can buy, and whether a space's web address is free. Their addresses and answers are the same, and so is who may read them. Five of them were missing from the API document before.
-
In the API document, two of these reads have new operation names:
cloud.getStatusis nowcloud.link_summaryandcloud.getOffersis nowcloud.offers. A generated client needs regenerating. -
When the usage read is asked for an unknown grouping, or the web-address check is given an address that isn't valid, the answer is still a 400 with the same code and sentence. It no longer lists each problem field by field, because the new home for these reads can't send that list beside a fixed sentence yet.
-
Four more lists in the DorkOS API now come a page at a time: approvals waiting on you (
GET /api/approvals/pending), declined hook requests (GET /api/approvals/declined-hooks), browser profiles (GET /api/local-browser/profiles) and a canvas document's unfinished work (GET /api/canvas/docs/{id}/work). The app reads every page and shows each list in the same order as before. -
If a script of yours reads waiting approvals: each answer now carries
nextCursor. Send it back ascursorto get the next page; it isnullon the last one.limitsets the page size, 1 to 200 (1 to 50 for a document's work), and is 50 when left out. -
The declined hook history used to stop at the latest 100. It now reaches back to the first decline, newest first.
-
A cursor from another list, or one this list never gave, is refused with a clear message instead of starting over.
-
Making a new folder in the folder picker, and the report of where remote access stands, now come from the same place as DorkOS's other actions and reads. Their addresses and answers are the same. Both are now listed in the internal part of the API document.
-
Only a person can make a folder now. An agent, or an API key while login is on, is told no. Before, any caller could.
-
Making a folder with no request body at all now names the two missing fields, as an empty body always did.
-
When you message an agent in a room while it is busy, your message now waits its turn instead of being tried again and again. The agent answers it as soon as it is free, in the order the messages came in, and the room no longer posts "it will answer when it's free" or "send it again". The room only says something if the agent stays busy for too long. If many messages pile up while it waits, it answers the newest ones and still reads the rest. A message you send right after pressing Stop waits until the stopped turn has really ended, then gets its answer. (DOR-5532)
-
When you try something from a phone or laptop on your Wi-Fi that only works at the computer running DorkOS, such as controlling its browser, the app now says to do it at that computer, and the browser panel shows the same "use DorkOS on this computer" note it showed before. Nothing you can do from Wi-Fi changed.
-
Apps that connect to DorkOS over MCP now need the local token to read a message's delivery trace with
relay_get_trace. Before, it worked without one. If your app gets a refusal, send the token asAuthorization: Bearer <token>. You can copy it from Settings → Advanced → Tools → Connect other apps to DorkOS. -
Three more lists in the DorkOS API now come a page at a time: the access changes agents made on your apps (
GET /api/connectors/access-changes), and, for scripts that use a personal API key, the accounts an agent may use (GET /api/connectors/accessible) and one account's operations (GET /api/connectors/accessible/{connectionId}/operations). -
Each answer now carries
nextCursor. Send it back ascursorto get the next page; it isnullon the last one.limitsets the page size, 1 to 200, and is 50 when left out. Before, a script got every account and every operation in one answer. -
In the generated API client, those two API key reads are now named
connectors.listAccessibleandconnectors.listAccessibleOperations(they wereconnectors.getAccessibleandconnectors.getAccessibleOperations). -
dorkos connections listanddorkos connections schemaread every page, so they still show the whole list. -
A cursor from another list, or from another agent's list, is refused with a clear message instead of starting over.
-
Your list of connected accounts, one account's details, disconnecting an account and pausing one all work as before, with the same answers and messages. They now run the one owner check every other connections action runs.
-
These four can also be called by their action name through the API's general "run an action" address. Only you can use them there too; an agent or a program is still refused.
-
Disconnecting and pausing now add a line to the activity log.
-
Apps that connect to DorkOS over MCP now need the local token to read the agent directory with
mesh_list,mesh_inspect,mesh_query_topologyandmesh_status. Before, they worked without one. If your app gets a refusal, send the token asAuthorization: Bearer <token>. You can copy it from Settings → Advanced → Tools → Connect other apps to DorkOS. -
"API keys" in Login & security is now "Programs", and every pointer to it says so, including what an app on another device is told when its key is missing.
dorkos program listsends you there to make or change one. Each row still shows when a remote tool last used the key and when it expires. (DOR-5313) -
Five reads about your chat apps now come from the same place as DorkOS's other reads: the list of chat connections, the kinds you can set up, one connection, the list of chat routes, and one chat route. Their addresses, answers and readers are the same. Two of them were missing from the API document before.
-
In the API document, these reads have new operation names:
relay.listAdaptersis nowrelay.list_connections,relay.listAdaptersCatalogis nowrelay.list_connection_kindsandrelay.listBindingsis nowrelay.list_chat_routes. A generated client needs regenerating. -
The API document now lists
queuedMessagesin a connection's status, as the answer already carries it. -
With chat apps turned off, these five addresses now answer that they aren't on this computer, still with a 404.
-
Marking your Inbox read, adding or removing a device for push notifications, sending a crash report and checking whether a dev server is running all work as before, from Wi-Fi too, with the same answers and messages. They now go through the same door as DorkOS's other actions.
-
An agent whose access was turned off is now refused on these four actions, with a clear refusal that its permissions block them. Before, it got a different refusal on some and could still send a crash report or check a port.
-
Apps that connect to DorkOS over MCP now need the local token to read your mini apps with
list_extensionsandget_extension_errors. Before, they worked without one. If your app gets a refusal, send the token asAuthorization: Bearer <token>. You can copy it from Settings → Advanced → Tools → Connect other apps to DorkOS. -
Apps that connect to DorkOS over MCP now need the local token to list message endpoints with
relay_list_endpointsand chat routes withbinding_list. Before, they worked without one. If your app gets a refusal, send the token asAuthorization: Bearer <token>. You can copy it from Settings → Advanced → Tools → Connect other apps to DorkOS. -
When an account runs out of usage and DorkOS resumes a chat by itself after the reset, the resume now waits its turn if the computer is already running as many chats as it allows, then starts on its own. Before, it tried again every minute. If DorkOS restarts while it waits, the resume is kept and runs once. If you continue or cancel the chat first, the waiting resume is dropped. (DOR-5511)
Removed
- A DorkOS tab left open since before version 0.141.0 no longer gets its own special message when you confirm something there. It gets the same message as every other tab. If confirming in a very old tab doesn't work, reload the tab.
- If you call the "Confirm it's you" routes (
/api/step-up/...) from your own scripts: a refusal is now always a standard problem document, with the codestale_sign_inorstale_page. The old{ error, code: 'extension-risk', stale }answer is gone. - Making a program has no expiry choice; the old API key form offered one. A key made before keeps its expiry, shown on its row. Revoke a program when you no longer need it. (DOR-5313)
- Rows no longer show a key's first characters; tell programs apart by name. (DOR-5313)
Fixed
- An approval answered late, a browser handed back, a finished sign-in, a widget click and a to-do's turn are no longer lost when DorkOS restarts before the agent starts on them, and none of them starts the agent twice (DOR-5215).
- Behind a tunnel that asks for a password, your browser's tunnel sign-in no longer counts as a script. You can now do the things only you can do, such as changing settings or answering a "Confirm it's you" prompt. (DOR-5313)
- A message you send from the web that has to wait for a free slot is now kept if DorkOS restarts while it waits. It runs once a slot frees, with the words you sent. Before, a restart while it waited lost the message. (DOR-5505)
- A browser tab left open while DorkOS updates no longer saves anything with its old code. It asks you to reload first, so a button can't report something that didn't happen, like "Too late to cancel".
- When you answer a question from an agent, your answer now reaches it exactly as you typed it. Before, an answer to a pick-several question that looked like a list in square brackets, such as
["a","b"], was rewritten toa, bfirst. - An agent asking about another agent no longer gets that agent's private settings. Looking up one agent (
GET /api/mesh/agents/{id}), the agents it can reach (GET /api/mesh/agents/{id}/access) and the list of agent folders (GET /api/mesh/agents/paths) now leave out another agent's instructions, permissions, MCP servers, workspace and folder when an agent asks, as the agent list already did. An agent's own directory tools (mesh_list,mesh_inspect,mesh_query_topology,mesh_status, and the agentsmesh_discoverandmesh_registerreport) follow the same rule, and so do thedorkos://agentsresources, in a chat and over/mcp, and an agent that reaches its folder through a shortcut still counts as itself. You, and an agent reading about itself, still see everything. - A room message waiting for a busy agent is no longer lost if DorkOS restarts. The agent still answers it once it is free. (DOR-5532)