* 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 <>
20 lines
3.3 KiB
XML
20 lines
3.3 KiB
XML
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<mask id="path-1-inside-1_1588_2550" fill="white">
|
|
<path d="M17.98 6H16.44C16.198 6 16 6.198 16 6.44C16 6.682 16.198 6.88 16.44 6.88H17.98C18.222 6.88 18.42 6.682 18.42 6.44C18.42 6.198 18.222 6 17.98 6Z"/>
|
|
</mask>
|
|
<path d="M17.98 6H16.44C16.198 6 16 6.198 16 6.44C16 6.682 16.198 6.88 16.44 6.88H17.98C18.222 6.88 18.42 6.682 18.42 6.44C18.42 6.198 18.222 6 17.98 6Z" fill="#111928"/>
|
|
<path d="M17.98 5H16.44V7H17.98V5ZM16.44 5C15.6457 5 15 5.64572 15 6.44H17C17 6.75028 16.7503 7 16.44 7V5ZM15 6.44C15 7.23428 15.6457 7.88 16.44 7.88V5.88C16.7503 5.88 17 6.12972 17 6.44H15ZM16.44 7.88H17.98V5.88H16.44V7.88ZM17.98 7.88C18.7743 7.88 19.42 7.23428 19.42 6.44H17.42C17.42 6.12972 17.6697 5.88 17.98 5.88V7.88ZM19.42 6.44C19.42 5.64572 18.7743 5 17.98 5V7C17.6697 7 17.42 6.75028 17.42 6.44H19.42Z" fill="#111928" mask="url(#path-1-inside-1_1588_2550)"/>
|
|
<mask id="path-3-inside-2_1588_2550" fill="white">
|
|
<path d="M17.98 8.2002H16.44C16.198 8.2002 16 8.3982 16 8.6402C16 8.8822 16.198 9.0802 16.44 9.0802H17.98C18.222 9.0802 18.42 8.8822 18.42 8.6402C18.42 8.3982 18.222 8.2002 17.98 8.2002Z"/>
|
|
</mask>
|
|
<path d="M17.98 8.2002H16.44C16.198 8.2002 16 8.3982 16 8.6402C16 8.8822 16.198 9.0802 16.44 9.0802H17.98C18.222 9.0802 18.42 8.8822 18.42 8.6402C18.42 8.3982 18.222 8.2002 17.98 8.2002Z" fill="#111928"/>
|
|
<path d="M17.98 7.2002H16.44V9.2002H17.98V7.2002ZM16.44 7.2002C15.6457 7.2002 15 7.84591 15 8.6402H17C17 8.95048 16.7503 9.2002 16.44 9.2002V7.2002ZM15 8.6402C15 9.43448 15.6457 10.0802 16.44 10.0802V8.0802C16.7503 8.0802 17 8.32991 17 8.6402H15ZM16.44 10.0802H17.98V8.0802H16.44V10.0802ZM17.98 10.0802C18.7743 10.0802 19.42 9.43448 19.42 8.6402H17.42C17.42 8.32991 17.6697 8.0802 17.98 8.0802V10.0802ZM19.42 8.6402C19.42 7.84591 18.7743 7.2002 17.98 7.2002V9.2002C17.6697 9.2002 17.42 8.95048 17.42 8.6402H19.42Z" fill="#111928" mask="url(#path-3-inside-2_1588_2550)"/>
|
|
<mask id="path-5-inside-3_1588_2550" fill="white">
|
|
<path d="M17.98 10.4004H16.44C16.198 10.4004 16 10.5984 16 10.8404C16 11.0824 16.198 11.2804 16.44 11.2804H17.98C18.222 11.2804 18.42 11.0824 18.42 10.8404C18.42 10.5984 18.222 10.4004 17.98 10.4004Z"/>
|
|
</mask>
|
|
<path d="M17.98 10.4004H16.44C16.198 10.4004 16 10.5984 16 10.8404C16 11.0824 16.198 11.2804 16.44 11.2804H17.98C18.222 11.2804 18.42 11.0824 18.42 10.8404C18.42 10.5984 18.222 10.4004 17.98 10.4004Z" fill="#111928"/>
|
|
<path d="M17.98 9.40039H16.44V11.4004H17.98V9.40039ZM16.44 9.40039C15.6457 9.40039 15 10.0461 15 10.8404H17C17 11.1507 16.7503 11.4004 16.44 11.4004V9.40039ZM15 10.8404C15 11.6347 15.6457 12.2804 16.44 12.2804V10.2804C16.7503 10.2804 17 10.5301 17 10.8404H15ZM16.44 12.2804H17.98V10.2804H16.44V12.2804ZM17.98 12.2804C18.7743 12.2804 19.42 11.6347 19.42 10.8404H17.42C17.42 10.5301 17.6697 10.2804 17.98 10.2804V12.2804ZM19.42 10.8404C19.42 10.0461 18.7743 9.40039 17.98 9.40039V11.4004C17.6697 11.4004 17.42 11.1507 17.42 10.8404H19.42Z" fill="#111928" mask="url(#path-5-inside-3_1588_2550)"/>
|
|
<path d="M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z" stroke="#111928" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
<path d="M14 3V21" stroke="#111928" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
</svg>
|