multi-agents-cli 1.1.40 → 1.1.41

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.
@@ -128,6 +128,26 @@ const updateBuildState = (branch, status, notes = '') => {
128
128
  `$1 ${status} $2`
129
129
  );
130
130
 
131
+ // Flip checkbox in the relevant scope section
132
+ const branchParts = branch.split('/');
133
+ const scope = branchParts[1];
134
+ const agentName = branchParts[2] ? branchParts[2].toUpperCase() : null;
135
+ if (scope && agentName && status === 'COMPLETED') {
136
+ const sectionMap = { client: '## Client State', backend: '## Backend State', shared: '## Shared' };
137
+ const header = sectionMap[scope];
138
+ if (header) {
139
+ const start = content.indexOf(header);
140
+ if (start !== -1) {
141
+ const rest = content.slice(start + header.length);
142
+ const nextH = rest.indexOf('\n## ');
143
+ const blockEnd = nextH === -1 ? content.length : start + header.length + nextH;
144
+ const block = content.slice(start, blockEnd);
145
+ const patched = block.replace('- [ ] ' + agentName + ' ', '- [x] ' + agentName + ' ');
146
+ content = content.slice(0, start) + patched + content.slice(blockEnd);
147
+ }
148
+ }
149
+ }
150
+
131
151
  fs.writeFileSync(buildStatePath, content, 'utf8');
132
152
 
133
153
  // Update TASKS_HISTORY.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",