`PipelineTask` now extends `BaseTask` so every pipeline task is also a bus participant. Adds optional `bus`, `bridged`, and `exclude_frames` parameters: when `bridged` is set, the user's pipeline is wrapped with `_BusEdgeProcessor` source/sink edges so frames are mirrored onto the bus. Bridges pipeline lifecycle events to `start()`/`stop()`, overrides `_handle_task_end` / `_handle_task_cancel` to drive the pipeline shutdown, subscribes to the bus in setup, and exposes the `bridged` property to the registry. Moves `PipelineTaskParams` here and updates the matching test import.
23 KiB
23 KiB