Commit 5bb5fd9
feat: support npm install -g in agent container (#1712)
* feat: support npm install -g in agent container (#1295)
Configure NPM_CONFIG_PREFIX to $HOME/.npm-global so that `npm install -g`
works inside the AWF agent container where /usr is mounted read-only.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: guard NPM_CONFIG_PREFIX to preserve user-provided values
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2c81abd commit 5bb5fd9
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
684 | 691 | | |
685 | 692 | | |
686 | 693 | | |
| |||
0 commit comments