@pragma-sh/plugin
v1.1.0
Published
Public TypeScript API for building Pragma plugins.
Readme
@pragma-sh/plugin
Build a Pragma plugin in TypeScript. Part of Pragma — a desktop workspace for running persistent, worktree-scoped coding agents.
Sidebar tabs, cards, commands, themes, web views and launchable agents, plus the
React runtime the host provides. Scaffold a project with
create-pragma-plugin
rather than wiring this up by hand.
bun create pragma-plugin my-pluginimport { definePlugin, defineSidebarTab } from "@pragma-sh/plugin";React, React DOM and the JSX runtime are re-exported under
@pragma-sh/plugin/react, /react-dom and /jsx-runtime — alias them in your
bundler so your plugin shares the host's single React instance.
Docs: https://pragma-app.sh/docs/plugins/getting-started
License
AGPL-3.0-only. See LICENSE.
