@ai-matrx/messaging 0.10.0 → 0.10.1

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,19 @@
1
1
  # Changelog — `@ai-matrx/messaging`
2
2
 
3
+ ## 0.10.1 — 2026-09-07
4
+
5
+ **Every AI call would have been refused by the real server.** `<MessagingProvider>` never forwarded
6
+ `sourceApp` / `sourceFeature` to the core, so every run went out stamped with this package's
7
+ placeholder `ai-matrx` / `messaging.<capability>` — and the AI Matrx server keeps a REGISTER of
8
+ legal producers and answers an unregistered one with a 422. Found by putting a real request on the
9
+ wire, not by reading the code; the same shape as the 0.7.0 wrong-schema defect.
10
+
11
+ ### Added
12
+
13
+ - **`<MessagingProvider sourceApp sourceFeature>`**, forwarded to `createMessagingAi`. Only the
14
+ host knows its registered slugs, so the host passes them; the package's defaults are documented
15
+ as placeholders that will not survive a real server.
16
+
3
17
  ## 0.10.0 — 2026-09-07
4
18
 
5
19
  **The four AI-native intelligences rendered nothing in the first host that shipped them, and
package/README.md CHANGED
@@ -172,6 +172,8 @@ messages, keyset pagination, and the whole polished UI. There is nothing else to
172
172
  draftReply: { agentId: "…" },
173
173
  }}
174
174
  maxTranscriptMessages={200} // your knob, not our taste
175
+ sourceApp="matrx-frontend" // YOUR registered producer slugs
176
+ sourceFeature="messages"
175
177
  >
176
178
  ```
177
179
 
@@ -190,6 +192,10 @@ names the job it is waiting on. If you render the output yourself, render `parti
190
192
  `isRunning` — a placeholder that sits until the run finishes is a spinner standing in for an
191
193
  answer.
192
194
 
195
+ 🚨 **`sourceApp` / `sourceFeature` are not analytics garnish.** The AI Matrx server keeps a register
196
+ of legal producers and answers an unregistered one with a **422** — so every AI call fails until you
197
+ pass slugs your server knows. This package's defaults are placeholders; only you know yours.
198
+
193
199
  **"Catch me up" means the unread tail**, derived from the store's own unread count. Nothing
194
200
  unread, or a loaded window that does not reach back to the read mark, means there is no honest
195
201
  cutoff and the whole window applies — never a guessed timestamp.