Skip to content

shell

@tynd/plugin-shell enables the host shell API and exposes its typed client. The API itself is documented on the shell page.

Terminal window
tynd add shell
import { shell } from "@tynd/plugin-shell/client";

Declaring the plugin compiles the matching api-shell Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-shell and list it in plugins in tynd.config.ts. Without it, calls reject with an error naming @tynd/plugin-shell.

Package @tynd/plugin-shell
Kind Host-backed official plugin (facade over a host API)
Host API shell
Aliases for tynd add open, open-external
Catalog permission labels host:shell
Estimated size 30 KB
Client exports shell