devs-common 2.0.4__tar.gz → 2.0.6__tar.gz
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.
- {devs_common-2.0.4 → devs_common-2.0.6}/PKG-INFO +1 -1
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/core/container.py +5 -4
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/Dockerfile +1 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/devcontainer.json +3 -2
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common.egg-info/PKG-INFO +1 -1
- {devs_common-2.0.4 → devs_common-2.0.6}/pyproject.toml +1 -1
- {devs_common-2.0.4 → devs_common-2.0.6}/LICENSE +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/README.md +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/__init__.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/config.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/core/__init__.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/core/project.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/core/workspace.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/devs_config.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/exceptions.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/copy-ssh.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/post-create-wrapper.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/python-venv-integration.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/screenshot-webapp.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/setup-workspace.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/start-tunnel.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/tunnel-status.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/webapp-screenshot.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/init-firewall.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/setup-devs-env.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/setup-vscode-cache.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/start-services.sh +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/vscode-settings-reference.md +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/__init__.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/config_hash.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/console.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/devcontainer.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/devcontainer_template.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/docker_client.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/file_utils.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common/utils/git_utils.py +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common.egg-info/SOURCES.txt +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common.egg-info/dependency_links.txt +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common.egg-info/requires.txt +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/devs_common.egg-info/top_level.txt +0 -0
- {devs_common-2.0.4 → devs_common-2.0.6}/setup.cfg +0 -0
|
@@ -844,8 +844,9 @@ class ContainerManager:
|
|
|
844
844
|
def tunnel_auth(self, dev_name: str, workspace_dir: Path, debug: bool = False, live: bool = False, extra_env: Optional[Dict[str, str]] = None) -> None:
|
|
845
845
|
"""Authenticate VS Code tunnel (interactive, one-time setup).
|
|
846
846
|
|
|
847
|
-
Runs the device code flow interactively. Auth is
|
|
848
|
-
|
|
847
|
+
Runs the device code flow interactively inside the container. Auth is
|
|
848
|
+
stored in a bind-mounted directory (~/.devs/vscode-cli/) so it persists
|
|
849
|
+
across container recreations and is shared across all containers.
|
|
849
850
|
|
|
850
851
|
Args:
|
|
851
852
|
dev_name: Development environment name
|
|
@@ -864,7 +865,7 @@ class ContainerManager:
|
|
|
864
865
|
|
|
865
866
|
tunnel_name = self._get_tunnel_name(dev_name)
|
|
866
867
|
|
|
867
|
-
console.print("
|
|
868
|
+
console.print("🔐 Setting up VS Code tunnel authentication...")
|
|
868
869
|
console.print(f" Container: {container_name}")
|
|
869
870
|
console.print("")
|
|
870
871
|
console.print("[yellow]Follow the prompts to authenticate:[/yellow]")
|
|
@@ -935,7 +936,7 @@ class ContainerManager:
|
|
|
935
936
|
'docker', 'exec', '-d',
|
|
936
937
|
container_name,
|
|
937
938
|
'/bin/sh', '-c',
|
|
938
|
-
f'{tunnel_cmd} > {log_file} 2>&1'
|
|
939
|
+
f'VSCODE_CLI_DATA_DIR=/home/node/.vscode/cli {tunnel_cmd} > {log_file} 2>&1'
|
|
939
940
|
]
|
|
940
941
|
|
|
941
942
|
if debug:
|
|
@@ -139,6 +139,7 @@ RUN ARCH=$(dpkg --print-architecture) && \
|
|
|
139
139
|
RUN for shell_rc in /home/node/.zshrc /home/node/.bashrc; do \
|
|
140
140
|
echo "export CLAUDE_CONFIG_DIR=\"/home/node/claudeconfig\"" >> "$shell_rc" && \
|
|
141
141
|
echo "export CODEX_CONFIG_HOME=\"/home/node/codexconfig\"" >> "$shell_rc" && \
|
|
142
|
+
echo "export VSCODE_CLI_DATA_DIR=\"/home/node/.vscode/cli\"" >> "$shell_rc" && \
|
|
142
143
|
echo "alias claude=\"/usr/local/share/npm-global/bin/claude --dangerously-skip-permissions\"" >> "$shell_rc" && \
|
|
143
144
|
echo "alias codex=\"/usr/local/share/npm-global/bin/codex --full-auto\"" >> "$shell_rc" && \
|
|
144
145
|
echo "" >> "$shell_rc" && \
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
// .vscode-server includes extension state which we don't want to keep
|
|
85
85
|
// "source=${localEnv:WORKSPACE_FOLDER_NAME}-vscode-data,target=/home/node/.vscode-server,type=volume",
|
|
86
86
|
"source=${localEnv:WORKSPACE_FOLDER_NAME}-vscode-downloads,target=/home/node/.vscode-extensions-cache-volume,type=volume",
|
|
87
|
-
"source
|
|
87
|
+
"source=${localEnv:HOME}/.devs/vscode-cli,target=/home/node/.vscode/cli,type=bind"
|
|
88
88
|
],
|
|
89
89
|
"remoteEnv": {
|
|
90
90
|
"NODE_OPTIONS": "--max-old-space-size=4096",
|
|
@@ -96,7 +96,8 @@
|
|
|
96
96
|
"DEVS_DEBUG": "${localEnv:DEVS_DEBUG}",
|
|
97
97
|
"DEVS_LIVE_MODE": "${localEnv:DEVS_LIVE_MODE}",
|
|
98
98
|
"DEVS_ENV_MOUNT_PATH": "${localEnv:DEVS_ENV_MOUNT_PATH}",
|
|
99
|
-
"DEVS_BRIDGE_MOUNT_PATH": "${localEnv:DEVS_BRIDGE_MOUNT_PATH}"
|
|
99
|
+
"DEVS_BRIDGE_MOUNT_PATH": "${localEnv:DEVS_BRIDGE_MOUNT_PATH}",
|
|
100
|
+
"VSCODE_CLI_DATA_DIR": "/home/node/.vscode/cli"
|
|
100
101
|
},
|
|
101
102
|
"workspaceFolder": "/workspaces/${localEnv:WORKSPACE_FOLDER_NAME}",
|
|
102
103
|
"postCreateCommand": "/usr/local/bin/post-create-wrapper.sh",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/post-create-wrapper.sh
RENAMED
|
File without changes
|
{devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/scripts/python-venv-integration.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/setup-devs-env.sh
RENAMED
|
File without changes
|
{devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/setup-vscode-cache.sh
RENAMED
|
File without changes
|
{devs_common-2.0.4 → devs_common-2.0.6}/devs_common/templates/sudo-scripts/start-services.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|