Repository navigation
feat(jetbrains): reload core settings - #14666
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Reviewed the incremental commit Files Reviewed (24 files)
Previous Review Summaries (2 snapshots, latest commit cc88eba)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit cc88eba)Status: No Issues Found | Recommendation: Merge Reviewed the incremental change since the last review: a Files Reviewed (16 files)
Previous review (commit 205e34a)Status: No Issues Found | Recommendation: Merge Files Reviewed (16 files)
Reviewed the new Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
What Problem This Solves
JetBrains users could edit Kilo configuration files but had no direct way to ask Core to reload project config, skills, agents, commands, and MCP prompts from disk. Applying those changes required leaving the current workflow or restarting Core. Restart and Reinstall also immediately cancelled active sessions without first warning the user.
Why This Change Was Made
The JetBrains client now calls Core's existing workspace-scoped
instance.reloadendpoint instead of restarting the Core process. This preserves the endpoint's project isolation and active-session safety behavior while exposing the same reload workflow from the places users already manage a session. Destructive lifecycle actions remain available for recovery, but now require explicit confirmation before cancelling active sessions. No issue is linked; this change was requested directly for the JetBrains client.Changes:
/reloadas a client-side slash command for the active workspace.@kilocode/kilo-jetbrains.User Impact
JetBrains users can reload Core settings without restarting Core, either by entering
/reloador choosing Reload Core Settings from session and tool window menus. Reload remains blocked when a session is actively running in the project, with a clear warning instead of silently failing. Restart and Reinstall now explain that active sessions will be cancelled and let the user back out safely.Screenshots / Video
Slash Command
Session Menu
Evidence
./gradlew :backend:test --tests ai.kilocode.backend.rpc.KiloWorkspaceRpcApiImplTest :frontend:test --tests ai.kilocode.client.app.KiloWorkspaceServiceTest --tests ai.kilocode.client.actions.KiloRecoveryActionsTest --tests ai.kilocode.client.actions.SessionContextMenuActionsTest: passed; verified endpoint routing, HTTP 409 handling, action workspace selection, menu order, and/reloadexecution../gradlew :frontend:test --tests ai.kilocode.client.actions.KiloRecoveryActionsTest: passed; verified both declining and accepting Restart and Reinstall warnings../gradlew :frontend:test --tests ai.kilocode.client.plugin.KiloBundleLocaleTest: passed; verified all seven new keys are present and nonblank in all 19 language bundles../gradlew typecheck: passed for the JetBrains package../gradlew test: passed the full JetBrains test suite.bun turbo typecheck "--filter=!@kilocode/kilo-jetbrains"andbun turbo typecheck "--filter=@kilocode/kilo-jetbrains": passed in the push hook.Dependency
None.