@oh-my-pi/pi-catalog 17.2.10 → 17.2.12

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/src/types.ts CHANGED
@@ -518,6 +518,12 @@ export interface BedrockCompat {
518
518
  * Capability metadata only; zero means no explicit checkpoints.
519
519
  */
520
520
  promptCacheMaximumCheckpoints?: number;
521
+ /**
522
+ * Stream-watchdog idle-timeout fallback in ms; 0 disables the idle watchdog.
523
+ * Undefined defers to `PI_STREAM_IDLE_TIMEOUT_MS`, then the legacy
524
+ * `PI_OPENAI_STREAM_IDLE_TIMEOUT_MS` alias, then the 300s default.
525
+ */
526
+ streamIdleTimeoutMs?: number;
521
527
  }
522
528
 
523
529
  /** Fully-resolved Bedrock Converse prompt-cache capabilities, materialized once by `buildModel`. */
@@ -526,6 +532,13 @@ export interface ResolvedBedrockCompat {
526
532
  supportsLongPromptCacheRetention: boolean;
527
533
  promptCacheMinimumTokens: number;
528
534
  promptCacheMaximumCheckpoints: number;
535
+ /**
536
+ * Stream-watchdog idle-timeout fallback in ms for hosts with no keepalive
537
+ * events; 0 disables the idle watchdog. Undefined defers to
538
+ * `PI_STREAM_IDLE_TIMEOUT_MS`, then the legacy
539
+ * `PI_OPENAI_STREAM_IDLE_TIMEOUT_MS` alias, then the 300s default.
540
+ */
541
+ streamIdleTimeoutMs?: number;
529
542
  }
530
543
 
531
544
  /**
@@ -115,7 +115,7 @@ type DevinTierRoutes = Partial<Record<"off" | "minimal" | "low" | "medium" | "hi
115
115
 
116
116
  /** Devin families with a `-max` sibling: five wire tiers, `low` floor. */
117
117
  const DEVIN_FIVE_TIER_EFFORTS: readonly Effort[] = [Effort.Low, Effort.Medium, Effort.High, Effort.XHigh, Effort.Max];
118
- /** Devin families topping out at `-xhigh` (pre-5.6 GPT, 5.6 fast lanes). */
118
+ /** Pre-5.6 Devin GPT families top out at `-xhigh`: four wire tiers, `low` floor. */
119
119
  const DEVIN_FOUR_TIER_EFFORTS: readonly Effort[] = [Effort.Low, Effort.Medium, Effort.High, Effort.XHigh];
120
120
 
121
121
  function devinTierFamily(
@@ -172,8 +172,7 @@ function devinTierFamily(
172
172
 
173
173
  /**
174
174
  * GPT-5.6 (Luna/Sol/Terra) serves per-tier siblings for the full five-tier
175
- * `low..max` wire scale; user efforts route 1:1 onto them. Devin serves no
176
- * `-max-priority` sibling, so the fast family tops out at `xhigh`.
175
+ * `low..max` wire scale in both standard and fast lanes.
177
176
  */
178
177
  function devinGpt56Families(variant: "luna" | "sol" | "terra", name: string): readonly EffortVariantFamily[] {
179
178
  const base = `gpt-5-6-${variant}`;
@@ -200,8 +199,9 @@ function devinGpt56Families(variant: "luna" | "sol" | "terra", name: string): re
200
199
  medium: `${base}-medium-priority`,
201
200
  high: `${base}-high-priority`,
202
201
  xhigh: `${base}-xhigh-priority`,
202
+ max: `${base}-max-priority`,
203
203
  },
204
- DEVIN_FOUR_TIER_EFFORTS,
204
+ DEVIN_FIVE_TIER_EFFORTS,
205
205
  ),
206
206
  ];
207
207
  }
@@ -378,6 +378,54 @@ export const GEMINI_CLI_VARIANT_COLLAPSE_TABLE: VariantCollapseTable = {
378
378
  };
