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

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.