feat: rename --from-af to --import and /download to /export (#902)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Sarah Wooders
2026-02-11 15:39:48 -08:00
committed by GitHub
parent 77b4746dc2
commit 0c317652fd
5 changed files with 32 additions and 21 deletions

View File

@@ -135,12 +135,12 @@ export const commands: Record<string, Command> = {
return "Updating description...";
},
},
"/download": {
desc: "Download AgentFile (.af)",
"/export": {
desc: "Export AgentFile (.af)",
order: 26,
handler: () => {
// Handled specially in App.tsx to access agent ID and client
return "Downloading agent file...";
return "Exporting agent file...";
},
},
"/toolset": {
@@ -394,6 +394,13 @@ export const commands: Record<string, Command> = {
return "Opening agent browser...";
},
},
"/download": {
desc: "Export AgentFile (.af)",
hidden: true, // Legacy alias for /export
handler: () => {
return "Exporting agent file...";
},
},
};
/**