Apps
An app is a page Claude wrote, published from Claude to your organisation’s rrotor, approved by a reviewer and opened by your people at your own host, by role.
What an app is
A Claude Code artifact: one self-contained .html or .md file (styles and scripts inline, libraries from the five CDN hosts artifacts use, fonts from Google Fonts) and any files beside it. Claude Code’s own publish puts it on claude.ai; this publish puts it on your rrotor instead, as a program of "kind": "app": the same deploy, versions, sandbox, vault, hosts, CLIs and audit as any program. The page never passes through Glyphh’s server: it goes from the session to the rrotor, and the server keeps only the catalogue entry (title, description, version, roles, who published it, its review state).
Publish it from Claude
With the glyphh plugin and your rrotor connected, say:
publish this to my org
The plugin’s publish skill:
- Finds the page: the session’s latest artifact, or the file you name.
- Agrees the name (kebab-case, the address
/apps/<name>/; a new version of the same name replaces the old), a title, a one-line description and the roles that may open it (default: everyone in the organisation). - Replaces what cannot run on rrotor: a section that pulled live data through a claude.ai connector becomes a function in
program.pythe page calls, usingctx.httpto the hosts the manifest declares, or a CLI the manifest names. - Calls
app_publishwith the files. rrotor writes the manifest, commits the files in a scratch repo (the commit is the version), deploys the version and answers its address and state.
Review
- A new version is a draft until a reviewer approves it: the organisation’s admin, or a member of a reviewer group (platform, Settings → Auth). The approved version keeps serving until the next one is approved; a rejected one is never served.
- Reviewers see the ones awaiting review, with Approve and Reject, on the platform’s Apps page and in Claude through the Glyphh connector (
artifacts,artifact_approve,artifact_reject,artifact_retire). A reviewer can open any version of any app at the rrotor, to review a draft. - Your people find the approved ones in the same list, with Open, and open each at the rrotor it lives on.
- Air-gapped (the link off), there is no catalogue: the deploy is the approval and the manifest’s roles decide.
Who opens it
- A browser at
https://<host>/apps/<name>/is sent to the Glyphh sign-in (rrotor is an OAuth client of the Glyphh server) and comes back with a session cookie; rrotor checks it with the server as it checks a bearer. - Roles are your identity provider’s groups, read at every single sign-on (Okta or Entra ID over OIDC), plus Glyphh’s
adminandmember. An app with no roles opens to everyone in the organisation. Google and GitHub sign-ins have no groups. - A local rrotor (
127.0.0.1:7777) serves its apps to the browser on its own machine with no sign-in: they are yours. - A runtime key is never served a page: keys call programs, not pages.
A page that calls the runtime
A page calls POST /apps/<name>/call/<function> with the inputs as JSON, and gets a Result back as any run does (done, needs_input, needs_approval,failed); a waiting run continues at POST /apps/<name>/runs/<run_id>/continue. The run is the viewer’s: its CLIs run in their own signed-in home, and the audit names them.
const r = await fetch("/apps/deploy-failures/call/failures", {
method: "POST", headers: { "content-type": "application/json" },
body: JSON.stringify({ days: 7 }),
}).then((x) => x.json());
if (r.status === "done") render(r.data);Routes and tools
| Route | MCP tool | Does |
|---|---|---|
| POST /v1/apps | app_publish | Publish a version: {name, title, description?, roles?, files, entry?, functions?, program?, hosts?, secrets?, clis?, limits?} |
| GET /v1/apps | apps_list | Each app: name, title, description, version, active, roles, functions, state, url |
| GET /apps/{name}/ | The page, to a signed-in viewer whose roles allow it, once approved | |
| POST /apps/{name}/call/{function} | A run of one of the app’s functions, as the viewer |