fix(#458): add status:ok to agents and skills list JSON envelopes; all 9 subcommands now pass uniform status check

This commit is contained in:
YeonGyu-Kim
2026-05-25 15:02:25 +09:00
parent 5b79413e87
commit 0581894b7e

View File

@@ -3625,6 +3625,7 @@ fn render_agents_report_json(cwd: &Path, agents: &[AgentSummary]) -> Value {
.count();
json!({
"kind": "agents",
"status": "ok",
"action": "list",
"working_directory": cwd.display().to_string(),
"count": agents.len(),
@@ -3707,6 +3708,7 @@ fn render_skills_report_json(skills: &[SkillSummary]) -> Value {
.count();
json!({
"kind": "skills",
"status": "ok",
"action": "list",
"summary": {
"total": skills.len(),