Files
trx-rs/examples/trx-plugin-example
sjg 4b34a39745 [refactor](workspace): complete remaining architecture phases
Bundle all pending repository updates, including plugin context de-globalization, runtime hardening, config validation, boundary tests, and supporting docs/scripts.

Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
2026-02-12 22:27:36 +01:00
..

trx-plugin-example

This is a minimal shared-library plugin that registers a backend and frontend. The backend is a stub that returns an error; the frontend is a no-op spawner.

Build:

cargo build -p trx-plugin-example --release

Install (example):

mkdir -p plugins
cp target/release/libtrx_plugin_example.* plugins/

Run trx-server or trx-client with TRX_PLUGIN_DIRS=./plugins to discover the plugin.