fix(cli): remove code bin alias to prevent VS Code CLI collision - #443
Open
Sergei-Nikitin-epam wants to merge 4 commits into
Open
fix(cli): remove code bin alias to prevent VS Code CLI collision#443Sergei-Nikitin-epam wants to merge 4 commits into
code bin alias to prevent VS Code CLI collision#443Sergei-Nikitin-epam wants to merge 4 commits into
Conversation
Generated with AI Co-Authored-By: codemie-ai <codemie.ai@gmail.com> Claude-Session: https://claude.ai/code/session_014NeZZse4iQvowT8MfFdwkt
Generated with AI Co-Authored-By: codemie-ai <codemie.ai@gmail.com> Claude-Session: https://claude.ai/code/session_014NeZZse4iQvowT8MfFdwkt
- CR-001: replace npm unlink -g with npm uninstall -g (correct command) - CR-002: add VS Code collision warning to Option 2 alias suggestion - CR-003: correct claim that npm update -g removes stale bin symlinks Generated with AI Co-Authored-By: codemie-ai <codemie.ai@gmail.com> Claude-Session: https://claude.ai/code/session_014NeZZse4iQvowT8MfFdwkt
Generated with AI Co-Authored-By: codemie-ai <codemie.ai@gmail.com> Claude-Session: https://claude.ai/code/session_014NeZZse4iQvowT8MfFdwkt
yanaSelin
approved these changes
Jul 28, 2026
8nevil8
reviewed
Jul 28, 2026
| @@ -0,0 +1,59 @@ | |||
| # Migration Guide | |||
Collaborator
There was a problem hiding this comment.
let's remove this migration, it's obsolete
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the
codeentry from the npmbinblock inpackage.json. The alias collided with the VS Code CLI (code) installed on most developer machines, causing confusing behaviour (and a potential footgun where shell completion or scripts invoke the wrong binary). Users should usecodemieorcodemie-codeinstead.Changes
package.json: removed"code": "./bin/codemie.js"from thebinblockdocs/MIGRATION.md: new migration guide documenting the change, the recommended replacement commands, the optional shell-alias approach (with VS Code caveat), and the stale-symlink cleanup procedureImpact
Before:
code chatinvoked the CodeMie CLI (and shadowed the VS Codecodebinary)After:
codereverts to VS Code's binary; users must usecodemie chatorcodemie-code chatExisting global installs retain a stale
codesymlink untilnpm uninstall -g @codemieai/code && npm install -g @codemieai/codeis run.docs/MIGRATION.mddocuments this.Testing
Checklist
npm run ci)maindocs/MIGRATION.md)Closes EPMCDME-13589