mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 11:01:11 +00:00
* fix(setup): recognize path-qualified cmd.exe and npm rea.cmd shims Unwrap C:\Windows\System32\cmd.exe /d /c package runners, and read the script an npm rea.cmd shim launches so those registrations stay owned. * fix(setup): parse npm rea.cmd launch statements with a bounded read Own only the script argument of the npm cmd-shim launch line, skip rem comments, refuse oversized files before allocating, and join with host path rules so UNC roots stay intact. * fix(setup): ignore echoed npm launch text in rea.cmd shims Skip echo lines and refuse ownership when a later "%_prog%" launch names a non-package script, so printed paths cannot prove an unrelated row. * fix(setup): require executed npm rea.cmd launch statements Anchor "%_prog%" matching to a real launch command, skip @rem comments, and ignore conditional echo lines so ownership cannot follow text that is never executed. * fix(setup): require strict npm cmd-shim structure for rea.cmd ownership * fix(setup): match exact npm cmd-shim template for rea.cmd ownership * fix(client-identity): reject batch variables and support local node_modules/.bin rea.cmd shims * fix(setup): recognize current npm command shims * fix(ci): route CMD shim tests to the Windows package lane --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>