@cortexkit/anthropic-auth-core 2.1.2 → 2.2.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.
- package/dist/accounts.d.ts +8 -0
- package/dist/claude-code.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9855 -9610
- package/dist/internal-types/claustrum/consumer.d.ts +5 -1
- package/dist/internal-types/claustrum/index.d.ts +1 -1
- package/dist/internal-types/claustrum/insula.d.ts +23 -0
- package/dist/native-refresh-coordinator.d.ts +1 -1
- package/dist/native-transient-account.d.ts +3 -3
- package/dist/native-vault-runtime.d.ts +5 -3
- package/dist/quota-manager.d.ts +3 -0
- package/dist/turn-end-note.d.ts +19 -0
- package/package.json +2 -2
package/dist/accounts.d.ts
CHANGED
|
@@ -226,6 +226,14 @@ export type AccountStorage = {
|
|
|
226
226
|
thinkingBinding?: {
|
|
227
227
|
prefixMismatchBehavior?: 'account-default' | 'error' | 'drop_block';
|
|
228
228
|
};
|
|
229
|
+
/**
|
|
230
|
+
* Tool names (as the host names them) whose calls after a long reply get a
|
|
231
|
+
* system note telling the model not to repeat that reply. Unset means the
|
|
232
|
+
* `board` and `ctx_reduce` tools; an empty list turns the note off.
|
|
233
|
+
*/
|
|
234
|
+
turnEndNote?: {
|
|
235
|
+
tools: string[];
|
|
236
|
+
};
|
|
229
237
|
/**
|
|
230
238
|
* Zero out Anthropic OAuth model costs in the provider hook. Default: enabled
|
|
231
239
|
* (OAuth usage is quota-based, not per-token billed, so costs show as $0).
|
package/dist/claude-code.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class ClaudeUnsupportedAccessError extends Error {
|
|
|
32
32
|
export declare function resolveClaudeCodeAccountIdentity(accessToken: string, model: string | undefined, accountIdentity: string | undefined): Promise<ClaudeCodeIdentity>;
|
|
33
33
|
export declare function buildClaudeCodeMetadataUserId(identity: ClaudeCodeIdentity): string | null;
|
|
34
34
|
export declare function applyClaudeCodeMetadata(body: Record<string, unknown>, identity: ClaudeCodeIdentity): boolean;
|
|
35
|
-
export declare const CLAUDE_CODE_FULL_AGENT_BETAS: readonly ['claude-code-20250219', 'oauth-2025-04-20', 'interleaved-thinking-2025-05-14', 'thinking-token-count-2026-05-13', 'context-management-2025-06-27', 'prompt-caching-scope-2026-01-05', 'mid-conversation-tool-changes-2026-07-01', 'advanced-tool-use-2025-11-20',
|
|
35
|
+
export declare const CLAUDE_CODE_FULL_AGENT_BETAS: readonly ['claude-code-20250219', 'oauth-2025-04-20', 'interleaved-thinking-2025-05-14', 'thinking-token-count-2026-05-13', 'context-management-2025-06-27', 'prompt-caching-scope-2026-01-05', 'mid-conversation-tool-changes-2026-07-01', 'advanced-tool-use-2025-11-20', "mid-conversation-system-clear-at-2026-08-21", 'effort-2025-11-24', 'thinking-binding-controls-2026-08-01', 'thinking-display-updates-2026-08-18', 'extended-cache-ttl-2025-04-11', 'cache-diagnosis-2026-04-07'];
|
|
36
36
|
export declare function selectClaudeCodeBetas(body?: Record<string, unknown> | null, extraBetas?: string[], requestClass?: ClaudeCodeRequestClass): string;
|
|
37
37
|
export type ClaudeCodeRequestClass = 'main' | 'auxiliary';
|
|
38
38
|
export declare function applyClaudeCodeHeaders(headers: Headers, accessToken: string, options?: {
|
package/dist/index.d.ts
CHANGED