jan/app/public/icons/ico_settingblack.svg
Louis 20dbc02c03
Refactor Jan into an Electron app (#175)
* 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 <>
2023-09-24 20:42:58 -07:00

4 lines
3.9 KiB
XML

<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.0435 12.6614C19.8831 12.4789 19.7947 12.2443 19.7947 12.0014C19.7947 11.7585 19.8831 11.5238 20.0435 11.3414L21.3235 9.90136C21.4645 9.74403 21.5521 9.54606 21.5736 9.33587C21.5952 9.12567 21.5496 8.91405 21.4435 8.73136L19.4435 5.27136C19.3384 5.08888 19.1783 4.94424 18.9862 4.85805C18.7941 4.77186 18.5796 4.74852 18.3735 4.79136L16.4935 5.17136C16.2542 5.22079 16.0052 5.18095 15.7933 5.05936C15.5815 4.93777 15.4214 4.74284 15.3435 4.51136L14.7335 2.68136C14.6664 2.48274 14.5386 2.31022 14.3681 2.1882C14.1976 2.06618 13.9931 2.00082 13.7835 2.00136H9.78345C9.56538 1.98998 9.34959 2.05029 9.16902 2.17307C8.98845 2.29586 8.85303 2.47438 8.78345 2.68136L8.22345 4.51136C8.14545 4.74284 7.98542 4.93777 7.77356 5.05936C7.5617 5.18095 7.31267 5.22079 7.07345 5.17136L5.14345 4.79136C4.948 4.76374 4.74875 4.79458 4.5708 4.88C4.39285 4.96542 4.24415 5.10159 4.14345 5.27136L2.14345 8.73136C2.03461 8.91201 1.98567 9.12245 2.00363 9.33258C2.02159 9.54272 2.10553 9.7418 2.24345 9.90136L3.51345 11.3414C3.67377 11.5238 3.76219 11.7585 3.76219 12.0014C3.76219 12.2443 3.67377 12.4789 3.51345 12.6614L2.24345 14.1014C2.10553 14.2609 2.02159 14.46 2.00363 14.6701C1.98567 14.8803 2.03461 15.0907 2.14345 15.2714L4.14345 18.7314C4.24855 18.9138 4.40857 19.0585 4.6007 19.1447C4.79284 19.2309 5.00728 19.2542 5.21345 19.2114L7.09345 18.8314C7.33267 18.7819 7.5817 18.8218 7.79356 18.9434C8.00542 19.0649 8.16545 19.2599 8.24345 19.4914L8.85345 21.3214C8.92303 21.5283 9.05845 21.7069 9.23902 21.8296C9.41959 21.9524 9.63538 22.0127 9.85345 22.0014H13.8535C14.0631 22.0019 14.2676 21.9365 14.4381 21.8145C14.6086 21.6925 14.7364 21.52 14.8035 21.3214L15.4135 19.4914C15.4915 19.2599 15.6515 19.0649 15.8633 18.9434C16.0752 18.8218 16.3242 18.7819 16.5635 18.8314L18.4435 19.2114C18.6496 19.2542 18.8641 19.2309 19.0562 19.1447C19.2483 19.0585 19.4084 18.9138 19.5135 18.7314L21.5135 15.2714C21.6196 15.0887 21.6652 14.877 21.6436 14.6669C21.6221 14.4567 21.5345 14.2587 21.3935 14.1014L20.0435 12.6614ZM18.5535 14.0014L19.3535 14.9014L18.0735 17.1214L16.8935 16.8814C16.1732 16.7341 15.424 16.8565 14.788 17.2252C14.1521 17.5938 13.6736 18.1832 13.4435 18.8814L13.0635 20.0014H10.5035L10.1435 18.8614C9.91331 18.1632 9.43483 17.5738 8.79886 17.2052C8.16288 16.8365 7.41367 16.7141 6.69345 16.8614L5.51345 17.1014L4.21345 14.8914L5.01345 13.9914C5.50541 13.4413 5.77738 12.7293 5.77738 11.9914C5.77738 11.2534 5.50541 10.5414 5.01345 9.99136L4.21345 9.09136L5.49345 6.89136L6.67345 7.13136C7.39367 7.27858 8.14288 7.15624 8.77886 6.78756C9.41483 6.41888 9.89331 5.82952 10.1235 5.13136L10.5035 4.00136H13.0635L13.4435 5.14136C13.6736 5.83952 14.1521 6.42888 14.788 6.79756C15.424 7.16624 16.1732 7.28858 16.8935 7.14136L18.0735 6.90136L19.3535 9.12136L18.5535 10.0214C18.067 10.5701 17.7984 11.278 17.7984 12.0114C17.7984 12.7447 18.067 13.4526 18.5535 14.0014ZM11.7835 8.00136C10.9923 8.00136 10.219 8.23596 9.56117 8.67548C8.90337 9.11501 8.39068 9.73972 8.08793 10.4706C7.78518 11.2015 7.70597 12.0058 7.86031 12.7817C8.01465 13.5576 8.39561 14.2704 8.95502 14.8298C9.51443 15.3892 10.2272 15.7702 11.0031 15.9245C11.779 16.0788 12.5833 15.9996 13.3142 15.6969C14.0451 15.3941 14.6698 14.8814 15.1093 14.2236C15.5489 13.5658 15.7835 12.7925 15.7835 12.0014C15.7835 10.9405 15.362 9.92308 14.6119 9.17293C13.8617 8.42279 12.8443 8.00136 11.7835 8.00136ZM11.7835 14.0014C11.3879 14.0014 11.0012 13.8841 10.6723 13.6643C10.3434 13.4445 10.0871 13.1322 9.93569 12.7667C9.78432 12.4013 9.74471 11.9991 9.82188 11.6112C9.89905 11.2232 10.0895 10.8669 10.3692 10.5871C10.6489 10.3074 11.0053 10.117 11.3933 10.0398C11.7812 9.96262 12.1834 10.0022 12.5488 10.1536C12.9143 10.305 13.2266 10.5613 13.4464 10.8902C13.6662 11.2191 13.7835 11.6058 13.7835 12.0014C13.7835 12.5318 13.5727 13.0405 13.1977 13.4156C12.8226 13.7906 12.3139 14.0014 11.7835 14.0014Z" fill="#111928"/>
</svg>