Skip to content

registry: add vscode-cli (backend:aqua:microsoft/vscode/code)#10314

Merged
jdx merged 1 commit into
jdx:mainfrom
felipecrs:vscode-cli
Jun 11, 2026
Merged

registry: add vscode-cli (backend:aqua:microsoft/vscode/code)#10314
jdx merged 1 commit into
jdx:mainfrom
felipecrs:vscode-cli

Conversation

@felipecrs

@felipecrs felipecrs commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

New package

The Visual Studio Code CLI.

Name: vscode-cli
Source code: https://github.com/microsoft/vscode/tree/main/cli
Stars: 186.1K

Remarks

I personally think mise x code should invoke VS Code CLI, but unfortunately there's already a package named code which points to just-every/code instead.

Discussion about repurposing that package happened here.

Closes #10290

Summary by CodeRabbit

  • Chores
    • Updated configuration for Visual Studio Code CLI registry support.

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds a registry configuration file for the standalone Visual Studio Code CLI that specifies the backend source to resolve the package, provides a human-readable description of the CLI's purpose, and defines a version test command with expected output pattern using version interpolation.

Changes

VS Code CLI Registry Configuration

Layer / File(s) Summary
VS Code CLI registry configuration
registry/vscode-cli.toml
Three configuration fields declare the aqua backend source, describe the standalone CLI, and define a code --version test command with expected output template using {{version}}.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hops with glee so bright,
New registry for Code's CLI flight,
Configuration lines, three and true,
Backends and tests, fresh and new! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately describes the main change: adding a vscode-cli registry entry with the backend source specified.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps

greptile-apps Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a new vscode-cli registry entry that maps to aqua:microsoft/vscode/code (the VS Code standalone CLI for tunnels/remote development), distinct from the existing code.toml entry that points to just-every/code.

  • The PR description does not include the GitHub star count for microsoft/vscode, which is required by the contribution policy for new registry entries.
  • The test.expected value of \"code {{version}}\" is likely incorrect — the VS Code CLI's code --version outputs only the version number (e.g., 1.89.1) on a bare line, not prefixed with code, so the test would fail. This pattern should be verified against the actual installed binary output.

Confidence Score: 3/5

The entry is a single-file addition with no logic changes to core code, but the test command is likely broken and the contribution requirements are unmet.

The test.expected pattern "code {{version}}" almost certainly does not match what code --version actually prints (the VS Code binary prints a bare version number), meaning the test will fail. The PR description also omits the required GitHub star count. Both issues need to be resolved before this is ready to merge.

registry/vscode-cli.toml — the only changed file; both open issues are in this file.

Important Files Changed

Filename Overview
registry/vscode-cli.toml New registry entry for VS Code standalone CLI via aqua backend; missing required GitHub star count in PR description, and the test expected pattern may not match the actual code --version output.

Reviews (1): Last reviewed commit: "registry: add vscode-cli" | Re-trigger Greptile

Comment thread registry/vscode-cli.toml
Comment thread registry/vscode-cli.toml
@felipecrs felipecrs changed the title registry: add vscode-cli registry: add vscode-cli (backend:aqua:microsoft/vscode/code) Jun 11, 2026
@jdx jdx merged commit 4f7e26f into jdx:main Jun 11, 2026
34 checks passed
@felipecrs felipecrs deleted the vscode-cli branch June 11, 2026 19:46
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.

2 participants