chore: soft deprecate unlink and link (#239)

This commit is contained in:
Kian Jones
2025-12-16 14:52:28 -05:00
committed by GitHub
parent f5110dd21e
commit 34eb87b014
2 changed files with 106 additions and 0 deletions

View File

@@ -59,6 +59,22 @@ export const commands: Record<string, Command> = {
return "Updating description...";
},
},
"/link": {
desc: "Attach all Letta Code tools to agent (deprecated, use /toolset instead)",
hidden: true,
handler: () => {
// Handled specially in App.tsx to access agent ID and client
return "Linking tools...";
},
},
"/unlink": {
desc: "Remove all Letta Code tools from agent (deprecated, use /toolset instead)",
hidden: true,
handler: () => {
// Handled specially in App.tsx to access agent ID and client
return "Unlinking tools...";
},
},
"/toolset": {
desc: "Switch toolset (replaces /link and /unlink)",
handler: () => {