@damper/cli 0.3.4 → 0.3.5
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 +1 -1
- package/dist/services/claude.js +19 -3
- package/package.json +1 -1
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.
|
|
7
|
+
const VERSION = '0.3.5';
|
|
8
8
|
function showHelp() {
|
|
9
9
|
console.log(`
|
|
10
10
|
${pc.bold('@damper/cli')} - Agent orchestration for Damper tasks
|
package/dist/services/claude.js
CHANGED
|
@@ -85,13 +85,29 @@ export function configureDamperMcp() {
|
|
|
85
85
|
export async function launchClaude(options) {
|
|
86
86
|
const { cwd, taskId, taskTitle, apiKey, yolo } = options;
|
|
87
87
|
console.log(pc.green(`\nStarting Claude Code for task #${taskId}: ${taskTitle}`));
|
|
88
|
+
console.log(pc.dim(`Directory: ${cwd}`));
|
|
89
|
+
console.log();
|
|
90
|
+
// Show workflow explanation
|
|
91
|
+
console.log(pc.bold('Workflow:'));
|
|
92
|
+
console.log(pc.dim(' 1. Claude reads TASK_CONTEXT.md and creates a plan'));
|
|
93
|
+
if (!yolo) {
|
|
94
|
+
console.log(pc.dim(' 2. You approve the plan before Claude makes changes'));
|
|
95
|
+
}
|
|
96
|
+
console.log(pc.dim(` ${yolo ? '2' : '3'}. Claude implements the task, logging progress to Damper`));
|
|
97
|
+
console.log(pc.dim(` ${yolo ? '3' : '4'}. Claude calls complete_task (or abandon_task) when done`));
|
|
98
|
+
console.log();
|
|
99
|
+
console.log(pc.bold('When finished:'));
|
|
100
|
+
console.log(pc.dim(' • Push your branch and create a PR if needed'));
|
|
101
|
+
console.log(pc.dim(' • Run: npx @damper/cli cleanup'));
|
|
102
|
+
console.log(pc.dim(' (removes worktree and branch)'));
|
|
103
|
+
console.log();
|
|
88
104
|
if (yolo) {
|
|
89
|
-
console.log(pc.yellow('Mode: YOLO (accepting edits
|
|
105
|
+
console.log(pc.yellow('Mode: YOLO (auto-accepting edits)'));
|
|
90
106
|
}
|
|
91
107
|
else {
|
|
92
|
-
console.log(pc.
|
|
108
|
+
console.log(pc.cyan('Mode: Plan (will ask for approval)'));
|
|
93
109
|
}
|
|
94
|
-
console.log(
|
|
110
|
+
console.log();
|
|
95
111
|
// Build initial prompt
|
|
96
112
|
const planModeNote = yolo ? '' : `
|
|
97
113
|
You're in PLAN MODE. First, read TASK_CONTEXT.md and create an implementation plan.
|