@ai-matrx/messaging 0.11.1 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog — `@ai-matrx/messaging`
2
2
 
3
+ ## 0.11.2 — 2026-09-11
4
+
5
+ ### Fixed
6
+
7
+ - **The AI answer was squeezed to a sliver.** `.mx-msg__ai-output` capped itself at `30dvh`
8
+ with `overflow-y: auto`, but declared no `flex-shrink: 0` inside `.mx-msg__thread`'s flex
9
+ column — whose scroll region is `flex: 1 1 auto` with a content-sized basis. In the first
10
+ live "Catch me up" run in matrx-frontend (2026-09-11) the answer rendered as a 45px box holding
11
+ 270px of text and no visible scrollbar: a complete answer the reader could not see. The same
12
+ hole was open on `.mx-msg__ai-bar`. Both now declare `flex: 0 0 auto`, and
13
+ `src/react/thread-rows.test.ts` pins every fixed row of the thread column (header, AI bar, AI
14
+ output, composer) so the next fixed row cannot re-open the class.
15
+
16
+ ### Consumer action (C28)
17
+
18
+ None. Upgrade to receive the stylesheet fix; no API changed.
19
+
3
20
  ## 0.11.1
4
21
 
5
22
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/styles.css CHANGED
@@ -644,6 +644,7 @@
644
644
  }
645
645
 
646
646
  .mx-msg__ai-bar {
647
+ flex: 0 0 auto;
647
648
  display: flex;
648
649
  gap: 6px;
649
650
  flex-wrap: wrap;
@@ -652,7 +653,15 @@
652
653
  background: var(--mx-msg-bg-subtle);
653
654
  }
654
655
 
656
+ /* THE SQUEEZED-ANSWER CLASS (found live 2026-09-11, 0.11.2): every fixed row
657
+ in `.mx-msg__thread` — a flex column whose scroll region is `flex: 1 1 auto`
658
+ with a content-sized basis — MUST declare `flex: 0 0 auto`, or the message
659
+ list shrinks it to a sliver. The first live "Catch me up" answer rendered
660
+ as a 45px box holding 270px of text with no visible scrollbar. The cap
661
+ below is the intended ceiling; the shrink lock is what makes it a ceiling
662
+ and not a fiction. `thread-rows.test.ts` pins every fixed row. */
655
663
  .mx-msg__ai-output {
664
+ flex: 0 0 auto;
656
665
  margin: 0;
657
666
  padding: 10px 14px;
658
667
  border-bottom: 1px solid var(--mx-msg-border);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/messaging",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Enterprise, AI-native in-app messaging for Matrx clients: direct/group/org conversations with atomic direct creation, an outbox that never loses a typed message, optimistic send with echo-safe reconciliation, Matrx entity references, actionable messages with idempotent receipts, agents as participants, and a drop-in polished React UI — all realtime on @ai-matrx/realtime.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -60,9 +60,9 @@
60
60
  "./package.json": "./package.json"
61
61
  },
62
62
  "dependencies": {
63
- "@ai-matrx/agents": "latest",
64
63
  "@ai-matrx/realtime": "latest",
65
- "@ai-matrx/kit": "latest"
64
+ "@ai-matrx/kit": "latest",
65
+ "@ai-matrx/agents": "latest"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@arethetypeswrong/cli": "^0.18.5",