objectiveai_sdk/cli/output/notification/log_stream_ready.rs
1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Emitted mid-stream by long-running `*/create` commands once a log
5/// id has been allocated and the log file is available. Replaces the
6/// prior `"Logs ID: ..."` plaintext sentinel.
7///
8/// Wire: `{"type":"notification","log_stream_ready":"<id>"}`.
9#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
10#[schemars(rename = "cli.output.notification.LogStreamReady")]
11pub struct LogStreamReady {
12 pub log_stream_ready: String,
13}