@elizaos/server 1.2.4 → 1.2.5
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/client/assets/{index-CSGjxUG_.js → index-CgZP7vAX.js} +6 -20
- package/dist/client/assets/index-CgZP7vAX.js.br +0 -0
- package/dist/client/assets/{index-CSGjxUG_.js.map → index-CgZP7vAX.js.map} +1 -1
- package/dist/client/assets/{index-DS--BeyD.js → index-CjvSac-d.js} +2 -2
- package/dist/client/assets/index-CjvSac-d.js.br +0 -0
- package/dist/client/assets/{index-DS--BeyD.js.map → index-CjvSac-d.js.map} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/client/assets/index-CSGjxUG_.js.br +0 -0
- package/dist/client/assets/index-DS--BeyD.js.br +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CjvSac-d.js","assets/vendor-Dp9Dttv5.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import { r as requireReact, a as requireReactDom, d as distExports, b as reactExports, g as getDefaultExportFromCjs, c as reactDomExports, R as React, e as ReactDOM, f as React$1, h as requireBufferPolyfill, i as requireBase64Js, u as useNavigate, j as useLocation, N as NavLink, k as useParams, L as Link, l as useSearchParams, B as BrowserRouter, m as Routes, n as Route } from './vendor-Dp9Dttv5.js';
|
|
3
3
|
|
|
4
4
|
true &&(function polyfill() {
|
|
@@ -26458,18 +26458,12 @@ SelectSeparator.displayName = Separator$1.displayName;
|
|
|
26458
26458
|
|
|
26459
26459
|
const providerPluginMap = {
|
|
26460
26460
|
elevenlabs: "@elizaos/plugin-elevenlabs",
|
|
26461
|
-
local: "@elizaos/plugin-local-ai",
|
|
26462
26461
|
openai: "@elizaos/plugin-openai",
|
|
26463
26462
|
none: ""
|
|
26464
26463
|
// No plugin needed for "No Voice" option
|
|
26465
26464
|
};
|
|
26466
26465
|
const noVoiceModel = [{ value: "none", label: "No Voice", provider: "none" }];
|
|
26467
|
-
const localVoiceModels = [
|
|
26468
|
-
{ value: "female_1", label: "Local Voice - Female 1", provider: "local", gender: "female" },
|
|
26469
|
-
{ value: "female_2", label: "Local Voice - Female 2", provider: "local", gender: "female" },
|
|
26470
|
-
{ value: "male_1", label: "Local Voice - Male 1", provider: "local", gender: "male" },
|
|
26471
|
-
{ value: "male_2", label: "Local Voice - Male 2", provider: "local", gender: "male" }
|
|
26472
|
-
];
|
|
26466
|
+
const localVoiceModels = [];
|
|
26473
26467
|
const elevenLabsVoiceModels = [
|
|
26474
26468
|
{
|
|
26475
26469
|
value: "EXAVITQu4vr4xnSDxMaL",
|
|
@@ -102265,7 +102259,7 @@ var createStream = async () => {
|
|
|
102265
102259
|
if (raw) {
|
|
102266
102260
|
return void 0;
|
|
102267
102261
|
}
|
|
102268
|
-
const pretty = await __vitePreload(() => import('./index-
|
|
102262
|
+
const pretty = await __vitePreload(() => import('./index-CjvSac-d.js').then(n => n.i),true ?__vite__mapDeps([0,1]):void 0);
|
|
102269
102263
|
return pretty.default(createPrettyConfig());
|
|
102270
102264
|
};
|
|
102271
102265
|
var options = {
|
|
@@ -108606,8 +108600,7 @@ function usePlugins() {
|
|
|
108606
108600
|
}
|
|
108607
108601
|
|
|
108608
108602
|
const PROVIDER_PLUGIN_MAPPINGS = {
|
|
108609
|
-
google: "@elizaos/plugin-google-genai"
|
|
108610
|
-
llama_local: "@elizaos/plugin-local-ai"
|
|
108603
|
+
google: "@elizaos/plugin-google-genai"
|
|
108611
108604
|
// extend as needed
|
|
108612
108605
|
};
|
|
108613
108606
|
const CLIENT_PLUGIN_MAPPINGS = {
|
|
@@ -109123,11 +109116,6 @@ function CharacterForm({
|
|
|
109123
109116
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectContent, { children: field.name === "settings.voice.model" ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
109124
109117
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectGroup, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SelectItem, { value: "none", children: "No Voice" }) }),
|
|
109125
109118
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectSeparator, {}),
|
|
109126
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(SelectGroup, { children: [
|
|
109127
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectLabel, { children: "Local Voices" }),
|
|
109128
|
-
localVoiceModels.map((model) => /* @__PURE__ */ jsxRuntimeExports.jsx(SelectItem, { value: model.value, children: model.label.replace("Local Voice - ", "") }, model.value))
|
|
109129
|
-
] }),
|
|
109130
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectSeparator, {}),
|
|
109131
109119
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SelectGroup, { children: [
|
|
109132
109120
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectLabel, { children: "OpenAI Voices" }),
|
|
109133
109121
|
openAIVoiceModels.map((model) => /* @__PURE__ */ jsxRuntimeExports.jsx(SelectItem, { value: model.value, children: model.label.replace("OpenAI - ", "") }, model.value))
|
|
@@ -109670,7 +109658,7 @@ function PluginsPanel({
|
|
|
109670
109658
|
return characterValue.plugins;
|
|
109671
109659
|
}, [characterValue?.plugins]);
|
|
109672
109660
|
const pluginNames = reactExports.useMemo(() => {
|
|
109673
|
-
const defaultPlugins = ["@elizaos/plugin-sql"
|
|
109661
|
+
const defaultPlugins = ["@elizaos/plugin-sql"];
|
|
109674
109662
|
if (!plugins) return defaultPlugins;
|
|
109675
109663
|
return [
|
|
109676
109664
|
...defaultPlugins,
|
|
@@ -109768,8 +109756,6 @@ function PluginsPanel({
|
|
|
109768
109756
|
return "ElevenLabs plugin is required for the selected voice model.";
|
|
109769
109757
|
case "openai":
|
|
109770
109758
|
return "OpenAI plugin is required for the selected voice model.";
|
|
109771
|
-
case "local":
|
|
109772
|
-
return "Local AI plugin is required for the selected voice model.";
|
|
109773
109759
|
case "none":
|
|
109774
109760
|
return 'No voice plugin required for "No Voice" option.';
|
|
109775
109761
|
default:
|
|
@@ -162032,4 +162018,4 @@ clientExports.createRoot(rootElement).render(
|
|
|
162032
162018
|
);
|
|
162033
162019
|
|
|
162034
162020
|
export { requireString_decoder as a, requireUtil$2 as b, requireShams$1 as c, requireCallBound as d, requireEsObjectAtoms as e, requireCallBind as f, requireGetIntrinsic as g, requireDefineDataProperty as h, requireHasPropertyDescriptors as i, requireEvents as j, requireStreamBrowserify as r };
|
|
162035
|
-
//# sourceMappingURL=index-
|
|
162021
|
+
//# sourceMappingURL=index-CgZP7vAX.js.map
|
|
Binary file
|