Repository navigation
fix(nightly): stop webview reload loop + rename extension to Roo Code 2 - #10
Merged
Merged
Conversation
added 2 commits
September 22, 2026 20:08
… webview reload loop - Inject PKG_CONFIG_PREFIX=roo-code-nightly in apps/vscode-nightly/esbuild.mjs so extension.js registers the same view/command/config ids that generatePackageJson() emits (fixes the infinite webview reload). - Revert substitution target to upstream roo-code-nightly so existing roo-code-nightly.* user settings carry over, mirroring how stable keeps roo-cline. - Add missing views.sidebar.name to package.nls.nightly.json. - Update packages/build generatePackageJson test expectations.
…shing - Rename identity to roo-code-2 / Roo Code 2 across package.json, all package.nls.*.json, changeset config, marketplace workflow and issue template - Remove .github/workflows/nightly-publish.yml (keep apps/vscode-nightly source directory) - Update AGENTS.md naming rules and nightly build notes - Point apps/cli build:extension filter at the new package name - Sync nightly prefix in tests to roo-code-nightly
seeones
added a commit
that referenced
this pull request
Sep 23, 2026
… 2 (#10) * fix(nightly): match code-side config prefix with package.json to stop webview reload loop - Inject PKG_CONFIG_PREFIX=roo-code-nightly in apps/vscode-nightly/esbuild.mjs so extension.js registers the same view/command/config ids that generatePackageJson() emits (fixes the infinite webview reload). - Revert substitution target to upstream roo-code-nightly so existing roo-code-nightly.* user settings carry over, mirroring how stable keeps roo-cline. - Add missing views.sidebar.name to package.nls.nightly.json. - Update packages/build generatePackageJson test expectations. * chore(release): rename extension to Roo Code 2 and drop nightly publishing - Rename identity to roo-code-2 / Roo Code 2 across package.json, all package.nls.*.json, changeset config, marketplace workflow and issue template - Remove .github/workflows/nightly-publish.yml (keep apps/vscode-nightly source directory) - Update AGENTS.md naming rules and nightly build notes - Point apps/cli build:extension filter at the new package name - Sync nightly prefix in tests to roo-code-nightly --------- Co-authored-by: seeones <seeones@163.com>
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.
Summary
Two changes pending against
main:1. Fix Nightly webview reload loop
The Nightly build had a mismatch between the code-side config/command prefix and what
generatePackageJson()emits incontributes:apps/vscode-nightly/esbuild.mjsnow injectsprocess.env.PKG_CONFIG_PREFIX = "roo-code-nightly"(the upstream nightly prefix) so existingroo-code-nightly.*user settings keep working.["roo-cline", "roo-code-nightly"]so contributed ids match the code-side prefix.views.sidebar.nameinapps/vscode-nightly/package.nls.nightly.json.2. Rename extension to Roo Code 2
The extension is now published under a brand-new identity:
src/package.jsonname →roo-code-2, display name → "Roo Code 2" across allsrc/package.nls.*.json..changeset/config.jsonfixed group,marketplace-publish.yml,ISSUE_TEMPLATE/config.yml,AGENTS.md, and theapps/clibuild filter..github/workflows/nightly-publish.yml(source dir kept; nightly no longer published).Verification
packages/buildtests pass (1/1); fullsrcsuite passes (5233 tests).pnpm vsixproducedbin/roo-code-2-3.54.11.vsix.check-typesall green.