Skip to main content

MessagePipe

19 tools in this family (folder Editor/Tools/MessagePipe/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
msgbus_add_filterwritesAttach a MessageHandlerFilter (pre or post) to a channel. Lower priority runs earlier in
msgbus_create_channelwritesRegister a mock pub/sub channel. Supports four kinds: unkeyed-sync (IPublisher<T> /
msgbus_emit_async_handlerread-onlyGenerate an async subscriber handler (IAsyncSubscriber<T>). When the Buril UniTask
msgbus_emit_event_bus_bridgeread-onlyGenerate a MonoBehaviour bridge that forwards MessagePipe messages to a UnityEvent<T>.
msgbus_emit_filter_classread-onlyGenerate a MessageHandlerFilter<T> implementation (pre or post phase). The Handle method
msgbus_emit_inject_integrationread-onlyGenerate a LifetimeScope that calls builder.RegisterMessagePipe(...) and registers per-
msgbus_emit_keyed_publisherread-onlyGenerate a keyed publisher (IPublisher<TKey, TMessage>) wrapper. Use to route messages
msgbus_emit_publisher_injectableread-onlyGenerate a C# class that takes IPublisher<TMessage> via ctor [Inject] and exposes Send().
msgbus_emit_request_handlerread-onlyGenerate an IRequestHandler<TReq, TRes> implementation skeleton. Use for in-process
msgbus_emit_subscriber_handlerread-onlyGenerate a synchronous subscriber handler class that subscribes via VContainer's
msgbus_get_diagnosticsread-onlyReturn a snapshot of pipeline diagnostics — total channels, active subscribers, filter
msgbus_get_versionread-onlyReturn the detected MessagePipe assembly version + mode (real vs mock). ReadOnly.
msgbus_initwritesInitialize the Buril MessagePipe runtime. Probes for the installed Cysharp.MessagePipe
msgbus_install_package_hintread-onlyReturn the OpenUPM / Git install URLs for MessagePipe + MessagePipe.VContainer +
msgbus_list_channelsread-onlyList registered mock channels. Optional filters: by message_type, is_keyed, is_async. ReadOnly.
msgbus_list_publish_logread-onlyList recent publish records from Library/MessagePipeMock/publish_log.jsonl. Optional
msgbus_simulate_publishwritesSimulate a Publish on a channel. Appends a record to publish_log.jsonl with the message
msgbus_simulate_requestwritesSimulate an in-process IRequestHandler<TReq, TRes> dispatch. Registers a new request
msgbus_simulate_subscribewritesRegister a mock handler against a channel. Returns a subscription id usable later