@ai-matrx/rich-content 0.2.164 → 0.2.165
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,9 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.165
|
|
4
|
+
### Unreleased
|
|
5
|
+
|
|
6
|
+
- The document's Alchemy menu hands Alchemy its text as data: the palette's tiles are Raw (the stored text exactly, reasoning left out — a chat answer's own response) · Markdown · Formatted · For AI, and its click copies Raw. "Copy including thinking" is now "Raw with thinking" under More. Needs `@ai-matrx/alchemy` with `data`. Consumer action: none.
|
|
7
|
+
|
|
3
8
|
## 0.2.164
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
10
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
|
+
Diff: `git diff bd8cc634ac 1b4c21ab92 -- apps/shared/rich-content/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (2):
|
|
15
|
+
- `apps/shared/rich-content/src/display/chat-markdown/block-registry/BlockRenderer.tsx`
|
|
16
|
+
- `apps/shared/rich-content/src/display/chat-markdown/block-registry/render-ratchet.ts`
|
|
7
17
|
|
|
8
18
|
## 0.2.163
|
|
9
19
|
|
|
@@ -69,6 +69,10 @@ function AlchemyDocumentMenu({
|
|
|
69
69
|
{
|
|
70
70
|
source,
|
|
71
71
|
label: "Document",
|
|
72
|
+
data: () => {
|
|
73
|
+
const ctx = getCtx();
|
|
74
|
+
return { value: ctx.content, type: ctx.source?.type === "chat-message" ? "AI response" : "Document" };
|
|
75
|
+
},
|
|
72
76
|
className: size === "xs" ? "matrx-alchemy-xs" : void 0,
|
|
73
77
|
...triggerHidden ? { triggerHidden: true } : {},
|
|
74
78
|
...controllerRef ? { controllerRef } : {},
|
|
@@ -80,8 +84,9 @@ function AlchemyDocumentMenu({
|
|
|
80
84
|
variants: hasThinking ? [
|
|
81
85
|
{
|
|
82
86
|
id: "include-thinking",
|
|
83
|
-
label: "
|
|
84
|
-
copyLabel: "
|
|
87
|
+
label: "Raw with thinking",
|
|
88
|
+
copyLabel: "Raw with thinking",
|
|
89
|
+
section: "copy",
|
|
85
90
|
hint: "Includes the original reasoning content",
|
|
86
91
|
source: includingThinkingSource
|
|
87
92
|
}
|
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.165",
|
|
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",
|
|
@@ -131,20 +131,20 @@
|
|
|
131
131
|
"unist-util-visit-parents": "^6.0.2",
|
|
132
132
|
"yaml": "^2.9.1",
|
|
133
133
|
"@ai-matrx/agents": "latest",
|
|
134
|
-
"@ai-matrx/alchemy": "latest",
|
|
135
|
-
"@ai-matrx/api": "latest",
|
|
136
|
-
"@ai-matrx/canvas": "latest",
|
|
137
134
|
"@ai-matrx/content-ir": "latest",
|
|
138
135
|
"@ai-matrx/content-ir-react": "latest",
|
|
139
136
|
"@ai-matrx/data": "latest",
|
|
137
|
+
"@ai-matrx/alchemy": "latest",
|
|
138
|
+
"@ai-matrx/diff": "latest",
|
|
140
139
|
"@ai-matrx/design-system": "latest",
|
|
141
|
-
"@ai-matrx/icons": "latest",
|
|
142
|
-
"@ai-matrx/kit": "latest",
|
|
143
|
-
"@ai-matrx/media": "latest",
|
|
144
140
|
"@ai-matrx/print": "latest",
|
|
145
|
-
"@ai-matrx/
|
|
141
|
+
"@ai-matrx/api": "latest",
|
|
146
142
|
"@ai-matrx/records": "latest",
|
|
147
|
-
"@ai-matrx/records-ui": "latest"
|
|
143
|
+
"@ai-matrx/records-ui": "latest",
|
|
144
|
+
"@ai-matrx/icons": "latest",
|
|
145
|
+
"@ai-matrx/canvas": "latest",
|
|
146
|
+
"@ai-matrx/media": "latest",
|
|
147
|
+
"@ai-matrx/kit": "latest"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"react": ">=19.0.0",
|
|
@@ -205,5 +205,5 @@
|
|
|
205
205
|
"verify:modules-tarball": "node ./scripts/verify-modules-tarball.mjs",
|
|
206
206
|
"verify:tarball": "node ./scripts/verify-tarball.mjs"
|
|
207
207
|
},
|
|
208
|
-
"gitHead": "
|
|
208
|
+
"gitHead": "6a0868df3e9f82a0f02d077c67e206a003dc3a0e"
|
|
209
209
|
}
|