@singi-labs/sifa-sdk 0.19.38 → 0.19.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -567,6 +567,7 @@ declare const APP_CATEGORY_MAP: {
567
567
  readonly atmob: "Pastes";
568
568
  readonly tokono: "Video";
569
569
  readonly portable: "Social";
570
+ readonly rpgactor: "Art";
570
571
  readonly linkat: "Links";
571
572
  readonly kipclip: "Links";
572
573
  readonly statusphere: "Social";
@@ -1803,11 +1804,12 @@ interface ActivityItem {
1803
1804
  * standard-site; "posted" spans Bluesky and Picosky) so a day-grouped feed
1804
1805
  * reads like sentences.
1805
1806
  */
1806
- declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith", "supported", "verified"];
1807
+ declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith", "supported", "verified", "received", "styledCharacter"];
1807
1808
  type StreamVerb = (typeof STREAM_VERBS)[number];
1808
1809
  /** Zod enum for a {@link StreamVerb}, shared with the view-model schema. */
1809
1810
  declare const streamVerbSchema: z.ZodEnum<{
1810
1811
  created: "created";
1812
+ styledCharacter: "styledCharacter";
1811
1813
  joined: "joined";
1812
1814
  wasAt: "wasAt";
1813
1815
  replied: "replied";
@@ -1824,6 +1826,7 @@ declare const streamVerbSchema: z.ZodEnum<{
1824
1826
  rsvped: "rsvped";
1825
1827
  commented: "commented";
1826
1828
  verified: "verified";
1829
+ received: "received";
1827
1830
  supported: "supported";
1828
1831
  endorsed: "endorsed";
1829
1832
  presented: "presented";
package/dist/index.d.ts CHANGED
@@ -567,6 +567,7 @@ declare const APP_CATEGORY_MAP: {
567
567
  readonly atmob: "Pastes";
568
568
  readonly tokono: "Video";
569
569
  readonly portable: "Social";
570
+ readonly rpgactor: "Art";
570
571
  readonly linkat: "Links";
571
572
  readonly kipclip: "Links";
572
573
  readonly statusphere: "Social";
@@ -1803,11 +1804,12 @@ interface ActivityItem {
1803
1804
  * standard-site; "posted" spans Bluesky and Picosky) so a day-grouped feed
1804
1805
  * reads like sentences.
1805
1806
  */
1806
- declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith", "supported", "verified"];
1807
+ declare const STREAM_VERBS: readonly ["posted", "reposted", "published", "presented", "endorsed", "joined", "shipped", "reviewed", "created", "commented", "replied", "rsvped", "liked", "followed", "bookmarked", "registered", "annotated", "streamed", "wrote", "wasAt", "metWith", "supported", "verified", "received", "styledCharacter"];
1807
1808
  type StreamVerb = (typeof STREAM_VERBS)[number];
1808
1809
  /** Zod enum for a {@link StreamVerb}, shared with the view-model schema. */
1809
1810
  declare const streamVerbSchema: z.ZodEnum<{
1810
1811
  created: "created";
1812
+ styledCharacter: "styledCharacter";
1811
1813
  joined: "joined";
1812
1814
  wasAt: "wasAt";
1813
1815
  replied: "replied";
@@ -1824,6 +1826,7 @@ declare const streamVerbSchema: z.ZodEnum<{
1824
1826
  rsvped: "rsvped";
1825
1827
  commented: "commented";
1826
1828
  verified: "verified";
1829
+ received: "received";
1827
1830
  supported: "supported";
1828
1831
  endorsed: "endorsed";
1829
1832
  presented: "presented";
package/dist/index.js CHANGED
@@ -1362,6 +1362,8 @@ var APP_CATEGORY_MAP = {
1362
1362
  // ma.tokono.byov.video — authored videos hosted via the tokono.ma "bring your own video" feature
1363
1363
  portable: "Social",
1364
1364
  // agency.portable.membership — joining a community (a commitment), attested by another actor
1365
+ rpgactor: "Art",
1366
+ // actor.rpg.sprite + equipment.rpg.item: a pixel-art RPG character and the equipment items it was given
1365
1367
  // Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
1366
1368
  // no backend scan collection yet)
1367
1369
  linkat: "Links",
@@ -1398,6 +1400,16 @@ var activity_tiers_default = {
1398
1400
  }
1399
1401
  },
1400
1402
  lexicons: {
1403
+ "actor.rpg.sprite": {
1404
+ tier: "creation",
1405
+ app: "rpgactor",
1406
+ notes: "The player's pixel-art RPG character sprite sheet (rkey self), portable across games."
1407
+ },
1408
+ "equipment.rpg.item": {
1409
+ tier: "creation",
1410
+ app: "rpgactor",
1411
+ notes: "An equipment item the player accepted from a provider, in the player's own repo. The provider-side equipment.rpg.give stays filtered."
1412
+ },
1401
1413
  "agency.portable.membership": {
1402
1414
  tier: "creation",
1403
1415
  app: "portable",
@@ -3846,6 +3858,13 @@ var APP_URL_PATTERNS = Object.freeze({
3846
3858
  portable: {
3847
3859
  // agency.portable (handle portable.agency) has no resolving website, and a
3848
3860
  // membership record has no page of its own. Cards render non-clickable.
3861
+ },
3862
+ rpgactor: {
3863
+ // rpg.actor renders one character page per player, holding the sprite and
3864
+ // every equipped item. Sprites (rkey self) and items (rkey = item id) have
3865
+ // no page of their own, so both link to the player. Verified live:
3866
+ // GET /{handle} returns 200 with og:url https://rpg.actor/{handle}.
3867
+ profileUrlPattern: "https://rpg.actor/{handle}"
3849
3868
  }
3850
3869
  });
3851
3870
  var COLLECTION_TO_APP = [
@@ -3938,7 +3957,9 @@ var COLLECTION_TO_APP = [
3938
3957
  // Onboard from the upcoming profile-of-the-day audit.
3939
3958
  ["in.atmob.paste.", "atmob"],
3940
3959
  ["ma.tokono.byov.", "tokono"],
3941
- ["agency.portable.", "portable"]
3960
+ ["agency.portable.", "portable"],
3961
+ ["actor.rpg.", "rpgactor"],
3962
+ ["equipment.rpg.", "rpgactor"]
3942
3963
  ];
3943
3964
 
3944
3965
  // src/cards/resolve-card-url.ts
@@ -4267,10 +4288,11 @@ function getPublisherFromSiteUrl(siteUrl) {
4267
4288
  // src/stream/verbs.json
4268
4289
  var verbs_default = {
4269
4290
  $schema: "https://sifa.id/schemas/activity-verbs/v1.json",
4270
- version: "1.6.0",
4271
- updated: "2026-09-20",
4291
+ version: "1.7.0",
4292
+ updated: "2026-09-26",
4272
4293
  defaultVerb: "created",
4273
4294
  verbs: {
4295
+ "actor.rpg.sprite": "styledCharacter",
4274
4296
  "agency.portable.membership": "joined",
4275
4297
  "app.beaconbits.beacon": "wasAt",
4276
4298
  "app.atmobb.discussion.reply": "replied",
@@ -4294,6 +4316,7 @@ var verbs_default = {
4294
4316
  "community.opensocial.membership": "joined",
4295
4317
  "computer.aetheros.page": "published",
4296
4318
  "dev.keytrace.claim": "verified",
4319
+ "equipment.rpg.item": "received",
4297
4320
  "eu.atcommons.member": "joined",
4298
4321
  "fm.plyr.comment": "commented",
4299
4322
  "forum.barazo.post": "posted",
@@ -4349,7 +4372,11 @@ var STREAM_VERBS = [
4349
4372
  "wasAt",
4350
4373
  "metWith",
4351
4374
  "supported",
4352
- "verified"
4375
+ "verified",
4376
+ // rpg.actor: accepting an equipment item, and (re)composing the character's
4377
+ // pixel-art sprite.
4378
+ "received",
4379
+ "styledCharacter"
4353
4380
  ];
4354
4381
  var streamVerbSchema = z.enum(STREAM_VERBS);
4355
4382
  var verbMapSchema = z.object({
@@ -4813,7 +4840,9 @@ var TITLE_BY_VERB = {
4813
4840
  wasAt: () => "Was at",
4814
4841
  metWith: () => "Met with",
4815
4842
  supported: () => "Supported",
4816
- verified: () => "Verified"
4843
+ verified: () => "Verified",
4844
+ received: () => "Received",
4845
+ styledCharacter: () => "Styled a character"
4817
4846
  };
4818
4847
  function buildTitle(verb, label, hasSubject) {
4819
4848
  return TITLE_BY_VERB[verb](label, hasSubject);
@@ -7006,7 +7035,7 @@ function describeSifaRecord(collection, value) {
7006
7035
  }
7007
7036
 
7008
7037
  // src/index.ts
7009
- var SIFA_SDK_VERSION = "0.19.38";
7038
+ var SIFA_SDK_VERSION = "0.19.40";
7010
7039
 
7011
7040
  export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EQF_LEVEL_LABELS, EQF_LEVEL_OPTIONS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_LABELS, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_GROUP_LABELS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_LABELS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, RelatedIdentifierSchema, SEARCH_FILTER_DEFS, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEmploymentTypeLabel, getEqfLevelLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabel, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupPublicationVersions, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, readEqfLevel, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, shouldRenderHighlights, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, suggestEqfLevelFromDegree, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
7012
7041
  //# sourceMappingURL=index.js.map