at_primitives

AT Protocol identifier types for Dart

The identifier layer under the atproto.dart packages: handle and DID validation, AT URI parsing, NSID, TID and record keys. It declares no other package in the monorepo.

ActivePersonalOpen source

Record

Kind
Package
Role
Author
Started
September 2025
Updated
July 2026
Licence
BSD-3-Clause
pub
at_primitives · atprotodart.com

Technology3

Evidence14 sources

The pubspec describes it as primitive types and utilities for AT Protocol, used across AT Protocol implementationssourcegithub.com The README describes the package as a consolidation of the previously separate at_identifier, at_uri and nsid packages, with the API unchanged so that migration is an import rewrite and nothing elsedocsgithub.com pub.dev marks at_identifier discontinued and names at_primitives as its replacementregistrypub.dev lib/ exposes five sub-barrels — at_identifier.dart, at_uri.dart, nsid.dart, tid.dart and record_key.dart — and no single at_primitives.dart barrel, so a caller imports only the module it needssourcegithub.com Its pubspec declares only freezed_annotation and json_annotation, and no other atproto.dart packagesourcegithub.com The xrpc package's pubspec.yaml declares at_primitives among its dependenciessourcegithub.com The lexicon package's pubspec.yaml declares at_primitives among its dependenciessourcegithub.com The atproto_core package's pubspec.yaml declares at_primitives among its dependenciessourcegithub.com The bluesky_cli package's pubspec.yaml declares at_primitives among its dependenciessourcegithub.com The CHANGELOG records v1.2.0 as adding TidGenerator, a strictly monotonic generator for record keys whose next() never repeats or regresses even when the system clock is coarse or steps backwardsdocsgithub.com pub.dev's score page lists six supported platforms — Android, iOS, Linux, macOS, Web and Windows — and reports the package WASM-readypackagepub.dev The first commit adding packages/at_primitives is "feat: consolidate at_identifier, at_uri, and nsid into at_primitives", dated 2025-09-25repogithub.com Its LICENSE is a relative pointer to the monorepo's root BSD-3-Clause LICENSElicencegithub.com The older /docs/packages/at_primitives path serves a meta-refresh stub whose own rel=canonical points at /docs/products/packages/at_primitives, which is the page this record linkssiteatprotodart.com

Links3

Relations5 edges

atproto.dartPart ofDart SDK monorepo for AT Protocol and Bluesky xrpcUsed byThe XRPC transport layer for AT Protocol lexiconUsed byA Lexicon parser for the AT Protocol atproto_coreUsed byShared core layer for the atproto.dart SDK bluesky_cliUsed byA command-line client for Bluesky Social