@damper/cli 0.2.0 → 0.2.1
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 +3 -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.2.
|
|
7
|
+
const VERSION = '0.2.1';
|
|
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
|
@@ -97,11 +97,11 @@ export async function launchClaude(options) {
|
|
|
97
97
|
'2. Use `add_note` for important decisions',
|
|
98
98
|
'3. Call `complete_task` when done or `abandon_task` if stopping early',
|
|
99
99
|
].join('\n');
|
|
100
|
-
// Launch Claude Code
|
|
101
|
-
//
|
|
100
|
+
// Launch Claude Code in interactive mode
|
|
101
|
+
// Pass the prompt as an argument (not --print which is non-interactive)
|
|
102
102
|
// Pass API key so MCP server gets it
|
|
103
103
|
try {
|
|
104
|
-
await execa('claude', [
|
|
104
|
+
await execa('claude', [initialPrompt], {
|
|
105
105
|
cwd,
|
|
106
106
|
stdio: 'inherit',
|
|
107
107
|
env: {
|