atproto git client atgc.codes

feat(profile): view, create and edit the Tangled profile #1462

targeting main from claude/profile-cmd
Open opened by and assigned to orbit-nodachi.test.pds.did.bot
targeting main from claude/profile-cmd

Today atgc creates a minimal org.tangled.actor.profile/self record implicitly before an account's first publishing write, because tangled.org hides an account without one. There is no way to read that record, fill in any of its fields, or change one afterwards; the only way to manage a profile is tangled.org's web interface.

This adds atgc profile view, create and edit. view is a public PDS read that names pinned repositories as owner/name and turns the avatar into a URL, and a missing record exits 5 pointing at profile create. create and edit cover every field the lexicon defines, check all limits before writing, upload a PNG or JPEG avatar to the account's own PDS, and write with a swapRecord precondition so a concurrent edit exits 7 instead of losing a change. edit keeps fields it does not know, and the implicit create behaves exactly as before, now in the same cmd/profile module. Only scopes atgc already requests are used: repo:org.tangled.actor.profile for the record and blob:*/* for the avatar.

before and after

🤖 Generated with Claude Code

Commits 0