hdresearch / nolita

Work with web-enabled agents quickly — whether running a quick task or bootstrapping a full-stack product.
https://nolita.ai
MIT License
79 stars 3 forks source link

bin: validation fixes #99

Closed matildepark closed 2 weeks ago

matildepark commented 2 weeks ago

Bug only affects dev branch, but it trips up if HDR key is undefined and not a blank string (first run, no HDR key case; subsequent deleting keys via npx nolita auth would be true, because we write an empty string).

Post- #94 bug too because it checks for a string there. Now we don't treat a string check as default; we assume if a value is here but not checked for specifically, it's optional and doesn't matter; likewise, if an HDR key is not a string, it's moot.