Declare the Cursor agent CLI as ai-flow's own dependency - #72
Open
JPDuchesne wants to merge 2 commits into
Open
JPDuchesne wants to merge 2 commits into
JPDuchesne wants to merge 2 commits into
Conversation
…dency Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Gemfile convention: the default group is what the software needs to run, and the dispatcher spawns cursor-agent at runtime exactly like it loads sorbet-runtime. Also records the dual-home decision: the org baseline carries the same cask as org-wide human dev tooling. Co-authored-by: Cursor <cursoragent@cursor.com>
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
The dispatcher spawns
cursor-agent, so the CLI is ai-flow's runtime dependency — declared in the:appgroup (Gemfile convention: the default group is what the software needs to run, and the dispatcher spawns the agent binary exactly like it loads sorbet-runtime). Converging this checkout (dev up) is what makes a box agent-capable, which every runner does by construction.The CLI is dual-homed by design: the d3mlabs host baseline (d3mlabs/knowledge#42, converged by dev#133's machinery) also carries the cask as org-wide human dev tooling. Neither home substitutes for the other — the baseline serves people's machines, this declaration serves the dispatcher's runtime.
cursor-clihomebrew-cask: world-readable under/opt/homebrew, so the isolated agent user reads it with no shared-root machinery;AI_FLOW_AGENT_BINpoints at the Caskroom's stablebin/cursor-agentsymlink.group :app, host: :darwin): agent jobs route to Mac runners; Linux hosts skip it at install.Test plan
dev update-deps— lock carriescursor-cli: {integration: brew, group: app, cask: true, host: darwin}dev upon a host with the cask present: idempotent skipMade with Cursor