jan/app/public/icons/download.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
2.2 KiB
XML

<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.52667 9.35992C5.46418 9.42189 5.41459 9.49563 5.38074 9.57687C5.34689 9.65811 5.32947 9.74524 5.32947 9.83325C5.32947 9.92126 5.34689 10.0084 5.38074 10.0896C5.41459 10.1709 5.46418 10.2446 5.52667 10.3066L7.52667 12.3066C7.58864 12.3691 7.66238 12.4187 7.74362 12.4525C7.82486 12.4864 7.91199 12.5038 8 12.5038C8.08801 12.5038 8.17515 12.4864 8.25638 12.4525C8.33762 12.4187 8.41136 12.3691 8.47333 12.3066L10.4733 10.3066C10.5989 10.181 10.6694 10.0108 10.6694 9.83325C10.6694 9.65572 10.5989 9.48545 10.4733 9.35992C10.3478 9.23438 10.1775 9.16386 10 9.16386C9.82247 9.16386 9.6522 9.23438 9.52667 9.35992L8.66667 10.2266V2.49992C8.66667 2.32311 8.59643 2.15354 8.4714 2.02851C8.34638 1.90349 8.17681 1.83325 8 1.83325C7.82319 1.83325 7.65362 1.90349 7.5286 2.02851C7.40357 2.15354 7.33333 2.32311 7.33333 2.49992V10.2266L6.47333 9.35992C6.41136 9.29743 6.33762 9.24784 6.25638 9.21399C6.17515 9.18015 6.08801 9.16272 6 9.16272C5.91199 9.16272 5.82486 9.18015 5.74362 9.21399C5.66238 9.24784 5.58864 9.29743 5.52667 9.35992ZM12 6.49992H10.6667C10.4899 6.49992 10.3203 6.57016 10.1953 6.69518C10.0702 6.82021 10 6.98977 10 7.16659C10 7.3434 10.0702 7.51297 10.1953 7.63799C10.3203 7.76301 10.4899 7.83325 10.6667 7.83325H12C12.1768 7.83325 12.3464 7.90349 12.4714 8.02851C12.5964 8.15354 12.6667 8.32311 12.6667 8.49992V13.1666C12.6667 13.3434 12.5964 13.513 12.4714 13.638C12.3464 13.763 12.1768 13.8333 12 13.8333H4C3.82319 13.8333 3.65362 13.763 3.5286 13.638C3.40357 13.513 3.33333 13.3434 3.33333 13.1666V8.49992C3.33333 8.32311 3.40357 8.15354 3.5286 8.02851C3.65362 7.90349 3.82319 7.83325 4 7.83325H5.33333C5.51014 7.83325 5.67971 7.76301 5.80474 7.63799C5.92976 7.51297 6 7.3434 6 7.16659C6 6.98977 5.92976 6.82021 5.80474 6.69518C5.67971 6.57016 5.51014 6.49992 5.33333 6.49992H4C3.46957 6.49992 2.96086 6.71063 2.58579 7.0857C2.21071 7.46078 2 7.96949 2 8.49992V13.1666C2 13.697 2.21071 14.2057 2.58579 14.5808C2.96086 14.9559 3.46957 15.1666 4 15.1666H12C12.5304 15.1666 13.0391 14.9559 13.4142 14.5808C13.7893 14.2057 14 13.697 14 13.1666V8.49992C14 7.96949 13.7893 7.46078 13.4142 7.0857C13.0391 6.71063 12.5304 6.49992 12 6.49992Z" fill="#111928"/>
</svg>