release: v0.2.9: add vp toolchain and vp hooks, and fix vp run inside Codex and Claude Code sandboxes - #2415
Open
voidzero-guard[bot] wants to merge 2 commits into
Open
release: v0.2.9: add vp toolchain and vp hooks, and fix vp run inside Codex and Claude Code sandboxes#2415voidzero-guard[bot] wants to merge 2 commits into
vp toolchain and vp hooks, and fix vp run inside Codex and Claude Code sandboxes#2415voidzero-guard[bot] wants to merge 2 commits into
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
NAPI bakes the package.json version into binding/index.cjs version checks. The prepare_release workflow bumps package.json but does not regenerate this file, so the CI build's regeneration step produces a diff that the post-build no-unexpected-changes guard rejects.
Contributor
Native binary sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
vp (Linux x64) |
Binary | 10.67 MiB | 10.67 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.62 MiB | 4.62 MiB | +139 B (+0.00%) |
| NAPI (Linux x64) | Binary | 32.00 MiB | 32.00 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 12.61 MiB | 12.61 MiB | +1 B (+0.00%) |
vp (macOS ARM64) |
Binary | 7.98 MiB | 7.98 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 4.03 MiB | 4.03 MiB | -1.52 KiB (-0.04%) |
| NAPI (macOS ARM64) | Binary | 39.66 MiB | 39.66 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 16.91 MiB | 16.91 MiB | -5 B (-0.00%) |
vp (Windows x64) |
Binary | 8.55 MiB | 8.55 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.73 MiB | 3.73 MiB | +121 B (+0.00%) |
| NAPI (Windows x64) | Binary | 26.87 MiB | 26.87 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 10.68 MiB | 10.68 MiB | -1 B (-0.00%) |
| Trampoline (Windows x64) | Binary | 205.00 KiB | 205.00 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 99.00 KiB | 99.00 KiB | +2 B (+0.00%) |
| Installer (Windows x64) | Binary | 4.47 MiB | 4.47 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.09 MiB | 2.09 MiB | +1 B (+0.00%) |
Contributor
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d |
@voidzero-dev/vite-plus-core |
0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://vite.plus | VP_PR_VERSION=2415 bash# Windows (PowerShell)
$env:VP_PR_VERSION="2415"; irm https://vite.plus/ps1 | iexAfter installing, upgrade the current project's vite-plus to this test build with:
vp migrateOr point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:
| Package manager | Registry config |
|---|---|
| npm / pnpm / Bun | .npmrc: registry=https://registry-bridge.viteplus.dev/ |
| Yarn (v2+) | .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/" |
Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):
{
"devDependencies": {
"vite-plus": "0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d"
}
}
Contributor
🐳 Docker preview imageBuilt from this PR's registry bridge build:
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2415 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2415Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2415 vp --versionSee docs/guide/docker.md for usage. |
vp toolchain and vp hooks, and fix vp run inside Codex and Claude Code sandboxes
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.
Release vite-plus v0.2.9: two new commands, and
vp runnow works inside AI coding agent sandboxes.vp toolchainprints the tools, versions, and bundling relationships in the active release, andvp hooksmanages the Vite+ Git hook dispatcher without the manual setup steps.vp runno longer fails outright inside the default Codex CLI and Claude Code sandboxes, which deny the Unix sockets and shared memory that task IPC and file-access tracking relied on. The rest of the release hardens the install path: npm 12's blocked install scripts, Yarn 2+ integrity pins, baseline Bun builds on older CPUs, and downloads that used to time out on slow connections.Highlights
vp toolchaincommand: prints the tools, versions, and bundling relationships in the active Vite+ release as a tree (vite-plus, core, vite, rolldown, oxc, oxc-resolver, and the compiled Vite Task with its build time and revision). Select part of the tree by tool name, use--jsonfor machine-readable output, and--globalfor the global release (#2111), by @fengmk2vp hookscommand for managing the Vite+ Git hook dispatcher:enableinstalls or refreshes it (settingcore.hooksPath),disableremoves it and persists that preference soprepareandvp configno longer reinstall it, andstatusreports the current state. A custom directory via--hooks-diris remembered for later commands. Project-owned hooks,stagedconfig, andpackage.jsonlifecycle scripts are left untouched (#2341), by @dennybiasiollivp runnow works inside the default Codex CLI and Claude Code sandboxes. Cached tasks previously failed withFailed to set up task communication: Operation not permittedbefore any task code ran, and automatic file-access tracking failed alongside it. Task caching and input tracking now work under both default profiles, with no extra sandbox permissions (vite-task#569, vite-task#576), by @wan9chiFeatures
vp createnow surfaces dependencies whose install scripts npm 12 blocked, instead of leaving them silently unbuilt, and approving them runsvp pm approve-buildsfollowed byvp pm rebuild(#2336), by @fengmk2vp env installandvp migrateimpossible to complete. Override it withVP_DOWNLOAD_TIMEOUT(seconds) (#2386), by @tarikermis.idea/externalDependencies.xml, and the docs now describe the matching gitignore strategy for.idea(#2204, #2378), by @KTrain5169vpnow warns when it falls back to the global CLI inside a project with no resolvable project-localvite-plus: it points atvp installwhen the project declares the dependency, and at the migration guide when it does not.vp migrateand commands run outside a project stay silent (#2362), by @liangmiQwQNote
Upstream toolchain upgrade: vite
8.2.0->8.2.1, rolldown1.2.2->1.2.3, oxlint1.76.0->1.77.0, oxfmt0.61.0->0.62.0, and the oxc npm and Rust crates0.142.0->0.143.0. Because oxfmt and oxlint both changed, the new versions can flag code that passed before, so runvp fmtafter upgrading if your CI runsvp check(#2373), by @voidzero-guard[bot]Fixes & Enhancements
corepack usenow verify against the extracted CLI (bin/yarn.js) rather than the npm tarball, sovp installno longer fails on a cold cache andvp runno longer re-downloads Yarn every time (#2227), by @leslieeilselvp devno longer crashes at startup withENOENTwhenexperimental.bundledDevis enabled: the bundled dev client path now points at the packaged layout (#2384), by @lofczvp migratenow refuses a workspace member as its target instead of silently migrating the enclosing workspace, and tells you to run it from the workspace root (#2229), by @leslieeilselVP_NODE_VERSION=22and other partial versions now resolve to an exact Node.js release for shim-dispatched commands such asvp env exec node -v(#2411), by @jong-kyungbunxshims now dispatch throughbun x, sobunx <package>no longer recursively invokes a matching package script. Applies to newly installed Bun (#2151), by @liangmiQwQVP_HOMEcontaining spaces or quotes loads without error (#2191), by @naokihabavite-plus/test/browser-*type exports now emit.jsextensions on relative shim specifiers, so they resolve underNodeNextmodule resolution (#2360), by @eai04191vp <command> --helpshows the local themed help, while anything with extra arguments (vp test --help --coverage,vp test list --help) delegates to the bundled tool so deep and subcommand help stay complete (#2345), by @liangmiQwQnode_modules(vite-task#539), by @jong-kyungRefactor
vite_*tovp_*(#2335), by @fengmk2utils(#2347), by @jong-kyungcrate::help(#2363), by @jong-kyungDocs
overridesbehavior to match what Vite+ does (#1942), by @liangmiQwQsetup-vite-plus-actionversion pinning in the CI guide (#2359), by @fengmk2BUNDLING.md(#2334), by @dennybiasiolliChore
d05b1dc(#2339, #2403), by @wan9chi2026-08-02(#2342), by @wan9chibuild:srctask (#2396), by @jong-kyungvpbuilt from the checkout (#2388), by @fengmk2dev_engines_runtime_pnpm11snapshot to the seeded default Node version (#2390), by @fengmk2pnpm testas the full gate (#2376), by @jong-kyungBundled Versions
8.2.142161581.2.352dbd190.22.144.1.101.77.07.0.20010.62.0Upgrade
New Contributors
@eai04191, @KTrain5169, @lofcz, @tarikermis, @leslieeilsel
Full Changelog: v0.2.8...v0.2.9
Merging this PR will trigger the release workflow.