Skip to content

Conversation

@jonathanlab
Copy link
Contributor

Summary

  • Fixed issue where duplicating a task didn't copy the working directory configuration
  • Updated useDuplicateTask hook to copy repoPath from original task to duplicated task

Changes

  • Modified src/renderer/hooks/useTasks.ts to add onSuccess callback that copies working directory state
  • Applied linter formatting to vite.main.config.mts

Test plan

  • Duplicate a task that has a working directory configured
  • Verify the duplicated task inherits the working directory
  • Run the duplicated task to confirm it uses the correct working directory

🤖 Generated with Claude Code

jonathanlab and others added 3 commits October 21, 2025 19:32
- Update useDuplicateTask to copy repoPath from original task to new task
- Ensures duplicated tasks inherit the working directory configuration
- Apply linter formatting to vite.main.config.mts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@jonathanlab jonathanlab requested a review from a team October 21, 2025 17:44
@jonathanlab jonathanlab merged commit 0a95dad into main Oct 21, 2025
5 checks passed
@jonathanlab jonathanlab deleted the fix/duplicate-task-working-dir branch October 21, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants