auriga-cli 1.14.0 → 1.14.1

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.
package/dist/catalog.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-05-11T12:30:19.431Z",
2
+ "generatedAt": "2026-05-11T21:43:19.043Z",
3
3
  "workflowSkills": [
4
4
  {
5
5
  "name": "brainstorming",
package/dist/plugins.js CHANGED
@@ -509,11 +509,22 @@ export async function installPlugins(packageRoot, opts) {
509
509
  log.skip("No plugins selected");
510
510
  }
511
511
  else {
512
- // Install required marketplaces
512
+ // Install or refresh required marketplaces. Already-present
513
+ // marketplaces keep whatever marketplace.json was cached at the last
514
+ // `add` — refresh them so upstream renames / additions become
515
+ // visible without users manually re-adding. Same add-or-update
516
+ // intent as the Codex path; simpler control flow here because
517
+ // `getInstalledMarketplaces` pre-classifies into two buckets.
513
518
  const existingMarketplaces = getInstalledMarketplaces();
514
519
  const marketplacesToAdd = new Map();
520
+ const marketplacesToUpdate = new Set();
515
521
  for (const plugin of selected) {
516
- if (plugin.marketplace && !existingMarketplaces.has(plugin.marketplace.name)) {
522
+ if (!plugin.marketplace)
523
+ continue;
524
+ if (existingMarketplaces.has(plugin.marketplace.name)) {
525
+ marketplacesToUpdate.add(plugin.marketplace.name);
526
+ }
527
+ else {
517
528
  marketplacesToAdd.set(plugin.marketplace.name, plugin.marketplace.source);
518
529
  }
519
530
  }
@@ -528,6 +539,20 @@ export async function installPlugins(packageRoot, opts) {
528
539
  failures.push(`marketplace ${name}`);
529
540
  }
530
541
  }
542
+ for (const name of marketplacesToUpdate) {
543
+ console.log(`\nUpdating marketplace: ${name}...`);
544
+ try {
545
+ exec(`claude plugins marketplace update ${name}`, { inherit: true });
546
+ log.ok(`Marketplace ${name} updated`);
547
+ }
548
+ catch (e) {
549
+ // Surface the underlying error so a 6-month-out reader can tell
550
+ // ENOENT / network / auth / git failures apart — mirrors the
551
+ // Codex side's commandErrorText usage in addCodexMarketplaceWithRetry.
552
+ log.error(`Failed to update marketplace: ${name}\n${commandErrorText(e)}`);
553
+ failures.push(`marketplace ${name}`);
554
+ }
555
+ }
531
556
  // Install plugins
532
557
  for (const plugin of selected) {
533
558
  console.log(`\nInstalling ${plugin.name}...`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auriga-cli",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "Interactive CLI to install Claude Code harness modules (Workflow, Skills, Recommended Skills, Plugins, Hooks)",
5
5
  "license": "MIT",
6
6
  "repository": {