@oh-my-pi/pi-catalog 17.3.0 → 17.3.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.
@@ -265,22 +265,32 @@ function geminiFlashFamily(mode: "budget" | "google-level"): EffortVariantFamily
265
265
  };
266
266
  }
267
267
 
268
- const GEMINI_36_FLASH_FAMILY: EffortVariantFamily = {
269
- id: "gemini-3.6-flash",
270
- name: "Gemini 3.6 Flash",
271
- members: ["gemini-3.6-flash-low", "gemini-3.6-flash-medium", "gemini-3.6-flash-high", "gemini-3.6-flash-tiered"],
272
- routing: {
273
- [Effort.Minimal]: "gemini-3.6-flash-low",
274
- [Effort.Low]: "gemini-3.6-flash-low",
275
- [Effort.Medium]: "gemini-3.6-flash-medium",
276
- [Effort.High]: "gemini-3.6-flash-high",
277
- },
278
- thinking: {
279
- mode: "google-level",
280
- efforts: GEMINI_3_FLASH_FAMILY_EFFORTS,
281
- requiresEffort: true,
282
- },
283
- };
268
+ /**
269
+ * Gemini 3.6+ Flash exposes one mandatory-reasoning wire id per thinking
270
+ * level. Some generations retain additional discovery-only aliases.
271
+ */
272
+ function geminiLevelFlashFamily(version: "3.6" | "3.7", ...additionalMembers: string[]): EffortVariantFamily {
273
+ const id = `gemini-${version}-flash`;
274
+ return {
275
+ id,
276
+ name: `Gemini ${version} Flash`,
277
+ members: [`${id}-low`, `${id}-medium`, `${id}-high`, ...additionalMembers],
278
+ routing: {
279
+ [Effort.Minimal]: `${id}-low`,
280
+ [Effort.Low]: `${id}-low`,
281
+ [Effort.Medium]: `${id}-medium`,
282
+ [Effort.High]: `${id}-high`,
283
+ },
284
+ thinking: {
285
+ mode: "google-level",
286
+ efforts: GEMINI_3_FLASH_FAMILY_EFFORTS,
287
+ requiresEffort: true,
288
+ },
289
+ };
290
+ }
291
+
292
+ const GEMINI_36_FLASH_FAMILY = geminiLevelFlashFamily("3.6", "gemini-3.6-flash-tiered");
293
+ const GEMINI_37_FLASH_FAMILY = geminiLevelFlashFamily("3.7");
284
294
 
285
295
  function geminiProFamily(mode: "budget" | "google-level"): EffortVariantFamily {
286
296
  const budget = mode === "budget";
@@ -364,13 +374,20 @@ const SHARED_CCA_FAMILIES: readonly EffortVariantFamily[] = [
364
374
 
365
375
  /** `google-antigravity` Gemini families, using each generation's native transport. */
366
376
  export const ANTIGRAVITY_VARIANT_COLLAPSE_TABLE: VariantCollapseTable = {
367
- families: [GEMINI_36_FLASH_FAMILY, geminiFlashFamily("budget"), geminiProFamily("budget"), ...SHARED_CCA_FAMILIES],
377
+ families: [
378
+ GEMINI_36_FLASH_FAMILY,
379
+ GEMINI_37_FLASH_FAMILY,
380
+ geminiFlashFamily("budget"),
381
+ geminiProFamily("budget"),
382
+ ...SHARED_CCA_FAMILIES,
383
+ ],
368
384
  };
369
385
 
370
386
  /** `google-gemini-cli` Gemini families on the official CLI's level transport. */
371
387
  export const GEMINI_CLI_VARIANT_COLLAPSE_TABLE: VariantCollapseTable = {
372
388
  families: [
373
389
  GEMINI_36_FLASH_FAMILY,
390
+ GEMINI_37_FLASH_FAMILY,
374
391
  geminiFlashFamily("google-level"),
375
392
  geminiProFamily("google-level"),
376
393
  ...SHARED_CCA_FAMILIES,