Skip to main content

Module plugin

Module plugin 

Source

Structs§

MessagePluginCtx
Context passed to message-handling plugin methods.
PluginCallContext
Shared context attached to every plugin invocation.
SessionPluginCtx
SessionPluginResponse
What a session lifecycle hook returns: the capability set plus optional metadata the plugin wants persisted onto the session.

Traits§

ChatEngineBackendPlugin

Functions§

empty_stream
Helper to build an empty plugin stream (default no-op responses).
stream_from_events
Helper to build a plugin stream from a pre-collected vector of events.

Type Aliases§

PluginStream
A boxed async stream of streaming events from a plugin.