Repository navigation
Description
Title
Bump install-script default toolchain: Python 3.13, Node 24 LTS, Vite 8
Body
Three related version-bump requests in one issue because they're all "the version pinned in scripts/install.sh / web/package.json lags the current LTS line." Happy to split if maintainers prefer, but I think they read better together since the underlying complaint is the same: the default toolchain shipped by the one-liner installer is two LTS-generations behind the current ecosystem.
1. Python 3.11 → 3.13 in scripts/install.sh
Current: PYTHON_VERSION="3.11" (L60). Fresh installs resolve CPython 3.11.15 from ~/.local/share/uv/python/.
Why bump:
- 3.11 is in security-only mode and EOLs 2027-10; 3.13 (2024-10) is the current feature release and the most-recently-released LTS.
- Modern ecosystem tooling (mypy 1.13+, ruff 0.7+, pydantic 2.10+) assumes ≥3.12 in their own code paths and type stubs.
pyproject.tomlalready accepts<3.14, so the upper bound doesn't need to move.
Counterargument I expect: 3.11 still has 1.5+ years of support. If the floor must stay at 3.11, at least consider 3.12 as a middle ground.
2. Node 22 ("Jod") → 24 ("Krypton") in scripts/install.sh
Current: NODE_VERSION="22" (L61), pulls https://nodejs.org/dist/latest-v22.x/.
Why bump:
- 24 LTS went stable 2025-10-28 (codename Krypton, currently 24.11.0+).
web/package.jsonalready pins@types/node@^24.12.0— the TS types for the dashboard assume the Node 24 API surface, but the runtime that actually builds the dashboard is still Node 22. That type/runtime misalignment is the most concrete cost of leaving the pin at 22.- 22 moves to maintenance 2027-04; 24 is the active LTS line for the next ~18 months.
3. Vite 7 → 8 in web/package.json
Current: "vite": "^7.3.1" in web/package.json devDependencies; resolved to 7.3.2 at install time.
Why bump:
- Vite 8 (released 2026-03-12) ships rolldown as the production bundler.
rolldown 1.0.0-rc.17is already innode_modules/. VoidZero's benchmarks cite 2–6× cold-build improvement on React/Tailwind SPAs. - Peer-compat check on the current
web/tree is already clean:@vitejs/plugin-react@5.2.0peer:^4 || ^5 || ^6 || ^7 || ^8✅@tailwindcss/vite@4.2.4peer:^8.0.0✅ (and currently resolved alongsidevite 7.3.2because the root range is^7.3.1— so 4.2.4 is already declaring it wants vite 8; the root range is forcing npm to ignore that)
- The v8.0 migration guide's only user-facing breaking change is Safari 16.0 → 16.4 baseline (released 2023), fine for any modern dashboard.
What I'd love a maintainer to confirm
- Is there a reason
web/package.jsonstill says^7.3.1other than "haven't gotten to it" — i.e. has vite 8 been tried and broken something specific? - For Python: is the 3.11 floor load-bearing, or a conservatism choice?
- For Node: is the 22 pin load-bearing for any CI image or user base, or just inertia?
Verification recipe
cd web
npm pkg set devDependencies.vite='^8.0.0'
cd .. && npm install --workspace=web
cd web && npm run buildHappy to send PRs for any subset. I tested the matrix on my own fork before opening.
Activity
liuhao1024 commentedon Jun 8, 2026
This is fixed by #40689 — bump default toolchain to Python 3.13, Node 24 LTS, Vite 8.
pty819 commentedon Jun 8, 2026
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@icons-pack/react-simple-icons@13.13.0',
npm warn EBADENGINE required: { node: '>=24', pnpm: '>=10' },
npm warn EBADENGINE current: { node: 'v22.22.3', npm: '10.9.8' }
npm warn EBADENGINE }
npm warn deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
TigerCoder27 commentedon Jun 13, 2026
Adding a security angle to the Vite 7 -> 8 part of this: on a fresh 0.16.0 Windows install,
hermes doctorflagsweb's vite 7 pin as actively vulnerable, not just stale.hermes doctorreports two high-severity advisories in both thewebandui-tuiworkspaces, all from esbuild pulled in under vite 7:NPM_CONFIG_REGISTRYin the Deno module)Vulnerable range is esbuild
0.17.0 - 0.28.0, fixed in0.28.1. Every vite 7.x release hard-pinsesbuild: ^0.27.0, and 7.3.5 is the highest 7.x, so there is no patched vite 7. The vite 8 bump proposed here is the only way to clear it forweb(vite 8 drops the direct esbuild dependency). That arguably moves this from P3 "freshness" to a security fix, at least for the web workspace.A few things I hit while verifying the full fix on 0.16.0 that may save the implementer time:
1.
ui-tuiis a separate fix this issue doesn't cover. It isn't only transitive-via-vite:ui-tui/package.jsonhas a directesbuild: ~0.27.0dev dep, andui-tui/packages/hermes-ink/package.jsonhasesbuild: ^0.25.0. Both need bumping to^0.28.1independently of anything vite does. A vite 8 bump alone leavesui-tuiflagged.2.
@tailwindcss/vitepeer support depends on the exact patch. In the 0.16.0 tree,webdeclares@tailwindcss/vite: ^4.2.1, and the version resolving there peersvite: ^5.2.0 || ^6 || ^7(no 8). I had to bump it to^4.3.1(peer adds^8) for the vite 8 install to be peer-clean. Your snapshot cites 4.2.4 peering^8.0.0, so this may already hold on newer trees, but worth pinning explicitly so the bump doesn't depend on which 4.2.x npm happens to resolve.3. A root
overridesfor esbuild silently no-ops on incremental installs. I first tried"overrides": { "esbuild": "^0.28.1" }in the root package.json (next to the existinglodashoverride). npm only applies a newly-added override during a fresh resolution.npm install --package-lock-onlyandnpm update esbuildboth report "up to date" and leave the locked 0.27.x in place, because it still satisfies vite 7's^0.27.0. The override only takes effect if you deletepackage-lock.jsonand regenerate. Worth a heads-up in whatever audit/CI step closes this out, so it doesn't look fixed when it isn't.The combination that gets both
hermes doctorandnpm audit --workspace web|ui-tuito "found 0 vulnerabilities":web:vite ^7.3.1 -> ^8.0.16,@tailwindcss/vite ^4.2.1 -> ^4.3.1ui-tui:esbuild ~0.27.0 -> ^0.28.1ui-tui/packages/hermes-ink:esbuild ^0.25.0 -> ^0.28.1esbuild: ^0.28.1tooverrides, then regenerate the lockfile from scratch@vitejs/plugin-react@5.2.0is already vite-8 peer-clean, matching your analysis. Verified end to end on a Windows 0.16.0 install: both workspaces and the whole-treenpm auditgo to zero.GottZ commentedon Jul 29, 2026
Summary
Two PRs address #40666 with the same Python 3.13, Node 24, and Vite 8 toolchain bump. #40689 covers both platform installers and the Vite lockfile transition, while #40766 changes only the Unix installer and Vite manifest; neither covers the additional managed-Node provisioning paths identified in review, and the Vite changes are now already on main.
Related pull requests
best fix— (+656/-42) — partial fix and best consolidation base: it updates Python and Node defaults in both install.sh and install.ps1 and includes the Vite 8/plugin-react 6 lockfile transition, but current main already contains the Vite work and the diff leaves scripts/lib/node-bootstrap.sh and hermes_constants.py on Node 22. Despite the keep_open review on feat(installer): bump default toolchain to Python 3.13, Node 24 LTS, Vite 8 #40689, it should remain closed rather than be reopened as-is because the later contributor objection blocks the native-dependency version increase until provisioning is safer, and the branch now contains stale Vite/lockfile changes.partial— (+4/-4) — partial duplicate: it applies the same Python/Node changes only to install.sh and bumps Vite without plugin-react, the regenerated lockfile, Windows coverage, or the other managed-Node provisioning paths. It remains relevant as evidence of the duplicate approach but was correctly closed in favor of the more complete feat(installer): bump default toolchain to Python 3.13, Node 24 LTS, Vite 8 #40689.Duplicates
#40766 is a less complete duplicate of #40689: both implement the same Python 3.13, Node 24, and Vite 8 defaults, but #40689 additionally covers install.ps1, plugin-react, and package-lock.json.
Suggested consolidation
Consolidate on #40689 as the verified best-fix reference, but do not reopen or merge it as-is: retain main's existing Vite 8 state, explicitly resolve the contributor's native-dependency compatibility blocker, and update and verify all Node provisioning/recovery paths together before submitting a refreshed successor. #40766 can remain closed as a duplicate of #40689.
Complex graph
flowchart LR classDef open fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a classDef merged fill:#dcfce7,stroke:#15803d,color:#14532d classDef closed fill:#e5e7eb,stroke:#6b7280,color:#1f2937 classDef unverified fill:#f3f4f6,stroke:#9ca3af,color:#374151 classDef best stroke-width:3px,stroke:#b45309 classDef target stroke-width:3px,stroke:#4338ca I40666(["issue #40666 (open)"]) subgraph Dup40689 ["PRs duplicating each other"] P40689["PR #40689 (closed)"] P40766["PR #40766 (closed)"] end P40689 -->|best fix| I40666 P40766 -.->|partial| I40666 class I40666 open class I40666 target class P40689 closed class P40766 closed class P40689 best click I40666 "https://github.com/NousResearch/hermes-agent/issues/40666" click P40689 "https://github.com/NousResearch/hermes-agent/pull/40689" click P40766 "https://github.com/NousResearch/hermes-agent/pull/40766"Graph: solid arrow = fixes / best fix, dashed arrow = partial or unverified (see edge label); boxed group = PRs duplicating each other; amber border = best fix; indigo border = target; gray node = closed or no verify verdict yet (state tag in the node label).
Cross-PR triage: Reviewed 2 pull requests and 1 issue in this complex. Each diff was read against this issue; Assessment working set: 38 kB of PR diffs, 7 kB of issue/PR text, 9 kB of discussion (10 comments), 4 verify verdicts. verdicts reflect diff content, not PR titles. Part of an automated triage batch.
teknium1 commentedon Oct 7, 2026
Checked against current
mainas part of the updater backlog sweep: this one is fixed.Fixed by: cd0f97f — feat(python): pin bundled runtime to 3.14 everywhere (pm, termux lane, CI, installers) (on
mainsince 2026-09-07).Where:
pm/lock.json::packages.python/node; scripts/install.sh (reads packages.python.version from pm/lock.json); web/package.json::devDependencies.viteWhy this resolves it: Request was Python 3.11->3.13, Node 22->24, Vite 7->8 in install defaults. At base the installer toolchain comes from pm/lock.json pins: CPython 3.14.7 (cd0f97f pin bundled runtime to 3.14 everywhere incl. installers) and Node v26.7.0; web/package.json pins vite 8.2.0 (92a456f, esbuild audit loop) and ui-tui esbuild 0.28.1 - all at or beyond the request, and the vite7/esbuild advisory in comments is cleared.
If you still hit this on a build that includes that commit, please reopen with the output of
hermes debug shareand we'll pick it straight back up. Thanks for the report.