@ai-matrx/kit 0.12.1 → 0.13.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 +21 -0
- package/README.md +1 -0
- package/dist/content-transfer.cjs +1323 -0
- package/dist/content-transfer.cjs.map +1 -0
- package/dist/content-transfer.d.cts +356 -0
- package/dist/content-transfer.d.ts +356 -0
- package/dist/content-transfer.js +1290 -0
- package/dist/content-transfer.js.map +1 -0
- package/dist/index.cjs +1174 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +356 -1
- package/dist/index.d.ts +356 -1
- package/dist/index.js +1174 -3
- package/dist/index.js.map +1 -1
- package/package.json +14 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.1 — 2026-09-12
|
|
4
|
+
|
|
5
|
+
Publishes the new `content-transfer` module with source-consumer compatibility
|
|
6
|
+
for TypeScript's `erasableSyntaxOnly` mode. The error class now uses explicit
|
|
7
|
+
readonly field assignments instead of constructor parameter properties; runtime
|
|
8
|
+
behavior is unchanged.
|
|
9
|
+
|
|
10
|
+
Version 0.13.0 was cancelled before npm publication after the source-consumer
|
|
11
|
+
diagnostic was found. No `0.13.0` registry artifact exists.
|
|
12
|
+
|
|
13
|
+
**Consumer action:** adopt `@ai-matrx/kit/content-transfer` as described below
|
|
14
|
+
and remove equivalent host implementations.
|
|
15
|
+
|
|
16
|
+
## 0.13.0 — 2026-09-12
|
|
17
|
+
|
|
18
|
+
**`content-transfer` adds the shared Matrx Alchemy core.** It supplies immutable normalized captures, projection-before-draft, explicit all-matching collection, deterministic table/JSON serializers, omission-aware preparation, and a result-returning clipboard/download transport. `marked` and `dompurify` are runtime dependencies solely for lazy, sanitized Markdown rich-copy conversion; no hand-rolled Markdown-to-HTML converter ships here.
|
|
19
|
+
|
|
20
|
+
**Consumer action:** import the universal capture/prepare/export primitives from
|
|
21
|
+
`@ai-matrx/kit/content-transfer`. Matrx-owned consumers must remove equivalent
|
|
22
|
+
host implementations when adopting the Alchemy package family.
|
|
23
|
+
|
|
3
24
|
## 0.12.1 — 2026-09-12
|
|
4
25
|
|
|
5
26
|
**`formatUsd` groups thousands and learns `digits: "adaptive"`.** Both were
|
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ npm install @ai-matrx/kit
|
|
|
26
26
|
| `@ai-matrx/kit/autosave` | `useAutosave` | Debounced autosave with in-flight coalescing, a UI status (`idle/unsaved/saving/saved/error`), loud non-throwing failures that re-queue the payload, and flush-on-unmount so no keystroke is ever lost. |
|
|
27
27
|
| `@ai-matrx/kit/latest-request` | `useLatestRequest` | Makes a superseded async response impossible to apply: claim an attempt, then check the predicate before every state write after an `await`. Kills the out-of-order-response bug (the wrong record under a confident label) at the only moment that matters — apply time. Render-stable by construction. |
|
|
28
28
|
| `@ai-matrx/kit/clipboard` | `useClipboard` | Copy/paste text, links, and images with the browser quirks solved: canvas→PNG re-encode for image copy, Safari `clipboard.read` feature detection, param-stripping link copy. Notifier injected — wrap your own toast. |
|
|
29
|
+
| `@ai-matrx/kit/content-transfer` | snapshot, preparation, serializers, `createBrowserTransport` | Immutable projected content snapshots, explicit omission evidence, JSON/table formats, and rich clipboard/download outcomes. Browser APIs are used only when delivery is requested. |
|
|
29
30
|
|
|
30
31
|
| `@ai-matrx/kit/search-scoring` | `filterAndSortBySearch`, `computeSearchScore`, `matchesSearch`, `idMatchesQuery` | Relevance-weighted search ranking — title above description, exact above prefix above includes, pasted-UUID matching — instead of the naive `.includes()` filter. |
|
|
31
32
|
| `@ai-matrx/kit/concurrency` | `runWithConcurrency` | Bounded worker pool over an array with per-item failure isolation and a cooperative `shouldStart()` cancel hook. |
|