mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Reintroduce feature flags for skills. (#8244)
1. Reintroduce feature flags for skills; 2. UI tweaks (truncate descriptions, better validation error display).
This commit is contained in:
committed by
GitHub
Unverified
parent
e1deeefa0f
commit
5c8d22138a
@@ -83,6 +83,8 @@ pub enum Feature {
|
||||
ShellSnapshot,
|
||||
/// Experimental TUI v2 (viewport) implementation.
|
||||
Tui2,
|
||||
/// Enable discovery and injection of skills.
|
||||
Skills,
|
||||
}
|
||||
|
||||
impl Feature {
|
||||
@@ -381,6 +383,12 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
stage: Stage::Experimental,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::Skills,
|
||||
key: "skills",
|
||||
stage: Stage::Experimental,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::ShellSnapshot,
|
||||
key: "shell_snapshot",
|
||||
|
||||
Reference in New Issue
Block a user