mirror of
https://github.com/instructkr/claw-code.git
synced 2026-05-18 21:41:26 +08:00
omx(team): auto-checkpoint worker-1 [1]
This commit is contained in:
@@ -195,17 +195,10 @@ fn inventory_commands_emit_structured_json_when_requested() {
|
|||||||
"plugins target should be null when no plugin is targeted"
|
"plugins target should be null when no plugin is targeted"
|
||||||
);
|
);
|
||||||
assert_eq!(plugins["status"], "ok");
|
assert_eq!(plugins["status"], "ok");
|
||||||
let plugin_entries = plugins["plugins"].as_array().expect("plugins array");
|
assert!(plugins["plugins"]
|
||||||
for plugin in plugin_entries {
|
.as_array()
|
||||||
assert!(
|
.expect("plugins array")
|
||||||
plugin["lifecycle_state"].is_string(),
|
.is_empty());
|
||||||
"plugin entries should expose lifecycle_state"
|
|
||||||
);
|
|
||||||
assert!(
|
|
||||||
plugin["lifecycle"]["configured"].is_boolean(),
|
|
||||||
"plugin entries should expose lifecycle contract summary"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
assert!(plugins["load_failures"]
|
assert!(plugins["load_failures"]
|
||||||
.as_array()
|
.as_array()
|
||||||
.expect("plugin load failures array")
|
.expect("plugin load failures array")
|
||||||
|
|||||||
Reference in New Issue
Block a user