Louis
035cc0f79c
Sync Release/v0.6.0 into dev ( #5293 )
...
* 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>
2025-06-16 17:27:42 +07:00
Louis
27c4918395
fix: default settings should leave empty ( #5257 )
...
* fix: default settings should leave empty
* fix: default settings
* fix: remove some more default settings
* fix: threads and cont
* fix: data
* fix: default setting
* fix: settings
* chore: bump cortex version
* chore: bump to cortex 1.0.14
* chore: clean up
* typoe
* chore: fix dialog hang
* fix: default parameter
* chore: truncate edit model title
* chore: update default provider settings
* chore: fix typo
---------
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-06-13 00:01:25 +07:00
Faisal Amir
d2e88ffdc4
fix: update style cortex dialog ( #5245 )
2025-06-12 00:09:19 +07:00
Faisal Amir
44b5310a6a
fix/pretify json when paste content ( #5216 )
2025-06-09 11:04:29 +07:00
Louis
b72259d78f
chore: trim all mcp server configs before saving ( #5211 )
2025-06-07 00:55:12 +07:00
Faisal Amir
ac8a3b4f96
feat: store last use model ( #5201 )
2025-06-05 14:32:22 +07:00
Faisal Amir
da10502bdd
fix: remind me later updater ( #5191 )
...
* fix: remind me later app updater
* chore: update state app updater
* chore sync state
2025-06-04 15:35:38 +07:00
Faisal Amir
a88da16edc
chore: hide some model capabilities ( #5189 )
...
* chore: hide some model capabilities
* chore: update model setting description
* chore: disable vision and embedding and add tooltip
---------
Co-authored-by: Louis <louis@jan.ai>
2025-06-04 12:11:16 +07:00
Nguyen Ngoc Minh
9c825956e8
ci: tauri build macos ( #5184 )
...
* ci: tauri build macos
* chore: comment out electron builder .zip.sig file to s3
* chore: enable auto updater tauri
* chore: comment out s3 upload mac.zip.sig
* chore: handle remind me later state
* chore: add dll file windows
* chore: add debug step verbose
* ci: add msvcp140_codecvt_ids.dll bundle windows
* chore: update download progress
* chore: update app updater UI
* chore: remove log
* chore: reload app after download app
* chore: reset remindmelater
2025-06-03 23:00:04 +07:00
Faisal Amir
135e75b812
fix: avatar assistants render ( #5181 )
...
* fix: avatar assistants render
* fix: delete assistant
* Update web-app/src/containers/dialogs/AddEditAssistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-03 20:00:25 +07:00
Faisal Amir
aeba895250
fix: app updater state ( #5171 )
2025-06-02 22:25:38 +07:00
Faisal Amir
d56686fd21
chore: check app update via general setting ( #5167 )
2025-06-02 20:33:48 +07:00
Faisal Amir
b98c31b184
enhancement: open folder log and change data folder dialog confirm ( #5159 )
...
* enhancement: ux change data folder with confirmation and reveal in finder logs
* chore: update button open logs local api server
* Update web-app/src/components/ui/button.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: handle error when change location data folder failed
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-02 08:54:16 +07:00
Faisal Amir
057accfb96
enhancement: ux tool call permission dialog and state active ( #5157 )
...
* enhancement: mcp toold dialog approval
* enhancement: update mcp tool enable or disable
* chore: add toggle mcl global permission
2025-06-01 23:58:20 +07:00
Faisal Amir
1b3f16b3e1
feat: start and stop model ( #5133 )
...
* feat: start and stop model
* refactor: clean up start models
---------
Co-authored-by: Louis <louis@jan.ai>
2025-05-29 13:23:12 +07:00
Faisal Amir
cfcc99d75f
feat: predefined params ( #5128 )
2025-05-28 20:09:48 +07:00
Faisal Amir
0b312f7a06
chore: translation ( #5097 )
...
* chore: translation
* Update web-app/src/locales/id/common.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-25 17:25:23 +07:00
Faisal Amir
a29152aa76
fix: text component scaling ( #5090 )
...
* fix: text component scaling
* chore: update scaling text xs to 0.75
2025-05-25 01:09:07 +07:00
Louis
125104320e
chore: handle many issues with app settings and message actions ( #5086 )
...
* chore: handle many issues with app settings and message actions
* Update web-app/src/services/mcp.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-23 21:23:52 +07:00
Faisal Amir
dfe15fac32
enhancement: built-in custom emoji and show metadata message ( #5085 )
...
* enhancement: built-in custom emoji and show metadata message
* chore: seperate render avatar as component
* fix: avatar on assistant screen
2025-05-23 15:37:47 +07:00
Sam Hoang Van
7df7d8ffa0
feat: Implement Cortex server auto-restart and webview notification ( #5074 )
...
* feat: Implement Cortex server auto-restart and webview notification
Implements a robust auto-restart mechanism for the Cortex server (sidecar)
managed by the Tauri backend.
Key changes:
Backend (src-tauri):
- Modified `core/setup.rs` to:
- Loop sidecar spawning, attempting up to `MAX_RESTARTS` (5) times with a
`RESTART_DELAY_MS` (5 seconds) between attempts.
- Monitor the sidecar process for unexpected termination (crashes or
non-zero exit codes).
- Reset the restart attempt count to 0 in `AppState` upon a successful
server spawn.
- Emit a "cortex_max_restarts_reached" event to the webview if the
server fails to start after `MAX_RESTARTS`.
- Updated `core/state.rs` to include `cortex_restart_count: Arc<Mutex<u32>>`
in `AppState` to track restart attempts.
- Added a new Tauri command `reset_cortex_restart_count` in `core/cmd.rs`
to allow the webview (or other parts of the app) to reset this counter.
- Registered the new command and initialized the `cortex_restart_count`
in `lib.rs`.
Frontend (web-app):
- Created a new component `CortexFailureDialog.tsx` in
`src/containers/dialogs/` to:
- Listen for the "cortex_max_restarts_reached" event from Tauri.
- Display a dialog informing the user that the local AI engine (Cortex)
failed to start after multiple attempts.
- Offer options to "Contact Support" (opens jan.ai/support),
"Restart Jan" (invokes the `relaunch` Tauri command), or "Okay"
(dismisses the dialog).
- Integrated the `CortexFailureDialog` into the `RootLayout` in
`src/routes/__root.tsx` so it's globally available.
- Corrected button variants in `__root.tsx` to use `variant="default"`
with appropriate classNames for outline styling, resolving TypeScript
errors.
* refactor: Improve async handling and logging in setup_sidecar function
2025-05-22 23:09:43 +07:00
Faisal Amir
434abaaca6
chore: app updater UI ( #5054 )
...
* chore: initial app updater UI and download management enhance
* chore: revert package version
* chore: update conditional app updater
* chore: remove console
* chore: add utils isDev
* chore: close popup when user click download
* revert yarn lock
2025-05-22 11:54:06 +07:00
Faisal Amir
80cfd57dbd
chore: cleanup unused code
2025-05-21 23:52:30 +07:00
Faisal Amir
974f7901e6
feat: add assistant emoji picker
2025-05-21 23:45:49 +07:00
Louis
d5393e4563
feat: add custom OpenAI provider ( #5033 )
...
* feat: add custom OpenAI provider
* chore: add HF token setting
* chore: move HF token setting to llama.cpp provider - later deprecate model extension
2025-05-20 14:30:51 +07:00
vansangpfiev
837d3ab0e3
chore: remove electron nightly/manual ( #5027 )
...
* chore: remove electron nightly/manual
* chore: change nightly pull request branch
2025-05-20 10:22:13 +07:00
Louis
9047d0df4f
chore: remove unnecessary imports
2025-05-20 09:42:34 +07:00
Faisal Amir
afb8ff716a
chore: add functiond delete and params type assistant
2025-05-19 22:47:57 +07:00
Faisal Amir
1c81e5a95e
chore: remove lock
2025-05-19 13:00:28 +07:00
Louis
2345ff172d
chore: update model handlers on the new frontend ( #5011 )
...
* chore: provide model handlers to new frontend
* chore: add API server function to the new front end
2025-05-19 10:39:43 +07:00
Faisal Amir
852ea84cd8
epic: Jan with new UI/UX ( #4964 )
...
* chore: initial new FE setup
* chore: update namespace text-left-panel foreground variable
* chore: enable dynamic mainview color
* chore: remove greetings new chat
* chore: fix chat input style
* chore: simplify hook useAppearance
* chore: enable internationalization
* chore: prepare vn locale
* chore: keyboardshortcut layout
* chore: update keyboard shortcut exclude pathname
* chore: update state active setting route
* chore: fix update theme by system
* chore: handle dynamic primary color
* chore: fix left panel navigation active state and styled item privacy analytic
* chore: reorder general setting being a first
* chore: add function reset appearance
* chore: update scrollbar
* chore: update delete thread with dialog confirmation
* chore: update state dialog inside dropdown menu
* chore: wip thread detail or chat page
* chore: wip model dropdown
* chore: prepare model dropdown select
* chore: update model providers setting
* chore: show provider on model dropdown based isActive toogle
* chore: update layout model provider
* chore: update state active on storage
* chore: update gap of item dropdown model
* chore: update select model base on id
* chore: update edit model capabilities
* chore: add dialog to add model
* chore: update sheet for model setting
* chore: add sheet setting each model
* chore: make dynamic syntax highlight
* chore: fix menu setting appearance theme
* chore: markdown render support emoji
* chore: markdown support latex
* chore: change codeblock default theme
* chore: update ui codeblock
* chore: custom render link taget new window
* chore: fix copy button codeblock
* chore: update accent and desctructive color
* chore: setup user chat message
* chore: prepare some page settings
* chore: simple list extension and prepare mcp, local api, and hardware
* chore: mcp-serve
* chore: MCP server UI
* chore: update local api server config
* chore: adjust chat input
* chore: update local api server log
* chore: prepare hub page
* chore: remove help page
* chore: update mock
* chore: prepare http proxy setting UI
* chore: adjust local api server and title every action
* fix: chore FE package (#4962 )
* fix: update command which referred to non-existent web app
* fix: added commented out macos platform for now
* fix: remove the platform name as macos
* fix: remove unnecessary line for platform name in HeaderPage component
* fix: update dev script to specify port 3000 for Vite
* feat: model providers and chat completion
* enhancement: threads performance
* fix: thread content update
* chore: clean up threads
* fix: performance issue with streaming and state loop
* fix: streaming
* fix: react markdow
* feat: extension manager
* chore: add nodePolyfills include path
* chore: improve performance avoid unhandle rejection
* chore: update pre margin bottom
* chore: swith thread should be deafult scroll to bottom
* chore: wip scroll to bottom
* chore: add model loader
* chore: add platform utils
* feat: threads functionality
* chore: setup toaster
* chore: persist threads deletion
* fix: create thread with new message
* chore: create new thread should change route path
* chore: navigate after delet dialog thread
* chore: thread favorites and orders
* chore: dismiss deleting modal on delete
* chore: remove undefined properties
* chore: remove deprecated run step
* chore: fix delete thread
* chore: create empty thread content on started streaming
* chore: correct messages store key
* chore: stuck at generating state
* chore: preapre chat toolbar
* chore: introduce in-memory app state
* chore: update extensions migration logic
* chore: remove redundant extensions migration gate
* chore: message toolbar user and assistant
* chore: add logo gemini
* feat: remote providers with model capabilities
* chore: maintain provider settings
* chore: move speed token into chat input
* chore: temp harcoded model loader
* chore: make chat text selectable and truncate model list
* chore: update shortcut UI
* Feat/implement threads (#4977 )
* chore: add fuse.js library for enhanced search functionality
* feat: implement thread filtering with Fuse.js for improved search capabilities
* fix: update the fuseOptions
* feat: add search functionality to LeftPanel and refactor thread retrieval logic
* refactor: optimize thread filtering and improve search functionality in LeftPanel
* fix: more edits
* refactor: remove duplicate import of useAppState in StreamingContent component
* chore: update navigate after delete all thread
* chore: pass prop speedToken from new chat input
* chore: persist provider general settings
* chore: styling search left panel
* chore: cleanup margin
* chore: update size icon
* chore: improve chat input
* chore: imprve list markdown
* chore: animate border
* feat: local model provider work
* chore: persist manually added model
* chore: prepare download management ui and show version on general setting
* chore: improve pre tag
* chore: remove buton install extension and improve light theme download
* chore: add missing hardware information handler
* chore: cleanup small ui
* chore: update default provider settings
* fix: missing fs commands
* chore: correct provider models
* chore: prepare delete model
* chore: handle thinking block
* chore: fix conditional message toolbar
* chore: pophover download select none
* enhancement: add prune mode
* chore: model settings
* chore: bump engine version tauri
* chore: update style thinking
* chore: add indicator and toogle mcp server
* chore: wip hub
* chore: update model settings
* chore: mvp hub
* chore: add function rename title
* chore: update function delete message
* chore: update rename title
* chore: update model settings
* chore: persist MCP configs
* refactor: clean up utils
* chore: add tools to completion request
* chore: clean up
* chore: ignore assets
---------
Co-authored-by: Ivan Leo <ivanleomk@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2025-05-15 19:38:59 +07:00