Skip to content

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.

  1. Build and load your first plugin.
  2. Add a page and a confirmed action.
  3. Introduce state and persistent storage.
  4. Run and observe background work.
  5. 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 ​

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


Source: NexaCL-Plugin-SDK · Apache-2.0.

Site documentation: CC BY-SA 4.0. Imported SDK documents: Apache-2.0 as marked.