Add archive-time Changesets reminder to the VS Code extension - #88
Merged
Merged
Conversation
Second half of the agreed Changesets-integration scope (template + this reminder, not a full visual panel). checkChangesetReminder(cwd) in @openspec-ui/core reports whether Changesets is adopted and whether anything is pending; the extension offers to run npx changeset in an integrated terminal only when adopted and nothing is pending. Silent for workspaces that haven't adopted Changesets, and never affects the archive operation's own result. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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
checkChangesetReminder(cwd)to@openspec-ui/core: reports whether.changeset/config.jsonexists and how many pending.changeset/*.mdfiles there are.openspec-ui.archiveChange: after a successful archive, if Changesets is adopted and nothing is pending, offer to runnpx changesetin an integrated terminal. Silent for workspaces that haven't adopted Changesets; never blocks or affects the archive result.2026-08-26-add-adopt-changesets-template, reminder here) — not a full visual panel baked into the product core.openspec/specs/vscode-extension/spec.md.@openspec-ui/core0.25.0 -> 0.26.0,openspec-ui-vscode0.21.0 -> 0.22.0 (both minor).Test plan
npm run typecheckworkspace-widenpm run lint(includinglint:english) workspace-widenpm run testworkspace-wide, including newchangeset-reminder.test.tsand the newcommands.test.tscasesnpm run package --workspace openspec-ui-vscodepackages without erroropenspec change validate --strict add-changeset-archive-reminder🤖 Generated with Claude Code