@agentic15.com/agentic15-claude-zen 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli/CommitCommand.js +14 -0
package/package.json
CHANGED
package/src/cli/CommitCommand.js
CHANGED
|
@@ -82,6 +82,20 @@ export class CommitCommand {
|
|
|
82
82
|
// scripts/ might not exist
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
// Stage .claude/ framework files (ACTIVE-PLAN, plans/, TASK-TRACKER updates)
|
|
86
|
+
try {
|
|
87
|
+
execSync('git add .claude/', { stdio: 'pipe' });
|
|
88
|
+
} catch (e) {
|
|
89
|
+
// .claude/ might not exist in some projects
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Stage package.json and package-lock.json if they exist
|
|
93
|
+
try {
|
|
94
|
+
execSync('git add package.json package-lock.json', { stdio: 'pipe' });
|
|
95
|
+
} catch (e) {
|
|
96
|
+
// Files might not exist or have no changes
|
|
97
|
+
}
|
|
98
|
+
|
|
85
99
|
// Show what was staged
|
|
86
100
|
const staged = execSync('git diff --cached --name-only', { encoding: 'utf-8' });
|
|
87
101
|
|