@cortexkit/anthropic-auth-core 2.14.0 → 2.15.0

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.
@@ -453,6 +453,17 @@ export declare function quotaRefusalTiming(input: {
453
453
  retryAfterSeconds: number | undefined;
454
454
  limitName?: string;
455
455
  };
456
+ /**
457
+ * The retry delay a quota refusal advertises: the time until `resetAt` (five
458
+ * minutes when it is unknown), capped by the longest same-account wait and the
459
+ * host's retry cap. The "0" wait setting advertises no retry at all.
460
+ */
461
+ export declare function quotaRefusalRetryAfterSeconds(input: {
462
+ resetAt: number | undefined;
463
+ storage?: AccountSettingsReaderInput | null;
464
+ sessionTtlMs?: number;
465
+ now?: number;
466
+ }): number | undefined;
456
467
  /** Compatibility accessor for callers that need only the capped retry delay. */
457
468
  export declare function killswitchRetryAfterSeconds(mainQuota: OAuthQuotaSnapshot | undefined, fallbackAccounts: Array<QuotaResetEvidence>, now: number, scopedModelId?: string, options?: {
458
469
  storage?: AccountStorage | null;
package/dist/cch.d.ts CHANGED
@@ -30,6 +30,8 @@ export declare class ClaudeCodeFirstUserTextTracker {
30
30
  constructor(limit?: number);
31
31
  resolve(sessionId: string, messages: Message[], pin?: boolean): string;
32
32
  has(sessionId: string): boolean;
33
+ /** Read a head's billing-text pin without changing its lifetime or LRU order. */
34
+ peek(sessionId: string): string | undefined;
33
35
  clear(): void;
34
36
  }
35
37
  /**
package/dist/index.d.ts CHANGED
@@ -115,6 +115,7 @@ export * from './session-cache-activity.ts';
115
115
  export * from './session-cache-policy.ts';
116
116
  export * from './settings-definition.ts';
117
117
  export * from './settings-mode.ts';
118
+ export * from './settings-mode-status.ts';
118
119
  export * from './settings-move-fence.ts';
119
120
  export * from './settings-move-map.ts';
120
121
  export * from './settings-move-run.ts';