refactor: remove link and unlink (#233)

This commit is contained in:
Kian Jones
2025-12-16 12:27:53 -05:00
committed by GitHub
parent 0630ac4508
commit d67b570569
6 changed files with 39 additions and 123 deletions

View File

@@ -45,20 +45,6 @@ export const commands: Record<string, Command> = {
return "Clearing credentials...";
},
},
"/link": {
desc: "Attach Letta Code tools to current agent",
handler: () => {
// Handled specially in App.tsx to access agent ID and client
return "Attaching tools...";
},
},
"/unlink": {
desc: "Remove Letta Code tools from current agent",
handler: () => {
// Handled specially in App.tsx to access agent ID and client
return "Removing tools...";
},
},
"/rename": {
desc: "Rename the current agent",
handler: () => {
@@ -74,7 +60,7 @@ export const commands: Record<string, Command> = {
},
},
"/toolset": {
desc: "Switch toolset",
desc: "Switch toolset (replaces /link and /unlink)",
handler: () => {
// Handled specially in App.tsx to access agent ID and client
return "Opening toolset selector...";