API Reference
These are the Runink TIDDE-side contracts with FORGE. FORGE's services (forge.v1) run inside the TIDDE console and are served on the console's own same-origin gRPC-web endpoint, on the console session, like every other console service. There is no separate FORGE service, no forge-system namespace and no proxy in front of it.
/forge/ and every path under it fall through to the console shell like any unknown path, so the only door to FORGE is the console's own, behind the FORGE owner setting gate on GitHub writes.
GET /api/forge-studio: what the studio can do for you
A read, behind a TIDDE session, for platform users only. It returns one entry per capability, each with the setting that decides it and, when it is missing, the console's own sentence:
{
"githubWrites": {"available": false, "variable": "…", "reason": "…"},
"githubApp": {"available": true},
"planner": {"available": true}
}
| Capability | Missing when | Effect |
|---|---|---|
githubWrites |
the FORGE owner setting is unset (nobody may) or does not name you; or the console has no sign-in | FORGE will not create repositories, file work or push forge.yaml for you. The same predicate gates the write RPCs, so the page and the gate cannot disagree |
githubApp |
The console's GitHub App credentials are not set | FORGE cannot create repositories or read the org's apps |
planner |
the model router address is unset, or the model router does not answer GET /v1/models |
The planner cannot propose a plan |
The router check reuses the console's cached model-endpoint probe and never makes a completion. Nothing on this endpoint calls GitHub. FORGE › Studio shows one notice per missing capability above the canvas.
The FORGE studio reads each app's build state from its core/ci commit status. FORGE is the only producer of forge issues.
Studio link parameters
The link the console hands FORGE › Studio, as /forge/?…: the path is only the carrier, the canvas reads the parameters. The contract belongs to FORGE. Values are percent-encoded, spaces as %20, and appear in a fixed order: chat, app, panel, cmd.
| Param | Meaning |
|---|---|
chat |
The chat (= project) to open: a FORGE chat id (c- + 16 hex, or repo-<app name>), or new for an empty chat. View state: FORGE keeps it, so a reload shows the same chat |
panel |
The side panel to open: components, draft or details. View state |
app |
Legacy, from before chats: an app name (^[a-z0-9][a-z0-9-]{0,99}$), which FORGE opens as the one-lane chat repo-<name>. Kept so old links still work. TIDDE sends chat |
cmd |
A command FORGE prefills into its console and never sends. FORGE strips it from its address after reading it, and caps it at 8000 UTF-8 bytes |
Console deep links: /?tab=forgeStudio&chat=<id> (and the legacy &app=<name>&panel=<panel>).