From 74cde8aeffd0eab3e2c59fc977ce23de8e9d107a Mon Sep 17 00:00:00 2001 From: skulidropek <66840575+skulidropek@users.noreply.github.com> Date: Tue, 24 Mar 2026 17:47:08 +0000 Subject: [PATCH 1/5] chore: bump version to trigger release --- .changeset/bump-version.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/bump-version.md diff --git a/.changeset/bump-version.md b/.changeset/bump-version.md new file mode 100644 index 00000000..654ac7b0 --- /dev/null +++ b/.changeset/bump-version.md @@ -0,0 +1,6 @@ +--- +"@prover-coder-ai/docker-git": patch +"@spawn-dock/cli": patch +--- + +chore: automated bump to trigger release using new NPM_KEY From f89e2af8eb6fdf5777afae6d541931b3469a7d16 Mon Sep 17 00:00:00 2001 From: skulidropek <66840575+skulidropek@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:01:56 +0000 Subject: [PATCH 2/5] feat(cli): rename app to @spawn-dock/cli and spawndock-cli to @spawn-dock/runtime --- .github/workflows/release.yml | 6 +++--- package.json | 10 +++++----- packages/app/package.json | 6 +++--- .../{spawndock-cli => spawndock-runtime}/CHANGELOG.md | 0 .../{spawndock-cli => spawndock-runtime}/README.md | 0 .../{spawndock-cli => spawndock-runtime}/package.json | 6 +++--- .../src/agent-run.ts | 0 .../{spawndock-cli => spawndock-runtime}/src/core.ts | 0 .../{spawndock-cli => spawndock-runtime}/src/main.ts | 0 .../{spawndock-cli => spawndock-runtime}/src/ports.ts | 0 .../tests/core.test.ts | 0 .../tsconfig.build.json | 0 .../{spawndock-cli => spawndock-runtime}/tsconfig.json | 0 pnpm-workspace.yaml | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) rename packages/{spawndock-cli => spawndock-runtime}/CHANGELOG.md (100%) rename packages/{spawndock-cli => spawndock-runtime}/README.md (100%) rename packages/{spawndock-cli => spawndock-runtime}/package.json (90%) rename packages/{spawndock-cli => spawndock-runtime}/src/agent-run.ts (100%) rename packages/{spawndock-cli => spawndock-runtime}/src/core.ts (100%) rename packages/{spawndock-cli => spawndock-runtime}/src/main.ts (100%) rename packages/{spawndock-cli => spawndock-runtime}/src/ports.ts (100%) rename packages/{spawndock-cli => spawndock-runtime}/tests/core.test.ts (100%) rename packages/{spawndock-cli => spawndock-runtime}/tsconfig.build.json (100%) rename packages/{spawndock-cli => spawndock-runtime}/tsconfig.json (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08b30f33..649de715 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: skip_if_unchanged: true cancel_on_no_changes: true - release-spawndock-cli: + release-spawndock-runtime: if: github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest steps: @@ -41,8 +41,8 @@ jobs: npm_token: ${{ secrets.NPM_KEY }} ref: ${{ github.event.workflow_run.head_sha }} branch: ${{ github.event.workflow_run.head_branch }} - package_json_path: packages/spawndock-cli/package.json - pnpm_filter: ./packages/spawndock-cli + package_json_path: packages/spawndock-runtime/package.json + pnpm_filter: ./packages/spawndock-runtime bump_type: patch publish_npm: true publish_github_packages: true diff --git a/package.json b/package.json index 9fa13ef9..6d1c9682 100644 --- a/package.json +++ b/package.json @@ -8,17 +8,17 @@ "packages/api", "packages/app", "packages/lib", - "packages/spawndock-cli" + "packages/spawndock-runtime" ], "scripts": { "setup:pre-commit-hook": "node scripts/setup-pre-commit-hook.js", - "build": "pnpm --filter ./packages/app build && pnpm --filter ./packages/spawndock-cli build", + "build": "pnpm --filter ./packages/app build && pnpm --filter ./packages/spawndock-runtime build", "api:build": "pnpm --filter ./packages/api build", "api:start": "pnpm --filter ./packages/api start", "api:dev": "pnpm --filter ./packages/api dev", "api:test": "pnpm --filter ./packages/api test", "api:typecheck": "pnpm --filter ./packages/api typecheck", - "check": "pnpm --filter ./packages/app check && pnpm --filter ./packages/lib typecheck && pnpm --filter ./packages/spawndock-cli typecheck", + "check": "pnpm --filter ./packages/app check && pnpm --filter ./packages/lib typecheck && pnpm --filter ./packages/spawndock-runtime typecheck", "changeset": "changeset", "changeset-publish": "node -e \"if (!process.env.NPM_KEY) { console.log('Skipping publish: NPM_KEY is not set'); process.exit(0); }\" && changeset publish", "changeset-version": "changeset version", @@ -34,8 +34,8 @@ "lint": "pnpm --filter ./packages/app lint && pnpm --filter ./packages/lib lint", "lint:tests": "pnpm --filter ./packages/app lint:tests", "lint:effect": "pnpm --filter ./packages/app lint:effect && pnpm --filter ./packages/lib lint:effect", - "test": "pnpm --filter ./packages/app test && pnpm --filter ./packages/lib test && pnpm --filter ./packages/spawndock-cli test", - "typecheck": "pnpm --filter ./packages/app typecheck && pnpm --filter ./packages/lib typecheck && pnpm --filter ./packages/spawndock-cli typecheck", + "test": "pnpm --filter ./packages/app test && pnpm --filter ./packages/lib test && pnpm --filter ./packages/spawndock-runtime test", + "typecheck": "pnpm --filter ./packages/app typecheck && pnpm --filter ./packages/lib typecheck && pnpm --filter ./packages/spawndock-runtime typecheck", "start": "pnpm --filter ./packages/app start" }, "devDependencies": { diff --git a/packages/app/package.json b/packages/app/package.json index fb3237a5..3b4d93a6 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,10 +1,10 @@ { - "name": "@prover-coder-ai/docker-git", - "version": "1.0.68", + "name": "@spawn-dock/cli", + "version": "1.0.69", "description": "Minimal Vite-powered TypeScript console starter using Effect", "main": "dist/src/docker-git/main.js", "bin": { - "docker-git": "dist/src/docker-git/main.js" + "spawn-dock": "dist/src/docker-git/main.js" }, "files": [ "dist" diff --git a/packages/spawndock-cli/CHANGELOG.md b/packages/spawndock-runtime/CHANGELOG.md similarity index 100% rename from packages/spawndock-cli/CHANGELOG.md rename to packages/spawndock-runtime/CHANGELOG.md diff --git a/packages/spawndock-cli/README.md b/packages/spawndock-runtime/README.md similarity index 100% rename from packages/spawndock-cli/README.md rename to packages/spawndock-runtime/README.md diff --git a/packages/spawndock-cli/package.json b/packages/spawndock-runtime/package.json similarity index 90% rename from packages/spawndock-cli/package.json rename to packages/spawndock-runtime/package.json index 8d10d0d7..2b9c318e 100644 --- a/packages/spawndock-cli/package.json +++ b/packages/spawndock-runtime/package.json @@ -1,6 +1,6 @@ { - "name": "@spawn-dock/cli", - "version": "1.0.0", + "name": "@spawn-dock/runtime", + "version": "1.0.1", "private": false, "description": "Minimal SpawnDock runtime launcher for bootstrapped TMA projects", "type": "module", @@ -10,7 +10,7 @@ "README.md" ], "bin": { - "spawn-dock": "dist/src/main.js" + "spawn-dock-runtime": "dist/src/main.js" }, "scripts": { "build": "tsc -p tsconfig.build.json && chmod +x dist/src/main.js", diff --git a/packages/spawndock-cli/src/agent-run.ts b/packages/spawndock-runtime/src/agent-run.ts similarity index 100% rename from packages/spawndock-cli/src/agent-run.ts rename to packages/spawndock-runtime/src/agent-run.ts diff --git a/packages/spawndock-cli/src/core.ts b/packages/spawndock-runtime/src/core.ts similarity index 100% rename from packages/spawndock-cli/src/core.ts rename to packages/spawndock-runtime/src/core.ts diff --git a/packages/spawndock-cli/src/main.ts b/packages/spawndock-runtime/src/main.ts similarity index 100% rename from packages/spawndock-cli/src/main.ts rename to packages/spawndock-runtime/src/main.ts diff --git a/packages/spawndock-cli/src/ports.ts b/packages/spawndock-runtime/src/ports.ts similarity index 100% rename from packages/spawndock-cli/src/ports.ts rename to packages/spawndock-runtime/src/ports.ts diff --git a/packages/spawndock-cli/tests/core.test.ts b/packages/spawndock-runtime/tests/core.test.ts similarity index 100% rename from packages/spawndock-cli/tests/core.test.ts rename to packages/spawndock-runtime/tests/core.test.ts diff --git a/packages/spawndock-cli/tsconfig.build.json b/packages/spawndock-runtime/tsconfig.build.json similarity index 100% rename from packages/spawndock-cli/tsconfig.build.json rename to packages/spawndock-runtime/tsconfig.build.json diff --git a/packages/spawndock-cli/tsconfig.json b/packages/spawndock-runtime/tsconfig.json similarity index 100% rename from packages/spawndock-cli/tsconfig.json rename to packages/spawndock-runtime/tsconfig.json diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index f9044448..08409c8f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,4 +2,4 @@ packages: - packages/api - packages/app - packages/lib - - packages/spawndock-cli + - packages/spawndock-runtime From d8b1a83efbec67f278276df3599787c4e29df63c Mon Sep 17 00:00:00 2001 From: skulidropek <66840575+skulidropek@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:11:30 +0000 Subject: [PATCH 3/5] fix(e2e): update local package cli test script and usage texts to match new spawn-dock command --- packages/app/src/docker-git/cli/usage.ts | 44 ++++++++++++------------ scripts/e2e/local-package-cli.sh | 20 +++++------ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/app/src/docker-git/cli/usage.ts b/packages/app/src/docker-git/cli/usage.ts index 755ccb41..565593a9 100644 --- a/packages/app/src/docker-git/cli/usage.ts +++ b/packages/app/src/docker-git/cli/usage.ts @@ -2,28 +2,28 @@ import { Match } from "effect" import type { ParseError } from "@effect-template/lib/core/domain" -export const usageText = `docker-git menu -docker-git spawn --token [options] -docker-git create [--repo-url ] [options] -docker-git clone [options] -docker-git open [] [options] -docker-git apply [] [options] -docker-git mcp-playwright [] [options] -docker-git attach [] [options] -docker-git panes [] [options] -docker-git scrap [] [options] -docker-git sessions [list] [] [options] -docker-git sessions kill [] [options] -docker-git sessions logs [] [options] -docker-git session-gists [list] [options] -docker-git session-gists backup [] [options] -docker-git session-gists view -docker-git session-gists download [options] -docker-git ps -docker-git apply-all [--active] -docker-git down-all -docker-git auth [options] -docker-git state [options] +export const usageText = `spawn-dock menu +spawn-dock spawn --token [options] +spawn-dock create [--repo-url ] [options] +spawn-dock clone [options] +spawn-dock open [] [options] +spawn-dock apply [] [options] +spawn-dock mcp-playwright [] [options] +spawn-dock attach [] [options] +spawn-dock panes [] [options] +spawn-dock scrap [] [options] +spawn-dock sessions [list] [] [options] +spawn-dock sessions kill [] [options] +spawn-dock sessions logs [] [options] +spawn-dock session-gists [list] [options] +spawn-dock session-gists backup [] [options] +spawn-dock session-gists view +spawn-dock session-gists download [options] +spawn-dock ps +spawn-dock apply-all [--active] +spawn-dock down-all +spawn-dock auth [options] +spawn-dock state [options] Commands: menu Interactive menu (default when no args) diff --git a/scripts/e2e/local-package-cli.sh b/scripts/e2e/local-package-cli.sh index 8b80bd01..db8ff9fb 100755 --- a/scripts/e2e/local-package-cli.sh +++ b/scripts/e2e/local-package-cli.sh @@ -10,8 +10,8 @@ ROOT="$(mktemp -d "$ROOT_BASE/local-package-cli.XXXXXX")" KEEP="${KEEP:-0}" PACK_LOG="$ROOT/npm-pack.log" -HELP_LOG_PNPM="$ROOT/docker-git-help-pnpm.log" -HELP_LOG_NPM="$ROOT/docker-git-help-npm.log" +HELP_LOG_PNPM="$ROOT/spawn-dock-help-pnpm.log" +HELP_LOG_NPM="$ROOT/spawn-dock-help-npm.log" TAR_LIST="$ROOT/tar-list.txt" PACKED_TARBALL="" @@ -28,11 +28,11 @@ on_error() { cat "$PACK_LOG" >&2 || true fi if [[ -f "$HELP_LOG_PNPM" ]]; then - echo "--- pnpm docker-git --help log ---" >&2 + echo "--- pnpm spawn-dock --help log ---" >&2 cat "$HELP_LOG_PNPM" >&2 || true fi if [[ -f "$HELP_LOG_NPM" ]]; then - echo "--- npm exec docker-git --help log ---" >&2 + echo "--- npm exec spawn-dock --help log ---" >&2 cat "$HELP_LOG_NPM" >&2 || true fi } @@ -86,18 +86,18 @@ mkdir -p "$ROOT/project" cd "$ROOT/project" npm init -y >/dev/null pnpm add "$PACKED_TARBALL" --silent --lockfile=false -pnpm docker-git --help >"$HELP_LOG_PNPM" 2>&1 +pnpm spawn-dock --help >"$HELP_LOG_PNPM" 2>&1 -grep -Fq -- "docker-git clone [options]" "$HELP_LOG_PNPM" \ - || fail "expected docker-git help output from local packed package" +grep -Fq -- "spawn-dock clone [options]" "$HELP_LOG_PNPM" \ + || fail "expected spawn-dock help output from local packed package" mkdir -p "$ROOT/project-npm" cd "$ROOT/project-npm" npm init -y >/dev/null npm install "$PACKED_TARBALL" --silent --no-audit --fund=false -npm exec -- docker-git --help >"$HELP_LOG_NPM" 2>&1 +npm exec -- spawn-dock --help >"$HELP_LOG_NPM" 2>&1 -grep -Fq -- "docker-git clone [options]" "$HELP_LOG_NPM" \ - || fail "expected docker-git help output via npm exec from local packed package" +grep -Fq -- "spawn-dock clone [options]" "$HELP_LOG_NPM" \ + || fail "expected spawn-dock help output via npm exec from local packed package" echo "e2e/local-package-cli: local tarball install + pnpm/npm CLI execution OK" >&2 From 061c990d09d1b46890d41c897cefe2b3f0296060 Mon Sep 17 00:00:00 2001 From: skulidropek <66840575+skulidropek@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:18:17 +0000 Subject: [PATCH 4/5] chore: update changeset to use new package names --- .changeset/bump-version.md | 6 ------ .changeset/rename-packages.md | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 .changeset/bump-version.md create mode 100644 .changeset/rename-packages.md diff --git a/.changeset/bump-version.md b/.changeset/bump-version.md deleted file mode 100644 index 654ac7b0..00000000 --- a/.changeset/bump-version.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@prover-coder-ai/docker-git": patch -"@spawn-dock/cli": patch ---- - -chore: automated bump to trigger release using new NPM_KEY diff --git a/.changeset/rename-packages.md b/.changeset/rename-packages.md new file mode 100644 index 00000000..b67533e3 --- /dev/null +++ b/.changeset/rename-packages.md @@ -0,0 +1,6 @@ +--- +"@spawn-dock/cli": patch +"@spawn-dock/runtime": patch +--- + +feat(cli): rename packages to spawn-dock namespace From 5a6c66455fb5334837b9964c6097836579ef5346 Mon Sep 17 00:00:00 2001 From: skulidropek <66840575+skulidropek@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:32:41 +0000 Subject: [PATCH 5/5] chore: rename ProverCoderAI and docker-git references to SpawnDock and cli --- README.md | 22 +++++++++---------- package.json | 6 ++--- packages/api/tests/schema.test.ts | 2 +- packages/app/CHANGELOG.md | 2 +- packages/app/package.json | 6 ++--- .../docker-git/menu-select-connect.test.ts | 10 ++++----- packages/lib/package.json | 6 ++--- packages/lib/tests/shell/docker-auth.test.ts | 8 +++---- packages/lib/tests/usecases/apply.test.ts | 12 +++++----- pnpm-lock.yaml | 2 +- 10 files changed, 38 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 865d94c2..b10326a5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# docker-git +# spawn-dock -`docker-git` creates a separate Docker environment for each repository, issue, or PR. -By default, projects reside in `~/.docker-git`. +`spawn-dock` creates a separate Docker environment for each repository, issue, or PR. +By default, projects reside in `~/.spawn-dock`. ## Prerequisites @@ -12,16 +12,16 @@ By default, projects reside in `~/.docker-git`. ## Installation ```bash -npm i -g @prover-coder-ai/docker-git -docker-git --help +npm i -g @spawn-dock/cli +spawn-dock --help ``` ## Authentication ```bash -docker-git auth github login --web -docker-git auth codex login --web -docker-git auth claude login --web +spawn-dock auth github login --web +spawn-dock auth codex login --web +spawn-dock auth claude login --web ``` ## Example @@ -29,7 +29,7 @@ docker-git auth claude login --web You can pass a link to a repository, branch (`/tree/...`), issue, or PR. ```bash -docker-git clone https://github.com/ProverCoderAI/docker-git/issues/122 --force --mcp-playwright +spawn-dock clone https://github.com/SpawnDock/cli/issues/122 --force --mcp-playwright ``` - `--force` recreates the environment and removes the project's volumes. @@ -38,7 +38,7 @@ docker-git clone https://github.com/ProverCoderAI/docker-git/issues/122 --force Automatic agent launch: ```bash -docker-git clone https://github.com/ProverCoderAI/docker-git/issues/122 --force --auto +spawn-dock clone https://github.com/SpawnDock/cli/issues/122 --force --auto ``` - `--auto` selects Claude or Codex based on available authentication. If both are available, the choice is random. @@ -47,7 +47,7 @@ docker-git clone https://github.com/ProverCoderAI/docker-git/issues/122 --force ## Details -`docker-git --help` +`spawn-dock --help` ## SpawnDock CLI diff --git a/package.json b/package.json index 6d1c9682..374565eb 100644 --- a/package.json +++ b/package.json @@ -44,12 +44,12 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/ProverCoderAI/effect-template.git" + "url": "git+https://github.com/SpawnDock/cli.git" }, "bugs": { - "url": "https://github.com/ProverCoderAI/effect-template/issues" + "url": "https://github.com/SpawnDock/cli/issues" }, - "homepage": "https://github.com/ProverCoderAI/effect-template#readme", + "homepage": "https://github.com/SpawnDock/cli#readme", "license": "ISC", "pnpm": { "ignoredBuiltDependencies": [ diff --git a/packages/api/tests/schema.test.ts b/packages/api/tests/schema.test.ts index 2e77bc5b..cb31167e 100644 --- a/packages/api/tests/schema.test.ts +++ b/packages/api/tests/schema.test.ts @@ -7,7 +7,7 @@ describe("api schemas", () => { it.effect("decodes create project payload", () => Effect.sync(() => { const result = Schema.decodeUnknownEither(CreateProjectRequestSchema)({ - repoUrl: "https://github.com/ProverCoderAI/docker-git", + repoUrl: "https://github.com/SpawnDock/cli", repoRef: "main", up: true, force: false diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md index 8e861c92..779ec7f5 100644 --- a/packages/app/CHANGELOG.md +++ b/packages/app/CHANGELOG.md @@ -1,4 +1,4 @@ -# @prover-coder-ai/docker-git +# @spawn-dock/cli ## 1.0.68 diff --git a/packages/app/package.json b/packages/app/package.json index 3b4d93a6..c1cf4246 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -38,7 +38,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/ProverCoderAI/docker-git.git" + "url": "git+https://github.com/SpawnDock/cli.git" }, "keywords": [ "effect", @@ -50,12 +50,12 @@ "license": "ISC", "type": "module", "bugs": { - "url": "https://github.com/ProverCoderAI/docker-git/issues" + "url": "https://github.com/SpawnDock/cli/issues" }, "publishConfig": { "access": "public" }, - "homepage": "https://github.com/ProverCoderAI/docker-git#readme", + "homepage": "https://github.com/SpawnDock/cli#readme", "packageManager": "pnpm@10.32.1", "dependencies": { "@effect/cli": "^0.75.0", diff --git a/packages/app/tests/docker-git/menu-select-connect.test.ts b/packages/app/tests/docker-git/menu-select-connect.test.ts index 84ad5a6d..74abd9c1 100644 --- a/packages/app/tests/docker-git/menu-select-connect.test.ts +++ b/packages/app/tests/docker-git/menu-select-connect.test.ts @@ -19,11 +19,11 @@ const makeConnectDeps = (events: Array) => ({ const workspaceProject = () => makeProjectItem({ - projectDir: "/home/dev/provercoderai/docker-git/workspaces/org/repo", - authorizedKeysPath: "/home/dev/provercoderai/docker-git/workspaces/org/repo/.docker-git/authorized_keys", - envGlobalPath: "/home/dev/provercoderai/docker-git/.orch/env/global.env", - envProjectPath: "/home/dev/provercoderai/docker-git/workspaces/org/repo/.orch/env/project.env", - codexAuthPath: "/home/dev/provercoderai/docker-git/.orch/auth/codex" + projectDir: "/home/dev/spawndock/cli/workspaces/org/repo", + authorizedKeysPath: "/home/dev/spawndock/cli/workspaces/org/repo/.docker-git/authorized_keys", + envGlobalPath: "/home/dev/spawndock/cli/.orch/env/global.env", + envProjectPath: "/home/dev/spawndock/cli/workspaces/org/repo/.orch/env/project.env", + codexAuthPath: "/home/dev/spawndock/cli/.orch/auth/codex" }) describe("menu-select-connect", () => { diff --git a/packages/lib/package.json b/packages/lib/package.json index fad52ab3..a68b134a 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -17,7 +17,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/ProverCoderAI/effect-template.git" + "url": "git+https://github.com/SpawnDock/cli.git" }, "keywords": [ "effect", @@ -29,9 +29,9 @@ "license": "ISC", "type": "module", "bugs": { - "url": "https://github.com/ProverCoderAI/effect-template/issues" + "url": "https://github.com/SpawnDock/cli/issues" }, - "homepage": "https://github.com/ProverCoderAI/effect-template#readme", + "homepage": "https://github.com/SpawnDock/cli#readme", "packageManager": "pnpm@10.32.1", "dependencies": { "@effect/cli": "^0.75.0", diff --git a/packages/lib/tests/shell/docker-auth.test.ts b/packages/lib/tests/shell/docker-auth.test.ts index db50a2d4..bc128194 100644 --- a/packages/lib/tests/shell/docker-auth.test.ts +++ b/packages/lib/tests/shell/docker-auth.test.ts @@ -15,18 +15,18 @@ describe("remapDockerBindHostPathFromMounts", () => { }) it("prefers the longest matching destination prefix", () => { - const next = remapDockerBindHostPathFromMounts("/home/dev/.docker-git/provercoderai/repo/.orch/auth/gh", [ + const next = remapDockerBindHostPathFromMounts("/home/dev/.docker-git/spawndock/repo/.orch/auth/gh", [ { source: "/home/user/.docker-git", destination: "/home/dev/.docker-git" }, { - source: "/srv/docker-git/provercoderai/repo", - destination: "/home/dev/.docker-git/provercoderai/repo" + source: "/srv/docker-git/spawndock/repo", + destination: "/home/dev/.docker-git/spawndock/repo" } ]) - expect(next).toBe("/srv/docker-git/provercoderai/repo/.orch/auth/gh") + expect(next).toBe("/srv/docker-git/spawndock/repo/.orch/auth/gh") }) it("keeps the original path when no mount matches", () => { diff --git a/packages/lib/tests/usecases/apply.test.ts b/packages/lib/tests/usecases/apply.test.ts index b2f63353..5a62f76a 100644 --- a/packages/lib/tests/usecases/apply.test.ts +++ b/packages/lib/tests/usecases/apply.test.ts @@ -228,15 +228,15 @@ describe("applyProjectConfig", () => { const path = yield* _(Path.Path) const projectsRoot = path.join(root, "projects-root") - const projectDir = path.join(projectsRoot, "provercoderai", "docker-git", "issue-72") - const workspaceRepoDir = path.join(root, "workspace", "docker-git") - const initialTargetDir = "/home/dev/workspaces/provercoderai/docker-git" - const updatedTargetDir = "/home/dev/workspaces/provercoderai/docker-git-updated" + const projectDir = path.join(projectsRoot, "spawndock", "cli", "issue-72") + const workspaceRepoDir = path.join(root, "workspace", "cli") + const initialTargetDir = "/home/dev/workspaces/spawndock/cli" + const updatedTargetDir = "/home/dev/workspaces/spawndock/cli-updated" const globalConfig = makeTemplateConfig(root, projectDir, path, initialTargetDir) const projectConfig = { ...makeTemplateConfig(root, projectDir, path, initialTargetDir), - repoUrl: "https://github.com/ProverCoderAI/docker-git.git", + repoUrl: "https://github.com/SpawnDock/cli.git", repoRef: "issue-72" } @@ -257,7 +257,7 @@ describe("applyProjectConfig", () => { yield* _(runGit(workspaceRepoDir, ["config", "user.name", "test-user"])) yield* _(runGit(workspaceRepoDir, ["commit", "--allow-empty", "-m", "init"])) yield* _(runGit(workspaceRepoDir, ["checkout", "-b", "issue-72"])) - yield* _(runGit(workspaceRepoDir, ["remote", "add", "origin", "https://github.com/skulidropek/docker-git.git"])) + yield* _(runGit(workspaceRepoDir, ["remote", "add", "origin", "https://github.com/skulidropek/cli.git"])) const applied = yield* _( withPatchedProcess( diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 88d727ce..f4bceeb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -351,7 +351,7 @@ importers: specifier: ^4.1.0 version: 4.1.0(@types/node@24.12.0)(vite@8.0.1(@types/node@24.12.0)(esbuild@0.27.2)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.2)) - packages/spawndock-cli: + packages/spawndock-runtime: dependencies: '@effect/platform': specifier: ^0.96.0