@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.
- package/dist/accounts.d.ts +11 -0
- package/dist/cch.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +455 -154
- package/dist/internal-types/setup/enroll.d.ts +2 -1
- package/dist/internal-types/setup/process-fence.d.ts +9 -0
- package/dist/internal-types/setup/process-guard.d.ts +12 -0
- package/dist/internal-types/setup/register.d.ts +2 -1
- package/dist/layout-fence.d.ts +3 -2
- package/dist/native-account-runtime.d.ts +4 -0
- package/dist/native-migration.d.ts +4 -0
- package/dist/native-runtime-settings.d.ts +4 -0
- package/dist/pool-authority.d.ts +3 -1
- package/dist/settings-mode-status.d.ts +25 -0
- package/dist/settings-move-run.d.ts +6 -0
- package/dist/settings-start.d.ts +2 -0
- package/dist/sticky-routing.d.ts +34 -0
- package/package.json +2 -2
package/dist/accounts.d.ts
CHANGED
|
@@ -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';
|