agent-afk 5.25.0 → 5.25.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.
@@ -1 +1,2 @@
1
1
  export declare function supportsVision(model: string | undefined): boolean;
2
+ export declare function isOSeriesModel(model: string | undefined): boolean;
@@ -1,7 +1,8 @@
1
1
  import type { EffortLevel } from '../../../types/sdk-types.js';
2
+ import { isOSeriesModel } from '../../../model-capabilities.js';
2
3
  export declare function resolveEffectiveMaxOutputTokens(model: string, configMaxOutput: number | undefined): number;
3
4
  export declare function resolveStreamingMaxTokens(model: string, configMaxOutput: number | undefined): Record<string, number>;
4
5
  export declare function normalizePermissionMode(mode: string | undefined): string;
5
- export declare function isOSeriesModel(model: string): boolean;
6
+ export { isOSeriesModel };
6
7
  export declare function mapEffortForOpenAI(effort: EffortLevel): 'low' | 'medium' | 'high';
7
8
  export declare function resolveReasoningEffort(effort: EffortLevel | undefined, model: string): 'low' | 'medium' | 'high' | undefined;
@@ -12,6 +12,8 @@ import type { SubagentStatus, SubagentResult, SubagentTrace } from './subagent/r
12
12
  export type { SubagentStatus, SubagentResult, SubagentTrace, SubagentHandle };
13
13
  export declare const DENY_ELICITATION: NonNullable<AgentConfig['onElicitation']>;
14
14
  export declare const SUBAGENT_DEFAULT_MAX_TOOL_USE_ITERATIONS = 50;
15
+ export declare const SUBAGENT_DEFAULT_TIMEOUT_MS: number;
16
+ export declare const SUBAGENT_BACKGROUND_TIMEOUT_MS: number;
15
17
  export interface ForkParent {
16
18
  sessionId?: string;
17
19
  id?: string;