mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
DEBUG message
This commit is contained in:
@@ -83,6 +83,12 @@ export class ClaudeOutputParser implements AgentOutputParser {
|
||||
|
||||
try {
|
||||
const msg: ClaudeRawMessage = JSON.parse(line);
|
||||
|
||||
// DEBUG: Log raw message if it contains usage data
|
||||
if (msg.modelUsage || msg.usage || msg.total_cost_usd !== undefined) {
|
||||
console.log('[ClaudeOutputParser] Raw message with usage data:', JSON.stringify(msg, null, 2));
|
||||
}
|
||||
|
||||
return this.transformMessage(msg);
|
||||
} catch {
|
||||
// Not valid JSON - return as raw text event
|
||||
|
||||
Reference in New Issue
Block a user