Repository navigation
feat: Blossom uploads for applets, asked first, to the account's file servers - #23
Merged
Merged
Conversation
…sked first The shell offers the upload domain. kernl.files follows the account's file-server list (kind 10063) with well-known defaults, and Settings edits it. createBlossomUploader uses blossom-client-sdk to upload to the first server and mirror to the rest; any server storing the file is a success. The person is asked once per file, with its type, size, servers and who can see it, before anything is signed or sent. Records D-032. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main took D-032 for the link gate; the upload decision is D-033. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…capability still unoffered Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds the
uploadcapability (NAP-UPLOAD), which 16 published applets require.blossom-client-sdk(multiServerUpload) behind kehto'screateUploadService. The file goes to the first server and is mirrored to the rest. Any server storing it is a success (D-028), and the result lists every copy plus NIP-94 tags.kernl.filesfollows the account's file-server list (BUD-03, kind 10063), with defaults blossom.primal.net, nostr.download and blossom.band. Settings has a File servers section to edit and publish the list. Applets never choose servers.public, a newConsentSummaryseverity. One kind 24242 authorization covers every server. Read-only sessions are refused, and an applet the shell cannot name is refused without asking.Verification
pnpm checkpasses: 1449 tests, 100% coverage, slop 100.file-uploads.feature.upload.uploadover its port to the consent prompt, and a "no" cancels it.🤖 Generated with Claude Code