Expand description
Canonical entrypoint for embedding the Greentic runner.
This crate provides two supported integration paths:
run_http_hostmirrors the CLI and starts the HTTP server that exposes ingress adapters, admin endpoints, and the pack watcher.start_embedded_hostconstructs aRunnerHostwithout spinning up the HTTP server so callers can drivehandle_activitymanually (desktop/dev harnesses, tests, etc.).
Re-exports§
pub use greentic_runner_host as host;
Modules§
Structs§
- Activity
- High-level activity payload exchanged with Greentic hosts.
- Host
Builder - Builder for composing multi-tenant host instances.
- Host
Server - Runner
Config - User-facing configuration for running the unified host.
- Runner
Host - Runtime host that manages tenant-bound packs and flow execution.
- Tenant
Handle - Handle exposing tenant internals for embedding hosts (e.g. CLI server).
Enums§
Functions§
- run_
http_ host - Launch the canonical HTTP host. This is equivalent to running the
greentic-runnerbinary with the providedRunnerConfig. - start_
embedded_ host - Build and start a
RunnerHostwithout wiring the HTTP ingress server. Callers are responsible for loading packs viaRunnerHost::load_packand invokingRunnerHost::handle_activitydirectly.