Skip to content

feat(cli): add coven-cave alias#114

Merged
BunsDev merged 1 commit into
mainfrom
feat/coven-cave-alias
Jun 24, 2026
Merged

feat(cli): add coven-cave alias#114
BunsDev merged 1 commit into
mainfrom
feat/coven-cave-alias

Conversation

@BunsDev

@BunsDev BunsDev commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • add coven-cave as an npm bin alias for coven-code
  • install coven-cave alongside coven-code in shell and PowerShell installers
  • add a source-build wrapper target and document the alias

Verification

  • node scripts/prepare-npm-package.test.mjs
  • shell installer alias smoke
  • PowerShell installer alias smoke
  • cargo check --workspace
  • cargo clippy -p claurst --bin coven-cave --no-deps -- -D warnings
  • rustfmt --check src-rust/crates/cli/src/bin/coven-cave.rs
  • cargo build -p claurst --bins && ./target/debug/coven-cave --version

Note: full cargo clippy --workspace --all-targets -- -D warnings is currently blocked on an existing origin/main lint in crates/core/src/secret_file.rs:94 (needless_borrow).

Copilot AI review requested due to automatic review settings June 24, 2026 03:38
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Jun 24, 2026 3:38am

@BunsDev BunsDev merged commit 6fd9365 into main Jun 24, 2026
2 checks passed
@BunsDev BunsDev deleted the feat/coven-cave-alias branch June 24, 2026 03:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds coven-cave as a secondary entrypoint/alias for the coven-code CLI across distribution surfaces (npm, installers, and source builds), so users can invoke the same CLI with either name.

Changes:

  • Added a Rust coven-cave wrapper binary that execs coven-code from the same directory.
  • Added coven-cave as an npm bin alias for coven-code and updated the npm packaging test.
  • Updated Linux/macOS and PowerShell installers plus docs/READMEs to mention/install the alias.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src-rust/crates/cli/src/bin/coven-cave.rs New wrapper binary that forwards args to coven-code.
scripts/prepare-npm-package.test.mjs Asserts npm bin now includes both coven-code and coven-cave.
README.md Mentions coven-cave is installed as an alias; notes alias target for source builds.
npm/README.md Documents coven-cave as an alias invocation.
npm/package.json Adds coven-cave as an npm bin alias to bin/coven-code.
install.sh Creates an coven-cave symlink/copy alongside coven-code and prints it in output.
install.ps1 Copies coven-code.exe to coven-cave.exe and prints the alias in quickstart.
docs/installation.md Documents the alias for npm and installer-based installs.
COVEN.md Updates rebranded surface documentation to include the alias.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread COVEN.md
| Surface | File(s) | Current value |
|---|---|---|
| Binary name | `src-rust/crates/cli/Cargo.toml` `[[bin]]` | `coven-code` |
| Binary name | `src-rust/crates/cli/src/main.rs`, `src-rust/crates/cli/src/bin/coven-cave.rs` | `coven-code`; `coven-cave` alias |
Comment thread install.ps1
Comment on lines 169 to +176
function Install-Binary($source) {
$target = Join-Path $InstallDir 'coven-code.exe'
$aliasTarget = Join-Path $InstallDir 'coven-cave.exe'

# The currently running coven-code.exe (if any) holds an exclusive file lock on
# Windows. Try to swap by renaming the old one first.
if (Test-Path $target) {
$stale = "$target.old"
foreach ($path in @($target, $aliasTarget)) {
if (-not (Test-Path $path)) { continue }
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