libre-webui 0.42.0 → 0.43.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.
Files changed (184) hide show
  1. package/README.md +1 -0
  2. package/backend/dist/db.d.ts.map +1 -1
  3. package/backend/dist/db.js +12 -1
  4. package/backend/dist/db.js.map +1 -1
  5. package/backend/dist/services/agentCliService.d.ts +22 -1
  6. package/backend/dist/services/agentCliService.d.ts.map +1 -1
  7. package/backend/dist/services/agentCliService.js +110 -3
  8. package/backend/dist/services/agentCliService.js.map +1 -1
  9. package/backend/dist/services/agentCliUsage.d.ts +3 -2
  10. package/backend/dist/services/agentCliUsage.d.ts.map +1 -1
  11. package/backend/dist/services/agentCliUsage.js +19 -1
  12. package/backend/dist/services/agentCliUsage.js.map +1 -1
  13. package/backend/dist/services/workAgentAccessService.js +1 -1
  14. package/backend/dist/services/workAgentCatalog.d.ts +15 -3
  15. package/backend/dist/services/workAgentCatalog.d.ts.map +1 -1
  16. package/backend/dist/services/workAgentCatalog.js +28 -0
  17. package/backend/dist/services/workAgentCatalog.js.map +1 -1
  18. package/backend/dist/services/workAgentCliRunner.d.ts +1 -0
  19. package/backend/dist/services/workAgentCliRunner.d.ts.map +1 -1
  20. package/backend/dist/services/workAgentCliRunner.js +31 -1
  21. package/backend/dist/services/workAgentCliRunner.js.map +1 -1
  22. package/backend/dist/services/workAgentHostLogins.d.ts +37 -0
  23. package/backend/dist/services/workAgentHostLogins.d.ts.map +1 -1
  24. package/backend/dist/services/workAgentHostLogins.js +190 -0
  25. package/backend/dist/services/workAgentHostLogins.js.map +1 -1
  26. package/backend/dist/services/workAgentService.d.ts +2 -0
  27. package/backend/dist/services/workAgentService.d.ts.map +1 -1
  28. package/backend/dist/services/workAgentService.js +10 -2
  29. package/backend/dist/services/workAgentService.js.map +1 -1
  30. package/backend/dist/services/workAgentStream.d.ts +4 -0
  31. package/backend/dist/services/workAgentStream.d.ts.map +1 -1
  32. package/backend/dist/services/workAgentStream.js +80 -0
  33. package/backend/dist/services/workAgentStream.js.map +1 -1
  34. package/backend/dist/services/workAgentToolchainService.d.ts.map +1 -1
  35. package/backend/dist/services/workAgentToolchainService.js +22 -5
  36. package/backend/dist/services/workAgentToolchainService.js.map +1 -1
  37. package/backend/dist/services/workEgressRelay.d.ts.map +1 -1
  38. package/backend/dist/services/workEgressRelay.js +19 -4
  39. package/backend/dist/services/workEgressRelay.js.map +1 -1
  40. package/backend/dist/services/workRuntimeService.d.ts.map +1 -1
  41. package/backend/dist/services/workRuntimeService.js +26 -8
  42. package/backend/dist/services/workRuntimeService.js.map +1 -1
  43. package/backend/dist/types/work.d.ts +2 -2
  44. package/backend/dist/types/work.d.ts.map +1 -1
  45. package/backend/dist/utils/pluginChatAdapter.d.ts.map +1 -1
  46. package/backend/dist/utils/pluginChatAdapter.js +2 -1
  47. package/backend/dist/utils/pluginChatAdapter.js.map +1 -1
  48. package/backend/dist/utils/pluginDefinitionTrust.d.ts.map +1 -1
  49. package/backend/dist/utils/pluginDefinitionTrust.js +1 -0
  50. package/backend/dist/utils/pluginDefinitionTrust.js.map +1 -1
  51. package/backend/package.json +1 -1
  52. package/frontend/dist/artifact-runtime/.build-fingerprint +1 -1
  53. package/frontend/dist/artifact-runtime/babel.js +15 -15
  54. package/frontend/dist/artifact-runtime/chart.js +2 -2
  55. package/frontend/dist/artifact-runtime/d3.js +2 -2
  56. package/frontend/dist/artifact-runtime/framer-motion.js +5 -5
  57. package/frontend/dist/artifact-runtime/lodash.js +2 -2
  58. package/frontend/dist/artifact-runtime/lucide-react.js +1 -1
  59. package/frontend/dist/artifact-runtime/mathjs.js +4 -4
  60. package/frontend/dist/artifact-runtime/mermaid.js +360 -360
  61. package/frontend/dist/artifact-runtime/papaparse.js +1 -1
  62. package/frontend/dist/artifact-runtime/plotly.js +146 -20
  63. package/frontend/dist/artifact-runtime/react.js +2 -2
  64. package/frontend/dist/artifact-runtime/recharts.js +8 -8
  65. package/frontend/dist/artifact-runtime/tailwind.js +1 -1
  66. package/frontend/dist/artifact-runtime/three.js +2 -2
  67. package/frontend/dist/artifact-runtime/tone.js +3 -3
  68. package/frontend/dist/assets/index-BnbO3eTY.js +83 -0
  69. package/frontend/dist/index.html +33 -33
  70. package/frontend/dist/js/{ArtifactContainer-D5wijGHA.js → ArtifactContainer-C0R4kYVM.js} +1 -1
  71. package/frontend/dist/js/{ArtifactDemoPage-DwQzUFI-.js → ArtifactDemoPage-BQmbCyat.js} +1 -1
  72. package/frontend/dist/js/{ArtifactSandboxFrame-CQCAALvW.js → ArtifactSandboxFrame-CkDkrHpg.js} +1 -1
  73. package/frontend/dist/js/{ArtifactSlideOutPanel-Cn6Rp7Yx.js → ArtifactSlideOutPanel-DZnVzC0c.js} +1 -1
  74. package/frontend/dist/js/{AutomationModal-mgkoNA-S.js → AutomationModal-Cx1e_4df.js} +1 -1
  75. package/frontend/dist/js/AutomationsPage-D7UtYZ_0.js +1 -0
  76. package/frontend/dist/js/{AvatarUpload-BFU2a_eT.js → AvatarUpload-DGRQC20B.js} +1 -1
  77. package/frontend/dist/js/{Button-D_msp6KT.js → Button-DwZ26Lqc.js} +1 -1
  78. package/frontend/dist/js/{CalendarPage-DT6_t4fJ.js → CalendarPage-WmA1i7MQ.js} +1 -1
  79. package/frontend/dist/js/ChannelsPage-Bq4JQPR_.js +1 -0
  80. package/frontend/dist/js/ChatPage-Cd3fxx-N.js +14 -0
  81. package/frontend/dist/js/ConnectModels-BYul-veF.js +1 -0
  82. package/frontend/dist/js/EvaluationsPage-CV_Terzn.js +2 -0
  83. package/frontend/dist/js/FirstTimeSetup-CFhGy9a8.js +1 -0
  84. package/frontend/dist/js/GalleryPage-BRKZyq1w.js +1 -0
  85. package/frontend/dist/js/{HomePage-CXG83Qjk.js → HomePage-DdpnBu-Z.js} +1 -1
  86. package/frontend/dist/js/{LanguageSwitcher-DK5aMjVJ.js → LanguageSwitcher-CASJ8p5d.js} +1 -1
  87. package/frontend/dist/js/{Logo--9H7Lqkg.js → Logo-C-qwuy58.js} +1 -1
  88. package/frontend/dist/js/{LogoMark-DNzLawJz.js → LogoMark-zP-mitdI.js} +1 -1
  89. package/frontend/dist/js/{ModelManagerModals-MjJMyvPJ.js → ModelManagerModals-BYhFWv22.js} +1 -1
  90. package/frontend/dist/js/NotesPage-CmvVoWcH.js +3 -0
  91. package/frontend/dist/js/{OptimizedSyntaxHighlighter-Cruo0gJb.js → OptimizedSyntaxHighlighter-B8vbflQA.js} +1 -1
  92. package/frontend/dist/js/{OptimizedSyntaxHighlighter-BCkQOsIb.js → OptimizedSyntaxHighlighter-DoJF0j0l.js} +1 -1
  93. package/frontend/dist/js/{PasswordStrengthMeter-CEmuISNU.js → PasswordStrengthMeter-Dow8ZeTs.js} +1 -1
  94. package/frontend/dist/js/PersonasPage-BYKtoKWl.js +13 -0
  95. package/frontend/dist/js/PluginUsagePage-BVTOCxoE.js +1 -0
  96. package/frontend/dist/js/{RichMessageContent-CQY0R6rI.js → RichMessageContent-Bwpg3rfV.js} +3 -3
  97. package/frontend/dist/js/{RichMessageContent-B1TrzEbs.js → RichMessageContent-DJTLGpws.js} +1 -1
  98. package/frontend/dist/js/SettingsModal-CGyVfxOz.js +19 -0
  99. package/frontend/dist/js/{SettingsToggle-CjckNl8v.js → SettingsToggle-BpD6NSri.js} +1 -1
  100. package/frontend/dist/js/{ShareDialog-DiXoIWJx.js → ShareDialog-DYwyeyaI.js} +1 -1
  101. package/frontend/dist/js/{StrandsPage-BQ-PMkvY.js → StrandsPage-CvXeYOYR.js} +1 -1
  102. package/frontend/dist/js/SystemPage-B4qFsAsb.js +1 -0
  103. package/frontend/dist/js/{TurnstileWidget-J61wYyqA.js → TurnstileWidget-xx9lQV0b.js} +1 -1
  104. package/frontend/dist/js/UserManagementPage-DhMRuhqj.js +1 -0
  105. package/frontend/dist/js/UserManagementPanel-BVLSvRwa.js +1 -0
  106. package/frontend/dist/js/{WhatsNewModal-DcAyhGzi.js → WhatsNewModal-DfR7W93-.js} +1 -1
  107. package/frontend/dist/js/WorkPage-DSKBQEW0.js +7 -0
  108. package/frontend/dist/js/api-C5ps_CWQ.js +1 -0
  109. package/frontend/dist/js/{api-D3RzHftc.js → api-D6IF0v9_.js} +1 -1
  110. package/frontend/dist/js/{appNavigation-Df-xsLY5.js → appNavigation-BifMRN3D.js} +1 -1
  111. package/frontend/dist/js/{appStore-qi0l_wou.js → appStore-B6pAGo3p.js} +2 -2
  112. package/frontend/dist/js/appVersion-9UMn7b1T.js +1 -0
  113. package/frontend/dist/js/authStore-CDo5Co2D.js +1 -0
  114. package/frontend/dist/js/{authStore-BhwtFhS3.js → authStore-DdIb6km_.js} +3 -3
  115. package/frontend/dist/js/babel-BaOs8qJH.js +16 -0
  116. package/frontend/dist/js/{chatStore-mB6kXQVu.js → chatStore-hzQyRM9H.js} +3 -3
  117. package/frontend/dist/js/{client-tVKsnAVI.js → client-D_F_0LqX.js} +2 -2
  118. package/frontend/dist/js/{config-bhyjjacC.js → config-CHUQTU6j.js} +1 -1
  119. package/frontend/dist/js/{estree-BmKwYjuD.js → estree-Cw-tQG5d.js} +1 -1
  120. package/frontend/dist/js/{evaluationsApi-DxuXU4NS.js → evaluationsApi-C0FKNJua.js} +1 -1
  121. package/frontend/dist/js/{markdown-D-PuDeiZ.js → markdown-C7cnJl_Q.js} +5 -5
  122. package/frontend/dist/js/{markdown-core-D-4xNKNv.js → markdown-core-CGWDtd6X.js} +5 -5
  123. package/frontend/dist/js/{markdown-html-Cd75Y-85.js → markdown-html-BdYVneHE.js} +1 -1
  124. package/frontend/dist/js/{markdown-math-DUQvxNgB.js → markdown-math-BzLEmswF.js} +1 -1
  125. package/frontend/dist/js/{markdownHtml-mmK-QYY6.js → markdownHtml-B1Ll_Qgp.js} +1 -1
  126. package/frontend/dist/js/markdownMath-aI8uDQmz.js +1 -0
  127. package/frontend/dist/js/{messageCodeStyles-nVE1JYdR.js → messageCodeStyles-DVYyK8wm.js} +2 -2
  128. package/frontend/dist/js/{postcss-CU3LgMVN.js → postcss-DB_e0nkW.js} +1 -1
  129. package/frontend/dist/js/{react-vendor-GLIQTwVZ.js → react-vendor-C1iE8mnY.js} +2 -2
  130. package/frontend/dist/js/rfb-IV07oQgM.js +5 -0
  131. package/frontend/dist/js/rolldown-runtime-XKyaHtl9.js +1 -0
  132. package/frontend/dist/js/router-vendor-qltZAWoz.js +1 -0
  133. package/frontend/dist/js/{strandsApi-C04kQWMg.js → strandsApi-CeJLezXW.js} +1 -1
  134. package/frontend/dist/js/{syntax-highlight-BlVvro-Z.js → syntax-highlight-CemL-n1v.js} +2 -2
  135. package/frontend/dist/js/{teamEventStream-Cf62joPP.js → teamEventStream-DOMyufrH.js} +1 -1
  136. package/frontend/dist/js/{typescript-C28ytPnl.js → typescript-2anSzo_N.js} +2 -2
  137. package/frontend/dist/js/ui-D4Ytvr6d.js +2 -0
  138. package/frontend/dist/js/ui-vendor-BTcw5yZ6.js +1 -0
  139. package/frontend/dist/js/{useChat-BWWunIVw.js → useChat-BEbNywiP.js} +4 -4
  140. package/frontend/dist/js/{useDialogFocus-Dfa5Utj4.js → useDialogFocus-DpTun-ZV.js} +1 -1
  141. package/frontend/dist/js/useDictation-jTaorrHm.js +1 -0
  142. package/frontend/dist/js/useQuery-2_pQiHbl.js +1 -0
  143. package/frontend/dist/js/{useTranslation-B69j_cNd.js → useTranslation-D9EScZXH.js} +1 -1
  144. package/frontend/dist/js/utils-BvvV-Cka.js +1 -0
  145. package/frontend/dist/js/{utils-vendor-DWQLsiSj.js → utils-vendor-CsC5rH1J.js} +1 -1
  146. package/frontend/dist/js/workAnnouncements--WBYN99v.js +1 -0
  147. package/frontend/dist/js/workApi-CGvfDTRY.js +1 -0
  148. package/frontend/dist/js/{workApi-CMbUePsX.js → workApi-_0oxRyak.js} +1 -1
  149. package/frontend/dist/js/xterm-BMsy1fDS.js +16 -0
  150. package/frontend/dist/js/{yaml-uvx2gM_u.js → yaml-Breo7DWT.js} +1 -1
  151. package/package.json +4 -4
  152. package/plugins/meta.json +77 -0
  153. package/frontend/dist/assets/index-BvQepfeH.js +0 -53
  154. package/frontend/dist/js/AutomationsPage-CsaCHmN_.js +0 -1
  155. package/frontend/dist/js/ChannelsPage-DXD6PlTg.js +0 -1
  156. package/frontend/dist/js/ChatPage-C7NQy4ts.js +0 -14
  157. package/frontend/dist/js/ConnectModels-De18RKwJ.js +0 -1
  158. package/frontend/dist/js/EvaluationsPage-BCVJse6N.js +0 -2
  159. package/frontend/dist/js/FirstTimeSetup-M3iWWKTn.js +0 -1
  160. package/frontend/dist/js/GalleryPage-C-F45c09.js +0 -1
  161. package/frontend/dist/js/NotesPage-Dd2N_7zQ.js +0 -3
  162. package/frontend/dist/js/PersonasPage-DONF1JmU.js +0 -13
  163. package/frontend/dist/js/PluginUsagePage-Bu4pTUjq.js +0 -1
  164. package/frontend/dist/js/SettingsModal-Dabi8xVs.js +0 -19
  165. package/frontend/dist/js/SystemPage-CCCL2ByV.js +0 -1
  166. package/frontend/dist/js/UserManagementPage-H_uXYSnx.js +0 -1
  167. package/frontend/dist/js/UserManagementPanel-B2cJLYCP.js +0 -1
  168. package/frontend/dist/js/WorkPage-B1Rt99I9.js +0 -7
  169. package/frontend/dist/js/api-BU9PuoZz.js +0 -1
  170. package/frontend/dist/js/appVersion-CVfieEPW.js +0 -1
  171. package/frontend/dist/js/authStore-dszH-1C-.js +0 -1
  172. package/frontend/dist/js/babel-Dxd799BX.js +0 -16
  173. package/frontend/dist/js/markdownMath-Cf7jtPFB.js +0 -1
  174. package/frontend/dist/js/rfb-CtGtw_KV.js +0 -5
  175. package/frontend/dist/js/rolldown-runtime-hePW80VL.js +0 -1
  176. package/frontend/dist/js/router-vendor-BHaThOyH.js +0 -1
  177. package/frontend/dist/js/ui-DF-BqCU3.js +0 -2
  178. package/frontend/dist/js/ui-vendor--a64oKSu.js +0 -1
  179. package/frontend/dist/js/useDictation-Dxq5DG5V.js +0 -1
  180. package/frontend/dist/js/useQuery-Cv6hRATl.js +0 -1
  181. package/frontend/dist/js/utils-BCv-T6HP.js +0 -1
  182. package/frontend/dist/js/workAnnouncements-C2Cd6YCk.js +0 -1
  183. package/frontend/dist/js/workApi-CsmIQW0M.js +0 -1
  184. package/frontend/dist/js/xterm-CerOhKYV.js +0 -16
