@ai-matrx/associations 0.13.21 → 0.13.23

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,27 @@
1
1
  # Changelog — @ai-matrx/associations
2
2
 
3
+ ## 0.13.23
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/associations/v0.13.22..npm/associations/v0.13.23 -- apps/shared/associations`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.13.22
10
+ ### Unreleased
11
+
12
+ - **Resources grid restored to its own look (Arman, 2026-09-29).** `AssociationCardGrid` and
13
+ `AssociationCard` again draw the colored group dot, the one-line group description, the colored
14
+ top bar, the tinted icon chip, the "N attached" line and the square "+" — undoing the 2026-09-27
15
+ 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.
20
+ - Root now exports `isRegisteredPair(source, target)` and `registeredEdgeLabel(source, target)`
21
+ from the generated association registry, so a host decides an edge's direction from the package
22
+ instead of reading `platform.association_types` itself (A3-F, the Source input's file filing).
23
+ Consumer action: replace any client read of `platform.association_types` with these.
24
+
3
25
  ## 0.13.21
4
26
 
5
27
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -1696,18 +1696,31 @@ interface AssociationCardProps {
1696
1696
  token: EntityTypeToken;
1697
1697
  /** Override the page's primary entity. Defaults to PrimaryEntityProvider. */
1698
1698
  container?: PrimaryEntity;
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.
1703
+ */
1704
+ look?: AssociationCardLook;
1699
1705
  className?: string;
1700
1706
  }
1701
- declare function AssociationCard({ token, container: containerProp, className, }: AssociationCardProps): react.JSX.Element | null;
1707
+ type AssociationCardLook = "tiles" | "simplified";
1708
+ declare function AssociationCard({ token, container: containerProp, look, className, }: AssociationCardProps): react.JSX.Element | null;
1702
1709
 
1703
1710
  interface AssociationCardGridProps {
1704
1711
  /** Tokens to show. Defaults to every registry-listable token. */
1705
1712
  tokens?: EntityTypeToken[];
1706
1713
  /** Registry tokens this surface cannot honestly support yet. */
1707
1714
  excludeTokens?: EntityTypeToken[];
1715
+ /**
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.
1719
+ */
1720
+ look?: AssociationCardLook;
1708
1721
  className?: string;
1709
1722
  }
1710
- declare function AssociationCardGrid({ tokens, excludeTokens, className, }: AssociationCardGridProps): react.JSX.Element;
1723
+ declare function AssociationCardGrid({ tokens, excludeTokens, look, className, }: AssociationCardGridProps): react.JSX.Element;
1711
1724
 
1712
1725
  /** One attached resource, as the list renders it. Tokens are CANONICAL. */
1713
1726
  interface ContainerResourceRow {
@@ -1993,4 +2006,4 @@ declare function buildCommentTree(comments: readonly PlatformComment[]): {
1993
2006
  };
1994
2007
  declare function CommentThread({ token, id, orgId, showHeader, className, }: CommentThreadProps): react.JSX.Element;
1995
2008
 
1996
- export { DefaultEntityIcon as $, type AssociationCaptureToolbarProps as A, AssociationCaptureToolbar as B, type CategorySelectProps as C, AssociationCard as D, type EntityDoorsPort as E, AssociationCardGrid as F, AssociationEntitySelect as G, type AssociationEntitySelectAdapter as H, type AssociationEntitySelectItem as I, AssociationList as J, AssociationWindow as K, type AssociationWriteResult as L, AttachedItemsSheet as M, type CaptureAttach as N, type CaptureAttachResult as O, type PickerOverrideMap as P, CaptureToolbarAction as Q, CategorySelect as R, CategoryTagPicker as S, CommentComposer as T, type UniversalAssociationPickerProps as U, type CommentComposerProps as V, type WindowShellPort as W, CommentThread as X, type ContainerLink as Y, type ContainerResourceRow as Z, type ContainerResourcesAdapter as _, type AssociationCardProps as a, type PrimaryContainerEntity as a0, type PrimaryEntity as a1, PrimaryEntityProvider as a2, type PrimaryFiledEntity as a3, type TagPickerIcon as a4, UniversalAssociationPicker as a5, type UseAssociationEntitySelectAdapterArgs as a6, type UseAssociationsArgs as a7, type UseAssociationsReturn as a8, type UseContainerLinksArgs as a9, type UseContainerLinksReturn as aa, attachedKey as ab, buildCommentTree as ac, containerLinksArgs as ad, linkDirection as ae, useAssociationEntitySelectAdapter as af, useAssociations as ag, useContainerLinks as ah, useContainerLinksAdapter as ai, useEntityRelationships as aj, usePrimaryEntity as ak, type AssociationCardGridProps as b, type AssociationEntitySelectProps as c, type AssociationListProps as d, type AssociationPickerProps as e, type AssociationWindowProps as f, type AttachedItemsSheetProps as g, type CategoryTagPickerProps as h, type CommentThreadProps as i, type AssociationsNotifier as j, type CapturePort as k, type AuthorDisplayPort as l, type AssociationsStore as m, type CategoryMutationResult as n, type CategoryDimension as o, type PlatformCategory as p, type CategoriesEntry as q, type EntityTypeToken as r, type UniversalCandidate as s, type CandidateRecord as t, type PlatformComment as u, type CommentsEntry as v, type CommentMutationResult as w, type EntityDoorProps as x, type EntityRefProps as y, type ContentRole as z };
2009
+ export { type ContainerResourcesAdapter as $, type AssociationCaptureToolbarProps as A, AssociationCaptureToolbar as B, type CategorySelectProps as C, AssociationCard as D, type EntityDoorsPort as E, AssociationCardGrid as F, type AssociationCardLook as G, AssociationEntitySelect as H, type AssociationEntitySelectAdapter as I, type AssociationEntitySelectItem as J, AssociationList as K, AssociationWindow as L, type AssociationWriteResult as M, AttachedItemsSheet as N, type CaptureAttach as O, type PickerOverrideMap as P, type CaptureAttachResult as Q, CaptureToolbarAction as R, CategorySelect as S, CategoryTagPicker as T, type UniversalAssociationPickerProps as U, CommentComposer as V, type WindowShellPort as W, type CommentComposerProps as X, CommentThread as Y, type ContainerLink as Z, type ContainerResourceRow as _, type AssociationCardProps as a, DefaultEntityIcon as a0, type PrimaryContainerEntity as a1, type PrimaryEntity as a2, PrimaryEntityProvider as a3, type PrimaryFiledEntity as a4, type TagPickerIcon as a5, UniversalAssociationPicker as a6, type UseAssociationEntitySelectAdapterArgs as a7, type UseAssociationsArgs as a8, type UseAssociationsReturn as a9, type UseContainerLinksArgs as aa, type UseContainerLinksReturn as ab, attachedKey as ac, buildCommentTree as ad, containerLinksArgs as ae, linkDirection as af, useAssociationEntitySelectAdapter as ag, useAssociations as ah, useContainerLinks as ai, useContainerLinksAdapter as aj, useEntityRelationships as ak, usePrimaryEntity as al, type AssociationCardGridProps as b, type AssociationEntitySelectProps as c, type AssociationListProps as d, type AssociationPickerProps as e, type AssociationWindowProps as f, type AttachedItemsSheetProps as g, type CategoryTagPickerProps as h, type CommentThreadProps as i, type AssociationsNotifier as j, type CapturePort as k, type AuthorDisplayPort as l, type AssociationsStore as m, type CategoryMutationResult as n, type CategoryDimension as o, type PlatformCategory as p, type CategoriesEntry as q, type EntityTypeToken as r, type UniversalCandidate as s, type CandidateRecord as t, type PlatformComment as u, type CommentsEntry as v, type CommentMutationResult as w, type EntityDoorProps as x, type EntityRefProps as y, type ContentRole as z };
@@ -1696,18 +1696,31 @@ interface AssociationCardProps {
1696
1696
  token: EntityTypeToken;
1697
1697
  /** Override the page's primary entity. Defaults to PrimaryEntityProvider. */
1698
1698
  container?: PrimaryEntity;
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.
1703
+ */
1704
+ look?: AssociationCardLook;
1699
1705
  className?: string;
1700
1706
  }
1701
- declare function AssociationCard({ token, container: containerProp, className, }: AssociationCardProps): react.JSX.Element | null;
1707
+ type AssociationCardLook = "tiles" | "simplified";
1708
+ declare function AssociationCard({ token, container: containerProp, look, className, }: AssociationCardProps): react.JSX.Element | null;
1702
1709
 
1703
1710
  interface AssociationCardGridProps {
1704
1711
  /** Tokens to show. Defaults to every registry-listable token. */
1705
1712
  tokens?: EntityTypeToken[];
1706
1713
  /** Registry tokens this surface cannot honestly support yet. */
1707
1714
  excludeTokens?: EntityTypeToken[];
1715
+ /**
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.
1719
+ */
1720
+ look?: AssociationCardLook;
1708
1721
  className?: string;
1709
1722
  }
1710
- declare function AssociationCardGrid({ tokens, excludeTokens, className, }: AssociationCardGridProps): react.JSX.Element;
1723
+ declare function AssociationCardGrid({ tokens, excludeTokens, look, className, }: AssociationCardGridProps): react.JSX.Element;
1711
1724
 
1712
1725
  /** One attached resource, as the list renders it. Tokens are CANONICAL. */
1713
1726
  interface ContainerResourceRow {
@@ -1993,4 +2006,4 @@ declare function buildCommentTree(comments: readonly PlatformComment[]): {
1993
2006
  };
1994
2007
  declare function CommentThread({ token, id, orgId, showHeader, className, }: CommentThreadProps): react.JSX.Element;
1995
2008
 
1996
- export { DefaultEntityIcon as $, type AssociationCaptureToolbarProps as A, AssociationCaptureToolbar as B, type CategorySelectProps as C, AssociationCard as D, type EntityDoorsPort as E, AssociationCardGrid as F, AssociationEntitySelect as G, type AssociationEntitySelectAdapter as H, type AssociationEntitySelectItem as I, AssociationList as J, AssociationWindow as K, type AssociationWriteResult as L, AttachedItemsSheet as M, type CaptureAttach as N, type CaptureAttachResult as O, type PickerOverrideMap as P, CaptureToolbarAction as Q, CategorySelect as R, CategoryTagPicker as S, CommentComposer as T, type UniversalAssociationPickerProps as U, type CommentComposerProps as V, type WindowShellPort as W, CommentThread as X, type ContainerLink as Y, type ContainerResourceRow as Z, type ContainerResourcesAdapter as _, type AssociationCardProps as a, type PrimaryContainerEntity as a0, type PrimaryEntity as a1, PrimaryEntityProvider as a2, type PrimaryFiledEntity as a3, type TagPickerIcon as a4, UniversalAssociationPicker as a5, type UseAssociationEntitySelectAdapterArgs as a6, type UseAssociationsArgs as a7, type UseAssociationsReturn as a8, type UseContainerLinksArgs as a9, type UseContainerLinksReturn as aa, attachedKey as ab, buildCommentTree as ac, containerLinksArgs as ad, linkDirection as ae, useAssociationEntitySelectAdapter as af, useAssociations as ag, useContainerLinks as ah, useContainerLinksAdapter as ai, useEntityRelationships as aj, usePrimaryEntity as ak, type AssociationCardGridProps as b, type AssociationEntitySelectProps as c, type AssociationListProps as d, type AssociationPickerProps as e, type AssociationWindowProps as f, type AttachedItemsSheetProps as g, type CategoryTagPickerProps as h, type CommentThreadProps as i, type AssociationsNotifier as j, type CapturePort as k, type AuthorDisplayPort as l, type AssociationsStore as m, type CategoryMutationResult as n, type CategoryDimension as o, type PlatformCategory as p, type CategoriesEntry as q, type EntityTypeToken as r, type UniversalCandidate as s, type CandidateRecord as t, type PlatformComment as u, type CommentsEntry as v, type CommentMutationResult as w, type EntityDoorProps as x, type EntityRefProps as y, type ContentRole as z };
2009
+ export { type ContainerResourcesAdapter as $, type AssociationCaptureToolbarProps as A, AssociationCaptureToolbar as B, type CategorySelectProps as C, AssociationCard as D, type EntityDoorsPort as E, AssociationCardGrid as F, type AssociationCardLook as G, AssociationEntitySelect as H, type AssociationEntitySelectAdapter as I, type AssociationEntitySelectItem as J, AssociationList as K, AssociationWindow as L, type AssociationWriteResult as M, AttachedItemsSheet as N, type CaptureAttach as O, type PickerOverrideMap as P, type CaptureAttachResult as Q, CaptureToolbarAction as R, CategorySelect as S, CategoryTagPicker as T, type UniversalAssociationPickerProps as U, CommentComposer as V, type WindowShellPort as W, type CommentComposerProps as X, CommentThread as Y, type ContainerLink as Z, type ContainerResourceRow as _, type AssociationCardProps as a, DefaultEntityIcon as a0, type PrimaryContainerEntity as a1, type PrimaryEntity as a2, PrimaryEntityProvider as a3, type PrimaryFiledEntity as a4, type TagPickerIcon as a5, UniversalAssociationPicker as a6, type UseAssociationEntitySelectAdapterArgs as a7, type UseAssociationsArgs as a8, type UseAssociationsReturn as a9, type UseContainerLinksArgs as aa, type UseContainerLinksReturn as ab, attachedKey as ac, buildCommentTree as ad, containerLinksArgs as ae, linkDirection as af, useAssociationEntitySelectAdapter as ag, useAssociations as ah, useContainerLinks as ai, useContainerLinksAdapter as aj, useEntityRelationships as ak, usePrimaryEntity as al, type AssociationCardGridProps as b, type AssociationEntitySelectProps as c, type AssociationListProps as d, type AssociationPickerProps as e, type AssociationWindowProps as f, type AttachedItemsSheetProps as g, type CategoryTagPickerProps as h, type CommentThreadProps as i, type AssociationsNotifier as j, type CapturePort as k, type AuthorDisplayPort as l, type AssociationsStore as m, type CategoryMutationResult as n, type CategoryDimension as o, type PlatformCategory as p, type CategoriesEntry as q, type EntityTypeToken as r, type UniversalCandidate as s, type CandidateRecord as t, type PlatformComment as u, type CommentsEntry as v, type CommentMutationResult as w, type EntityDoorProps as x, type EntityRefProps as y, type ContentRole as z };
@@ -1,4 +1,4 @@
1
- import { EntityOverlayMap, EntityTypeToken, EntityOverlayEntry, ErrorSink, AssociationsRpcError, AssociationsDataSource, AssociationsIdentity, AssociationTargetType, AssociationsRpcResult, AssociationEdge, AssociationTargetEdge, AssociationSourceEdge, CategoryDimension, PlatformCategory, UserStateKind, UserEntityState, PlatformComment, AssociationsEntry, CategoriesEntry, CommentsEntry, AssociationsConfig } from '../index.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-D2Im-Tjl.cjs';
2
2
  import 'react';
3
3
 
4
4
  /** The universal ownership column post-2026-reorg. */
@@ -1,4 +1,4 @@
1
- import { EntityOverlayMap, EntityTypeToken, EntityOverlayEntry, ErrorSink, AssociationsRpcError, AssociationsDataSource, AssociationsIdentity, AssociationTargetType, AssociationsRpcResult, AssociationEdge, AssociationTargetEdge, AssociationSourceEdge, CategoryDimension, PlatformCategory, UserStateKind, UserEntityState, PlatformComment, AssociationsEntry, CategoriesEntry, CommentsEntry, AssociationsConfig } from '../index.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-D2Im-Tjl.js';
2
2
  import 'react';
3
3
 
4
4
  /** The universal ownership column post-2026-reorg. */
package/dist/index.cjs CHANGED
@@ -28,7 +28,9 @@ __export(src_exports, {
28
28
  SCHEMA_DISPLAY: () => SCHEMA_DISPLAY,
29
29
  isAssociationTargetType: () => isAssociationTargetType,
30
30
  isAssociationsRpcErr: () => isAssociationsRpcErr,
31
- isEntityTypeToken: () => isEntityTypeToken
31
+ isEntityTypeToken: () => isEntityTypeToken,
32
+ isRegisteredPair: () => isRegisteredPair,
33
+ registeredEdgeLabel: () => registeredEdgeLabel
32
34
  });
33
35
  module.exports = __toCommonJS(src_exports);
34
36
 
@@ -2237,6 +2239,476 @@ function isAssociationTargetType(value) {
2237
2239
  return typeof value === "string" && ASSOCIATION_TARGET_TYPES.includes(value);
2238
2240
  }
2239
2241
 
2242
+ // src/association-types.generated.ts
2243
+ var ASSOCIATION_TYPE_LABELS = {
2244
+ "artifact>processed_document": "source",
2245
+ "calendar_event>conversation": "conversation_attached_resource",
2246
+ "calendar_event>party": "attendee",
2247
+ "code_file>code_repository": "in_repository",
2248
+ "content_ir_kind_instance>content_ir_kind_instance": "part_of",
2249
+ "conversation>party": "produced_by",
2250
+ "fc_set>processed_document": "source",
2251
+ "file>hr_application": "evidence",
2252
+ "file>hr_employee": "personnel_document",
2253
+ "file>hr_employment": "evidence",
2254
+ "file>hr_incident": "evidence",
2255
+ "file>hr_leave_case": "evidence",
2256
+ "google_document>crm_deal": "attached_to",
2257
+ "google_document>party": "attached_to",
2258
+ "google_document>project": "attached_to",
2259
+ "google_document>task": "attached_to",
2260
+ "hr_candidate>party": "candidate_party",
2261
+ "hr_course>hr_job_title": "role_curriculum",
2262
+ "hr_credential>hr_job_title": "required_credential",
2263
+ "hr_employee>record": "scope_member",
2264
+ "hr_employee>scope": "scope_member",
2265
+ "integration_connection_resource>conversation": "conversation_attached_resource",
2266
+ "media_source_library>youtube_video": "catalogued_source",
2267
+ "message>content_ir_kind_instance": "produced_by",
2268
+ "note>calendar_event": "about",
2269
+ "note>hr_candidate": "hr_note",
2270
+ "note>hr_employee": "hr_note",
2271
+ "organization>seo_keyword": "keyword_library",
2272
+ "pc_episode>processed_document": "source",
2273
+ "processed_document>code_repository": "in_repository",
2274
+ "processed_document>media_source_library": "catalogued_source",
2275
+ "processed_document>record": "about",
2276
+ "processed_document>research_topic": "research_source",
2277
+ "processed_document>scope": "about",
2278
+ "processed_document>web_site": "crawled_page",
2279
+ "quiz_session>processed_document": "source",
2280
+ "research_source>youtube_video": "Canonical YouTube video",
2281
+ "web_youtube_video>seo_map_topic": "covers",
2282
+ "youtube_video>transcript": "video_transcript"
2283
+ };
2284
+ function registeredEdgeLabel(sourceType, targetType) {
2285
+ return ASSOCIATION_TYPE_LABELS[`${sourceType}>${targetType}`];
2286
+ }
2287
+ var ASSOCIATION_PAIRS = /* @__PURE__ */ new Set([
2288
+ "agent>agent",
2289
+ "agent>context_item",
2290
+ "agent>organization",
2291
+ "agent>project",
2292
+ "agent>record",
2293
+ "agent>scope",
2294
+ "agent>scope_type",
2295
+ "agent>surface",
2296
+ "agent>task",
2297
+ "agent>web_page",
2298
+ "agent_shortcut>project",
2299
+ "agent_shortcut>task",
2300
+ "agent_shortcut>web_page",
2301
+ "agent_term_list>agent",
2302
+ "app>record",
2303
+ "app>scope",
2304
+ "app>web_page",
2305
+ "artifact>processed_document",
2306
+ "assessment>assessment",
2307
+ "assessment>fc_set",
2308
+ "assessment>file",
2309
+ "assessment>note",
2310
+ "assessment>record",
2311
+ "assessment>scope",
2312
+ "assessment>scope_type",
2313
+ "assessment>study_media",
2314
+ "calendar_event>conversation",
2315
+ "calendar_event>party",
2316
+ "code_file>agent",
2317
+ "code_file>code_repository",
2318
+ "code_file>data_store",
2319
+ "code_file>web_page",
2320
+ "contact_medium>web_page",
2321
+ "content_ir_kind_instance>content_ir_kind_instance",
2322
+ "content_ir_kind_instance>note",
2323
+ "content_ir_kind_instance>project",
2324
+ "content_ir_kind_instance>record",
2325
+ "content_ir_kind_instance>scope",
2326
+ "content_ir_kind_instance>scope_type",
2327
+ "content_ir_kind_instance>task",
2328
+ "content_ir_kind_instance>web_site",
2329
+ "conversation>agent",
2330
+ "conversation>custom_record",
2331
+ "conversation>document",
2332
+ "conversation>note",
2333
+ "conversation>party",
2334
+ "conversation>project",
2335
+ "conversation>record",
2336
+ "conversation>rulebook",
2337
+ "conversation>scope",
2338
+ "conversation>scope_type",
2339
+ "conversation>task",
2340
+ "conversation>thread",
2341
+ "conversation>war_room",
2342
+ "conversation>web_brand",
2343
+ "conversation>web_page",
2344
+ "credential_item>record",
2345
+ "credential_item>scope",
2346
+ "crm_deal>party",
2347
+ "crm_deal>task",
2348
+ "crm_interaction>crm_deal",
2349
+ "crm_interaction>party",
2350
+ "crm_interaction>project",
2351
+ "custom_record>custom_record",
2352
+ "custom_record>hr_candidate",
2353
+ "custom_record>hr_employee",
2354
+ "custom_record>hr_position_assignment",
2355
+ "custom_record>hr_requisition",
2356
+ "custom_record>hr_training_assignment",
2357
+ "data_store>agent",
2358
+ "data_store>project",
2359
+ "data_store>task",
2360
+ "data_store>war_room",
2361
+ "data_store>web_page",
2362
+ "dataset>agent",
2363
+ "dataset>web_page",
2364
+ "document>document",
2365
+ "document>message",
2366
+ "document>note",
2367
+ "fc_card>document",
2368
+ "fc_card>fc_set",
2369
+ "fc_card>file",
2370
+ "fc_card>message",
2371
+ "fc_card>note",
2372
+ "fc_set>agent",
2373
+ "fc_set>assessment",
2374
+ "fc_set>conversation",
2375
+ "fc_set>fc_set",
2376
+ "fc_set>file",
2377
+ "fc_set>note",
2378
+ "fc_set>processed_document",
2379
+ "fc_set>record",
2380
+ "fc_set>rulebook",
2381
+ "fc_set>scope",
2382
+ "fc_set>scope_type",
2383
+ "fc_set>study_media",
2384
+ "file>agent",
2385
+ "file>agent_term_list",
2386
+ "file>conversation",
2387
+ "file>crm_deal",
2388
+ "file>data_store",
2389
+ "file>file",
2390
+ "file>hr_application",
2391
+ "file>hr_employee",
2392
+ "file>hr_employment",
2393
+ "file>hr_incident",
2394
+ "file>hr_leave_case",
2395
+ "file>party",
2396
+ "file>project",
2397
+ "file>record",
2398
+ "file>rulebook",
2399
+ "file>scope",
2400
+ "file>scope_type",
2401
+ "file>task",
2402
+ "file>thread",
2403
+ "file>war_room",
2404
+ "file>web_page",
2405
+ "file>web_screenshot",
2406
+ "folder>web_page",
2407
+ "google_document>crm_deal",
2408
+ "google_document>party",
2409
+ "google_document>project",
2410
+ "google_document>task",
2411
+ "hr_candidate>custom_record",
2412
+ "hr_candidate>party",
2413
+ "hr_course>hr_job_title",
2414
+ "hr_credential>hr_job_title",
2415
+ "hr_employee>custom_record",
2416
+ "hr_employee>record",
2417
+ "hr_employee>scope",
2418
+ "hr_employee>scope_type",
2419
+ "hr_position_assignment>custom_record",
2420
+ "hr_requisition>custom_record",
2421
+ "hr_training_assignment>custom_record",
2422
+ "integration_connection_resource>conversation",
2423
+ "library_doc>data_store",
2424
+ "media_source_library>youtube_video",
2425
+ "message>content_ir_kind_instance",
2426
+ "message>record",
2427
+ "message>task",
2428
+ "message_template>record",
2429
+ "message_template>scope",
2430
+ "message_template>web_page",
2431
+ "note>agent",
2432
+ "note>assessment",
2433
+ "note>calendar_event",
2434
+ "note>crm_deal",
2435
+ "note>data_store",
2436
+ "note>fc_set",
2437
+ "note>file",
2438
+ "note>hr_candidate",
2439
+ "note>hr_employee",
2440
+ "note>message",
2441
+ "note>note",
2442
+ "note>party",
2443
+ "note>project",
2444
+ "note>record",
2445
+ "note>rulebook",
2446
+ "note>scope",
2447
+ "note>scope_type",
2448
+ "note>study_media",
2449
+ "note>task",
2450
+ "note>thread",
2451
+ "note>war_room",
2452
+ "note>web_page",
2453
+ "note>web_screenshot",
2454
+ "organization>seo_keyword",
2455
+ "page_extraction_job>file",
2456
+ "page_extraction_job>processed_document",
2457
+ "party>category",
2458
+ "party>data_store",
2459
+ "party>organization",
2460
+ "party>party",
2461
+ "party>project",
2462
+ "party>record",
2463
+ "party>research_source",
2464
+ "party>research_topic",
2465
+ "party>scope",
2466
+ "party>scope_type",
2467
+ "party>seo_link_gap_domain",
2468
+ "party>seo_referring_domain_profile",
2469
+ "party>seo_reputation_case",
2470
+ "party>seo_serp_opportunity",
2471
+ "party>seo_topic",
2472
+ "party>task",
2473
+ "party>transcript",
2474
+ "party>war_room",
2475
+ "party>web_brand",
2476
+ "party>web_page",
2477
+ "party>web_site",
2478
+ "pc_episode>processed_document",
2479
+ "pc_episode>rulebook",
2480
+ "pc_show>rulebook",
2481
+ "pc_studio_run>rulebook",
2482
+ "plan_entity>category",
2483
+ "plan_entity>plan_entity",
2484
+ "plan_entity>seo_topic",
2485
+ "plan_entity>web_site",
2486
+ "plan_node>agent_run",
2487
+ "plan_node>party",
2488
+ "plan_node>plan_entity",
2489
+ "plan_node>plan_node",
2490
+ "plan_node>seo_keyword",
2491
+ "plan_node>seo_map_topic",
2492
+ "plan_node>seo_topic",
2493
+ "plan_node>web_page",
2494
+ "plan_node>web_site",
2495
+ "processed_document>agent",
2496
+ "processed_document>code_repository",
2497
+ "processed_document>conversation",
2498
+ "processed_document>data_store",
2499
+ "processed_document>file",
2500
+ "processed_document>media_source_library",
2501
+ "processed_document>project",
2502
+ "processed_document>record",
2503
+ "processed_document>research_topic",
2504
+ "processed_document>scope",
2505
+ "processed_document>task",
2506
+ "processed_document>war_room",
2507
+ "processed_document>web_site",
2508
+ "project>record",
2509
+ "project>scope",
2510
+ "project>scope_type",
2511
+ "project>thread",
2512
+ "project>war_room",
2513
+ "purpose>agent",
2514
+ "purpose>mandate",
2515
+ "purpose>tool",
2516
+ "purpose>workflow",
2517
+ "quiz_session>agent",
2518
+ "quiz_session>processed_document",
2519
+ "quiz_session>web_page",
2520
+ "record>agent",
2521
+ "record>agent_shortcut",
2522
+ "record>agent_template",
2523
+ "record>ai_api",
2524
+ "record>ai_endpoint",
2525
+ "record>ai_model",
2526
+ "record>ai_provider",
2527
+ "record>ai_setting",
2528
+ "record>app",
2529
+ "record>assessment",
2530
+ "record>canvas_comment",
2531
+ "record>canvas_item",
2532
+ "record>canvas_score",
2533
+ "record>category",
2534
+ "record>code_file",
2535
+ "record>code_folder",
2536
+ "record>code_repository",
2537
+ "record>comparison_set",
2538
+ "record>contact_submission",
2539
+ "record>content_ir_kind",
2540
+ "record>content_ir_kind_instance",
2541
+ "record>context_item",
2542
+ "record>conversation",
2543
+ "record>crm_deal",
2544
+ "record>crm_outreach_list",
2545
+ "record>cx_agent_memory",
2546
+ "record>data_store",
2547
+ "record>dataset",
2548
+ "record>fc_set",
2549
+ "record>feature_doc",
2550
+ "record>flexible_data",
2551
+ "record>folder",
2552
+ "record>game_result",
2553
+ "record>heatmap_save",
2554
+ "record>hr_asset",
2555
+ "record>hr_candidate",
2556
+ "record>hr_careers_portal",
2557
+ "record>hr_checklist_template",
2558
+ "record>hr_course",
2559
+ "record>hr_crew",
2560
+ "record>hr_deduction_code",
2561
+ "record>hr_department",
2562
+ "record>hr_earning_code",
2563
+ "record>hr_employee",
2564
+ "record>hr_holiday_calendar",
2565
+ "record>hr_interview_kit",
2566
+ "record>hr_job_title",
2567
+ "record>hr_jurisdiction",
2568
+ "record>hr_jurisdiction_rule_class",
2569
+ "record>hr_leave_policy",
2570
+ "record>hr_location",
2571
+ "record>hr_pay_group",
2572
+ "record>hr_posting",
2573
+ "record>hr_record_class",
2574
+ "record>hr_requisition",
2575
+ "record>hr_schedule",
2576
+ "record>hr_schedule_template",
2577
+ "record>hr_survey",
2578
+ "record>league_membership",
2579
+ "record>learn_doc",
2580
+ "record>marketing_initiative",
2581
+ "record>message_template",
2582
+ "record>note",
2583
+ "record>note_folder",
2584
+ "record>organization",
2585
+ "record>page_extraction_job",
2586
+ "record>party",
2587
+ "record>pc_article",
2588
+ "record>pc_episode",
2589
+ "record>pc_show",
2590
+ "record>pc_studio_run",
2591
+ "record>processed_document",
2592
+ "record>project",
2593
+ "record>quiz_session",
2594
+ "record>record",
2595
+ "record>research_template",
2596
+ "record>research_topic",
2597
+ "record>rulebook",
2598
+ "record>sch_task",
2599
+ "record>scope_type",
2600
+ "record>seo_topic",
2601
+ "record>shared_canvas_item",
2602
+ "record>skill",
2603
+ "record>skill_render_definition",
2604
+ "record>structured_list",
2605
+ "record>studio_session",
2606
+ "record>study_goal",
2607
+ "record>study_media",
2608
+ "record>study_plan",
2609
+ "record>study_plan_block",
2610
+ "record>surface",
2611
+ "record>task",
2612
+ "record>thread",
2613
+ "record>tool",
2614
+ "record>tool_bundle",
2615
+ "record>transcript",
2616
+ "record>udt_document",
2617
+ "record>user_markdown_sample",
2618
+ "record>voice",
2619
+ "record>war_room",
2620
+ "record>wbx_pattern",
2621
+ "record>web_analysis_item",
2622
+ "record>web_brand",
2623
+ "record>web_provider",
2624
+ "record>web_site",
2625
+ "record>workbook",
2626
+ "record>workflow",
2627
+ "record>workflow_template",
2628
+ "record>workflow_trigger",
2629
+ "record>working_document",
2630
+ "research_source>research_keyword",
2631
+ "research_source>research_tag",
2632
+ "research_source>youtube_video",
2633
+ "research_tag>plan_node",
2634
+ "research_tag>web_page",
2635
+ "research_tag>web_site",
2636
+ "research_topic>plan_node",
2637
+ "research_topic>project",
2638
+ "research_topic>rulebook",
2639
+ "research_topic>web_page",
2640
+ "research_topic>web_site",
2641
+ "rulebook>masterwork_source",
2642
+ "sch_task>record",
2643
+ "sch_task>scope",
2644
+ "seo_keyword>project",
2645
+ "seo_keyword>web_page",
2646
+ "seo_map_topic>seo_map_facet_value",
2647
+ "seo_topical_map>web_brand",
2648
+ "shared_canvas_item>record",
2649
+ "shared_canvas_item>scope",
2650
+ "skill>web_page",
2651
+ "structured_list>web_page",
2652
+ "studio_session>agent",
2653
+ "studio_session>rulebook",
2654
+ "studio_session>thread",
2655
+ "studio_session>web_page",
2656
+ "study_media>assessment",
2657
+ "study_media>fc_set",
2658
+ "study_media>file",
2659
+ "study_media>note",
2660
+ "study_media>record",
2661
+ "study_media>scope",
2662
+ "study_media>scope_type",
2663
+ "study_media>study_media",
2664
+ "task>project",
2665
+ "task>record",
2666
+ "task>scope",
2667
+ "task>scope_type",
2668
+ "task>thread",
2669
+ "task>war_room",
2670
+ "thread>record",
2671
+ "thread>scope",
2672
+ "thread>scope_type",
2673
+ "thread>war_room",
2674
+ "tool>tool_bundle",
2675
+ "transcript>agent",
2676
+ "transcript>data_store",
2677
+ "transcript>record",
2678
+ "transcript>rulebook",
2679
+ "transcript>scope",
2680
+ "transcript>web_page",
2681
+ "udt_document>agent",
2682
+ "udt_document>rulebook",
2683
+ "udt_document>web_page",
2684
+ "war_room>record",
2685
+ "war_room>scope",
2686
+ "war_room>scope_type",
2687
+ "web_page>seo_map_facet_value",
2688
+ "web_page>seo_map_topic",
2689
+ "web_page>task",
2690
+ "web_screenshot>task",
2691
+ "web_site>agent_run",
2692
+ "web_site>seo_topical_map",
2693
+ "web_youtube_video>seo_map_topic",
2694
+ "workbook>agent",
2695
+ "workbook>web_page",
2696
+ "workflow>record",
2697
+ "workflow>scope",
2698
+ "workflow>web_page",
2699
+ "working_document>agent",
2700
+ "working_document>conversation",
2701
+ "working_document>project",
2702
+ "working_document>task",
2703
+ "working_document>war_room",
2704
+ "working_document>web_page",
2705
+ "youtube_video>transcript",
2706
+ "youtube_video>web_page"
2707
+ ]);
2708
+ function isRegisteredPair(sourceType, targetType) {
2709
+ return ASSOCIATION_PAIRS.has(`${sourceType}>${targetType}`);
2710
+ }
2711
+
2240
2712
  // src/results.ts
2241
2713
  function isAssociationsRpcErr(r) {
2242
2714
  return r.ok === false;