Files
mulit-agent/controller/frontend/wailsjs/go/main/App.d.ts
T
toot aa57ea69de feat(controller): 工具仓库、Skills 录入、多轮追问与终端运行日志
- 插件/MCP 改为通用工具仓库:内置、HTTP MCP、本机命令(stdio)三类工具,可增删改、
  按 Agent 分配;定义变更自动提升下发版本并重发,删除即回收分配并通知 Agent 清空。
- 旧 desktop-filesystem 降级为仓库中的一个内置条目;本机预设工具改为总控只展示、
  Agent 默认启用,任务执行来源新增 builtin(审计 task.builtin_tool_execution)。
- Skills 补齐录入闭环:新建或按名称覆盖更新,并可从旧版技能目录(SKILL.md + skill.json)
  批量导入;同名更新保持标识不变并自动重新应用,旧包入口脚本只提示不执行。
- 单独指派支持基于某条已完成任务的多轮追问:任务内容框仍下发无上下文的一次性任务,
  追问时由总控组装历史(仅成功轮次、默认最近 50 轮 / 约 6 万字符),会话按 Agent 隔离;
  执行动态把同一会话合并为一条记录,任务详情弹窗底部提供继续对话输入框。
- 任务详情支持运行中观测:打开期间每 2 秒刷新,终端风格输出全部事件并自动滚动;
  progress 事件不改变任务状态且顺延无进展超时,避免正在执行工具的任务被误判超时。
- 修复 build.ps1 缺 UTF-8 BOM 导致 build.bat 在 PowerShell 5.1 下语法报错。
2026-09-16 15:30:50 +08:00

81 lines
3.3 KiB
TypeScript

// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {controlplane} from '../models';
import {main} from '../models';
export function AgentDirectory(arg1:controlplane.AgentDirectoryFilter):Promise<controlplane.AgentDirectoryPage>;
export function AgentLLMStatuses():Promise<Array<controlplane.AgentLLMStatus>>;
export function AgentMCPStatuses():Promise<Array<controlplane.AgentMCPStatus>>;
export function AgentOperationalDetails(arg1:string):Promise<controlplane.AgentOperationalDetail>;
export function AgentSkillStatuses():Promise<Array<controlplane.AgentSkillStatus>>;
export function Agents():Promise<Array<controlplane.Agent>>;
export function AuditTrail(arg1:controlplane.AuditFilter):Promise<controlplane.AuditPage>;
export function CancelTask(arg1:string):Promise<void>;
export function ClearTaskHistory():Promise<number>;
export function ContinueTaskSession(arg1:string,arg2:string,arg3:number,arg4:Array<controlplane.TaskImageInput>):Promise<controlplane.CreateTaskSessionResult>;
export function CreatePairingCode():Promise<string>;
export function CreateTask(arg1:string,arg2:string,arg3:number):Promise<string>;
export function CreateTaskWithImages(arg1:string,arg2:string,arg3:number,arg4:Array<controlplane.TaskImageInput>):Promise<string>;
export function CreateTasks(arg1:Array<controlplane.TaskRequest>):Promise<Array<controlplane.TaskDispatchResult>>;
export function DeleteMCPTool(arg1:string):Promise<void>;
export function DeployLLMProfile(arg1:string,arg2:Array<string>):Promise<void>;
export function DeploySkill(arg1:string,arg2:Array<string>):Promise<void>;
export function DispatchMentions(arg1:string,arg2:number):Promise<controlplane.MentionDispatchResponse>;
export function DispatchMentionsWithImages(arg1:string,arg2:number,arg3:Array<controlplane.TaskImageInput>):Promise<controlplane.MentionDispatchResponse>;
export function ImportSkillsFromDirectory():Promise<main.SkillImportResult>;
export function LLMProfiles():Promise<Array<controlplane.LLMProfile>>;
export function MCPTools():Promise<Array<controlplane.MCPTool>>;
export function OnlineAgents():Promise<Array<controlplane.Agent>>;
export function RecentAuditEvents():Promise<Array<controlplane.AuditEvent>>;
export function RecentTasks():Promise<Array<controlplane.Task>>;
export function RenameAgent(arg1:string,arg2:string):Promise<void>;
export function RetryTask(arg1:string):Promise<string>;
export function RevokeAgent(arg1:string):Promise<void>;
export function SaveLLMProfile(arg1:controlplane.LLMProfileInput):Promise<controlplane.LLMProfile>;
export function SaveMCPTool(arg1:controlplane.MCPToolInput):Promise<controlplane.MCPTool>;
export function SaveSkill(arg1:controlplane.SkillInput):Promise<controlplane.Skill>;
export function SetAgentMCPTools(arg1:string,arg2:Array<string>):Promise<void>;
export function SetAgentSkills(arg1:string,arg2:Array<string>):Promise<void>;
export function SkillDocument(arg1:string):Promise<controlplane.SkillDocument>;
export function Skills():Promise<Array<controlplane.Skill>>;
export function Snapshot():Promise<controlplane.Snapshot>;
export function TaskDetails(arg1:string):Promise<controlplane.TaskDetail>;
export function TaskSessionTurns(arg1:string):Promise<Array<controlplane.TaskSessionTurn>>;