agent-afk 5.148.0 → 5.149.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/agent/providers/xai/endpoints.d.ts +2 -0
- package/dist/agent/session/model-slots.d.ts +1 -0
- package/dist/agent/session/model-validate.d.ts +2 -0
- package/dist/cli/commands/interactive/verdict-card.d.ts +6 -1
- package/dist/cli.mjs +494 -494
- package/dist/index.mjs +165 -165
- package/dist/telegram.mjs +227 -227
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type GrokCliHeaderDeps } from './headers.js';
|
|
1
2
|
export type XaiAuthMode = 'apikey' | 'oauth';
|
|
2
3
|
export declare const DEFAULT_XAI_API_BASE_URL = "https://api.x.ai/v1";
|
|
3
4
|
export declare const DEFAULT_XAI_OAUTH_BASE_URL = "https://cli-chat-proxy.grok.com/v1";
|
|
@@ -11,5 +12,6 @@ export interface XaiEndpointDeps {
|
|
|
11
12
|
readEnv?: (key: string) => string | undefined;
|
|
12
13
|
clientVersion?: string;
|
|
13
14
|
baseUrlOverride?: string;
|
|
15
|
+
headerDeps?: GrokCliHeaderDeps;
|
|
14
16
|
}
|
|
15
17
|
export declare function resolveXaiEndpoint(mode: XaiAuthMode, deps?: XaiEndpointDeps): XaiEndpointResolution;
|
|
@@ -13,6 +13,7 @@ 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
15
|
export declare const CLAUDE_FABLE_5_ID = "claude-fable-5";
|
|
16
|
+
export declare const GROK_FLAGSHIP_ID = "grok-4.6";
|
|
16
17
|
export declare const DEFAULT_SLOT_BINDINGS: ModelSlots;
|
|
17
18
|
export declare const AUTO_SENTINEL = "auto";
|
|
18
19
|
export declare const DIRECT_MODEL_ALIASES: Readonly<Record<string, string>>;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { TerminalState } from './terminal-state.js';
|
|
2
|
-
export
|
|
2
|
+
export interface VerdictMeta {
|
|
3
|
+
durationMs?: number;
|
|
4
|
+
totalCostUsd?: number;
|
|
5
|
+
toolCount?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function renderVerdictCard(state: TerminalState, meta?: VerdictMeta): string;
|
|
3
8
|
export declare function summarizeVerdict(state: TerminalState, maxWidth: number): string;
|