mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
The Amethyst signer now honors a nostrconnect offer's `perms=` for informed consent, but the CLI client had no way to emit one — so the new consent flow couldn't be driven from `amy`, the project's interop-test harness. Add a `--perms` flag to `amy login --nostrconnect`, threaded into the offer through quartz's NostrConnectURI (which already builds/parses the param). Also keep the parsed perms on NostrConnect.Offer and surface a client's requested perms in `amy bunker connect`, so an operator can see what an app-side signer would be asked to pre-grant (the CLI bunker still auto-approves the operator's own key — perms is not a gate there). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015FHr2mu5SiHwYNR7evYUuF