fix: progress ticker on tool-activity, last-line └, summary+description both shown

- Ensure progressTicker runs during tool-activity updates for time refresh
- Last activity line uses └ instead of ├
- Summary (📋) and description shown together when both present
- Description indented as sub-item under summary
This commit is contained in:
Eyejoker
2026-03-23 18:52:17 +09:00
parent 6268ee64ed
commit 5112af6741
2 changed files with 27 additions and 4 deletions

View File

@@ -555,12 +555,19 @@ async function runQuery(
const tp = message as Record<string, unknown>;
const summary = typeof tp.summary === 'string' ? tp.summary : '';
const description = typeof tp.description === 'string' ? tp.description : '';
const activityText = description || summary;
if (activityText) {
if (summary) {
writeOutput({
status: 'success',
phase: 'tool-activity',
result: activityText,
result: `📋 ${summary}`,
newSessionId,
});
}
if (description) {
writeOutput({
status: 'success',
phase: 'tool-activity',
result: description,
newSessionId,
});
}