fix(grant): adapt to typed grant-role enum from regenerated client

main

Commit

toothbrush2mo ago

#2122 made the v1 grant role a validated enum (reader/writer/admin), so the regenerated client types GrantProjectAccess/GrantRepoAccess Role fields as enums rather than string. Validate --role at the CLI boundary and cast to the typed value.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: e9918e472c9d

Checkpoints

Enhance Entire CLI with Name Resolution

Claude Code
View session
Checkpoint 1