multi-agents-cli 1.0.93 → 1.0.95
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 +8 -7
- package/core/workflow/reset.js +1 -1
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -932,12 +932,13 @@ const main = async () => {
|
|
|
932
932
|
|
|
933
933
|
const agentChoices = [
|
|
934
934
|
...agentOptions.map(a => {
|
|
935
|
-
const desc
|
|
936
|
-
const
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
const label
|
|
940
|
-
|
|
935
|
+
const desc = dim(` ${AGENT_DESCRIPTIONS[project]?.[a] || ''}`);
|
|
936
|
+
const completed = completedAgents.includes(a);
|
|
937
|
+
const isNext = a === recommendedAgent;
|
|
938
|
+
const indicator = completed ? green('[✓]') : isNext ? cyan(' → ') : dim('[ ]');
|
|
939
|
+
const label = completed ? dim(a) : isNext ? bold(a) : a;
|
|
940
|
+
const tag = isNext ? cyan(completedAgents.length === 0 ? ' ← start here' : ' ← next step') : '';
|
|
941
|
+
return { label: `${indicator} ${label}${tag}${desc}` };
|
|
941
942
|
}),
|
|
942
943
|
{ label: dim('← back to scope selection') },
|
|
943
944
|
];
|
|
@@ -1233,7 +1234,7 @@ const main = async () => {
|
|
|
1233
1234
|
if (backendLaunchTiming === 'now') {
|
|
1234
1235
|
const beTimestamp = Date.now();
|
|
1235
1236
|
const beBranchName = `agent/backend/init/${beTimestamp}`;
|
|
1236
|
-
const beWorktreeName =
|
|
1237
|
+
const beWorktreeName = `backend-${config.projectName.toLowerCase().replace(/\s+/g, '-')}-init-${beTimestamp}`;
|
|
1237
1238
|
const beWorktreePath = path.join(ROOT, 'worktrees', beWorktreeName);
|
|
1238
1239
|
|
|
1239
1240
|
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