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