fix(#709): remove duplicate status:ok keys from render_agents_report_json and render_skill_install_report_json; silent overwrite risk in serde_json json! macro

This commit is contained in:
YeonGyu-Kim
2026-05-26 01:32:37 +09:00
parent 47c0226a61
commit 8f8eb41e0f
2 changed files with 2 additions and 2 deletions

View File

@@ -3644,7 +3644,6 @@ fn render_agents_report_json(cwd: &Path, agents: &[AgentSummary]) -> Value {
"kind": "agents",
"status": "ok",
"action": "list",
"status": "ok",
"working_directory": cwd.display().to_string(),
"count": agents.len(),
"summary": {
@@ -3763,7 +3762,6 @@ fn render_skill_install_report_json(skill: &InstalledSkill) -> Value {
"kind": "skills",
"status": "ok",
"action": "install",
"status": "ok",
"result": "installed",
"invocation_name": &skill.invocation_name,
"invoke_as": format!("${}", skill.invocation_name),