Skip to content

feat(sketch): Add interrupt handling and process listeners #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2025

Conversation

lkk214
Copy link
Contributor

@lkk214 lkk214 commented Feb 14, 2025

Description

Sketch cannot be stopped, I have to wait for it to end, or close it, including inline chat and tool window, so interrupt handling is added to sketch.

- Introduce `SketchProcessListener` interface for lifecycle callbacks.
- Implement interrupt logic with `isInterrupted` flag and `stop()` method.
- Add process listeners to `SketchToolWindow` for before and after run events.
- Update `AutoDevInlineChatInput` to handle submit and cancel actions dynamically.
@lkk214
Copy link
Contributor Author

lkk214 commented Feb 14, 2025

Also fixed the issue where DevOps (SDLC) always displayed reset in settings, and string parsing exceptions about delaySeconds

@phodal phodal merged commit 170e77f into unit-mesh:master Feb 15, 2025
6 checks passed
@phodal
Copy link
Member

phodal commented Feb 15, 2025

awesome

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