269 Commits

Author SHA1 Message Date
0xSage
4e0dbb3047 chore: add github automations 2023-12-01 13:47:54 +08:00
hiento09
e6de39dcb1
Remove .zip in artifact name (#800)
* Remove .zip in artifact name

* Update jan-electron-build-nightly.yml

* Change schedule time to 3am UTC+7
2023-12-01 11:09:28 +07:00
hiento09
e5d4b81aab
Add nightly build ci (#794)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-30 20:23:45 +07:00
hiento09
07eafd85f6
Switch from .zip to .tar.gz for nitro url inference plugin (#781)
* Switch from .zip to .tar.gz for nitro url

* make clean add clean data folder

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-29 17:27:15 +07:00
hiento09
beafa676c4
Add windows code sign to CI (#712)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-24 11:46:39 +07:00
hiento09
00c68aea74
Fix error docs pipeline run failed (#702)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-23 14:56:05 +07:00
hiento09
7b39ad6e8d
Revert docs CICD trigger on push to main instead of tag-based (#698)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-23 09:36:52 +07:00
hiento09
df163a85e5
Chore: refactor to makefile (#691)
* Add makefile for jan

* CICD switchs to use make

* Update README.md to use Makefile

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-22 17:48:02 +07:00
0xSage
db1a07f4aa
Update issue templates 2023-11-22 14:57:14 +08:00
hiento09
0dd70824e8
Feature: Preview URL for each PR and add pre-release.jan.ai as staging of Jan Docs (#669)
* CloudFlare Pages add Preview URL to PR

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-21 10:26:26 +07:00
Linh Tran
9c5c03b6bc
Add run-script-os (#620) 2023-11-15 21:46:27 +07:00
hiento09
500f7b4867
Chore/refactor yarn script (#615)
* Refactor yarn script

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-14 11:53:09 +07:00
Service Account
bff2588ecc Update CICD to fill secret to .env file jan docs 2023-11-13 15:44:17 +07:00
hiento09
ee5b2d0b0d
Add set yarn network timeout for uikit (#579)
* Add set yarn network timeout for uikit

* Temporary set nitro version in CI

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-10 17:16:45 +07:00
hiento09
edb34c9bc2
Add set env CI=e2e in CI pipeline (#578)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-10 15:59:21 +07:00
hiento09
42c13c60a4
Fix build plugins macos codesiging error (#576)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-10 14:33:28 +07:00
Louis
b1bb288fae
fix: failed to package app since core and uikit are not being built (#575) 2023-11-10 13:15:56 +07:00
Faisal Amir
2394c13065
ui: standalone UIKit and refactor (#557)
* Eslint import order

* Initial Uikit

* Rename file with camelCase

* Remove unused code

* Remove unused code

* Set position traficlight mac

* Grouping Ribbon, Topbar and Bottombar as layout

* Added image brand

* Moving feature toggle into context folder

* Fix active state of setting menu

* Cleanup downloadModel atom helper

* Cleanup useGetConfigureModel

* Added wave animation

* Create useMainViewState intead of import helper atom

* Remove unused code

* Take a back switch ui

* Toggle using switch component

* Add dynamic primary color

* Cleanup import

* Added uikit scroll area

* Add best practice form

* Added toaster container

* Fix loader container

* Add hooks useDownloadState

* Added tooltip on ribbon menu

* Added case user multiple download model

* Adjust input style with bigger ring

* Restyle my model screen

* Replace useStartStop model with useActiveModel

* Import icon using Icon name

* Fix missing login loading start and stop model

* WIP integrate with cmdk

* Move layout search bar on middle of app

* Added function cancel download

* Cleanup model explore

* Cleanup unused code

* Move app version in bototmbar or footer

* WIP chat screen

* WIP chat screen

* Cleanup style and remove unsed code

* Added command for showing downloaded model

* Fix missing keyframe loader dot animation

* Conditional loader of plugin setting

* WIP history list message

* chore: rebase main

* Adding script ui into root package

* Fix different version react hooks form

* Add close toaster

* Added status model active or not on list of command

* Conditional showing info if user don't have a model

* Disabled toolbar chat when user not yet have convo

* chore: fix state

* fix: get resource atom

* Fix conditional bottom bar

* fix: model download state

* Fix font

* Improve icon my model

* Add toaster delete chat

* Remove test classname

* Fix scroll chat body

* Fix scrolling chat body

* chore: add message update

* Add uikit into depedencies on root package

* Update chat flow

* Fix hot reload ui changes

* Increate background color chat screen light mode

* Added visual conversation active state

* Added build:uikit on gh actions

* chore: attempt to fix CI

* fix: deps

* fix: tests

* chore: attempt to fix CI

---------

Co-authored-by: Louis <louis@jan.ai>
2023-11-07 21:27:11 +07:00
Louis
96dba2690d feat: class-based plugin manager
chore: add facades

refactor: core module export

refactor: inference plugin - deprecate function registering (#537)

* refactor: revamp inference plugin as class - deprecate function registering

* refactor: monitoring plugin - deprecate service registering (#538)

refactor: revamp inference plugin as class - deprecate function registering

chore: update import

refactor: plugin revamp - model management

chore: update build steps and remove experimental plugins

refactor: remove pluggable electron

chore: add sorting for conversations

chore: build plugins for testing

chore: consistent plugin directory name

chore: docs

chore: fix CI

chore: update conversation prefix
2023-11-06 13:46:01 +07:00
Louis
f02f769f11
chore: disable app update on test (#521)
* chore: disable app update on test

* chore: add build:test step

* Update CI test uses yarn build:test

* Plugin pull from npm registry instead of rebuild
---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-01 17:29:58 +07:00
Hien To
cf9b51a76b Add build deps for data-plugin in CI 2023-10-26 21:29:38 +07:00
Service Account
7212fdb143 data-plugin force leveldown to 6.1.1 2023-10-25 17:57:28 +07:00
Service Account
a965f2360e Move back to github-hosted runner 2023-10-25 13:39:27 +07:00
Service Account
b92e6bf2d1 Temporary disable electron build code sign from p12 file 2023-10-25 12:07:07 +07:00
Service Account
42cf4b9251 Update auto-sign plugin by search file permission 664 2023-10-25 10:30:26 +07:00
Service Account
ff872f6d97 Change codesign plugin folder in ci 2023-10-25 01:19:57 +07:00
Service Account
e60e7a228e fix error codesign 2023-10-25 00:58:36 +07:00
Service Account
847e377350 Add continue on error for import cert 2023-10-24 22:29:58 +07:00
Service Account
11bb52fd9d Update code siging for new data plugin 2023-10-24 20:49:51 +07:00
Service Account
e3f29d1526 Add readme 2023-10-23 16:03:17 +07:00
Service Account
89e4c2c7a9 Add username to remote origin 2023-10-23 15:51:26 +07:00
Hien To
9ecc9e7405 Add auto create PR to plugin-catalog when a new version of plugin is release 2023-10-20 14:56:27 +07:00
Hien To
411c689f87 Move agent to mac-silicon 2023-10-20 12:17:44 +07:00
Hien To
81823f23f0 Correct plugin version 2023-10-19 16:04:04 +07:00
hiento09
df5bbd0308
Chore/remove package lock (#398)
* Remove package-lock.json file

* update .gitignore

---------

Co-authored-by: Hien To <>
2023-10-19 08:55:52 +00:00
hiento09
a6694921e8
Refactor cicd (#397)
* Refactor cicd

* Correct version plugin core

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-19 08:29:40 +00:00
hiento09
6ff57e8f6f
Correct version of plugins (#374)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-17 15:53:03 +07:00
Louis
7812bf64d5
chore: #371 - reference to plugin name and module path as variables (#372)
* chore: #371 - plugin developer can reference to plugin name and module path as variables

* chore: display origin plugin name

* Switch from plugin-core to core

* Remove un-used command in ci test

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-17 15:41:35 +07:00
hiento09
3e2d878e12
Rename plugin-core to core (#370)
Co-authored-by: Hien To <>
2023-10-17 06:56:57 +00:00
hiento09
54096a014e
Fix error check change in plugins folder (#367)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-16 21:38:38 +07:00
hiento09
e1e6fddcdf
Move plugins folder from electron to root folder (#366)
* Move plugins folder from electron to root folder

* Add CICD for plugins

* Fix error electron import plugin after change plugin name

* Add remove app cache on CI test pipeline

---------

Co-authored-by: Hien To <>
2023-10-16 19:18:00 +07:00
hiento09
1d6c229f5d
Fix publish plugin point to wrong branch 2023-10-14 11:49:26 +00:00
Louis
5fc1ba7067
feature: @janhq/plugin-core module & plugins update (#321)
* @janhq/plugin-core module

* refactor web to use exported services from module

* refactor data-plugin to provide DAL & move model logics to model management plugin

* model-management in TS

* add ci auto package, increate version, and publish to npm repository

* chore: storage operations

* chore: hybrid data-plugin esm & cjs module

* chore: PouchDB Driver

* chore: documentation

---------

Co-authored-by: Hien To <hien@jan.ai>
Co-authored-by: Service Account <service@jan.ai>
2023-10-14 15:59:28 +07:00
Hien To
01c38e2f7e Fix error release name in release drafter template 2023-10-13 17:30:52 +07:00
hiento09
e5347b7273
Add Documentation category to release note template (#332) 2023-10-12 13:49:41 +07:00
0xSage
f1f1f06f23
Update issue templates 2023-10-12 05:15:27 +00:00
hiento09
a1e9da6ac3
Correct release name correspond to electron-build publish 2023-10-11 19:11:07 +07:00
hiento09
f290ca22a1
Chore/release note template (#323)
* Add release note template

* Switch Release Drafter from github app to github action workflow

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-11 18:51:08 +07:00
hiento09
bcab163c8e
Add release note template (#322)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-11 18:20:29 +07:00
hiento09
63d8b895f3
Fix icon error for linux app (#316)
* Create icon folder for linux building app

* CI Test: add clean workspace

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-10 17:30:59 +07:00