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),