mirror of
https://github.com/instructkr/claude-code.git
synced 2026-06-06 04:06:45 +00:00
fix: correct help source lists, add is_clean to status JSON
#327: mcp help now includes .claw.json in documented sources list #328: agents help now includes ~/.codex/agents in documented sources list #408: added is_clean boolean to status JSON workspace for unambiguous dirty-state detection; changed_files documented as total non-clean count #338: resume help field consistency (committed earlier) Also marked 52 items with explicit done/verified evidence as DONE in ROADMAP.md, including product principles (1-6) and items with confirmed fix text (13-75, 96, 200). Generated with https://github.com/Yeachan-Heo/gajae-code Co-authored-by: Gajae Code <dev@gajae-code.com>
This commit is contained in:
@@ -4872,7 +4872,7 @@ fn render_agents_usage_json(unexpected: Option<&str>) -> Value {
|
||||
"direct_cli": "claw agents [list|show <name>|create <name>|help]",
|
||||
"format": "toml",
|
||||
"create": "claw agents create <name>",
|
||||
"sources": [".claw/agents", "~/.claw/agents", "$CLAW_CONFIG_HOME/agents"],
|
||||
"sources": [".claw/agents", "~/.claw/agents", "~/.codex/agents", "$CLAW_CONFIG_HOME/agents"],
|
||||
},
|
||||
"unexpected": unexpected,
|
||||
})
|
||||
@@ -5002,7 +5002,7 @@ fn render_mcp_usage_json(unexpected: Option<&str>) -> Value {
|
||||
"usage": {
|
||||
"slash_command": "/mcp [list|show <server>|help]",
|
||||
"direct_cli": "claw mcp [list|show <server>|help]",
|
||||
"sources": [".claw/settings.json", ".claw/settings.local.json"],
|
||||
"sources": [".claw.json", ".claw/settings.json", ".claw/settings.local.json"],
|
||||
},
|
||||
"unexpected": unexpected,
|
||||
})
|
||||
@@ -6873,7 +6873,7 @@ mod tests {
|
||||
let help =
|
||||
render_mcp_report_json_for(&loader, &workspace, Some("help")).expect("mcp help json");
|
||||
assert_eq!(help["action"], "help");
|
||||
assert_eq!(help["usage"]["sources"][0], ".claw/settings.json");
|
||||
assert_eq!(help["usage"]["sources"][0], ".claw.json");
|
||||
|
||||
let _ = fs::remove_dir_all(workspace);
|
||||
let _ = fs::remove_dir_all(config_home);
|
||||
|
||||
Reference in New Issue
Block a user