feat(core,cli,server,web): add goal mode — loop Tasks on one Session until an objective completes (#66)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
rank-Yu
2026-07-27 23:43:24 +08:00
committed by GitHub
parent e1141ca010
commit 46463bee26
61 changed files with 3411 additions and 188 deletions
+4
View File
@@ -25,6 +25,7 @@ import type {
DirListResponse,
FilesStatRequest,
FilesStatResponse,
GoalResponse,
MeResponse,
MemberAddRequest,
MemberAddResponse,
@@ -255,6 +256,9 @@ export const postTask = (sessionId: string, body: TaskCreateRequest) =>
body,
});
export const getGoal = (sessionId: string) =>
apiFetch<GoalResponse>(`/api/sessions/${encodeURIComponent(sessionId)}/goal`);
export const postApproval = (
sessionId: string,
toolCallId: string,