@@ -74,7 +74,7 @@ ${t.comment}`:r.comment}r=e}e.items[n]=z(r)?r:new Y(r)}}else t(`Expected a seque
74
74
 
75
75
  ${o}
76
76
  ${s}
77
- `}};function Zi(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],ee=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:ee,start:x??ee}}function Qi(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(`
77
+ `}};function Zi(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:b&&n===`seq-item-ind`||(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],ee=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:ee,start:x??ee}}function Qi(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(`
78
78
  `))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let t of e.items){for(let e of t.start)if(e.type===`newline`)return!0;if(t.sep){for(let e of t.sep)if(e.type===`newline`)return!0}if(Qi(t.key)||Qi(t.value))return!0}return!1;default:return!0}}function $i(e,t,n){if(t?.type===`flow-collection`){let r=t.end[0];r.indent===e&&(r.source===`]`||r.source===`}`)&&Qi(t)&&n(r,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}function ea(e,t,n){let{uniqueKeys:r}=e.options;if(r===!1)return!1;let i=typeof r==`function`?r:(e,t)=>e===t||B(e)&&B(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}var ta=`All mapping items must start at the same column`;function na({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new((a?.nodeClass)??X)(n.schema);n.atRoot&&=!1;let s=r.offset,c=null;for(let a of r.items){let{start:l,key:u,sep:d,value:f}=a,p=Zi(l,{indicator:`explicit-key-ind`,next:u??d?.[0],offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(u&&(u.type===`block-seq`?i(s,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in u&&u.indent!==r.indent&&i(s,`BAD_INDENT`,ta)),!p.anchor&&!p.tag&&!d){c=p.end,p.comment&&(o.comment?o.comment+=`
