On a fresh install of t3code, sending any message to an agent fails immediately.
Steps to reproduce
- Clone and run
t3code from source.
- Start a new thread.
- Send any message in
Full Access mode.
- Switch to
Supervised mode and send any message.
Actual
Full Access: thread/start failed: Invalid request: unknown variant 'danger-full-access', expected one of 'readOnly', 'workspaceWrite', 'dangerFullAccess'
Supervised: thread/start failed: Invalid request: unknown variant 'on-request', expected one of 'unlessTrusted', 'onFailure', 'onRequest', 'never'
Expected
The thread starts and the message is sent in both modes.
Notes
This looks like a runtime enum/casing mismatch:
danger-full-access vs dangerFullAccess
on-request vs onRequest
This seems related to earlier reports like #389 and #453, but it is still reproducible on a fresh checkout.
