Changes to the API
What changed in the extension API, and what to change in an extension that was written before.
API version 1 is a preview. It goes to a small group of invited developers first, and it can still change before Ruimte offers extensions to everyone. Every change lands on this page, newest first, with what an extension has to do about it.
1, preview, agents, the canvas and settings (November 2026)
useAgentreads one agent: its status, what it works on (activity), whether a wait wassnoozed, and its folder and branch. Itsprovidercan now benull. A chat or a design started on the default CLI has none until it reports which CLI it runs on. A terminal has an agent only once its CLI reported, so itsprovideris nevernull. In the test host an agent'sproviderisnullunless the test names one, where it was'claude'before.useSubagentslists a chat's sub-agents at work, anduseProvidersthe agents a person can start. The first two needagents.status.defineCanvasOverlaytakesspace: 'canvas', to draw over the nodes in the canvas's own coordinates. On screen,data-canvas-floormarks what stands at the bottom of the canvas.useCanvasView,useInViewandnodeColorValueread what a person sees of the canvas. A node'scoloris one of Ruimte's accents ornull, andhiddensays a collapsed group hides it.- The
viewAccessoryslot stands beside a chat or terminal open as a view of its own, andviews.focushands one the keyboard. storagereads and writescomputervalues outside a component, and follows them withwatch.useLocalereads nested keys and plurals.defineExtensionSettingstakessection, which Ruimte grants only to the extensions it ships itself for now.- An extension that reads
providerfromuseAgenthandlesnull, and a test that counted on'claude'names the provider itself. Any other extension needs no change.
1, preview, chats and charts (November 2026)
Chatin@ruimte/extension/clientdraws a chat of the machine, its thread and its composer, inside your own surface. It needsagents.start, and draws a chat of the project in front.agents.starttakes afolder, on the client and inserver/, and starts the chat in the project the machine knows there, as a view of that project. Inserver/it takesfolderinstead ofproject.@ruimte/extension/chartsand@ruimte/extension/agents-uihand you the charts and the pieces of a chat Ruimte draws with. A pack takes them from Ruimte instead of bundling them, so they follow the ADE CORE version of the Ruimte that loads the extension, with no promise between releases.agents.starttakeshidden, for a chat you draw yourself withChat: it stays in the project and out of the sidebar.- An extension needs no change.
1, preview, first changes (November 2026)
getServercalls the server part outside a component, such as in a command'srun. An extension needs no change.createTestHostthrows for an option or an answer it does not know. A test that gaveserverbesideanswersfails now, and passes again withserverunderanswers, where it was always read.
1, preview (November 2026)
The first version shared with invited developers.
- Every call that can fail for an expected reason answers a
Result, so an extension checksokinstead of catching. - The client and the server part use the same shapes:
NodeRef,ViewRef,near, and typed events on both sides. @ruimte/extension/testingruns an extension's client and server part without Ruimte:createTestHost,renderandcreateTestServer.- The store is not open yet. Share an extension as a
.rexand install it with Install from disk in Settings, Extensions.