优化Agent Connect时的agent状态获取

This commit is contained in:
xintaofei
2026-03-17 23:24:07 +08:00
parent ad062aef96
commit acbdabe9e4
6 changed files with 68 additions and 7 deletions

View File

@@ -463,6 +463,14 @@ export interface AcpAgentInfo {
codex_config_toml: string | null
}
// Lightweight agent status returned by acp_get_agent_status
export interface AcpAgentStatus {
agent_type: AgentType
available: boolean
enabled: boolean
installed_version: string | null
}
export type AgentSkillScope = "global" | "project"
export type AgentSkillLayout = "markdown_file" | "skill_directory"