From 8490508017fd6695bb987966422d9cdb04947480 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Sun, 17 May 2026 11:27:42 +0800 Subject: [PATCH] auto-sync: 2026-05-17 11:27:42 --- src/frontend/src/api.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/frontend/src/api.ts b/src/frontend/src/api.ts index 44e7222..ce57eb5 100644 --- a/src/frontend/src/api.ts +++ b/src/frontend/src/api.ts @@ -238,10 +238,10 @@ export const api = { addSkill: async (agentId: string, skillName: string, description: string, trigger: string) => ({ ok: false, error: 'Not implemented' } as ActionResult), // ── 远程 Skills(v2.6 暂无) ── - addRemoteSkill: async () => ({ ok: false, error: 'Not implemented' } as any), + addRemoteSkill: async (..._args: any[]) => ({ ok: false, error: 'Not implemented' } as any), remoteSkillsList: async () => ({ ok: true, remoteSkills: [], count: 0 } as any), - updateRemoteSkill: async () => ({ ok: false } as ActionResult), - removeRemoteSkill: async () => ({ ok: false } as ActionResult), + updateRemoteSkill: async (..._args: any[]) => ({ ok: false } as ActionResult), + removeRemoteSkill: async (..._args: any[]) => ({ ok: false } as ActionResult), // ── M3: 成果物(v2.6 暂无后端,返回空) ── artifacts: async (taskId: string): Promise => ({ @@ -259,10 +259,10 @@ export const api = { humanInputRespond: async (taskId: string, data: HumanInputRespondPayload) => ({ ok: false, error: 'Not implemented' } as ActionResult), // ── 朝堂议政(v2.6 暂无后端) ── - courtDiscussStart: async () => ({ ok: false, error: 'Not implemented' } as CourtDiscussResult), - courtDiscussAdvance: async () => ({ ok: false, error: 'Not implemented' } as CourtDiscussResult), - courtDiscussConclude: async () => ({ ok: false, error: 'Not implemented' } as any), - courtDiscussDestroy: async () => ({ ok: false } as ActionResult), + courtDiscussStart: async (..._args: any[]) => ({ ok: false, error: 'Not implemented' } as CourtDiscussResult), + courtDiscussAdvance: async (..._args: any[]) => ({ ok: false, error: 'Not implemented' } as CourtDiscussResult), + courtDiscussConclude: async (..._args: any[]) => ({ ok: false, error: 'Not implemented' } as any), + courtDiscussDestroy: async (..._args: any[]) => ({ ok: false } as ActionResult), courtDiscussFate: async () => ({ ok: true, event: '' }) as any, };