From 37c1d5842310bf96bc24ed5585a14aeda692510c Mon Sep 17 00:00:00 2001 From: cfdaily Date: Sun, 17 May 2026 11:27:52 +0800 Subject: [PATCH] auto-sync: 2026-05-17 11:27:52 --- src/frontend/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/api.ts b/src/frontend/src/api.ts index ce57eb5..21bc361 100644 --- a/src/frontend/src/api.ts +++ b/src/frontend/src/api.ts @@ -235,7 +235,7 @@ export const api = { schedulerRollback: async (taskId: string, reason: string) => ({ ok: false, error: 'Not implemented' } as ActionResult), refreshMorning: async () => ({ ok: false, error: 'Not implemented' } as ActionResult), saveMorningConfig: async (config: SubConfig) => ({ ok: false, error: 'Not implemented' } as ActionResult), - addSkill: async (agentId: string, skillName: string, description: string, trigger: string) => ({ ok: false, error: 'Not implemented' } as ActionResult), + addSkill: async (..._args: any[]) => ({ ok: false, error: 'Not implemented' } as ActionResult), // ── 远程 Skills(v2.6 暂无) ── addRemoteSkill: async (..._args: any[]) => ({ ok: false, error: 'Not implemented' } as any),