fix(audit): P2 frontend any→concrete types (181→61), heroicons→lucide-react, missing type exports, toast API, Select options, TaskStatus types; P2-9 hooks.py type annotations
This commit is contained in:
@@ -86,6 +86,44 @@ export interface AgentTool {
|
||||
description: string;
|
||||
}
|
||||
|
||||
export interface AgentToolInfo extends AgentTool {
|
||||
id?: string;
|
||||
category?: string;
|
||||
required_permissions?: string[];
|
||||
}
|
||||
|
||||
export interface AgentSkillInfo {
|
||||
name: string;
|
||||
description: string;
|
||||
tools?: string[];
|
||||
required_permissions?: string[];
|
||||
}
|
||||
|
||||
export interface AgentRunFull extends AgentRun {
|
||||
agent_name?: string;
|
||||
cost?: number;
|
||||
steps?: number;
|
||||
error_category?: string;
|
||||
}
|
||||
|
||||
export interface AgentDefinitionFull extends AgentDefinition {
|
||||
llm_model?: string;
|
||||
tool_ids?: string[];
|
||||
skill_ids?: string[];
|
||||
max_steps?: number;
|
||||
max_duration_seconds?: number;
|
||||
budget_limit_usd?: number;
|
||||
temperature?: number;
|
||||
max_tokens?: number;
|
||||
trace_mode?: 'standard' | 'extended' | 'off';
|
||||
is_active?: boolean;
|
||||
trigger_config?: Record<string, unknown>;
|
||||
ai_use_case_metadata?: Record<string, unknown>;
|
||||
tools_list?: AgentToolInfo[];
|
||||
skills_list?: AgentSkillInfo[];
|
||||
version?: number;
|
||||
}
|
||||
|
||||
export interface AutomationSettings {
|
||||
default_llm_model: string;
|
||||
heartbeat_default_interval: number;
|
||||
|
||||
Reference in New Issue
Block a user