multi-agents-cli 1.1.21 → 1.1.23
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/core/workflow/agent.js +5 -3
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -1163,6 +1163,8 @@ const main = async () => {
|
|
|
1163
1163
|
separator();
|
|
1164
1164
|
console.log(`\n ${bold('Abandoning...')}\n`);
|
|
1165
1165
|
const { branch } = activeSlot;
|
|
1166
|
+
const abandonPath = path.isAbsolute(activeSlot.worktreePath) ? activeSlot.worktreePath : path.resolve(ROOT, activeSlot.worktreePath);
|
|
1167
|
+
try { execSync(`git worktree remove "${abandonPath}" --force`, { cwd: ROOT, stdio: 'pipe' }); console.log(` ${green('✓')} Worktree removed`); } catch {}
|
|
1166
1168
|
try { execSync(`git branch -D ${branch}`, { cwd: ROOT, stdio: 'pipe' }); console.log(` ${green('✓')} Local branch deleted`); } catch {}
|
|
1167
1169
|
try { execSync(`git push origin --delete ${branch}`, { cwd: ROOT, stdio: 'pipe' }); console.log(` ${green('✓')} Remote branch deleted`); } catch {}
|
|
1168
1170
|
guards.clearTrackingSlot(tracking, project, agent, ROOT);
|
|
@@ -1610,9 +1612,9 @@ Mark each step complete. Only proceed to the task below when all are checked.
|
|
|
1610
1612
|
// ── Generate IDE settings ─────────────────────────────────────────────────────
|
|
1611
1613
|
|
|
1612
1614
|
const excludedFolders = {
|
|
1613
|
-
'client': ['backend/', 'shared/', '
|
|
1614
|
-
'backend': ['client/', 'shared/', '
|
|
1615
|
-
'shared': ['client/', 'backend/', '
|
|
1615
|
+
'client': ['backend/', 'shared/', 'worktrees/', '.scaffold/', '.workflow/', 'CLAUDE.md', 'BUILD_STATE.md', 'CLOUD_STATE.md', 'CONTRACTS.md', 'TASKS_HISTORY.md', 'package-lock.json'],
|
|
1616
|
+
'backend': ['client/', 'shared/', 'worktrees/', '.scaffold/', '.workflow/', 'CLAUDE.md', 'BUILD_STATE.md', 'CLOUD_STATE.md', 'CONTRACTS.md', 'TASKS_HISTORY.md', 'package-lock.json'],
|
|
1617
|
+
'shared': ['client/', 'backend/', 'worktrees/', '.scaffold/', '.workflow/', 'CLAUDE.md', 'BUILD_STATE.md', 'CLOUD_STATE.md', 'CONTRACTS.md', 'TASKS_HISTORY.md', 'package-lock.json'],
|
|
1616
1618
|
};
|
|
1617
1619
|
const foldersToHide = excludedFolders[project] || [];
|
|
1618
1620
|
|
package/package.json
CHANGED