Files
overlord/plugins/docs/samples.md
T

1.1 KiB

Sample Plugins

The plugins/ directory includes small examples that exercise each plugin style.

Directory Demonstrates
rust-lite-builder Custom server-side build provider that compiles the Rust Lite agent through the standard builder lifecycle.
sample-build-hooks Server-only build plugin, custom Build page action, build settings, and replacing the produced artifact with a .txt file.
sample-ts-fullstack TypeScript UI and TypeScript server runtime with shared local modules.
sample-c Native C plugin for the smallest unloadable ABI surface.
sample-cpp Native C++ plugin using exported C ABI functions.
sample-go Native Go plugin. Go plugins are intentionally not unloaded because the Go runtime cannot be safely unloaded from shared libraries.
sample-rust Native Rust plugin with C ABI exports and unload-friendly runtime handling.

Use rust-lite-builder as the starting point for a fully custom agent compiler. Use sample-build-hooks for uploaders, artifact publishers, or custom release buttons around the built-in agent.