Skip to content

www: point CLI surfaces at cli-preview-0.10.0 release#778

Open
Wayne-Ch wants to merge 2 commits into
mainfrom
wayne/website-cli-preview-0.10.0
Open

www: point CLI surfaces at cli-preview-0.10.0 release#778
Wayne-Ch wants to merge 2 commits into
mainfrom
wayne/website-cli-preview-0.10.0

Conversation

@Wayne-Ch
Copy link
Copy Markdown
Collaborator

@Wayne-Ch Wayne-Ch commented Jun 5, 2026

The previously-shipped service-based CLI (winget install Microsoft.FoundryLocal, brew install microsoft/foundrylocal/foundrylocal) is no longer the active entry point. A new SDK-based foundry CLI is available as a preview at the GitHub Release cli-preview-0.10.0.

This updates the website CLI surfaces to point users at that release, and renames the documented model-run command to match the new CLI's verb (foundry run <alias>, no model subcommand).

Changes

  • Download dropdown (www/src/lib/components/download-dropdown.svelte): replace the two winget/brew copy-to-clipboard rows with three platform anchor links (Windows / macOS / Linux), each opening the cli-preview-0.10.0 GitHub release in a new tab. Added a Linux row with an inline Tux SVG icon (no Lucide linux icon available). Section label is now "Optional CLI tools (preview)".
  • /models page CLI panel (www/src/routes/models/+page.svelte): same swap — Windows / macOS / Linux anchors to the release page, instead of copying dead install commands. Run command now reads foundry run qwen2.5-0.5b.
  • Model card / details modal (www/src/routes/models/components/ModelCard.svelte, ModelDetailsModal.svelte): foundry model run <alias>foundry run <alias> (3 sites total).

Out of scope (intentional)

  • README.md install commands — separate doc surface; happy to follow up.
  • SDK install rows in the dropdown — unchanged; SDKs are still the recommended path.
  • /docs content.

Note on packaging

The new CLI is a different MSIX identity than the old one (Microsoft.FoundryLocalCLI vs Microsoft.FoundryLocal) — they cannot upgrade-replace. The winget and homebrew manifests are not updated yet, which is why these surfaces now point at the GitHub release rather than at package-manager install commands.

The old service-based CLI (winget Microsoft.FoundryLocal, brew microsoft/foundrylocal) is no longer the current entry point. A new SDK-based CLI is available as a preview at the GitHub release cli-preview-0.10.0.

- Download dropdown: replace winget/brew copy-to-clipboard rows with anchor links (Windows / macOS / Linux) pointing to releases/tag/cli-preview-0.10.0. Adds Linux row + inline Tux SVG icon.

- /models page CLI panel: same swap. Three platform anchors + Run command (now 'foundry run <alias>' to match the new CLI's command shape).

- ModelCard.svelte / ModelDetailsModal.svelte: 'foundry model run' -> 'foundry run' (3 sites).

Out of scope (intentionally): README.md install commands, SDK install rows, /docs content.
Copilot AI review requested due to automatic review settings June 5, 2026 00:24
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Jun 5, 2026 7:18pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the website’s CLI-related UI/documentation to reflect the new SDK-based foundry CLI preview release (cli-preview-0.10.0) as the active entry point, and updates the documented run verb from foundry model run to foundry run.

Changes:

  • Replaces package-manager install copy actions with platform “Download on GitHub” links pointing to the cli-preview-0.10.0 release (adds Linux where applicable).
  • Updates all visible model run command strings from foundry model run <alias> to foundry run <alias>.
  • Tweaks dropdown labeling to indicate the CLI tools are a preview.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
www/src/lib/components/download-dropdown.svelte Updates dropdown CLI section to link to the preview release (adds Linux icon/row) and renames the section label.
www/src/routes/models/+page.svelte Updates the models page CLI panel to link to the preview release and switches the run command to foundry run.
www/src/routes/models/components/ModelCard.svelte Updates the generated run command string to foundry run.
www/src/routes/models/components/ModelDetailsModal.svelte Updates displayed and generated run command strings to foundry run.

Comment thread www/src/lib/components/download-dropdown.svelte Outdated
@MaanavD
Copy link
Copy Markdown
Collaborator

MaanavD commented Jun 5, 2026

@Wayne-Ch Great first pass.

  • Probably worth addressing the copilot comments
  • For here, let's change the UI so that we're not doing any ellipses? Don't love that users can't see the platform
image - I see that the following was written as out of scope, but if we're swapping to the new CLI, we might as well do this across the whole PR:
  • README.md install commands — separate doc surface; happy to follow up.
  • SDK install rows in the dropdown — unchanged; SDKs are still the recommended path.
  • /docs content.

- download-dropdown: use bits-ui child snippet so the anchor IS the DropdownMenu.Item, removing nested interactive elements + double padding (Copilot review comment).

- /models CLI panel: drop truncate/min-w-0 chain that was hiding platform names behind ellipses; use minmax(6rem,auto) so 'Windows / macOS / Linux' fit (MaanavD review screenshot).

- README.md CLI section: swap dead winget/brew install lines for a link to releases/tag/cli-preview-0.10.0; 'foundry model run' -> 'foundry run' and 'foundry model ls' -> 'foundry model list' to match the new CLI.
@Wayne-Ch
Copy link
Copy Markdown
Collaborator Author

Wayne-Ch commented Jun 5, 2026

Thanks @MaanavD! Pushed 1b0d0fc addressing the first three:

  • Copilot a11y commentdownload-dropdown.svelte now uses bits-ui's child snippet so the <a> is the DropdownMenu.Item, fixing the nested interactive elements + double-padding.
  • Ellipsis on the /models CLI panel — dropped the truncate / min-w-0 chain and switched the grid columns to minmax(6rem, auto). "Windows / macOS / Linux" now fit at all widths the panel renders at.
  • README.md install commands — swapped the dead winget / brew lines for a link to the cli-preview-0.10.0 GitHub release; updated foundry model runfoundry run and foundry model lsfoundry model list to match the new CLI's verbs.

A couple of quick questions on the other two before I touch them:

  • SDK install rows in the dropdown — those commands (pip install foundry-local-sdk, npm install foundry-local-sdk, dotnet add package Microsoft.AI.Foundry.Local, cargo add foundry-local-sdk) are still the current, live packages — they're not affected by the CLI rename. What change did you have in mind? Different wording, layout tweak, or something I'm missing?
  • /docs content — heads-up: www/vercel.json redirects /docslearn.microsoft.com/en-us/azure/ai-foundry/foundry-local/get-started. There's no /docs page in this repo to update; the actual docs live on Microsoft Learn (separate publishing pipeline / different team). Happy to file something against the Learn docs side, but it can't ride along on this PR.

Vercel preview should refresh on the new commit shortly.

@MaanavD
Copy link
Copy Markdown
Collaborator

MaanavD commented Jun 5, 2026

Hey @Wayne-Ch

leave SDKS as is in the dropdown
yeah docs can be left as is, but we should make another pr in azure-ai-docs-pr repo for the CLI updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants