You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -71,6 +66,44 @@ These translate to `-c features.<name>=true/false` config overrides.
71
66
72
67
### Things to Know
73
68
69
+
**Cargo Feature Flags (Compile-time):**
70
+
71
+
The CLI uses Cargo features to enable optional functionality. By default (`default = []`), only core functionality is included (TUI, exec, ACP). Optional features can be enabled individually or via the `full` meta-feature:
-`upstream-updates` -> `codex-tui/upstream-updates`: Uses OpenAI update system instead of Nori's
94
+
-`oss-providers` -> `codex-tui/oss-providers` -> `codex-common/oss-providers`: Enables Ollama/LM Studio local model support
95
+
96
+
Without these features, the TUI uses Nori-specific alternatives (e.g., GitHub Discussions for feedback, GitHub releases for updates). For OSS providers, the `codex-common` crate provides stub implementations that return `None` or errors when the feature is disabled.
Feature-gated code uses `#[cfg(feature = "...")]` on imports, enum variants, match arms, and struct definitions in `main.rs`. Integration tests that require specific features use `required-features` in `Cargo.toml` (e.g., MCP tests require `mcp-server`).
106
+
74
107
**Sandbox Debugging:**
75
108
76
109
The `debug_sandbox` module (in `debug_sandbox/`) provides:
0 commit comments