Skip to main content
gateway dashboards puts a design dashboard’s code in a local directory. Edit the TypeScript render files with your own editor or coding agent, push them, and the dashboard shows the new code in the app. The same dashboards are the ones the Design Agent builds, so you can switch between the two at any time.

Build one in five commands

gateway dashboards open prints the same URL and opens it when run from a terminal.

What a dashboard directory holds

  • render/ holds the .ts or .js render files. Files import each other with relative paths.
  • transform.js is plain JavaScript. Without it, render receives the data as loaded. Deleting it and pushing removes the dashboard’s transform.
  • Hidden files are skipped. Symbolic links are refused.

What render receives

A session dashboard’s ctx is one session: ctx.session (id, title, trace count, users, tags), ctx.traces (each with its observations and scores), ctx.matchingTraces, ctx.sessionScores and ctx.computerUse.steps. A task dashboard receives ctx.taskSet, ctx.task and ctx.tasks; an environment dashboard receives ctx.environment, ctx.versions, ctx.rollouts and ctx.summary. Run gateway dashboards test-transform to see the real shape.

Commands

When a push is refused

A refused push writes nothing, and the directory keeps its stamp. Exit codes: 0 done, 1 the platform refused or the dashboard did not render, 2 bad arguments or not a dashboard directory (nothing was sent).

The same from coding agents and HTTP

Reads accept the public key. Creating, pushing, testing a transform and rendering need the secret key, because they write or run code.