@damper/cli 0.3.1 → 0.3.2

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.
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { startCommand } from './commands/start.js';
4
4
  import { statusCommand } from './commands/status.js';
5
5
  import { cleanupCommand } from './commands/cleanup.js';
6
6
  import { setupCommand } from './commands/setup.js';
7
- const VERSION = '0.3.1';
7
+ const VERSION = '0.3.2';
8
8
  function showHelp() {
9
9
  console.log(`
10
10
  ${pc.bold('@damper/cli')} - Agent orchestration for Damper tasks
@@ -93,23 +93,26 @@ export async function launchClaude(options) {
93
93
  }
94
94
  console.log(pc.dim(`Directory: ${cwd}\n`));
95
95
  // Build initial prompt
96
+ const planModeNote = yolo ? '' : `
97
+ You're in PLAN MODE. First, read TASK_CONTEXT.md and create an implementation plan.
98
+ Do NOT log anything to Damper (no add_commit, add_note) until your plan is approved.
99
+ Once approved, switch to implementation and start logging your work.
100
+ `;
96
101
  const initialPrompt = [
97
102
  `I'm working on task #${taskId}: ${taskTitle}`,
98
- '',
103
+ planModeNote,
99
104
  'Please read TASK_CONTEXT.md for full context, critical rules, and the implementation plan.',
100
105
  '',
101
- 'Task workflow:',
106
+ 'Task workflow (after plan approval):',
102
107
  '1. Use `add_commit` after each git commit',
103
108
  '2. Use `add_note` for important decisions',
104
109
  '3. Call `complete_task` when done or `abandon_task` if stopping early',
105
110
  '',
106
- 'About this session: You were launched by @damper/cli (npm package).',
107
- 'The CLI created this worktree, bootstrapped TASK_CONTEXT.md, and started you with Damper MCP configured.',
111
+ 'About this session: You were launched by @damper/cli.',
112
+ 'The CLI created this worktree, bootstrapped TASK_CONTEXT.md, and configured Damper MCP.',
108
113
  '',
109
- 'Self-improvement: As you work, reflect on this workflow:',
110
- '- If you encounter friction, bugs, or missing features in the CLI or MCP tools, use `report_issue` to log them',
111
- '- Ideas to improve: task context format, worktree setup, MCP tools, agent prompts - all welcome as feature_request',
112
- '- Your feedback directly improves the tooling for future tasks',
114
+ 'Self-improvement: If you encounter friction, bugs, or have ideas to improve the CLI/workflow,',
115
+ 'use `report_issue` to log them. Your feedback improves tooling for all future tasks.',
113
116
  ].join('\n');
114
117
  // Build Claude args
115
118
  const claudeArgs = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damper/cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "CLI tool for orchestrating Damper task workflows with Claude Code",
5
5
  "author": "Damper <hello@usedamper.com>",
6
6
  "repository": {