@smarter.sh/ui-chat 0.9.1 → 0.10.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/dist/embed.js +2 -2
- package/dist/embed.js.map +1 -1
- package/dist/smarter-chat-library.es.js +2 -2
- package/dist/smarter-chat-library.es.js.map +1 -1
- package/dist/smarter-chat-library.umd.js +2 -2
- package/dist/smarter-chat-library.umd.js.map +1 -1
- package/dist/types/src/contract.gen.d.ts +8 -0
- package/package.json +1 -1
|
@@ -6778,7 +6778,7 @@ jf.displayName = "StatusList", jf.propTypes = {
|
|
|
6778
6778
|
}, process.env.NODE_ENV !== "production" && (Af.propTypes = jf.propTypes);
|
|
6779
6779
|
var Mf = {
|
|
6780
6780
|
name: "@smarter.sh/ui-chat",
|
|
6781
|
-
version: "0.
|
|
6781
|
+
version: "0.10.0",
|
|
6782
6782
|
description: "chatbot React.js component for the https://smarter.sh declarative, plugin-based AI resource management platform.",
|
|
6783
6783
|
homepage: "https://smarter.sh",
|
|
6784
6784
|
type: "module",
|
|
@@ -44657,7 +44657,7 @@ function jT({ apiUrl: e, apiKey: t = null, toggleMetadata: n = !1, csrfCookieNam
|
|
|
44657
44657
|
let Me = (e) => {
|
|
44658
44658
|
let t = Pg(e);
|
|
44659
44659
|
return t && !se.has(t) ? t : null;
|
|
44660
|
-
}, Ne = Me(Ae?.app_logo_url), Pe = Me(Ae?.assistant_avatar_url), Fe = Me(Ae?.user_avatar_url), Ie = Oe ? `${Oe.app_name} v${Oe.version || "1.0.0"}` : "", Le =
|
|
44660
|
+
}, Ne = Me(Ae?.app_logo_url), Pe = Me(Ae?.assistant_avatar_url), Fe = Me(Ae?.user_avatar_url), Ie = Oe ? `${Oe.app_name} v${Oe.version || "1.0.0"}` : "", Le = Oe?.total_tools ?? 0, Re = Oe ? `${Oe.provider} ${Oe.default_model}${Le > 0 ? ` with ${Le} additional tools` : ""}` : "", ze = w?.meta_data?.is_valid ?? w?.meta_data?.ready ?? !0, Be = !!(w?.meta_data?.is_deployed ?? Oe?.deployed), Ve = Oe?.app_assistant ?? "Assistant";
|
|
44661
44661
|
function He(e) {
|
|
44662
44662
|
return e.sender === Hf.ASSISTANT && Pe ? /* @__PURE__ */ d(Te, {
|
|
44663
44663
|
src: Pe,
|