libre-webui 0.45.0 → 0.45.1

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.
Files changed (94) hide show
  1. package/backend/dist/utils/decisionProtocol.d.ts.map +1 -1
  2. package/backend/dist/utils/decisionProtocol.js +3 -1
  3. package/backend/dist/utils/decisionProtocol.js.map +1 -1
  4. package/backend/package.json +1 -1
  5. package/frontend/dist/artifact-runtime/.build-fingerprint +1 -1
  6. package/frontend/dist/assets/index-MveXWX7i.js +15 -0
  7. package/frontend/dist/index.html +20 -20
  8. package/frontend/dist/js/{ArtifactContainer-DCCcjK16.js → ArtifactContainer-BiGwAZkv.js} +1 -1
  9. package/frontend/dist/js/{ArtifactDemoPage-C-1acgxJ.js → ArtifactDemoPage-Dk6bf2fr.js} +1 -1
  10. package/frontend/dist/js/{ArtifactSandboxFrame-BXWNhmtI.js → ArtifactSandboxFrame-BMQXP8E8.js} +1 -1
  11. package/frontend/dist/js/{ArtifactSlideOutPanel-CvfdP_o2.js → ArtifactSlideOutPanel-CNLSDJAJ.js} +1 -1
  12. package/frontend/dist/js/{AutomationModal-D7qiRMhj.js → AutomationModal-VMrwN5y4.js} +1 -1
  13. package/frontend/dist/js/{AutomationsPage-v98Ucl9p.js → AutomationsPage-wb5royf_.js} +1 -1
  14. package/frontend/dist/js/{AvatarUpload-W41SCHKE.js → AvatarUpload-DpeJzlyv.js} +1 -1
  15. package/frontend/dist/js/{CalendarPage-DkAa61Pa.js → CalendarPage-DeMdx8BD.js} +1 -1
  16. package/frontend/dist/js/{ChannelsPage-0Vnfpgdr.js → ChannelsPage-DJj_kG1m.js} +1 -1
  17. package/frontend/dist/js/{ChatPage-iyMY-uoE.js → ChatPage-tJ5_eAbV.js} +2 -2
  18. package/frontend/dist/js/{ConnectModels-CpWO6ALS.js → ConnectModels-7E_zzkFc.js} +1 -1
  19. package/frontend/dist/js/{EvaluationsPage-C7WHA1MJ.js → EvaluationsPage-_jLiPYYc.js} +1 -1
  20. package/frontend/dist/js/{FirstTimeSetup-B8wcelBc.js → FirstTimeSetup-BzSil7F7.js} +1 -1
  21. package/frontend/dist/js/{GalleryPage-u7dYKl3q.js → GalleryPage-CKpQMmd7.js} +1 -1
  22. package/frontend/dist/js/{HomePage-Cjlt3b9n.js → HomePage-Dr8mrmo7.js} +1 -1
  23. package/frontend/dist/js/{LanguageSwitcher-gbTZY15P.js → LanguageSwitcher-BPwDwNez.js} +1 -1
  24. package/frontend/dist/js/{ModelManagerModals-12hL-b-U.js → ModelManagerModals-eAwih0CC.js} +1 -1
  25. package/frontend/dist/js/{NotesPage-BQWBA5li.js → NotesPage-DDagHzg0.js} +1 -1
  26. package/frontend/dist/js/{PasswordStrengthMeter-DdqX0FXA.js → PasswordStrengthMeter-BwgYbk3r.js} +1 -1
  27. package/frontend/dist/js/{PersonasPage-B8mFdWcX.js → PersonasPage-uFr0Yzes.js} +1 -1
  28. package/frontend/dist/js/{PluginUsagePage-Uz6aHPIp.js → PluginUsagePage-BfIQuqIV.js} +1 -1
  29. package/frontend/dist/js/{RichMessageContent-CVk-fp0N.js → RichMessageContent-BY1I7d9d.js} +1 -1
  30. package/frontend/dist/js/{RichMessageContent-DwMoWuR_.js → RichMessageContent-otmciPPz.js} +1 -1
  31. package/frontend/dist/js/SettingsModal-D2x0muLa.js +19 -0
  32. package/frontend/dist/js/{ShareDialog-NwirTDLR.js → ShareDialog-DgVAGGOp.js} +1 -1
  33. package/frontend/dist/js/{StrandsPage-ddHNdb6J.js → StrandsPage-9UVviZ58.js} +1 -1
  34. package/frontend/dist/js/{SystemPage-C_1exwI7.js → SystemPage-ChJ8O0MR.js} +1 -1
  35. package/frontend/dist/js/{UserManagementPanel-hg7ztEtL.js → UserManagementPanel-CYuTltw4.js} +1 -1
  36. package/frontend/dist/js/{WhatsNewModal-yYk7N4KY.js → WhatsNewModal-DyK_LXtM.js} +1 -1
  37. package/frontend/dist/js/{WorkPage-i7yYRAuj.js → WorkPage-CdfTyNv_.js} +1 -1
  38. package/frontend/dist/js/{api-Dasm8tVY.js → api-BPTwf2O4.js} +1 -1
  39. package/frontend/dist/js/api-Lutao9vm.js +1 -0
  40. package/frontend/dist/js/{appNavigation-DqP7fTWU.js → appNavigation-DYXehtYu.js} +1 -1
  41. package/frontend/dist/js/{appStore-DCIUnT8X.js → appStore-C_SBNGJT.js} +2 -2
  42. package/frontend/dist/js/appVersion-C5-Afzj1.js +1 -0
  43. package/frontend/dist/js/{ar-CsCftCVF.js → ar-CMnK2iUi.js} +1 -1
  44. package/frontend/dist/js/authStore-6cAmoXEk.js +1 -0
  45. package/frontend/dist/js/{authStore-ac5-hjOH.js → authStore-Tu09JYbR.js} +3 -3
  46. package/frontend/dist/js/{bn-CvxUTZ9a.js → bn-B_6kDlG3.js} +1 -1
  47. package/frontend/dist/js/{chatStore-GhucyjJu.js → chatStore-wi8VDo6B.js} +3 -3
  48. package/frontend/dist/js/{client-DxPoTB_C.js → client-Czyqg89i.js} +2 -2
  49. package/frontend/dist/js/{config-CQJEcQtz.js → config-DWmMmE_t.js} +1 -1
  50. package/frontend/dist/js/{cs-BovmMwcD.js → cs-DN4IeMBM.js} +1 -1
  51. package/frontend/dist/js/{da-Dof1gmsv.js → da-Cx-BiRSz.js} +1 -1
  52. package/frontend/dist/js/{de-CF9CXojW.js → de-Cwlx8oC5.js} +1 -1
  53. package/frontend/dist/js/{decisionsApi-BWB64EGn.js → decisionsApi-CftWDIPz.js} +1 -1
  54. package/frontend/dist/js/decisionsApi-Dneh1e4n.js +1 -0
  55. package/frontend/dist/js/{es-BXCt50HZ.js → es-DGOk1LTg.js} +1 -1
  56. package/frontend/dist/js/{evaluationsApi-CBqKkjmI.js → evaluationsApi-C5DC-61t.js} +1 -1
  57. package/frontend/dist/js/{fr-B5QcCDIw.js → fr-DsjFEubC.js} +1 -1
  58. package/frontend/dist/js/{hi-BXYwSyKl.js → hi-YoyZTSWi.js} +1 -1
  59. package/frontend/dist/js/{id-BV3mY5L7.js → id-D7ObCsR9.js} +1 -1
  60. package/frontend/dist/js/{is-BDK4LrQC.js → is-DRfnKDHX.js} +1 -1
  61. package/frontend/dist/js/{it-DAeWl1Fm.js → it-Cb4C73dp.js} +1 -1
  62. package/frontend/dist/js/{ja-DIJV01rA.js → ja-DsDfWEWn.js} +1 -1
  63. package/frontend/dist/js/{ko-Btr9-64X.js → ko-J9IK9O8f.js} +1 -1
  64. package/frontend/dist/js/{messageCodeStyles-BugWE4s5.js → messageCodeStyles-DbG-nHEj.js} +1 -1
  65. package/frontend/dist/js/modelPresentation-4QU9r-Pl.js +1 -0
  66. package/frontend/dist/js/{ms-DgVmv5zF.js → ms-DVZBQWu-.js} +1 -1
  67. package/frontend/dist/js/{nl-Dz5HpdLi.js → nl-CotrV0Lb.js} +1 -1
  68. package/frontend/dist/js/{pl-CIATY2b0.js → pl-DlsgTT5q.js} +1 -1
  69. package/frontend/dist/js/{pt-lrDXX76Y.js → pt-B8F-CAdb.js} +1 -1
  70. package/frontend/dist/js/{ru-_zovUYcg.js → ru-B7H_WJLM.js} +1 -1
  71. package/frontend/dist/js/{strandsApi-Ck7FrcHH.js → strandsApi-c_sLVTzl.js} +1 -1
  72. package/frontend/dist/js/{sv-TkRDWCb8.js → sv-iYQWY_4T.js} +1 -1
  73. package/frontend/dist/js/{teamEventStream-O3qGbUZz.js → teamEventStream-Bnna_p2v.js} +1 -1
  74. package/frontend/dist/js/{th-CQyavDiP.js → th-BIlkYCg9.js} +1 -1
  75. package/frontend/dist/js/{tr-CBcFl4_Z.js → tr-Cb0GxFvG.js} +1 -1
  76. package/frontend/dist/js/{ui-DxaHE9GD.js → ui-Byzdw4-Y.js} +2 -2
  77. package/frontend/dist/js/{ui-vendor-DsURZnZt.js → ui-vendor-C7v9zeJX.js} +1 -1
  78. package/frontend/dist/js/{uk-BNn1cUt8.js → uk-BH7Ojiob.js} +1 -1
  79. package/frontend/dist/js/{useChat-1HyAPpCk.js → useChat-DGCDsOOs.js} +1 -1
  80. package/frontend/dist/js/useDictation-BGys860H.js +1 -0
  81. package/frontend/dist/js/{vi-Be8GO7e_.js → vi-BKN3n9CC.js} +1 -1
  82. package/frontend/dist/js/{workApi-BNGRSv7q.js → workApi-BTdJF6o5.js} +1 -1
  83. package/frontend/dist/js/workApi-DvXvzA8C.js +1 -0
  84. package/frontend/dist/js/{zh-9CUKyYw5.js → zh-CbiVZpr_.js} +1 -1
  85. package/package.json +1 -1
  86. package/frontend/dist/assets/index-C2A5Ko4-.js +0 -59
  87. package/frontend/dist/js/SettingsModal-CfjxNSmJ.js +0 -19
  88. package/frontend/dist/js/api-BU13N8gU.js +0 -1
  89. package/frontend/dist/js/appVersion-PJGaVilS.js +0 -1
  90. package/frontend/dist/js/authStore-Bp17zKvS.js +0 -1
  91. package/frontend/dist/js/decisionsApi-CoJtg4PZ.js +0 -1
  92. package/frontend/dist/js/thinking-DwlkTfPX.js +0 -1
  93. package/frontend/dist/js/useDictation-B3vNgs5D.js +0 -1
  94. package/frontend/dist/js/workApi-C5jw1ra6.js +0 -1
