mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-17 03:16:44 +00:00
omx(team): auto-checkpoint worker-1 [1]
This commit is contained in:
@@ -648,6 +648,7 @@ impl RegisteredPlugin {
|
||||
PluginSummary {
|
||||
metadata: self.metadata().clone(),
|
||||
enabled: self.enabled,
|
||||
lifecycle: self.definition.lifecycle().clone(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -656,6 +657,18 @@ impl RegisteredPlugin {
|
||||
pub struct PluginSummary {
|
||||
pub metadata: PluginMetadata,
|
||||
pub enabled: bool,
|
||||
pub lifecycle: PluginLifecycle,
|
||||
}
|
||||
|
||||
impl PluginSummary {
|
||||
#[must_use]
|
||||
pub fn lifecycle_state(&self) -> &'static str {
|
||||
if self.enabled {
|
||||
"ready"
|
||||
} else {
|
||||
"disabled"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user