agent-afk 5.148.0 → 5.149.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.
@@ -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;
@@ -1,3 +1,8 @@
1
1
  import type { TerminalState } from './terminal-state.js';
2
- export declare function renderVerdictCard(state: TerminalState): string;
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;