Microagent to fix issues with npm (#5314)

This commit is contained in:
Graham Neubig 2024-12-01 10:47:29 -05:00 committed by GitHub
parent 6a79f19c8f
commit afc94a2f0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,9 @@
---
name: npm
agent: CodeActAgent
triggers:
- npm
---
When using npm to install packages, you will not be able to use an interactive shell, and it may be hard to confirm your actions.
As an alternative, you can pipe in the output of the unix "yes" command to confirm your actions.