Repository navigation
Conversation
…output - Add --open ssh: waits for container to appear on tailnet (polls up to 60s), then prints connection commands for ssh, Cursor, and VS Code - Extract read_workspace_folder() helper from open_editor() - Add wait_for_tailscale() that discovers the container via local tailscale status --json, matching devcontainer.json name field - Refactor main() to use case/esac for cleaner mode dispatch - Add BATS tests for --open ssh and new function definitions Refs: #231
Default --open mode is now 'auto' instead of hardcoding 'cursor'. Detection chain: TERM_PROGRAM env var → CLI availability → ssh fallback. Terminal apps (WezTerm, iTerm, tmux) resolve directly to ssh mode. Refs: #231 Co-Authored-By: Claude Opus 4.6 <[email protected]>
The PR title check was false-positiving on legitimate references to .cursor/, .claude/ directories and CLAUDE.md. Add allow_patterns to agent-blocklist.toml that strip path-like occurrences before matching. Co-Authored-By: Claude Opus 4.6 <[email protected]> Refs: #231
gerchowl
merged commit Mar 7, 2026
9930815
into
feature/230-tailscale-key-injection
1 of 2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
--open sshmode todevc-remote.shthat decouples the script from any specific IDE. After compose up, it polls the local tailnet for the container, then prints connection commands for any client.What changed
--open ssh: waits up to 60s for the container to appear on the tailnet, then outputs:read_workspace_folder(): extracted fromopen_editor(), reused by both devcontainer-protocol and SSH modeswait_for_tailscale(): pollstailscale status --jsonlocally, matches container bydevcontainer.jsonname fieldmain()refactored: cleancase/esacdispatch for cursr/code/ssh/none--openmodes summarycursr(default)codesshnoneTest plan
--open sshskips editor detection--open invalidrejects with updated error messagewait_for_tailscaleandread_workspace_folderdefinedPart of
Epic: #232
Closes: #231
Stacked on: #233 (Tailscale key injection)