chore: rebuild release package
This commit is contained in:
@@ -7432,14 +7432,14 @@
|
||||
stateEntries.forEach((entry, index) => {
|
||||
const tone = collabStateTone(entry.status);
|
||||
const displayTitle = pickCollabAgentTitle(entry, entry.id, index);
|
||||
const fallbackDescription = `子代理任务:${displayTitle}`;
|
||||
const descriptionText = summarizePrompt(entry.taskDescription) || fallbackDescription;
|
||||
const descriptionTitle = cleanCollabAgentText(entry.taskDescription) || fallbackDescription;
|
||||
const descriptionTitle = cleanCollabAgentText(entry.taskDescription);
|
||||
const descriptionText = summarizePrompt(descriptionTitle);
|
||||
const showDescription = !!descriptionText && descriptionText !== displayTitle;
|
||||
const item = document.createElement('div');
|
||||
item.className = 'collab-agent-item';
|
||||
item.title = [
|
||||
displayTitle,
|
||||
descriptionTitle,
|
||||
showDescription ? descriptionTitle : '',
|
||||
entry.role ? `角色: ${entry.role}` : '',
|
||||
entry.agentPath ? `路径: ${entry.agentPath}` : '',
|
||||
entry.detail ? `结果: ${entry.detail}` : '',
|
||||
@@ -7492,11 +7492,13 @@
|
||||
}
|
||||
item.appendChild(row);
|
||||
|
||||
const description = document.createElement('div');
|
||||
description.className = 'collab-agent-item-description';
|
||||
description.textContent = descriptionText;
|
||||
description.title = descriptionTitle;
|
||||
item.appendChild(description);
|
||||
if (showDescription) {
|
||||
const description = document.createElement('div');
|
||||
description.className = 'collab-agent-item-description';
|
||||
description.textContent = descriptionText;
|
||||
description.title = descriptionTitle;
|
||||
item.appendChild(description);
|
||||
}
|
||||
|
||||
const planProgress = normalizePlanProgress(entry.planProgress);
|
||||
if (planProgress) {
|
||||
|
||||
Reference in New Issue
Block a user