/** * Shared constants for Agent elements */ /** * Symbol for committing persisted state version. * Used by AgentManager to sync Agent's internal stateVersion after successful save. * @internal */ export declare const COMMIT_PERSISTED_VERSION: unique symbol; export declare const AGENT_LIMITS: { readonly MAX_GOALS: 50; readonly MAX_GOAL_LENGTH: 1000; readonly MAX_STATE_SIZE: number; readonly MAX_DECISION_HISTORY: 100; readonly MAX_CONTEXT_LENGTH: 5000; readonly MAX_RENDERED_GOAL_LENGTH: 5000; readonly MAX_AGENT_NAME_LENGTH: 100; readonly MAX_SPECIALIZATION_LENGTH: 50; readonly MAX_CONCURRENT_GOALS_DEFAULT: 10; readonly MAX_FILE_SIZE: number; readonly MAX_YAML_SIZE: number; }; export declare const AGENT_FILE_EXTENSION = ".md"; export declare const STATE_FILE_EXTENSION = ".state.yaml"; export declare const STATE_DIRECTORY = ".state"; export declare const DECISION_FRAMEWORKS: readonly ["rule_based", "ml_based", "programmatic", "hybrid", "llm_driven"]; export type DecisionFramework = typeof DECISION_FRAMEWORKS[number]; export declare const RISK_TOLERANCE_LEVELS: readonly ["conservative", "moderate", "aggressive"]; export type RiskTolerance = typeof RISK_TOLERANCE_LEVELS[number]; export declare const STEP_LIMIT_ACTIONS: readonly ["pause", "continue", "restart"]; export type StepLimitAction = typeof STEP_LIMIT_ACTIONS[number]; export declare const EXECUTION_FAILURE_ACTIONS: readonly ["pause", "retry", "restart-fresh"]; export type ExecutionFailureAction = typeof EXECUTION_FAILURE_ACTIONS[number]; export declare const BACKOFF_STRATEGIES: readonly ["none", "linear", "exponential"]; export type BackoffStrategy = typeof BACKOFF_STRATEGIES[number]; export declare const GOAL_PRIORITIES: readonly ["critical", "high", "medium", "low"]; export type GoalPriority = typeof GOAL_PRIORITIES[number]; export declare const GOAL_STATUSES: readonly ["pending", "in_progress", "completed", "failed", "cancelled"]; export type GoalStatus = typeof GOAL_STATUSES[number]; export declare const EISENHOWER_QUADRANTS: readonly ["do_first", "schedule", "delegate", "eliminate"]; export type EisenhowerQuadrant = typeof EISENHOWER_QUADRANTS[number]; export declare const EISENHOWER_THRESHOLDS: { /** Threshold for high importance/urgency (>= this value is considered "high") */ readonly HIGH_PRIORITY: 7; }; export declare const AGENT_THRESHOLDS: { /** Percentage of max concurrent goals that triggers a risk warning (0.8 = 80%) */ readonly CONCURRENT_GOAL_WARNING: 0.8; }; export declare const DECISION_OUTCOMES: readonly ["success", "failure", "partial", "unknown"]; export type DecisionOutcome = typeof DECISION_OUTCOMES[number]; export declare const RISK_LEVELS: readonly ["low", "medium", "high"]; export type RiskLevel = typeof RISK_LEVELS[number]; /** * Type-safe membership check against a readonly string tuple. * Centralizes the `(ARRAY as readonly string[]).includes(value as string)` cast pattern. */ export declare function isOneOf(value: unknown, options: readonly string[]): boolean; /** * Normalize snake_case keys in an autonomy config object to camelCase. * Mutates the object in place. Safe to call on already-normalized objects. */ export declare function normalizeAutonomyKeys(obj: Record): void; /** * Normalize snake_case keys in a resilience config object to camelCase. * Mutates the object in place. Safe to call on already-normalized objects. */ export declare function normalizeResilienceKeys(obj: Record): void; /** * Normalize snake_case keys in a goal config object to camelCase. * Mutates the object in place. Safe to call on already-normalized objects. */ export declare function normalizeGoalKeys(obj: Record): void; export declare const AGENT_DEFAULTS: { readonly DECISION_FRAMEWORK: DecisionFramework; readonly RISK_TOLERANCE: RiskTolerance; readonly LEARNING_ENABLED: true; readonly MAX_CONCURRENT_GOALS: 10; readonly GOAL_PRIORITY: GoalPriority; readonly GOAL_IMPORTANCE: 5; readonly GOAL_URGENCY: 5; }; //# sourceMappingURL=constants.d.ts.map