36 Commits

Author SHA1 Message Date
vansangpfiev
2418095656
chore: update CI/CD (#4993)
* chore: updae ci cd
- replace electron beta by tauri beta
- only upload tauri nightly to s3
- remove preview

* chore: ignore electron nightly build

* chore: remove redundant workflows

* chore: add nsis template

* chore: update nsis template

* chore: update cuda url

* chore: bundle bun and uv

* chore: delete binaries folder on uninstalling
2025-05-15 17:11:19 +07:00
vansangpfiev
8fefe6e167
chore: tauri codesign and CI/CD (#4961)
* chore: build tauri

* chore: codesign tauri app

* chore: test update from electron to tauri

* chore: test update from electron to tauri

* chore: update csp config and cors

* chore: nightly to 1317

* fix: correct pre_install_path

* chore: jan-nightly to 1320

* chore: self sign tauri

* chore: CI/CD for Windows, Linux

commit 4897b2bcf7f044080fce81bd725515e62fc4eb29
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Fri Apr 25 15:32:37 2025 +0700

    chore: cleanup tauri config

commit 66c5676ec146b25c89cccb570ede7c070dbc5853
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Fri Apr 25 14:37:04 2025 +0700

    fix: store path

commit bc6560c576873e55f84c4b21764bedbdd9dbd5a8
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Thu Apr 24 09:39:50 2025 +0700

    chore: Linux CI

commit b036275dc9f1df7614aaca3b358b9c6493082512
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Wed Apr 23 16:41:22 2025 +0700

    chore: updater windows

commit e91b543dbdd82bd4a44db7550ffb993897b56081
Merge: dea80a83 4a54a378
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Wed Apr 23 16:39:24 2025 +0700

    Merge branch 'chore/tauri-cicd' of https://github.com/menloresearch/jan into chore/tauri-cicd-windows

commit dea80a83966113b108137c385a3c28920d2adda4
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Wed Apr 23 11:47:04 2025 +0700

    chore: update azuresigntool install method

commit 2ec2234082be57e53887192153fa982a134ea535
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Wed Apr 23 11:01:31 2025 +0700

    chore: add verbose option build tauri and targets app and dmg for macos build

commit 42c7592cc89641130545551d4d864268cde3d5b0
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Wed Apr 23 10:35:27 2025 +0700

    chore: update targets build

commit 4c8ba44ff60cdef8b639fa189f5729dc69c5aff6
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Wed Apr 23 09:53:21 2025 +0700

    refactor: remove debug step and upload electron build artifact

commit 158c08b465e18823e0f2b9a30fd5ecd589d08934
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Wed Apr 23 09:21:08 2025 +0700

    chore: add script codesign on windows

commit 4545b2bcd852029472298e530176494992dd0950
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Tue Apr 22 13:39:49 2025 +0700

    chore: update csp setting

commit f64a1e1ca958e3c1c685485a06d45956ddcf14a0
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Tue Apr 22 10:15:14 2025 +0700

    chore: update azuresigntool installation

commit 1f4b9d18b332d5205685a6fe68f5dfaf973d273c
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Tue Apr 22 09:49:42 2025 +0700

    chore: update signcommand

commit 911a3ab3540f872f6fe906c8e2135440d39f108c
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 19:19:23 2025 +0700

    chore: update codesign tauri windows

commit fba15c4c2de43b4cb87308ef998cdd8dc88b1ce6
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 19:04:29 2025 +0700

    chore: update path azuresigntool

commit 8b8c950b56f5aa42baf76aba064fc99b50758150
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 18:38:56 2025 +0700

    chore: update azuresigntool path

commit bd67a2b7908b5f3a126c634a840e0b941373a3c6
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 17:47:33 2025 +0700

    chore: update azuresigntool url

commit f70effca7c09cd2fe9b5866b4f194b64a13294b9
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 17:33:32 2025 +0700

    chore: update azuretoolsign download

commit 667910772f30369b9afa554ad06e4378f93d0b1a
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 16:56:25 2025 +0700

    chore: update path azuresigntool

commit f1610bfd80dfa996db4a777bb58475f2e6d02cc6
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 16:52:36 2025 +0700

    chore: update azuresigntool path

commit 0873d56fb88fb66c884eff31d3f63aa99858f038
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 16:19:46 2025 +0700

    chore: add debug step

commit 88e0b1a697ed478375429686eb1c03ae71a3b447
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 15:58:39 2025 +0700

    ci(windows): download AzureSignTool to src-tauri for Tauri code signing

commit 47f94e86589826c3941a3d602298f188d6480980
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 15:21:20 2025 +0700

    fix: AzureSignTool signcommand Path

commit dc014a7905fd0b49b5972e24b4d5773c5dc29ea5
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 15:00:02 2025 +0700

    chore: add debug step azuresigntool tauri windows

commit ee7b6163a8419604dfba7dc2f967026be4884da4
Author: Minh141120 <minh.itptit@gmail.com>
Date:   Mon Apr 21 14:33:33 2025 +0700

    chore: tauri windows codesign

commit 6607090857120531d8a096f45ff556c3f2553e53
Author: vansangpfiev <vansangpfiev@gmail.com>
Date:   Thu Apr 17 10:29:50 2025 +0700

    chore: add windows download script

commit 4b1a5cc29c77eecca75978a1ab3126d2c710e738
Author: Nguyen Ngoc Minh <kuuhakuu@Nguyens-MacBook-Air.local>
Date:   Mon Apr 21 13:44:34 2025 +0700

    chore: tauri codesign windows

* chore: workflows for tauri

* chore: test tauri manual build

* chore: hide windows install detail

* chore: upload artifacts

* feat: run mcp with bundled bun and uv

* chore: clean up

* chore: update cicd

* chore: remove deprecated workflows

* chore: update allowed origins

* chore: pull binaries windows, linux (#4963)

* fix: get bun and uv from execution path

* fix: macos

* fix: typo

* fix: remove old Jan binaries on windows

* chore: build bun and uv universal

* fix: appimage bundle bun issue

* chore: libfuse2 for linux CI

* feat: tauri cicd preview (#4975)

* feat: tauri cicd preview

* chore: add suffix preview for tauri build

* chore: update condition for s3 upload nightly channel

* chore: add debug step for tauri macos preview

* chore: update aws s3 macos tauri build

* refactor: remove debug code

* chore: update artifact name tauri macos build

* chore: add tauri build step for electron beta and stable

* chore: update preview

* chore: bump llama.cpp engine to b5351

* chore: bump engine version

* fix: cors windows

---------

Co-authored-by: vansangpfiev <sang@jan.ai>
Co-authored-by: Service Account <service@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: hiento09 <tominhhien97@gmail.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>
2025-05-15 17:11:19 +07:00
Louis
9d64e9bef4
chore: merge release/v0.5.16 into dev (#4833)
* chore: bump cortex 1.0.11-rc10

* chore: bump to latest cortex release

* feat: Cortex API Authorization

* chore: correct CI CD repo name

* chore: correct new menloresearch repo name

* feat: rotate api token for each run (#4820)

* feat: rotate api token for each run

* chore: correct github repo url

* chore: correct github api url

* chore: should not filter out models first launch

* chore: bump cortex release

* chore: should get hardware information on launch (#4821)

* chore: should have an option to not revalidate hardware information

* chore: cortex.cpp gpu activation could cause a race condition (#4825)

* fix: jan beta logo displayed in jan release (#4828)

---------

Co-authored-by: David <davidpt.janai@gmail.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>
2025-03-24 11:53:30 +07:00
Nguyen Ngoc Minh
0f9269a1ed
fix: jan logo beta (#4827) 2025-03-21 22:45:24 +07:00
hiento09
1778620fe2
feat: macos universal (#4197)
* feat: macos universal

* chore: build universal for hnswlib-node on macos

---------

Co-authored-by: Service Account <service@jan.ai>
2024-12-04 16:00:44 +07:00
hiento09
e139f88c0a
Upgrade actions/upload-artifact@v2 to actions/upload-artifact@v4 (#3650)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-09-13 13:02:11 +07:00
hiento09
5573ec9fdb
Replace deprecated steps github action (#2935)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-05-22 15:42:27 +07:00
hiento09
957f4629e2
Add workflow test openai api (#2778)
* Add workflow test openai api

* chore: add filename as attribute to each test case

* chore: correct label

* feat: create pytest.ini

* chore: remote extra "

* chore: rename workflow to group similar type

* chore: remove auto build on push to main

* chore: rename job

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Van-QA <van@jan.ai>
2024-04-25 10:55:11 +07:00
hiento09
4f751338b7
Regression fix assitant extension codesign (#1918)
* Separated build macos arm64 and x86_x64

* Update dependencies jobs name

* Remove arch from electron-builder command for mac

* Add combine latest-mac.yml jobs

* Remove unuse workflow job

* Add prefix to install js-yaml

* Run merge script from /tmp

* workflow update release draft depend on combile-latest-mac

* correct template path

* upload assert release latest-mac.yml overwrite set to true

* upload assert release latest-mac.yml overwrite set to true

* Grant permission for combine latest-mac jobs

---------

Co-authored-by: Hien To <hien@jan.ai>
2024-02-04 15:44:57 +07:00
hiento09
42a86e9cb7
Cherrypick cicd to main branch to apply new gitflow (#1665)
* Update CI follow git flow (#1625)

* Update CI follow git flow

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>

* Feature add schedule clean cloudflare page and r2 (#1653)

* Add notify for manual build if publish to R2

* Add CI clean cloudflare cache

* Update jan-docs CI

* Add job clean cloudflare r2

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-19 10:06:17 +07:00
hiento09
07f4727068
Refactor CI by create shared jobs output (#1287)
* Create shared job output get version for nightly build

* update CI prod add change version for web/package.json

* Add condition enable for auto update on CI run on main branch only

* Update Makefile to delete extensions folder on jan root

* Correct version for nightly build ci pipeline

* Add direct url for nightly build to README.md file

* Correct make clean path for windows

* Remove nightly build session in README

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-02 17:33:53 +07:00
hiento09
5ef49c8684
Correct jq command cause ci nightly build run failed (#1104)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-19 17:31:22 +07:00
hiento09
96b00bd284
Fix auto update windows Bug (#1102)
* upgrade electron-updater and electron-builder for fixing windows autoupdater

* windows specific target build

* Add block map for windows nightly build

* content-type blocksize change to application/gzip

* content-type blocksize change to application/octet-stream

* remove content-type for windows

* add custom sign for windows

* correct exe file path for binary file

* Add windows codesign step to electron-builder

---------

Co-authored-by: Service Account <service@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-19 16:33:53 +07:00
hiento09
a296cb2c85
Feature autoupdater for nightly build (#1068)
* CI nightly build enable auto-updater

* Add jobs dependencies

* add continue on error for task delete latest folder on R2

* Switch to use aws s3api

* Switch to use bash for make build command

* Fix error region aws s3cli command

* Fix makefile command error on windows

* Change content type of yaml file upload to R2

* add retry curl github api

* Fix error command aws s3api delete-objects

* quit from tty for aws s3api command

* CI nightly build enable auto-updater

* Add jobs dependencies

* add continue on error for task delete latest folder on R2

* Switch to use aws s3api

* Switch to use bash for make build command

* Fix error region aws s3cli command

* Fix makefile command error on windows

* Change content type of yaml file upload to R2

* add retry curl github api

* Fix error command aws s3api delete-objects

* quit from tty for aws s3api command

* Correct yml file for auto updater electron

* Add channel for auto-updater

* Add channel for auto-updater

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Service Account <service@jan.ai>
2023-12-19 00:06:09 +07:00
hiento09
9dd13716be
Separate posthog project for jan app and docs (#1029)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-15 12:50:17 +07:00
hiento09
66cd1817f9
fix bug #1013, enable posthog for release app version only (#1019)
Co-authored-by: Hien To <hien@jan.ai>
2023-12-15 10:52:59 +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
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
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
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
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
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
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
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