Skip to content

feat: add VS Code extension install via plugin install#161

Merged
rhuanbarreto merged 4 commits intomainfrom
feat/plugin-install-vscode-extension
Mar 23, 2026
Merged

feat: add VS Code extension install via plugin install#161
rhuanbarreto merged 4 commits intomainfrom
feat/plugin-install-vscode-extension

Conversation

@rhuanbarreto
Copy link
Copy Markdown
Contributor

Summary

  • Adds VS Code extension installation to archgate plugin install --editor vscode
  • Downloads the .vsix from the plugins API (/api/vscode) using stored credentials and installs it via code --install-extension
  • Falls back to manual instructions when the code CLI is not available
  • Extracts a shared downloadPluginAsset() helper to deduplicate the authenticated fetch logic between cursor and vscode installs

Test plan

  • Run archgate plugin install --editor vscode with valid credentials and code CLI available — extension installs
  • Run archgate plugin install --editor vscode without code CLI — manual instructions printed
  • Run archgate plugin install --editor vscode without credentials — "Not logged in" error
  • Run archgate plugin install --editor cursor — still works (shared helper refactor)
  • bun run validate passes locally

Downloads the .vsix from the plugins API and installs it via
`code --install-extension`, with a manual fallback when the code CLI
is unavailable. Extracts a shared downloadPluginAsset helper to
deduplicate fetch logic between cursor and vscode installs.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 23, 2026

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 08e4b45
Status: ✅  Deploy successful!
Preview URL: https://d1cdcc24.archgate-cli.pages.dev
Branch Preview URL: https://feat-plugin-install-vscode-e.archgate-cli.pages.dev

View logs

rhuanbarreto and others added 3 commits March 23, 2026 22:44
The VS Code extension is additive — configure the marketplace URL in
VS Code user settings first, then download and install the .vsix
extension on top.
…erence

Updates both English and Portuguese docs to reflect that
`archgate plugin install --editor vscode` now downloads and installs
the .vsix extension alongside the marketplace URL configuration.
Adds manual installation instructions with curl + code CLI.
@rhuanbarreto rhuanbarreto merged commit f71bd4d into main Mar 23, 2026
9 checks passed
@rhuanbarreto rhuanbarreto deleted the feat/plugin-install-vscode-extension branch March 23, 2026 21:52
@github-actions github-actions bot mentioned this pull request Mar 23, 2026
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.

1 participant