Skip to content

Feat/share qr#42

Merged
jlopez merged 4 commits intojlopez:mainfrom
skidank:feat/share-qr
Mar 31, 2026
Merged

Feat/share qr#42
jlopez merged 4 commits intojlopez:mainfrom
skidank:feat/share-qr

Conversation

@skidank
Copy link
Copy Markdown
Contributor

@skidank skidank commented Mar 22, 2026

I gotta tell you, it is really amazing how easy claude makes it to sniff protocols for reverse engineering. So easy, even a child (me) can do it!

skidank and others added 2 commits March 22, 2026 12:37
Add `generate_share_qrcode()` to Client and `share-qr` CLI command.
Calls `GET /device/bind/qrcode?userId=` to generate a 5-minute sharing
QR code that another Jackery user can scan to gain device access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Raises ValueError early if user_id is empty, consistent with the
existing guard in get_all_properties for device_id.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jlopez and others added 2 commits March 31, 2026 12:23
…retry test

Add typed return value for generate_share_qrcode and cover the
_SessionInvalidatedError → _relogin retry path that was previously untested.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jlopez jlopez merged commit 5696cd2 into jlopez:main Mar 31, 2026
4 checks passed
@skidank skidank deleted the feat/share-qr branch April 3, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants