@hanzo/rooms 0.1.88 → 0.1.89
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/dist/Chat.js +4 -0
- package/package.json +3 -3
package/dist/Chat.js
CHANGED
|
@@ -1169,6 +1169,10 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1169
1169
|
{ id: `u-${Date.now()}`, role: "user", content: text },
|
|
1170
1170
|
{ id: `a-${Date.now()}`, role: "assistant", content: reply },
|
|
1171
1171
|
]);
|
|
1172
|
+
// A page a plugin's answer carries (a design system's preview) opens beside it at once.
|
|
1173
|
+
const made = artifacts(reply).filter(renders);
|
|
1174
|
+
if (made.length)
|
|
1175
|
+
see(made[made.length - 1]);
|
|
1172
1176
|
if (!anonymous)
|
|
1173
1177
|
void ai.threads
|
|
1174
1178
|
.record([{ role: "user", content: text }, { role: "assistant", content: reply }], open ?? undefined)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/rooms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.89",
|
|
4
4
|
"description": "The workspace rooms — Home, Chat, Inbox, Contacts, Meet, Cal, Drive, Board, Work, Bots — and the frame that holds them, once, for every Hanzo surface.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@hanzo/ai": ">=0.6.23",
|
|
51
51
|
"@hanzo/appearance": ">=0.2.6",
|
|
52
|
-
"@hanzo/build": ">=0.2.
|
|
52
|
+
"@hanzo/build": ">=0.2.74",
|
|
53
53
|
"@hanzo/composer": ">=0.2.0",
|
|
54
54
|
"@hanzo/event": ">=0.3.56",
|
|
55
55
|
"@hanzo/gui": "^8.3.5",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@hanzo/ai": "0.6.23",
|
|
69
69
|
"@hanzo/appearance": "0.2.8",
|
|
70
|
-
"@hanzo/build": "0.2.
|
|
70
|
+
"@hanzo/build": "0.2.74",
|
|
71
71
|
"@hanzo/composer": "0.2.0",
|
|
72
72
|
"@hanzo/design": "0.5.34",
|
|
73
73
|
"@hanzo/event": "0.3.56",
|