objectiveai-cli-sdk 2.0.5

Library surface for objectiveai-cli: structured JSON Lines output types.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Emitted by the parent process during `--detach` once the child has
/// been spawned. Replaces the prior `println!("PID: {pid}")`.
///
/// Wire: `{"type":"notification","pid":12345}`.
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Detached {
    pub pid: u32,
}