plugin-updater 1.0.29 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +10 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -442,12 +442,19 @@ export async function earlyLaunch(configDir, plugins) {
442
442
  return;
443
443
  }
444
444
  for (const plugin of plugins) {
445
- if (!plugin.enabled)
445
+ // absence of the enabled key means enabled, matching the loader TUI
446
+ if (plugin.enabled === false) {
447
+ writeLog(`Skipping disabled plugin ${plugin.name}`);
446
448
  continue;
447
- if (plugin.autoUpdate === false)
449
+ }
450
+ if (plugin.autoUpdate === false) {
451
+ writeLog(`Skipping auto-update for ${plugin.name} (autoUpdate off)`);
448
452
  continue;
449
- if (!plugin.url)
453
+ }
454
+ if (!plugin.url) {
455
+ writeLog(`Skipping ${plugin.name}: no url in plugins.json`, true);
450
456
  continue;
457
+ }
451
458
  writeLog(`Processing earlyLaunch for ${plugin.name}`);
452
459
  try {
453
460
  const updateResult = updatePlugin(plugin.name, plugin.url, plugin.branch, null, plugin.updateInterval ?? 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plugin-updater",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Plugin lifecycle manager for OpenCode and Claude Code launchers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",