Crate greentic_runner

Crate greentic_runner 

Source
Expand description

Canonical entrypoint for embedding the Greentic runner.

This crate provides two supported integration paths:

  • run_http_host mirrors the CLI and starts the HTTP server that exposes ingress adapters, admin endpoints, and the pack watcher.
  • start_embedded_host constructs a RunnerHost without spinning up the HTTP server so callers can drive handle_activity manually (desktop/dev harnesses, tests, etc.).

Re-exports§

pub use greentic_runner_host as host;

Modules§

config
desktop
gen_bindings
http
imports
pack
routing
runner
runtime
runtime_wasmtime
telemetry
verify
watcher

Structs§

Activity
High-level activity payload exchanged with Greentic hosts.
HostBuilder
Builder for composing multi-tenant host instances.
HostServer
RunnerConfig
User-facing configuration for running the unified host.
RunnerHost
Runtime host that manages tenant-bound packs and flow execution.
TenantHandle
Handle exposing tenant internals for embedding hosts (e.g. CLI server).

Enums§

ActivityKind

Functions§

run_http_host
Launch the canonical HTTP host. This is equivalent to running the greentic-runner binary with the provided RunnerConfig.
start_embedded_host
Build and start a RunnerHost without wiring the HTTP ingress server. Callers are responsible for loading packs via RunnerHost::load_pack and invoking RunnerHost::handle_activity directly.