4958 Commits

Author SHA1 Message Date
Thien Tran
bbfc754fa4
chore: update make clean (#5112) 2025-05-27 13:33:24 +08:00
David
db731efb62
Merge pull request #5107 from menloresearch/fix/janhq-url-correction
Fix: janhq url correction
2025-05-27 10:15:20 +07:00
Faisal Amir
e08b98ec6a
fix: overflow content codeblock (#5110) 2025-05-27 10:07:36 +07:00
Thien Tran
6415be9c74
feat: Support download resume (#5111)
* initial support

* append instead of replace extension
2025-05-27 10:46:49 +08:00
Faisal Amir
e312913088
fix: prevent send message when empty message (#5109) 2025-05-27 09:33:51 +07:00
Louis
0fbc4a4664
chore: add function to model settings (#5108) 2025-05-26 18:53:08 +07:00
David
eb97e4ef26 fix: correct jan repo url 2025-05-26 16:52:32 +07:00
Louis
3aaa6078c0
chore: sync dev to release/v0.5.18 (#5106)
* chore: Jan's code is now under the Apache license (#5042)

* make the model selector popup responsive and wider for bigger screens (#5025)

* make the model selector popup responsive and wider for bigger screens

* fix linting issue

* use vscode config files to recommend prettier plugin and use it to auto format on save

---------

Co-authored-by: Ethan Garber <ethancgarber@gmail.com>

* chore: update Jan change logs v0.5.17

chore: update Jan change logs v0.5.17

* Update README.md (#5072)

Updated license to Apache 2.0

---------

Co-authored-by: ethanova <ethanova@users.noreply.github.com>
Co-authored-by: Ethan Garber <ethancgarber@gmail.com>
Co-authored-by: David <david@menlo.ai>
Co-authored-by: Emre Can Kartal <159995642+eckartal@users.noreply.github.com>
2025-05-26 16:02:30 +07:00
Louis
64f5703461
chore: allow users to import hf repo (#5103)
* chore: allow users to input HF repo id / url

* chore: allow users to search HuggingFace models

* chore: normalize input

* chore: normalize input from FE

* chore: clean up

* chore: clean up

* fix: conflict

* fix: model name from metada instead id

* chore: enable ryhype raw for desc card hub

* fix: broken link

* chore: remove log

---------

Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-05-26 15:13:22 +07:00
Louis
b8de48c9e9
fix: enhance tool use and model provider not persisted issues (#5094)
* chore: enhance tool use loop

* fix: create new custom provider is not saved

* chore: bump llama.cpp b5488

* chore: normalize reasoning assistant response

* chore: fix tool call parse in stream mode

* fix: give tool call default generated id

* fix: system instruction should be on top of the history

* chore: allow users to add parameters
2025-05-26 15:12:55 +07:00
Nguyen Ngoc Minh
2744e787d1
fix: ci remove pr review trigger (#5105)
* fix: remove pull_request_review trigger to avoid redundant builds

* chore: comment out pr-build-url job in nightly workflow
2025-05-26 15:04:43 +07:00
Thien Tran
71bb7ce1e9
fix: fileStat returned object in JS (#5102)
* fix fileStat returned value in JS

* match type from JS
2025-05-26 14:40:03 +08:00
Faisal Amir
8afb962739
feat: add quick access model setting via dropdown model (#5104)
* feat: add quick access model setting via dropdown model

* Update web-app/src/containers/DropdownModelProvider.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-05-26 13:29:09 +07:00
Faisal Amir
83464b367f
chore: remove model provider from setup screen (#5101) 2025-05-26 12:55:34 +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
253f9f9501
feat: add couple section about us on general settings (#5098)
* feat: initial about us

* feat: add couple about us on general setting

* chore: change discord url

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

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

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

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

* chore: add rel attribute

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-25 17:25:13 +07:00
Faisal Amir
b29e579042
feat: product analytic (#5099)
* feat: product analytic

* chore: remove comment
2025-05-25 17:25:03 +07:00
Faisal Amir
484caf04aa
feat: file upload thumbnail (#5088) 2025-05-25 01:10:21 +07:00
Faisal Amir
0df92d8bda
fix: broken ui download count when leftpanel close (#5089) 2025-05-25 01:10:07 +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
Faisal Amir
3443c42947
fix: copy icon indicator when success (#5091) 2025-05-25 01:08:06 +07:00
Louis
cdd13594a3
fix: model import name issues (#5093) 2025-05-24 14:48:38 +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
Louis
634efb9d9d
chore: providers should default on (#5083)
* chore: providers should default on

* chore: add emoji image source

* chore: correct connect-src
2025-05-23 16:26:17 +07:00
Thien Tran
56f4ec3b61
feat: improve download extension (#5073) 2025-05-23 16:49:41 +08: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
Thien Tran
063292db6d
fix: copy:lib on macos when directory already exists (#5084) 2025-05-23 14:59:57 +08:00
Louis
994de67f9e
fix: provider activation status (#5081)
* fix: provider activation status

* fix: thread assistant model
2025-05-23 12:04:49 +07:00
Thien Tran
c324ed592a
feat: Hardware info replacement for cortex (#4925) 2025-05-23 12:59:19 +08:00
vansangpfiev
4684cf8ba0
fix: bundle libraries on Linux and Windows (#5078)
* fix: updater

* chore: sync latest nightly

* chore: ignore electron updater config

* chore: upload signatures

* chore: update connect-src

* chore: add log

* chore: correct path macos s3

* fix: close cortex before restarting

* chore: clean

* chore: comment

* Revert "chore: update connect-src"

This reverts commit a592845c0b5293c121fb17671c14bb1f9958bf00.

* chore: update lastest.yml

* chore: cleanup

* chore: stop uploading yml for electron

* chore: linux workflow

* chore: add permissions

* chore: add logs

* chore: linux workflow

* chore: correct path

* chore: add log

* chore: correct path

* chore: pack libs

* chore: skip download cortex for extension

* chore: linux wf

* chore: try add more libs

* chore: rm logs

* fix: app data directory

* fix: windows path

* fix: windows path

* chore: update linux wf

* chore: lint

* chore: more binaries

* chore: update download script

* chore: lint
2025-05-23 11:30:43 +07:00
vansangpfiev
5ce1fad118
chore: update font-src (#5077) 2025-05-23 11:30:29 +07:00
Faisal Amir
fce559a8fa
fix: mcp info when long string without space (#5080) 2025-05-23 11:12:20 +07:00
Faisal Amir
bed0f98beb
fix: hidden date when value 0 (#5079) 2025-05-23 11:12:11 +07:00
Louis
2dda66390d
fix: close side windows should not kill background processes (#5076) 2025-05-23 09:34:29 +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
Louis
942f2f51b7
chore: send chat completion with messages history (#5070)
* chore: send chat completion with messages history

* chore: handle abort controllers

* chore: change max attempts setting

* chore: handle stop running models in system monitor screen

* Update web-app/src/services/models.ts

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

* chore: format time

* chore: handle stop model load action

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-22 20:13:50 +07:00
Emre Can Kartal
e813440332
Update README.md (#5072)
Updated license to Apache 2.0
2025-05-22 17:57:15 +07:00
Louis
570bb8290f
chore: add model information in System Monitoring (#5062)
* chore: add model information in System Monitoring

* chore: handle empty models case

* chore: fix type
2025-05-22 16:07:08 +07:00
Louis
4d66eaf0a7
chore: handle local models chat with MCP (#5065)
* chore: handle local models chat with MCP

* chore: update MCP server connection status in the settings page

* chore: error handling

* chore: normalize message

* chore: update finally block
2025-05-22 16:06:55 +07:00
Faisal Amir
aba75a7d2c
fix: allow dialog triggered by tooltip (#5066) 2025-05-22 15:52:29 +07:00
Faisal Amir
d3c6d7cfaa
enhancement: wrap long line codeblock (#5069) 2025-05-22 15:52:17 +07:00
Faisal Amir
12ad61aaa8
enhancement: show assistant info on message (#5064) 2025-05-22 14:45:58 +07:00
vansangpfiev
2d7d731a76
chore: wildcard for connect-src (#5048)
* chore: wildcard for connect-source

* chore: stricter list of connect-src

* chore: update tauri.conf.json

* chore: update font-src
2025-05-22 14:16:24 +07:00
vansangpfiev
e43b109291
fix: tauri updater (#5051)
* fix: updater

* chore: sync latest nightly

* chore: ignore electron updater config

* chore: upload signatures

* chore: update connect-src

* chore: add log

* chore: correct path macos s3

* fix: close cortex before restarting

* chore: clean

* chore: comment

* Revert "chore: update connect-src"

This reverts commit a592845c0b5293c121fb17671c14bb1f9958bf00.

* chore: update lastest.yml

* chore: cleanup

* chore: stop uploading yml for electron

* chore: linux workflow
2025-05-22 14:16:10 +07:00
Faisal Amir
dde4e97d8b
enhance: setup screen redirect to hub (#5061) 2025-05-22 11:55:34 +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
a7d2e72313
enhancement: disabled config when server is running (#5058) 2025-05-22 11:07:14 +07:00
Faisal Amir
fab8f0a9c9
Merge pull request #5059 from menloresearch/enhancement/hub-left-panel-collapse
enhancement: update layout hub when left panel collapse
2025-05-22 11:04:21 +07:00
Faisal Amir
bd0d2a5cec
Merge pull request #5057 from menloresearch/feat/assistant-emoji
feat: add assistant emoji picker
2025-05-22 10:56:01 +07:00
Faisal Amir
6a6ccc9a9e
Merge pull request #5055 from menloresearch/enhancement/message-toolbar
enhancement: message toolbar using tooltip
2025-05-22 10:55:28 +07:00