@agents24/chat-react 0.5.31 → 0.5.32
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"title": "Agents24 Chat",
|
|
6
6
|
"description": "Complete editable Agents24 chat, inheriting your application's theme.",
|
|
7
7
|
"dependencies": [
|
|
8
|
-
"@agents24/chat-react@0.5.
|
|
8
|
+
"@agents24/chat-react@0.5.32",
|
|
9
9
|
"@agents24/client@0.2.15",
|
|
10
10
|
"@agents24/react@0.2.19",
|
|
11
11
|
"@shadcn/react@^0.2.1",
|
|
@@ -254,13 +254,13 @@
|
|
|
254
254
|
}
|
|
255
255
|
],
|
|
256
256
|
"meta": {
|
|
257
|
-
"version": "0.5.
|
|
257
|
+
"version": "0.5.32",
|
|
258
258
|
"source": "packages/agents24-chat-react/scaffold",
|
|
259
259
|
"source_sha256": "9947c6eb88ebdea4ae6213cdd21002e3b1feb13111bcde7388deb5452fa0786d",
|
|
260
260
|
"agents24": {
|
|
261
261
|
"@agents24/client": "0.2.15",
|
|
262
262
|
"@agents24/react": "0.2.19",
|
|
263
|
-
"@agents24/chat-react": "0.5.
|
|
263
|
+
"@agents24/chat-react": "0.5.32"
|
|
264
264
|
}
|
|
265
265
|
},
|
|
266
266
|
"docs": "Import the installed styles.css from your application stylesheet. Pass your configured AgentClient to Agents24ChatScaffold. Authentication and URLs remain host-owned. Installed UI is editable; review changes before reinstalling and do not use --overwrite on customized files."
|
package/dist/ui/index.cjs
CHANGED
|
@@ -1096,7 +1096,7 @@ function useAgentChatComposer(options) {
|
|
|
1096
1096
|
const validationError = options.inputContract ? validateAgentChatSubmission(
|
|
1097
1097
|
options.inputContract,
|
|
1098
1098
|
text,
|
|
1099
|
-
files.map((file) => ({ data: file.source || new Uint8Array(), mediaType: file.mediaType, name: file.filename }))
|
|
1099
|
+
files.map((file) => ({ data: file.source || new Uint8Array(), mediaType: file.mediaType, name: file.filename, byteSize: file.byteSize }))
|
|
1100
1100
|
) : null;
|
|
1101
1101
|
const canSubmit = Boolean(text.trim() || files.length) && !options.disabled && !options.isCancelling && !isSubmitting && !recorder.isRecording && !validationError;
|
|
1102
1102
|
const submit = async () => {
|