4978 Commits

Author SHA1 Message Date
Faisal Amir
ac8a3b4f96
feat: store last use model (#5201) 2025-06-05 14:32:22 +07:00
David
3cdbff53eb fix: file system mcp server missing param 2025-06-05 14:32:10 +07:00
Faisal Amir
a84034c552
chore: thinking block auto collapse when streaming finish (#5202)
* chore: thinking block  auto collapse when streaming finish

* chore: fix padding
2025-06-05 14:29:33 +07:00
Faisal Amir
8ee4969aa9
fix: dropdown model position (#5199) 2025-06-05 12:07:43 +07:00
Faisal Amir
2588c3fa55
fix: truncate tool name (#5198)
* fix: truncate tool name

* fix: border hub search
2025-06-05 00:47:11 +07:00
Sam Hoang Van
9c9a9cb521
feat: integrate fuzzy search into model dropdown (#5197)
* feat: integrate fuzzy search into model dropdown

- Replace DropdownMenu with Popover for better search UX
- Include search input with clear functionality
- Reorganize layout with capabilities at end of row
- Maintain provider grouping and model selection functionality

Improves model discovery and selection with instant search across
model names, providers, and capabilities.

* chore: enhance input search style

* feat: enhance model dropdown with search highlighting and fixed positioning

- Add FZF search highlighting with text-accent color for matched characters
- Fix dropdown to only appear below (prevent upward positioning)
- Import highlightFzfMatch utility for search result highlighting
- Update SearchableModel interface to include highlightedId property
- Modify FZF selector to target model.id for more accurate highlighting
- Use dangerouslySetInnerHTML to render highlighted search matches
- Add avoidCollisions=false to PopoverContent for consistent positioning

---------

Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-06-05 00:30:38 +07:00
Louis
fb7dc21135
chore: update MCP servers list (#5195)
* chore: update MCP servers list

* chore: rename

* chore: attempt to stop models before updating

* chore: clean up logs

* chore: fix bug refresh
2025-06-04 21:47:27 +07:00
David
f97a51b34d
Merge pull request #5196 from menloresearch/fix/add-missing-default-host-ip
fix: add missing default host ip
2025-06-04 20:42:32 +07:00
David
534a673c51 fix: add missing default host ip 2025-06-04 20:08:41 +07:00
Louis
cb3ac4b136
feat: Jan API Server should have API Key setting (#5193)
* feat: Jan API Server should have API Key setting

* chore: reveal api key icon

* Update src-tauri/src/core/server.rs

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* chore: add validation apiKey

---------

Co-authored-by: Faisal Amir <urmauur@gmail.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 18:04:47 +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
Louis
6faca3e732
refactor: remove JS server package (#5192)
* refactor: remove js server package

* chore: migrate HF token data
2025-06-04 15:33:35 +07:00
David
30acc6f493
Merge pull request #5186 from menloresearch/fix/headers-validations-for-local-api-server
Fix: headers validations for local api server
2025-06-04 12:45: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
Faisal Amir
7ca57e1fa7
fix: hub refresh state (#5190) 2025-06-04 12:11:03 +07:00
David
b674a521f2 fix: validate trusted hosts for local api server 2025-06-04 11:50:51 +07:00
Louis
a3e78dd563
refactor: clean up migrations (#5187) 2025-06-04 00:41:14 +07:00
Louis
171b1e8c60
fix: handle tool availability states (#5183)
* fix: handle tool availability states

* Update web-app/src/hooks/useToolAvailable.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update web-app/src/hooks/useToolAvailable.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update web-app/src/hooks/useToolAvailable.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* fix: hub refresh

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 00:17:39 +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
Louis
7dc51c5e0f
fix: relocate jan data folder (#5179)
* fix: relocate jan data folder failed

* fix: avoid infinite recursion

* chore: kill background processes to unblock factory reset

* chore: stop models before reset factory

* chore: clean up

* chore: clean up

* fix: show error

* chore: get active models should not have retry
2025-06-03 21:23:42 +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
Sam Hoang Van
a3ebabfd4e
feat: add updateThreadTimestamp function to manage thread order and timestamp updates (#5180) 2025-06-03 18:53:58 +07:00
Louis
cf56f7e5c0
fix: migration should wait for extensions load (#5177)
* fix: migration should wait for extensions load

* fix: check engines load

* chore: resolve out of attempts
2025-06-03 18:04:07 +07:00
Faisal Amir
6861c46ac6
feat: setting toggle vulkan (#5126)
* feat: setting toggle vulkan

* feat: add vulkan toggle setting

* chore: default flash attention disable

* chore: fix vulkan retrieval

* fix: vulkan setting does not affect engine run

* Update web-app/src/routes/settings/hardware.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-03 13:56:23 +07:00
Louis
de9c59d309
chore: enhance MCP permission settings (#5178)
* chore: enhance MCP permission settings

* chore: bring default mcp servers in

* chore: default mcp servers are inactive
2025-06-03 13:36:21 +07:00
Sam Hoang Van
307ea39413
fix: handle undefined search index in getFilteredThreads (#5175) 2025-06-03 11:29:19 +07:00
Louis
ecef9d7df6
feat: handle open Jan on HF GGUF repo (#5173)
* feat: handle open Jan on HF GGUF repo

* chore: reset retry attempts
2025-06-03 01:09:36 +07:00
Louis
817e3175f3
fix: model run failed on windows (#5168)
* fix: model run failed on windows

* chore: fix dependency path on windows
2025-06-03 00:03:10 +07:00
Faisal Amir
aeba895250
fix: app updater state (#5171) 2025-06-02 22:25:38 +07:00
Faisal Amir
b0d3d485cf
fix: sticky action scroll to bottom when edit message (#5169) 2025-06-02 22:00:12 +07:00
Faisal Amir
d56686fd21
chore: check app update via general setting (#5167) 2025-06-02 20:33:48 +07:00
Louis
1a0f643d87
refactor: clean up repo (#5165)
* chore: remove legacy themes

* refactor: clean up dependencies

* chore: remove cuda 11 dependency - fix linux LD_LIBRARY_PATH

* fix: load models issue on Linux

# Conflicts:
#	src-tauri/src/core/setup.rs

* chore: do not download cuda 11 by default

* chore: remove cuda 11 from installer

* fix: cuda lookup on Linux
2025-06-02 19:03:06 +07:00
Thien Tran
8509479dfb
fix: Fix hwinfo bugs (#5164)
* add libnvidia-ml.so.1 fallback for linux

* fix AMD memory usage on Linux

* add os_type. use std::env::consts::ARCH directly
2025-06-02 17:39:10 +08:00
Louis
ae6d343d19
fix: create new provider should not have previous settings (#5166) 2025-06-02 15:56:11 +07:00
Louis
302ebc0a72
chore: remove build:joi step 2025-06-02 15:35:34 +07:00
Louis
38c9cf9a68
refactor: deprecate legacy packages and clean up build scripts (#5162)
* refactor: deprecate legacy packages and clean up build scripts

* chore: remove joi publish workflow

* chore: core publish run on dispatch only

* chore: correct version bump on web package

* chore: make dev for tauri target
2025-06-02 14:29:17 +07:00
Faisal Amir
5d070f6a17
fix/solid background for linux and web (#5163) 2025-06-02 14:25:14 +07:00
Faisal Amir
5c60d2887a
fix: race condition get Assistant (#5161) 2025-06-02 14:17:55 +07:00
Faisal Amir
5dd4b62bcc fix: tooltip tools chat input 2025-06-02 12:31:58 +07:00
Faisal Amir
fa9d81e3b2
enhancement/tmp-hide-attachment-icon (#5160) 2025-06-02 10:02:03 +07:00
Faisal Amir
101e692e50
fix: remove capitalize class from provider name (#5158) 2025-06-02 09:37:31 +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
Louis
573e667c34
feat: migrate legacy local storage data to new app (#5156)
* feat: migrate legacy local storage data to new app

* chore: refactor localstorage db read

* chore: clean up

* chore: migrate api key setting

* chore: apply proxy configs

* chore: fix key
2025-06-01 22:57:01 +07:00
Louis
646ba86de8
fix: extension settings are not retained in new sessions (#5154) 2025-05-31 21:28:08 +07:00
Nguyen Ngoc Minh
88c7a0fcb6
ci: add tauri build nightly manual (#5153)
* ci: add tauri build nightly manual

* ci: add template tauri build for linux mac and windows
2025-05-31 16:24:24 +07:00
Nguyen Ngoc Minh
9265a56f04
ci: deprecate electron build (#5149)
* ci: deprecate electron build
2025-05-30 19:43:06 +07:00
Faisal Amir
120de819e7
fix: avoid floating content when render table markdown (#5148) 2025-05-30 17:33:38 +07:00
Faisal Amir
81a7248a93
enhancement: querry search hub include list of model (#5147) 2025-05-30 15:09:43 +07:00
Faisal Amir
cde10a662c
chore: render markdown on user message (#5146) 2025-05-30 15:09:28 +07:00