mirror of
https://github.com/instructkr/claw-code.git
synced 2026-06-05 22:17:10 +08: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:
@@ -9316,8 +9316,11 @@ fn status_json_value(
|
||||
"project_root": context.project_root,
|
||||
"git_branch": context.git_branch,
|
||||
"git_state": context.git_summary.headline(),
|
||||
// #408: changed_files counts ALL non-clean files (staged + unstaged + untracked + conflicted)
|
||||
"changed_files": context.git_summary.changed_files,
|
||||
"is_clean": context.git_summary.changed_files == 0,
|
||||
"staged_files": context.git_summary.staged_files,
|
||||
|
||||
"unstaged_files": context.git_summary.unstaged_files,
|
||||
"untracked_files": context.git_summary.untracked_files,
|
||||
"session": context.session_path.as_ref().map_or_else(|| "live-repl".to_string(), |path| path.display().to_string()),
|
||||
|
||||
Reference in New Issue
Block a user