Commit 1c2cb94
Fix: Respect plugin defaultChoice for stable/beta channels
Addressed Greptile review feedback: The previous logic forced "npm" for
stable/beta update channels, ignoring the plugin's defaultChoice. This
caused 404 errors for unpublished plugins even after setting defaultChoice
to "local" in their package.json.
Now stable/beta channels respect the plugin's defaultChoice setting:
- If defaultChoice is "local", use bundled version (if available)
- Otherwise default to "npm" (existing behavior for published plugins)
This ensures unpublished plugins (googlechat, mattermost, line, tlon)
work correctly during setup regardless of the user's update channel.
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent df9bdfa commit 1c2cb94
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
0 commit comments