arcan-api-schema 0.1.0

HTTP API DTOs for arcand — schema-only, no runtime dependencies.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! HTTP API DTOs for arcand.
//!
//! Mirrors the session-tier surface defined by `aios-protocol::session`.

#![forbid(unsafe_code)]

pub use aios_protocol::session::{
    CreateSessionRequest, SessionFilter, SessionManifest, TickInput, TickOutput,
};

pub use aios_protocol::identity::{Belief, BeliefFilter, SoulUpdate};
pub use aios_protocol::memory::SoulProfile;

/// Server-specific wrapper around SSE event records — arcand's stream frame shape.
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct StreamFrame {
    pub event: aios_protocol::event::EventRecord,
}