Skip to content

feat(plugins): hot-reload agent plugins - #73

Merged
danielkov merged 2 commits into
mainfrom
feat/hot-reload-agent-plugins
Sep 1, 2026
Merged

feat(plugins): hot-reload agent plugins#73
danielkov merged 2 commits into
mainfrom
feat/hot-reload-agent-plugins

Conversation

@danielkov

@danielkov danielkov commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Kit hot-reloads Agent Plugin configuration and packages at live tool and serialized user-prompt boundaries while retaining the last valid generation after invalid updates. Plugin-provided MCP servers and skills are published atomically; the stable skill callable remains actionable even when a session started with no available skills.

Technical details

Stable generation publication

Slow MCP initialization and source preparation happen before the short publication lock. Concurrent skill catalog reads continue using the last published snapshot, while invocations retain generation leases for snapshot-backed resources.

Unchanged source reuse

Bounded deterministic fingerprints avoid rebuilding unchanged local packages, immutable archives, and commit-pinned Git sources. Mutable Git names and default HEAD use hardened remote object-ID probes and perform a full fetch only after the selected commit changes.

Private atomic staging

Plugin snapshots and archive verification use the shared private staging-directory lifecycle for stale cleanup, containment validation, race-safe publication, and cleanup.

Closes #70

@danielkov
danielkov force-pushed the feat/hot-reload-skills-notification branch from a833402 to fe86613 Compare September 1, 2026 10:56
@danielkov
danielkov force-pushed the feat/hot-reload-agent-plugins branch from 499fe06 to e9b5acd Compare September 1, 2026 12:57
@danielkov
danielkov changed the base branch from feat/hot-reload-skills-notification to main September 1, 2026 12:57
@danielkov
danielkov force-pushed the feat/hot-reload-agent-plugins branch from 3718e92 to c7b7f12 Compare September 1, 2026 16:04
@danielkov
danielkov merged commit 6462c9e into main Sep 1, 2026
3 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.

Hot-reload Agent Plugin configuration in live sessions

1 participant