Expand description
Small, stateful runtime primitives for embedding Vifu in Rust applications.
Add application behavior as Bevy plugins, dispatch RuntimeCommand values,
and let the host execute the resulting effects.
Re-exports§
pub use providers::HttpCapabilityProvider;pub use providers::HttpCapabilityRoute;
Modules§
Structs§
- Agent
Definition - An agent registered inside one application runtime.
- Cancellation
Token - Cooperative cancellation signal passed to providers.
- Effect
Execution - Result of running host effects through the runtime.
- Effect
Request - Effect
Request Queue - Effect
Result - Effect
Result Queue - Endpoint
Definition - A stable, named application endpoint backed by one registered agent.
- Headless
Runtime - Invocation
Handle - Opaque handle returned by the game-loop invocation API.
- Invocation
Input - Input for one application-facing endpoint invocation.
- Invocation
Output - Result of one endpoint invocation.
- Invocation
Poll - Non-blocking game-loop poll result.
- Invocation
Trace Event - One safe trace event emitted by the application runtime.
- Memory
Runtime Store - In-memory persistence used by the standalone embedded runtime.
- Provider
Request - Request delivered to a dynamically registered
AgentProvider. - Provider
Response - Provider result and an optional replacement for the session’s durable state.
- Runtime
Advance - Runtime
Command - Runtime
Command Queue - Runtime
Event - Runtime
Event Queue - Runtime
Schedule - Runtime
Session - A session-scoped view over
VifuRuntime. - Runtime
Snapshot - Runtime
State - Vifu
Runtime - A self-contained runtime for one application or project.
- Vifu
Runtime Plugin
Enums§
- Invocation
Data - JSON or binary data passed through an embedded runtime invocation.
- Invocation
Status - Current state of an invocation started with
VifuRuntime::start_invoke. - Runtime
Error - Errors returned by the embedded application runtime.
Traits§
- Agent
Provider - Runtime-selected provider implementation.
- Runtime
Store - Persistence adapter supplied by an embedding host.
Type Aliases§
- Provider
Future - A boxed provider future used by
AgentProvider.