objectiveai_sdk/cli/output/notification/ack.rs
1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Wire shape for silent-success notifications (`config set`,
5/// `favorites add/del/edit`, `instructions clear`, etc.). Wire:
6/// `{"type":"notification","ok":true}`.
7#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
8#[schemars(rename = "cli.output.notification.Ok")]
9pub struct Ok {
10 pub ok: bool,
11}
12
13pub const OK: Ok = Ok { ok: true };