Repository navigation
Conversation
…omous woktree workflow
nacholiya
force-pushed
the
feature/install-cursor-agent
branch
from
February 20, 2026 10:46
961e6d1 to
15f7efd
Compare
Contributor
|
Thanks for the contribution, @nacholiya! The Containerfile change is exactly right. I've adopted your commit (preserving your authorship) onto the branch Closing this in favor of the new PR — your commit and authorship are fully preserved there. Thanks again! |
This was referenced Feb 20, 2026
c-vigo
added a commit
that referenced
this pull request
Feb 20, 2026
## Description Install the `cursor-agent` CLI (`agent` command) in the devcontainer image so that worktree recipes (`just worktree-start`, etc.) work out of the box without manual installation. Original Containerfile change contributed by @nacholiya in PR #110 (commit authorship preserved). Maintainer added PATH fix, image test, and CHANGELOG entry. ## Related Issue(s) Closes #108 ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update - [ ] Refactoring (no functional changes) - [ ] CI / Build change - [x] Test updates ## Changes Made - **Containerfile**: Added `cursor-agent` installation step via `curl -fsSL https://cursor.com/install | bash`, with `ENV PATH` for `~/.local/bin` and `agent --version` verification - **tests/test_image.py**: Added `test_cursor_agent_installed` to verify `agent --version` succeeds in the built image - **CHANGELOG.md**: Added entry under `### Added` in `## Unreleased` ## Changelog Entry ### Added - **cursor-agent CLI pre-installed in devcontainer image** ([#108](#108)) - Enables `just worktree-start` to work out of the box without manual installation ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details 1. `just build` — image builds successfully with cursor-agent installed 2. `just test-image` — `test_cursor_agent_installed` passes (agent --version returns rc 0) 3. `just test` — full suite passes (234 pytest + 209 BATS, 0 failures) ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes - The cursor-agent installer places the binary in `~/.local/bin`. The original PR #110 didn't include this in PATH, causing the build to fail. Fixed by adding `ENV PATH="/root/.local/bin:${PATH}"` before the install step, matching the pattern used for cargo-binstall. - No version pinning — cursor-agent uses a rolling install script per the issue's proposed solution. Refs: #108
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
Installs the
cursor-agentCLI inside the devcontainer image so thatjust worktree-startworks without requiring manual installation.Changes
agent --versionImpact
[ERROR] cursor-agent CLI is not installed.