agent-afk 5.231.2 → 5.232.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/agent/providers/anthropic-direct/auth.d.ts +2 -2
- package/dist/agent/session/model-slots.d.ts +1 -0
- package/dist/agent/spine/spine-classifier.d.ts +1 -1
- package/dist/cli.mjs +245 -245
- package/dist/index.mjs +109 -109
- package/dist/telegram.mjs +131 -131
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ import type { AuthMode } from './types.js';
|
|
|
3
3
|
export declare const EXTENDED_CACHE_TTL_BETA = "extended-cache-ttl-2025-04-11";
|
|
4
4
|
export declare const OAUTH_BETA_HEADER = "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,extended-cache-ttl-2025-04-11";
|
|
5
5
|
export declare const EFFORT_BETA_HEADER = "effort-2025-11-24";
|
|
6
|
-
export declare const CLI_USER_AGENT = "claude-cli/1.
|
|
7
|
-
export declare const BILLING_HEADER_TEXT = "x-anthropic-billing-header: cc_version=1.
|
|
6
|
+
export declare const CLI_USER_AGENT = "claude-cli/2.1.280 (external, cli)";
|
|
7
|
+
export declare const BILLING_HEADER_TEXT = "x-anthropic-billing-header: cc_version=2.1.280; cc_entrypoint=cli; cch=00000;";
|
|
8
8
|
export declare function detectAuthMode(token: string): AuthMode;
|
|
9
9
|
export declare function buildClientOptions(token: string, mode: AuthMode, baseUrl?: string, fetchImpl?: typeof fetch): ({
|
|
10
10
|
authToken: string;
|
|
@@ -12,6 +12,7 @@ export type ModelSlots = Record<SlotName, ModelSlotBinding>;
|
|
|
12
12
|
export declare const CLAUDE_HAIKU_ID = "claude-haiku-4-5-20251001";
|
|
13
13
|
export declare const CLAUDE_SONNET_ID = "claude-sonnet-4-6";
|
|
14
14
|
export declare const CLAUDE_OPUS_ID = "claude-opus-5";
|
|
15
|
+
export declare const CLAUDE_OPUS_55_ID = "claude-opus-5-5";
|
|
15
16
|
export declare const CLAUDE_FABLE_5_ID = "claude-fable-5";
|
|
16
17
|
export declare const GROK_FLAGSHIP_ID = "grok-4.6";
|
|
17
18
|
export declare const DEFAULT_SLOT_BINDINGS: ModelSlots;
|
|
@@ -23,4 +23,4 @@ export declare function classifyDiff(diff: string, spineContent: string, signal?
|
|
|
23
23
|
export declare function classifySeedMaterial(seedText: string, signal?: AbortSignal): Promise<ClassifierResult>;
|
|
24
24
|
export declare function escapeDataBlock(text: string): string;
|
|
25
25
|
export declare function parseClassifierOutput(raw: string): ClassifierResult;
|
|
26
|
-
export declare const MAX_DESCRIPTION_LEN =
|
|
26
|
+
export declare const MAX_DESCRIPTION_LEN = 300;
|