4888 Commits

Author SHA1 Message Date
Louis
e20c801ff0
enhancement: out of context troubleshooting (#5275)
* enhancement: out of context troubleshooting

* 🔧refactor: clean up
v0.5.18-rc6-beta
2025-06-15 18:20:17 +07:00
Faisal Amir
d131752419
fix: masking value MCP env field (#5276) 2025-06-15 16:18:43 +07:00
Louis
9ab69b157b
🐛fix: Jan-nano repo name changed (#5274) v0.5.18-rc5-beta v0.5.18-rc4-beta 2025-06-15 11:17:41 +07:00
LazyYuuki
c896398fab 🔧 config: add to gitignore 2025-06-15 10:45:37 +08:00
Louis
2634659366
🐛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
v0.5.18-rc3-beta
2025-06-15 02:34:14 +07:00
Louis
a10dbef2c8
enhancement: Model sources should not be hard coded from frontend (#5270) 2025-06-14 22:00:43 +07:00
Faisal Amir
b5bdf3cfd2
fix: glitch download from onboarding (#5269) 2025-06-14 17:38:14 +07:00
Louis
1e17cc6ec7
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>
2025-06-14 16:32:15 +07:00
Louis
23240f958e
Merge pull request #5262 from menloresearch/chore/sync-new-hub-data
chore: sync new hub data
2025-06-13 17:05:49 +07:00
Faisal Amir
e04dfc73c7
fix: thinking block (#5263) 2025-06-13 15:22:55 +07:00
Faisal Amir
2b8c448be4
chore: enable shortcut zoom (#5261)
* chore: enable shortcut zoom

* chore: update shortcut setting
2025-06-13 11:37:34 +07:00
Louis
72aa39d67f
Merge branch 'dev' into release/v0.5.18
# Conflicts:
#	.github/workflows/jan-tauri-build-nightly.yaml
#	.github/workflows/template-tauri-build-linux-x64.yml
#	.github/workflows/template-tauri-build-macos.yml
#	.github/workflows/template-tauri-build-windows-x64.yml
#	web/containers/ModelDropdown/index.tsx
2025-06-13 00:07:57 +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
Sam Hoang Van
e22452b26e
fix: add cortex_killed_intentionally state to manage sidecar process termination (#5255)
* fix: add cortex_killed_intentionally state to manage sidecar process termination

* fix: improve handling of intentionally killed sidecar process
2025-06-12 19:20:27 +07:00
Faisal Amir
32f68de36f
fix: race condition tools approval state (#5259) 2025-06-12 18:51:42 +07:00
Faisal Amir
414a9f0da5
fix/replace close think tag from text segment (#5258) 2025-06-12 16:33:33 +07:00
Faisal Amir
6300875e19
fix: reduce app state left panel (#5256) 2025-06-12 15:27:55 +07:00
Nguyen Ngoc Minh
37d72c3869
ci: add manual sign for appimage artifact (#5254) 2025-06-12 14:50:24 +07:00
Faisal Amir
57ad0894ab
fix: cleanup console error and warning render FE (#5253)
* fix: console error render FE

* chore: cleanup error and warning console
2025-06-12 14:35:34 +07:00
Faisal Amir
82736c96b1
chore: fix wrong classname color text (#5252) 2025-06-12 14:03:45 +07:00
Louis
079f206044
fix: avoid persisting threads and messages on local storage (#5249) 2025-06-12 09:10:00 +07:00
Faisal Amir
3accef8c92
fix: minor ui (#5247) 2025-06-12 09:04:47 +07:00
Faisal Amir
e33a37776f
fix: tool call block width code (#5246) 2025-06-12 00:53:27 +07:00
Faisal Amir
d2e88ffdc4
fix: update style cortex dialog (#5245) 2025-06-12 00:09:19 +07:00
David
35a0a4e9a5
Merge pull request #5244 from menloresearch/chore/enhance-hub-guide
chore: enhance hub guide
2025-06-11 21:55:15 +07:00
Faisal Amir
ab5ce6e774
fix: update hgf jan nano (#5242) 2025-06-11 21:54:55 +07:00
David
6152afaed5 chore: enhance hub guide 2025-06-11 21:41:20 +07:00
Faisal Amir
7b59aa32f9
chore: onboarding local model (#5234)
* chore: simple onboarding local model

* chore: update new model and improve flow e2e onboarding local model

* fix: default tool support models

---------

Co-authored-by: Louis <louis@jan.ai>
2025-06-11 18:38:07 +07:00
Louis
50b83d7342
fix: could not add custom models (#5241)
* fix: could not add custom models

* Update web-app/src/lib/completion.ts

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

* chore: remove hard coded ID string

* fix: revert suggestion change

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-11 17:04:00 +07:00
Faisal Amir
46add8e88a
chore: experimental tag mcp (#5239)
* chore: experimental tag on mcp setting

* chore: dupl classname
2025-06-11 15:35:55 +07:00
Sam Hoang Van
dba35bc5a4
chore: comment out API documentation handling code (#5240) 2025-06-11 15:15:45 +07:00
Faisal Amir
808fdb02a7
chore: streaming tool output (#5237)
* enhancement: tool streaming output

* chore: update memo

* fix: streaming

* chore: update stream tools arguments

* chore: update condition

* fix: style

* fix: style

* chore: fix stop button

* chore: update color accent and hide arrow button

---------

Co-authored-by: Louis <louis@jan.ai>
2025-06-11 14:35:41 +07:00
David
cfefcb00cb
Merge pull request #5238 from menloresearch/fix/hyper-link-playground
feat(local-api-server): add button to open API documentation and improve layout
v0.5.18-rc2-beta
2025-06-11 11:53:33 +07:00
sam hoang
6f030f720a
feat(local-api-server): add button to open API documentation and improve layout 2025-06-11 11:46:04 +07:00
Sam Hoang Van
eef37defb4
fix(server): enhance CORS handling for local API network access (#5236)
* fix(server): enhance CORS handling for local API network access

- Fix CORS preflight validation to use Host header for target validation
- Use Origin header correctly for CORS response headers
- Improve host validation to support both host:port and host-only formats
- Filter upstream CORS headers to prevent duplicate Access-Control-Allow-Origin
- Add CORS headers to all error responses for consistent behavior
- Fix host matching logic to handle trusted hosts with and without ports
- Ensure single Access-Control-Allow-Origin header per response

This resolves CORS preflight failures that were blocking cross-origin
requests to the local API server, enabling proper network access from
web applications and external tools.

Fixes: OPTIONS requests being rejected due to incorrect host validation
Resolves: "access control allow origin cannot contain more than one origin" error

* fix(proxy): bypass host and authorization checks for root path in CORS preflight

* fix(proxy): bypass host and authorization checks for whitelisted paths
2025-06-11 09:44:17 +07:00
Louis
1799bfed3f
chore: temporary disable web response 2025-06-10 18:36:48 +07:00
Louis
92a52dfa08
fix: tauri path env (#5233) 2025-06-10 18:31:21 +07:00
Louis
51a321219d
chore: fix model settings are not applied accordingly on change (#5231)
* chore: fix model settings are not applied accordingly on change

* chore: handle failed tool call

* chore: stop inference and model on reject
2025-06-10 16:26:42 +07:00
Sam Hoang Van
dcb3f794d3
Feat: render mcp content (#5229) 2025-06-10 15:06:42 +07:00
Sam Hoang Van
fbb6b6f800
make fzf case-insensitive (#5228) 2025-06-10 12:27:17 +07:00
Faisal Amir
8ba4b0be36
chore: add toggle loading sever MCP (#5225)
* chore: add toggle loading sever mcp

* chore: remove duplicate classname

* chore: remove log

* chore: remove log

* fix: save server config

---------

Co-authored-by: Louis <louis@jan.ai>
2025-06-09 23:56:49 +07:00
Louis
891c149f1b
fix: MCP server should not spawn shell window (#5223)
* fix: MCP server should not spawn shell window

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

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-09 23:23:34 +07:00
Louis
6d6790d5e0
fix: clean up cortex processes (#5215)
* fix: clean up cortex processes

* chore: clean up

* chore: does not need output shell
2025-06-09 22:23:07 +07:00
Nguyen Ngoc Minh
ecfbdf8256
chore: build config info plist (#5224)
* chore: update Info.plist and tauri config to reflect build channel
2025-06-09 22:20:38 +07:00
Faisal Amir
c41a6c3899
fix: tools call available dropdown (#5222) 2025-06-09 20:58:09 +07:00
Louis
919b6671a1
enahancement: mcp server activation response and error handling (#5220)
* fix: mcp server error handling

* fix: custom installation path of MCP package managers

* chore: clean up

* chore: clean up

* chore: append mcp server errors to app logs

* fix: logs reading

* chore: typo
2025-06-09 19:43:16 +07:00
Faisal Amir
0d0c624e99
chore: force windows to default alpha color 1 (#5218) 2025-06-09 17:44:22 +07:00
Faisal Amir
4a3a0e6496
fix/ui-glitch-dots-truncated (#5219) 2025-06-09 17:44:06 +07:00
Faisal Amir
1d69101f97
fix: conditional button refresh model (#5221) 2025-06-09 17:43:48 +07:00
Faisal Amir
1bbac32d88
fix: glitch UI thinking or duplicate content when multiple think after tools call (#5217)
* fix: update id streaming content think

* fix: glitch UI or duplicate content when multiple thinking
2025-06-09 11:36:36 +07:00