feat(scripts): devc_remote_uri.py — Cursor URI construction for remote devcontainers (#153)#155
Merged
gerchowl merged 8 commits intofeature/70-remote-devc-orchestrationfrom Feb 23, 2026
Conversation
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
Refs: #153 Co-authored-by: Cursor <cursoragent@cursor.com>
d863bf3
into
feature/70-remote-devc-orchestration
1 check 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.
Description
Adds
scripts/devc_remote_uri.py— a standalone Python module/CLI that builds the Cursor/VS Code nested authority URI for remote devcontainers. Part of #70. Opening Cursor/VS Code into a remote devcontainer requires constructing avscode-remote://URI with hex-encoded JSON specs; Python handles this cleanly with stdlib only.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
hex_encode(),build_uri(), CLI with argparseChangelog Entry
Added
hex_encode()andbuild_uri()for vscode-remote URIsdevc_remote_uri.py <workspace_path> <ssh_host> <container_workspace>prints URI to stdoutTesting
just test)Manual Testing Details
N/A —
uv run pytest tests/test_devc_remote_uri.py -vpasses (11 tests).just lintpasses.Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Design and implementation plan posted on issue #153. Sub-issue of #70 (remote devcontainer orchestration).
Refs: #153