Repository navigation
feat(devcontainer): install cursor-agent CLI in image - #114
Merged
Merged
Conversation
…omous woktree workflow
The cursor-agent installer places the binary in ~/.local/bin which is not in PATH during the Docker build. Add ENV PATH directive before the install step, matching the pattern used for cargo-binstall. Refs: #108
c-vigo
approved these changes
Feb 20, 2026
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.
Pull Request
Description
Install the
cursor-agentCLI (agentcommand) 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
Changes Made
cursor-agentinstallation step viacurl -fsSL https://cursor.com/install | bash, withENV PATHfor~/.local/binandagent --versionverificationtest_cursor_agent_installedto verifyagent --versionsucceeds in the built image### Addedin## UnreleasedChangelog Entry
Added
just worktree-startto work out of the box without manual installationTesting
just test)Manual Testing Details
just build— image builds successfully with cursor-agent installedjust test-image—test_cursor_agent_installedpasses (agent --version returns rc 0)just test— full suite passes (234 pytest + 209 BATS, 0 failures)Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
~/.local/bin. The original PR feat: install cursor-agent CLI in devcontainer image #110 didn't include this in PATH, causing the build to fail. Fixed by addingENV PATH="/root/.local/bin:${PATH}"before the install step, matching the pattern used for cargo-binstall.