fix: align frontend API paths with backend endpoints

- handoffs: /handoffs/queue → /ai-sessions/queue, claim needs sessionId
- resolutions: /resolution-outputs → /outputs
- branches: /status suffix removed from PATCH path
- Add SessionQueuePage route at /queue

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-03-24 13:36:05 +00:00
parent e0d4148702
commit c8778bb4e7
4 changed files with 10 additions and 8 deletions

View File

@@ -32,8 +32,8 @@ export const branchesApi = {
reason?: string
): Promise<void> {
await apiClient.patch(
`/ai-sessions/${sessionId}/branches/${branchId}/status`,
{ status, reason }
`/ai-sessions/${sessionId}/branches/${branchId}`,
{ status, status_reason: reason }
)
},