@oh-my-pi/pi-catalog 18.4.2 → 18.4.3

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.
@@ -377,8 +377,17 @@ export type CompiledAuthValidation =
377
377
  maxTokensField?: "max_tokens" | "max_completion_tokens";
378
378
  maxTokens?: number;
379
379
  optional?: boolean;
380
+ /** With `optional`: a 403 also trusts the key; only a 401 rejects it. */
381
+ trustForbidden?: boolean;
382
+ }
383
+ | {
384
+ kind: "anthropic-messages";
385
+ label?: string;
386
+ baseUrl: string;
387
+ model: string;
388
+ optional?: boolean;
389
+ trustForbidden?: boolean;
380
390
  }
381
- | { kind: "anthropic-messages"; label?: string; baseUrl: string; model: string; optional?: boolean }
382
391
  | {
383
392
  kind: "models-endpoint";
384
393
  label?: string;
@@ -388,6 +397,7 @@ export type CompiledAuthValidation =
388
397
  /** Hook returning extra request headers (may throw a configuration error). */
389
398
  headersHook?: string;
390
399
  optional?: boolean;
400
+ trustForbidden?: boolean;
391
401
  };
392
402
 
393
403
  /** Paste-an-API-key login: optional browser hint, prompt, optional validation. */