Dashboard › cli › Session 07XB9tAzg9SI
07XB9tAzg9SImG5mVIn worktree /home/byk/.local/share/opencode/worktree/0e8c2f3bbe145a3280d6fb6ed900a5121f382cf0/toolkit-bridge-upgrade, remove only this PR's install-script dual-source bridge changes, because the installer is mutable and will switch URLs at cutover. Restore these five files exactly to origin/main content: packages/cli/install, packages/cli/test/lib/install-script.test.ts, packages/cli/package.json, package.json, and .github/workflows/ci.yml. Do not touch any other file. Use safe file editing, not git checkout/reset. Verify git diff origin/main shows no differences for exactly those five files and report result. Do not commit.
No files found
<path>/home/byk/.local/share/opencode/worktree/0e8c2f3bbe145a3280d6fb6ed900a5121f382cf0/toolkit-bridge-upgrade</path> <type>directory</type> <entries> .craft.yml .git .github/ .gitignore .lore.md .nojekyll .npmrc AGENTS.md apps/ CHANGELOG.md codemods/ docs/ LICENSE.md node_modules/ package.json packages/ pnpm-lock.yaml pnpm-workspace.yaml README.md (19 entries) </entries>
.github/workflows/ci.yml | 1 +
package.json | 3 +-
packages/cli/install | 192 ++++++++++++---
packages/cli/package.json | 3 +-
packages/cli/test/lib/install-script.test.ts | 333 ++++++++++++++++++++++++---
5 files changed, 464 insertions(+), 68 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 67ec71067..6f018db43 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -245,6 +245,7 @@ jobs:
- run: pnpm run check:errors
- run: pnpm run check:patches
- run: pnpm run check:stale-refs
+ - run: pnpm run check:upgrade-sources
test-unit:
name: Unit Tests
diff --git a/package.json b/package.json
index cb501ad19..3b109cd2c 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,8 @@
"check:errors": "pnpm --filter sentry run check:errors",
"check:patches": "pnpm --filter sentry run ...
I found only the requested five files differ from origin/main. I’ll reverse that exact five-file patch without staging or touching other paths.
(no output)
(no output)
M .github/workflows/ci.yml M package.json M packages/cli/install M packages/cli/package.json M packages/cli/test/lib/install-script.test.ts .github/workflows/ci.yml package.json packages/cli/install packages/cli/package.json packages/cli/test/lib/install-script.test.ts
Restored these five files exactly to origin/main:
packages/cli/installpackages/cli/test/lib/install-script.test.tspackages/cli/package.jsonpackage.json.github/workflows/ci.ymlVerification passed: git diff origin/main is empty for all five files. Working-tree changes contain only these five paths. No commit created.
🔴 (14:48) User stated the install script is mutable and will switch URLs at cutover; therefore this PR’s install-script dual-source bridge changes needed removal. 🔴 (14:48) [requested-code-change] User requested restoring exactly 5 files to `origin/main`: `packages/cli/install`, `packages/cli/test/lib/install-script.test.ts`, `packages/cli/package.json`, `package.json`, and `.github/workflows/c…