fix: add update UX, file-level version patching, and v0.3→v0.4 migration#6
Merged
fix: add update UX, file-level version patching, and v0.3→v0.4 migration#6
Conversation
- Add version tags to all skill/correction files with release-please markers - Add file-level version patching on install (skip unchanged files) - Detect v0.3 legacy installs (no version tag) and auto-migrate - Migrate stale hooks (ephemeral→skills-scope path) on install - Add non-blocking update notification after install - Detect bunx/npx ephemeral execution and return correct update command - Show version check in non-interactive mode (one-line notification) - Update release-please config with extra-files for skill version bumping
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
Changes
versionYAML 태그 +x-release-please-version마커 추가release-please-config.json에 extra-files 등록 (릴리스 시 자동 version bump)parser.ts:Frontmatter/CorrectionFile에version?필드 추가install.ts: canonical 재동기화 로직 (legacy 감지 → full sync, version diff → file patch), hook 마이그레이션 (stale → update), 설치 후 update 알림update.ts: non-interactive 모드에서도 version check + 한 줄 알림package-manager.ts:isEphemeral()추가, ephemeral 환경용 update command 분기Test plan
tsc --noEmitpassbun test— 117 tests pass