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:
@@ -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("!")) {
|
||||
|
||||
Reference in New Issue
Block a user