@ai-matrx/associations 0.14.77 → 0.14.78

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
@@ -2,17 +2,28 @@
2
2
 
3
3
  ### Unreleased
4
4
 
5
+ - **The attach pickers put the cursor in their search box on open.** `UniversalAssociationPicker` (the `+ Add` panel of `AssociationList`) and the per-type `AssociationPicker` search inputs now `autoFocus`. Guard: `src/react/__tests__/faces.test.tsx` ("puts the cursor in the search box when it opens"). Consumer action: none.
5
6
  - **Shared code ships once per side (2026-10-18).** The root and `/core` were each built `splitting: false`, so each inlined the 420 KB entity-type vocabulary (`src/entity-types.generated.ts`) plus three more modules: a host importing both paid twice. ESM now builds root + `/core` in one split pass (`chunk-server-*.js`, no banner) and `/react` + `/react/lazy` in another (stamped). CJS unsplit; declarations unchanged. ESM JS 1,177,448 -> 756,462 bytes; root + `/core` closure 947 KB -> 520 KB; every entry's export names identical (ESM and CJS). Guard: `../scripts/check-ships-once.mjs`, run in `build`. Consumer action: none.
6
7
  - **`DefaultWindowShell` carries no drag code of its own.** Header drag and grip resize run on design-system's `useDragMove` (painted per frame, one commit per gesture, cursor held, raised on press) and its clamp is `clampRectToViewport` (48px grab strip, header never above the top). The port contract is unchanged; hosts with a window manager still bind `windowShell`. Guard: `src/react/__tests__/default-window-shell-drag.test.tsx`. Consumer action: none.
7
8
 
8
9
  - **`AssociationList` takes `title`.** Default stays "Resources"; pass a string to rename the heading, or `null` when the host card already titles the list (the attach controls stay, right-aligned). Guard: `src/react/__tests__/association-list-title.test.tsx`. Consumer action: replace any host CSS that hides the list's `h3` (matrx-frontend: `HIDE_LIST_HEADING` in `BrandResearchCard.tsx`, `ResearchTopicLinks.tsx`) with `title={null}`.
9
10
  - **Linking records no longer freezes a name onto the edge.** `useContainerLinksAdapter().attach` (and `AssociationCard`'s picker) used to store the picked record's title as the association label, so a research topic linked to brand "AI Matrx" listed on that brand as "AI Matrx". The picked title is no longer stored; each side shows the linked record's own current name from the title resolver. A deliberate label is still stored via `useContainerLinks().attach(token, id, label)`. Guard: `src/react/__tests__/outgoing-links.test.tsx` ("attach never freezes a name"). Consumer action: remove any adapter wrapper that blanks `label` (matrx-frontend: `useNeutralLinksAdapter`) and use `useContainerLinksAdapter` directly; edges already written with a label keep it until cleared.
10
11
 
11
- ## 0.14.77
12
+ ## 0.14.78
12
13
 
13
14
  UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
14
15
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/associations/src`.
15
16
 
17
+ ## 0.14.77
18
+
19
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
20
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
21
+ Diff: `git diff 0eb2f8603b 24a7494486 -- apps/shared/associations/src`
22
+
23
+ Changed shipped source files (2):
24
+ - `apps/shared/associations/src/association-types.generated.ts`
25
+ - `apps/shared/associations/src/entity-types.generated.ts`
26
+
16
27
  ## 0.14.76
17
28
 
18
29
  SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
@@ -3339,6 +3339,7 @@ function EntityCandidateList({
3339
3339
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3340
3340
  import_design_system3.Input,
3341
3341
  {
3342
+ autoFocus: true,
3342
3343
  value: search,
3343
3344
  onChange: (e) => setSearch(e.target.value),
3344
3345
  placeholder: `Search ${info.labelPlural.toLowerCase()}\u2026`,
@@ -3722,6 +3723,7 @@ function UniversalAssociationPicker(props) {
3722
3723
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3723
3724
  import_design_system5.Input,
3724
3725
  {
3726
+ autoFocus: true,
3725
3727
  value: query,
3726
3728
  onChange: (e) => {
3727
3729
  setQuery(e.target.value);