@ai-matrx/associations 0.14.82 → 0.14.84

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.
@@ -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 CommentAnchor, m as PlatformComment, n as AssociationsEntry, o as CategoriesEntry, p as CommentsEntry, q as AssociationsConfig } from '../results-Du0dzBb4.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 CommentAnchor, m as PlatformComment, n as AssociationsEntry, o as CategoriesEntry, p as CommentsEntry, q as AssociationsConfig } from '../results-BtyDwTD6.cjs';
2
2
  import 'react';
3
3
  import '@ai-matrx/data/db';
4
4
 
@@ -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 CommentAnchor, m as PlatformComment, n as AssociationsEntry, o as CategoriesEntry, p as CommentsEntry, q as AssociationsConfig } from '../results-Du0dzBb4.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 CommentAnchor, m as PlatformComment, n as AssociationsEntry, o as CategoriesEntry, p as CommentsEntry, q as AssociationsConfig } from '../results-BtyDwTD6.js';
2
2
  import 'react';
3
3
  import '@ai-matrx/data/db';
4
4
 
@@ -5,7 +5,7 @@ import {
5
5
  isRecordStoreNounToken,
6
6
  recordStoreNoun,
7
7
  registeredEdgeLabel
8
- } from "../chunk-server-Y4DGNHLP.js";
8
+ } from "../chunk-server-D6HFGF2J.js";
9
9
 
10
10
  // src/ports.ts
11
11
  function asAssociationsDataSource(source) {
@@ -1591,6 +1591,7 @@ function toComment(row) {
1591
1591
  avatarUrl: row.author_avatar_url ?? null
1592
1592
  },
1593
1593
  authorAgent: row.author_agent_id ? { id: row.author_agent_id, name: row.author_agent_name ?? null } : null,
1594
+ ...row.created_by_tier === "system" && !row.author_agent_id ? { authorSystem: true } : {},
1594
1595
  anchor: row.anchor && typeof row.anchor === "object" ? row.anchor : null
1595
1596
  };
1596
1597
  }