multi-agents-cli 1.0.93 → 1.0.94
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 +1 -1
- package/core/workflow/reset.js +1 -1
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -1233,7 +1233,7 @@ const main = async () => {
|
|
|
1233
1233
|
if (backendLaunchTiming === 'now') {
|
|
1234
1234
|
const beTimestamp = Date.now();
|
|
1235
1235
|
const beBranchName = `agent/backend/init/${beTimestamp}`;
|
|
1236
|
-
const beWorktreeName =
|
|
1236
|
+
const beWorktreeName = `backend-${config.projectName.toLowerCase().replace(/\s+/g, '-')}-init-${beTimestamp}`;
|
|
1237
1237
|
const beWorktreePath = path.join(ROOT, 'worktrees', beWorktreeName);
|
|
1238
1238
|
|
|
1239
1239
|
console.log(`\n ${dim('Setting up backend/INIT workspace...')}\n`);
|
package/core/workflow/reset.js
CHANGED
|
@@ -79,7 +79,7 @@ const main = async () => {
|
|
|
79
79
|
for (const scope of ['client', 'backend', 'shared']) {
|
|
80
80
|
const agents = tracking[scope] || {};
|
|
81
81
|
for (const [agent, data] of Object.entries(agents)) {
|
|
82
|
-
if (data && data.branch) {
|
|
82
|
+
if (data && data.branch && data.status !== 'COMPLETED') {
|
|
83
83
|
activeAgents.push({ scope, agent, data });
|
|
84
84
|
}
|
|
85
85
|
}
|
package/package.json
CHANGED