tcmts.cli.announce

ANNOUNCE_SCOPE "atproto repo:codes.tcm.release repo:codes.tcm.review repo:codes.tcm.advisory repo:codes.tcm.yank"
What signing in for tcm asks to be allowed: writing its records (releases, reviews, advisories, yanks), and nothing else. One sign-in does for announcing and attesting.
announceAndTell (cb: Codebase, rel: Release, o: { sources: string[]; session: OAuthSession; }) => Promise<void>
Announce a release of this codebase as the signed-in account, fetched from `sources`, and say so: where the record is, and which sources don't have the release yet (it's announced anyway; a push sends it).
announceRelease (s: OAuthSession, record: ReleaseRecord) => Promise<{ uri: string; was: "new" | "same" | "updated";…
Write a release's record to the signed-in account's repository. A version is one record: announced again, it's left as it is when it says the same, has its sources replaced when only they differ, and is refused when it names something else.
announceSources (cb: Codebase, pkg: string, given: string[]) => string[]
Where a package's release is announced as fetched from: the `--source` URLs given (kept for next time), else the ones kept, else origin, if it's a server.
announcedReleases (id: Identity) => Promise<ReleaseRecord[]>
The releases an account has announced: its `codes.tcm.release` records, read from the PDS its DID document names. A record that isn't one, or isn't at its own key (`<package>:<version>`), is left out.
releaseRecord (cb: Codebase, r: Release, sources: string[]) => Promise<ReleaseRecord>
The record announcing a release of this codebase, fetched from `sources`.
resolveAnnounced (who: string, what: string) => Promise<{ id: Identity; record: ReleaseRecord; }>
An announced release: `what` (`geo@1.2.0`, or `geo` for its highest version) among those `who` (a handle, checked both ways, or a DID) has announced, as their repository signs it (`signedRecord`: what a PDS lists isn't taken on its word).
sourcesSetting (pkg: string) => string
The codebase setting keeping where a package's announced releases can be fetched from.