From 810650d341d98dea33204c7ef68991d1eea0f37d Mon Sep 17 00:00:00 2001 From: Waylon Jepsen Date: Tue, 21 Jul 2026 11:07:39 -0700 Subject: [PATCH 1/3] chore: [CLD-2844] deprecate sfcompute/cli Mark the legacy TypeScript sf CLI as deprecated ahead of archiving the repo. The startup migrate banner becomes a red "Deprecated" notice and the README leads with a deprecation warning pointing at the Rust CLI. Co-Authored-By: Claude Opus 4.8 --- README.md | 12 ++++++++++++ src/lib/migrate.ts | 16 ++++++++-------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 56de1cb6..61b94359 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ # cli +> [!WARNING] +> **This repository is deprecated and no longer maintained.** +> +> The San Francisco Compute `sf` CLI has been rewritten in Rust. If you have +> this legacy CLI installed, run `sf migrate` to switch — your current CLI will +> remain available as `sf-old`. +> +> - Install the current CLI: +> - Migration guide: +> +> The documentation below is retained for archival reference only. + This is the San Francisco Compute command line tool. ### Install (MacOS/Linux) diff --git a/src/lib/migrate.ts b/src/lib/migrate.ts index 8dd982e6..30ee1ab6 100644 --- a/src/lib/migrate.ts +++ b/src/lib/migrate.ts @@ -11,22 +11,22 @@ const NEW_CLI_INSTALL_URL = "https://cli.sfcompute.com"; const MIGRATION_GUIDE_URL = "https://sfcompute.com/migrate"; export function showMigrateBanner() { - const message = `We've rewritten the sf CLI in Rust. + const message = `This CLI is deprecated and no longer maintained. -List idle capacity on the orderbook to -recoup up to 20% of your spend. - -Run 'sf migrate' to switch. Your current -CLI stays as 'sf-old'. +The sf CLI has been rewritten in Rust. Run +'sf migrate' to switch. Your current CLI +stays available as 'sf-old'. Docs: ${MIGRATION_GUIDE_URL} Hide: SF_CLI_DISABLE_MIGRATE_BANNER=1`; console.log( - boxen(chalk.yellow(message), { + boxen(chalk.red(message), { padding: 1, - borderColor: "yellow", + borderColor: "red", borderStyle: "round", + title: "Deprecated", + titleAlignment: "center", }), ); } From 1a0588419cf2babe518e740ba3621f597bc2856a Mon Sep 17 00:00:00 2001 From: Daniel Tao Date: Tue, 21 Jul 2026 17:57:27 -0400 Subject: [PATCH 2/3] Update README to reflect CLI migration Removed mention of legacy CLI availability as 'sf-old'. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 61b94359..5acc4ec1 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ > **This repository is deprecated and no longer maintained.** > > The San Francisco Compute `sf` CLI has been rewritten in Rust. If you have -> this legacy CLI installed, run `sf migrate` to switch — your current CLI will -> remain available as `sf-old`. +> this legacy CLI installed, run `sf migrate` to switch. > > - Install the current CLI: > - Migration guide: From 3cbd26be48f39ab727b3fafd0df18638809fbcbf Mon Sep 17 00:00:00 2001 From: Daniel Tao Date: Tue, 21 Jul 2026 17:57:53 -0400 Subject: [PATCH 3/3] Revise migration banner message for clarity Updated the migration banner message to clarify CLI deprecation and migration instructions. --- src/lib/migrate.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/migrate.ts b/src/lib/migrate.ts index 30ee1ab6..c68dec6a 100644 --- a/src/lib/migrate.ts +++ b/src/lib/migrate.ts @@ -14,8 +14,7 @@ export function showMigrateBanner() { const message = `This CLI is deprecated and no longer maintained. The sf CLI has been rewritten in Rust. Run -'sf migrate' to switch. Your current CLI -stays available as 'sf-old'. +'sf migrate' to switch. Docs: ${MIGRATION_GUIDE_URL} Hide: SF_CLI_DISABLE_MIGRATE_BANNER=1`;