Skip to content

Add 'Open in VS Code' button for session worktrees#11

Merged
dhilgaertner merged 1 commit intomainfrom
feature/rm-ai-ide-6-vscode-open-button
Apr 2, 2026
Merged

Add 'Open in VS Code' button for session worktrees#11
dhilgaertner merged 1 commit intomainfrom
feature/rm-ai-ide-6-vscode-open-button

Conversation

@dhilgaertner
Copy link
Copy Markdown
Contributor

@dhilgaertner dhilgaertner commented Apr 2, 2026

Summary

  • Detects code CLI availability at app launch and caches the result
  • Adds an "Open in VS Code" button in session header (Row 3) next to "Mark as Completed"
  • Button only visible when code CLI is found and session has a primary worktree
  • Opens the primary worktree directory in VS Code via a background Process

Closes #6

Test plan

  • With code CLI installed: verify button appears for sessions with worktrees
  • Without code CLI: verify button is hidden
  • Click button: VS Code opens to the worktree directory
  • Manager session: verify button is hidden (no worktree)
  • Verify clicking the button does not freeze the UI

🤖 Generated with Claude Code

Detect the `code` CLI at app launch and show an "Open in VS Code" button
in the session header when available. Clicking it opens the session's
primary worktree directory in VS Code via a background process.

Closes #6

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dhilgaertner dhilgaertner force-pushed the feature/rm-ai-ide-6-vscode-open-button branch from ef94a1c to 5ac8dd1 Compare April 2, 2026 17:42
@dhilgaertner dhilgaertner merged commit 0470a95 into main Apr 2, 2026
@dhilgaertner dhilgaertner deleted the feature/rm-ai-ide-6-vscode-open-button branch April 2, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'Open in VS Code' button for session worktrees

1 participant