* refactor: move Electron app to main directory and enforce ts strict mode * chore: add pre-install plugins * remove duplicated initModel function Signed-off-by: James <james@jan.ai> * chore: correct module path * fix: dynamic import does not work with ts * chore: web should be able to run on target host browser * fix: history panel, should display conversations rather just blank state * chore: init default model * chore: pluggin in ts * fix: pre-pack model management * fix: compiled core should not include plugins * chore: refactor - invoke plugin function * refactor download/delete file Signed-off-by: James <james@jan.ai> * update prebuild lib Signed-off-by: James <james@jan.ai> * chore: yarn workspace * chore: update yarn workspace * chore: yarn workspace with nohoist * fix: llama-cpp-import * chore: fix data-plugin wrong module path * chore: correct build step * chore: - separate inference service (#212) - remove base-plugin Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai> * chore: update core plugins * chore: hide installation prompt and fix model load - management plugin * chore: remove legacy files; update readme * fix: refresh page lost the download state Signed-off-by: James <james@jan.ai> * fix: ai prompt not passed to plugin Signed-off-by: James <james@jan.ai> * chore: module import fix for production * chore: auto updater * chore: package is public * chore: fix yarn workspace config * update: model management uses Q4_K_M * chore: fix yarn scripts for publishing * chore: app updater - progress update message * chore: user confirms update action * adding some state for changing page store downloaded model to database Signed-off-by: James <james@jan.ai> * chore: refactor plugins into yarn workspace - a single command to publish all base plugins * chore update readme (#218) Co-authored-by: Hien To <tominhhien97@gmail.com> * change app name and app icon Signed-off-by: James <james@jan.ai> * remove: go-to-nowhere actions * chore: bundle core plugins from root and scan default plugins * fix: app crashes on different field name lookup * chore: css fix * chore: bind download progress to app ui * chore: bind active model * chore: simplify app splash-screen only centered jan icon * feature: system monitoring plugin (#196) * feat: Add function for system monitoring * chore: register plugin functions * chore: move to corresponding directory * chore: bind system monitoring data to UI --------- Co-authored-by: Louis <louis@jan.ai> * chore: add build:plugins step to README * chore: model searching and fix model name * fix: plugin file selected appearance * fix: create new conversation does not work * fix: delete conversation not update state - messages still exist * chore: fix asset path prefix * Add CICD for macos (#221) Co-authored-by: Hien To <tominhhien97@gmail.com> * chore: fix production plugin path * chore: add shell open url in external browser --------- Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai> Co-authored-by: NamH <NamNh0122@gmail.com> Co-authored-by: 0xSage <n@pragmatic.vc> Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com> Co-authored-by: Hien To <tominhhien97@gmail.com> Co-authored-by: namvuong <22463238+vuonghoainam@users.noreply.github.com>
63 lines
12 KiB
XML
63 lines
12 KiB
XML
<svg width="84" height="83" viewBox="0 0 84 83" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="42.5" cy="41.25" r="41" fill="white"/>
|
|
<path d="M20.4267 17.6927L38.7211 12.7956C45.3878 11.0111 50.2171 13.9223 52.0739 20.8451L57.1644 39.824C59.0212 46.7467 56.296 51.6801 49.6293 53.4647L31.3349 58.3617C24.6682 60.1463 19.8563 57.2304 17.9995 50.3076L12.909 31.3287C11.0522 24.4059 13.76 19.4772 20.4267 17.6927Z" fill="url(#paint0_linear_276_5096)"/>
|
|
<g filter="url(#filter0_f_276_5096)">
|
|
<path d="M25.5712 24.7012L37.9961 21.3753C42.524 20.1633 45.7474 21.9301 46.9089 26.2604L50.0931 38.1321C51.2546 42.4625 49.3473 45.6027 44.8195 46.8147L32.3945 50.1406C27.8666 51.3526 24.655 49.5826 23.4935 45.2523L20.3093 33.3806C19.1478 29.0502 21.0433 25.9132 25.5712 24.7012Z" fill="#0062FF" fill-opacity="0.5"/>
|
|
</g>
|
|
<g filter="url(#filter1_b_276_5096)">
|
|
<mask id="path-4-outside-1_276_5096" maskUnits="userSpaceOnUse" x="22.877" y="20.9199" width="46" height="46" fill="black">
|
|
<rect fill="white" x="22.877" y="20.9199" width="46" height="46"/>
|
|
<path d="M54.7962 21.9199H36.1024C28.793 21.9199 23.877 27.0464 23.877 34.6715V52.2696C23.877 59.8731 28.793 64.9996 36.1024 64.9996H54.7962C62.1056 64.9996 67 59.8731 67 52.2696V34.6715C67 27.0464 62.1056 21.9199 54.7962 21.9199Z"/>
|
|
</mask>
|
|
<path d="M54.7962 21.9199H36.1024C28.793 21.9199 23.877 27.0464 23.877 34.6715V52.2696C23.877 59.8731 28.793 64.9996 36.1024 64.9996H54.7962C62.1056 64.9996 67 59.8731 67 52.2696V34.6715C67 27.0464 62.1056 21.9199 54.7962 21.9199Z" fill="#C13EFE" fill-opacity="0.35"/>
|
|
<path d="M54.7962 22.9199C55.3485 22.9199 55.7962 22.4722 55.7962 21.9199C55.7962 21.3676 55.3485 20.9199 54.7962 20.9199V22.9199ZM54.7962 20.9199C54.2439 20.9199 53.7962 21.3676 53.7962 21.9199C53.7962 22.4722 54.2439 22.9199 54.7962 22.9199V20.9199ZM54.7962 20.9199H36.1024V22.9199H54.7962V20.9199ZM36.1024 20.9199C32.2052 20.9199 28.8779 22.2921 26.5268 24.7442C24.1792 27.1927 22.877 30.6419 22.877 34.6715H24.877C24.877 31.076 26.0327 28.1494 27.9705 26.1284C29.9047 24.111 32.6901 22.9199 36.1024 22.9199V20.9199ZM22.877 34.6715V52.2696H24.877V34.6715H22.877ZM22.877 52.2696C22.877 56.2891 24.1797 59.7329 26.5272 62.1784C28.8782 64.6275 32.2053 65.9996 36.1024 65.9996V63.9996C32.6901 63.9996 29.9044 62.8085 27.97 60.7934C26.0323 58.7748 24.877 55.8536 24.877 52.2696H22.877ZM36.1024 65.9996H54.7962V63.9996H36.1024V65.9996ZM54.7962 65.9996C58.6935 65.9996 62.0156 64.6273 64.3614 62.1775C66.7035 59.7316 68 56.2879 68 52.2696H66C66 55.8548 64.8494 58.7761 62.9169 60.7943C60.9881 62.8086 58.2083 63.9996 54.7962 63.9996V65.9996ZM68 52.2696V34.6715H66V52.2696H68ZM68 34.6715C68 30.6431 66.7039 27.1941 64.3618 24.7451C62.0159 22.2922 58.6935 20.9199 54.7962 20.9199V22.9199C58.2082 22.9199 60.9878 24.1108 62.9164 26.1275C64.8489 28.1481 66 31.0748 66 34.6715H68Z" fill="url(#paint1_linear_276_5096)" mask="url(#path-4-outside-1_276_5096)"/>
|
|
</g>
|
|
<g filter="url(#filter2_bd_276_5096)">
|
|
<mask id="path-6-inside-2_276_5096" fill="white">
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5375 35.9773C32.5375 38.9581 34.9627 41.3842 37.9474 41.3842C40.9299 41.3842 43.3573 38.9581 43.3573 35.9773C43.3573 32.9964 40.9299 30.5703 37.9474 30.5703C34.9627 30.5703 32.5375 32.9964 32.5375 35.9773ZM62.0318 55.8205C62.8068 53.9814 63.1834 51.7494 62.4585 49.8924C62.2168 49.2764 61.8554 48.7028 61.3482 48.1983C60.018 46.8792 58.7749 45.6472 57.2967 44.7365C54.976 43.2902 53.1843 45.3213 52.701 45.9708C52.3155 46.4898 51.9747 47.0532 51.6292 47.6242C51.5572 47.7432 51.4851 47.8625 51.4122 47.9818L51.395 48.0103C50.3672 49.7111 49.1868 51.6642 47.1518 52.8029C44.178 54.4478 41.9204 52.9323 40.2963 51.8297C39.6868 51.4191 39.0946 51.0307 38.5046 50.7718C37.0504 50.1446 35.742 50.8588 33.8001 53.3229C32.7812 54.6108 31.7711 55.8875 30.7479 57.1597C30.1361 57.9208 30.282 59.0948 31.1071 59.6037C32.4242 60.4139 34.0308 60.8491 35.8465 60.8491H54.0921C55.1219 60.8491 56.1538 60.7085 57.1378 60.3871C59.354 59.6639 61.1131 58.0078 62.0318 55.8205Z"/>
|
|
</mask>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5375 35.9773C32.5375 38.9581 34.9627 41.3842 37.9474 41.3842C40.9299 41.3842 43.3573 38.9581 43.3573 35.9773C43.3573 32.9964 40.9299 30.5703 37.9474 30.5703C34.9627 30.5703 32.5375 32.9964 32.5375 35.9773ZM62.0318 55.8205C62.8068 53.9814 63.1834 51.7494 62.4585 49.8924C62.2168 49.2764 61.8554 48.7028 61.3482 48.1983C60.018 46.8792 58.7749 45.6472 57.2967 44.7365C54.976 43.2902 53.1843 45.3213 52.701 45.9708C52.3155 46.4898 51.9747 47.0532 51.6292 47.6242C51.5572 47.7432 51.4851 47.8625 51.4122 47.9818L51.395 48.0103C50.3672 49.7111 49.1868 51.6642 47.1518 52.8029C44.178 54.4478 41.9204 52.9323 40.2963 51.8297C39.6868 51.4191 39.0946 51.0307 38.5046 50.7718C37.0504 50.1446 35.742 50.8588 33.8001 53.3229C32.7812 54.6108 31.7711 55.8875 30.7479 57.1597C30.1361 57.9208 30.282 59.0948 31.1071 59.6037C32.4242 60.4139 34.0308 60.8491 35.8465 60.8491H54.0921C55.1219 60.8491 56.1538 60.7085 57.1378 60.3871C59.354 59.6639 61.1131 58.0078 62.0318 55.8205Z" fill="url(#paint2_linear_276_5096)"/>
|
|
<path d="M62.4585 49.8924L62.6448 49.8197L62.6447 49.8194L62.4585 49.8924ZM62.0318 55.8205L61.8475 55.7428L61.8474 55.743L62.0318 55.8205ZM61.3482 48.1983L61.4892 48.0565L61.489 48.0563L61.3482 48.1983ZM57.2967 44.7365L57.191 44.9063L57.1918 44.9068L57.2967 44.7365ZM52.701 45.9708L52.5406 45.8514L52.5405 45.8516L52.701 45.9708ZM51.6292 47.6242L51.4581 47.5207L51.6292 47.6242ZM51.4122 47.9818L51.2415 47.8776L51.2411 47.8784L51.4122 47.9818ZM51.395 48.0103L51.2239 47.9068L51.2239 47.9068L51.395 48.0103ZM47.1518 52.8029L47.2486 52.9779L47.2494 52.9774L47.1518 52.8029ZM40.2963 51.8297L40.4087 51.6643L40.4081 51.6639L40.2963 51.8297ZM38.5046 50.7718L38.585 50.5886L38.5838 50.5881L38.5046 50.7718ZM33.8001 53.3229L33.9569 53.447L33.9571 53.4467L33.8001 53.3229ZM30.7479 57.1597L30.592 57.0343L30.592 57.0344L30.7479 57.1597ZM31.1071 59.6037L31.0021 59.7739L31.0023 59.774L31.1071 59.6037ZM57.1378 60.3871L57.0758 60.197L57.0757 60.197L57.1378 60.3871ZM37.9474 41.1842C35.0731 41.1842 32.7375 38.8476 32.7375 35.9773H32.3375C32.3375 39.0686 34.8523 41.5842 37.9474 41.5842V41.1842ZM43.1573 35.9773C43.1573 38.8476 40.8196 41.1842 37.9474 41.1842V41.5842C41.0403 41.5842 43.5573 39.0687 43.5573 35.9773H43.1573ZM37.9474 30.7703C40.8196 30.7703 43.1573 33.1069 43.1573 35.9773H43.5573C43.5573 32.8858 41.0403 30.3703 37.9474 30.3703V30.7703ZM32.7375 35.9773C32.7375 33.1069 35.0731 30.7703 37.9474 30.7703V30.3703C34.8523 30.3703 32.3375 32.8859 32.3375 35.9773H32.7375ZM62.2722 49.9651C62.9702 51.7533 62.6127 53.9268 61.8475 55.7428L62.2161 55.8982C63.0009 54.0359 63.3966 51.7455 62.6448 49.8197L62.2722 49.9651ZM61.2072 48.3401C61.6937 48.824 62.0402 49.3738 62.2723 49.9654L62.6447 49.8194C62.3934 49.1789 62.0171 48.5815 61.4892 48.0565L61.2072 48.3401ZM57.1918 44.9068C58.647 45.8033 59.874 47.0181 61.2074 48.3403L61.489 48.0563C60.162 46.7404 58.9028 45.4911 57.4016 44.5663L57.1918 44.9068ZM52.8615 46.0902C53.0957 45.7755 53.6424 45.1336 54.4009 44.7458C55.1471 44.3643 56.0994 44.226 57.191 44.9063L57.4025 44.5668C56.1733 43.8008 55.0694 43.9548 54.2188 44.3897C53.3805 44.8182 52.7897 45.5166 52.5406 45.8514L52.8615 46.0902ZM51.8004 47.7277C52.1467 47.1552 52.4827 46.6002 52.8616 46.0901L52.5405 45.8516C52.1483 46.3795 51.8026 46.9512 51.4581 47.5207L51.8004 47.7277ZM51.5829 48.086C51.656 47.9663 51.7284 47.8466 51.8004 47.7277L51.4581 47.5207C51.3861 47.6397 51.3141 47.7587 51.2415 47.8776L51.5829 48.086ZM51.5662 48.1137L51.5834 48.0853L51.2411 47.8784L51.2239 47.9068L51.5662 48.1137ZM47.2494 52.9774C49.3376 51.809 50.5424 49.8078 51.5662 48.1137L51.2239 47.9068C50.1919 49.6144 49.036 51.5194 47.0541 52.6283L47.2494 52.9774ZM40.184 51.9952C40.9929 52.5444 41.9893 53.2185 43.1652 53.5396C44.3518 53.8636 45.7136 53.8269 47.2486 52.9779L47.055 52.6279C45.6161 53.4238 44.3622 53.4518 43.2706 53.1537C42.1682 52.8527 41.2238 52.2177 40.4087 51.6643L40.184 51.9952ZM38.4243 50.9549C38.9954 51.2056 39.5734 51.5838 40.1846 51.9956L40.4081 51.6639C39.8001 51.2543 39.1938 50.8558 38.585 50.5886L38.4243 50.9549ZM33.9571 53.4467C34.9244 52.2194 35.7163 51.4518 36.4307 51.0639C37.1292 50.6846 37.7555 50.6665 38.4254 50.9554L38.5838 50.5881C37.7995 50.2499 37.0445 50.2754 36.2398 50.7124C35.4509 51.1408 34.6176 51.9624 33.643 53.1991L33.9571 53.4467ZM30.9037 57.285C31.9275 56.0121 32.9381 54.7348 33.9569 53.447L33.6432 53.1988C32.6243 54.4868 31.6146 55.7628 30.592 57.0343L30.9037 57.285ZM31.2121 59.4335C30.5001 58.9944 30.3592 57.9624 30.9038 57.285L30.592 57.0344C29.913 57.8791 30.0638 59.1952 31.0021 59.7739L31.2121 59.4335ZM35.8465 60.6491C34.063 60.6491 32.4936 60.2218 31.2119 59.4333L31.0023 59.774C32.3548 60.606 33.9986 61.0491 35.8465 61.0491V60.6491ZM54.0921 60.6491H35.8465V61.0491H54.0921V60.6491ZM57.0757 60.197C56.1145 60.5109 55.1039 60.6491 54.0921 60.6491V61.0491C55.1399 61.0491 56.1931 60.9061 57.1999 60.5772L57.0757 60.197ZM61.8474 55.743C60.9503 57.8789 59.2346 59.4925 57.0758 60.197L57.1999 60.5772C59.4734 59.8354 61.2759 58.1367 62.2162 55.8979L61.8474 55.743Z" fill="url(#paint3_linear_276_5096)" fill-opacity="0.5" mask="url(#path-6-inside-2_276_5096)"/>
|
|
</g>
|
|
<defs>
|
|
<filter id="filter0_f_276_5096" x="0.975586" y="2.00195" width="68.4502" height="67.5117" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
<feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur_276_5096"/>
|
|
</filter>
|
|
<filter id="filter1_b_276_5096" x="-1.12305" y="-3.08008" width="93.123" height="93.0801" 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_5096"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect1_backgroundBlur_276_5096" result="shape"/>
|
|
</filter>
|
|
<filter id="filter2_bd_276_5096" x="15.3721" y="15.5703" width="62.4741" height="60.2783" 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_5096"/>
|
|
<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.8403 0 0 0 0 0.15375 0 0 0 0 0.9 0 0 0 0.5 0"/>
|
|
<feBlend mode="normal" in2="effect1_backgroundBlur_276_5096" result="effect2_dropShadow_276_5096"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_276_5096" result="shape"/>
|
|
</filter>
|
|
<linearGradient id="paint0_linear_276_5096" x1="12.8015" y1="19.7338" x2="62.365" y2="36.4217" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#9B39FD"/>
|
|
<stop offset="1" stop-color="#FB3AFF"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint1_linear_276_5096" x1="30.7414" y1="26.9388" x2="58.2159" y2="61.0008" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white" stop-opacity="0.25"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0.06"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint2_linear_276_5096" x1="60.544" y1="36.0381" x2="24.3764" y2="37.3028" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0.2"/>
|
|
</linearGradient>
|
|
<linearGradient id="paint3_linear_276_5096" x1="33.8703" y1="40.7274" x2="61.4453" y2="40.8906" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="white"/>
|
|
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|