keys
@tynd/plugin-keys enables the host keys API and exposes its typed client. The API itself is documented on the keys page.
Install
Section titled “Install”tynd add keysimport { keys } from "@tynd/plugin-keys/client";Declaring the plugin compiles the matching api-keys Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-keys and list it in plugins in tynd.config.ts. Without it, calls reject with an error naming @tynd/plugin-keys.
Package
Section titled “Package”| Package | @tynd/plugin-keys |
| Kind | Host-backed official plugin (facade over a host API) |
| Host API | keys |
Aliases for tynd add |
key-blocking, disable-keys |
| Catalog permission labels | host:keys |
| Estimated size | 20 KB |
| Client exports | keys |