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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user