(taskId: string)
| 1648 | } |
| 1649 | |
| 1650 | getChunksByTask(taskId: string): Chunk[] { |
| 1651 | const rows = this.db.prepare("SELECT * FROM chunks WHERE task_id = ? ORDER BY created_at, seq").all(taskId) as ChunkRow[]; |
| 1652 | return rows.map(rowToChunk); |
| 1653 | } |
| 1654 | |
| 1655 | listTasks(opts: { status?: string; limit?: number; offset?: number; owner?: string; session?: string } = {}): { tasks: Task[]; total: number } { |
| 1656 | const conditions: string[] = []; |
no test coverage detected