Summary
Agent Plugin sources configured in ~/.kit/config.toml are resolved at process startup, but changes are not applied to an existing Kit session. This differs from explicit MCP JSON layers, which tool_search and auth already reload dynamically.
Environment
- Kit:
0.1.119
- OS: macOS (
Darwin, arm64)
- Host: Kit ACP session
Reproduction
-
Start a Kit ACP session without an Agent Plugin configured.
-
Add a valid local plugin to ~/.kit/config.toml:
[plugins.example]
source = "path"
path = "/absolute/path/to/example-plugin"
-
Call tool_search({ query: "mcp" }) in the existing session.
-
Start a fresh Kit process and call the same tool.
Actual behavior
The existing session retains the startup plugin set. The fresh process loads the plugin and exposes its MCP servers.
Expected behavior
Kit should detect plugin configuration and package changes and atomically reload validated Agent Plugins in live sessions. Added, changed, and removed plugin MCP servers should settle before tool_search returns, matching the existing dynamic behavior for MCP JSON layers. Invalid updates should report an error while retaining the last valid runtime state.
Summary
Agent Plugin sources configured in
~/.kit/config.tomlare resolved at process startup, but changes are not applied to an existing Kit session. This differs from explicit MCP JSON layers, whichtool_searchandauthalready reload dynamically.Environment
0.1.119Darwin,arm64)Reproduction
Start a Kit ACP session without an Agent Plugin configured.
Add a valid local plugin to
~/.kit/config.toml:Call
tool_search({ query: "mcp" })in the existing session.Start a fresh Kit process and call the same tool.
Actual behavior
The existing session retains the startup plugin set. The fresh process loads the plugin and exposes its MCP servers.
Expected behavior
Kit should detect plugin configuration and package changes and atomically reload validated Agent Plugins in live sessions. Added, changed, and removed plugin MCP servers should settle before
tool_searchreturns, matching the existing dynamic behavior for MCP JSON layers. Invalid updates should report an error while retaining the last valid runtime state.