Skip to content

fix(acp): update AgentKit lifecycle handling - #43

Merged
danielkov merged 1 commit into
mainfrom
chore/update-agentkit-lifecycle
Aug 28, 2026
Merged

fix(acp): update AgentKit lifecycle handling#43
danielkov merged 1 commit into
mainfrom
chore/update-agentkit-lifecycle

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Update Kit to AgentKit's merged ACP v2 lifecycle and background-continuation revisions. Autonomous background drives now remain in the existing idle state instead of emitting synthetic Running/Idle cycles, while foreground prompt state pairing is unchanged.

Motivation

No-work autonomous drives could render phantom zero-duration turns after a background completion had already been consumed. The updated lifecycle behavior keeps ACP state transitions tied to real user-visible turns.

Technical details

AgentKit revision

Pins all AgentKit patches to 1204e2b31d77ca820c9302fab2769e0b5c0c1c10, which merges the released lifecycle changes from AgentKit main into the session-injection branch used by Kit. Direct package versions and Cargo.lock are aligned with that revision.

Autonomous error handling

Background continuation failures still emit a diagnostic agent message, but do not emit an Idle transition because autonomous work begins while the ACP session is already idle.

Version

Bumps Kit from 0.1.103 to 0.1.104 for the behavior fix.

@danielkov
danielkov merged commit c3632f9 into main Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant