You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Release]: the WebUI package version on main is behind what is published, and nothing bumps it #41
release/webui-npm/package.json says 0.1.7, but @minimax-webui/minimax-code on npm is already at 0.1.8 (0.1.8 was published 2026-11-09T06:59:32Z; 0.1.7's gitHead 7eb55e1d is on main).
The repository has scripts/package-webui-npm.mjs (packaging) and scripts/verify-webui-package.mjs (acceptance), but no publish script for the WebUI package and no version bump anywhere — the CLI side has scripts/publish-cli-release.mjs to model it on. The version is therefore edited by hand, and main has fallen one behind.
Two consequences:
Packaging from main produces 0.1.7, and npm already has 0.1.7. A publish without bumping first is rejected by npm for a version that exists, and 0.1.8 is taken as well.
The acceptance result reports the version it built — Installed WebUI package PASS: @minimax-webui/minimax-code@0.1.7 — so the message a release note would quote does not match the version a user actually installs from npm.
Either add a bump-and-publish step next to the existing release script, or state in the release checklist that the version has to be edited by hand, and let main carry the version that is actually published.
Installing from main — which carries the rename from #14 — seeds:
mavis-trash.cmd 100 bytes -> points at mavis-trash.cjs
mavis-trash.cjs 17825 bytes
The bytes are the same. Only the extension differs, and that is the entire bug. Node reads the module type of a .js file from the nearest ancestor package.json, so on a machine whose home directory holds a package.json with "type": "module", the shim is parsed as ESM and dies with:
ReferenceError: require is not defined in ES module scope
The runtime then reports local_runtime.trash_unavailable, and recoverable deletion is off. On Windows that means two things at once: the agent's deletes stop being recoverable, and the safety layer refuses to delete anything at all, because its own launcher probe fails the same way.
So 0.1.8 shipped the fix's content under the old name, and main carries the rename but still says 0.1.7 in release/webui-npm/package.json. Publishing from main today would build 0.1.7 — a version npm already has — and npm would refuse it. The next publish has to be 0.1.9, and it is the first one that actually carries the Windows fix.
Worth checking that the publish step reads that field at all. If the version comes from a tag or an argument instead, the field should still be moved to the same value so the two cannot drift apart again.
The source manifest and public npm registry both report 0.1.9. PR #50 adds the manual release checklist requested here, including the unused-version check, verification of the exact release directory, and the post-publish registry check. Closing as addressed by the submitted PR, pending merge.
Activity
antianqi commentedon Nov 13, 2026
A Windows test makes this concrete, and it is why the bump is not optional.
Installing the published 0.1.8 into a fresh data directory seeds:
Installing from
main— which carries the rename from #14 — seeds:The bytes are the same. Only the extension differs, and that is the entire bug. Node reads the module type of a
.jsfile from the nearest ancestorpackage.json, so on a machine whose home directory holds apackage.jsonwith"type": "module", the shim is parsed as ESM and dies with:The runtime then reports
local_runtime.trash_unavailable, and recoverable deletion is off. On Windows that means two things at once: the agent's deletes stop being recoverable, and the safety layer refuses to delete anything at all, because its own launcher probe fails the same way.So 0.1.8 shipped the fix's content under the old name, and
maincarries the rename but still says0.1.7inrelease/webui-npm/package.json. Publishing frommaintoday would build 0.1.7 — a version npm already has — and npm would refuse it. The next publish has to be 0.1.9, and it is the first one that actually carries the Windows fix.Worth checking that the publish step reads that field at all. If the version comes from a tag or an argument instead, the field should still be moved to the same value so the two cannot drift apart again.
Fectivnfy112357 commentedon Nov 20, 2026
The source manifest and public npm registry both report 0.1.9. PR #50 adds the manual release checklist requested here, including the unused-version check, verification of the exact release directory, and the post-publish registry check. Closing as addressed by the submitted PR, pending merge.