Dinh Long Nguyen
0771b998a5
Fix: Web Services Improvement
...
Fix: Web Services Improvement
2025-09-15 09:08:30 +07:00
Faisal Amir
ba4dc6d1eb
enhancement: update ui dialog update llamacpp backend
2025-09-11 09:52:09 +05:30
Dinh Long Nguyen
d490174544
feat: Web use jan model ( #6374 )
...
* call jan api
* fix lint
* ci: add jan server web
* chore: add Dockerfile
* clean up ui ux and support for reasoning fields, make app spa
* add logo
* chore: update tag for preview image
* chore: update k8s service name
* chore: update image tag and image name
* fixed test
---------
Co-authored-by: Minh141120 <minh.itptit@gmail.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>
2025-09-05 16:18:30 +07:00
Dinh Long Nguyen
a30eb7f968
feat: Jan Web (reusing Jan Desktop UI) ( #6298 )
...
* add platform guards
* add service management
* fix types
* move to zustand for servicehub
* update App Updater
* update tauri missing move
* update app updater
* refactor: move PlatformFeatures to separate const file
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
* change tauri fetch name
* update implementation
* update extension fetch
* make web version run properly
* disabled unused web settings
* fix all tests
* fix lint
* fix tests
* add mock for extension
* fix build
* update make and mise
* fix tsconfig for web-extensions
* fix loader type
* cleanup
* fix test
* update error handling + mcp should be working
* Update mcp init
* use separate is_web_app build property
* Remove fixed model catalog url
* fix additional tests
* fix download issue (event emitter not implemented correctly)
* Update Title html
* fix app logs
* update root tsx render timing
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-05 01:47:46 +07:00
Louis
6850dda108
feat: MCP server error handling
2025-08-20 23:42:12 +07:00
Faisal Amir
e04bb86171
chore: prevent drag image to replace the window, and enable shortcut copy and paste image
2025-08-19 19:51:02 +07:00
Louis
9c0d09c487
refactor: clean up cortex ( #6003 )
...
* refactor: clean up cortex
* chore: clean up
* refactor: clean up
2025-07-31 21:58:12 +07:00
Faisal Amir
b89d9d090f
fix: update ui version_backend, mem usage hardware ( #5932 )
...
* fix: update ui version_backend, mem usage hardware
* chore: hidden gpu from system monitor on mac
* chore: fix gpus vram
2025-07-26 18:36:18 +07:00
Faisal Amir
78df0a20ec
enhancement: better error page component ( #5834 )
...
* enhancement: better error page component
* chore: typo and useless space
2025-07-22 12:17:44 +07:00
Akarshan
59ad2eb784
Merge branch 'dev' into release/v0.6.6
2025-07-18 18:29:20 +05:30
Louis
8d84c3b884
feat: add model load error handling to improve UX ( #5802 )
...
* feat: model load error handling
* chore: clean up
* test: add tests
* fix: provider name
2025-07-18 08:25:54 +05:30
Faisal Amir
1422d94fac
🐛 fix: make three dots default show 3 dots and can trigger with right click ( #5712 )
...
* 🐛 fix: default show 3 dots
* ✨ enhancement: enable resizable left panel (#5713 )
* ✨ enhancement: enable resizable left panel
* Update web-app/src/hooks/useLeftPanel.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>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-07 11:14:43 +07:00
Louis
7223f6fc3f
Merge pull request #5552 from menloresearch/dev
...
sync: apply latest changes into release/v0.6.4
2025-06-26 09:02:27 -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
16aab0d661
fix: increase context size window does not popup first time
2025-06-26 16:40:55 +07:00
Faisal Amir
9bbf9a590c
✨ enhancement: support base layout responsive UI ( #5472 )
...
* ✨ enhancement: support base layout responsive UI
* Update web-app/src/containers/LeftPanel.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/containers/ThreadList.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive assistant screen (#5502 )
* ✨ enhancement: support base layout responsive UI
* Update web-app/src/containers/LeftPanel.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/containers/ThreadList.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive assistant screen
* Update web-app/src/containers/dialogs/AddEditAssistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: sort assistant
* Update web-app/src/routes/assistant.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>
* ✨ enhancement: responsive hub screen (#5507 )
* ✨ enhancement: support base layout responsive UI
* Update web-app/src/containers/LeftPanel.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/containers/ThreadList.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive assistant screen
* Update web-app/src/containers/dialogs/AddEditAssistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: sort assistant
* Update web-app/src/routes/assistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive hub screen
* 🧹 cleanup: multiple key and useless for hub translation
---------
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-26 15:01:50 +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
Louis
22396111be
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
2025-06-19 00:12:03 +07:00
Faisal Amir
5b60116d21
🐛 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>
2025-06-18 21:48:18 +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
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
Faisal Amir
e08b98ec6a
fix: overflow content codeblock ( #5110 )
2025-05-27 10:07:36 +07:00
Faisal Amir
b29e579042
feat: product analytic ( #5099 )
...
* feat: product analytic
* chore: remove comment
2025-05-25 17:25:03 +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
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
0c73035b3c
feat: initial app logs
2025-05-22 00:46:28 +07:00
Faisal Amir
2812a8978a
chore: intial new window system monitor
2025-05-21 12:27:54 +07:00
Faisal Amir
759d5c7257
chore: increase hight of drag area window
2025-05-16 09:17:06 +07:00
Faisal Amir
852ea84cd8
epic: Jan with new UI/UX ( #4964 )
...
* chore: initial new FE setup
* chore: update namespace text-left-panel foreground variable
* chore: enable dynamic mainview color
* chore: remove greetings new chat
* chore: fix chat input style
* chore: simplify hook useAppearance
* chore: enable internationalization
* chore: prepare vn locale
* chore: keyboardshortcut layout
* chore: update keyboard shortcut exclude pathname
* chore: update state active setting route
* chore: fix update theme by system
* chore: handle dynamic primary color
* chore: fix left panel navigation active state and styled item privacy analytic
* chore: reorder general setting being a first
* chore: add function reset appearance
* chore: update scrollbar
* chore: update delete thread with dialog confirmation
* chore: update state dialog inside dropdown menu
* chore: wip thread detail or chat page
* chore: wip model dropdown
* chore: prepare model dropdown select
* chore: update model providers setting
* chore: show provider on model dropdown based isActive toogle
* chore: update layout model provider
* chore: update state active on storage
* chore: update gap of item dropdown model
* chore: update select model base on id
* chore: update edit model capabilities
* chore: add dialog to add model
* chore: update sheet for model setting
* chore: add sheet setting each model
* chore: make dynamic syntax highlight
* chore: fix menu setting appearance theme
* chore: markdown render support emoji
* chore: markdown support latex
* chore: change codeblock default theme
* chore: update ui codeblock
* chore: custom render link taget new window
* chore: fix copy button codeblock
* chore: update accent and desctructive color
* chore: setup user chat message
* chore: prepare some page settings
* chore: simple list extension and prepare mcp, local api, and hardware
* chore: mcp-serve
* chore: MCP server UI
* chore: update local api server config
* chore: adjust chat input
* chore: update local api server log
* chore: prepare hub page
* chore: remove help page
* chore: update mock
* chore: prepare http proxy setting UI
* chore: adjust local api server and title every action
* fix: chore FE package (#4962 )
* fix: update command which referred to non-existent web app
* fix: added commented out macos platform for now
* fix: remove the platform name as macos
* fix: remove unnecessary line for platform name in HeaderPage component
* fix: update dev script to specify port 3000 for Vite
* feat: model providers and chat completion
* enhancement: threads performance
* fix: thread content update
* chore: clean up threads
* fix: performance issue with streaming and state loop
* fix: streaming
* fix: react markdow
* feat: extension manager
* chore: add nodePolyfills include path
* chore: improve performance avoid unhandle rejection
* chore: update pre margin bottom
* chore: swith thread should be deafult scroll to bottom
* chore: wip scroll to bottom
* chore: add model loader
* chore: add platform utils
* feat: threads functionality
* chore: setup toaster
* chore: persist threads deletion
* fix: create thread with new message
* chore: create new thread should change route path
* chore: navigate after delet dialog thread
* chore: thread favorites and orders
* chore: dismiss deleting modal on delete
* chore: remove undefined properties
* chore: remove deprecated run step
* chore: fix delete thread
* chore: create empty thread content on started streaming
* chore: correct messages store key
* chore: stuck at generating state
* chore: preapre chat toolbar
* chore: introduce in-memory app state
* chore: update extensions migration logic
* chore: remove redundant extensions migration gate
* chore: message toolbar user and assistant
* chore: add logo gemini
* feat: remote providers with model capabilities
* chore: maintain provider settings
* chore: move speed token into chat input
* chore: temp harcoded model loader
* chore: make chat text selectable and truncate model list
* chore: update shortcut UI
* Feat/implement threads (#4977 )
* chore: add fuse.js library for enhanced search functionality
* feat: implement thread filtering with Fuse.js for improved search capabilities
* fix: update the fuseOptions
* feat: add search functionality to LeftPanel and refactor thread retrieval logic
* refactor: optimize thread filtering and improve search functionality in LeftPanel
* fix: more edits
* refactor: remove duplicate import of useAppState in StreamingContent component
* chore: update navigate after delete all thread
* chore: pass prop speedToken from new chat input
* chore: persist provider general settings
* chore: styling search left panel
* chore: cleanup margin
* chore: update size icon
* chore: improve chat input
* chore: imprve list markdown
* chore: animate border
* feat: local model provider work
* chore: persist manually added model
* chore: prepare download management ui and show version on general setting
* chore: improve pre tag
* chore: remove buton install extension and improve light theme download
* chore: add missing hardware information handler
* chore: cleanup small ui
* chore: update default provider settings
* fix: missing fs commands
* chore: correct provider models
* chore: prepare delete model
* chore: handle thinking block
* chore: fix conditional message toolbar
* chore: pophover download select none
* enhancement: add prune mode
* chore: model settings
* chore: bump engine version tauri
* chore: update style thinking
* chore: add indicator and toogle mcp server
* chore: wip hub
* chore: update model settings
* chore: mvp hub
* chore: add function rename title
* chore: update function delete message
* chore: update rename title
* chore: update model settings
* chore: persist MCP configs
* refactor: clean up utils
* chore: add tools to completion request
* chore: clean up
* chore: ignore assets
---------
Co-authored-by: Ivan Leo <ivanleomk@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2025-05-15 19:38:59 +07:00