fix: Rebuild Locally syncs all content dirs to installed extension - #388
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe developer-tools rebuild now copies selected runtime directories and top-level Markdown files from the local repository into the installed extension. Each synchronization operation checks source existence and logs failures independently. ChangesExtension content synchronization
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
The dev-tools 'Rebuild Locally' copies dist/*.js files into the installed extension path but did not copy skills/. Since DEFAULT_LIBRARY_ROOTS resolves via __dirname (which points at the installed extension's dist/), new or modified skills in the dev repo were invisible until a fresh vsix install. Now the rebuild syncs the full skills/ directory alongside dist/, so local skill changes (like migrate-to-armonia) are immediately available after a rebuild + reload.
jeonghun-jj-lee
force-pushed
the
fix/rebuild-syncs-content-dirs
branch
from
August 15, 2026 11:11
c074659 to
37a2a8b
Compare
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.
Problem
"Rebuild Locally" only copied
dist/*.jsfiles into the installed extension path. All other content (skills/,scores/,templates/,exemplars/,opencode-plugin/,julia/,tools/,AGENTS.md,DISTILLER.md,CONTRACT.md) resolved via__dirnameorctx.extensionPathagainst the installed extension — so local changes were invisible until a fresh vsix install.Fix
The rebuild now syncs all content directories and top-level markdown files from the dev repo into the installed extension path, alongside the existing dist copy. This makes the dev loop for skills, scores, templates, the plugin, julia pins, and the system prompt immediate.
Test
packages/extension/skills/test-dummy/SKILL.md/test-dummyappears after reloadSummary by CodeRabbit
New Features
Bug Fixes