@damper/cli 0.6.8 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -159,7 +159,7 @@ export async function createWorktree(options) {
|
|
|
159
159
|
const slug = slugify(taskTitle);
|
|
160
160
|
// Put worktrees in .worktrees folder inside the project
|
|
161
161
|
const worktreesDir = path.join(projectRoot, '.worktrees');
|
|
162
|
-
const worktreePath = path.join(worktreesDir, shortTaskId);
|
|
162
|
+
const worktreePath = path.join(worktreesDir, `${shortTaskId}-${slug}`);
|
|
163
163
|
const branchName = `feature/${slug}`;
|
|
164
164
|
// Ensure .worktrees is gitignored
|
|
165
165
|
const gitignorePath = path.join(projectRoot, '.gitignore');
|
package/dist/ui/task-picker.js
CHANGED
|
@@ -55,6 +55,7 @@ export async function pickTask(options) {
|
|
|
55
55
|
status: statusFilter || 'all',
|
|
56
56
|
type: typeFilter,
|
|
57
57
|
sort: 'importance',
|
|
58
|
+
limit: 100,
|
|
58
59
|
});
|
|
59
60
|
// Filter out completed tasks unless specifically requested
|
|
60
61
|
const availableTasks = tasks.filter(t => statusFilter === 'done' || statusFilter === 'all' ||
|
|
@@ -90,7 +91,7 @@ export async function pickTask(options) {
|
|
|
90
91
|
lockedBy: taskAny.lockedBy,
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
|
-
else if (task.status === 'planned') {
|
|
94
|
+
else if (task.status === 'planned' || task.status === 'in_progress') {
|
|
94
95
|
availableChoices.push({ type: 'available', task });
|
|
95
96
|
}
|
|
96
97
|
}
|