@damper/cli 0.6.0 → 0.6.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 CHANGED
@@ -5,7 +5,7 @@ import { statusCommand } from './commands/status.js';
5
5
  import { cleanupCommand } from './commands/cleanup.js';
6
6
  import { setupCommand } from './commands/setup.js';
7
7
  import { releaseCommand } from './commands/release.js';
8
- const VERSION = '0.6.0';
8
+ const VERSION = '0.6.1';
9
9
  function showHelp() {
10
10
  console.log(`
11
11
  ${pc.bold('@damper/cli')} - Agent orchestration for Damper tasks
@@ -268,6 +268,54 @@ export async function createWorktree(options) {
268
268
  };
269
269
  fs.writeFileSync(path.join(worktreePath, '.mcp.json'), JSON.stringify(mcpConfig, null, 2));
270
270
  console.log(pc.dim('Created .mcp.json with Damper MCP'));
271
+ // Create .claude/settings.local.json with permissions for Damper MCP tools
272
+ const claudeDir = path.join(worktreePath, '.claude');
273
+ if (!fs.existsSync(claudeDir)) {
274
+ fs.mkdirSync(claudeDir, { recursive: true });
275
+ }
276
+ const claudeSettings = {
277
+ permissions: {
278
+ allow: [
279
+ 'mcp__damper__list_tasks',
280
+ 'mcp__damper__get_task',
281
+ 'mcp__damper__update_task',
282
+ 'mcp__damper__create_task',
283
+ 'mcp__damper__start_task',
284
+ 'mcp__damper__add_note',
285
+ 'mcp__damper__add_commit',
286
+ 'mcp__damper__create_subtask',
287
+ 'mcp__damper__update_subtask',
288
+ 'mcp__damper__complete_task',
289
+ 'mcp__damper__abandon_task',
290
+ 'mcp__damper__get_agent_instructions',
291
+ 'mcp__damper__list_context_sections',
292
+ 'mcp__damper__get_context_section',
293
+ 'mcp__damper__update_context_section',
294
+ 'mcp__damper__delete_context_section',
295
+ 'mcp__damper__sync_project_context',
296
+ 'mcp__damper__get_project_context',
297
+ 'mcp__damper__list_feedback',
298
+ 'mcp__damper__get_feedback',
299
+ 'mcp__damper__report_issue',
300
+ 'mcp__damper__list_templates',
301
+ 'mcp__damper__get_template',
302
+ 'mcp__damper__update_template',
303
+ 'mcp__damper__sync_templates',
304
+ 'mcp__damper__list_modules',
305
+ 'mcp__damper__get_module',
306
+ 'mcp__damper__update_module',
307
+ 'mcp__damper__sync_modules',
308
+ 'mcp__damper__link_feedback_to_task',
309
+ 'mcp__damper__list_changelogs',
310
+ 'mcp__damper__create_changelog',
311
+ 'mcp__damper__update_changelog',
312
+ 'mcp__damper__add_to_changelog',
313
+ 'mcp__damper__publish_changelog',
314
+ ],
315
+ },
316
+ };
317
+ fs.writeFileSync(path.join(claudeDir, 'settings.local.json'), JSON.stringify(claudeSettings, null, 2));
318
+ console.log(pc.dim('Created .claude/settings.local.json with MCP permissions'));
271
319
  // Save to state
272
320
  const worktreeState = {
273
321
  taskId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damper/cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "CLI tool for orchestrating Damper task workflows with Claude Code",
5
5
  "author": "Damper <hello@usedamper.com>",
6
6
  "repository": {