pi-bro 0.40.0 → 0.40.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to pi-bro are documented here.
4
4
 
5
+ ## [0.40.1] - 2026-11-29
6
+
7
+ ### Fixed
8
+
9
+ - `/bro doctor` now accepts custom Agy models absent from `agy models` (such as Neon or Carbon) with an informational note instead of failing them as unavailable, while continuing to fail unsupported efforts on cataloged models.
10
+ - `/bro doctor` now reports Codex's live `models_cache.json` catalog status when Codex is in use, and updates the Preferences summary to list all features that use `bro-preferences.md`.
11
+
5
12
  ## [0.40.0] - 2026-11-29
6
13
 
7
14
  ### Highlights
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-bro",
3
- "version": "0.40.0",
3
+ "version": "0.40.1",
4
4
  "description": "A sidekick for you and your Pi agent: plain-language explanations, side questions, diagrams, PR review and second opinions, without cluttering the agent's context.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/doctor.ts CHANGED
@@ -341,7 +341,7 @@ export async function doctorReport(pi: ExtensionAPI, ctx: ExtensionCommandContex
341
341
 
342
342
  try {
343
343
  const preferences = await readPreferences();
344
- pass("Preferences", preferences ? `${preferences.length.toLocaleString("en-US")} characters · used by explain, show, btw` : "none — /bro preferences to add some");
344
+ pass("Preferences", preferences ? `${preferences.length.toLocaleString("en-US")} characters · used by Simplify, BTW, Elevate, Grill Me, Guided Review, and Overthink (not Advisor)` : "none — /bro preferences to add some");
345
345
  } catch (error) {
346
346
  fail("Preferences", error);
347
347
  }
@@ -405,6 +405,19 @@ export async function doctorReport(pi: ExtensionAPI, ctx: ExtensionCommandContex
405
405
  if (signal.aborted) throw error;
406
406
  fail(`${label} auth`, error);
407
407
  }
408
+ if (backend === "codex") {
409
+ try {
410
+ const codexModels = await listCodexModels();
411
+ pass(
412
+ "Codex model catalog",
413
+ codexModels.length
414
+ ? `${codexModels.length} model${codexModels.length === 1 ? "" : "s"} cached in models_cache.json`
415
+ : "none cached — custom model IDs still work",
416
+ );
417
+ } catch (error) {
418
+ fail("Codex model catalog", error);
419
+ }
420
+ }
408
421
  }
409
422
 
410
423
  // Pi is in-process: validate the host-selected physical model without a
@@ -447,7 +460,8 @@ export async function doctorReport(pi: ExtensionAPI, ctx: ExtensionCommandContex
447
460
  } else if (models) {
448
461
  const current = resolveCatalogSettings(settings, models);
449
462
  if (!current.family) {
450
- fail("Selected model", `\`${settings.model}\` is unavailable. Run \`/bro config\` to choose another.`);
463
+ pass("Selected model", `agy \`${settings.model}\` (custom — not in \`agy models\` catalog)`);
464
+ pass("Reasoning effort", settings.effort === "default" ? "built into the selected model" : settings.effort);
451
465
  } else {
452
466
  pass("Selected model", `agy \`${current.family.id}\``);
453
467
  const effort = current.settings.effort;
@@ -517,7 +531,11 @@ export async function doctorReport(pi: ExtensionAPI, ctx: ExtensionCommandContex
517
531
  }
518
532
  const resolved = resolveCapabilitySettings(settings, capability, models);
519
533
  if (!resolved.family) {
520
- fail(label, `\`${resolved.pair.model}\` is unavailable. Run \`/bro config\` to fix this override.`);
534
+ passCapability(
535
+ override
536
+ ? `override agy \`${resolved.pair.model}\`${resolved.pair.effort === "default" ? "" : ` (${resolved.pair.effort})`} · custom — not in \`agy models\` catalog`
537
+ : "using the shared default",
538
+ );
521
539
  continue;
522
540
  }
523
541
  const effortOk = !resolved.family.efforts.length