Skip to main content

Crate vifu_runtime

Crate vifu_runtime 

Source
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§

prelude
Common imports for application runtime plugins.
providers

Structs§

AgentDefinition
An agent registered inside one application runtime.
CancellationToken
Cooperative cancellation signal passed to providers.
EffectExecution
Result of running host effects through the runtime.
EffectRequest
EffectRequestQueue
EffectResult
EffectResultQueue
EndpointDefinition
A stable, named application endpoint backed by one registered agent.
HeadlessRuntime
InvocationHandle
Opaque handle returned by the game-loop invocation API.
InvocationInput
Input for one application-facing endpoint invocation.
InvocationOutput
Result of one endpoint invocation.
InvocationPoll
Non-blocking game-loop poll result.
InvocationTraceEvent
One safe trace event emitted by the application runtime.
MemoryRuntimeStore
In-memory persistence used by the standalone embedded runtime.
ProviderRequest
Request delivered to a dynamically registered AgentProvider.
ProviderResponse
Provider result and an optional replacement for the session’s durable state.
RuntimeAdvance
RuntimeCommand
RuntimeCommandQueue
RuntimeEvent
RuntimeEventQueue
RuntimeSchedule
RuntimeSession
A session-scoped view over VifuRuntime.
RuntimeSnapshot
RuntimeState
VifuRuntime
A self-contained runtime for one application or project.
VifuRuntimePlugin

Enums§

InvocationData
JSON or binary data passed through an embedded runtime invocation.
InvocationStatus
Current state of an invocation started with VifuRuntime::start_invoke.
RuntimeError
Errors returned by the embedded application runtime.

Traits§

AgentProvider
Runtime-selected provider implementation.
RuntimeStore
Persistence adapter supplied by an embedding host.

Type Aliases§

ProviderFuture
A boxed provider future used by AgentProvider.