@docyrus/ui-pro-ai-assistant 0.3.6 → 0.3.8

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/index.js CHANGED
@@ -457,7 +457,13 @@ var de_default = {
457
457
  unknown: "Unbekannt",
458
458
  untitled: "Unbenannt",
459
459
  no_description: "Keine Beschreibung",
460
- view: "Ansehen"
460
+ view: "Ansehen",
461
+ settings: "Einstellungen",
462
+ reasoning: "Schlussfolgerungsmodell f\xFCr komplexe Aufgaben verwenden",
463
+ start_recording: "Aufnahme starten",
464
+ stop_recording: "Aufnahme stoppen",
465
+ optimize_prompt: "Eingabe optimieren",
466
+ retry: "Erneut versuchen"
461
467
  },
462
468
  actions: {
463
469
  approve: "Genehmigen",
@@ -657,7 +663,13 @@ var el_default = {
657
663
  unknown: "\u0386\u03B3\u03BD\u03C9\u03C3\u03C4\u03BF",
658
664
  untitled: "\u03A7\u03C9\u03C1\u03AF\u03C2 \u03C4\u03AF\u03C4\u03BB\u03BF",
659
665
  no_description: "\u03A7\u03C9\u03C1\u03AF\u03C2 \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE",
660
- view: "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE"
666
+ view: "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE",
667
+ settings: "\u03A1\u03C5\u03B8\u03BC\u03AF\u03C3\u03B5\u03B9\u03C2",
668
+ reasoning: "\u03A7\u03C1\u03AE\u03C3\u03B7 \u03BC\u03BF\u03BD\u03C4\u03AD\u03BB\u03BF\u03C5 \u03C3\u03C5\u03BB\u03BB\u03BF\u03B3\u03B9\u03C3\u03BC\u03BF\u03CD \u03B3\u03B9\u03B1 \u03B5\u03C0\u03AF\u03BB\u03C5\u03C3\u03B7 \u03C3\u03CD\u03BD\u03B8\u03B5\u03C4\u03C9\u03BD \u03B5\u03C1\u03B3\u03B1\u03C3\u03B9\u03CE\u03BD",
669
+ start_recording: "\u0388\u03BD\u03B1\u03C1\u03BE\u03B7 \u03B5\u03B3\u03B3\u03C1\u03B1\u03C6\u03AE\u03C2",
670
+ stop_recording: "\u0394\u03B9\u03B1\u03BA\u03BF\u03C0\u03AE \u03B5\u03B3\u03B3\u03C1\u03B1\u03C6\u03AE\u03C2",
671
+ optimize_prompt: "\u0392\u03B5\u03BB\u03C4\u03B9\u03C3\u03C4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7 \u03B5\u03BD\u03C4\u03BF\u03BB\u03AE\u03C2",
672
+ retry: "\u0395\u03C0\u03B1\u03BD\u03AC\u03BB\u03B7\u03C8\u03B7"
661
673
  },
662
674
  actions: {
663
675
  approve: "\u0388\u03B3\u03BA\u03C1\u03B9\u03C3\u03B7",
@@ -858,7 +870,13 @@ var en_default = {
858
870
  untitled: "Untitled",
859
871
  no_description: "No description",
860
872
  active: "Active",
861
- view: "View"
873
+ view: "View",
874
+ settings: "Settings",
875
+ reasoning: "Use reasoning model to solve complex tasks",
876
+ start_recording: "Start Recording",
877
+ stop_recording: "Stop Recording",
878
+ optimize_prompt: "Optimize Prompt",
879
+ retry: "Retry"
862
880
  },
863
881
  actions: {
864
882
  approve: "Approve",
@@ -1085,7 +1103,13 @@ var es_default = {
1085
1103
  unknown: "Desconocido",
1086
1104
  untitled: "Sin t\xEDtulo",
1087
1105
  no_description: "Sin descripci\xF3n",
1088
- view: "Ver"
1106
+ view: "Ver",
1107
+ settings: "Configuraci\xF3n",
1108
+ reasoning: "Usar modelo de razonamiento para resolver tareas complejas",
1109
+ start_recording: "Iniciar grabaci\xF3n",
1110
+ stop_recording: "Detener grabaci\xF3n",
1111
+ optimize_prompt: "Optimizar instrucci\xF3n",
1112
+ retry: "Reintentar"
1089
1113
  },
1090
1114
  actions: {
1091
1115
  approve: "Aprobar",
@@ -1285,7 +1309,13 @@ var fr_default = {
1285
1309
  unknown: "Inconnu",
1286
1310
  untitled: "Sans titre",
1287
1311
  no_description: "Pas de description",
1288
- view: "Voir"
1312
+ view: "Voir",
1313
+ settings: "Param\xE8tres",
1314
+ reasoning: "Utiliser le mod\xE8le de raisonnement pour r\xE9soudre des t\xE2ches complexes",
1315
+ start_recording: "D\xE9marrer l'enregistrement",
1316
+ stop_recording: "Arr\xEAter l'enregistrement",
1317
+ optimize_prompt: "Optimiser l'instruction",
1318
+ retry: "R\xE9essayer"
1289
1319
  },
1290
1320
  actions: {
1291
1321
  approve: "Approuver",
@@ -1485,7 +1515,13 @@ var it_default = {
1485
1515
  unknown: "Sconosciuto",
1486
1516
  untitled: "Senza titolo",
1487
1517
  no_description: "Nessuna descrizione",
1488
- view: "Visualizza"
1518
+ view: "Visualizza",
1519
+ settings: "Impostazioni",
1520
+ reasoning: "Usa il modello di ragionamento per risolvere compiti complessi",
1521
+ start_recording: "Avvia registrazione",
1522
+ stop_recording: "Interrompi registrazione",
1523
+ optimize_prompt: "Ottimizza prompt",
1524
+ retry: "Riprova"
1489
1525
  },
1490
1526
  actions: {
1491
1527
  approve: "Approva",
@@ -1685,7 +1721,13 @@ var pt_default = {
1685
1721
  unknown: "Desconhecido",
1686
1722
  untitled: "Sem t\xEDtulo",
1687
1723
  no_description: "Sem descri\xE7\xE3o",
1688
- view: "Ver"
1724
+ view: "Ver",
1725
+ settings: "Configura\xE7\xF5es",
1726
+ reasoning: "Usar modelo de racioc\xEDnio para resolver tarefas complexas",
1727
+ start_recording: "Iniciar grava\xE7\xE3o",
1728
+ stop_recording: "Parar grava\xE7\xE3o",
1729
+ optimize_prompt: "Otimizar instru\xE7\xE3o",
1730
+ retry: "Tentar novamente"
1689
1731
  },
1690
1732
  actions: {
1691
1733
  approve: "Aprovar",
@@ -1885,7 +1927,13 @@ var sl_default = {
1885
1927
  unknown: "Neznano",
1886
1928
  untitled: "Brez naslova",
1887
1929
  no_description: "Brez opisa",
1888
- view: "Ogled"
1930
+ view: "Ogled",
1931
+ settings: "Nastavitve",
1932
+ reasoning: "Uporabi model sklepanja za re\u0161evanje zahtevnih nalog",
1933
+ start_recording: "Za\u010Dni snemanje",
1934
+ stop_recording: "Ustavi snemanje",
1935
+ optimize_prompt: "Optimiziraj ukaz",
1936
+ retry: "Poskusi znova"
1889
1937
  },
1890
1938
  actions: {
1891
1939
  approve: "Odobri",
@@ -2086,7 +2134,13 @@ var tr_default = {
2086
2134
  untitled: "Ads\u0131z",
2087
2135
  no_description: "A\xE7\u0131klama yok",
2088
2136
  active: "Aktif",
2089
- view: "G\xF6r\xFCnt\xFCle"
2137
+ view: "G\xF6r\xFCnt\xFCle",
2138
+ settings: "Ayarlar",
2139
+ reasoning: "Karma\u015F\u0131k g\xF6revleri \xE7\xF6zmek i\xE7in ak\u0131l y\xFCr\xFCtme modelini kullan",
2140
+ start_recording: "Kayda Ba\u015Fla",
2141
+ stop_recording: "Kayd\u0131 Durdur",
2142
+ optimize_prompt: "Komutu Optimize Et",
2143
+ retry: "Tekrar Dene"
2090
2144
  },
2091
2145
  actions: {
2092
2146
  approve: "Onayla",
@@ -2548,7 +2602,7 @@ function toAgentTriggerData(id, data) {
2548
2602
  id,
2549
2603
  name: agent.agent_name || agent.name || "",
2550
2604
  avatar: resolveAvatar(agent),
2551
- welcomeMessage: agent.welcomeMessage || agent.welcome_message || null,
2605
+ welcomeMessage: data.welcomeMessage || data.welcome_message || agent.welcomeMessage || agent.welcome_message || null,
2552
2606
  description: agent.description ?? null,
2553
2607
  capabilities: extractCapabilities(agent),
2554
2608
  models: agent.models ?? [],
@@ -26442,17 +26496,14 @@ function AgentTriggerWidget({
26442
26496
  );
26443
26497
  const welcomeText = currentAgent?.welcomeMessage ?? "";
26444
26498
  if (isLoading) {
26445
- return /* @__PURE__ */ jsxs(
26499
+ return /* @__PURE__ */ jsx(
26446
26500
  "div",
26447
26501
  {
26448
26502
  className: cn(
26449
- "flex flex-1 flex-col items-center justify-center gap-3",
26503
+ "flex h-full flex-1 flex-col items-center justify-center gap-3",
26450
26504
  className
26451
26505
  ),
26452
- children: [
26453
- /* @__PURE__ */ jsx(Loader2, { className: "size-8 animate-spin text-muted-foreground" }),
26454
- /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: t("common.loading") || "Loading..." })
26455
- ]
26506
+ children: /* @__PURE__ */ jsx(Loader2, { className: "size-8 animate-spin text-muted-foreground" })
26456
26507
  }
26457
26508
  );
26458
26509
  }
@@ -26461,7 +26512,7 @@ function AgentTriggerWidget({
26461
26512
  "div",
26462
26513
  {
26463
26514
  className: cn(
26464
- "flex flex-1 flex-col items-center justify-center gap-3",
26515
+ "flex h-full flex-1 flex-col items-center justify-center gap-3",
26465
26516
  className
26466
26517
  ),
26467
26518
  children: [
@@ -26484,7 +26535,7 @@ function AgentTriggerWidget({
26484
26535
  "div",
26485
26536
  {
26486
26537
  className: cn(
26487
- "flex flex-1 flex-col items-center justify-center",
26538
+ "flex h-full flex-1 flex-col items-center justify-center",
26488
26539
  className
26489
26540
  ),
26490
26541
  children: /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: t("messages.no_agents") || "No agents available" })
@@ -26512,7 +26563,7 @@ function AgentTriggerWidget({
26512
26563
  onNavigate: navigateCarousel
26513
26564
  }
26514
26565
  ),
26515
- /* @__PURE__ */ jsx("div", { className: "mt-2 text-center", children: welcomeText ? /* @__PURE__ */ jsx("p", { className: "line-clamp-2 min-h-10 max-w-lg text-sm text-muted-foreground", children: welcomeText }) : /* @__PURE__ */ jsx("div", { className: "min-h-10" }) })
26566
+ /* @__PURE__ */ jsx("div", { className: "mt-2 text-center", children: welcomeText ? /* @__PURE__ */ jsx("div", { className: "line-clamp-2 min-h-10 max-w-lg text-sm text-muted-foreground [&_p]:m-0", children: /* @__PURE__ */ jsx(MessageResponse, { children: welcomeText }) }) : /* @__PURE__ */ jsx("div", { className: "min-h-10" }) })
26516
26567
  ] }),
26517
26568
  /* @__PURE__ */ jsx("div", { className: "flex h-fit w-full grow items-end justify-center px-6 pb-6", children: /* @__PURE__ */ jsx(
26518
26569
  AgentTriggerPrompt,