@ai-matrx/rich-content 0.2.43 → 0.2.45
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 +13 -0
- package/dist/display/chat-markdown/BasicMarkdownContent.js +1 -1
- package/dist/display/chat-markdown/ConfigurableMarkdownContent.js +1 -1
- package/dist/levels/RichContentInline.js +1 -1
- package/dist/levels/RichContentStaticProse.js +1 -1
- package/dist/levels/server/DelimiterViolationReport.d.ts +1 -1
- package/dist/levels/server/DelimiterViolationReport.js +1 -1
- package/dist/levels/server/RichContentServer.js +1 -1
- package/dist/levels/standard/StandardBlocks.js +1 -1
- package/package.json +22 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.45
|
|
4
|
+
|
|
5
|
+
- The delimiter guard and the thinking-tag helpers are read from their one home,
|
|
6
|
+
`@ai-matrx/content-ir/source` (kit 0.36.0 no longer carries them).
|
|
7
|
+
|
|
8
|
+
Consumer action: none.
|
|
9
|
+
|
|
10
|
+
## 0.2.44
|
|
11
|
+
|
|
12
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
13
|
+
`git diff npm/rich-content/v0.2.43..npm/rich-content/v0.2.44 -- apps/shared/rich-content`).
|
|
14
|
+
No source changes intended and no consumer action required.
|
|
15
|
+
|
|
3
16
|
## 0.2.43
|
|
4
17
|
|
|
5
18
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -6,7 +6,7 @@ import { useState, useMemo, useEffect } from "react";
|
|
|
6
6
|
import {
|
|
7
7
|
guardMarkdownDelimiters,
|
|
8
8
|
reportDelimiterViolations
|
|
9
|
-
} from "@ai-matrx/
|
|
9
|
+
} from "@ai-matrx/content-ir/source";
|
|
10
10
|
import { captureError } from "../../host/diagnostics.js";
|
|
11
11
|
import { CopyButtons } from "../../host/app-bindings.js";
|
|
12
12
|
import {
|
|
@@ -10,7 +10,7 @@ import { useState, useMemo, useEffect } from "react";
|
|
|
10
10
|
import {
|
|
11
11
|
guardMarkdownDelimiters,
|
|
12
12
|
reportDelimiterViolations
|
|
13
|
-
} from "@ai-matrx/
|
|
13
|
+
} from "@ai-matrx/content-ir/source";
|
|
14
14
|
import { captureError } from "../../host/diagnostics.js";
|
|
15
15
|
import { LinkComponent } from "../blocks/links/LinkComponent.js";
|
|
16
16
|
import { CopyButtons } from "../../host/app-bindings.js";
|
|
@@ -5,7 +5,7 @@ import MarkdownCore from "../markdown-core/MarkdownCore.js";
|
|
|
5
5
|
import {
|
|
6
6
|
guardMarkdownDelimiters,
|
|
7
7
|
reportDelimiterViolations
|
|
8
|
-
} from "@ai-matrx/
|
|
8
|
+
} from "@ai-matrx/content-ir/source";
|
|
9
9
|
import { captureError } from "../host/diagnostics.js";
|
|
10
10
|
import { cn } from "@ai-matrx/design-system";
|
|
11
11
|
import { preprocessCellProse, preprocessProse } from "./prose/prose-prepare.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { guardMarkdownDelimiters } from "@ai-matrx/
|
|
3
|
+
import { guardMarkdownDelimiters } from "@ai-matrx/content-ir/source";
|
|
4
4
|
import MarkdownCoreImpl from "../markdown-core/MarkdownCoreImpl.js";
|
|
5
5
|
import { cn } from "@ai-matrx/design-system";
|
|
6
6
|
import { detectTextDirection, preprocessProse } from "./prose/prose-prepare.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type guardMarkdownDelimiters } from "@ai-matrx/
|
|
1
|
+
import { type guardMarkdownDelimiters } from "@ai-matrx/content-ir/source";
|
|
2
2
|
type Violations = ReturnType<typeof guardMarkdownDelimiters>["violations"];
|
|
3
3
|
export declare function DelimiterViolationReport({ violations, renderPath, }: {
|
|
4
4
|
violations: Violations;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import {
|
|
4
4
|
reportDelimiterViolations
|
|
5
|
-
} from "@ai-matrx/
|
|
5
|
+
} from "@ai-matrx/content-ir/source";
|
|
6
6
|
import { captureError } from "../../host/diagnostics.js";
|
|
7
7
|
function DelimiterViolationReport({
|
|
8
8
|
violations,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "server-only";
|
|
3
|
-
import { guardMarkdownDelimiters } from "@ai-matrx/
|
|
3
|
+
import { guardMarkdownDelimiters } from "@ai-matrx/content-ir/source";
|
|
4
4
|
import MarkdownCoreServer from "../../markdown-core/MarkdownCoreServer.js";
|
|
5
5
|
import { cn } from "@ai-matrx/design-system/cn";
|
|
6
6
|
import { StaticStandard } from "../standard/static-standard.js";
|
|
@@ -13,7 +13,7 @@ import { fenceNestsInnerFences } from "@ai-matrx/content-ir/source";
|
|
|
13
13
|
import { NestedRichContent } from "./NestedRichContent.js";
|
|
14
14
|
import { DocumentFootnotes, DocumentNumberingProvider } from "../../markdown-core/syntax/elements/DocumentNumbering.js";
|
|
15
15
|
import { healStreamingTail } from "./stream-holdback.js";
|
|
16
|
-
import { stripThinking, stripThinkingStreaming } from "@ai-matrx/
|
|
16
|
+
import { stripThinking, stripThinkingStreaming } from "@ai-matrx/content-ir/source";
|
|
17
17
|
import {
|
|
18
18
|
MarkdownStreamingProvider,
|
|
19
19
|
useMarkdownStreaming
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/rich-content",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.45",
|
|
4
4
|
"description": "The AI Matrx formatted-text engine: the one markdown renderer, streaming markdown, the block splitter and renderer, the generic blocks, <RichContent> levels, the rich-document action registry and menus, copy, and the selection toolbar — as portable React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -130,21 +130,21 @@
|
|
|
130
130
|
"unist-util-visit": "^5.1.0",
|
|
131
131
|
"unist-util-visit-parents": "^6.0.2",
|
|
132
132
|
"yaml": "^2.9.1",
|
|
133
|
-
"@ai-matrx/agents": "latest",
|
|
134
133
|
"@ai-matrx/alchemy": "latest",
|
|
135
134
|
"@ai-matrx/canvas": "latest",
|
|
136
135
|
"@ai-matrx/content-ir": "latest",
|
|
137
136
|
"@ai-matrx/content-ir-react": "latest",
|
|
138
137
|
"@ai-matrx/data": "latest",
|
|
139
138
|
"@ai-matrx/design-system": "latest",
|
|
140
|
-
"@ai-matrx/diff": "latest",
|
|
141
139
|
"@ai-matrx/icons": "latest",
|
|
142
140
|
"@ai-matrx/kit": "latest",
|
|
143
|
-
"@ai-matrx/media": "latest",
|
|
144
141
|
"@ai-matrx/print": "latest",
|
|
142
|
+
"@ai-matrx/media": "latest",
|
|
143
|
+
"@ai-matrx/diff": "latest",
|
|
145
144
|
"@ai-matrx/records": "latest",
|
|
146
145
|
"@ai-matrx/records-ui": "latest",
|
|
147
|
-
"@ai-matrx/tap-target": "latest"
|
|
146
|
+
"@ai-matrx/tap-target": "latest",
|
|
147
|
+
"@ai-matrx/agents": "latest"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"react": ">=19.0.0",
|
|
@@ -176,6 +176,23 @@
|
|
|
176
176
|
"engines": {
|
|
177
177
|
"node": ">=20"
|
|
178
178
|
},
|
|
179
|
+
"matrx": {
|
|
180
|
+
"charter": "The one formatted-text renderer.",
|
|
181
|
+
"owns": [
|
|
182
|
+
"markdown",
|
|
183
|
+
"streaming markdown",
|
|
184
|
+
"blocks",
|
|
185
|
+
"mermaid",
|
|
186
|
+
"rich-document actions",
|
|
187
|
+
"selection toolbar"
|
|
188
|
+
],
|
|
189
|
+
"mustNotOwn": [
|
|
190
|
+
"table shape (records)",
|
|
191
|
+
"byte transport (data)",
|
|
192
|
+
"content-ir constants"
|
|
193
|
+
],
|
|
194
|
+
"layer": 7
|
|
195
|
+
},
|
|
179
196
|
"scripts": {
|
|
180
197
|
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup && node ./scripts/copy-css.mjs && node ./scripts/tsc-own.mjs -p tsconfig.build.json && node ./scripts/finish-build.mjs",
|
|
181
198
|
"check:package": "pnpm build && publint && pnpm verify:modules-tarball && pnpm verify:tarball && pnpm check:host-boundary && pnpm check:server-boundary",
|