Skip to content

RAST 0.9.21

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:41

Fixed

  • AI Agent can work in PdfCraft and FigCraft. They put their page
    command API (window.pdfcraft, window.figcraft) on the page only when
    its address says ?control, which RAST's web page windows never did, so
    AI Agent's use_app found no commands there. RAST now opens every web
    page window's page with ?control (the Craft web host contract's
    opt-in; pages that know no such flag ignore it), in the browser and in
    AI Agent's windows on the server.

Added

  • Interactive crop dialog for custom wallpapers. Choosing a custom image in
    Personalize or Control Panel → Appearance now opens a crop modal with
    Match screen, 16:9, 21:9, 4:3, and Original presets, drag
    repositioning with edge clamping, zoom controls, live output dimension
    preview, and a Use original bypass option.

  • Sandbox Studio and /app/<slug> deployments. Run, preview, and deploy
    web or desktop apps directly from Sandbox Studio, or package them as RAST
    apps.

  • App packages grouped under Apps in App Center. Package apps (such as Code
    Editor and Craft apps) now group alongside apps while language runtimes stay
    under Runtimes.

  • Refreshed README and daily repository activity badges. Updated
    documentation, refreshed clean screenshots, and added GitHub-native daily
    download and view badges published to the repo-stats branch.

  • Commands outlive a restart of RAST (host API 4). A command an app
    sends with a runId (/v1/terminal/run, /v1/sandbox/run) runs to its
    end in the terminal helper while RAST restarts, and its answer is kept
    for an hour (/v1/terminal/run-result, /v1/sandbox/run-result). AI
    Agent uses it to go on with a reply after RAST restarted, also when the
    reply itself deployed RAST. The root helper keeps answers after
    sudo systemctl restart rast-terminal; until then it answers as before.

  • Web page apps keep their settings and what they store. Their pages
    run in a sandbox without browser storage, so WordCraft and the other
    Craft apps started fresh every time: the theme, recent items, "Don't show
    this again" and added fonts were gone. RAST now gives the page
    localStorage and IndexedDB and keeps both for each account on the
    server (/api/webstorage/<appId>, schema v22): they come back in every
    window and follow the account to other browsers. Each account has its
    own; one app keeps at most 256 MB for an account (5 MB of it in
    localStorage, as browsers allow).

  • Apps' windows on the server (host API 2). An app's server can now run
    a web page app for an account on the server, as AI Agent does so its work
    in WordCraft goes on after the person closes RAST: /v1/info gives RAST's
    own address (localUrl), /v1/users/{id}/apps/{appId} the app's page,
    /v1/files/bytes reads and writes an account's files as they are (up to
    64 MiB), and /v1/users/{id}/webstorage/{appId}/… reaches the account's
    storage of the app.

  • Every app's window on the server (host API 3). An app's server may
    open a session of an account for a window of RAST's own window code on
    the server (/v1/users/{id}/window-sessions, 12 hours at most, listed
    in the account's Sessions as "RAST app window on the server" and
    audited as auth.window_session): RAST's page at its own address with
    ?window=<appId> then shows that app's window alone, maximized, and
    saves nothing of the desktop. AI Agent works in Code Editor, File
    Station and the other apps this way with the person's browser closed.
    /v1/users/{id}/apps says each app's window kind, and RAST takes
    changes from its own address on the server as from its public one.

  • Any web page app can take RAST files and other apps' requests. The
    web bridge takes an element marked data-rast-app (with an id) as
    well as a Craft app's canvas, and an app's ready event as its start,
    so a plain web app (such as the package template's example) follows the
    same contract as the Craft apps.

Fixed

  • Apps writing a text file larger than 2 MB through the host API
    (/v1/files/write) were refused before RAST's own 10 MB limit applied.

Installation

curl -fsSL https://github.com/Enricko/rast/releases/download/v0.9.21/install.sh | sudo sh

Pin this exact release:

curl -fsSL https://github.com/Enricko/rast/releases/download/v0.9.21/install.sh | sudo sh -s -- --version 0.9.21

Upgrading an existing installation preserves /etc/rast, /var/lib/rast and /srv/rast.

Release assets

Asset Description
rast-linux-x86_64 Static frontend embedded; x86_64 Linux (glibc >= 2.35)
rast-linux-aarch64 Static frontend embedded; aarch64 Linux (glibc >= 2.39)
SHA256SUMS SHA-256 checksums for every asset
install.sh Installer (POSIX sh, pinned to this release)
uninstall.sh Uninstaller
rast.toml.example Fully commented configuration reference

Verification

sha256sum -c SHA256SUMS
sh install.sh --help

Runtime verification

Both binaries were smoke-tested on their native build runners
(GitHub-hosted x86_64 and arm64): the server started with a temporary
config, answered /healthz, accepted CLI administrator creation and a
JSON API login. The installer itself is exercised on Ubuntu 24.04 in a
disposable systemd container.

Provenance

Both binaries and SHA256SUMS carry GitHub artifact attestations
(Sigstore keyless build provenance). Verify them after downloading:

gh attestation verify rast-linux-x86_64 --repo Enricko/rast
gh attestation verify rast-linux-aarch64 --repo Enricko/rast
gh attestation verify SHA256SUMS --repo Enricko/rast

Provenance proves the files were built by this repository's release
workflow for the tagged commit; it is not a reproduction or code-review
guarantee. The installer can enforce it with --verify-attestation.