feat(task-queue): add task queue system for orchestrating Claude prompts#5
Open
StanGirard wants to merge 1 commit intomainfrom
Open
feat(task-queue): add task queue system for orchestrating Claude prompts#5StanGirard wants to merge 1 commit intomainfrom
StanGirard wants to merge 1 commit intomainfrom
Conversation
Implement a global task queue system that allows orchestrating multiple Claude prompts with: - Three execution modes: print (-p), interactive, and trust (--dangerously-skip-permissions) - Sequential dependencies (task 1 → 2 → 3) - Each task creates its own session - Retry/Skip/Stop handling for failed tasks - Drag-and-drop reordering with @dnd-kit Backend changes: - Add SQLite migration v7 with tasks/templates tables - Create tasks.ts database module with CRUD operations - Create TaskQueueExecutor service for task execution - Add REST API endpoints for task management - WebSocket events for real-time task updates Frontend changes: - TaskQueuePanel component with Linear-style compact UI - TaskCard with status icons and mode badges - TaskCreator modal for single/batch task creation - FailureDialog for retry/skip/stop decisions - useTaskQueue hook for state management Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements a global task queue system for orchestrating multiple Claude prompts with:
print(-p background),interactive, andtrust(--dangerously-skip-permissions)Backend Changes
tasksandtask_templatestablestasks.tsdatabase module with CRUD operations, batch creation, dependency managementTaskQueueExecutorservice that polls for ready tasks and executes them/api/tasks,/api/tasks/batch,/api/tasks/:id/retry,/api/tasks/:id/skip, etc.Frontend Changes
Design Inspiration
Test plan
🤖 Generated with Claude Code