@jjdenhertog/ai-driven-development
Version:
AI-driven development workflow with learning capabilities for Claude
7 lines (6 loc) • 309 B
text/typescript
import { ClaudeSession } from '@/types'
import { fetchJson } from '../http/fetchJson'
import { API_BASE } from '../constants'
export function getTaskSession(taskId: string, sessionId: string): Promise<ClaudeSession> {
return fetchJson<ClaudeSession>(`${API_BASE}/tasks/${taskId}/sessions/${sessionId}`)
}