Skip to content

feat(server): automatically activate Python virtual environments - #6

Merged
asfires merged 2 commits into
mainfrom
t3code/auto-activate-python-venv
Aug 10, 2026
Merged

asfires merged 2 commits into
mainfrom
t3code/auto-activate-python-venv

Conversation

@asfires

@asfires asfires commented Aug 10, 2026

Copy link
Copy Markdown
Owner

What Changed

  • Detects project-local Python virtual environments, including .venv, venv, and uniquely identified non-standard environments.
  • Activates the environment automatically for terminal sessions across supported shells and platforms.
  • Filters activation bootstrap output and reports concise warnings when activation fails or does not complete.
  • Documents terminal virtual environment behavior and worktree handling.
  • Adds focused terminal manager coverage for discovery, activation, failures, buffering, and non-Python projects.

Why

Python projects should use their configured virtual environment automatically when opened in T3 Code terminals. This keeps terminal behavior aligned with the project while avoiding incorrect guesses when multiple environments are present.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 10, 2026
@asfires
asfires merged commit 543192d into main Aug 10, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant