logging: emit agent/session meta at command start
parent
1df6373cb1
commit
0f6157a49d
|
|
@ -195,6 +195,16 @@ export async function runCommandReply(
|
|||
logVerbose(
|
||||
`Running command auto-reply: ${finalArgv.join(" ")}${reply.cwd ? ` (cwd: ${reply.cwd})` : ""}`,
|
||||
);
|
||||
logger.info(
|
||||
{
|
||||
agent: agentKind,
|
||||
sessionId: templatingCtx.SessionId,
|
||||
newSession: isNewSession,
|
||||
cwd: reply.cwd,
|
||||
command: finalArgv.slice(0, -1), // omit body to reduce noise
|
||||
},
|
||||
"command auto-reply start",
|
||||
);
|
||||
|
||||
const started = Date.now();
|
||||
let queuedMs: number | undefined;
|
||||
|
|
|
|||
Loading…
Reference in New Issue