Skip to content

feat(jetbrains): add workflows settings page - #13240

Merged
kirillk merged 2 commits into
mainfrom
plan-jetbrains-workflows-parity
Aug 20, 2026
Merged

feat(jetbrains): add workflows settings page#13240
kirillk merged 2 commits into
mainfrom
plan-jetbrains-workflows-parity

Conversation

@kirillk

@kirillk kirillk commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Issue

No linked issue; requested from the JetBrains workflows parity planning session.

Context

JetBrains settings already exposed Skills management, but workflows/custom slash commands were missing even though the CLI and JetBrains backend RPC already support command file listing, editing, deletion, and reload.

This adds a Workflows page under Agent Behavior after Skills so JetBrains users can open, edit, and delete workflow markdown files from settings.

Implementation

Added a Workflows settings configurable that reuses the existing settings list/draft infrastructure used by Skills. The page loads command files through the existing command-file RPC surface, exposes editable file-backed workflows with open/edit/delete actions, stages edits/deletions until Apply, then saves command markdown, removes deleted command files, reloads command discovery, and refreshes the list.

Also added frontend service wrappers for the existing command-file RPC methods, registered the page in the Agent Behavior settings group, added user-facing strings, and covered the new behavior with frontend tests.

Screenshots / Video

Screen Shot 2026-08-20 at 2 19 02 PM Screen Shot 2026-08-20 at 2 20 15 PM

How to Test

Manual/local verification

  • Agent executed ./gradlew :frontend:test --tests 'ai.kilocode.client.settings.agents.WorkflowsSettingsUiTest' --tests 'ai.kilocode.client.settings.agents.AgentBehaviorConfigurableTest' --tests 'ai.kilocode.client.app.KiloAgentBehaviorServiceTest' from packages/kilo-jetbrains/.
  • Agent executed ./gradlew typecheck from packages/kilo-jetbrains/.
  • Agent executed ./gradlew :frontend:test from packages/kilo-jetbrains/.

Reviewer test steps

  1. Open Settings → Tools → Kilo Code → Agent Behavior.
  2. Confirm the child links are ordered Agents, MCP Servers, Skills, Workflows, Rules.
  3. Open Workflows and confirm file-backed workflows show Open in Editor, Edit, and Delete actions.
  4. Edit a workflow, apply settings, and confirm the backing workflow markdown is saved and workflows reload.
  5. Delete a workflow, apply settings, and confirm the backing markdown file is removed and workflows reload.

Blocked checks and substitute verification

  • Agent attempted ./gradlew test from packages/kilo-jetbrains/; frontend/shared tests ran, but unrelated backend suites timed out/failed in KiloBackendAppServiceTest and KiloBackendSessionManagerTest. Substitute verification: targeted workflow/frontend tests, full frontend tests, and JetBrains typecheck all passed.

Checklist

  • Issue linked above, or exception explained
  • Tests/verification described
  • Screenshots/video included for visual changes, or marked N/A
  • Changeset considered for user-facing changes
  • I personally reviewed the diff and can explain the changes, including any AI-assisted work.

Get in Touch

N/A

@kilo-code-bot

kilo-code-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/settings/agents/WorkflowsConfigurable.kt
  • packages/kilo-jetbrains/frontend/src/test/kotlin/ai/kilocode/client/settings/agents/WorkflowsSettingsUiTest.kt
  • packages/kilo-jetbrains/frontend/src/test/kotlin/ai/kilocode/client/testing/FakeAgentBehaviorRpcApi.kt
Previous Review Summary (commit 6bd3e4b)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 6bd3e4b)

Status: 3 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 3
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/settings/agents/WorkflowsConfigurable.kt 253 File-less commands all share list key "builtin", so Open on any builtin shows the last command
packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/settings/agents/WorkflowsConfigurable.kt 119 Apply during a busy reload can drop staged edits after state.start()
packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/settings/agents/WorkflowsConfigurable.kt 226 Failed Open in Editor leaves the pending “will open after you close Settings” banner
Files Reviewed (9 files)
  • .changeset/jetbrains-workflows-settings.md - 0 issues
  • packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/app/KiloAgentBehaviorService.kt - 0 issues
  • packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/settings/agents/AgentBehaviorConfigurable.kt - 0 issues
  • packages/kilo-jetbrains/frontend/src/main/kotlin/ai/kilocode/client/settings/agents/WorkflowsConfigurable.kt - 3 issues
  • packages/kilo-jetbrains/frontend/src/main/resources/kilo.jetbrains.frontend.xml - 0 issues
  • packages/kilo-jetbrains/frontend/src/main/resources/messages/KiloBundle.properties - 0 issues
  • packages/kilo-jetbrains/frontend/src/test/kotlin/ai/kilocode/client/app/KiloAgentBehaviorServiceTest.kt - 0 issues
  • packages/kilo-jetbrains/frontend/src/test/kotlin/ai/kilocode/client/settings/agents/AgentBehaviorConfigurableTest.kt - 0 issues
  • packages/kilo-jetbrains/frontend/src/test/kotlin/ai/kilocode/client/settings/agents/WorkflowsSettingsUiTest.kt - 0 issues

Fix these issues in Kilo Cloud


Reviewed by grok-4.6 · Input: 156.3K · Output: 14.4K · Cached: 456.6K

Review guidance: REVIEW.md from base branch main

@kirillk
kirillk merged commit ab9c321 into main Aug 20, 2026
24 checks passed
@kirillk
kirillk deleted the plan-jetbrains-workflows-parity branch August 20, 2026 18:47
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.

2 participants