agent-afk 5.322.13 → 5.322.15

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.
@@ -8,6 +8,7 @@ export interface ModelSlotBinding {
8
8
  baseUrl?: string;
9
9
  apiKey?: string;
10
10
  contextWindow?: number;
11
+ maxOutputTokens?: number;
11
12
  }
12
13
  export type ModelSlots = Record<SlotName, ModelSlotBinding>;
13
14
  export declare const CLAUDE_HAIKU_ID = "claude-haiku-5-5";
@@ -32,6 +33,7 @@ export declare function unconfiguredSlotError(input: string | undefined, binding
32
33
  export declare function parseModelsConfig(raw: unknown): Partial<Record<SlotName, ModelSlotBinding>>;
33
34
  export declare const MAX_CONTEXT_WINDOW_OVERRIDE = 10000000;
34
35
  export declare function contextWindowOverrideFor(concreteId: string, bindings?: ModelSlots): number | undefined;
36
+ export { maxOutputTokensOverrideFor } from './model-slots.output-override.js';
35
37
  export declare function _resetJsonStringSlotWarnings(): void;
36
38
  export declare function coerceSlotBindingInput(raw: unknown): {
37
39
  ok: true;
@@ -0,0 +1,2 @@
1
+ import type { ModelSlots } from './model-slots.js';
2
+ export declare function maxOutputTokensOverrideFor(concreteId: string, bindings?: ModelSlots): number | undefined;
@@ -6,6 +6,7 @@ export interface RunBillingContext {
6
6
  total?: BillingUsage;
7
7
  reported?: BillingUsage;
8
8
  terminalOutcome?: SubagentUnsuccessfulOutcome;
9
+ cumulativeCostUsd?: number;
9
10
  }
10
11
  export declare function unreportedBillingDelta(context: RunBillingContext): BillingUsage | undefined;
11
12
  export declare function takeUnreportedBilling(context: RunBillingContext): BillingUsage | undefined;