@meshagent/meshagent-tailwind 0.36.2 → 0.37.0

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,3 +1,16 @@
1
+ ## [0.37.0]
2
+ - Breaking: Database client now supports `json`, `uuid`, `list`, and `struct` types with typed wrappers (DatabaseJson/DatabaseStruct/DatabaseExpression/DatabaseDate/DatabaseUuid); list/struct values must be wrapped and update now takes `values` only.
3
+ - Breaking: Containers build now streams build contexts (start/data chunks) with `mountPath`/`chunks` and removes `start_build`.
4
+ - Breaking: Toolkit/hosting refactor replaces RemoteToolkit with startHostedToolkit/HostedToolkit, removes ToolkitConfiguration and `supports_context`, and updates React/Tailwind helpers to start hosted toolkits.
5
+ - Participant tokens now include LLM grants and richer grant serialization (including allowed toolkits and extra payload preservation), and schema helpers add `json`/`uuid` data types.
6
+ - The JS SDK now exports its version constant for client-side visibility.
7
+
8
+ ## [0.36.3]
9
+ - Storage client now supports move operations and emits file moved events.
10
+ - Secrets client now supports existence checks.
11
+ - Project user add calls now omit permission fields unless explicitly set.
12
+ - Updated JS toolchain dependencies: esbuild 0.28.0, jest 30.3.0, mocha 12.0.0-beta-9.2, @tailwindcss/vite 4.2.2, @vitejs/plugin-react 6.0.1, vite 8.0.7.
13
+
1
14
  ## [0.36.2]
2
15
  - Breaking: Removed share-connect API from the TypeScript client (`connectShare` / RoomShareConnectionInfo).
3
16
  - OAuth helpers now default requested scope to `profile` (TS auth + React auth).
package/dist/cjs/Chat.js CHANGED
@@ -45,9 +45,9 @@ function Chat({ room, path, participants }) {
45
45
  } = (0, import_meshagent_react.useChat)({ room, path, participants });
46
46
  const { thinking } = (0, import_meshagent_react.useRoomIndicators)({ room, path });
47
47
  const toolkits = (0, import_react.useMemo)(() => [
48
- new import_ui_toolkit.UIToolkit({ room })
49
- ], [room]);
50
- (0, import_meshagent_react.useClientToolkits)({ toolkits, public: false });
48
+ new import_ui_toolkit.UIToolkit()
49
+ ], []);
50
+ (0, import_meshagent_react.useClientToolkits)({ room, toolkits, public: false });
51
51
  const onTextChange = (0, import_react.useCallback)((_) => {
52
52
  const removeParticipant = room.messaging.remoteParticipants;
53
53
  for (const part of removeParticipant) {
@@ -1,6 +1,4 @@
1
- import { RoomClient, RemoteToolkit } from '@meshagent/meshagent';
2
- export declare class UIToolkit extends RemoteToolkit {
3
- constructor({ room }: {
4
- room: RoomClient;
5
- });
1
+ import { Toolkit } from '@meshagent/meshagent';
2
+ export declare class UIToolkit extends Toolkit {
3
+ constructor();
6
4
  }
@@ -26,13 +26,12 @@ var import_ask_user = require("./ask-user");
26
26
  var import_ask_user_for_file = require("./ask-user-for-file");
27
27
  var import_display_document = require("./display-document");
28
28
  var import_toast = require("./toast");
29
- class UIToolkit extends import_meshagent.RemoteToolkit {
30
- constructor({ room }) {
29
+ class UIToolkit extends import_meshagent.Toolkit {
30
+ constructor() {
31
31
  super({
32
32
  name: "ui",
33
33
  title: "UI Tools",
34
34
  description: "User interface tools",
35
- room,
36
35
  tools: [
37
36
  new import_ask_user.AskUser(),
38
37
  new import_ask_user_for_file.AskUserForFile(),
package/dist/esm/Chat.js CHANGED
@@ -22,9 +22,9 @@ function Chat({ room, path, participants }) {
22
22
  } = useChat({ room, path, participants });
23
23
  const { thinking } = useRoomIndicators({ room, path });
24
24
  const toolkits = useMemo(() => [
25
- new UIToolkit({ room })
26
- ], [room]);
27
- useClientToolkits({ toolkits, public: false });
25
+ new UIToolkit()
26
+ ], []);
27
+ useClientToolkits({ room, toolkits, public: false });
28
28
  const onTextChange = useCallback((_) => {
29
29
  const removeParticipant = room.messaging.remoteParticipants;
30
30
  for (const part of removeParticipant) {
@@ -1,6 +1,4 @@
1
- import { RoomClient, RemoteToolkit } from '@meshagent/meshagent';
2
- export declare class UIToolkit extends RemoteToolkit {
3
- constructor({ room }: {
4
- room: RoomClient;
5
- });
1
+ import { Toolkit } from '@meshagent/meshagent';
2
+ export declare class UIToolkit extends Toolkit {
3
+ constructor();
6
4
  }
@@ -1,15 +1,14 @@
1
- import { RemoteToolkit } from "@meshagent/meshagent";
1
+ import { Toolkit } from "@meshagent/meshagent";
2
2
  import { AskUser } from "./ask-user";
3
3
  import { AskUserForFile } from "./ask-user-for-file";
4
4
  import { DisplayDocument } from "./display-document";
5
5
  import { Toast } from "./toast";
6
- class UIToolkit extends RemoteToolkit {
7
- constructor({ room }) {
6
+ class UIToolkit extends Toolkit {
7
+ constructor() {
8
8
  super({
9
9
  name: "ui",
10
10
  title: "UI Tools",
11
11
  description: "User interface tools",
12
- room,
13
12
  tools: [
14
13
  new AskUser(),
15
14
  new AskUserForFile(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshagent/meshagent-tailwind",
3
- "version": "0.36.2",
3
+ "version": "0.37.0",
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.36.2",
34
- "@meshagent/meshagent-react": "^0.36.2",
33
+ "@meshagent/meshagent": "^0.37.0",
34
+ "@meshagent/meshagent-react": "^0.37.0",
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",
@@ -66,13 +66,13 @@
66
66
  "@tailwindcss/forms": "^0.5.10",
67
67
  "@tailwindcss/postcss": "^4.1.11",
68
68
  "@tailwindcss/typography": "^0.5.16",
69
- "@tailwindcss/vite": "^4.1.11",
69
+ "@tailwindcss/vite": "^4.2.2",
70
70
  "@types/node": "^24.0.13",
71
71
  "@types/react": "^19.1.8",
72
72
  "@types/react-dom": "^19.1.8",
73
- "@vitejs/plugin-react": "^4.5.2",
73
+ "@vitejs/plugin-react": "^6.0.1",
74
74
  "autoprefixer": "^10.4.21",
75
- "esbuild": "^0.25.6",
75
+ "esbuild": "^0.28.0",
76
76
  "eslint": "^9.32.0",
77
77
  "eslint-plugin-react-hooks": "^5.2.0",
78
78
  "eslint-plugin-react-refresh": "^0.4.20",
@@ -81,9 +81,9 @@
81
81
  "tw-animate-css": "^1.3.5",
82
82
  "typescript": "~5.8.3",
83
83
  "typescript-eslint": "^8.34.1",
84
- "vite": "^7.0.0"
84
+ "vite": "^8.0.7"
85
85
  },
86
86
  "overrides": {
87
87
  "rollup": "4.52.5"
88
88
  }
89
- }
89
+ }