smrt
Open the smrt source on GitHub Switch to dark color scheme
← All packages
Web & UI v0.62.10 New

@happyvertical/smrt-desktop

The versioned sidecar manifest, runtime bundler, installer builder, and plugin launcher for smrt desktop apps.

Source ↗

What it gives you

The versioned sidecar manifest, runtime bundler, installer builder, and plugin launcher for smrt desktop apps.

  1. 01A version 1 manifest names the executable, arguments, health route, data directory, and environment
  2. 02The bundler (smrt desktop bundle) writes the sidecar and a closed, timestamp-free report
  3. 03The builder (smrt desktop build) wraps the bundle in a Tauri installer, which is always unsigned
  4. 04The launcher gives an assistant plugin a local token from the running app

The sidecar manifest

The Rust wrapper reads the manifest before it starts the packaged Node executable. The parser rejects duplicate keys and reserved environment names. buildSidecarEnv builds the sidecar environment. The root entry and the bundler use only Node built-ins.

Sign-in belongs to the runtime

Owner sign-in and local MCP credentials belong to smrt-app-runtime: claimOwner, the loopback onboarding URL, and openLocalMcpTokenStore. This package does not duplicate them. The launcher is a thin client of that runtime and needs it as a dependency.

Release signing fails closed

A pull request build is unsigned and uses no secrets. The signing path refuses to start without every secret, a real updater key, a verified Node pin, and a real product identity. No default fills a missing value.

Examples

The tricia example packages smrt-app-shell as a desktop product. The generic-app example packages an app from the SvelteKit template with a placeholder identity.