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
fix(resolve): stop an Object.prototype name resolving as an engine or tool
ENGINES, ALIASES, TOOLS and AI_EXEC are plain object literals looked up with
OBJ[key], so a target named after an Object.prototype member resolved truthy
and was handed downstream as a real entry with no bin or install spec.
$ moshcode install constructor
TypeError: Cannot read properties of undefined (reading 'cmd')
Same crash from `moshcode upgrade constructor`, `moshcode constructor`
(passthrough), and `/install constructor` in the TUI, where it takes the
whole session down instead of printing the unknown-target line.
Resolve own properties only, so these names fall through to the existing
usage/unknown-target paths.
0 commit comments