79
79
  `+p.comment:o.comment=p.comment);continue}(p.newlineAfterProp||Qi(u))&&i(u??l[l.length-1],`MULTILINE_IMPLICIT_KEY`,`Implicit keys need to be on a single line`)}else p.found?.indent!==r.indent&&i(s,`BAD_INDENT`,ta);n.atKey=!0;let h=p.end,g=u?e(n,u,p,i):t(n,h,l,null,p,i);n.schema.compat&&$i(r.indent,u,i),n.atKey=!1,ea(n,o.items,g)&&i(h,`DUPLICATE_KEY`,`Map keys must be unique`);let _=Zi(d??[],{indicator:`map-value-ind`,next:f,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||u.type===`block-scalar`});if(s=_.end,_.found){m&&(f?.type===`block-map`&&!_.hasNewline&&i(s,`BLOCK_AS_IMPLICIT_KEY`,`Nested mappings are not allowed in compact mappings`),n.options.strict&&p.start<_.found.offset-1024&&i(g.range,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit block mapping key`));let c=f?e(n,f,_,i):t(n,s,d,null,_,i);n.schema.compat&&$i(r.indent,f,i),s=c.range[2];let l=new Y(g,c);n.options.keepSourceTokens&&(l.srcToken=a),o.items.push(l)}else{m&&i(g.range,`MISSING_CHAR`,`Implicit map keys need to be followed by map values`),_.comment&&(g.comment?g.comment+=`
80
80
  `+_.comment:g.comment=_.comment);let e=new Y(g);n.options.keepSourceTokens&&(e.srcToken=a),o.items.push(e)}}return c&&c<s&&i(c,`IMPOSSIBLE`,`Map comment with trailing content`),o.range=[r.offset,s,c??s],o}function ra({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new((a?.nodeClass)??Z)(n.schema);n.atRoot&&=!1,n.atKey&&=!1;let s=r.offset,c=null;for(let{start:a,value:l}of r.items){let u=Zi(a,{indicator:`seq-item-ind`,next:l,offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!u.found){if(u.anchor||u.tag||l)l?.type===`block-seq`?i(u.end,`BAD_INDENT`,`All sequence items must start at the same column`):i(s,`MISSING_CHAR`,`Sequence item without - indicator`);else{c=u.end,u.comment&&(o.comment=u.comment);continue}}let d=l?e(n,l,u,i):t(n,u.end,a,null,u,i);n.schema.compat&&$i(r.indent,l,i),s=d.range[2],o.items.push(d)}return o.range=[r.offset,s,c??s],o}function ia(e,t,n,r){let i=``;if(e){let a=!1,o=``;for(let s of e){let{source:e,type:c}=s;switch(c){case`space`:a=!0;break;case`comment`:{n&&!a&&r(s,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let t=e.substring(1)||` `;i?i+=o+t:i=t,o=``;break}case`newline`:i&&(o+=e),a=!0;break;default:r(s,`UNEXPECTED_TOKEN`,`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}var aa=`Block collections are not allowed within flow collections`,oa=e=>e&&(e.type===`block-map`||e.type===`block-seq`);function sa({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=r.start.source===`{`,s=o?`flow map`:`flow sequence`,c=new((a?.nodeClass)??(o?X:Z))(n.schema);c.flow=!0;let l=n.atRoot;l&&(n.atRoot=!1),n.atKey&&=!1;let u=r.offset+r.start.source.length;for(let a=0;a<r.items.length;++a){let l=r.items[a],{start:d,key:f,sep:p,value:m}=l,h=Zi(d,{flow:s,indicator:`explicit-key-ind`,next:f??p?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!h.found){if(!h.anchor&&!h.tag&&!p&&!m){a===0&&h.comma?i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`):a<r.items.length-1&&i(h.start,`UNEXPECTED_TOKEN`,`Unexpected empty item in ${s}`),h.comment&&(c.comment?c.comment+=`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libre-webui",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "A local-first workspace for chat, private knowledge, artifacts, and isolated model-driven work.",
5
5
  "bin": {
6
6
  "libre-webui": "bin/cli.js"
@@ -32,7 +32,7 @@
32
32
  "recovery:backup": "node backend/dist/cli/recoveryBackup.js",
33
33
  "migrate:postgres": "node backend/dist/cli/migrateSqliteToPostgres.js",
34
34
  "worker": "node backend/dist/worker.js",
35
- "test:package": "node --test scripts/test-deprecated-dependencies.mjs && node --test scripts/test-typescript-toolchain.mjs && node --test scripts/test-helm-versioning.mjs && node --test scripts/test-helm-work.mjs && node --test scripts/test-tts-example-security.mjs && npm run test:unit --workspace=frontend && npm run build && node --test scripts/test-persistence-boundary.mjs scripts/test-persistence-contract.mjs scripts/test-schema-migrations.mjs scripts/test-postgres-persistence.mjs scripts/test-document-indexing-postgres.mjs && node --test scripts/test-platform-coordination.mjs scripts/test-platform-storage.mjs scripts/test-memory-reliability.mjs && npm run test:team-storage && node --test scripts/test-durable-jobs.mjs scripts/test-account-retirement.mjs scripts/test-integrated-backup.mjs scripts/test-team-backup.mjs && node --test scripts/test-health-probes.mjs scripts/test-recovery-inventory.mjs scripts/test-recovery-drills.mjs && node --test scripts/test-structured-logging.mjs scripts/test-opentelemetry.mjs && node --test scripts/test-webpage-fetch-security.mjs && node --test scripts/test-provider-fetch.mjs && node --test scripts/test-cors.mjs && node --test scripts/test-websocket-close-codes.mjs && node --test scripts/test-web-search.mjs && node --test scripts/test-content-resource-limits.mjs && node --test scripts/test-calendar.mjs && node --test scripts/test-calendar-team.mjs && node --test scripts/test-notes.mjs && node --test scripts/test-automation-schedule.mjs && node --test scripts/test-automations.mjs && node --test scripts/test-prompts.mjs scripts/test-skills.mjs && node --test scripts/test-resource-sharing.mjs && node --test scripts/test-channels.mjs && node --test scripts/test-notifications.mjs && node --test scripts/test-web-push.mjs && node --test scripts/test-smtp-client.mjs scripts/test-email-markdown.mjs scripts/test-email-notifications.mjs && node --test scripts/test-tool-gateway.mjs scripts/test-tool-approvals.mjs && node --test scripts/test-tool-oauth.mjs && node --test scripts/test-chat-tool-loop.mjs scripts/test-assistant-profiles.mjs && node --test scripts/test-registration-policy.mjs && node --test scripts/test-user-approval.mjs && node --test scripts/test-default-theme.mjs && node --test scripts/test-background-preferences.mjs && node --test scripts/test-default-model.mjs scripts/test-cli-args.mjs && node --test scripts/test-static-assets.mjs && node --test scripts/test-turnstile-auth.mjs && node --test scripts/test-oauth-security.mjs && node --test scripts/test-auth-sessions.mjs && node --test scripts/test-mfa.mjs && node --test scripts/test-api-tokens.mjs && node --test scripts/test-openai-compat.mjs && node --test scripts/test-authorization.mjs && node --test scripts/test-security-audit.mjs && node --test scripts/test-oidc-provider.mjs && node --test scripts/test-password-security.mjs && node --test scripts/test-live-deployment-security.mjs && node --test scripts/test-websocket-tickets.mjs && node --test scripts/test-capability-contracts.mjs scripts/test-global-capability-contracts.mjs && node --test scripts/test-ollama-model-defaults.mjs && node --test scripts/test-ollama-library.mjs && node --test scripts/test-huggingface-hub-routes.mjs && node --test scripts/test-chat-context.mjs && node --test scripts/test-thinking-level.mjs && node --test scripts/test-model-catalog.mjs && node --test scripts/test-title-generation.mjs scripts/test-follow-ups.mjs scripts/test-thinking-summary.mjs && node --test scripts/test-context-compaction.mjs && node --test scripts/test-chat-cancellation.mjs && node --test scripts/test-prompt-queue.mjs && node --test scripts/test-multi-model-compare.mjs && node --test scripts/test-chat-fork.mjs && node --test scripts/test-workspace-search.mjs && node --test scripts/test-rag-retrieval.mjs && node --test scripts/test-document-extractors.mjs && node --test scripts/test-media-extraction.mjs && node --test scripts/test-hybrid-retrieval.mjs && node --test scripts/test-chat-rest-responses.mjs && node --test scripts/test-deepseek-plugin.mjs scripts/test-bedrock-plugin.mjs && node --test scripts/test-plugin-endpoint-routing.mjs && node --test scripts/test-plugin-capability-routing.mjs && node --test scripts/test-plugin-usage-analytics.mjs && node --test scripts/test-cost-governance.mjs && node --test scripts/test-evaluations.mjs && node --test scripts/test-system-diagnostics.mjs && node --test scripts/test-openrouter-attribution.mjs && node --test scripts/test-openrouter-media-routing.mjs && node --test scripts/test-chat-provider-selection.mjs && node --test scripts/test-agent-cli-chat.mjs scripts/test-agent-cli-access.mjs && node --test scripts/test-strands-engine.mjs && node --test scripts/test-codex-oauth.mjs && node --test scripts/test-provider-api-modes.mjs && node --test scripts/test-plugin-variable-overrides.mjs && node --test scripts/test-plugin-model-refresh.mjs && node --test scripts/test-plugin-model-context.mjs && node --test scripts/test-stt-routing.mjs && node --test scripts/test-tts-routing.mjs && node --test scripts/test-voice-profiles-security.mjs && node --test scripts/test-image-generation-routing.mjs && node --test scripts/test-image-editing.mjs && node --test scripts/test-data-archive.mjs && node --test scripts/test-work-host-workspace.mjs && node --test scripts/test-work-runtime.mjs && node --test scripts/test-work-recovery.mjs && node --test scripts/test-work-runs.mjs && node --test scripts/test-work-access.mjs && node --test scripts/test-work-admin.mjs && node --test scripts/test-work-idle.mjs && node --test scripts/test-work-policies.mjs && node --test scripts/test-work-approvals.mjs && node --test scripts/test-work-delegation.mjs && node --test scripts/test-work-mcp.mjs && node --test scripts/test-work-kubernetes.mjs && node --test scripts/test-work-preview-proxy.mjs && node --test scripts/test-artifact-sandbox.mjs && node --test scripts/test-work-terminal.mjs && node --test scripts/test-work-provider.mjs && node --test scripts/test-work-agent-guidance.mjs && node --test scripts/test-work-agent-loop.mjs && node --test scripts/test-work-computer-live.mjs && node --test scripts/test-work-events.mjs && node --test scripts/test-work-egress.mjs && node --test scripts/test-work-agents.mjs && node --test scripts/test-package-layout.mjs && npm run test:package-install && node --test scripts/test-release-notes.mjs && node --test scripts/test-release-status.mjs && node --test scripts/test-docker-layout.mjs && node --test scripts/test-pr-quality-gates.mjs scripts/test-security-workflow.mjs && node --test scripts/test-homebrew-publishing.mjs && node --test scripts/test-forgejo-release-mirror.mjs",
35
+ "test:package": "node --test scripts/test-deprecated-dependencies.mjs && node --test scripts/test-typescript-toolchain.mjs && node --test scripts/test-helm-versioning.mjs && node --test scripts/test-helm-work.mjs && node --test scripts/test-tts-example-security.mjs && npm run test:unit --workspace=frontend && npm run build && node --test scripts/test-persistence-boundary.mjs scripts/test-persistence-contract.mjs scripts/test-schema-migrations.mjs scripts/test-postgres-persistence.mjs scripts/test-document-indexing-postgres.mjs && node --test scripts/test-platform-coordination.mjs scripts/test-platform-storage.mjs scripts/test-memory-reliability.mjs && npm run test:team-storage && node --test scripts/test-durable-jobs.mjs scripts/test-account-retirement.mjs scripts/test-integrated-backup.mjs scripts/test-team-backup.mjs && node --test scripts/test-health-probes.mjs scripts/test-recovery-inventory.mjs scripts/test-recovery-drills.mjs && node --test scripts/test-structured-logging.mjs scripts/test-opentelemetry.mjs && node --test scripts/test-webpage-fetch-security.mjs && node --test scripts/test-provider-fetch.mjs && node --test scripts/test-cors.mjs && node --test scripts/test-websocket-close-codes.mjs && node --test scripts/test-web-search.mjs && node --test scripts/test-content-resource-limits.mjs && node --test scripts/test-calendar.mjs && node --test scripts/test-calendar-team.mjs && node --test scripts/test-notes.mjs && node --test scripts/test-automation-schedule.mjs && node --test scripts/test-automations.mjs && node --test scripts/test-prompts.mjs scripts/test-skills.mjs && node --test scripts/test-resource-sharing.mjs && node --test scripts/test-channels.mjs && node --test scripts/test-notifications.mjs && node --test scripts/test-web-push.mjs && node --test scripts/test-smtp-client.mjs scripts/test-email-markdown.mjs scripts/test-email-notifications.mjs && node --test scripts/test-tool-gateway.mjs scripts/test-tool-approvals.mjs && node --test scripts/test-tool-oauth.mjs && node --test scripts/test-chat-tool-loop.mjs scripts/test-assistant-profiles.mjs && node --test scripts/test-registration-policy.mjs && node --test scripts/test-user-approval.mjs && node --test scripts/test-default-theme.mjs && node --test scripts/test-background-preferences.mjs && node --test scripts/test-default-model.mjs scripts/test-cli-args.mjs && node --test scripts/test-static-assets.mjs && node --test scripts/test-turnstile-auth.mjs && node --test scripts/test-oauth-security.mjs && node --test scripts/test-auth-sessions.mjs && node --test scripts/test-mfa.mjs && node --test scripts/test-api-tokens.mjs && node --test scripts/test-openai-compat.mjs && node --test scripts/test-authorization.mjs && node --test scripts/test-security-audit.mjs && node --test scripts/test-oidc-provider.mjs && node --test scripts/test-password-security.mjs && node --test scripts/test-live-deployment-security.mjs && node --test scripts/test-websocket-tickets.mjs && node --test scripts/test-capability-contracts.mjs scripts/test-global-capability-contracts.mjs && node --test scripts/test-ollama-model-defaults.mjs && node --test scripts/test-ollama-library.mjs && node --test scripts/test-huggingface-hub-routes.mjs && node --test scripts/test-chat-context.mjs && node --test scripts/test-thinking-level.mjs && node --test scripts/test-model-catalog.mjs && node --test scripts/test-title-generation.mjs scripts/test-follow-ups.mjs scripts/test-thinking-summary.mjs && node --test scripts/test-context-compaction.mjs && node --test scripts/test-chat-cancellation.mjs && node --test scripts/test-prompt-queue.mjs && node --test scripts/test-multi-model-compare.mjs && node --test scripts/test-chat-fork.mjs && node --test scripts/test-workspace-search.mjs && node --test scripts/test-rag-retrieval.mjs && node --test scripts/test-document-extractors.mjs && node --test scripts/test-media-extraction.mjs && node --test scripts/test-hybrid-retrieval.mjs && node --test scripts/test-chat-rest-responses.mjs && node --test scripts/test-deepseek-plugin.mjs scripts/test-meta-plugin.mjs scripts/test-bedrock-plugin.mjs && node --test scripts/test-plugin-endpoint-routing.mjs && node --test scripts/test-plugin-capability-routing.mjs && node --test scripts/test-plugin-usage-analytics.mjs && node --test scripts/test-cost-governance.mjs && node --test scripts/test-evaluations.mjs && node --test scripts/test-system-diagnostics.mjs && node --test scripts/test-openrouter-attribution.mjs && node --test scripts/test-openrouter-media-routing.mjs && node --test scripts/test-chat-provider-selection.mjs && node --test scripts/test-agent-cli-chat.mjs scripts/test-agent-cli-access.mjs && node --test scripts/test-strands-engine.mjs && node --test scripts/test-codex-oauth.mjs && node --test scripts/test-provider-api-modes.mjs && node --test scripts/test-plugin-variable-overrides.mjs && node --test scripts/test-plugin-model-refresh.mjs && node --test scripts/test-plugin-model-context.mjs && node --test scripts/test-stt-routing.mjs && node --test scripts/test-tts-routing.mjs && node --test scripts/test-voice-profiles-security.mjs && node --test scripts/test-image-generation-routing.mjs && node --test scripts/test-image-editing.mjs && node --test scripts/test-data-archive.mjs && node --test scripts/test-work-host-workspace.mjs && node --test scripts/test-work-runtime.mjs && node --test scripts/test-work-recovery.mjs && node --test scripts/test-work-runs.mjs && node --test scripts/test-work-access.mjs && node --test scripts/test-work-admin.mjs && node --test scripts/test-work-idle.mjs && node --test scripts/test-work-policies.mjs && node --test scripts/test-work-approvals.mjs && node --test scripts/test-work-delegation.mjs && node --test scripts/test-work-mcp.mjs && node --test scripts/test-work-kubernetes.mjs && node --test scripts/test-work-preview-proxy.mjs && node --test scripts/test-artifact-sandbox.mjs && node --test scripts/test-work-terminal.mjs && node --test scripts/test-work-provider.mjs && node --test scripts/test-work-agent-guidance.mjs && node --test scripts/test-work-agent-loop.mjs && node --test scripts/test-work-computer-live.mjs && node --test scripts/test-work-events.mjs && node --test scripts/test-work-egress.mjs && node --test scripts/test-work-agents.mjs && node --test scripts/test-package-layout.mjs && npm run test:package-install && node --test scripts/test-release-notes.mjs && node --test scripts/test-release-status.mjs && node --test scripts/test-docker-layout.mjs && node --test scripts/test-pr-quality-gates.mjs scripts/test-security-workflow.mjs && node --test scripts/test-homebrew-publishing.mjs && node --test scripts/test-forgejo-release-mirror.mjs",
36
36
  "bench:work-computer": "node scripts/bench-work-computer.mjs",
37
37
  "test:team-storage": "node scripts/test-platform-storage-team-adapters.mjs && node scripts/test-sqlite-team-storage-migration.mjs",
38
38
  "test:team-platform": "node --test scripts/test-team-platform.mjs",
@@ -99,11 +99,11 @@
99
99
  },
100
100
  "minimatch": ">=10.2.1",
101
101
  "brace-expansion": "^5.0.9",
102
- "ip-address": "10.7.2",
102
+ "ip-address": "10.7.5",
103
103
  "js-yaml": "^4.3.2",
104
104
  "shell-quote": "1.11.0",
105
105
  "katex": "^0.19.0",
106
- "dompurify": "3.4.16"
106
+ "dompurify": "3.4.17"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@eslint/js": "^9.39.4",
@@ -0,0 +1,77 @@
1
+ {
2
+ "id": "meta",
3
+ "name": "Meta",
4
+ "type": "completion",
5
+ "endpoint": "https://api.meta.ai/v1/chat/completions",
6
+ "auth": {
7
+ "header": "Authorization",
8
+ "prefix": "Bearer ",
9
+ "key_env": "META_API_KEY"
10
+ },
11
+ "model_map": [
12
+ "muse-spark-1.3",
13
+ "muse-spark-1.3-contributor",
14
+ "muse-wonder-1.0"
15
+ ],
16
+ "variables": [
17
+ {
18
+ "name": "endpoint",
19
+ "type": "string",
20
+ "label": "API Endpoint",
21
+ "description": "Override the default API endpoint URL.",
22
+ "default": "https://api.meta.ai/v1/chat/completions"
23
+ },
24
+ {
25
+ "name": "temperature",
26
+ "type": "number",
27
+ "label": "Temperature",
28
+ "description": "Controls randomness. Lower values are more focused, higher values more creative.",
29
+ "default": 0.7,
30
+ "min": 0,
31
+ "max": 2
32
+ },
33
+ {
34
+ "name": "max_tokens",
35
+ "type": "number",
36
+ "label": "Max Tokens",
37
+ "description": "Maximum number of tokens to generate, reasoning included.",
38
+ "default": 16384,
39
+ "min": 1,
40
+ "max": 131072
41
+ },
42
+ {
43
+ "name": "top_p",
44
+ "type": "number",
45
+ "label": "Top P",
46
+ "description": "Nucleus sampling. Lower values make output more focused.",
47
+ "default": 1,
48
+ "min": 0,
49
+ "max": 1
50
+ },
51
+ {
52
+ "name": "frequency_penalty",
53
+ "type": "number",
54
+ "label": "Frequency Penalty",
55
+ "description": "Reduces repetition of frequent tokens.",
56
+ "default": 0,
57
+ "min": -2,
58
+ "max": 2
59
+ },
60
+ {
61
+ "name": "presence_penalty",
62
+ "type": "number",
63
+ "label": "Presence Penalty",
64
+ "description": "Encourages the model to talk about new topics.",
65
+ "default": 0,
66
+ "min": -2,
67
+ "max": 2
68
+ },
69
+ {
70
+ "name": "stream",
71
+ "type": "boolean",
72
+ "label": "Stream Response",
73
+ "description": "Stream the response token by token.",
74
+ "default": true
75
+ }
76
+ ]
77
+ }