@meshagent/meshagent-tailwind 0.35.5 → 0.35.7
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 +16 -0
- package/dist/cjs/Chat.js +5 -1
- package/dist/esm/Chat.js +5 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [0.35.7]
|
|
2
|
+
- Added container build lifecycle and image management in the TS SDK (start/build returning build IDs, list/cancel/delete builds, build logs, load/save/push/delete images) plus exec stderr streams and stricter status decoding.
|
|
3
|
+
- Breaking: container build APIs now return build IDs and `stop` defaults to non-forced.
|
|
4
|
+
- Added database namespace support and new operations (count, inspect, restore/checkout, listVersions with metadata) plus typed indexes and search offset.
|
|
5
|
+
- Added secrets client overhaul: OAuth/secret request handlers, offline OAuth tokens, request/provide/reject secret flows, and flexible get/set secret by id/type/name.
|
|
6
|
+
- Added storage enhancements: `stat`, upload MIME inference, storage entries include created/updated timestamps, and file updated/deleted events now include participant IDs.
|
|
7
|
+
- Breaking: messaging stream APIs removed; messaging now uses queued sends with start/stop, and RoomClient starts messaging automatically.
|
|
8
|
+
|
|
9
|
+
## [0.35.6]
|
|
10
|
+
- New `@meshagent/meshagent-ts-auth` package provides framework-agnostic OAuth/PKCE login, token storage/refresh, and access-token providers.
|
|
11
|
+
- New `@meshagent/meshagent-react-dev` package adds developer console hooks for logs, terminal sessions, and webterm/ghostty integrations.
|
|
12
|
+
- Breaking: `@meshagent/meshagent-react-auth` now builds on `@meshagent/meshagent-ts-auth` and React Query; built-in auth primitives and the LoginScope component were removed in favor of hook-based APIs.
|
|
13
|
+
- TypeScript storage uploads now honor server-provided `chunk_size` pull headers for adaptive chunking.
|
|
14
|
+
- Async-iterable subscriptions in the React package now call iterator `return()` on unsubscribe to clean up resources.
|
|
15
|
+
- Dependency updates: `react`/`react-dom` ^19.1.8, `@tanstack/react-query`/`@tanstack/react-query-devtools` ^5.95.2, `ghostty-web` ^0.4.0, `wasm-webterm` (GitHub), `jest` ^30.3.0, `@types/jest` ^30.0.0, `ts-jest` ^29.4.6, `esbuild` ^0.25.0, `@types/react` ^19.1.8, `@types/react-dom` ^19.1.8.
|
|
16
|
+
|
|
1
17
|
## [0.35.5]
|
|
2
18
|
- Stability
|
|
3
19
|
|
package/dist/cjs/Chat.js
CHANGED
|
@@ -29,6 +29,10 @@ var import_ChatInput = require("./ChatInput");
|
|
|
29
29
|
var import_ChatTypingIndicator = require("./ChatTypingIndicator");
|
|
30
30
|
var import_ui_toolkit = require("./tools/ui-toolkit");
|
|
31
31
|
var import_sonner = require("./components/ui/sonner");
|
|
32
|
+
function getParticipantName(participant) {
|
|
33
|
+
const name = participant?.getAttribute("name");
|
|
34
|
+
return typeof name === "string" ? name : "";
|
|
35
|
+
}
|
|
32
36
|
function Chat({ room, path, participants }) {
|
|
33
37
|
const {
|
|
34
38
|
messages,
|
|
@@ -54,7 +58,7 @@ function Chat({ room, path, participants }) {
|
|
|
54
58
|
});
|
|
55
59
|
}
|
|
56
60
|
}, [room, path]);
|
|
57
|
-
const localParticipantName = room?.localParticipant
|
|
61
|
+
const localParticipantName = getParticipantName(room?.localParticipant);
|
|
58
62
|
if (schemaFileExists === false) {
|
|
59
63
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex flex-col flex-1 min-h-0 gap-2 p-4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-red-500", children: 'No AI agent found in this room. Run `meshagent chatbot join --room [room-name] --agent-name "Chat Agent" --name "Chat Friend"` and try again.' }) });
|
|
60
64
|
}
|
package/dist/esm/Chat.js
CHANGED
|
@@ -6,6 +6,10 @@ import { ChatInput } from "./ChatInput";
|
|
|
6
6
|
import { ChatTypingIndicator } from "./ChatTypingIndicator";
|
|
7
7
|
import { UIToolkit } from "./tools/ui-toolkit";
|
|
8
8
|
import { Toaster } from "./components/ui/sonner";
|
|
9
|
+
function getParticipantName(participant) {
|
|
10
|
+
const name = participant?.getAttribute("name");
|
|
11
|
+
return typeof name === "string" ? name : "";
|
|
12
|
+
}
|
|
9
13
|
function Chat({ room, path, participants }) {
|
|
10
14
|
const {
|
|
11
15
|
messages,
|
|
@@ -31,7 +35,7 @@ function Chat({ room, path, participants }) {
|
|
|
31
35
|
});
|
|
32
36
|
}
|
|
33
37
|
}, [room, path]);
|
|
34
|
-
const localParticipantName = room?.localParticipant
|
|
38
|
+
const localParticipantName = getParticipantName(room?.localParticipant);
|
|
35
39
|
if (schemaFileExists === false) {
|
|
36
40
|
return /* @__PURE__ */ jsx("div", { className: "flex flex-col flex-1 min-h-0 gap-2 p-4", children: /* @__PURE__ */ jsx("p", { className: "text-red-500", children: 'No AI agent found in this room. Run `meshagent chatbot join --room [room-name] --agent-name "Chat Agent" --name "Chat Friend"` and try again.' }) });
|
|
37
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshagent/meshagent-tailwind",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.7",
|
|
4
4
|
"description": "Meshagent Tailwind Components",
|
|
5
5
|
"homepage": "https://github.com/meshagent/meshagent-tailwind",
|
|
6
6
|
"scripts": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"CHANGELOG.md"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@meshagent/meshagent": "^0.35.
|
|
34
|
-
"@meshagent/meshagent-react": "^0.35.
|
|
33
|
+
"@meshagent/meshagent": "^0.35.7",
|
|
34
|
+
"@meshagent/meshagent-react": "^0.35.7",
|
|
35
35
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
36
36
|
"@radix-ui/react-checkbox": "^1.3.2",
|
|
37
37
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"esbuild-plugin-alias": "^0.2.1",
|
|
48
48
|
"lucide-react": "^0.525.0",
|
|
49
49
|
"next-themes": "^0.4.6",
|
|
50
|
-
"react": "^19.1.
|
|
51
|
-
"react-dom": "^19.1.
|
|
50
|
+
"react": "^19.1.8",
|
|
51
|
+
"react-dom": "^19.1.8",
|
|
52
52
|
"react-hook-form": "^7.61.1",
|
|
53
53
|
"react-markdown": "^10.1.0",
|
|
54
54
|
"rehype-highlight": "^7.0.2",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@tailwindcss/vite": "^4.1.11",
|
|
70
70
|
"@types/node": "^24.0.13",
|
|
71
71
|
"@types/react": "^19.1.8",
|
|
72
|
-
"@types/react-dom": "^19.1.
|
|
72
|
+
"@types/react-dom": "^19.1.8",
|
|
73
73
|
"@vitejs/plugin-react": "^4.5.2",
|
|
74
74
|
"autoprefixer": "^10.4.21",
|
|
75
75
|
"esbuild": "^0.25.6",
|