379
379
  export const DEVIN_VARIANT_COLLAPSE_TABLE: VariantCollapseTable = {
380
380
  families: [
381
+ devinTierFamily(
382
+ "claude-opus-5",
383
+ "Claude Opus 5",
384
+ {
385
+ low: "claude-opus-5-low",
386
+ medium: "claude-opus-5-medium",
387
+ high: "claude-opus-5-high",
388
+ xhigh: "claude-opus-5-xhigh",
389
+ max: "claude-opus-5-max",
390
+ },
391
+ DEVIN_FIVE_TIER_EFFORTS,
392
+ ),
393
+ devinTierFamily(
394
+ "claude-opus-5-fast",
395
+ "Claude Opus 5 Fast",
396
+ {
397
+ low: "claude-opus-5-low-fast",
398
+ medium: "claude-opus-5-medium-fast",
399
+ high: "claude-opus-5-high-fast",
400
+ xhigh: "claude-opus-5-xhigh-fast",
401
+ max: "claude-opus-5-max-fast",
402
+ },
403
+ DEVIN_FIVE_TIER_EFFORTS,
404
+ ),
405
+ devinTierFamily(
406
+ "claude-fable-5",
407
+ "Claude Fable 5",
408
+ {
409
+ low: "claude-5-fable-low",
410
+ medium: "claude-5-fable-medium",
411
+ high: "claude-5-fable-high",
412
+ xhigh: "claude-5-fable-xhigh",
413
+ max: "claude-5-fable-max",
414
+ },
415
+ DEVIN_FIVE_TIER_EFFORTS,
416
+ ),
417
+ devinTierFamily(
418
+ "claude-sonnet-5",
419
+ "Claude Sonnet 5",
420
+ {
421
+ low: "claude-sonnet-5-low",
422
+ medium: "claude-sonnet-5-medium",
423
+ high: "claude-sonnet-5-high",
424
+ xhigh: "claude-sonnet-5-xhigh",
425
+ max: "claude-sonnet-5-max",
426
+ },
427
+ DEVIN_FIVE_TIER_EFFORTS,
428
+ ),
381
429
  devinTierFamily(
382
430
  "claude-opus-4-7",
383
431
  "Claude Opus 4.7",
@@ -522,6 +570,48 @@ export const DEVIN_VARIANT_COLLAPSE_TABLE: VariantCollapseTable = {
522
570
  ...devinGpt56Families("luna", "GPT-5.6 Luna"),
523
571
  ...devinGpt56Families("sol", "GPT-5.6 Sol"),
524
572
  ...devinGpt56Families("terra", "GPT-5.6 Terra"),
573
+ devinTierFamily(
574
+ "kimi-k3",
575
+ "Kimi K3",
576
+ {
577
+ low: "kimi-k3-low",
578
+ high: "kimi-k3-high",
579
+ max: "kimi-k3-max",
580
+ },
581
+ [Effort.Low, Effort.High, Effort.Max],
582
+ ),
583
+ devinTierFamily(
584
+ "swe-1-7",
585
+ "SWE-1.7",
586
+ {
587
+ medium: "swe-1-7-medium",
588
+ max: "swe-1-7",
589
+ },
590
+ [Effort.Medium, Effort.Max],
591
+ ),
592
+ devinTierFamily(
593
+ "grok-4-5",
594
+ "Grok 4.5",
595
+ {
596
+ low: "grok-4-5-low",
597
+ medium: "grok-4-5-medium",
598
+ high: "grok-4-5-high",
599
+ },
600
+ [Effort.Low, Effort.Medium, Effort.High],
601
+ ),
602
+ devinTierFamily(
603
+ "inkling",
604
+ "Inkling",
605
+ {
606
+ off: "inkling-none",
607
+ low: "inkling-low",
608
+ medium: "inkling-medium",
609
+ high: "inkling-high",
610
+ xhigh: "inkling-xhigh",
611
+ max: "inkling-max",
612
+ },
613
+ DEVIN_FIVE_TIER_EFFORTS,
614
+ ),
525
615
  devinTierFamily(
526
616
  "gemini-3-1-pro",
527
617
  "Gemini 3.1 Pro",
@@ -542,6 +632,17 @@ export const DEVIN_VARIANT_COLLAPSE_TABLE: VariantCollapseTable = {
542
632
  },
543
633
  [Effort.Minimal, Effort.Low, Effort.Medium, Effort.High],
544
634
  ),
635
+ devinTierFamily(
636
+ "gemini-3-6-flash",
637
+ "Gemini 3.6 Flash",
638
+ {
639
+ minimal: "gemini-3-6-flash-minimal",
640
+ low: "gemini-3-6-flash-low",
641
+ medium: "gemini-3-6-flash-medium",
642
+ high: "gemini-3-6-flash-high",
643
+ },
644
+ [Effort.Minimal, Effort.Low, Effort.Medium, Effort.High],
645
+ ),
545
646
  devinTierFamily(
546
647
  "gemini-3-flash",
547
648
  "Gemini 3 Flash",