From 37ed3195628bad6a3110a133c1854f00b1fcbc38 Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Sat, 18 Apr 2026 01:48:05 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20update=20workspace=20script=20comments?= =?UTF-8?q?=20for=20workspace-template=20=E2=86=92=20workspace=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- workspace/build-all.sh | 4 ++-- workspace/entrypoint.sh | 2 +- workspace/rebuild-runtime-images.sh | 8 ++++---- workspace/scripts/molecule-git-token-helper.sh | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/workspace/build-all.sh b/workspace/build-all.sh index 1d271d8c..3ef07486 100755 --- a/workspace/build-all.sh +++ b/workspace/build-all.sh @@ -4,12 +4,12 @@ # NOTE: Adapters have been extracted to standalone template repos: # https://github.com/Molecule-AI/molecule-ai-workspace-template- # -# This script now only builds the base image from workspace-template/Dockerfile. +# This script now only builds the base image from workspace/Dockerfile. # Each adapter repo has its own Dockerfile that installs molecule-ai-workspace-runtime # from PyPI and the adapter-specific deps. # # Usage: -# bash workspace-template/build-all.sh # Build base image only +# bash workspace/build-all.sh # Build base image only # # Standalone adapter repos still reference the legacy base image for local dev # (e.g. FROM workspace-template:base). To build those locally, clone the adapter diff --git a/workspace/entrypoint.sh b/workspace/entrypoint.sh index e5dce4fb..2c257a28 100644 --- a/workspace/entrypoint.sh +++ b/workspace/entrypoint.sh @@ -6,7 +6,7 @@ # logs `--dangerously-skip-permissions cannot be used with root/sudo # privileges for security reasons`. # -# Pattern matches the legacy monorepo workspace-template/entrypoint.sh: +# Pattern matches the legacy monorepo workspace/entrypoint.sh: # fix volume ownership as root, then re-exec via gosu as agent (uid 1000). if [ "$(id -u)" = "0" ]; then diff --git a/workspace/rebuild-runtime-images.sh b/workspace/rebuild-runtime-images.sh index c98950d8..64e55b1d 100755 --- a/workspace/rebuild-runtime-images.sh +++ b/workspace/rebuild-runtime-images.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash # rebuild-runtime-images.sh — Rebuild all 6 workspace runtime Docker images. # -# Run this script from the repo root (or from workspace-template/) after any -# change to workspace-template/Dockerfile, entrypoint.sh, or the git credential +# Run this script from the repo root (or from workspace/) after any +# change to workspace/Dockerfile, entrypoint.sh, or the git credential # helper scripts. Also run after PR #640 merged. # # What this does: @@ -24,10 +24,10 @@ # Prerequisites: docker, git, gh (authenticated) # # Usage (from repo root): -# bash workspace-template/rebuild-runtime-images.sh +# bash workspace/rebuild-runtime-images.sh # # To rebuild a single runtime: -# bash workspace-template/rebuild-runtime-images.sh claude-code +# bash workspace/rebuild-runtime-images.sh claude-code # set -euo pipefail diff --git a/workspace/scripts/molecule-git-token-helper.sh b/workspace/scripts/molecule-git-token-helper.sh index d9523fda..e2a519a4 100755 --- a/workspace/scripts/molecule-git-token-helper.sh +++ b/workspace/scripts/molecule-git-token-helper.sh @@ -10,7 +10,7 @@ # # git config --global \ # "credential.https://github.com.helper" \ -# "!/workspace-template/scripts/molecule-git-token-helper.sh" +# "!/workspace/scripts/molecule-git-token-helper.sh" # # # How git calls this helper # @@ -43,7 +43,7 @@ # # To also fix `gh` CLI auth, run this from a workspace cron prompt: # -# token=$(bash /workspace-template/scripts/molecule-git-token-helper.sh _fetch_token) +# token=$(bash /workspace/scripts/molecule-git-token-helper.sh _fetch_token) # echo "$token" | gh auth login --with-token # # (The _fetch_token private action returns only the raw token string.)