sunox 0.0.6

Generate AI music from your terminal via direct Suno web workflows
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct BrowserEnvironment {
    /// Browser or login flow that produced the stored auth material. This is
    /// diagnostic metadata, not a substitute for runtime browser headers.
    pub browser_source: Option<String>,
    pub user_agent: Option<String>,
    pub accept_language: Option<String>,
}

#[derive(Debug, Clone)]
pub struct BrowserAuth {
    pub clerk_client_cookie: String,
    pub cookie_header: String,
    pub device_id: Option<String>,
    pub browser_environment: Option<BrowserEnvironment>,
}