@damper/cli 0.9.7 → 0.9.8

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.
@@ -293,6 +293,9 @@ async function handleCreateNewTask(api) {
293
293
  message: 'What needs to be done?',
294
294
  validate: (value) => value.trim().length > 0 || 'Instructions are required',
295
295
  });
296
+ const details = await input({
297
+ message: 'Additional details (optional, press Enter to skip):',
298
+ });
296
299
  const type = await select({
297
300
  message: 'Task type:',
298
301
  choices: [
@@ -303,9 +306,11 @@ async function handleCreateNewTask(api) {
303
306
  ],
304
307
  });
305
308
  const trimmed = instructions.trim();
309
+ const trimmedDetails = details.trim();
310
+ const fullInput = trimmedDetails ? `${trimmed}\n\n${trimmedDetails}` : trimmed;
306
311
  // Generate title with Claude, fall back to truncation
307
312
  console.log(pc.dim('\nGenerating title...'));
308
- const generatedTitle = await generateTaskTitle(trimmed, type);
313
+ const generatedTitle = await generateTaskTitle(fullInput, type);
309
314
  let title;
310
315
  if (generatedTitle) {
311
316
  title = generatedTitle;
@@ -317,7 +322,7 @@ async function handleCreateNewTask(api) {
317
322
  : trimmed.slice(0, trimmed.lastIndexOf(' ', maxTitleLen) || maxTitleLen) + '…';
318
323
  }
319
324
  console.log(pc.dim('Creating task in Damper...'));
320
- const task = await api.createTask(title, type, trimmed);
325
+ const task = await api.createTask(title, type, fullInput);
321
326
  console.log(pc.green(`✓ Created task #${shortIdRaw(task.id)}: ${task.title}`));
322
327
  return {
323
328
  task,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damper/cli",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "CLI tool for orchestrating Damper task workflows with Claude Code",
5
5
  "author": "Damper <hello@usedamper.com>",
6
6
  "repository": {