Skip to content

Conversation

@tom-sherman
Copy link
Contributor

This replaces our homebrew handle/did resolution code, it shouldn't change the behaviour at all.

It makes it easier for us to support did:webs in a followup PR because we can just swap plc resolver for the hybrid did:plc/did:web one.

To unblock did:web support we need to figure out did:web deletion, see https://bsky.app/profile/did:plc:2xau7wbgdq4phuou2ypwuen7/post/3mab3ukanu226

@vercel
Copy link

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
frontpage Ready Ready Preview, Comment Dec 18, 2025 3:28pm
frontpage-oauth-preview-client Ready Ready Preview, Comment Dec 18, 2025 3:28pm
unravel Error Error Dec 18, 2025 3:28pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
atproto-browser Skipped Skipped Dec 18, 2025 3:28pm

@vercel vercel bot temporarily deployed to Preview – unravel December 18, 2025 12:23 Inactive
@vercel vercel bot temporarily deployed to Preview – atproto-browser December 18, 2025 12:23 Inactive
@vercel vercel bot temporarily deployed to Preview – frontpage-oauth-preview-client December 18, 2025 12:23 Inactive
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates identity operations from custom implementation to the atcute library, replacing homebrew handle/DID resolution code with @atcute/identity and @atcute/identity-resolver packages. This migration prepares the codebase for future did:web support by enabling the use of atcute's hybrid DID resolver.

Key Changes:

  • Replaced custom DNS and HTTP handle resolution with atcute's CompositeHandleResolver
  • Migrated DID document fetching from manual PLC directory calls to atcute's PlcDidDocumentResolver
  • Centralized User-Agent string into a constant and updated its value

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pnpm-workspace.yaml Added atcute packages to catalog with version constraints
pnpm-lock.yaml Updated lockfile with atcute dependencies and transitive dependencies
packages/frontpage/package.json Added @atcute/identity and @atcute/identity-resolver dependencies
packages/frontpage/lib/data/atproto/identity.ts Replaced custom handle resolution with atcute's CompositeHandleResolver
packages/frontpage/lib/data/atproto/did.ts Migrated DID document resolution to atcute's PlcDidDocumentResolver, narrowed DID type
packages/frontpage/lib/constants.ts Added FRONTPAGE_APPVIEW_USER_AGENT constant
packages/frontpage/lib/auth.ts Updated to use centralized User-Agent constant
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@vercel vercel bot temporarily deployed to Preview – unravel December 18, 2025 14:04 Inactive
@vercel vercel bot temporarily deployed to Preview – frontpage-oauth-preview-client December 18, 2025 14:04 Inactive
@vercel vercel bot temporarily deployed to Preview – atproto-browser December 18, 2025 14:04 Inactive
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@vercel vercel bot temporarily deployed to Preview – frontpage-oauth-preview-client December 18, 2025 15:26 Inactive
@vercel vercel bot temporarily deployed to Preview – atproto-browser December 18, 2025 15:26 Inactive
@vercel vercel bot temporarily deployed to Preview – unravel December 18, 2025 15:26 Inactive
@vercel vercel bot temporarily deployed to Preview – unravel December 18, 2025 15:27 Inactive
@vercel vercel bot temporarily deployed to Preview – atproto-browser December 18, 2025 15:27 Inactive
@vercel vercel bot temporarily deployed to Preview – frontpage-oauth-preview-client December 18, 2025 15:27 Inactive
@tom-sherman tom-sherman merged commit 3c65aa5 into main Dec 18, 2025
14 checks passed
@tom-sherman tom-sherman deleted the atcute-identity branch December 18, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants