origin-types 0.8.4

Shared wire-format types for Origin, the local-first personal agent memory system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: Apache-2.0
//! System info wire type. Reported by daemon + sometimes detected client-side.

use serde::{Deserialize, Serialize};

/// `Deserialize` is for downstream client consumers (origin-mcp, plugins).
/// The daemon currently only serializes; deserialization happens on the wire reader side.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SystemInfo {
    pub total_ram_gb: f64,
    pub available_ram_gb: f64,
    pub has_metal: bool,
    pub has_cuda: bool,
    pub os: String,
    pub arch: String,
    pub recommended_builtin: String,
}