refactor(agent): clarify turn lifecycle event names

This commit is contained in:
_Kerman
2026-07-27 17:38:42 +08:00
parent 7d5cc498d3
commit 52174e32cb
67 changed files with 180 additions and 176 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ export function apply(ctx: Context, config: Config = {}, internals: RetryInterna
agent.retry()
}
ctx.on('agent/idle', (agent) => {
ctx.on('agent/settled', (agent) => {
retries.delete(agent)
})