chore: remove redundant commands /agent, /stream, /swap (#202)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-12 22:52:41 -08:00
committed by GitHub
parent 7a46cde1da
commit 642692593c
4 changed files with 8 additions and 217 deletions

View File

@@ -10,26 +10,12 @@ interface Command {
}
export const commands: Record<string, Command> = {
"/agent": {
desc: "Show agent link",
handler: () => {
// Handled specially in App.tsx to access agent ID
return "Getting agent link...";
},
},
"/model": {
desc: "Switch model",
handler: () => {
return "Opening model selector...";
},
},
"/stream": {
desc: "Toggle token streaming on/off",
handler: () => {
// Handled specially in App.tsx for live toggling
return "Toggling token streaming...";
},
},
"/exit": {
desc: "Exit and show session stats",
handler: () => {
@@ -79,14 +65,6 @@ export const commands: Record<string, Command> = {
return "Updating description...";
},
},
"/swap": {
desc: "Alias for /resume",
hidden: true, // Hidden - use /resume instead
handler: () => {
// Handled specially in App.tsx - redirects to /resume
return "Opening session selector...";
},
},
"/toolset": {
desc: "Switch toolset (codex/default)",
handler: () => {