rename: letta remote -> letta server with remote as alias (#1265)

Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-03-04 15:44:53 -08:00
committed by GitHub
parent 2edbe0566d
commit 654fc2d213
6 changed files with 25 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/**
* CLI subcommand: letta listen --name \"george\"
* CLI subcommand: letta server --name \"george\"
* Register letta-code as a listener to receive messages from Letta Cloud
*/
@@ -63,7 +63,7 @@ export async function runListenSubcommand(argv: string[]): Promise<number> {
// Show help
if (values.help) {
console.log("Usage: letta remote [--env-name <name>] [--debug]\n");
console.log("Usage: letta server [--env-name <name>] [--debug]\n");
console.log(
"Register this letta-code instance to receive messages from Letta Cloud.\n",
);
@@ -77,10 +77,10 @@ export async function runListenSubcommand(argv: string[]): Promise<number> {
console.log(" -h, --help Show this help message\n");
console.log("Examples:");
console.log(
" letta remote # Uses hostname as default",
" letta server # Uses hostname as default",
);
console.log(' letta remote --env-name "work-laptop"');
console.log(" letta remote --debug # Log all WS events\n");
console.log(' letta server --env-name "work-laptop"');
console.log(" letta server --debug # Log all WS events\n");
console.log(
"Once connected, this instance will listen for incoming messages from cloud agents.",
);

View File

@@ -21,7 +21,8 @@ export async function runSubcommand(argv: string[]): Promise<number | null> {
return runMessagesSubcommand(rest);
case "blocks":
return runBlocksSubcommand(rest);
case "remote":
case "server":
case "remote": // alias
return runListenSubcommand(rest);
case "connect":
return runConnectSubcommand(rest);