class RubyLLM::AgUI::Protocol::RunFinishedEvent

RunFinishedEvent that accepts the cancelled outcome.

The SDK’s own RunFinishedEvent validates its outcome against the two outcomes 0.2.0 models, so it cannot carry a cancelled one. This class has the same shape and the same RUN_FINISHED type; it accepts any outcome object that serializes to a schema-valid RunFinishedOutcome, including the SDK’s success and interrupt outcomes.