Skip to content

feat(vscode): add stop controls for running terminal parts#7866

Open
Githubguy132010 wants to merge 2 commits intoKilo-Org:mainfrom
Githubguy132010:feat/7862-stop-terminal-parts
Open

feat(vscode): add stop controls for running terminal parts#7866
Githubguy132010 wants to merge 2 commits intoKilo-Org:mainfrom
Githubguy132010:feat/7862-stop-terminal-parts

Conversation

@Githubguy132010
Copy link
Copy Markdown
Contributor

@Githubguy132010 Githubguy132010 commented Mar 29, 2026

Context

Restore the long-running terminal controls in the VS Code chat UI and add per-part stop actions so users can cancel individual running bash tools or subtasks without aborting the entire session.

Implementation

  • add backend session interrupt tracking for running bash and shell parts, plus a new session.abortPart API route
  • expose the new abort-part action through the regenerated SDK and the VS Code extension bridge
  • add stop buttons for running top-level tool parts and task child parts, restore the long-running action bar, and localize the new stop labels across webview locales

Screenshots

before after

How to Test

  • Start a VS Code session that triggers a long-running bash tool call
  • Wait at least 15 seconds and confirm the working indicator shows Continue and Stop
  • Click Stop and confirm the whole session aborts
  • Start another session that runs multiple tool parts or a subtask with a running bash command
  • Click the per-tool or per-subtask stop icon and confirm only that running part stops while the rest of the session remains available
  • Verify the stop buttons have localized labels in the webview UI
  • Run bun turbo typecheck

Get in Touch

Discord: thomas07374

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 65648e8f42

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Mar 29, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (6 files)
  • packages/kilo-vscode/webview-ui/src/components/chat/AssistantMessage.tsx
  • packages/kilo-vscode/webview-ui/src/components/chat/TaskToolExpanded.tsx
  • packages/kilo-vscode/webview-ui/src/components/shared/WorkingIndicator.tsx
  • packages/opencode/src/session/interrupt.ts
  • packages/opencode/src/session/prompt.ts
  • packages/opencode/src/tool/bash.ts

Reviewed by gpt-5.4-20260305 · 241,804 tokens

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