* hackathon: Refactor Jan into an Electron app * chore: correct NextJS export output path * chore: build electron app for all production targets * fix: correct assetPrefix for production build * chore: preferences shortcut * chore: refactor * chore: refactor into ts * feature/#52-compile-plugin-with-webpack * chore: introduce renderer <=> plugins <=> main invocation * chore: suppress errors - deprecate graphql & next-auth * chore: data plugin functions * add llm support Signed-off-by: James <james@jan.ai> * chore: update plugin * chore: introduce data-plugin * chore: plugin invokes main with args and synchronously * chore: install db plugin should setup db * feature: Data Driver Plugin - Load conversations and messages from data plugin * chore: store text message sent * chore: shared core services * feature: inference service * chore: conversations ordering * adding model management service Signed-off-by: James <james@jan.ai> * chore: strict type * feature: abstract plugin preferences * chore: abstract plugin preference * Revert "chore: strict type" This reverts commit 9be188d827a0b2e081e9e04b192c323799de5bb5. * chore: base-plugin styling * feature: create and delete conversation * chore: fix plugin search & clean messages * chore: typing indicator * chore: refactor useSendChatMessage * chore: persists inserted id to in-memory messages * chore: search conversation history * add delete and download model (#189) Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai> * chore: add empty state for conversation list * chore: prompt missing extension function & fix app crashes * chore: prompt user to install required plugins * chore: add launch background * chore: relaunch app on model downloaded * Jan app add installation instruction (#191) Co-authored-by: Hien To <> * Chore: rename folder web-client to app (#192) * Chore: rename folder web-client to app --------- Co-authored-by: Hien To <> * revert: add pre-install package * add progress for downloading model Signed-off-by: James <james@jan.ai> * feature: production bundle * add download progress Signed-off-by: James <james@jan.ai> * chore: add new chat function * fix: electron asar unpack modules & dynamic import * chore: fix unpack * chore: fix dev pack * Add instruction to build dmg file to README.md * init model dynamically Signed-off-by: James <james@jan.ai> --------- Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai> Co-authored-by: NamH <NamNh0122@gmail.com> Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com> Co-authored-by: Hien To <>
125 lines
8.8 KiB
XML
125 lines
8.8 KiB
XML
<svg width="85" height="87" viewBox="0 0 85 87" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="43.5" cy="45.25" r="41" fill="white"/>
|
|
<path d="M43.3304 19.5926L26.6012 24.1103C20.5331 25.749 17.952 30.284 19.5833 36.4198L25.1083 57.2011C26.7664 63.4374 31.2301 65.9838 37.2982 64.3451L54.0275 59.8273C60.1934 58.1622 62.696 53.7347 61.038 47.4983L55.513 26.717C53.8817 20.5812 49.4964 17.9275 43.3304 19.5926Z" fill="url(#paint0_linear_276_5117)"/>
|
|
<g filter="url(#filter0_f_276_5117)">
|
|
<rect width="26.883" height="22.6115" rx="11.3057" transform="matrix(-0.25694 -0.966427 0.965417 -0.26071 31.8828 57.0947)" fill="#37FF87" fill-opacity="0.5"/>
|
|
</g>
|
|
<g filter="url(#filter1_b_276_5117)">
|
|
<path d="M59.062 30.3457H41.7426C35.4605 30.3457 31.8027 34.0529 31.8027 40.4052V61.9195C31.8027 68.3759 35.4605 71.9998 41.7426 71.9998H59.062C65.4455 71.9998 68.9999 68.3759 68.9999 61.9195V40.4052C68.9999 34.0529 65.4455 30.3457 59.062 30.3457Z" fill="#90FFBC" fill-opacity="0.35"/>
|
|
<path d="M59.062 29.8457H41.7426C38.5032 29.8457 35.877 30.8035 34.0611 32.642C32.2461 34.4796 31.3027 37.1342 31.3027 40.4052V61.9195C31.3027 65.2406 32.245 67.9018 34.0619 69.7329C35.8793 71.5645 38.5063 72.4998 41.7426 72.4998H59.062C62.3471 72.4998 64.9754 71.5655 66.781 69.7316C68.5855 67.8988 69.4999 65.2368 69.4999 61.9195V40.4052C69.4999 37.1379 68.5844 34.4827 66.7818 32.6434C64.9777 30.8025 62.3502 29.8457 59.062 29.8457Z" stroke="url(#paint1_linear_276_5117)" stroke-linecap="round" stroke-linejoin="round"/>
|
|
</g>
|
|
<g filter="url(#filter2_bd_276_5117)">
|
|
<rect x="37" y="37" width="12" height="12" rx="4" fill="url(#paint2_linear_276_5117)"/>
|
|
<rect x="37.2" y="37.2" width="11.6" height="11.6" rx="3.8" stroke="url(#paint3_linear_276_5117)" stroke-width="0.4"/>
|
|
</g>
|
|
<g filter="url(#filter3_bd_276_5117)">
|
|
<rect x="52" y="37" width="12" height="12" rx="4" fill="url(#paint4_linear_276_5117)"/>
|
|
<rect x="52.2" y="37.2" width="11.6" height="11.6" rx="3.8" stroke="url(#paint5_linear_276_5117)" stroke-width="0.4"/>
|
|
</g>
|
|
<g filter="url(#filter4_bd_276_5117)">
|
|
<rect x="37" y="53" width="12" height="12" rx="4" fill="url(#paint6_linear_276_5117)"/>
|
|
<rect x="37.2" y="53.2" width="11.6" height="11.6" rx="3.8" stroke="url(#paint7_linear_276_5117)" stroke-width="0.4"/>
|
|
</g>
|
|
<g filter="url(#filter5_bd_276_5117)">
|
|
<rect x="52" y="53" width="12" height="12" rx="4" fill="url(#paint8_linear_276_5117)"/>
|
|
<rect x="52.2" y="53.2" width="11.6" height="11.6" rx="3.8" stroke="url(#paint9_linear_276_5117)" stroke-width="0.4"/>
|
|
</g>
|
|
<defs>
|
|
<filter id="filter0_f_276_5117" x="0.497559" y="0.773438" width="77.6924" height="80.7676" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
<feGaussianBlur stdDeviation="13.5" result="effect1_foregroundBlur_276_5117"/>
|
|
</filter>
|
|
<filter id="filter1_b_276_5117" x="6.80273" y="5.3457" width="87.1973" height="91.6543" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feGaussianBlur in="BackgroundImageFix" stdDeviation="12"/>
|
|
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_276_5117"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect1_backgroundBlur_276_5117" result="shape"/>
|
|
</filter>
|
|
<filter id="filter2_bd_276_5117" x="22" y="22" width="42" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feGaussianBlur in="BackgroundImageFix" stdDeviation="7.5"/>
|
|
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_276_5117"/>
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
<feOffset dx="5" dy="5"/>
|
|
<feGaussianBlur stdDeviation="5"/>
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0.2225 0 0 0 0 0.741667 0 0 0 0 0.648217 0 0 0 0.5 0"/>
|
|
<feBlend mode="normal" in2="effect1_backgroundBlur_276_5117" result="effect2_dropShadow_276_5117"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_276_5117" result="shape"/>
|
|
</filter>
|
|
<filter id="filter3_bd_276_5117" x="37" y="22" width="42" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feGaussianBlur in="BackgroundImageFix" stdDeviation="7.5"/>
|
|
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_276_5117"/>
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
<feOffset dx="5" dy="5"/>
|
|
<feGaussianBlur stdDeviation="5"/>
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0.2225 0 0 0 0 0.741667 0 0 0 0 0.648217 0 0 0 0.5 0"/>
|
|
<feBlend mode="normal" in2="effect1_backgroundBlur_276_5117" result="effect2_dropShadow_276_5117"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_276_5117" result="shape"/>
|
|
</filter>
|
|
<filter id="filter4_bd_276_5117" x="22" y="38" width="42" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feGaussianBlur in="BackgroundImageFix" stdDeviation="7.5"/>
|
|
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_276_5117"/>
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
<feOffset dx="5" dy="5"/>
|
|
<feGaussianBlur stdDeviation="5"/>
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0.2225 0 0 0 0 0.741667 0 0 0 0 0.648217 0 0 0 0.5 0"/>
|
|
<feBlend mode="normal" in2="effect1_backgroundBlur_276_5117" result="effect2_dropShadow_276_5117"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_276_5117" result="shape"/>
|
|
</filter>
|
|
<filter id="filter5_bd_276_5117" x="37" y="38" width="42" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feGaussianBlur in="BackgroundImageFix" stdDeviation="7.5"/>
|
|
<feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_276_5117"/>
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
<feOffset dx="5" dy="5"/>
|
|
<feGaussianBlur stdDeviation="5"/>
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0.2225 0 0 0 0 0.741667 0 0 0 0 0.648217 0 0 0 0.5 0"/>
|
|
<feBlend mode="normal" in2="effect1_backgroundBlur_276_5117" result="effect2_dropShadow_276_5117"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_276_5117" result="shape"/>
|
|
</filter>
|
|
<linearGradient id="paint0_linear_276_5117" x1="34.9648" y1="21.8517" x2="45.8187" y2="62.0441" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#057055"/>
|
|
<stop offset="1" stop-color="#057055"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint1_linear_276_5117" x1="37.7239" y1="35.1985" x2="64.7677" y2="65.109" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.25"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint2_linear_276_5117" x1="48.1492" y1="39.167" x2="34.7823" y2="39.6028" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0.2"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint3_linear_276_5117" x1="38.9102" y1="38.398" x2="46.5649" y2="47.8786" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.25"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint4_linear_276_5117" x1="63.1492" y1="39.167" x2="49.7823" y2="39.6028" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0.2"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint5_linear_276_5117" x1="53.9102" y1="38.398" x2="61.5649" y2="47.8786" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.25"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint6_linear_276_5117" x1="48.1492" y1="55.167" x2="34.7823" y2="55.6028" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0.2"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint7_linear_276_5117" x1="38.9102" y1="54.398" x2="46.5649" y2="63.8786" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.25"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint8_linear_276_5117" x1="63.1492" y1="55.167" x2="49.7823" y2="55.6028" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0.2"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint9_linear_276_5117" x1="53.9102" y1="54.398" x2="61.5649" y2="63.8786" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.25"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|