@@ -1,2 +1,2 @@
1
- import{a as e}from"./logger-DAQsBb8I.js";import{t}from"./config-CQJEcQtz.js";import{n,t as r}from"./client-DxPoTB_C.js";var i=()=>{let e=localStorage.getItem(`auth-token`);return e?{Authorization:`Bearer ${e}`}:{}},a=e=>`/strands/sessions/${encodeURIComponent(e)}`,o=e=>{let t=JSON.parse(e);if(!t||typeof t!=`object`||typeof t.type!=`string`)throw Error(`The Strands engine sent an invalid event.`);return t},s={getAccess:()=>e()?n({mode:`disabled`,lockedByEnv:!1}):r.get(`/strands/access`).then(e=>e.data),setAccess:t=>e()?n({mode:t,lockedByEnv:!1}):r.put(`/strands/access`,{mode:t}).then(e=>e.data),health:()=>r.get(`/strands/health`).then(e=>e.data),models:()=>e()?n([]):r.get(`/strands/models`).then(e=>e.data),listSessions:()=>e()?n([]):r.get(`/strands/sessions`).then(e=>e.data),createSession:e=>r.post(`/strands/sessions`,e).then(e=>e.data),getSession:e=>r.get(a(e)).then(e=>e.data),updateSession:(e,t)=>r.patch(a(e),t).then(e=>e.data),deleteSession:e=>r.delete(a(e)).then(e=>e.data),cancel:e=>r.post(`${a(e)}/cancel`).then(e=>e.data),sendMessage:async(e,n,r={})=>{let s=await fetch(`${t}${a(e)}/messages`,{method:`POST`,headers:{"Content-Type":`application/json`,...i()},body:JSON.stringify({text:n}),signal:r.signal});if(!s.ok){let e=await s.json().then(e=>e.error).catch(()=>void 0);throw Error(e??`HTTP error! status: ${s.status}`)}if(!s.body)throw Error(`No response body reader available`);let c=s.body.getReader(),l=new TextDecoder,u=[],d=``;try{for(;;){let{done:e,value:t}=await c.read();d+=l.decode(t,{stream:!e});let n=d.split(`
1
+ import{a as e}from"./logger-DAQsBb8I.js";import{t}from"./config-DWmMmE_t.js";import{n,t as r}from"./client-Czyqg89i.js";var i=()=>{let e=localStorage.getItem(`auth-token`);return e?{Authorization:`Bearer ${e}`}:{}},a=e=>`/strands/sessions/${encodeURIComponent(e)}`,o=e=>{let t=JSON.parse(e);if(!t||typeof t!=`object`||typeof t.type!=`string`)throw Error(`The Strands engine sent an invalid event.`);return t},s={getAccess:()=>e()?n({mode:`disabled`,lockedByEnv:!1}):r.get(`/strands/access`).then(e=>e.data),setAccess:t=>e()?n({mode:t,lockedByEnv:!1}):r.put(`/strands/access`,{mode:t}).then(e=>e.data),health:()=>r.get(`/strands/health`).then(e=>e.data),models:()=>e()?n([]):r.get(`/strands/models`).then(e=>e.data),listSessions:()=>e()?n([]):r.get(`/strands/sessions`).then(e=>e.data),createSession:e=>r.post(`/strands/sessions`,e).then(e=>e.data),getSession:e=>r.get(a(e)).then(e=>e.data),updateSession:(e,t)=>r.patch(a(e),t).then(e=>e.data),deleteSession:e=>r.delete(a(e)).then(e=>e.data),cancel:e=>r.post(`${a(e)}/cancel`).then(e=>e.data),sendMessage:async(e,n,r={})=>{let s=await fetch(`${t}${a(e)}/messages`,{method:`POST`,headers:{"Content-Type":`application/json`,...i()},body:JSON.stringify({text:n}),signal:r.signal});if(!s.ok){let e=await s.json().then(e=>e.error).catch(()=>void 0);throw Error(e??`HTTP error! status: ${s.status}`)}if(!s.body)throw Error(`No response body reader available`);let c=s.body.getReader(),l=new TextDecoder,u=[],d=``;try{for(;;){let{done:e,value:t}=await c.read();d+=l.decode(t,{stream:!e});let n=d.split(`
2
2
  `);d=n.pop()??``,e&&d.trim()!==``&&n.push(d);for(let e of n){if(e.trim()===``)continue;let t=o(e);if(u.push(t),r.onEvent?.(t),t.type===`done`||t.type===`error`)return u}if(e)throw Error(`The Strands turn ended unexpectedly.`)}}finally{await c.cancel().catch(()=>void 0),c.releaseLock()}}};export{s as t};