Skip to content

Commit 9cb201b

Browse files
committed
Fix Command Code launch command on Windows
Launch Command Code with the `command-code` alias instead of `cmd`, which Windows intercepts as the built-in Command Prompt. The alias works on Windows, macOS, Linux, and WSL.
1 parent da477ce commit 9cb201b

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
All notable changes to this project are documented here. The format is based on
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [0.3.1]
7+
8+
- **Command Code** now launches with the `command-code` command instead of `cmd`, which Windows
9+
intercepts as the built-in Command Prompt. The new command works on Windows, macOS, Linux, and WSL.
10+
611
## [0.3.0]
712

813
- Added **Command Code** (`cmd`, npm `command-code`) to the built-in presets.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Super CLI",
44
"description": "One VS Code extension to launch any coding agent CLI (Claude Code, Codex, Copilot, Antigravity, and your own) from a single side terminal.",
55
"publisher": "mikesoft",
6-
"version": "0.3.0",
6+
"version": "0.3.1",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/TheStreamCode/super-cli.git"

src/agents.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ export const BUILTIN_AGENTS: readonly Agent[] = [
7878
{
7979
id: 'command-code',
8080
label: 'Command Code',
81-
command: 'cmd',
81+
// Use the `command-code` alias, not `cmd`: on Windows `cmd` is intercepted as the Command Prompt.
82+
// `command-code` works on Windows, macOS, Linux, and WSL without that conflict.
83+
command: 'command-code',
8284
icon: 'terminal',
8385
installCommand: 'npm install -g command-code',
8486
autoInstall: true,

0 commit comments

Comments
 (0)