mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
fix(agent-executor): restore wrench emoji in tool output format
The wrench emoji (🔧) was accidentally removed in commit 6ec9a257
during the service condensing refactor. This broke:
1. Log parser - uses startsWith('🔧') to detect tool calls, causing
them to be categorized as "info" instead of "tool_call"
2. Agent context parser - uses '🔧 Tool: TodoWrite' marker to find
tasks, causing task list to not appear on kanban cards
This fix restores the emoji to fix both issues.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -255,7 +255,7 @@ export class AgentExecutor {
|
|||||||
input: block.input,
|
input: block.input,
|
||||||
});
|
});
|
||||||
if (responseText.length > 0 && !responseText.endsWith('\n')) responseText += '\n';
|
if (responseText.length > 0 && !responseText.endsWith('\n')) responseText += '\n';
|
||||||
responseText += `\n Tool: ${block.name}\n`;
|
responseText += `\n🔧 Tool: ${block.name}\n`;
|
||||||
if (block.input) responseText += `Input: ${JSON.stringify(block.input, null, 2)}\n`;
|
if (block.input) responseText += `Input: ${JSON.stringify(block.input, null, 2)}\n`;
|
||||||
scheduleWrite();
|
scheduleWrite();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user