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:
xl-openai authored and GitHub committed 2025-12-18 01:14:11 -08:00
1 parent e1deeefa0f
commit 5c8d22138a
4 files changed
+68 -32

No files matched your search

+8
View File
@@ -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",