Repository navigation
feat(share): server-run tunnel, share UI, terms consent; v0.0.6 - #12
Merged
Merged
Conversation
- server runs cloudflared; share lives until stopped (`sd share stop`) - Share dialog + Sharing pill, QR, new link, allow/deny from any host browser - terms of sharing gate first share; consent kept in <config>/share-consent - server-side agent state, remote logins, push tokens, embed view (app groundwork)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release 0.0.6.
shelldeck/share.py), so a share keeps running until it's stopped (sd share stop, Stop sharing, or Ctrl+C in thesd sharethat started it). The 60s CLI lease is gone, andsd shareattaches to a share that's already running.sd shareprompt.sd share([y/N]) show the risks: you share at your own risk, keep links private, Cloudflare sees the traffic, and don't share from corporate or restricted networks.POST /api/sharereturns409 terms_requireduntilPOST /api/share/termsis accepted. The consent is stored in<config>/share-consent(owner-only, like the password) and asked again whenTERMS_VERSIONis bumped./api/pushExpo tokens, and the?embed=1single-terminal view.uv lock.Test plan
uv run ruff checkuv run pytest -q: 62 passed, including new terms tests for the API and CLI