bug: none of the cli commands enforce field requirements #1217

Closed
opened 2026-02-16 17:30:02 -05:00 by yindo · 1 comment
Owner

Originally created by @rekram1-node on GitHub (Aug 10, 2025).

For example I can:

  1. opencode auth login
  2. select other
  3. hit enter (no provider id)
  4. hit enter again (no api key)

And it will end in success state!

Logic is already in place to validate and actually require these fields but the logic is incorrect - thus requirement is not enforced!

Originally created by @rekram1-node on GitHub (Aug 10, 2025). For example I can: 1. opencode auth login 2. select other 3. hit enter (no provider id) 4. hit enter again (no api key) And it will end in success state! Logic is already in place to validate and actually require these fields but the logic is incorrect - thus requirement is not enforced!
yindo closed this issue 2026-02-16 17:30:02 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 10, 2025):

opened pr with logic fix

@rekram1-node commented on GitHub (Aug 10, 2025): opened pr with logic fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1217