4972 Commits

Author SHA1 Message Date
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
Faisal Amir
44b5310a6a
fix/pretify json when paste content (#5216) 2025-06-09 11:04:29 +07:00
Louis
46c7f02827
fix: avoid spamming server restarts (#5212) 2025-06-07 11:54:35 +07:00
Louis
b72259d78f
chore: trim all mcp server configs before saving (#5211) 2025-06-07 00:55:12 +07:00
Louis
1fa9f4e731
fix: should not show vulkan options in cpu only mode (#5210) 2025-06-07 00:55:01 +07:00
Louis
c444643294
fix: path resolver in windows (#5209) v0.5.18-rc1-beta 2025-06-06 17:26:08 +07:00
Nguyen Ngoc Minh
19bcce80fa
ci: update file size tauri build template macos and windows (#5208)
* chore: update filesize latest-mac.yaml

* chore: disable createUpdaterArtifacts as handled on ci

* chore: update file size latest.yaml
2025-06-06 16:02:09 +07:00
Louis
cceae09fef
fix: load threads from api instead of states (#5206) 2025-06-06 13:16:29 +07:00
Faisal Amir
2feba874ef
fix: force provider avatar to render in high quality (#5203) 2025-06-06 08:56:29 +07:00
Louis
b85bce8e09
fix: migrate provider settings (#5205)
* chore: fix migrate api key

* chore: add logs

* chore: deprecate migration step

* chore: clean up

* fix: key apply
2025-06-05 20:25:43 +07:00
David
81f1d644e1
Merge pull request #5204 from menloresearch/fix/mcp-file-system
Fix: mcp server file system missing param
2025-06-05 15:00:19 +07:00
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