UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

13 lines (12 loc) • 624 B
import type { AgentLimitsDefinition } from "#shared/agent-definition.js"; type UsageLimit = AgentLimitsDefinition["maxInputTokensPerSession"] | AgentLimitsDefinition["maxOutputTokensPerSession"] | AgentLimitsDefinition["maxTokenCostUsdPerSession"]; /** * Resolves an authored usage cap against an inherited parent cap. `false` * only means "uncapped" before inheritance; an actual inherited cap still * bounds the child. */ export declare function resolveInheritedTokenLimit(input: { readonly configured: UsageLimit | undefined; readonly inherited: UsageLimit | undefined; }): UsageLimit | undefined; export {};