Views and widgets
The window shows one view at a time: a layout of rows, columns and tabs whose cells are widgets, React
components. The chat itself is a widget (omfp:chat), like every other built-in, so a workspace can replace any of
them; their sources are readable at omfp://widgets/builtin.
flowchart TB view["View 'review'"] --> row["row"] row --> tabs["tabs (main)"] row --> side["tabs (side)"] tabs --> chat["omfp:chat"] side --> tests["tests (the workspace's widget)"] side --> mount["mounted by an agent"]

Three ways a widget appears
Section titled “Three ways a widget appears”- Declared in an init file (
ctx.widgets.define,ctx.views.define): part of the workspace until the file changes. A widget reloads as soon as one of its files changes, and shows its error in its place. - Mounted by an agent (
views.mountthroughomfp_call), or added from the window (:widget add): a live change every window shows at once, until it is removed or the init files reload. - Drawn in the chat as a card (
omfp_card), for one moment of the conversation: a chart of a result, a terminal, a question with its own controls the agent waits for.
With several views the mode line shows them as tabs; Space v picks one, :view <id> switches. Widgets read and
change the workspace through omfp/sdk (files, jobs, MCP tools, terminals, the workspace’s own methods) and draw
with omfp/kit, the components the window itself is made of.