feat: rename --from-af to --import and /download to /export (#902)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -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...";
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user