@ai-matrx/data 0.18.40 → 0.18.42

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +18 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.42
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/data/v0.18.41..npm/data/v0.18.42 -- apps/shared/data`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.19.0 — the one session identity
10
+
11
+ - New subpath `@ai-matrx/data/session-identity`: `createSessionIdentity({ client, words, toUserId?,
12
+ onDiagnostic? })`, `SERVER_SESSION_IDENTITY`, `authOf`, `sessionUserId` and the session types —
13
+ the acting user read from the Supabase client's session, never handed in (DD-240/DD-241). Each
14
+ product passes its own words; messaging and meet carried a copy each until now (architecture
15
+ step 11).
16
+ - New subpath `@ai-matrx/data/testing`: `fakeSession`, `withSession`, `signedInAs` for tests that
17
+ need a signed-in fake client.
18
+
19
+ Consumer action: none (additive).
20
+
21
+ ## 0.18.41
22
+
23
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
24
+ `git diff npm/data/v0.18.40..npm/data/v0.18.41 -- apps/shared/data`).
25
+ No source changes intended and no consumer action required.
26
+
3
27
  ## 0.18.40
4
28
 
5
29
  - **A refresh that was sent is never abandoned at the identity budget.** `createAuthBudget` aborted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/data",
3
- "version": "0.18.40",
3
+ "version": "0.18.42",
4
4
  "description": "The opinionated AI Matrx data layer: the /db tier's hard-won Supabase primitives — optimistic concurrency, complete-list reads, JSONB merge, session-retry, the domain-wide auth cookie, realtime channel hygiene — the /net resilience trio, and the /files lane: the Matrx file-communication client (durable-ref resolution, the mx_files_session bootstrap, authenticated blob fetch, uploads, the public-link door).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -138,6 +138,23 @@
138
138
  "optional": true
139
139
  }
140
140
  },
141
+ "matrx": {
142
+ "charter": "The one client data and transport layer between our code, Supabase and our servers.",
143
+ "owns": [
144
+ "/db Supabase primitives",
145
+ "/net resilience",
146
+ "/files byte transport",
147
+ "session cookie",
148
+ "generated DB types (target)"
149
+ ],
150
+ "mustNotOwn": [
151
+ "feature state",
152
+ "Redux",
153
+ "UI",
154
+ "server API types (agents/generated)"
155
+ ],
156
+ "layer": 2
157
+ },
141
158
  "scripts": {
142
159
  "build": "pnpm clean && tsup && node ../scripts/check-node-env-not-inlined.mjs",
143
160
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",