libre-webui 0.19.2 → 0.19.4
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/backend/dist/index.d.ts.map +1 -1
- package/backend/dist/index.js +61 -2
- package/backend/dist/index.js.map +1 -1
- package/backend/dist/routes/artifacts.d.ts +3 -0
- package/backend/dist/routes/artifacts.d.ts.map +1 -0
- package/backend/dist/routes/artifacts.js +167 -0
- package/backend/dist/routes/artifacts.js.map +1 -0
- package/backend/dist/routes/ollama.d.ts.map +1 -1
- package/backend/dist/routes/ollama.js +25 -0
- package/backend/dist/routes/ollama.js.map +1 -1
- package/backend/dist/routes/preferences.d.ts.map +1 -1
- package/backend/dist/routes/preferences.js +44 -0
- package/backend/dist/routes/preferences.js.map +1 -1
- package/backend/dist/services/chatGenerationService.d.ts +11 -0
- package/backend/dist/services/chatGenerationService.d.ts.map +1 -1
- package/backend/dist/services/chatGenerationService.js +20 -1
- package/backend/dist/services/chatGenerationService.js.map +1 -1
- package/backend/dist/services/ollamaService.d.ts +9 -0
- package/backend/dist/services/ollamaService.d.ts.map +1 -1
- package/backend/dist/services/ollamaService.js +27 -0
- package/backend/dist/services/ollamaService.js.map +1 -1
- package/backend/dist/services/preferencesService.d.ts +7 -0
- package/backend/dist/services/preferencesService.d.ts.map +1 -1
- package/backend/dist/services/preferencesService.js +22 -0
- package/backend/dist/services/preferencesService.js.map +1 -1
- package/backend/dist/types/index.d.ts +5 -0
- package/backend/dist/types/index.d.ts.map +1 -1
- package/backend/dist/types/index.js.map +1 -1
- package/backend/dist/utils/ollamaModelDefaults.d.ts +39 -0
- package/backend/dist/utils/ollamaModelDefaults.d.ts.map +1 -0
- package/backend/dist/utils/ollamaModelDefaults.js +157 -0
- package/backend/dist/utils/ollamaModelDefaults.js.map +1 -0
- package/backend/package.json +1 -1
- package/frontend/dist/apple-touch-icon.png +0 -0
- package/frontend/dist/artifact-runtime/.build-fingerprint +1 -0
- package/frontend/dist/artifact-runtime/babel.js +613 -0
- package/frontend/dist/artifact-runtime/chart.js +3 -0
- package/frontend/dist/artifact-runtime/d3.js +5 -0
- package/frontend/dist/artifact-runtime/fonts.js +255 -0
- package/frontend/dist/artifact-runtime/framer-motion.js +10 -0
- package/frontend/dist/artifact-runtime/lodash.js +20 -0
- package/frontend/dist/artifact-runtime/lucide-react.js +1 -0
- package/frontend/dist/artifact-runtime/mathjs.js +54 -0
- package/frontend/dist/artifact-runtime/mermaid.js +3535 -0
- package/frontend/dist/artifact-runtime/papaparse.js +10 -0
- package/frontend/dist/artifact-runtime/plotly.js +3790 -0
- package/frontend/dist/artifact-runtime/react.js +9 -0
- package/frontend/dist/artifact-runtime/recharts.js +69 -0
- package/frontend/dist/artifact-runtime/runtime.js +1 -0
- package/frontend/dist/artifact-runtime/tailwind.js +952 -0
- package/frontend/dist/artifact-runtime/three.js +5271 -0
- package/frontend/dist/artifact-runtime/tone.js +210 -0
- package/frontend/dist/assets/index-DrcHGnwk.js +64 -0
- package/frontend/dist/assets/index-DtkGuqvC.css +1 -0
- package/frontend/dist/favicon-dark.png +0 -0
- package/frontend/dist/favicon-light.png +0 -0
- package/frontend/dist/favicon.svg +1 -0
- package/frontend/dist/fonts/inter.css +254 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2 +0 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2 +0 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2 +0 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2 +0 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2 +0 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2 +0 -0
- package/frontend/dist/fonts/v20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2 +0 -0
- package/frontend/dist/icon-192.png +0 -0
- package/frontend/dist/icon-512.png +0 -0
- package/frontend/dist/index.html +16 -11
- package/frontend/dist/js/ArtifactContainer-CEBbQqtg.js +1 -0
- package/frontend/dist/js/{ArtifactDemoPage-BlVBMy6a.js → ArtifactDemoPage-BDTtUPjk.js} +58 -2
- package/frontend/dist/js/ArtifactSandboxFrame-DOQWmEAm.js +151 -0
- package/frontend/dist/js/ArtifactSlideOutPanel-BMhWWM3P.js +1 -0
- package/frontend/dist/js/ChatPage-B64xgIPZ.js +16 -0
- package/frontend/dist/js/FirstTimeSetup-1IqkWCsV.js +1 -0
- package/frontend/dist/js/{GalleryPage-BnaFZERr.js → GalleryPage-CKgQAYmH.js} +1 -1
- package/frontend/dist/js/{HomePage-BvpoUzGG.js → HomePage-aNO615Go.js} +1 -1
- package/frontend/dist/js/{LibreClawPage-B-6rO5Jl.js → LibreClawPage-DZqgIOgT.js} +1 -1
- package/frontend/dist/js/ModelSelector-DhmVTh2d.js +1 -0
- package/frontend/dist/js/{ModelsPage-D5H70fs3.js → ModelsPage-tzXaut3l.js} +1 -1
- package/frontend/dist/js/{NotesPage-D9b3JxCx.js → NotesPage-Ciwrazz9.js} +1 -1
- package/frontend/dist/js/{PersonasPage-CJOGnyQV.js → PersonasPage-C9Pkl4yH.js} +2 -2
- package/frontend/dist/js/{PluginUsagePage-DHNMWquK.js → PluginUsagePage-DPfyos1y.js} +1 -1
- package/frontend/dist/js/{RichMessageContent-C7NG7gs-.js → RichMessageContent-CUcmvdXW.js} +1 -1
- package/frontend/dist/js/SettingsModal-DhrjNMcd.js +1 -0
- package/frontend/dist/js/{SystemPage-BsPen2Qb.js → SystemPage-CkUsJ-UR.js} +1 -1
- package/frontend/dist/js/{UserManagementPage-I9i5r0V3.js → UserManagementPage-DClRsCeA.js} +1 -1
- package/frontend/dist/js/WorkPage-cJEe9LZ_.js +5 -0
- package/frontend/dist/js/api-iDBo7I0x.js +19 -0
- package/frontend/dist/js/{appStore-CLIS0fvz.js → appStore-BAFz_6aP.js} +2 -2
- package/frontend/dist/js/{ar-B_uYj5Gv.js → ar-D3PgKaYD.js} +1 -1
- package/frontend/dist/js/{authStore-CsCkBmaG.js → authStore-2665PsVB.js} +2 -2
- package/frontend/dist/js/{bn-Pd4HHYsG.js → bn-DJiNo5j1.js} +1 -1
- package/frontend/dist/js/chatStore-fX9gMb9B.js +2 -0
- package/frontend/dist/js/config-CmH3hRFc.js +1 -0
- package/frontend/dist/js/{cs-CgVXogHE.js → cs-BJ7pToPB.js} +1 -1
- package/frontend/dist/js/{da-DTUIrClO.js → da-Cqw35YeI.js} +1 -1
- package/frontend/dist/js/{de-CKITtmnY.js → de-DLw7O2DX.js} +1 -1
- package/frontend/dist/js/{es-DKDhsL9J.js → es-CLg6Zl_p.js} +1 -1
- package/frontend/dist/js/{estree-CrfVSazx.js → estree-63s2XfPj.js} +1 -1
- package/frontend/dist/js/{fr-CUvNp0pc.js → fr-BUmG4BWs.js} +1 -1
- package/frontend/dist/js/{hi-Bwdmc__g.js → hi-CGktbsaL.js} +1 -1
- package/frontend/dist/js/{html-BbJLJMaV.js → html-CRbptZf3.js} +1 -1
- package/frontend/dist/js/{i18n-ZJQSoIuM.js → i18n-DFbHZ75-.js} +2 -2
- package/frontend/dist/js/{id-CWTPw3NJ.js → id-C7FnPtw9.js} +1 -1
- package/frontend/dist/js/{is-4dV6F4Bo.js → is-_FSS24Pj.js} +1 -1
- package/frontend/dist/js/{it-8uw2-j2s.js → it-DWTgF8my.js} +1 -1
- package/frontend/dist/js/{ja-Bl7gd3kp.js → ja-jYrlZiIs.js} +1 -1
- package/frontend/dist/js/{ko-C_CYwJnL.js → ko-3PZ87sc7.js} +1 -1
- package/frontend/dist/js/{markdown-DiMg1QLf.js → markdown-C23cybKA.js} +1 -1
- package/frontend/dist/js/{messageCodeStyles-CfzjQF-R.js → messageCodeStyles-BJVb4sK7.js} +1 -1
- package/frontend/dist/js/{ms-Dznw3AkA.js → ms-BfySq07T.js} +1 -1
- package/frontend/dist/js/{nl-fW-4lPWK.js → nl-DupdNsDK.js} +1 -1
- package/frontend/dist/js/{pl-CanprK04.js → pl-DYoPcTNe.js} +1 -1
- package/frontend/dist/js/{pt-JhTaVvKa.js → pt-p_-S_r1k.js} +1 -1
- package/frontend/dist/js/{ru-uPtHQATq.js → ru-CuJFlVPc.js} +1 -1
- package/frontend/dist/js/{standalone-Vs6LnjM6.js → standalone-BwzoPJoZ.js} +1 -1
- package/frontend/dist/js/{sv-yr6iqxR-.js → sv-DyZJcYOQ.js} +1 -1
- package/frontend/dist/js/{th-Bx4U5yKy.js → th-Cd6fTxUn.js} +1 -1
- package/frontend/dist/js/{tr-C7tCwYuZ.js → tr-BB1gefYF.js} +1 -1
- package/frontend/dist/js/{typescript-BhVG1zGU.js → typescript-CS-sPC9m.js} +1 -1
- package/frontend/dist/js/{ui-Dj9IFugT.js → ui-B-C2BCTb.js} +2 -2
- package/frontend/dist/js/{uk-C4SbiAUn.js → uk-DFURilqa.js} +1 -1
- package/frontend/dist/js/{vi-C3-TmuzC.js → vi-BXclLwGp.js} +1 -1
- package/frontend/dist/js/{zh-CRfqIC_I.js → zh-BS8f68w1.js} +1 -1
- package/frontend/dist/logo-dark.png +0 -0
- package/frontend/dist/logo-dark.svg +1 -0
- package/frontend/dist/logo-light.png +0 -0
- package/frontend/dist/logo-light.svg +1 -0
- package/frontend/dist/logo.svg +1 -6
- package/frontend/dist/maskable-512.png +0 -0
- package/package.json +3 -3
- package/frontend/dist/assets/index-B9H3vQ-n.css +0 -1
- package/frontend/dist/assets/index-D4LhtFTX.js +0 -38
- package/frontend/dist/js/ArtifactContainer-DvuGeXXu.js +0 -1
- package/frontend/dist/js/ArtifactSlideOutPanel-CaPMk1Qj.js +0 -1
- package/frontend/dist/js/ChatPage-D4UBhGLk.js +0 -16
- package/frontend/dist/js/FirstTimeSetup-DJiDNTXY.js +0 -1
- package/frontend/dist/js/ModelSelector-BV1kuaVg.js +0 -1
- package/frontend/dist/js/SettingsModal-DEBxDPne.js +0 -1
- package/frontend/dist/js/WorkPage-e30yqvJe.js +0 -5
- package/frontend/dist/js/api-jwjnjqx6.js +0 -19
- package/frontend/dist/js/artifactHtml-C0Hu9I1u.js +0 -41
- package/frontend/dist/js/chatStore-DRY8C0J1.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(){var e=`react`,t=`babel`,n=`tailwind`,r=`fonts`,i={react:e,"react-dom":e,"react-dom/client":e,"react/jsx-runtime":e,"react/jsx-dev-runtime":e,recharts:`recharts`,"lucide-react":`lucide-react`,d3:`d3`,three:`three`,papaparse:`papaparse`,lodash:`lodash`,"lodash-es":`lodash`,mermaid:`mermaid`,"chart.js":`chart`,"chart.js/auto":`chart`,tone:`tone`,mathjs:`mathjs`,"plotly.js":`plotly`,"plotly.js-dist-min":`plotly`,"framer-motion":`framer-motion`,"motion/react":`framer-motion`,motion:`framer-motion`,"three/addons/controls/OrbitControls.js":`three`,"three/examples/jsm/controls/OrbitControls.js":`three`},a=[{pattern:/cdn\.tailwindcss\.com/i,bundle:n},{pattern:/(?:^|\/)tailwindcss(?:@[\d.]+)?(?:\/|$)/i,bundle:n},{pattern:/(?:^|\/)chart\.js(?:@[\d.]+)?(?:\/|$|\?)/i,bundle:`chart`},{pattern:/(?:^|\/)chart(?:\.min)?\.js(?:$|\?)/i,bundle:`chart`},{pattern:/(?:^|\/)d3(?:@[\d.]+)?(?:\/|$|\?)/i,bundle:`d3`},{pattern:/(?:^|\/)d3(?:\.min)?\.js(?:$|\?)/i,bundle:`d3`},{pattern:/(?:^|\/)three(?:@[\d.]+)?(?:\/|$|\?)/i,bundle:`three`},{pattern:/(?:^|\/)three(?:\.min)?\.js(?:$|\?)/i,bundle:`three`},{pattern:/papaparse/i,bundle:`papaparse`},{pattern:/(?:^|\/)lodash(?:@[\d.]+)?(?:\/|$|\?)/i,bundle:`lodash`},{pattern:/(?:^|\/)lodash(?:\.min)?\.js(?:$|\?)/i,bundle:`lodash`},{pattern:/fonts\.(?:googleapis|gstatic)\.com/i,bundle:r},{pattern:/mermaid/i,bundle:`mermaid`},{pattern:/(?:^|\/)tone(?:@[\d.]+)?(?:\/|$|\?)|tone(?:\.min)?\.js/i,bundle:`tone`},{pattern:/mathjs|math(?:\.min)?\.js/i,bundle:`mathjs`},{pattern:/plotly/i,bundle:`plotly`},{pattern:/framer-motion|(?:^|\/)motion(?:@[\d.]+)?(?:\/|$)/i,bundle:`framer-motion`},{pattern:/react-dom/i,bundle:e},{pattern:/(?:^|\/)react(?:@[\d.]+)?(?:\/|$|\?)/i,bundle:e},{pattern:/babel(?:-standalone|\/standalone)/i,bundle:t}];function o(e){if(i[e])return e;let t=a.find(({pattern:t})=>t.test(e))?.bundle??Object.values(i).find(t=>e.startsWith(`${t}/`));return t?Object.entries(i).find(([,e])=>e===t)?.[0]??null:null}var s=`root`,c={modules:{},register(e,t){for(let n of e)this.modules[n]=t},require(e){let t=this.modules[e];if(t!==void 0)return t;let n=o(e),r=n===null?void 0:this.modules[n];if(r!==void 0)return r;throw Error(`"${e}" is not one of the libraries available to artifacts.`)},runReact(){g()},runMermaid(){_()},runInline(e){try{h(m(e))}catch(e){d(`This script could not run.`,f(e))}}},l=()=>{let e=window.__libreArtifactSource;return typeof e==`string`?e.trim():``},u=()=>document.getElementById(s),d=(e,t)=>{let n=u();if(!n)return;let r=document.createElement(`div`);r.setAttribute(`data-testid`,`artifact-runtime-error`),r.style.cssText=`margin:16px;padding:16px;border:1px solid #f0a5a5;border-radius:12px;background:#fff5f5;color:#7f1d1d;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;word-break:break-word;`;let i=document.createElement(`strong`);i.textContent=e,i.style.cssText=`display:block;margin-bottom:8px;font:600 13px/1.4 system-ui,sans-serif;`,r.append(i,document.createTextNode(t)),n.replaceChildren(r)},f=e=>e instanceof Error?`${e.message}\n\n${e.stack??``}`.trim():String(e),p=e=>{if(typeof e.default==`function`)return e.default;for(let[t,n]of Object.entries(e))if(typeof n==`function`&&/^[A-Z]/.test(t))return n;return null},m=e=>{let t=c.modules.__babel;if(!t)throw Error(`The artifact compiler was not loaded.`);let n=t.transform(e,{filename:`artifact.tsx`,sourceType:`module`,presets:[`typescript`,[`react`,{runtime:`automatic`}]],plugins:[`transform-modules-commonjs`]});if(!n?.code)throw Error(`The artifact produced no runnable code.`);return n.code},h=e=>{let t={exports:{}};return Function(`require`,`module`,`exports`,e)(e=>c.require(e),t,t.exports),t.exports},g=async()=>{let e=l(),t=u();if(!e||!t){d(`Nothing to render.`,`The artifact carried no source.`);return}let n;try{n=h(m(e))}catch(e){d(`This artifact could not be compiled.`,f(e));return}try{let e=c.require(`react`),{createRoot:r}=c.require(`react-dom/client`),i=p(n);if(!i){t.childElementCount===0&&d(`This artifact exported no component.`,`Export the component as the module default, for example: export default function App() { ... }`);return}r(t).render(e.createElement(e.StrictMode,null,e.createElement(i)))}catch(e){d(`This artifact failed to run.`,f(e))}},_=async()=>{let e=l(),t=u();if(!(!e||!t))try{let n=c.require(`mermaid`);n.initialize({startOnLoad:!1,theme:document.documentElement.dataset.colorScheme===`dark`?`dark`:`default`,securityLevel:`strict`,fontFamily:`system-ui, -apple-system, Segoe UI, Roboto, sans-serif`});let{svg:r}=await n.render(`libre-artifact-diagram`,e),i=new DOMParser().parseFromString(r,`image/svg+xml`).documentElement;if(!i||i.nodeName===`parsererror`)throw Error(`The diagram could not be parsed.`);t.replaceChildren(document.importNode(i,!0))}catch(e){d(`This diagram could not be drawn.`,f(e))}};window.addEventListener(`unhandledrejection`,e=>{d(`This artifact raised an unhandled error.`,String(e.reason))}),window.__libreArtifactRuntime=c})();
|