molecule-core/canvas/src
Molecule AI Frontend Engineer f936af3181 feat(canvas): hermes provider picker in CreateWorkspaceDialog (#493)
When the user sets template="hermes", surface a provider dropdown
(15 providers, defaulting to anthropic) and a masked API key input.
On submit the chosen key is sent as `secrets: { [ENV_VAR]: key }` so
the backend can persist it encrypted before the container boots,
fixing the silent preflight failure reported in #493.

- Adds HERMES_PROVIDERS constant (exported for tests)
- Validates API key presence before POST when template is hermes
- Uses violet accent to visually distinguish the hermes section
- 11 new unit tests covering picker visibility, default, env-var
  mapping, validation, and POST payload shape

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 20:25:58 +00:00
..
__tests__ fix(canvas): address all code review findings on PR #482 2026-04-16 07:48:47 -07:00
app Merge pull request #251 from Molecule-AI/feat/cookie-consent-banner 2026-04-15 13:49:53 -07:00
components feat(canvas): hermes provider picker in CreateWorkspaceDialog (#493) 2026-04-16 20:25:58 +00:00
hooks initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
lib fix: code review findings — token UI, auth hardening, WS dedup 2026-04-16 10:42:26 -07:00
store fix: code review findings — token UI, auth hardening, WS dedup 2026-04-16 10:42:26 -07:00
stores initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
styles fix(canvas): C1/C2/C3/C5 dark-theme CSS and ReactFlow colorMode 2026-04-16 10:45:16 +00:00
types initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
middleware.ts initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00