Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.71k stars 237 forks source link

fix: input/output names on CodeNode can crash render #264

Closed codemile closed 9 months ago

codemile commented 9 months ago

Fixes #263 by ensuring the input/output names used by CodeNode are valid.

Note, item 1 could be a breaking change for anyone using input names like "bad$xamp!es" as it gets rewritten to "bad_xamp_es". I made this change without discussing, but can be reverted if needed.