blobhub.compute.workflow.playgrounds_per_revision
limit.
Layouts
A playground’s layout is chosen when it is created and never changes:- Free form places each widget at pixel coordinates on a canvas you pan around, sized by its own width and height.
- Grid places widgets on a fixed number of columns, positioned and sized in grid units. Its row height follows one of three modes: a fixed pixel pitch that scrolls, a scale that fits every occupied row on the screen, or a fixed number of rows that fills the screen so each widget keeps its share at any resolution. The mode can be changed later; the columns and the pixel pitch cannot.
triage-review playground below is a grid of two widgets, and its sibling triage-desk lays two threads
side by side in free form. Definition Format has both shapes.


A playground binds widgets to one session's objects.
Widgets
The palette groups widgets into families the way the workflow palette groups components, and the library lists the platform’s widgets and the revision’s own. A built-in widget’s type names what it shows:data.* the session’s own
data, document.html a rendered document, finance.tradingview market data.
- Data:
data.messageanddata.messagesshow a single message or a list of them;data.threadshows a thread as a conversation, posts to it from its composer, and with a responder starts a run on each post;data.graphlays out a graph object and follows its changes;document.htmlrenders a standalone HTML document, carried in a message object, in an isolated frame on an origin apart from the app’s, a port decides whether its scripts run, and the document is told the app’s light or dark theme. - Financial:
finance.tradingviewdraws a market chart from the bars in a message object. - Custom: widgets a workflow blob carries itself, deployed with its workflows, listed under each one’s
group,Customby default, and placed by their alias alone; Mission Control,mission-control, is the one the Missions app deploys. The blob’s Widgets tab lists them. See Custom Widgets.
inbox/thread, and a graph widget’s names a graph. Other ports set how it renders.
Widgets has each widget’s ports.
Staying current
When a playground opens on a session, it lists the session’s objects, which gives it their aliases, sizes and times but no values, and loads a value only when a widget asks for it. A widget that changes an object loads it fresh first, because an upload replaces the whole value. While sync is on, the playground follows the session’s event stream through one listener on a WebSocket the page holds open. A widget showing an object that changed refreshes on its own; an object nobody is showing is marked as changed and fetched the next time something asks for it. What the playground writes itself is applied where it is made, and its listener skips events carrying its ownclient tag, so
a second tab on the same session sees them and the first does not hear them twice.
Selecting a session turns sync on, and so does sending a post that starts a run. Nothing turns it off by itself: the
Sync switch is yours. Turning it off stops the follow, and turning it on again catches up on everything that
happened in between. The switch’s tooltip says how the session is followed: Live, over the connection, or
Polling, which reads the stream every two seconds when the connection cannot be opened, or Paused, which is
polling on a closed session, where nothing is checked. Polling runs only while the session is open, closing or deleting
and the playground is the tab on screen.
Running from a playground
The conversation widget,data.thread, starts a new execution in the playground’s session each time you send, when
its responder is a workflow. The post is stored in the thread first, and the run starts against the definition the
widget’s workflow port names, with the posted item as the run’s input. A bare alias in that port names a definition
in the playground’s own revision. The path form, org/blob/revision/definition, names one in another workflow you can
read, which still runs in your session under the rules of your session’s blob, as any run by
reference does. With no responder, the widget starts nothing and shows
whatever people, workflows and agents post.
When the widget lists models, a picker beside Send chooses the model the run uses. While the run is going, a strip
above the composer says who is answering and for how long, with Stop to end the run and Debugger to
open it, and it shows the run’s error with Retry if it fails. Sending waits until the run ends, and typing goes
on. The answer is drawn at the end of the thread while it is written, and the stored message replaces it when the
run posts it. Widgets has the ports and what the widget
draws.
The run writes into the session’s objects as it goes, posting to a thread or writing a message, and the widgets
bound to them show the result while sync is on. Nothing about this is reserved to the playground. The debugger and
any API call reach the same session, its runs and its objects, and blobhub workflow execute and the SDK’s
Workflow module start runs in it.
