your personal website on atproto - mirror blento.app

sources: new @blento/sources package — declarative source resolver master

Pure, dependency-light package that resolves a node's declarative `Source` (imported from @blento/schema) into typed data: - resolve(source, ctx, {cursor, cache}) → { data, nextCursor } - kinds: #atproto (XRPC, PDS/appview policy + $self substitution), #http (host-allowlist guarded GET), #ref (resolveGraph aliasing, no ref→ref chains); #custom stubbed as not-implemented - injectable CacheAdapter + in-memory adapter; stable cache key from the resolved spec (+ cursor); cursor pagination (one page per fetch) - 18 unit tests + a real-data check.ts (live getAuthorFeed/listRecords) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>