feat(coding-agent): added /exit command for interactive mode termination

- Added /exit slash command to exit the application from interactive mode.
This commit is contained in:
can1357
2026-01-05 02:20:46 +01:00
parent af05f81bde
commit f693c285ef
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -1,8 +1,10 @@
# Changelog
## [Unreleased]
### Added
- Added `/exit` slash command to exit the application from interactive mode
- Added fuzzy path matching suggestions when read tool encounters file-not-found errors, showing closest matches using Levenshtein distance
- Added `status.shadowed` symbol for theme customization to properly indicate shadowed extension state
- Added Biome CLI-based linter client as alternative to LSP for more reliable diagnostics
@@ -200,6 +200,7 @@ export class InteractiveMode {
{ name: "new", description: "Start a new session" },
{ name: "compact", description: "Manually compact the session context" },
{ name: "resume", description: "Resume a different session" },
{ name: "exit", description: "Exit the application" },
];
// Load hide thinking block setting
@@ -842,6 +843,11 @@ export class InteractiveMode {
this.editor.setText("");
return;
}
if (text === "/exit") {
this.editor.setText("");
void this.shutdown();
return;
}
// Handle bash command
if (text.startsWith("!")) {