* chore: enable shortcut zoom (#5261) * chore: enable shortcut zoom * chore: update shortcut setting * fix: thinking block (#5263) * Merge pull request #5262 from menloresearch/chore/sync-new-hub-data chore: sync new hub data * ✨enhancement: model run improvement (#5268) * fix: mcp tool error handling * fix: error message * fix: trigger download from recommend model * fix: can't scroll hub * fix: show progress * ✨enhancement: prompt users to increase context size * ✨enhancement: rearrange action buttons for a better UX * 🔧chore: clean up logics --------- Co-authored-by: Faisal Amir <urmauur@gmail.com> * fix: glitch download from onboarding (#5269) * ✨enhancement: Model sources should not be hard coded from frontend (#5270) * 🐛fix: default onboarding model should use recommended quantizations (#5273) * 🐛fix: default onboarding model should use recommended quantizations * ✨enhancement: show context shift option in provider settings * 🔧chore: wording * 🔧 config: add to gitignore * 🐛fix: Jan-nano repo name changed (#5274) * 🚧 wip: disable showSpeedToken in ChatInput * 🐛 fix: commented out the wrong import * fix: masking value MCP env field (#5276) * ✨ feat: add token speed to each message that persist * ♻️ refactor: to follow prettier convention * 🐛 fix: exclude deleted field * 🧹 clean: all the missed console.log * ✨enhancement: out of context troubleshooting (#5275) * ✨enhancement: out of context troubleshooting * 🔧refactor: clean up * ✨enhancement: add setting chat width container (#5289) * ✨enhancement: add setting conversation width * ✨enahncement: cleanup log and change improve accesibility * ✨enahcement: move const beta version * 🐛fix: optional additional_information gpu (#5291) * 🐛fix: showing release notes for beta and prod (#5292) * 🐛fix: showing release notes for beta and prod * ♻️refactor: make an utils env * ♻️refactor: hide MCP for production * ♻️refactor: simplify the boolean expression fetch release note --------- Co-authored-by: Faisal Amir <urmauur@gmail.com> Co-authored-by: LazyYuuki <huy2840@gmail.com> Co-authored-by: Bui Quang Huy <34532913+LazyYuuki@users.noreply.github.com>
114 lines
3.2 KiB
JSON
114 lines
3.2 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Jan",
|
|
"version": "0.5.16",
|
|
"identifier": "jan.ai.app",
|
|
"build": {
|
|
"frontendDist": "../web-app/dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": "cross-env IS_TAURI=true yarn dev:web",
|
|
"beforeBuildCommand": "cross-env IS_TAURI=true yarn build:web"
|
|
},
|
|
"app": {
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"zoomHotkeysEnabled": true,
|
|
"label": "main",
|
|
"title": "Jan",
|
|
"width": 1024,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"center": true,
|
|
"hiddenTitle": true,
|
|
"transparent": true,
|
|
"trafficLightPosition": {
|
|
"x": 12,
|
|
"y": 22
|
|
},
|
|
"decorations": true,
|
|
"titleBarStyle": "Overlay",
|
|
"windowEffects": {
|
|
"effects": ["fullScreenUI", "mica", "tabbed", "blur", "acrylic"],
|
|
"state": "active",
|
|
"radius": 8
|
|
}
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": {
|
|
"default-src": "'self' customprotocol: asset: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*",
|
|
"connect-src": "ipc: http://ipc.localhost http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* https: http:",
|
|
"font-src": [
|
|
"https://fonts.gstatic.com blob: data: tauri://localhost http://tauri.localhost"
|
|
],
|
|
"img-src": "'self' asset: http://asset.localhost blob: data: https://cdn.jsdelivr.net",
|
|
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
|
|
"script-src": "'self' asset: $APPDATA/**.* http://asset.localhost"
|
|
},
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": {
|
|
"requireLiteralLeadingDot": false,
|
|
"allow": ["**/*"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"os": {
|
|
"version": "latest",
|
|
"resolve": true
|
|
},
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDJFNDEzMEVCMUEzNUFENDQKUldSRXJUVWE2ekJCTGc1Mm1BVXgrWmtES3huUlBFR0lCdG5qbWFvMzgyNDhGN3VTTko5Q1NtTW0K",
|
|
"endpoints": [
|
|
"https://github.com/menloresearch/jan/releases/latest/download/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
},
|
|
"deep-link": { "schemes": ["jan"] }
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["nsis", "app", "dmg", "deb", "appimage"],
|
|
"createUpdaterArtifacts": false,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": [
|
|
"resources/pre-install/**/*",
|
|
"resources/lib/",
|
|
"binaries/**/*"
|
|
],
|
|
"externalBin": [
|
|
"binaries/cortex-server",
|
|
"resources/bin/bun",
|
|
"resources/bin/uv"
|
|
],
|
|
"linux": {
|
|
"appimage": {
|
|
"bundleMediaFramework": false,
|
|
"files": {}
|
|
},
|
|
"deb": {
|
|
"files": {
|
|
"usr/bin/bun": "resources/bin/bun",
|
|
"usr/lib/Jan/binaries": "binaries/deps",
|
|
"usr/lib/Jan/binaries/engines": "binaries/engines"
|
|
}
|
|
}
|
|
},
|
|
"windows": {
|
|
"signCommand": "powershell -ExecutionPolicy Bypass -File ./sign.ps1 %1"
|
|
}
|
|
}
|
|
}
|