mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-03-22 13:23:08 +00:00
Merge remote-tracking branch 'origin/master' into feature/blocked-for-human-input
# Conflicts: # server/services/process_manager.py
This commit is contained in:
@@ -282,6 +282,18 @@ export async function resumeAgent(projectName: string): Promise<AgentActionRespo
|
||||
})
|
||||
}
|
||||
|
||||
export async function gracefulPauseAgent(projectName: string): Promise<AgentActionResponse> {
|
||||
return fetchJSON(`/projects/${encodeURIComponent(projectName)}/agent/graceful-pause`, {
|
||||
method: 'POST',
|
||||
})
|
||||
}
|
||||
|
||||
export async function gracefulResumeAgent(projectName: string): Promise<AgentActionResponse> {
|
||||
return fetchJSON(`/projects/${encodeURIComponent(projectName)}/agent/graceful-resume`, {
|
||||
method: 'POST',
|
||||
})
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// Spec Creation API
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user