@ai-matrx/associations 0.13.23 → 0.13.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog — @ai-matrx/associations
2
2
 
3
+ ## 0.13.25
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/associations/v0.13.23..npm/associations/v0.13.25 -- apps/shared/associations`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.13.24
10
+
11
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
12
+ `git diff npm/associations/v0.13.23..npm/associations/v0.13.24 -- apps/shared/associations`).
13
+ No source changes intended and no consumer action required.
14
+
3
15
  ## 0.13.23
4
16
 
5
17
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -13,10 +25,11 @@ No source changes intended and no consumer action required.
13
25
  `AssociationCard` again draw the colored group dot, the one-line group description, the colored
14
26
  top bar, the tinted icon chip, the "N attached" line and the square "+" — undoing the 2026-09-27
15
27
  page-pass restyle (0b7ed5ee91, ab22ca7f10, 8ab54b828c). The 12px count line (6fb9d79138) stays.
16
- - New opt-in `look?: "tiles" | "simplified"` on both (default `"tiles"`). `"simplified"` is the
17
- one-line uppercase look, with the "+" glyph now centered in its circle (an `ml-auto` meant for
18
- the button was landing on the icon). Not used by any page until Arman picks it.
19
- Consumer action: none.
28
+ - New opt-in `look?: "tiles" | "simplified" | "compact"` on both (default `"tiles"`, used
29
+ everywhere). `"simplified"`: one uppercase line with the classic square "+". `"compact"`: one
30
+ line with the real `PlusTapButton variant="outline"` from `@ai-matrx/tap-target` (new
31
+ dependency) — no glass, no padding around it. The CRM record uses `"compact"`.
32
+ Consumer action: none (hosts already load `@ai-matrx/tap-target/styles.css`).
20
33
  - Root now exports `isRegisteredPair(source, target)` and `registeredEdgeLabel(source, target)`
21
34
  from the generated association registry, so a host decides an edge's direction from the package
22
35
  instead of reading `platform.association_types` itself (A3-F, the Source input's file filing).
@@ -684,7 +684,7 @@ interface AssociationsConfig {
684
684
  authorDisplay?: AuthorDisplayPort;
685
685
  }
686
686
 
687
- declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
687
+ declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "processed_document", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
688
688
  type AssociationTargetType = (typeof ASSOCIATION_TARGET_TYPES)[number];
689
689
  interface AssociationEdge {
690
690
  id: string;
@@ -1697,14 +1697,15 @@ interface AssociationCardProps {
1697
1697
  /** Override the page's primary entity. Defaults to PrimaryEntityProvider. */
1698
1698
  container?: PrimaryEntity;
1699
1699
  /**
1700
- * "tiles" (default): the tinted icon chip, role-colored top bar, "N attached"
1701
- * line and square "+". "simplified": one uppercase header line with a round
1702
- * ghost "+" — opt-in only.
1700
+ * "tiles" (default, everywhere): the tinted icon chip, role-colored top bar,
1701
+ * "N attached" line and square "+". Opt-in one-line looks for pages that do
1702
+ * not want the full card: "simplified" (square "+") and "compact" (the
1703
+ * outline PlusTapButton — the CRM record's look).
1703
1704
  */
1704
1705
  look?: AssociationCardLook;
1705
1706
  className?: string;
1706
1707
  }
1707
- type AssociationCardLook = "tiles" | "simplified";
1708
+ type AssociationCardLook = "tiles" | "simplified" | "compact";
1708
1709
  declare function AssociationCard({ token, container: containerProp, look, className, }: AssociationCardProps): react.JSX.Element | null;
1709
1710
 
1710
1711
  interface AssociationCardGridProps {
@@ -1713,9 +1714,10 @@ interface AssociationCardGridProps {
1713
1714
  /** Registry tokens this surface cannot honestly support yet. */
1714
1715
  excludeTokens?: EntityTypeToken[];
1715
1716
  /**
1716
- * "tiles" (default): each group has a colored dot, its title and a one-line
1717
- * description; cards sit in a 1/2/3-column grid. "simplified": an uppercase
1718
- * eyebrow over wrapping one-line cards — opt-in only.
1717
+ * "tiles" (default, everywhere): each group has a colored dot, its title and
1718
+ * a one-line description; cards sit in a 1/2/3-column grid. Opt-in
1719
+ * "simplified" / "compact": an uppercase eyebrow over wrapping one-line
1720
+ * cards (see AssociationCard for the two "+" buttons).
1719
1721
  */
1720
1722
  look?: AssociationCardLook;
1721
1723
  className?: string;
@@ -684,7 +684,7 @@ interface AssociationsConfig {
684
684
  authorDisplay?: AuthorDisplayPort;
685
685
  }
686
686
 
687
- declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
687
+ declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "processed_document", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
688
688
  type AssociationTargetType = (typeof ASSOCIATION_TARGET_TYPES)[number];
689
689
  interface AssociationEdge {
690
690
  id: string;
@@ -1697,14 +1697,15 @@ interface AssociationCardProps {
1697
1697
  /** Override the page's primary entity. Defaults to PrimaryEntityProvider. */
1698
1698
  container?: PrimaryEntity;
1699
1699
  /**
1700
- * "tiles" (default): the tinted icon chip, role-colored top bar, "N attached"
1701
- * line and square "+". "simplified": one uppercase header line with a round
1702
- * ghost "+" — opt-in only.
1700
+ * "tiles" (default, everywhere): the tinted icon chip, role-colored top bar,
1701
+ * "N attached" line and square "+". Opt-in one-line looks for pages that do
1702
+ * not want the full card: "simplified" (square "+") and "compact" (the
1703
+ * outline PlusTapButton — the CRM record's look).
1703
1704
  */
1704
1705
  look?: AssociationCardLook;
1705
1706
  className?: string;
1706
1707
  }
1707
- type AssociationCardLook = "tiles" | "simplified";
1708
+ type AssociationCardLook = "tiles" | "simplified" | "compact";
1708
1709
  declare function AssociationCard({ token, container: containerProp, look, className, }: AssociationCardProps): react.JSX.Element | null;
1709
1710
 
1710
1711
  interface AssociationCardGridProps {
@@ -1713,9 +1714,10 @@ interface AssociationCardGridProps {
1713
1714
  /** Registry tokens this surface cannot honestly support yet. */
1714
1715
  excludeTokens?: EntityTypeToken[];
1715
1716
  /**
1716
- * "tiles" (default): each group has a colored dot, its title and a one-line
1717
- * description; cards sit in a 1/2/3-column grid. "simplified": an uppercase
1718
- * eyebrow over wrapping one-line cards — opt-in only.
1717
+ * "tiles" (default, everywhere): each group has a colored dot, its title and
1718
+ * a one-line description; cards sit in a 1/2/3-column grid. Opt-in
1719
+ * "simplified" / "compact": an uppercase eyebrow over wrapping one-line
1720
+ * cards (see AssociationCard for the two "+" buttons).
1719
1721
  */
1720
1722
  look?: AssociationCardLook;
1721
1723
  className?: string;
@@ -1,4 +1,4 @@
1
- import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-D2Im-Tjl.cjs';
1
+ import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-vvtD75Sp.cjs';
2
2
  import 'react';
3
3
 
4
4
  /** The universal ownership column post-2026-reorg. */
@@ -1,4 +1,4 @@
1
- import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-D2Im-Tjl.js';
1
+ import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-vvtD75Sp.js';
2
2
  import 'react';
3
3
 
4
4
  /** The universal ownership column post-2026-reorg. */
package/dist/index.cjs CHANGED
@@ -2196,6 +2196,8 @@ var ASSOCIATION_TARGET_TYPES = [
2196
2196
  // a note — the origin a converted study artifact links back to (artifact→note 'source' lineage, P4)
2197
2197
  "file",
2198
2198
  // a file (card→file media + source lineage)
2199
+ "processed_document",
2200
+ // a processed source document (study-aid source lineage and kit membership)
2199
2201
  "quiz_session",
2200
2202
  // a quiz a card is used in
2201
2203
  "agent",