@madh-io/alfred-ai 0.15.6 → 0.15.7
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/bundle/web-ui/404/index.html +1 -1
- package/bundle/web-ui/404.html +1 -1
- package/bundle/web-ui/_next/static/XtCz9Qzry4yFsJZBA0KIy/_buildManifest.js +1 -0
- package/bundle/web-ui/_next/static/XtCz9Qzry4yFsJZBA0KIy/_ssgManifest.js +1 -0
- package/bundle/web-ui/_next/static/chunks/624-ceaac8eaf54e1066.js +1 -0
- package/bundle/web-ui/_next/static/chunks/app/dashboard/page-56489ea908a20760.js +1 -0
- package/bundle/web-ui/_next/static/chunks/app/layout-6dadba9fca11a234.js +1 -0
- package/bundle/web-ui/_next/static/chunks/app/settings/page-6cea9fa8997a3a59.js +1 -0
- package/bundle/web-ui/chat/index.html +1 -1
- package/bundle/web-ui/chat/index.txt +4 -4
- package/bundle/web-ui/dashboard/index.html +1 -1
- package/bundle/web-ui/dashboard/index.txt +4 -4
- package/bundle/web-ui/index.html +1 -1
- package/bundle/web-ui/index.txt +4 -4
- package/bundle/web-ui/settings/index.html +1 -1
- package/bundle/web-ui/settings/index.txt +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--XtCz9Qzry4yFsJZBA0KIy--><html lang="de"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/alfred/_next/static/css/ab41d248afac9f33.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js"/><script src="/alfred/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/alfred/_next/static/chunks/743-05c790de389fcbe8.js" async=""></script><script src="/alfred/_next/static/chunks/main-app-bf91f7268c1fdab4.js" async=""></script><script src="/alfred/_next/static/chunks/app/layout-6dadba9fca11a234.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Alfred AI</title><meta name="description" content="Self-hosted AI Assistant"/><script src="/alfred/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-full"><aside class="w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full"><div class="p-4 border-b border-[#1f1f1f]"><a class="flex items-center gap-2" href="/alfred/"><span class="text-xl font-bold text-blue-500 font-mono">A</span><span class="hidden md:inline text-sm font-semibold text-gray-200">Alfred</span></a></div><nav class="flex-1 p-2 space-y-1"><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/chat/"><span>💬</span><span class="hidden md:inline">Chat</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/dashboard/"><span>📊</span><span class="hidden md:inline">Dashboard</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/settings/"><span>⚙️</span><span class="hidden md:inline">Settings</span></a></nav><div class="p-4 border-t border-[#1f1f1f]"><a href="https://github.com/madh99/alfred-ai" target="_blank" rel="noopener noreferrer" class="text-xs text-gray-500 hover:text-gray-400 hidden md:block">GitHub</a></div></aside><main class="flex-1 overflow-hidden"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8719,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"ConfigProvider\"]\n3:I[7946,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"Sidebar\"]\n4:I[8954,[],\"\"]\n5:I[5640,[],\"\"]\n6:I[2051,[],\"OutletBoundary\"]\n8:I[6658,[],\"AsyncMetadataOutlet\"]\na:I[2051,[],\"ViewportBoundary\"]\nc:I[2051,[],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[7698,[],\"\"]\n:HL[\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XtCz9Qzry4yFsJZBA0KIy\",\"p\":\"/alfred\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"de\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L6\",null,{\"children\":[\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n7:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Alfred AI\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Self-hosted AI Assistant\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$9:metadata\"\n"])</script></body></html>
|
package/bundle/web-ui/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--XtCz9Qzry4yFsJZBA0KIy--><html lang="de"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/alfred/_next/static/css/ab41d248afac9f33.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js"/><script src="/alfred/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/alfred/_next/static/chunks/743-05c790de389fcbe8.js" async=""></script><script src="/alfred/_next/static/chunks/main-app-bf91f7268c1fdab4.js" async=""></script><script src="/alfred/_next/static/chunks/app/layout-6dadba9fca11a234.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Alfred AI</title><meta name="description" content="Self-hosted AI Assistant"/><script src="/alfred/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-full"><aside class="w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full"><div class="p-4 border-b border-[#1f1f1f]"><a class="flex items-center gap-2" href="/alfred/"><span class="text-xl font-bold text-blue-500 font-mono">A</span><span class="hidden md:inline text-sm font-semibold text-gray-200">Alfred</span></a></div><nav class="flex-1 p-2 space-y-1"><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/chat/"><span>💬</span><span class="hidden md:inline">Chat</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/dashboard/"><span>📊</span><span class="hidden md:inline">Dashboard</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/settings/"><span>⚙️</span><span class="hidden md:inline">Settings</span></a></nav><div class="p-4 border-t border-[#1f1f1f]"><a href="https://github.com/madh99/alfred-ai" target="_blank" rel="noopener noreferrer" class="text-xs text-gray-500 hover:text-gray-400 hidden md:block">GitHub</a></div></aside><main class="flex-1 overflow-hidden"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8719,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"ConfigProvider\"]\n3:I[7946,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"Sidebar\"]\n4:I[8954,[],\"\"]\n5:I[5640,[],\"\"]\n6:I[2051,[],\"OutletBoundary\"]\n8:I[6658,[],\"AsyncMetadataOutlet\"]\na:I[2051,[],\"ViewportBoundary\"]\nc:I[2051,[],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[7698,[],\"\"]\n:HL[\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XtCz9Qzry4yFsJZBA0KIy\",\"p\":\"/alfred\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"de\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L6\",null,{\"children\":[\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n7:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Alfred AI\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Self-hosted AI Assistant\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$9:metadata\"\n"])</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:5,errorRate:1e-4,numBits:96,numHashes:14,bitArray:[1,0,0,1,e,r,e,r,r,e,r,e,e,r,r,e,r,e,e,e,r,e,e,e,r,r,e,e,e,e,r,e,r,r,r,r,e,e,r,e,e,r,e,r,e,r,e,e,r,e,r,r,r,r,r,e,e,e,e,e,e,e,r,e,e,e,r,r,e,e,r,e,r,r,e,r,r,e,e,r,e,e,e,e,r,r,e,e,e,r,r,r,r,e,e,r]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-01ab52c470df0174.js"],sortedPages:["/_app","/_error"]}}(1,0,1e-4),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[624],{1740:(e,t,a)=>{"use strict";a.d(t,{ChatPage:()=>d});var r=a(8111),s=a(5271),n=a(346),l=a(839);function o(e){var t;let{message:a}=e,s="user"===a.role;return(0,r.jsx)("div",{className:"flex ".concat(s?"justify-end":"justify-start"," mb-4"),children:(0,r.jsxs)("div",{className:"max-w-[85%] rounded-2xl px-4 py-3 ".concat(s?"bg-blue-600 text-white":"bg-[#1a1a1a] text-gray-200 border border-[#2a2a2a]"),children:[s?(0,r.jsx)("p",{className:"text-sm whitespace-pre-wrap",children:a.content}):(0,r.jsx)("div",{className:"prose prose-invert prose-sm max-w-none [&_pre]:bg-[#0d0d0d] [&_pre]:rounded-lg [&_pre]:p-3 [&_code]:text-blue-300 [&_a]:text-blue-400",children:(0,r.jsx)(n.oz,{remarkPlugins:[l.A],children:a.content||"..."})}),null==(t=a.attachments)?void 0:t.map((e,t)=>{var a,s;return(0,r.jsxs)("div",{className:"mt-2",children:["image"===e.type&&(0,r.jsx)("img",{src:"data:image/png;base64,".concat(e.data),alt:null!=(a=e.caption)?a:"Image",className:"rounded-lg max-w-full"}),"file"===e.type&&(0,r.jsx)("a",{href:"data:application/octet-stream;base64,".concat(e.data),download:e.fileName,className:"text-blue-400 underline text-sm",children:null!=(s=e.fileName)?s:"Download"}),"voice"===e.type&&(0,r.jsx)("audio",{controls:!0,src:"data:audio/ogg;base64,".concat(e.data),className:"mt-1"})]},t)})]})})}function i(e){let{onSend:t,disabled:a}=e,[n,l]=(0,s.useState)(""),o=(0,s.useRef)(null),i=()=>{var e;n.trim()&&!a&&(t(n.trim()),l(""),null==(e=o.current)||e.focus())};return(0,r.jsx)("div",{className:"border-t border-[#1f1f1f] bg-[#111111] p-4",children:(0,r.jsxs)("div",{className:"flex gap-3 max-w-4xl mx-auto",children:[(0,r.jsx)("textarea",{ref:o,value:n,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),i())},placeholder:"Nachricht an Alfred...",disabled:a,rows:1,className:"flex-1 bg-[#1a1a1a] text-gray-200 border border-[#2a2a2a] rounded-xl px-4 py-3 text-sm resize-none focus:outline-none focus:border-blue-500 placeholder-gray-500 disabled:opacity-50"}),(0,r.jsx)("button",{onClick:i,disabled:a||!n.trim(),className:"bg-blue-600 hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed text-white rounded-xl px-5 py-3 text-sm font-medium transition-colors",children:"Senden"})]})})}var c=a(8719);function u(e,t){switch(t.type){case"ADD_USER":return{...e,messages:[...e.messages,{id:"user-".concat(Date.now()),role:"user",content:t.text,timestamp:Date.now()}],error:null};case"START_ASSISTANT":return{...e,streaming:!0,currentStatus:null,messages:[...e.messages,{id:"asst-".concat(Date.now()),role:"assistant",content:"",timestamp:Date.now()}]};case"APPEND_RESPONSE":{let a=[...e.messages],r=a[a.length-1];return(null==r?void 0:r.role)==="assistant"&&(a[a.length-1]={...r,content:r.content+t.text}),{...e,messages:a,currentStatus:null}}case"SET_STATUS":return{...e,currentStatus:t.text};case"ADD_ATTACHMENT":{let r=[...e.messages],s=r[r.length-1];if((null==s?void 0:s.role)==="assistant"){var a;let e=[...null!=(a=s.attachments)?a:[],t.attachment];r[r.length-1]={...s,attachments:e}}return{...e,messages:r}}case"DONE":return{...e,streaming:!1,currentStatus:null};case"ERROR":return{...e,streaming:!1,currentStatus:null,error:t.error}}}function d(){let{messages:e,streaming:t,currentStatus:a,error:n,sendMessage:l}=function(e){let{client:t}=(0,c.U)(),[a,r]=(0,s.useReducer)(u,{messages:[],streaming:!1,currentStatus:null,error:null}),n=(0,s.useRef)(null),l=(0,s.useCallback)(s=>{s.trim()&&!a.streaming&&(r({type:"ADD_USER",text:s}),r({type:"START_ASSISTANT"}),n.current=t.streamMessage(s,e,"web-user",{onStatus:e=>r({type:"SET_STATUS",text:e}),onResponse:e=>r({type:"APPEND_RESPONSE",text:e}),onAttachment:e=>r({type:"ADD_ATTACHMENT",attachment:e}),onDone:()=>r({type:"DONE"}),onError:e=>r({type:"ERROR",error:e})}))},[t,e,a.streaming]),o=(0,s.useCallback)(()=>{var e;null==(e=n.current)||e.call(n),r({type:"DONE"})},[]);return{...a,sendMessage:l,cancel:o}}((0,s.useMemo)(()=>"web-".concat(Date.now().toString(36)),[])),d=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e;null==(e=d.current)||e.scrollTo({top:d.current.scrollHeight,behavior:"smooth"})},[e,a]),(0,r.jsxs)("div",{className:"flex flex-col h-full",children:[(0,r.jsx)("div",{ref:d,className:"flex-1 overflow-y-auto p-4",children:(0,r.jsxs)("div",{className:"max-w-4xl mx-auto",children:[0===e.length&&(0,r.jsxs)("div",{className:"text-center text-gray-500 mt-20",children:[(0,r.jsx)("p",{className:"text-4xl mb-4 font-mono font-bold text-blue-500",children:"Alfred"}),(0,r.jsx)("p",{className:"text-sm",children:"Self-hosted AI Assistant"}),(0,r.jsx)("p",{className:"text-xs mt-2 text-gray-600",children:"Stelle eine Frage oder gib einen Befehl ein."})]}),e.map(e=>(0,r.jsx)(o,{message:e},e.id)),a&&(0,r.jsx)("div",{className:"flex justify-start mb-4",children:(0,r.jsx)("div",{className:"bg-[#1a1a1a] border border-[#2a2a2a] rounded-2xl px-4 py-2 text-xs text-gray-400 animate-pulse",children:a})}),n&&(0,r.jsx)("div",{className:"text-center text-red-400 text-sm mt-4 bg-red-500/10 rounded-lg p-3",children:n})]})}),(0,r.jsx)(i,{onSend:l,disabled:t})]})}},8719:(e,t,a)=>{"use strict";a.d(t,{ConfigProvider:()=>u,U:()=>d});var r,s=a(8111),n=a(5271);async function*l(e){var t,a;let r=null==(t=e.body)?void 0:t.getReader();if(!r)return;let s=new TextDecoder,n="",l="",o="";try{for(;;){let{done:e,value:t}=await r.read();if(e)break;let i=(n+=s.decode(t,{stream:!0})).split("\n");for(let e of(n=null!=(a=i.pop())?a:"",i))e.startsWith("event: ")?l=e.slice(7).trim():e.startsWith("data: ")?o+=(o?"\n":"")+e.slice(6):""===e&&(l&&o&&(yield{event:l,data:o}),l="",o="")}l&&o&&(yield{event:l,data:o})}finally{r.releaseLock()}}class o{updateConfig(e,t){this.baseUrl=e,this.token=t}streamMessage(e,t,a,r){let s=new AbortController;return(async()=>{var n,o,i,c,u,d;try{let d=await fetch("".concat(this.baseUrl,"/api/message"),{method:"POST",headers:{"Content-Type":"application/json",...this.token?{Authorization:"Bearer ".concat(this.token)}:{}},body:JSON.stringify({text:e,chatId:t,userId:a}),signal:s.signal});if(!d.ok)return void r.onError("HTTP ".concat(d.status,": ").concat(d.statusText));for await(let{event:e,data:t}of l(d))try{let a=JSON.parse(t);switch(e){case"status":r.onStatus(null!=(o=null!=(n=a.text)?n:a.status)?o:t);break;case"response":r.onResponse(null!=(i=a.text)?i:t);break;case"attachment":r.onAttachment(a);break;case"done":r.onDone();break;case"error":r.onError(null!=(u=null!=(c=a.error)?c:a.message)?u:t)}}catch(a){"response"===e?r.onResponse(t):"error"===e&&r.onError(t)}r.onDone()}catch(e){"AbortError"!==e.name&&r.onError(null!=(d=e.message)?d:"Connection failed")}})(),()=>s.abort()}async fetchDashboard(){let e=await fetch("".concat(this.baseUrl,"/api/dashboard"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Dashboard: HTTP ".concat(e.status));return e.json()}async fetchHealth(){let e=await fetch("".concat(this.baseUrl,"/api/health"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Health: HTTP ".concat(e.status));return e.json()}constructor(e,t){this.baseUrl=e,this.token=t}}let i={apiUrl:null!=(r=a(1756).env.NEXT_PUBLIC_ALFRED_API_URL)?r:"",apiToken:""},c=(0,n.createContext)(null);function u(e){let{children:t}=e,[a,r]=(0,n.useState)(i),[l]=(0,n.useState)(()=>new o(i.apiUrl,i.apiToken));return(0,n.useEffect)(()=>{try{let e=localStorage.getItem("alfred-config");if(e){let t=JSON.parse(e);r(t),l.updateConfig(t.apiUrl,t.apiToken)}}catch(e){}},[l]),(0,s.jsx)(c.Provider,{value:{config:a,setConfig:e=>{r(e),l.updateConfig(e.apiUrl,e.apiToken),localStorage.setItem("alfred-config",JSON.stringify(e))},client:l},children:t})}function d(){let e=(0,n.useContext)(c);if(!e)throw Error("useConfig must be used within ConfigProvider");return e}},9624:(e,t,a)=>{Promise.resolve().then(a.bind(a,1740))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[105],{5224:(e,t,s)=>{Promise.resolve().then(s.bind(s,9772))},5242:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=function(){for(var e,t,s=0,a="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=function e(t){var s,a,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(s=0;s<l;s++)t[s]&&(a=e(t[s]))&&(r&&(r+=" "),r+=a)}else for(a in t)t[a]&&(r&&(r+=" "),r+=a);return r}(e))&&(a&&(a+=" "),a+=t);return a}},8719:(e,t,s)=>{"use strict";s.d(t,{ConfigProvider:()=>d,U:()=>h});var a,r=s(8111),l=s(5271);async function*n(e){var t,s;let a=null==(t=e.body)?void 0:t.getReader();if(!a)return;let r=new TextDecoder,l="",n="",i="";try{for(;;){let{done:e,value:t}=await a.read();if(e)break;let c=(l+=r.decode(t,{stream:!0})).split("\n");for(let e of(l=null!=(s=c.pop())?s:"",c))e.startsWith("event: ")?n=e.slice(7).trim():e.startsWith("data: ")?i+=(i?"\n":"")+e.slice(6):""===e&&(n&&i&&(yield{event:n,data:i}),n="",i="")}n&&i&&(yield{event:n,data:i})}finally{a.releaseLock()}}class i{updateConfig(e,t){this.baseUrl=e,this.token=t}streamMessage(e,t,s,a){let r=new AbortController;return(async()=>{var l,i,c,o,d,h;try{let h=await fetch("".concat(this.baseUrl,"/api/message"),{method:"POST",headers:{"Content-Type":"application/json",...this.token?{Authorization:"Bearer ".concat(this.token)}:{}},body:JSON.stringify({text:e,chatId:t,userId:s}),signal:r.signal});if(!h.ok)return void a.onError("HTTP ".concat(h.status,": ").concat(h.statusText));for await(let{event:e,data:t}of n(h))try{let s=JSON.parse(t);switch(e){case"status":a.onStatus(null!=(i=null!=(l=s.text)?l:s.status)?i:t);break;case"response":a.onResponse(null!=(c=s.text)?c:t);break;case"attachment":a.onAttachment(s);break;case"done":a.onDone();break;case"error":a.onError(null!=(d=null!=(o=s.error)?o:s.message)?d:t)}}catch(s){"response"===e?a.onResponse(t):"error"===e&&a.onError(t)}a.onDone()}catch(e){"AbortError"!==e.name&&a.onError(null!=(h=e.message)?h:"Connection failed")}})(),()=>r.abort()}async fetchDashboard(){let e=await fetch("".concat(this.baseUrl,"/api/dashboard"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Dashboard: HTTP ".concat(e.status));return e.json()}async fetchHealth(){let e=await fetch("".concat(this.baseUrl,"/api/health"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Health: HTTP ".concat(e.status));return e.json()}constructor(e,t){this.baseUrl=e,this.token=t}}let c={apiUrl:null!=(a=s(1756).env.NEXT_PUBLIC_ALFRED_API_URL)?a:"",apiToken:""},o=(0,l.createContext)(null);function d(e){let{children:t}=e,[s,a]=(0,l.useState)(c),[n]=(0,l.useState)(()=>new i(c.apiUrl,c.apiToken));return(0,l.useEffect)(()=>{try{let e=localStorage.getItem("alfred-config");if(e){let t=JSON.parse(e);a(t),n.updateConfig(t.apiUrl,t.apiToken)}}catch(e){}},[n]),(0,r.jsx)(o.Provider,{value:{config:s,setConfig:e=>{a(e),n.updateConfig(e.apiUrl,e.apiToken),localStorage.setItem("alfred-config",JSON.stringify(e))},client:n},children:t})}function h(){let e=(0,l.useContext)(o);if(!e)throw Error("useConfig must be used within ConfigProvider");return e}},9772:(e,t,s)=>{"use strict";s.d(t,{DashboardPage:()=>i});var a=s(8111),r=s(5271),l=s(8719),n=s(5242);function i(){let{data:e,loading:t,error:s,refresh:i}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,{client:t}=(0,l.U)(),[s,a]=(0,r.useState)(null),[n,i]=(0,r.useState)(!0),[c,o]=(0,r.useState)(null),d=(0,r.useCallback)(async()=>{try{let e=await t.fetchDashboard();a(e),o(null)}catch(e){o(e.message)}finally{i(!1)}},[t]);return(0,r.useEffect)(()=>{d();let t=setInterval(d,e);return()=>clearInterval(t)},[d,e]),{data:s,loading:n,error:c,refresh:d}}();return t?(0,a.jsx)("div",{className:"p-8 text-gray-400",children:"Laden..."}):s?(0,a.jsxs)("div",{className:"p-8 text-red-400",children:["Fehler: ",s]}):e?(0,a.jsxs)("div",{className:"p-6 max-w-6xl mx-auto space-y-8",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("h1",{className:"text-xl font-semibold text-gray-200",children:"Dashboard"}),(0,a.jsx)("button",{onClick:i,className:"text-sm text-blue-400 hover:text-blue-300",children:"Aktualisieren"})]}),(0,a.jsxs)("section",{children:[(0,a.jsxs)("h2",{className:"text-lg font-medium text-gray-300 mb-3",children:["Aktive Watches (",e.watches.length,")"]}),0===e.watches.length?(0,a.jsx)("p",{className:"text-gray-500 text-sm",children:"Keine aktiven Watches."}):(0,a.jsx)("div",{className:"grid gap-3 grid-cols-1 md:grid-cols-2 lg:grid-cols-3",children:e.watches.map(e=>(0,a.jsxs)("div",{className:"bg-[#111111] border border-[#1f1f1f] rounded-xl p-4",children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,a.jsx)("h3",{className:"font-medium text-gray-200 text-sm",children:e.name}),(0,a.jsx)("span",{className:(0,n.A)("text-xs px-2 py-0.5 rounded-full",e.enabled?"bg-green-500/10 text-green-400":"bg-red-500/10 text-red-400"),children:e.enabled?"aktiv":"inaktiv"})]}),(0,a.jsxs)("p",{className:"text-xs text-gray-500 mb-1",children:["Skill: ",e.skillName," | alle ",e.intervalMinutes,"min"]}),e.lastValue&&(0,a.jsxs)("p",{className:"text-xs text-gray-400 truncate",children:["Letzter Wert: ",e.lastValue]}),e.lastTriggeredAt&&(0,a.jsxs)("p",{className:"text-xs text-gray-500",children:["Letzter Trigger: ",new Date(e.lastTriggeredAt).toLocaleString("de-AT")]})]},e.id))})]}),(0,a.jsxs)("section",{children:[(0,a.jsxs)("h2",{className:"text-lg font-medium text-gray-300 mb-3",children:["Geplante Tasks (",e.scheduled.length,")"]}),0===e.scheduled.length?(0,a.jsx)("p",{className:"text-gray-500 text-sm",children:"Keine geplanten Tasks."}):(0,a.jsx)("div",{className:"bg-[#111111] border border-[#1f1f1f] rounded-xl overflow-hidden",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"bg-[#0d0d0d] text-gray-400",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:"Name"}),(0,a.jsx)("th",{className:"text-left px-4 py-2 font-medium",children:"Schedule"}),(0,a.jsx)("th",{className:"text-left px-4 py-2 font-medium hidden md:table-cell",children:"N\xe4chste Ausf\xfchrung"})]})}),(0,a.jsx)("tbody",{children:e.scheduled.map(e=>(0,a.jsxs)("tr",{className:"border-t border-[#1f1f1f]",children:[(0,a.jsx)("td",{className:"px-4 py-2 text-gray-200",children:e.name}),(0,a.jsx)("td",{className:"px-4 py-2 text-gray-400 font-mono text-xs",children:e.scheduleValue}),(0,a.jsx)("td",{className:"px-4 py-2 text-gray-500 text-xs hidden md:table-cell",children:e.nextRunAt?new Date(e.nextRunAt).toLocaleString("de-AT"):"—"})]},e.id))})]})})]}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:"text-lg font-medium text-gray-300 mb-3",children:"Skill Health"}),0===e.skillHealth.length?(0,a.jsx)("p",{className:"text-gray-500 text-sm",children:"Keine Skill-Health-Daten."}):(0,a.jsx)("div",{className:"grid gap-3 grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:e.skillHealth.map(e=>{let t=e.disabledUntil?"red":e.consecutiveFails>=3?"amber":"green";return(0,a.jsxs)("div",{className:"bg-[#111111] border border-[#1f1f1f] rounded-xl p-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)("span",{className:(0,n.A)("w-2 h-2 rounded-full",{"bg-green-500":"green"===t,"bg-amber-500":"amber"===t,"bg-red-500":"red"===t})}),(0,a.jsx)("span",{className:"text-sm text-gray-200 font-mono",children:e.skillName})]}),(0,a.jsxs)("p",{className:"text-xs text-gray-500",children:[e.totalSuccesses,"x OK / ",e.totalFailures,"x Fehler"]}),e.disabledUntil&&(0,a.jsxs)("p",{className:"text-xs text-red-400 mt-1",children:["Deaktiviert bis ",new Date(e.disabledUntil).toLocaleTimeString("de-AT")]}),e.lastError&&(0,a.jsx)("p",{className:"text-xs text-gray-500 truncate mt-1",title:e.lastError,children:e.lastError})]},e.skillName)})})]})]}):null}}},e=>{e.O(0,[814,743,358],()=>e(e.s=5224)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{706:(e,t)=>{"use strict";function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(r,n(e));else t.set(r,n(o));return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},1510:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,9469,23)),Promise.resolve().then(r.bind(r,7946)),Promise.resolve().then(r.bind(r,8719))},2823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(5271);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5073:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},5242:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}},5935:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return b},useLinkStatus:function(){return m}});let n=r(4284),o=r(8111),a=n._(r(5271)),s=r(9642),i=r(5911),u=r(2823),l=r(7076),c=r(3790);r(4209);let f=r(7335),d=r(7843),p=r(587);r(5073);let h=r(5564);function g(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function b(e){var t;let r,n,s,[b,m]=(0,a.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,a.useRef)(null),{href:x,as:P,children:j,prefetch:_=null,passHref:E,replace:k,shallow:N,scroll:O,onClick:T,onMouseEnter:C,onTouchStart:S,legacyBehavior:A=!1,onNavigate:w,ref:U,unstable_dynamicOnHover:R,...L}=e;r=j,A&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=a.default.useContext(i.AppRouterContext),M=!1!==_,D=!1!==_?null===(t=_)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:F,as:B}=a.default.useMemo(()=>{let e=g(x);return{href:e,as:P?g(P):e}},[x,P]);A&&(n=a.default.Children.only(r));let z=A?n&&"object"==typeof n&&n.ref:U,K=a.default.useCallback(e=>(null!==I&&(v.current=(0,f.mountLinkInstance)(e,F,I,D,M,m)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[M,F,I,D,m]),H={ref:(0,u.useMergedRef)(K,z),onClick(e){A||"function"!=typeof T||T(e),A&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),I&&(e.defaultPrevented||function(e,t,r,n,o,s,i){let{nodeName:u}=e.currentTarget;if(!("A"===u.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}a.default.startTransition(()=>{(0,p.dispatchNavigateAction)(r||t,o?"replace":"push",null==s||s,n.current)})}}(e,F,B,v,k,O,w))},onMouseEnter(e){A||"function"!=typeof C||C(e),A&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&M&&(0,f.onNavigationIntent)(e.currentTarget,!0===R)},onTouchStart:function(e){A||"function"!=typeof S||S(e),A&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&M&&(0,f.onNavigationIntent)(e.currentTarget,!0===R)}};return(0,l.isAbsoluteUrl)(B)?H.href=B:A&&!E&&("a"!==n.type||"href"in n.props)||(H.href=(0,c.addBasePath)(B)),s=A?a.default.cloneElement(n,H):(0,o.jsx)("a",{...L,...H,children:r}),(0,o.jsx)(y.Provider,{value:b,children:s})}let y=(0,a.createContext)(f.IDLE_LINK_STATUS),m=()=>(0,a.useContext)(y);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return m},MissingStaticPage:function(){return y},NormalizeError:function(){return g},PageNotFoundError:function(){return b},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return u},getLocationOrigin:function(){return s},getURL:function(){return i},isAbsoluteUrl:function(){return a},isResSent:function(){return l},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>o.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function i(){let{href:e}=window.location,t=s();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&l(r))return n;if(!n)throw Object.defineProperty(Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class g extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class m extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},7843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(7076),o=r(3506);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},7946:(e,t,r)=>{"use strict";r.d(t,{Sidebar:()=>l});var n=r(8111),o=r(5935),a=r.n(o),s=r(1504),i=r(5242);let u=[{href:"/chat",label:"Chat",icon:"\uD83D\uDCAC"},{href:"/dashboard",label:"Dashboard",icon:"\uD83D\uDCCA"},{href:"/settings",label:"Settings",icon:"⚙️"}];function l(){let e=(0,s.usePathname)();return(0,n.jsxs)("aside",{className:"w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full",children:[(0,n.jsx)("div",{className:"p-4 border-b border-[#1f1f1f]",children:(0,n.jsxs)(a(),{href:"/",className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"text-xl font-bold text-blue-500 font-mono",children:"A"}),(0,n.jsx)("span",{className:"hidden md:inline text-sm font-semibold text-gray-200",children:"Alfred"})]})}),(0,n.jsx)("nav",{className:"flex-1 p-2 space-y-1",children:u.map(t=>{let{href:r,label:o,icon:s}=t;return(0,n.jsxs)(a(),{href:r,className:(0,i.A)("flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors",(null==e?void 0:e.startsWith(r))?"bg-blue-500/10 text-blue-400":"text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200"),children:[(0,n.jsx)("span",{children:s}),(0,n.jsx)("span",{className:"hidden md:inline",children:o})]},r)})}),(0,n.jsx)("div",{className:"p-4 border-t border-[#1f1f1f]",children:(0,n.jsx)("a",{href:"https://github.com/madh99/alfred-ai",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-gray-500 hover:text-gray-400 hidden md:block",children:"GitHub"})})]})}},8719:(e,t,r)=>{"use strict";r.d(t,{ConfigProvider:()=>c,U:()=>f});var n,o=r(8111),a=r(5271);async function*s(e){var t,r;let n=null==(t=e.body)?void 0:t.getReader();if(!n)return;let o=new TextDecoder,a="",s="",i="";try{for(;;){let{done:e,value:t}=await n.read();if(e)break;let u=(a+=o.decode(t,{stream:!0})).split("\n");for(let e of(a=null!=(r=u.pop())?r:"",u))e.startsWith("event: ")?s=e.slice(7).trim():e.startsWith("data: ")?i+=(i?"\n":"")+e.slice(6):""===e&&(s&&i&&(yield{event:s,data:i}),s="",i="")}s&&i&&(yield{event:s,data:i})}finally{n.releaseLock()}}class i{updateConfig(e,t){this.baseUrl=e,this.token=t}streamMessage(e,t,r,n){let o=new AbortController;return(async()=>{var a,i,u,l,c,f;try{let f=await fetch("".concat(this.baseUrl,"/api/message"),{method:"POST",headers:{"Content-Type":"application/json",...this.token?{Authorization:"Bearer ".concat(this.token)}:{}},body:JSON.stringify({text:e,chatId:t,userId:r}),signal:o.signal});if(!f.ok)return void n.onError("HTTP ".concat(f.status,": ").concat(f.statusText));for await(let{event:e,data:t}of s(f))try{let r=JSON.parse(t);switch(e){case"status":n.onStatus(null!=(i=null!=(a=r.text)?a:r.status)?i:t);break;case"response":n.onResponse(null!=(u=r.text)?u:t);break;case"attachment":n.onAttachment(r);break;case"done":n.onDone();break;case"error":n.onError(null!=(c=null!=(l=r.error)?l:r.message)?c:t)}}catch(r){"response"===e?n.onResponse(t):"error"===e&&n.onError(t)}n.onDone()}catch(e){"AbortError"!==e.name&&n.onError(null!=(f=e.message)?f:"Connection failed")}})(),()=>o.abort()}async fetchDashboard(){let e=await fetch("".concat(this.baseUrl,"/api/dashboard"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Dashboard: HTTP ".concat(e.status));return e.json()}async fetchHealth(){let e=await fetch("".concat(this.baseUrl,"/api/health"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Health: HTTP ".concat(e.status));return e.json()}constructor(e,t){this.baseUrl=e,this.token=t}}let u={apiUrl:null!=(n=r(1756).env.NEXT_PUBLIC_ALFRED_API_URL)?n:"",apiToken:""},l=(0,a.createContext)(null);function c(e){let{children:t}=e,[r,n]=(0,a.useState)(u),[s]=(0,a.useState)(()=>new i(u.apiUrl,u.apiToken));return(0,a.useEffect)(()=>{try{let e=localStorage.getItem("alfred-config");if(e){let t=JSON.parse(e);n(t),s.updateConfig(t.apiUrl,t.apiToken)}}catch(e){}},[s]),(0,o.jsx)(l.Provider,{value:{config:r,setConfig:e=>{n(e),s.updateConfig(e.apiUrl,e.apiToken),localStorage.setItem("alfred-config",JSON.stringify(e))},client:s},children:t})}function f(){let e=(0,a.useContext)(l);if(!e)throw Error("useConfig must be used within ConfigProvider");return e}},9469:()=>{},9642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return i},urlObjectKeys:function(){return s}});let n=r(4284)._(r(706)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",s=e.pathname||"",i=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(n.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==l?(l="//"+(l||""),s&&"/"!==s[0]&&(s="/"+s)):l||(l=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),""+a+l+(s=s.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+i}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function i(e){return a(e)}}},e=>{e.O(0,[506,814,743,358],()=>e(e.s=1510)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[662],{1735:(e,t,a)=>{Promise.resolve().then(a.bind(a,8171))},8171:(e,t,a)=>{"use strict";a.d(t,{SettingsPage:()=>n});var r=a(8111),s=a(5271),o=a(8719);function n(){let{config:e,setConfig:t,client:a}=(0,o.U)(),[n,l]=(0,s.useState)(e.apiUrl),[i,c]=(0,s.useState)(e.apiToken),[d,u]=(0,s.useState)("idle"),[h,p]=(0,s.useState)(!1);(0,s.useEffect)(()=>{l(e.apiUrl),c(e.apiToken)},[e]);let b=async()=>{u("testing");try{await a.fetchHealth(),u("ok")}catch(e){u("error")}setTimeout(()=>u("idle"),3e3)};return(0,r.jsxs)("div",{className:"p-6 max-w-2xl mx-auto",children:[(0,r.jsx)("h1",{className:"text-xl font-semibold text-gray-200 mb-6",children:"Einstellungen"}),(0,r.jsxs)("div",{className:"bg-[#111111] border border-[#1f1f1f] rounded-xl p-6 space-y-5",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm text-gray-400 mb-1",children:"Alfred API URL"}),(0,r.jsx)("input",{type:"text",value:n,onChange:e=>l(e.target.value),placeholder:"http://localhost:3420",className:"w-full bg-[#0d0d0d] border border-[#2a2a2a] rounded-lg px-4 py-2.5 text-sm text-gray-200 focus:outline-none focus:border-blue-500"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm text-gray-400 mb-1",children:"API Token"}),(0,r.jsx)("input",{type:"password",value:i,onChange:e=>c(e.target.value),placeholder:"Optional — Bearer Token",className:"w-full bg-[#0d0d0d] border border-[#2a2a2a] rounded-lg px-4 py-2.5 text-sm text-gray-200 focus:outline-none focus:border-blue-500"})]}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)("button",{onClick:()=>{t({apiUrl:n,apiToken:i}),p(!0),setTimeout(()=>p(!1),2e3)},className:"bg-blue-600 hover:bg-blue-700 text-white rounded-lg px-5 py-2.5 text-sm font-medium transition-colors",children:h?"Gespeichert!":"Speichern"}),(0,r.jsx)("button",{onClick:b,disabled:"testing"===d,className:"bg-[#1a1a1a] border border-[#2a2a2a] hover:bg-[#222] text-gray-300 rounded-lg px-5 py-2.5 text-sm transition-colors disabled:opacity-50",children:"testing"===d?"Teste...":"ok"===d?"Verbunden!":"error"===d?"Fehler!":"Verbindung testen"})]})]}),(0,r.jsx)("p",{className:"text-xs text-gray-600 mt-4",children:"Konfiguration wird in deinem Browser (localStorage) gespeichert. Token wird nie an Dritte gesendet."})]})}},8719:(e,t,a)=>{"use strict";a.d(t,{ConfigProvider:()=>d,U:()=>u});var r,s=a(8111),o=a(5271);async function*n(e){var t,a;let r=null==(t=e.body)?void 0:t.getReader();if(!r)return;let s=new TextDecoder,o="",n="",l="";try{for(;;){let{done:e,value:t}=await r.read();if(e)break;let i=(o+=s.decode(t,{stream:!0})).split("\n");for(let e of(o=null!=(a=i.pop())?a:"",i))e.startsWith("event: ")?n=e.slice(7).trim():e.startsWith("data: ")?l+=(l?"\n":"")+e.slice(6):""===e&&(n&&l&&(yield{event:n,data:l}),n="",l="")}n&&l&&(yield{event:n,data:l})}finally{r.releaseLock()}}class l{updateConfig(e,t){this.baseUrl=e,this.token=t}streamMessage(e,t,a,r){let s=new AbortController;return(async()=>{var o,l,i,c,d,u;try{let u=await fetch("".concat(this.baseUrl,"/api/message"),{method:"POST",headers:{"Content-Type":"application/json",...this.token?{Authorization:"Bearer ".concat(this.token)}:{}},body:JSON.stringify({text:e,chatId:t,userId:a}),signal:s.signal});if(!u.ok)return void r.onError("HTTP ".concat(u.status,": ").concat(u.statusText));for await(let{event:e,data:t}of n(u))try{let a=JSON.parse(t);switch(e){case"status":r.onStatus(null!=(l=null!=(o=a.text)?o:a.status)?l:t);break;case"response":r.onResponse(null!=(i=a.text)?i:t);break;case"attachment":r.onAttachment(a);break;case"done":r.onDone();break;case"error":r.onError(null!=(d=null!=(c=a.error)?c:a.message)?d:t)}}catch(a){"response"===e?r.onResponse(t):"error"===e&&r.onError(t)}r.onDone()}catch(e){"AbortError"!==e.name&&r.onError(null!=(u=e.message)?u:"Connection failed")}})(),()=>s.abort()}async fetchDashboard(){let e=await fetch("".concat(this.baseUrl,"/api/dashboard"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Dashboard: HTTP ".concat(e.status));return e.json()}async fetchHealth(){let e=await fetch("".concat(this.baseUrl,"/api/health"),{headers:this.token?{Authorization:"Bearer ".concat(this.token)}:{}});if(!e.ok)throw Error("Health: HTTP ".concat(e.status));return e.json()}constructor(e,t){this.baseUrl=e,this.token=t}}let i={apiUrl:null!=(r=a(1756).env.NEXT_PUBLIC_ALFRED_API_URL)?r:"",apiToken:""},c=(0,o.createContext)(null);function d(e){let{children:t}=e,[a,r]=(0,o.useState)(i),[n]=(0,o.useState)(()=>new l(i.apiUrl,i.apiToken));return(0,o.useEffect)(()=>{try{let e=localStorage.getItem("alfred-config");if(e){let t=JSON.parse(e);r(t),n.updateConfig(t.apiUrl,t.apiToken)}}catch(e){}},[n]),(0,s.jsx)(c.Provider,{value:{config:a,setConfig:e=>{r(e),n.updateConfig(e.apiUrl,e.apiToken),localStorage.setItem("alfred-config",JSON.stringify(e))},client:n},children:t})}function u(){let e=(0,o.useContext)(c);if(!e)throw Error("useConfig must be used within ConfigProvider");return e}}},e=>{e.O(0,[814,743,358],()=>e(e.s=1735)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--XtCz9Qzry4yFsJZBA0KIy--><html lang="de"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/alfred/_next/static/css/ab41d248afac9f33.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js"/><script src="/alfred/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/alfred/_next/static/chunks/743-05c790de389fcbe8.js" async=""></script><script src="/alfred/_next/static/chunks/main-app-bf91f7268c1fdab4.js" async=""></script><script src="/alfred/_next/static/chunks/app/layout-6dadba9fca11a234.js" async=""></script><script src="/alfred/_next/static/chunks/188-dca4c90c7e992695.js" async=""></script><script src="/alfred/_next/static/chunks/624-ceaac8eaf54e1066.js" async=""></script><script src="/alfred/_next/static/chunks/app/chat/page-62b98eb665eb19d4.js" async=""></script><title>Alfred AI</title><meta name="description" content="Self-hosted AI Assistant"/><script src="/alfred/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-full"><aside class="w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full"><div class="p-4 border-b border-[#1f1f1f]"><a class="flex items-center gap-2" href="/alfred/"><span class="text-xl font-bold text-blue-500 font-mono">A</span><span class="hidden md:inline text-sm font-semibold text-gray-200">Alfred</span></a></div><nav class="flex-1 p-2 space-y-1"><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors bg-blue-500/10 text-blue-400" href="/alfred/chat/"><span>💬</span><span class="hidden md:inline">Chat</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/dashboard/"><span>📊</span><span class="hidden md:inline">Dashboard</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/settings/"><span>⚙️</span><span class="hidden md:inline">Settings</span></a></nav><div class="p-4 border-t border-[#1f1f1f]"><a href="https://github.com/madh99/alfred-ai" target="_blank" rel="noopener noreferrer" class="text-xs text-gray-500 hover:text-gray-400 hidden md:block">GitHub</a></div></aside><main class="flex-1 overflow-hidden"><div class="flex flex-col h-full"><div class="flex-1 overflow-y-auto p-4"><div class="max-w-4xl mx-auto"><div class="text-center text-gray-500 mt-20"><p class="text-4xl mb-4 font-mono font-bold text-blue-500">Alfred</p><p class="text-sm">Self-hosted AI Assistant</p><p class="text-xs mt-2 text-gray-600">Stelle eine Frage oder gib einen Befehl ein.</p></div></div></div><div class="border-t border-[#1f1f1f] bg-[#111111] p-4"><div class="flex gap-3 max-w-4xl mx-auto"><textarea placeholder="Nachricht an Alfred..." rows="1" class="flex-1 bg-[#1a1a1a] text-gray-200 border border-[#2a2a2a] rounded-xl px-4 py-3 text-sm resize-none focus:outline-none focus:border-blue-500 placeholder-gray-500 disabled:opacity-50"></textarea><button disabled="" class="bg-blue-600 hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed text-white rounded-xl px-5 py-3 text-sm font-medium transition-colors">Senden</button></div></div></div><!--$--><!--/$--></main></div><script src="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8719,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"ConfigProvider\"]\n3:I[7946,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"Sidebar\"]\n4:I[8954,[],\"\"]\n5:I[5640,[],\"\"]\n6:I[1740,[\"188\",\"static/chunks/188-dca4c90c7e992695.js\",\"624\",\"static/chunks/624-ceaac8eaf54e1066.js\",\"457\",\"static/chunks/app/chat/page-62b98eb665eb19d4.js\"],\"ChatPage\"]\n7:I[2051,[],\"OutletBoundary\"]\n9:I[6658,[],\"AsyncMetadataOutlet\"]\nb:I[2051,[],\"ViewportBoundary\"]\nd:I[2051,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[7698,[],\"\"]\n:HL[\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XtCz9Qzry4yFsJZBA0KIy\",\"p\":\"/alfred\",\"c\":[\"\",\"chat\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"de\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]}]]}],{\"children\":[\"chat\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{}],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],null],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Alfred AI\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Self-hosted AI Assistant\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[8719,["177","static/chunks/app/layout-
|
|
3
|
-
3:I[7946,["177","static/chunks/app/layout-
|
|
2
|
+
2:I[8719,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"ConfigProvider"]
|
|
3
|
+
3:I[7946,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"Sidebar"]
|
|
4
4
|
4:I[8954,[],""]
|
|
5
5
|
5:I[5640,[],""]
|
|
6
|
-
6:I[1740,["188","static/chunks/188-dca4c90c7e992695.js","624","static/chunks/624-
|
|
6
|
+
6:I[1740,["188","static/chunks/188-dca4c90c7e992695.js","624","static/chunks/624-ceaac8eaf54e1066.js","457","static/chunks/app/chat/page-62b98eb665eb19d4.js"],"ChatPage"]
|
|
7
7
|
7:I[2051,[],"OutletBoundary"]
|
|
8
8
|
9:I[6658,[],"AsyncMetadataOutlet"]
|
|
9
9
|
b:I[2051,[],"ViewportBoundary"]
|
|
@@ -11,7 +11,7 @@ d:I[2051,[],"MetadataBoundary"]
|
|
|
11
11
|
e:"$Sreact.suspense"
|
|
12
12
|
10:I[7698,[],""]
|
|
13
13
|
:HL["/alfred/_next/static/css/ab41d248afac9f33.css","style"]
|
|
14
|
-
0:{"P":null,"b":"
|
|
14
|
+
0:{"P":null,"b":"XtCz9Qzry4yFsJZBA0KIy","p":"/alfred","c":["","chat",""],"i":false,"f":[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/alfred/_next/static/css/ab41d248afac9f33.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"de","children":["$","body",null,{"className":"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden","children":["$","$L2",null,{"children":["$","div",null,{"className":"flex h-full","children":[["$","$L3",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]}]]}],{"children":["chat",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L6",null,{}],null,["$","$L7",null,{"children":["$L8",["$","$L9",null,{"promise":"$@a"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lb",null,{"children":"$Lc"}],null],["$","$Ld",null,{"children":["$","div",null,{"hidden":true,"children":["$","$e",null,{"fallback":null,"children":"$Lf"}]}]}]]}],false]],"m":"$undefined","G":["$10",[]],"s":false,"S":true}
|
|
15
15
|
c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
16
16
|
8:null
|
|
17
17
|
a:{"metadata":[["$","title","0",{"children":"Alfred AI"}],["$","meta","1",{"name":"description","content":"Self-hosted AI Assistant"}]],"error":null,"digest":"$undefined"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--XtCz9Qzry4yFsJZBA0KIy--><html lang="de"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/alfred/_next/static/css/ab41d248afac9f33.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js"/><script src="/alfred/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/alfred/_next/static/chunks/743-05c790de389fcbe8.js" async=""></script><script src="/alfred/_next/static/chunks/main-app-bf91f7268c1fdab4.js" async=""></script><script src="/alfred/_next/static/chunks/app/layout-6dadba9fca11a234.js" async=""></script><script src="/alfred/_next/static/chunks/app/dashboard/page-56489ea908a20760.js" async=""></script><title>Alfred AI</title><meta name="description" content="Self-hosted AI Assistant"/><script src="/alfred/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-full"><aside class="w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full"><div class="p-4 border-b border-[#1f1f1f]"><a class="flex items-center gap-2" href="/alfred/"><span class="text-xl font-bold text-blue-500 font-mono">A</span><span class="hidden md:inline text-sm font-semibold text-gray-200">Alfred</span></a></div><nav class="flex-1 p-2 space-y-1"><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/chat/"><span>💬</span><span class="hidden md:inline">Chat</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors bg-blue-500/10 text-blue-400" href="/alfred/dashboard/"><span>📊</span><span class="hidden md:inline">Dashboard</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/settings/"><span>⚙️</span><span class="hidden md:inline">Settings</span></a></nav><div class="p-4 border-t border-[#1f1f1f]"><a href="https://github.com/madh99/alfred-ai" target="_blank" rel="noopener noreferrer" class="text-xs text-gray-500 hover:text-gray-400 hidden md:block">GitHub</a></div></aside><main class="flex-1 overflow-hidden"><div class="p-8 text-gray-400">Laden...</div><!--$--><!--/$--></main></div><script src="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8719,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"ConfigProvider\"]\n3:I[7946,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"Sidebar\"]\n4:I[8954,[],\"\"]\n5:I[5640,[],\"\"]\n6:I[9772,[\"105\",\"static/chunks/app/dashboard/page-56489ea908a20760.js\"],\"DashboardPage\"]\n7:I[2051,[],\"OutletBoundary\"]\n9:I[6658,[],\"AsyncMetadataOutlet\"]\nb:I[2051,[],\"ViewportBoundary\"]\nd:I[2051,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[7698,[],\"\"]\n:HL[\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XtCz9Qzry4yFsJZBA0KIy\",\"p\":\"/alfred\",\"c\":[\"\",\"dashboard\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"dashboard\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"de\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]}]]}],{\"children\":[\"dashboard\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{}],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],null],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Alfred AI\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Self-hosted AI Assistant\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[8719,["177","static/chunks/app/layout-
|
|
3
|
-
3:I[7946,["177","static/chunks/app/layout-
|
|
2
|
+
2:I[8719,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"ConfigProvider"]
|
|
3
|
+
3:I[7946,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"Sidebar"]
|
|
4
4
|
4:I[8954,[],""]
|
|
5
5
|
5:I[5640,[],""]
|
|
6
|
-
6:I[9772,["105","static/chunks/app/dashboard/page-
|
|
6
|
+
6:I[9772,["105","static/chunks/app/dashboard/page-56489ea908a20760.js"],"DashboardPage"]
|
|
7
7
|
7:I[2051,[],"OutletBoundary"]
|
|
8
8
|
9:I[6658,[],"AsyncMetadataOutlet"]
|
|
9
9
|
b:I[2051,[],"ViewportBoundary"]
|
|
@@ -11,7 +11,7 @@ d:I[2051,[],"MetadataBoundary"]
|
|
|
11
11
|
e:"$Sreact.suspense"
|
|
12
12
|
10:I[7698,[],""]
|
|
13
13
|
:HL["/alfred/_next/static/css/ab41d248afac9f33.css","style"]
|
|
14
|
-
0:{"P":null,"b":"
|
|
14
|
+
0:{"P":null,"b":"XtCz9Qzry4yFsJZBA0KIy","p":"/alfred","c":["","dashboard",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/alfred/_next/static/css/ab41d248afac9f33.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"de","children":["$","body",null,{"className":"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden","children":["$","$L2",null,{"children":["$","div",null,{"className":"flex h-full","children":[["$","$L3",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L6",null,{}],null,["$","$L7",null,{"children":["$L8",["$","$L9",null,{"promise":"$@a"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lb",null,{"children":"$Lc"}],null],["$","$Ld",null,{"children":["$","div",null,{"hidden":true,"children":["$","$e",null,{"fallback":null,"children":"$Lf"}]}]}]]}],false]],"m":"$undefined","G":["$10",[]],"s":false,"S":true}
|
|
15
15
|
c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
16
16
|
8:null
|
|
17
17
|
a:{"metadata":[["$","title","0",{"children":"Alfred AI"}],["$","meta","1",{"name":"description","content":"Self-hosted AI Assistant"}]],"error":null,"digest":"$undefined"}
|
package/bundle/web-ui/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--XtCz9Qzry4yFsJZBA0KIy--><html lang="de"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/alfred/_next/static/css/ab41d248afac9f33.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js"/><script src="/alfred/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/alfred/_next/static/chunks/743-05c790de389fcbe8.js" async=""></script><script src="/alfred/_next/static/chunks/main-app-bf91f7268c1fdab4.js" async=""></script><script src="/alfred/_next/static/chunks/app/layout-6dadba9fca11a234.js" async=""></script><script src="/alfred/_next/static/chunks/188-dca4c90c7e992695.js" async=""></script><script src="/alfred/_next/static/chunks/624-ceaac8eaf54e1066.js" async=""></script><script src="/alfred/_next/static/chunks/app/page-291dc9884a6d63cc.js" async=""></script><title>Alfred AI</title><meta name="description" content="Self-hosted AI Assistant"/><script src="/alfred/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-full"><aside class="w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full"><div class="p-4 border-b border-[#1f1f1f]"><a class="flex items-center gap-2" href="/alfred/"><span class="text-xl font-bold text-blue-500 font-mono">A</span><span class="hidden md:inline text-sm font-semibold text-gray-200">Alfred</span></a></div><nav class="flex-1 p-2 space-y-1"><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/chat/"><span>💬</span><span class="hidden md:inline">Chat</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/dashboard/"><span>📊</span><span class="hidden md:inline">Dashboard</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/settings/"><span>⚙️</span><span class="hidden md:inline">Settings</span></a></nav><div class="p-4 border-t border-[#1f1f1f]"><a href="https://github.com/madh99/alfred-ai" target="_blank" rel="noopener noreferrer" class="text-xs text-gray-500 hover:text-gray-400 hidden md:block">GitHub</a></div></aside><main class="flex-1 overflow-hidden"><div class="flex flex-col h-full"><div class="flex-1 overflow-y-auto p-4"><div class="max-w-4xl mx-auto"><div class="text-center text-gray-500 mt-20"><p class="text-4xl mb-4 font-mono font-bold text-blue-500">Alfred</p><p class="text-sm">Self-hosted AI Assistant</p><p class="text-xs mt-2 text-gray-600">Stelle eine Frage oder gib einen Befehl ein.</p></div></div></div><div class="border-t border-[#1f1f1f] bg-[#111111] p-4"><div class="flex gap-3 max-w-4xl mx-auto"><textarea placeholder="Nachricht an Alfred..." rows="1" class="flex-1 bg-[#1a1a1a] text-gray-200 border border-[#2a2a2a] rounded-xl px-4 py-3 text-sm resize-none focus:outline-none focus:border-blue-500 placeholder-gray-500 disabled:opacity-50"></textarea><button disabled="" class="bg-blue-600 hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed text-white rounded-xl px-5 py-3 text-sm font-medium transition-colors">Senden</button></div></div></div><!--$--><!--/$--></main></div><script src="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8719,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"ConfigProvider\"]\n3:I[7946,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"Sidebar\"]\n4:I[8954,[],\"\"]\n5:I[5640,[],\"\"]\n6:I[1740,[\"188\",\"static/chunks/188-dca4c90c7e992695.js\",\"624\",\"static/chunks/624-ceaac8eaf54e1066.js\",\"974\",\"static/chunks/app/page-291dc9884a6d63cc.js\"],\"ChatPage\"]\n7:I[2051,[],\"OutletBoundary\"]\n9:I[6658,[],\"AsyncMetadataOutlet\"]\nb:I[2051,[],\"ViewportBoundary\"]\nd:I[2051,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[7698,[],\"\"]\n:HL[\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XtCz9Qzry4yFsJZBA0KIy\",\"p\":\"/alfred\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"de\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{}],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],null],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Alfred AI\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Self-hosted AI Assistant\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
|
package/bundle/web-ui/index.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[8719,["177","static/chunks/app/layout-
|
|
3
|
-
3:I[7946,["177","static/chunks/app/layout-
|
|
2
|
+
2:I[8719,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"ConfigProvider"]
|
|
3
|
+
3:I[7946,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"Sidebar"]
|
|
4
4
|
4:I[8954,[],""]
|
|
5
5
|
5:I[5640,[],""]
|
|
6
|
-
6:I[1740,["188","static/chunks/188-dca4c90c7e992695.js","624","static/chunks/624-
|
|
6
|
+
6:I[1740,["188","static/chunks/188-dca4c90c7e992695.js","624","static/chunks/624-ceaac8eaf54e1066.js","974","static/chunks/app/page-291dc9884a6d63cc.js"],"ChatPage"]
|
|
7
7
|
7:I[2051,[],"OutletBoundary"]
|
|
8
8
|
9:I[6658,[],"AsyncMetadataOutlet"]
|
|
9
9
|
b:I[2051,[],"ViewportBoundary"]
|
|
@@ -11,7 +11,7 @@ d:I[2051,[],"MetadataBoundary"]
|
|
|
11
11
|
e:"$Sreact.suspense"
|
|
12
12
|
10:I[7698,[],""]
|
|
13
13
|
:HL["/alfred/_next/static/css/ab41d248afac9f33.css","style"]
|
|
14
|
-
0:{"P":null,"b":"
|
|
14
|
+
0:{"P":null,"b":"XtCz9Qzry4yFsJZBA0KIy","p":"/alfred","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/alfred/_next/static/css/ab41d248afac9f33.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"de","children":["$","body",null,{"className":"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden","children":["$","$L2",null,{"children":["$","div",null,{"className":"flex h-full","children":[["$","$L3",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L6",null,{}],null,["$","$L7",null,{"children":["$L8",["$","$L9",null,{"promise":"$@a"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lb",null,{"children":"$Lc"}],null],["$","$Ld",null,{"children":["$","div",null,{"hidden":true,"children":["$","$e",null,{"fallback":null,"children":"$Lf"}]}]}]]}],false]],"m":"$undefined","G":["$10",[]],"s":false,"S":true}
|
|
15
15
|
c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
16
16
|
8:null
|
|
17
17
|
a:{"metadata":[["$","title","0",{"children":"Alfred AI"}],["$","meta","1",{"name":"description","content":"Self-hosted AI Assistant"}]],"error":null,"digest":"$undefined"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--XtCz9Qzry4yFsJZBA0KIy--><html lang="de"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/alfred/_next/static/css/ab41d248afac9f33.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js"/><script src="/alfred/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/alfred/_next/static/chunks/743-05c790de389fcbe8.js" async=""></script><script src="/alfred/_next/static/chunks/main-app-bf91f7268c1fdab4.js" async=""></script><script src="/alfred/_next/static/chunks/app/layout-6dadba9fca11a234.js" async=""></script><script src="/alfred/_next/static/chunks/app/settings/page-6cea9fa8997a3a59.js" async=""></script><title>Alfred AI</title><meta name="description" content="Self-hosted AI Assistant"/><script src="/alfred/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden"><div hidden=""><!--$--><!--/$--></div><div class="flex h-full"><aside class="w-16 md:w-56 bg-[#111111] border-r border-[#1f1f1f] flex flex-col h-full"><div class="p-4 border-b border-[#1f1f1f]"><a class="flex items-center gap-2" href="/alfred/"><span class="text-xl font-bold text-blue-500 font-mono">A</span><span class="hidden md:inline text-sm font-semibold text-gray-200">Alfred</span></a></div><nav class="flex-1 p-2 space-y-1"><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/chat/"><span>💬</span><span class="hidden md:inline">Chat</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors text-gray-400 hover:bg-[#1a1a1a] hover:text-gray-200" href="/alfred/dashboard/"><span>📊</span><span class="hidden md:inline">Dashboard</span></a><a class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors bg-blue-500/10 text-blue-400" href="/alfred/settings/"><span>⚙️</span><span class="hidden md:inline">Settings</span></a></nav><div class="p-4 border-t border-[#1f1f1f]"><a href="https://github.com/madh99/alfred-ai" target="_blank" rel="noopener noreferrer" class="text-xs text-gray-500 hover:text-gray-400 hidden md:block">GitHub</a></div></aside><main class="flex-1 overflow-hidden"><div class="p-6 max-w-2xl mx-auto"><h1 class="text-xl font-semibold text-gray-200 mb-6">Einstellungen</h1><div class="bg-[#111111] border border-[#1f1f1f] rounded-xl p-6 space-y-5"><div><label class="block text-sm text-gray-400 mb-1">Alfred API URL</label><input type="text" placeholder="http://localhost:3420" class="w-full bg-[#0d0d0d] border border-[#2a2a2a] rounded-lg px-4 py-2.5 text-sm text-gray-200 focus:outline-none focus:border-blue-500" value=""/></div><div><label class="block text-sm text-gray-400 mb-1">API Token</label><input type="password" placeholder="Optional — Bearer Token" class="w-full bg-[#0d0d0d] border border-[#2a2a2a] rounded-lg px-4 py-2.5 text-sm text-gray-200 focus:outline-none focus:border-blue-500" value=""/></div><div class="flex gap-3"><button class="bg-blue-600 hover:bg-blue-700 text-white rounded-lg px-5 py-2.5 text-sm font-medium transition-colors">Speichern</button><button class="bg-[#1a1a1a] border border-[#2a2a2a] hover:bg-[#222] text-gray-300 rounded-lg px-5 py-2.5 text-sm transition-colors disabled:opacity-50">Verbindung testen</button></div></div><p class="text-xs text-gray-600 mt-4">Konfiguration wird in deinem Browser (localStorage) gespeichert. Token wird nie an Dritte gesendet.</p></div><!--$--><!--/$--></main></div><script src="/alfred/_next/static/chunks/webpack-c9b0493bbc0341e8.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8719,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"ConfigProvider\"]\n3:I[7946,[\"177\",\"static/chunks/app/layout-6dadba9fca11a234.js\"],\"Sidebar\"]\n4:I[8954,[],\"\"]\n5:I[5640,[],\"\"]\n6:I[8171,[\"662\",\"static/chunks/app/settings/page-6cea9fa8997a3a59.js\"],\"SettingsPage\"]\n7:I[2051,[],\"OutletBoundary\"]\n9:I[6658,[],\"AsyncMetadataOutlet\"]\nb:I[2051,[],\"ViewportBoundary\"]\nd:I[2051,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[7698,[],\"\"]\n:HL[\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XtCz9Qzry4yFsJZBA0KIy\",\"p\":\"/alfred\",\"c\":[\"\",\"settings\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"settings\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/alfred/_next/static/css/ab41d248afac9f33.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"de\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]}]]}],{\"children\":[\"settings\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{}],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],null],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Alfred AI\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Self-hosted AI Assistant\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[8719,["177","static/chunks/app/layout-
|
|
3
|
-
3:I[7946,["177","static/chunks/app/layout-
|
|
2
|
+
2:I[8719,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"ConfigProvider"]
|
|
3
|
+
3:I[7946,["177","static/chunks/app/layout-6dadba9fca11a234.js"],"Sidebar"]
|
|
4
4
|
4:I[8954,[],""]
|
|
5
5
|
5:I[5640,[],""]
|
|
6
|
-
6:I[8171,["662","static/chunks/app/settings/page-
|
|
6
|
+
6:I[8171,["662","static/chunks/app/settings/page-6cea9fa8997a3a59.js"],"SettingsPage"]
|
|
7
7
|
7:I[2051,[],"OutletBoundary"]
|
|
8
8
|
9:I[6658,[],"AsyncMetadataOutlet"]
|
|
9
9
|
b:I[2051,[],"ViewportBoundary"]
|
|
@@ -11,7 +11,7 @@ d:I[2051,[],"MetadataBoundary"]
|
|
|
11
11
|
e:"$Sreact.suspense"
|
|
12
12
|
10:I[7698,[],""]
|
|
13
13
|
:HL["/alfred/_next/static/css/ab41d248afac9f33.css","style"]
|
|
14
|
-
0:{"P":null,"b":"
|
|
14
|
+
0:{"P":null,"b":"XtCz9Qzry4yFsJZBA0KIy","p":"/alfred","c":["","settings",""],"i":false,"f":[[["",{"children":["settings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/alfred/_next/static/css/ab41d248afac9f33.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"de","children":["$","body",null,{"className":"bg-[#0a0a0a] text-gray-200 h-screen overflow-hidden","children":["$","$L2",null,{"children":["$","div",null,{"className":"flex h-full","children":[["$","$L3",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L6",null,{}],null,["$","$L7",null,{"children":["$L8",["$","$L9",null,{"promise":"$@a"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lb",null,{"children":"$Lc"}],null],["$","$Ld",null,{"children":["$","div",null,{"hidden":true,"children":["$","$e",null,{"fallback":null,"children":"$Lf"}]}]}]]}],false]],"m":"$undefined","G":["$10",[]],"s":false,"S":true}
|
|
15
15
|
c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
16
16
|
8:null
|
|
17
17
|
a:{"metadata":[["$","title","0",{"children":"Alfred AI"}],["$","meta","1",{"name":"description","content":"Self-hosted AI Assistant"}]],"error":null,"digest":"$undefined"}
|