1mod auth;
2mod bridge;
3mod components;
4mod dashboard;
5mod directory;
6mod network;
7mod server;
8mod server_support;
9mod stream;
10
11use std::path::PathBuf;
12
13pub use server::run;
14
15#[derive(Debug, Clone, PartialEq, Eq)]
17pub enum AppServerCommand {
18 Standalone { executable: PathBuf },
20 CodexCli { executable: PathBuf },
22}
23
24#[derive(Debug, Clone, PartialEq, Eq)]
26pub struct WebOptions {
27 pub port: u16,
28 pub open_browser: bool,
29 pub cwd: Option<PathBuf>,
30 pub app_server_command: AppServerCommand,
31 pub config_overrides: Vec<String>,
32 pub strict_config: bool,
33 pub reset_token: bool,
34}