auto-sync: 2026-05-17 11:27:42

This commit is contained in:
cfdaily
2026-05-17 11:27:42 +08:00
parent 0fdc8cad52
commit 8490508017
+7 -7
View File
@@ -238,10 +238,10 @@ export const api = {
addSkill: async (agentId: string, skillName: string, description: string, trigger: string) => ({ ok: false, error: 'Not implemented' } as ActionResult),
// ── 远程 Skillsv2.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<ArtifactsResult> => ({
@@ -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,
};