You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jan can be "packaged" to different platforms including Mobile.
Better user installation experience.
Current Architecture
Jan's frontend application is extensible, with core APIs and logic implementations primarily implemented from core extensions (engine management, conversational, model, cortex...). Requests from UI components to the extension's implementations.
Application extensions can run on two different hosts: the browser and NodeJS. Need to look into it when transitioning to Tauri.
Jan's backend is the cortex.cpp server, which processes most requests.
There are native APIs that are bridged from the browser to the Electron main host, which run on NodeJS. E.g. setNativeTheme..
Desired Behavior
Jan shouldn't be locked into one toolkit. Added src-tauri as an alternative bundler. Checkout refactor/support-tauri-toolkit
Support running cortex-server as a sidecar binary for long-term operations. It currently runs as a sidecar process without a watchdog (self-restart) mechanism. We need to improve the process spawner and also support multi-architectures binary support (bundle script?).
Implement native commands like setNativeTheme and factoryReset. Some app functions require native APIs to work, as seen in the link provided. core/src/browser
Deprecate Node Extension Host. It now supports only browser host, eliminating the need for multiple entries in the extension implementation. Some of these refactoring would really help:
imtuyethan
changed the title
idea: Jan supports Tauri as an alternative build option
roadmap: Jan supports Tauri as an alternative build option
Jan 20, 2025
Problems
Goals
Current Architecture
setNativeTheme
..Desired Behavior
src-tauri
as an alternative bundler. Checkoutrefactor/support-tauri-toolkit
core/src/browser
Additional Context
Notes:
To run from
refactor/support-tauri-toolkit
branch:src-tauri/binaries
, rename it accordingly as described here https://v2.tauri.app/develop/sidecar/yarn dev:tauri
The text was updated successfully, but these errors were encountered: