NexaCL plugin development
Build a plugin that runs in PluginSidecar and adds capabilities to NexaCL through an explicit Host contract. Start with a small working plugin, then add only the permissions and capabilities its feature needs.
This guide covers SDK 0.2.0-beta.1, Bootstrap V1 and ABI 100. Those numbers identify different contracts. The SDK includes 358 operations; the recorded Host maps all 358. Consult Host support before choosing a feature. A mapping in source does not establish support in an older installed Alpha.
Learn by building
Follow the chapters in order. Each chapter identifies its source files, explains what changes, and gives an observable result before introducing another concept.
- Build and load your first plugin.
- Add a page and a confirmed action.
- Introduce state and persistent storage.
- Run and observe background work.
- Test, package and publish.
The first two chapters use the same executable project. The storage and workflow chapters each use a separate complete SDK example, so their behavior can be tested without adding unrelated UI code.
Understand the system
After Beta, follow contract evolution and EXP_ID for SDK changes. The stable catalog remains frozen.
Read architecture for ownership, loading for callback order, and permissions for authority. The asynchronous call guide explains why a returned operation is not a completed effect. Runtime services provides the detailed event, workflow and recovery behavior.
Complete a task
- List instances and use pagination.
- Prepare and execute a change.
- Handle files, package assets and blobs.
- Register a catalog provider.
- Support offline use.
- Diagnose a failed load or call.
- Upgrade from the old SDK.
Look up a contract
The API reference covers every operation, including unmapped operations, with exact permission, phase, idempotency and model links. Use the model reference for fields and enum spelling, the package reference for the manifest, and the Wasm reference for memory, continuations and codecs.
Online documentation · Template · Documentation conventions
- Extend business features: providers, backup restore, settings migration, launch contributions and install templates.
Source: NexaCL-Plugin-SDK · Apache-2.0.