ACP: start typing lifecycle at turn start and harden delivery

This commit is contained in:
Onur
2026-03-01 15:21:21 +01:00
committed by Onur Solmaz
parent c8b958e573
commit 43c57005a6
8 changed files with 189 additions and 11 deletions

View File

@@ -239,6 +239,14 @@ export async function tryDispatchAcpReply(params: {
throw agentPolicyError;
}
try {
await delivery.startReplyLifecycle();
} catch (error) {
logVerbose(
`dispatch-acp: start reply lifecycle failed: ${error instanceof Error ? error.message : String(error)}`,
);
}
await acpManager.runTurn({
cfg: params.cfg,
sessionKey,