@vibescope/mcp-server 0.5.1 → 0.5.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.
@@ -489,7 +489,9 @@ export const startWorkSession = async (args, ctx) => {
489
489
  result.next_action = data.next_action || `claim_validation(task_id: "${data.awaiting_validation[0].id}")`;
490
490
  }
491
491
  else if (data.next_task) {
492
- result.next_action = `update_task(task_id: "${data.next_task.id}", status: "in_progress", session_id: "${result.session_id}")`;
492
+ // Task is auto-claimed by the server when session_id is provided to get_next_task
493
+ // Agent should proceed directly to worktree setup
494
+ result.next_action = `Create worktree: git worktree add ../worktree-${data.next_task.id.substring(0, 8)} -b feature/${data.next_task.id.substring(0, 8)}-task develop, then cd into it and update_task(task_id: "${data.next_task.id}", git_branch: "feature/${data.next_task.id.substring(0, 8)}-task")`;
493
495
  }
494
496
  else if (data.project) {
495
497
  result.next_action = data.project.fallback_activities_enabled !== false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibescope/mcp-server",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "MCP server for Vibescope - AI project tracking tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -563,7 +563,9 @@ export const startWorkSession: Handler = async (args, ctx) => {
563
563
  // Validation tasks take priority over new work - use next_action from API if available
564
564
  result.next_action = data.next_action || `claim_validation(task_id: "${data.awaiting_validation[0].id}")`;
565
565
  } else if (data.next_task) {
566
- result.next_action = `update_task(task_id: "${data.next_task.id}", status: "in_progress", session_id: "${result.session_id}")`;
566
+ // Task is auto-claimed by the server when session_id is provided to get_next_task
567
+ // Agent should proceed directly to worktree setup
568
+ result.next_action = `Create worktree: git worktree add ../worktree-${data.next_task.id.substring(0, 8)} -b feature/${data.next_task.id.substring(0, 8)}-task develop, then cd into it and update_task(task_id: "${data.next_task.id}", git_branch: "feature/${data.next_task.id.substring(0, 8)}-task")`;
567
569
  } else if (data.project) {
568
570
  result.next_action = data.project.fallback_activities_enabled !== false
569
571
  ? `start_fallback_activity(project_id: "${data.project.id}", activity: "code_review")`