Repository navigation
Feature apps that use ATProto Spaces on the home page and in /apps - #69
Merged
Merged
Conversation
Detect Spaces (permissioned data) support from a listing's own OAuth client scopes: a `space:` token, or an `include:` permission set with a `resource: "space"` entry. Ignores the authorization server's scopes_supported so a Spaces-capable PDS doesn't flag every app. - Home: "Built for Spaces" section (hidden when empty) - /apps: "Supports Spaces" extra (`?has=spaces`), also in searchListings - Scopes popover: group and describe space scopes and bundle entries Derived in SQL from existing probe data, so no migration. 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.
Spaces (permissioned data, proposal 0016) just shipped. This detects which listings use it and surfaces them.
Detection
A listing supports Spaces when its own OAuth client asks for it:
space:<spaceType>[?authority=…&action=…&manage=…]token in the published clientscopeline, orinclude:permission set with aresource: "space"entry.It deliberately ignores
oauth_scopes_distinct. That column also merges the authorization server'sscopes_supported, so a Spaces-capable PDS would flag every app. Bundles probed before this change show up asresource: space.under "Technical permission", and those match too.The check is a SQL predicate (
sqlProbeRequestsSpaces) over existing probe columns, so no migration is needed and current probe data works right away.Changes
/apps?has=spaces. It's hidden when empty.?has=spaces). Added tosearchListingsknownValuestoo; the lexicon needs republishing.space:tokens and bundle entries. Space collections get their own list label, so private space data doesn't feed the public repo lexicon keys.Testing
repo:com.example.space.🤖 Generated with Claude Code