Skip to main content

codex_web/
lib.rs

1mod bridge;
2mod components;
3mod network;
4mod server;
5mod server_support;
6mod stream;
7
8use std::path::PathBuf;
9
10pub use server::run;
11
12/// Settings supplied by the `codex web` command.
13#[derive(Debug, Clone, PartialEq, Eq)]
14pub struct WebOptions {
15    pub port: u16,
16    pub open_browser: bool,
17    pub cwd: PathBuf,
18    pub codex_executable: PathBuf,
19    pub config_overrides: Vec<String>,
20    pub strict_config: bool,
21}