5007 Commits

Author SHA1 Message Date
Louis
74fafac5fa
fix: i18n after synced 2025-06-26 22:17:47 +07:00
Louis
e1b6690763
Merge branch 'dev' into release/v0.6.3
# Conflicts:
#	web-app/src/containers/DropdownModelProvider.tsx
#	web-app/src/containers/SettingsMenu.tsx
#	web-app/src/containers/dialogs/DeleteModel.tsx
#	web-app/src/routes/__root.tsx
#	web-app/src/routes/settings/general.tsx
#	web-app/src/routes/threads/$threadId.tsx
2025-06-26 21:55:35 +07:00
Louis
4229b9f873
Merge pull request #5547 from menloresearch/fix/undefined-setting-should-also-disable-context-shift
fix: handle context shift setting from old app versions
v0.6.3
2025-06-26 05:37:31 -07:00
Louis
c5aac9270c
Update extensions/inference-cortex-extension/src/index.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-26 19:36:07 +07:00
Louis
d75db73a43
fix: handle context shift setting from old app versions 2025-06-26 19:32:34 +07:00
Faisal Amir
2ae51bcf4e
🐛fix: modal action light mode (#5545) 2025-06-26 18:45:14 +07:00
Louis
0af271b05f
Merge pull request #5542 from menloresearch/fix/increase-context-window-could-not-popup 2025-06-26 03:22:22 -07:00
Louis
16aab0d661
fix: increase context size window does not popup first time 2025-06-26 16:40:55 +07:00
Ramon Perez
a670c49d14
Merge pull request #5535 from menloresearch/ramon/docs-v0.6.0
Rearranged docs, improved writing, and added Jan Nano 128k
2025-06-26 15:41:15 +10:00
Ramon Perez
45f6cd9368 small fixed on nano 32 2025-06-26 15:37:29 +10:00
Ramon Perez
52d7a928cc fixed typo and removed unused import 2025-06-26 15:35:39 +10:00
Ramon Perez
69b55db4a7 added mermaid diagram 2025-06-26 14:52:54 +10:00
Ramon Perez
ade7c6cb6c rearranged docs, added Jan Nano and minor improvements 2025-06-26 14:50:21 +10:00
Louis
906c539541
Merge pull request #5531 from menloresearch/config/remove-mcp-production-gate
config: remove MCP and tool use production gate
v0.6.2
2025-06-25 20:07:15 -07:00
Louis
63761efca2
config: remove MCP and tool use production gate 2025-06-26 10:01:42 +07:00
Louis
ea662c4876
Merge pull request #5528 from menloresearch/fix/default-model-settings-jan-nano
🐛fix: default model settings for jan-nano-128k
2025-06-25 06:07:31 -07:00
Louis
d407ebc4e9
fix: typo 2025-06-25 19:42:22 +07:00
Louis
a7c441ee58
🐛fix: default model settings for jan-nano-128k 2025-06-25 19:36:34 +07:00
Faisal Amir
3eb31be62e
enhancement: adjust placement exp toggle (#5525)
* enhancement: adjust placement exp toggle

* Update web-app/src/routes/settings/general.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-25 17:10:02 +07:00
Louis
54a9d140b5
Merge pull request #5524 from menloresearch/enhancement/jan-nano-128k
enhancement: Added jan-nano-128k
2025-06-25 16:31:58 +07:00
Faisal Amir
f5cfe8a537 enhancement: Added jan-nano-128k 2025-06-25 15:56:38 +07:00
Sam Hoang Van
0890de1869
feat: improve local provider connectivity with CORS bypass (#5458)
* feat: improve local provider connectivity with CORS bypass

- Add @tauri-apps/plugin-http dependency
- Implement dual fetch strategy for local vs remote providers
- Auto-detect local providers (localhost, Ollama:11434, LM Studio:1234)
- Make API key optional for local providers
- Add comprehensive test coverage for provider fetching

refactor: simplify fetchModelsFromProvider by removing preflight check logic

* feat: extend config options to include custom fetch function for CORS handling

* feat: conditionally use Tauri's fetch for openai-compatible providers to handle CORS
2025-06-25 15:42:14 +07:00
Faisal Amir
52d15802d9
enhancement: experimental feature toggle (#5514) 2025-06-25 14:10:54 +07:00
Faisal Amir
c463090edb
🐛fix: delete pre populate remote models (#5516) 2025-06-25 13:49:55 +07:00
Daniel Ching
c74e5280e7
Merge pull request #5513 from menloresearch/docs/update-images-and-links
Update outdated images and links
2025-06-25 14:19:05 +08:00
Louis
6e3852554a
sync: cherry pick v0.6.2 release (#5515)
* Feat: auto restart mcp (#5226)

* feat: implement retry mechanism for MCP server activation with exponential backoff

feat: enhance MCP server activation with configurable retry attempts

feat: implement MCP server restart monitoring and cleanup functionality

feat: enhance MCP server restart logic with improved monitoring and configuration handling

feat: add manual deactivation for MCP servers to prevent automatic restarts

* feat: enhance MCP server startup with initial attempt tracking and health monitoring

* 🐛fix: prevent render error when additional information missing from hardware (#5413)

---------

Co-authored-by: Sam Hoang Van <samhv.ict@gmail.com>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-06-25 13:15:10 +07:00
Daniel Ching
4f237b88ac
Update docs/src/pages/docs/index.mdx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-25 13:32:48 +08:00
Daniel Ching
3a1cb87a47
Merge branch 'dev' into docs/update-images-and-links 2025-06-25 13:31:54 +08:00
Faisal Amir
8fdb65eba5
🐛fix: prevent render error when additional information missing from hardware (#5413) 2025-06-25 11:41:28 +07:00
Sam Hoang Van
329fb7d023
Feat: auto restart mcp (#5226)
* feat: implement retry mechanism for MCP server activation with exponential backoff

feat: enhance MCP server activation with configurable retry attempts

feat: implement MCP server restart monitoring and cleanup functionality

feat: enhance MCP server restart logic with improved monitoring and configuration handling

feat: add manual deactivation for MCP servers to prevent automatic restarts

* feat: enhance MCP server startup with initial attempt tracking and health monitoring
2025-06-25 11:40:28 +07:00
dependabot[bot]
828261ea9c
chore(deps): bump @tanstack/react-router-devtools (#5441)
---
updated-dependencies:
- dependency-name: "@tanstack/react-router-devtools"
  dependency-version: 1.121.34
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 15:25:48 +07:00
dependabot[bot]
51b6c0a7de
chore(deps-dev): bump typescript in /extensions/download-extension (#5405)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.3.3 to 5.8.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.3.3...v5.8.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 14:54:11 +07:00
Louis
1dc9e47524
🐛 fix: add back a couple of major fixes (#5469) 2025-06-24 14:43:31 +07:00
Daniel Ching
9ec159ddf8 Updated screenshots to revised frontend 2025-06-24 14:19:39 +08:00
Daniel Ching
0c4eb4eacf Updated link in index.mdx 2025-06-24 13:24:02 +08:00
Daniel Ching
b554fddb01 Updated index.mdx to remove broken links and changed landing page image 2025-06-24 13:22:03 +08:00
Sam Hoang Van
64a7822cc8
Feat: auto restart mcp (#5226)
* feat: implement retry mechanism for MCP server activation with exponential backoff

feat: enhance MCP server activation with configurable retry attempts

feat: implement MCP server restart monitoring and cleanup functionality

feat: enhance MCP server restart logic with improved monitoring and configuration handling

feat: add manual deactivation for MCP servers to prevent automatic restarts

* feat: enhance MCP server startup with initial attempt tracking and health monitoring
2025-06-23 12:20:05 +07:00
Sam Hoang Van
e9b28c5a90
🐛fix: remove unused exports from i18n index and ensure translate function returns correct type (#5419) 2025-06-21 14:42:15 +07:00
Sam Hoang Van
565c7412c2
Improve dev experience by using mise & sccache (#5265)
* feat: add initial mise.toml configuration with core tasks and development setup

* docs: update Quick Start section to recommend mise for development setup
2025-06-21 12:49:32 +07:00
Louis
2e9aa4ec17
🔧config: update yarn.lock file (#5417) 2025-06-21 12:36:33 +07:00
Faisal Amir
0518fea2a2
🐛fix: prevent render error when additional information missing from hardware (#5413) 2025-06-21 00:03:04 +07:00
Rene Leonhardt
ec2602307d
Merge pull request #5391 from reneleonhardt/feat/add-dependabot
feat: add dependabot for cargo and npm
2025-06-20 16:50:37 +07:00
Sam Hoang Van
c32dd092d0
Enhance i18n and add missing i18n for all component (#5314)
* Refactor translation imports and update text for localization across settings and system monitor routes

- Changed translation import from 'react-i18next' to '@/i18n/react-i18next-compat' in multiple files.
- Updated various text strings to use translation keys for better localization support in:
  - Local API Server settings
  - MCP Servers settings
  - Privacy settings
  - Provider settings
  - Shortcuts settings
  - System Monitor
  - Thread details
- Ensured consistent use of translation keys for all user-facing text.

Update web-app/src/routes/settings/appearance.tsx

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

Update web-app/src/routes/settings/appearance.tsx

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

Update web-app/src/locales/vn/settings.json

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

Update web-app/src/containers/dialogs/DeleteMCPServerConfirm.tsx

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

Update web-app/src/locales/id/common.json

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

* Add Chinese (Simplified and Traditional) localization files for various components

- Created `tools.json`, `updater.json`, `assistants.json`, `chat.json`, `common.json`, `hub.json`, `logs.json`, `mcp-servers.json`, `provider.json`, `providers.json`, `settings.json`, `setup.json`, `system-monitor.json`, `tool-approval.json` in both `zh-CN` and `zh-TW` locales.
- Added translations for tool approval, updater notifications, assistant management, chat interface, common UI elements, hub interactions, logging messages, MCP server configurations, provider management, settings options, setup instructions, and system monitoring.

* Refactor localization strings for improved clarity and consistency in English, Indonesian, and Vietnamese settings files

* Fix missing key and reword

* fix pr comment

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-20 15:33:54 +07:00
Ramon Perez
ebd9e0863e
Merge pull request #5385 from menloresearch/ramon/docs-jan-models
Added Models section with jan nano to docs, updated api server section and changelog.
2025-06-20 15:11:20 +10:00
Ramon Perez
47145ef4ac changed wording at index 2025-06-20 14:53:27 +10:00
Ramon Perez
efca02904d fixed typos 2025-06-20 14:09:25 +10:00
Ramon Perez
76b2be8ba4 added FAQ section 2025-06-20 14:07:54 +10:00
Ramon Perez
5bcd850add added jan nano to docs, api key example to api server section, and changelog section with 0.6.1 2025-06-20 13:59:50 +10:00
Louis
a1cef450de
♻️ Sync changes from version 0.6.1 into dev branch (#5384)
* 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

* 🐛fix: typo in build type check (#5297)

* 🐛fix: remove onboarding local model and hide the edit capabilities model (#5301)

* 🐛fix: remove onboarding local model and hide the edit capabilities model

* ♻️refactor: conditional search params setup screen

* 🐛fix: hide token speed when assistant params stream false (#5302)

* 🐛fix: glitch padding speed token (#5307)

* 🐛fix: immediately show download progress (#5308)

* 🐛fix:safely convert values to numbers and handle NaN cases (#5309)

* chore: correct binary name for stable version (#5303) (#5311)

Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>

* 🐛fix: llama.cpp default NGL setting does not offload all layers to GPU (#5310)

* 🐛fix: llama.cpp default NGL setting does not offload all layers to GPU

* chore: cover more cases

* chore: clean up

* fix: should not show GPU section on Mac

* 🐛fix: update default extension settings (#5315)

* fix: update default extension settings

* chore: hide language setting on Prod

* 🐛fix: allow script posthog (#5316)

* Sync 0.5.18 to 0.6.0 (#5320)

* chore: correct binary name for stable version (#5303)

* ci: enable devtool on prod build (#5317)

* ci: enable devtool on prod build

---------

Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>

* fix: glitch model download issue (#5322)

* 🐛 fix(updater): terminate sidecar processes before update to avoid file access errors (#5325)

* 🐛 fix: disable sorting for threads in SortableItem and clean up thread order handling (#5326)

* improved wording in UI elements (#5323)

* fix: sorted-thread-not-stable (#5336)

* 🐛fix: update wording desc vulkan (#5338)

* 🐛fix: update wording desc vulkan

* enhancement: update copy

* 🐛fix: handle NaN value tokenspeed (#5339)

* 🐛 fix: window path problem

* feat(server): filter /models endpoint to show only downloaded models (#5343)

- Add filtering logic to proxy server for GET /models requests
- Keep only models with status "downloaded" in response
- Remove Content-Length header to prevent mismatch after filtering
- Support both ListModelsResponseDto and direct array formats
- Add comprehensive tests for filtering functionality
- Fix Content-Length header conflict causing empty responses

Fixes issue where all models were returned regardless of download status.

* 🐛fix: render streaming token speed based on thread ID & assistant metadata (#5346)

* fix(server): add gzip decompression support for /models endpoint filtering (#5349)

- Add gzip detection using magic number check (0x1f 0x8b)
- Implement gzip decompression before JSON parsing
- Add gzip re-compression for filtered responses
- Fix "invalid utf-8 sequence" error when upstream returns gzipped content
- Maintain Content-Encoding consistency for compressed responses
- Add comprehensive gzip handling with flate2 library

Resolves issue where filtering failed on gzip-compressed model responses.

* fix(proxy): implement true HTTP streaming for chat completions API (#5350)

* fix: glitch toggle gpus (#5353)

* fix: glitch toogle gpu

* fix: Using the GPU's array index as a key for gpuLoading

* enhancement: added try-finally

* fix: built in models capabilities (#5354)

* 🐛fix: setting provider hide model capabilities (#5355)

* 🐛fix: setting provider hide model capabilities

* 🐛fix: hide tools icon on dropdown model providers

* fix: stop server on app close or reload

* enhancement: reset heading class

---------

Co-authored-by: Louis <louis@jan.ai>

* fix: stop api server on page unload (#5356)

* fix: stop api server on page unload

* fix: check api server status on reload

* refactor: api server state

* fix: should not pop the guard

* 🐛fix: avoid render html title thread (#5375)

* 🐛fix: avoid render html title thread

* chore: minor bump - tokenjs for manual adding models

---------

Co-authored-by: Louis <louis@jan.ai>

---------

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>
Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>
Co-authored-by: Sam Hoang Van <samhv.ict@gmail.com>
Co-authored-by: Ramon Perez <ramonpzg@protonmail.com>
2025-06-20 09:46:43 +07:00
Louis
5a09317c8d
Merge branch 'dev' into release/v0.6.1
# Conflicts:
#	extensions/inference-cortex-extension/resources/default_settings.json
#	extensions/inference-cortex-extension/src/index.ts
#	extensions/model-extension/resources/default.json
#	web-app/src/containers/ThreadContent.tsx
#	web-app/src/containers/TokenSpeedIndicator.tsx
#	web-app/src/hooks/useChat.ts
#	web-app/src/lib/version.ts
#	web-app/src/routes/hub.tsx
#	web-app/src/routes/settings/hardware.tsx
2025-06-20 09:41:43 +07:00