Context
The put.io iOS/tvOS rewrite's agent-readiness harness (putdotio/putio-ios#146) must automate the TV sign-in flow end to end. auth login covers the inbound device flow (CLI shows a code), but there is no command for the approver side — approving a code shown by another device, the way a user does at put.io/link.
What this delivers
An auth approve <code> (or similar) command that approves a pending device-link code using the authenticated profile, with JSON output and --dry-run like other writes.
Notes
The harness calls the API directly for this until the command exists; this issue removes that stopgap. Useful beyond the harness: any agent operating a TV client needs it.
Context
The put.io iOS/tvOS rewrite's agent-readiness harness (putdotio/putio-ios#146) must automate the TV sign-in flow end to end.
auth logincovers the inbound device flow (CLI shows a code), but there is no command for the approver side — approving a code shown by another device, the way a user does at put.io/link.What this delivers
An
auth approve <code>(or similar) command that approves a pending device-link code using the authenticated profile, with JSON output and--dry-runlike other writes.Notes
The harness calls the API directly for this until the command exists; this issue removes that stopgap. Useful beyond the harness: any agent operating a TV client needs it.