[PR #4520] Fixed npm registry URL slash handling #11004

Closed
opened 2026-02-16 18:15:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4520

State: closed
Merged: No


Fixed the npm registry URL handling in packages/opencode/src/installation/index.ts:162. The function now reads the npm registry configuration and ensures it ends with a slash before constructing the package URL.

Closes #4490

New%20session%20-%202025-11-20T00%3A40%3A49.946Z
opencode session  |  github run

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4520 **State:** closed **Merged:** No --- Fixed the npm registry URL handling in `packages/opencode/src/installation/index.ts:162`. The function now reads the npm registry configuration and ensures it ends with a slash before constructing the package URL. Closes #4490 <a href="https://opencode.ai/s/NQNx74uA"><img width="200" alt="New%20session%20-%202025-11-20T00%3A40%3A49.946Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI1LTExLTIwVDAwOjQwOjQ5Ljk0Nlo=.png?model=opencode/glm-4.6&version=1.0.78&id=NQNx74uA" /></a> [opencode session](https://opencode.ai/s/NQNx74uA)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/sst/opencode/actions/runs/19521242094)
yindo added the pull-request label 2026-02-16 18:15:46 -05:00
yindo closed this issue 2026-02-16 18:15:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11004