Rules for the Terminal

I would like to add a rule for the terminal so that the cursor uses the package manager specified in the package.json file. For instance, when an Agent attempts to install a package, it should always use npm, even though my default package manager is yarn. What pattern should I specify in “Auto Attach”? Should it be terminal?

1 Like

Linking them with manual is fine.

I did that, and then asked the console for what’s my context. Note that apparently the rule is summarized internally when it’s too, but I only had a ~20 lines rule file for terminal, and it was included completely.

(You can just ask the console to echo all rules available)

1 Like

@radzionc This would almost need to be a feature request :slight_smile: I would upvote it. Shall I change the discussion to feature request?

1 Like