altnautica/ADOSExtensions/extensions/battery-health-panel.
This page walks through the parts that matter for plugin authors.
Manifest
low (no vehicle.command, no host file system, no network).
Entry point
definePlugin is the only SDK call. Everything else is plain
TypeScript: a store, a rule engine, a render loop. The SDK gets out
of the way.
Anomaly rule
(prev, curr, config) to
AnomalyEvent | null. The store calls every rule on every new
sample. Hysteresis is the store’s job: an anomaly stays in the live
list until the underlying condition has been clear for at least 5
seconds.
Testing without a host
The SDK ships a synthetic-host harness:Packing and installing
dist/com.altnautica.battery-health-panel-1.0.0.adosplug into
Mission Control -> Settings -> Plugins -> Install plugin. Approve
the six declared permissions. The panel mounts under the FC tab.
What is next
- See permissions to plan the smallest surface a real plugin needs.
- See event hooks to learn the host RPC catalog.
- See distribution and local install to publish a signed release on GitHub.