bmux_contexts_plugin 0.0.1-alpha.1

Shipped contexts plugin for bmux
execution_class       = "native_fast"
id                    = "bmux.contexts"
name                  = "bmux Contexts"
owns_namespaces       = []
provided_capabilities = ["bmux.contexts.read", "bmux.contexts.write"]
provided_features     = ["bmux.contexts"]
required_capabilities = ["bmux.clients.read", "bmux.sessions.write"]
version               = "0.0.1-alpha.0"

[[services]]
capability   = "bmux.contexts.read"
interface_id = "contexts-state"
kind         = "query"

[[services]]
capability   = "bmux.contexts.write"
interface_id = "contexts-commands"
kind         = "command"

[[services]]
capability   = "bmux.contexts.read"
interface_id = "contexts-events"
kind         = "event"

# The contexts-events stream needs to reach streaming clients so the
# attach pipeline can retarget on `Selected` /
# `SessionActiveContextChanged` without polling. The server forwards
# every emission on this kind as `ServerEvent::PluginBusEvent` over the
# per-client event channel (see `spawn_plugin_bus_forwarder` in server).
[[event_publications]]
forward_to_streaming_clients = true
kind                         = "bmux.contexts/contexts-events"