@singi-labs/sifa-sdk 0.12.70 → 0.12.72

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.cjs CHANGED
@@ -1103,6 +1103,9 @@ var APP_CATEGORY_MAP = {
1103
1103
  // Onboard from trezy.codes profile audit.
1104
1104
  atmobb: "Social",
1105
1105
  // app.atmobb.discussion.{thread,reply} — federated forum threads + replies
1106
+ // Onboard from aaronstevenwhite.io profile audit.
1107
+ chive: "Research",
1108
+ // pub.chive.eprint.submission — preprints on chive.pub
1106
1109
  // Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
1107
1110
  // no backend scan collection yet)
1108
1111
  linkat: "Links",
@@ -1656,6 +1659,11 @@ var activity_tiers_default = {
1656
1659
  app: "streamplace",
1657
1660
  notes: "Stream configuration metadata."
1658
1661
  },
1662
+ "pub.chive.eprint.submission": {
1663
+ tier: "creation",
1664
+ app: "chive",
1665
+ notes: "An authored preprint: title, ordered authors with affiliations, abstract."
1666
+ },
1659
1667
  "pub.leaflet.authFullPermissions": {
1660
1668
  tier: "filtered",
1661
1669
  app: "leaflet",
@@ -2721,6 +2729,9 @@ var ALL_SECTIONS = [
2721
2729
  { id: "courses", labelKey: "courses", ns: "sections", group: "qualifications" },
2722
2730
  { id: "awards", labelKey: "awards", ns: "sections", group: "more" },
2723
2731
  { id: "involvement", labelKey: "involvement", ns: "sections", group: "more" },
2732
+ // Its own section rather than a group under involvement: that record is about
2733
+ // work contributed, this one about capital deployed.
2734
+ { id: "investments", labelKey: "investments", ns: "sections", group: "more" },
2724
2735
  { id: "languages", labelKey: "languages", ns: "sections", group: "more" },
2725
2736
  {
2726
2737
  id: "other-profiles",
@@ -2751,6 +2762,8 @@ function isSectionPopulated(profile, id) {
2751
2762
  return Boolean(profile.presentations?.length) || Boolean(profile.presentationDeliveries?.length);
2752
2763
  case "involvement":
2753
2764
  return Boolean(profile.involvement?.length);
2765
+ case "investments":
2766
+ return Boolean(profile.investments?.length);
2754
2767
  case "awards":
2755
2768
  return Boolean(profile.honors?.length);
2756
2769
  case "languages":
@@ -2784,6 +2797,7 @@ var SECTION_LABELS = {
2784
2797
  courses: "Courses",
2785
2798
  awards: "Awards",
2786
2799
  involvement: "Involvement",
2800
+ investments: "Investments",
2787
2801
  languages: "Languages",
2788
2802
  "other-profiles": "Links"
2789
2803
  };
@@ -3174,6 +3188,14 @@ var APP_URL_PATTERNS = Object.freeze({
3174
3188
  // public per-record viewer. The card embeds the deck from the record; the
3175
3189
  // outbound link points at the author's Aether OS space (mirrors aetheros).
3176
3190
  profileUrlPattern: "https://aetheros.computer/{handle}"
3191
+ },
3192
+ chive: {
3193
+ // Chive's eprint route is a catch-all that decodes a single URI-encoded
3194
+ // at-uri segment: /eprints/<encodeURIComponent(at://did/nsid/rkey)>.
3195
+ // {did} and {rkey} are URI-encoded on interpolation, so the separators
3196
+ // are pre-encoded as literals here rather than resolved bespoke.
3197
+ urlPattern: "https://chive.pub/eprints/at%3A%2F%2F{did}%2Fpub.chive.eprint.submission%2F{rkey}",
3198
+ profileUrlPattern: "https://chive.pub/authors/{did}"
3177
3199
  }
3178
3200
  });
3179
3201
  var COLLECTION_TO_APP = [
@@ -3245,7 +3267,9 @@ var COLLECTION_TO_APP = [
3245
3267
  // Onboard from willow.sh profile audit.
3246
3268
  ["dev.baileytownsend.guestbook.", "guestbook"],
3247
3269
  // Onboard from trezy.codes profile audit.
3248
- ["app.atmobb.", "atmobb"]
3270
+ ["app.atmobb.", "atmobb"],
3271
+ // Onboard from aaronstevenwhite.io profile audit.
3272
+ ["pub.chive.", "chive"]
3249
3273
  ];
3250
3274
 
3251
3275
  // src/cards/resolve-card-url.ts
@@ -5755,7 +5779,7 @@ function describeSifaRecord(collection, value) {
5755
5779
  }
5756
5780
 
5757
5781
  // src/index.ts
5758
- var SIFA_SDK_VERSION = "0.12.70";
5782
+ var SIFA_SDK_VERSION = "0.12.72";
5759
5783
 
5760
5784
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
5761
5785
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;