@nesso-how/plugin-example
v1.0.0-beta.22
Published
Official example showing how to build Nesso plugins with the SDK and plugin APIs
Readme
Plugin Example
Two actions built with the Nesso SDK:
- Uppercase labels changes concept labels in the current view. See
src/index.ts. - Concept Quiz uses React to quiz you on the view's relations and saves your progress. See
src/Quiz.tsx.
Install and try
In the desktop app, open Settings → Plugins, search for @nesso-how/plugin-example, and install it. Approve access to concept labels, panels, and private storage.
Run either action from a view's context menu in the Explorer, or from its actions in the Inspector with nothing selected.
Build your own
Use Node.js 24. Copy this example into a separate project. Choose your own package name, update the metadata and action IDs/labels, and remove any permissions you do not use. Then install dependencies and build:
npm install
npm run buildThe build runs TypeScript checks, then bundles code and CSS into dist/index.js. Nesso supplies React and React DOM at runtime. To typecheck without building, run npm run check.
See the SDK guide for tests and package validation and panel APIs and styling.
Test an unpublished build
Follow the SDK guide to connect your agent and install through MCP. Pass your project's absolute root path to propose_plugin, not its dist directory:
{ "directory": "/absolute/path/to/my-plugin" }Approve the installation in Nesso when prompted. Rebuilding does not update the installed copy; use the SDK guide's replacement procedure for later builds. If the published example is already installed, your local copy needs a different package name.
