Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Merge branch 'release/v0.7.0' into feat/inference-llamacpp-extension
Louis6e0218c08424
diff --cc Makefileindex e72a4e645,5bd42c755..964177c4c--- a/Makefile+++ b/Makefile@@@ -66,36 -68,37 +68,37 @@@ ifeq ($(OS),Windows_NT-powershell -Command "Remove-Item -Recurse -Force ./src-tauri/target"-powershell -Command "if (Test-Path \"$($env:USERPROFILE)\jan\extensions\") { Remove-Item -Path \"$($env:USERPROFILE)\jan\extensions\" -Recurse -Force }"else ifeq ($(shell uname -s),Linux)- find . -name "node_modules" -type d -prune -exec rm -rfv '{}' +- find . -name ".next" -type d -exec rm -rfv '{}' +- find . -name "dist" -type d -exec rm -rfv '{}' +- find . -name "build" -type d -exec rm -rfv '{}' +- find . -name "out" -type d -exec rm -rfv '{}' +- find . -name ".turbo" -type d -exec rm -rfv '{}' +- find . -name ".yarn" -type d -exec rm -rfv '{}' +- find . -name "packake-lock.json" -type f -exec rm -rfv '{}' +- find . -name "package-lock.json" -type f -exec rm -rfv '{}' +- rm -rfv ./pre-install/*.tgz- rm -rfv ./extensions/*/*.tgz- rm -rfv ./electron/pre-install/*.tgz- rm -rfv ./src-tauri/resources- rm -rfv ./src-tauri/target- rm -rfv ~/.local/share/Jan/data/extensions- rm -rfv ~/.cache/jan*+ find . -name "node_modules" -type d -prune -exec rm -rf '{}' ++ find . -name ".next" -type d -exec rm -rf '{}' ++ find . -name "dist" -type d -exec rm -rf '{}' ++ find . -name "build" -type d -exec rm -rf '{}' ++ find . -name "out" -type d -exec rm -rf '{}' ++ find . -name ".turbo" -type d -exec rm -rf '{}' ++ find . -name ".yarn" -type d -exec rm -rf '{}' ++ find . -name "packake-lock.json" -type f -exec rm -rf '{}' ++ find . -name "package-lock.json" -type f -exec rm -rf '{}' ++ rm -rf ./pre-install/*.tgz+ rm -rf ./extensions/*/*.tgz+ rm -rf ./electron/pre-install/*.tgz+ rm -rf ./src-tauri/resources+ rm -rf ./src-tauri/target+ rm -rf "~/jan/extensions"+ rm -rf "~/.cache/jan*"+ rm -rf "./.cache"else- find . -name "node_modules" -type d -prune -exec rm -rf '{}' +- find . -name ".next" -type d -exec rm -rf '{}' +- find . -name "dist" -type d -exec rm -rf '{}' +- find . -name "build" -type d -exec rm -rf '{}' +- find . -name "out" -type d -exec rm -rf '{}' +- find . -name ".turbo" -type d -exec rm -rf '{}' +- find . -name ".yarn" -type d -exec rm -rf '{}' +- find . -name "package-lock.json" -type f -exec rm -rf '{}' +- rm -rf ./pre-install/*.tgz- rm -rf ./extensions/*/*.tgz- rm -rf ./electron/pre-install/*.tgz- rm -rf ./src-tauri/resources- rm -rf ./src-tauri/target- rm -rf ~/jan/extensions- rm -rf ~/Library/Caches/jan*+ find . -name "node_modules" -type d -prune -exec rm -rfv '{}' ++ find . -name ".next" -type d -exec rm -rfv '{}' ++ find . -name "dist" -type d -exec rm -rfv '{}' ++ find . -name "build" -type d -exec rm -rfv '{}' ++ find . -name "out" -type d -exec rm -rfv '{}' ++ find . -name ".turbo" -type d -exec rm -rfv '{}' ++ find . -name ".yarn" -type d -exec rm -rfv '{}' ++ find . -name "package-lock.json" -type f -exec rm -rfv '{}' ++ rm -rfv ./pre-install/*.tgz+ rm -rfv ./extensions/*/*.tgz+ rm -rfv ./electron/pre-install/*.tgz+ rm -rfv ./src-tauri/resources+ rm -rfv ./src-tauri/target+ rm -rfv ~/jan/extensions+ rm -rfv ~/Library/Caches/jan*endifdiff --cc package.jsonindex 9c201edfc,ce2e96117..b0def46db--- a/package.json+++ b/package.json@@@ -20,13 -23,20 +23,14 @@@"test:e2e:darwin": "echo 'E2E tests are not supported on macOS yet due to WebDriver limitations'","test:e2e": "run-script-os","dev:web": "yarn workspace @janhq/web-app dev",- "dev:tauri": "CLEAN=true yarn build:icon && yarn copy:assets:tauri && tauri dev",- "install:cortex:linux:darwin": "cd src-tauri/binaries && ./download.sh",- "install:cortex:win32": "cd src-tauri/binaries && download.bat",- "install:cortex": "run-script-os",+ "dev:tauri": "yarn build:icon && yarn copy:assets:tauri && tauri dev","copy:assets:tauri": "cpx \"pre-install/*.tgz\" \"src-tauri/resources/pre-install/\"",- "copy:lib": "run-script-os",- "copy:lib:linux": "cpx \"./lib/linux/*.so\" \"./src-tauri/resources/lib/\"",- "copy:lib:win32": "cpx \"./lib/windows/*.dll\" \"./src-tauri/resources/lib/\"",- "copy:lib:darwin": "mkdir -p \"./src-tauri/resources/lib/\"",+ "download:lib": "node ./scripts/download-lib.mjs","download:bin": "node ./scripts/download-bin.mjs",- "build:tauri:linux:win32": "yarn download:bin && yarn build:icon && yarn copy:assets:tauri && yarn tauri build",- "build:tauri:darwin": "yarn build:icon && yarn copy:assets:tauri && yarn tauri build --target universal-apple-darwin",- "build:tauri": "run-script-os",+ "build:tauri:win32": "yarn download:bin && yarn tauri build",+ "build:tauri:linux": "yarn download:bin && ./src-tauri/build-utils/shim-linuxdeploy.sh yarn tauri build && ./src-tauri/build-utils/buildAppImage.sh",+ "build:tauri:darwin": "yarn tauri build --target universal-apple-darwin",+ "build:tauri": "yarn install:cortex && yarn build:icon && yarn copy:assets:tauri && run-script-os","build:icon": "tauri icon ./src-tauri/icons/icon.png","build:core": "cd core && yarn build && yarn pack","build:web": "yarn workspace @janhq/web-app build",diff --cc web-app/package.jsonindex 116cc8248,3fac4a411..150eb05d2--- a/web-app/package.json+++ b/web-app/package.json@@@ -76,11 -78,10 +78,14 @@@"devDependencies": {"@eslint/js": "^9.22.0","@tanstack/router-plugin": "^1.116.1",+ "@testing-library/dom": "^10.4.0",+ "@testing-library/jest-dom": "^6.6.3",+ "@testing-library/react": "^16.3.0",+ "@testing-library/user-event": "^14.6.1","@types/culori": "^2.1.1",+ "@types/istanbul-lib-report": "^3",+ "@types/istanbul-reports": "^3",+ "@types/lodash.clonedeep": "^4","@types/lodash.debounce": "^4","@types/node": "^22.14.1","@types/react": "^19.0.10",@@@ -91,7 -93,10 +97,11 @@@"eslint-plugin-react-hooks": "^5.2.0","eslint-plugin-react-refresh": "^0.4.19","globals": "^16.0.0",+ "istanbul-api": "^3.0.0",+ "istanbul-lib-coverage": "^3.2.2",+ "istanbul-lib-report": "^3.0.1",+ "istanbul-reports": "^3.1.7",+ "jsdom": "^26.1.0","tailwind-merge": "^3.2.0","typescript": "~5.8.3","typescript-eslint": "^8.26.1",