Repository navigation
[pull] canary from vercel:canary - #2090
Merged
Merged
Conversation
Stacked on #99230. ### Why? Simplify the advisory check by querying only the versions we need instead of sending a bulk audit request. ### How? Query npm advisories for the installed version and relevant upgrade candidates. Remove the GHSA lookup and fallback. Only show a nudge when the assessment finds a ready target; otherwise, skip it. <!-- NEXT_JS_LLM --> Closes NAR-948
Stacked on #99222. ### Why? Developers running `next dev` with `agenticAutoUpgrade` enabled need a browser reminder when their installed Next.js version is affected by a security advisory. ### How? Assess upgrades once during dev startup and share the result with the CLI nudge. The existing HMR `SYNC` message carries the security advisory to DevTools, which shows a Vulnerability Insight in the existing Insights overlay with a copyable upgrade prompt. The Insight applies to the `security`, `latest`, and `future` policies when the assessment finds an affected version and a safe target. A private test override previews the UI without a vulnerable fixture or live advisory data. ### Screenshots These show the badge and overlay layout. The current copied prompt runs `next upgrade --ai=security` from the app directory. **DevTools badge**  | Light | Dark | | --- | --- | |  |  | <!-- NEXT_JS_LLM --> Closes NAR-939
### Why? Let users choose whether an upgrade runs in a separate worktree. ### How? Ask in the existing agent's single upgrade question or before launching a new agent, then pass the choice into the upgrade instructions. <!-- NEXT_JS_LLM --> Closes NAR-947
Stacked on #99291. ### Why? Let users revisit upgrade choices before the new agent starts. ### How? Use the existing CLI selector with a dim hint above each menu. Esc goes back to the previous choice, or cancels from the first prompt; Ctrl+C cancels from any prompt. Remove the Cancel rows. <!-- NEXT_JS_LLM -->
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )