@vibesdotdev/applets
Applet definitions, instances, capability grants, launch leases, subscriptions,
and the unified applet tool. An Applet is an installable web application
pinned to one exact Platform Component release; this package owns instances,
state, grants, and provenance, never source or compilation.
The contract is SPEC.md, including the full public entrypoint
list. The Svelte canvas, consent UI, and lifecycle projection are described in
SPEC.svelte.md.
This package is part of the public Vibes framework.
The Assembly Field template saves its controls through the supplied applet
surface and its declared settings store. Reset restores schema defaults;
loading and saving failures appear in the template.
Install
bun add @vibesdotdev/applets
npm install @vibesdotdev/applets
Runtime and verification
Compose @vibesdotdev/applets/plugin and resolve
getVibesAppletsClient(runtime); bind owner scope with forRequest(scope).
The root exports the semantic contract. The compatible ./client subpath
also exports RuntimeAppletsClient for explicit implementation consumers.
Compose CLI and Svelte plugins through their explicit subpaths.
Run bun run check, bun test, and bun run build.
The build emits production TypeScript and retains the packaged Svelte surface.
Documentation
License
BUSL-1.1 (see LICENSE)