@ai-matrx/associations 0.11.0 → 0.11.2

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.js CHANGED
@@ -254,7 +254,7 @@ var ENTITY_TYPE_METADATA = {
254
254
  "data_rights_event": { token: "data_rights_event", schema: "education", table: "data_rights_event", label: "Data rights event", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
255
255
  "data_store": { token: "data_store", schema: "rag", table: "data_stores", label: "Data Store", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: true, titleColumn: "name", contentRole: "source", referenceCategory: null },
256
256
  "data_store_members": { token: "data_store_members", schema: "rag", table: "data_store_members", label: "Data Store Members", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
257
- "dataset": { token: "dataset", schema: "workbench", table: "udt_datasets", label: "Dataset", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: null, referencePickable: true, titleColumn: "description", contentRole: "hybrid", referenceCategory: null },
257
+ "dataset": { token: "dataset", schema: "workbench", table: "udt_datasets", label: "Dataset", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: null, referencePickable: true, titleColumn: "table_name", contentRole: "hybrid", referenceCategory: null },
258
258
  "ddl_guard_log": { token: "ddl_guard_log", schema: "platform", table: "ddl_guard_log", label: "DDL guard log", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
259
259
  "deck_suggestion": { token: "deck_suggestion", schema: "education", table: "deck_suggestion", label: "Deck Suggestion", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
260
260
  "definer_class_exemption": { token: "definer_class_exemption", schema: "iam", table: "definer_class_exemption", label: "Definer Class Exemption", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -544,7 +544,7 @@ var ENTITY_TYPE_METADATA = {
544
544
  "lifecycle_run": { token: "lifecycle_run", schema: "platform", table: "lifecycle_run", label: "Lifecycle run", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
545
545
  "lifecycle_tier_ledger": { token: "lifecycle_tier_ledger", schema: "platform", table: "lifecycle_tier_ledger", label: "Lifecycle tier ledger", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
546
546
  "location": { token: "location", schema: "seo", table: "location", label: "Location", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
547
- "mandate": { token: "mandate", schema: "mandate", table: "definition", label: "Mandate Definition (new)", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
547
+ "mandate": { token: "mandate", schema: "mandate", table: "definition", label: "Mandate", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
548
548
  "mandate_advance_batch_row": { token: "mandate_advance_batch_row", schema: "mandate", table: "advance_batch_row", label: "Pin advance batch row", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
549
549
  "mandate_binding": { token: "mandate_binding", schema: "mandate", table: "binding", label: "Mandate Binding (new)", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
550
550
  "mandate_goal_clauses": { token: "mandate_goal_clauses", schema: "mandate", table: "goal_clauses", label: "Mandate Goal Clauses", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -563,7 +563,7 @@ var ENTITY_TYPE_METADATA = {
563
563
  "mcp_config": { token: "mcp_config", schema: "tool", table: "mcp_config", label: "MCP config", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
564
564
  "mcp_server": { token: "mcp_server", schema: "tool", table: "mcp_server", label: "MCP server", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
565
565
  "mcp_user_conn": { token: "mcp_user_conn", schema: "tool", table: "mcp_user_conn", label: "MCP user connection", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
566
- "media_capture_handoff": { token: "media_capture_handoff", schema: "media", table: "capture_handoff", label: "Capture Handoff", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
566
+ "media_capture_handoff": { token: "media_capture_handoff", schema: "media", table: "capture_handoff", label: "Capture Handoff", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
567
567
  "media_catalog_setting": { token: "media_catalog_setting", schema: "media", table: "catalog_setting", label: "Media Catalog Setting", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
568
568
  "media_library_item": { token: "media_library_item", schema: "media", table: "library_item", label: "Library Item", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
569
569
  "media_selection_item": { token: "media_selection_item", schema: "media", table: "selection_item", label: "Selection Item", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -600,6 +600,8 @@ var ENTITY_TYPE_METADATA = {
600
600
  "oauth_handoff_claim": { token: "oauth_handoff_claim", schema: "platform", table: "_oauth_handoff_claim", label: "Oauth Handoff Claim", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
601
601
  "opinion_clusters": { token: "opinion_clusters", schema: "legal", table: "opinion_clusters", label: "Opinion Clusters", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
602
602
  "opinions": { token: "opinions", schema: "legal", table: "opinions", label: "Opinions", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
603
+ "ops_check_item": { token: "ops_check_item", schema: "ops", table: "check_item", label: "Check Item", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
604
+ "ops_check_run": { token: "ops_check_run", schema: "ops", table: "check_run", label: "Check Run", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
603
605
  "ops_issue_class": { token: "ops_issue_class", schema: "ops", table: "ops_issue_class", label: "Ops Issue Class", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
604
606
  "ops_issue_event": { token: "ops_issue_event", schema: "ops", table: "ops_issue_event", label: "Ops Issue Event", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
605
607
  "ops_proof_check": { token: "ops_proof_check", schema: "ops", table: "proof_check", label: "Proof Check", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -857,6 +859,7 @@ var ENTITY_TYPE_METADATA = {
857
859
  "task": { token: "task", schema: "workspace", table: "tasks", label: "Task", baseTier: 1, isComponent: false, isModule: true, isListed: false, scopeable: true, category: "Workspaces", referencePickable: true, titleColumn: "title", contentRole: "container", referenceCategory: null },
858
860
  "task_user_state": { token: "task_user_state", schema: "workspace", table: "task_user_state", label: "Task user state", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
859
861
  "taxonomy_node": { token: "taxonomy_node", schema: "platform", table: "taxonomy_node", label: "Taxonomy node", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
862
+ "team": { token: "team", schema: "iam", table: "team", label: "Team", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: false, category: "Organizations", referencePickable: false, titleColumn: "name", contentRole: null, referenceCategory: null },
860
863
  "template_context_items": { token: "template_context_items", schema: "context", table: "template_context_items", label: "Template Context Items", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
861
864
  "template_scope_types": { token: "template_scope_types", schema: "context", table: "template_scope_types", label: "Template Scope Types", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
862
865
  "templates": { token: "templates", schema: "context", table: "templates", label: "Templates", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -891,6 +894,7 @@ var ENTITY_TYPE_METADATA = {
891
894
  "ui_surface_agent_role": { token: "ui_surface_agent_role", schema: "ui", table: "ui_surface_agent_role", label: "UI surface agent role", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
892
895
  "ui_surface_client_tool": { token: "ui_surface_client_tool", schema: "ui", table: "ui_surface_client_tool", label: "UI surface client tool", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
893
896
  "ui_surface_config": { token: "ui_surface_config", schema: "ui", table: "ui_surface_config", label: "UI Surface Config", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
897
+ "ui_surface_item_type": { token: "ui_surface_item_type", schema: "ui", table: "ui_surface_item_type", label: "UI surface item type", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
894
898
  "ui_surface_value": { token: "ui_surface_value", schema: "ui", table: "ui_surface_value", label: "UI surface value", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
895
899
  "ui_surface_write_target": { token: "ui_surface_write_target", schema: "ui", table: "ui_surface_write_target", label: "UI surface write target", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
896
900
  "univer_payload": { token: "univer_payload", schema: "content", table: "univer_payload", label: "Univer Payload", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: "Documents", referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -993,7 +997,7 @@ var ENTITY_TYPE_METADATA = {
993
997
  "workflow_trigger": { token: "workflow_trigger", schema: "workflow", table: "trigger", label: "Workflow Trigger", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: true, titleColumn: "name", contentRole: null, referenceCategory: null },
994
998
  "workflow_trigger_fire": { token: "workflow_trigger_fire", schema: "workflow", table: "trigger_fire", label: "Workflow Trigger Fire", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
995
999
  "workflow_work_item": { token: "workflow_work_item", schema: "workflow", table: "work_item", label: "Work Item", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
996
- "working_document": { token: "working_document", schema: "workbench", table: "working_documents", label: "Working Documents", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: false, category: "Conversations", referencePickable: true, titleColumn: "title", contentRole: "destination", referenceCategory: null },
1000
+ "working_document": { token: "working_document", schema: "workbench", table: "working_documents", label: "Working Document", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: false, category: "Conversations", referencePickable: true, titleColumn: "title", contentRole: "destination", referenceCategory: null },
997
1001
  "write_guard_key": { token: "write_guard_key", schema: "hr", table: "_write_guard_key", label: "Write Guard Key", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
998
1002
  "youtube_quota_day": { token: "youtube_quota_day", schema: "research", table: "youtube_quota_day", label: "Youtube Quota Day", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
999
1003
  "youtube_search": { token: "youtube_search", schema: "research", table: "youtube_search", label: "YouTube Search", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
@@ -1600,6 +1604,8 @@ var ENTITY_TYPE_TOKENS = [
1600
1604
  "oauth_handoff_claim",
1601
1605
  "opinion_clusters",
1602
1606
  "opinions",
1607
+ "ops_check_item",
1608
+ "ops_check_run",
1603
1609
  "ops_issue_class",
1604
1610
  "ops_issue_event",
1605
1611
  "ops_proof_check",
@@ -1857,6 +1863,7 @@ var ENTITY_TYPE_TOKENS = [
1857
1863
  "task",
1858
1864
  "task_user_state",
1859
1865
  "taxonomy_node",
1866
+ "team",
1860
1867
  "template_context_items",
1861
1868
  "template_scope_types",
1862
1869
  "templates",
@@ -1891,6 +1898,7 @@ var ENTITY_TYPE_TOKENS = [
1891
1898
  "ui_surface_agent_role",
1892
1899
  "ui_surface_client_tool",
1893
1900
  "ui_surface_config",
1901
+ "ui_surface_item_type",
1894
1902
  "ui_surface_value",
1895
1903
  "ui_surface_write_target",
1896
1904
  "univer_payload",
@@ -2104,8 +2112,12 @@ var ASSOCIATION_TARGET_TYPES = [
2104
2112
  // a CRM outreach list (a worked send/dial queue) — parties and resources attach into it
2105
2113
  "crm_deal",
2106
2114
  // a CRM deal (crm.deal) — people on it (role 'deal_contact'), tasks/files attach onto it
2107
- "rulebook"
2115
+ "rulebook",
2108
2116
  // a Masterwork Rulebook — its Scout interviews attach here (conversation→rulebook, role 'interview')
2117
+ "research_topic",
2118
+ // a research topic — Sources are filed under it (processed_document→research_topic, the landing door's edge)
2119
+ "media_source_library"
2120
+ // a media-catalog Library — Sources are catalogued into it (processed_document→media_source_library)
2109
2121
  ];
2110
2122
  function isAssociationTargetType(value) {
2111
2123
  return typeof value === "string" && ASSOCIATION_TARGET_TYPES.includes(value);