-Jan is an AI assistant that can run 100% offline on your device. Download and run LLMs with
-**full control** and **privacy**.
+Jan is bringing the best of open-source AI in an easy-to-use product. Download and run LLMs with **full control** and **privacy**.
## Installation
@@ -29,41 +27,36 @@ The easiest way to get started is by downloading one of the following versions f
+ )
+}
diff --git a/docs/src/pages/api-reference/installation.mdx b/docs/src/pages/api-reference/installation.mdx
index de0609a08..266962089 100644
--- a/docs/src/pages/api-reference/installation.mdx
+++ b/docs/src/pages/api-reference/installation.mdx
@@ -3,7 +3,7 @@ title: Installation
description: Install and deploy Jan Server on Kubernetes using minikube and Helm.
---
-## Prerequisites
+# Prerequisites
Jan Server requires the following tools installed on your system:
diff --git a/docs/src/pages/docs/_meta.json b/docs/src/pages/docs/_meta.json
index 5b6962032..ee07f5d54 100644
--- a/docs/src/pages/docs/_meta.json
+++ b/docs/src/pages/docs/_meta.json
@@ -9,7 +9,7 @@
},
"desktop": {
"type": "page",
- "title": "Jan Desktop & Mobile"
+ "title": "Jan Desktop"
},
"server": {
"type": "page",
diff --git a/docs/src/pages/docs/desktop/_meta.json b/docs/src/pages/docs/desktop/_meta.json
index 36c70cf27..1745297cb 100644
--- a/docs/src/pages/docs/desktop/_meta.json
+++ b/docs/src/pages/docs/desktop/_meta.json
@@ -42,6 +42,5 @@
},
"settings": "Settings",
"data-folder": "Jan Data Folder",
- "troubleshooting": "Troubleshooting",
- "privacy": "Privacy"
+ "troubleshooting": "Troubleshooting"
}
diff --git a/docs/src/pages/docs/desktop/index.mdx b/docs/src/pages/docs/desktop/index.mdx
index a6ebed221..852f097a5 100644
--- a/docs/src/pages/docs/desktop/index.mdx
+++ b/docs/src/pages/docs/desktop/index.mdx
@@ -22,228 +22,52 @@ keywords:
import { Callout } from 'nextra/components'
import FAQBox from '@/components/FaqBox'
-# Jan
-
-
-
-## Jan's Goal
-
-> We're working towards open superintelligence to make a viable open-source alternative to platforms like ChatGPT
-and Claude that anyone can own and run.
-
-## What is Jan Today
-
-Jan is an open-source AI platform that runs on your hardware. We believe AI should be in the hands of many, not
-controlled by a few tech giants.
-
-Today, Jan is:
-- **A desktop app** that runs AI models locally or connects to cloud providers
-- **A model hub** making the latest open-source models accessible
-- **A connector system** that lets AI interact with real-world tools via MCP
-
-Tomorrow, Jan aims to be a complete ecosystem where open models rival or exceed closed alternatives.
+# Overview
-We're building this with the open-source AI community, using the best available tools, and sharing everything
-we learn along the way.
+We're building [Open Superintelligence](https://jan.ai/handbook/open-superintelligence) together.
-## The Jan Ecosystem
+Jan is an open-source replacement for ChatGPT:
+- AI Models: Use AI models with agentic capabilities
+ - [Open-source Models](/docs/desktop/manage-models): Run open-source locally
+ - [Cloud Models](/docs/desktop/remote-models/anthropic): Connect to remote models with API keys
+- [Assistants](/docs/desktop/assistants): Create custom AI assistants
+- [MCP Servers](/docs/desktop/mcp): Integrate MCP Servers to give agentic capabilities to AI models
+- Jan Hub: Browse, install, and [manage models](/docs/desktop/manage-models)
+- Local API Server: Expose an [OpenAI-compatible API](/docs/desktop/api-server) from your own machine or server
-### Jan Apps
-**Available Now:**
-- **Desktop**: Full-featured AI workstation for Windows, Mac, and Linux
+## Product Suite
-**Coming Late 2025:**
-- **Mobile**: Jan on your phone
-- **Web**: Browser-based access at jan.ai
-- **Server**: Self-hosted for teams
-- **Extensions**: Browser extension for Chrome-based browsers
+Jan is a full [product suite](https://en.wikipedia.org/wiki/Software_suite) that offers an alternative to Big AI:
+- [Jan Desktop](/docs/desktop/quickstart): macOS, Windows, and Linux apps with offline mode
+- [Jan Web](https://chat.jan.ai): Jan on browser, a direct alternative to chatgpt.com
+- Jan Mobile: iOS and Android apps (Coming Soon)
+- [Jan Server](/docs/server): deploy locally, in your cloud, or on-prem
+- [Jan Models](/docs/models): Open-source models optimized for deep research, tool use, and reasoning
-### Jan Model Hub
-Making open-source AI accessible to everyone:
-- **Easy Downloads**: One-click model installation
-- **Jan Models**: Our own models optimized for local use
- - **Jan-v1**: 4B reasoning model specialized in web search
- - **Research Models**
- - **Jan-Nano (32k/128k)**: 4B model for web search with MCP tools
- - **Lucy**: 1.7B mobile-optimized for web search
-- **Community Models**: Any GGUF from Hugging Face works in Jan
-- **Cloud Models**: Connect your API keys for OpenAI, Anthropic, Gemini, and more
+### Extending Jan (Coming Soon)
+Jan helps you customize and align Open Superintelligence:
+- Jan Connectors: Extend Jan with integrations
+- Jan Studio: Fine-tune, align, and guardrail
+- Evals: Benchmark models across industries, regions, and alignment dimensions
+## Principles
-### Jan Connectors Hub
-Connect AI to the tools you use daily via [Model Context Protocol](./mcp):
+- [Open source](https://www.redhat.com/en/blog/open-source-culture-9-core-principles-and-values): [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) licensed, built in public.
+- No [vendor lock-in](https://en.wikipedia.org/wiki/Vendor_lock-in): Switch freely between local and frontier models.
+- [Right to Repair](https://en.wikipedia.org/wiki/Right_to_repair): Inspect, audit, and modify your AI stack.
-**Creative & Design:**
-- **Canva**: Generate and edit designs
-
-**Data & Analysis:**
-- **Jupyter**: Run Python notebooks
-- **E2B**: Execute code in sandboxes
-
-**Web & Search:**
-- **Browserbase & Browser Use**: Browser automation
-- **Exa, Serper, Perplexity**: Advanced web search
-- **Octagon**: Deep research capabilities
-
-**Productivity:**
-- **Linear**: Project management
-- **Todoist**: Task management
-
-## Core Features
-
-- **Run Models Locally**: Download any GGUF model from Hugging Face, use OpenAI's gpt-oss models,
-or connect to cloud providers
-- **OpenAI-Compatible API**: Local server at `localhost:1337` works with tools like
-[Continue](./server-examples/continue-dev) and [Cline](https://cline.bot/)
-- **Extend with MCP Tools**: Browser automation, web search, data analysis, and design tools, all
-through natural language
-- **Your Choice of Infrastructure**: Run on your laptop, self-host on your servers (soon), or use
-cloud when you need it
-
-## Philosophy
-
-Jan is built to be user-owned:
-- **Open Source**: Apache 2.0 license
-- **Local First**: Your data stays on your device. Internet is optional
-- **Privacy Focused**: We don't collect or sell user data. See our [Privacy Policy](./privacy)
-- **No Lock-in**: Export your data anytime. Use any model. Switch between local and cloud
-
-
-The best AI is the one you control. Not the one that others control for you.
-
-
-## The Path Forward
-
-### What Works Today
-- Run powerful models locally on consumer hardware
-- Connect to any cloud provider with your API keys
-- Use MCP tools for real-world tasks
-- Access transparent model evaluations
-
-### What We're Building
-- More specialized models that excel at specific tasks
-- Expanded app ecosystem (mobile, web, extensions)
-- Richer connector ecosystem
-- An evaluation framework to build better models
-
-### The Long-Term Vision
-We're working towards open superintelligence where:
-- Open models match or exceed closed alternatives
-- Anyone can run powerful AI on their own hardware
-- The community drives innovation, not corporations
-- AI capabilities are owned by users, not rented
-
-
-This is an ambitious goal without a guaranteed path. We're betting on the open-source community, improved
-hardware, and better techniques, but we're honest that this is a journey, not a destination we've reached.
-
-
-## Quick Start
-
-1. [Download Jan](./quickstart) for your operating system
-2. Choose a model - download locally or add cloud API keys
-3. Start chatting or connect tools via MCP
-4. Build with our [local API](./api-server)
+Jan grows through contribution. It is shaped by many and belongs to everyone who uses it.
## Acknowledgements
-Jan is built on the shoulders of giants:
-- [Llama.cpp](https://github.com/ggerganov/llama.cpp) for inference
-- [Model Context Protocol](https://modelcontextprotocol.io) for tool integration
-- The open-source community that makes this possible
+> Good artists copy, great artists steal.
-## FAQs
+Jan exists because we've borrowed, learned, and built on the work of others.
-
- Jan is an open-source AI platform working towards a viable alternative to Big Tech AI. Today it's a desktop app that runs models locally or connects to cloud providers. Tomorrow it aims to be a complete ecosystem rivaling platforms like ChatGPT and Claude.
-
-
-
- Other platforms are models behind APIs you rent. Jan is a complete AI ecosystem you own. Run any model, use real tools through MCP, keep your data private, and never pay subscriptions for local use.
-
-
-
- **Jan Models:**
- - Jan-Nano (32k/128k) - Research and analysis with MCP integration
- - Lucy - Mobile-optimized search (1.7B)
- - Jan-v1 - Reasoning and tool use (4B)
-
- **Open Source:**
- - OpenAI's gpt-oss models (120b and 20b)
- - Any GGUF model from Hugging Face
-
- **Cloud (with your API keys):**
- - OpenAI, Anthropic, Mistral, Groq, and more
-
-
-
- MCP (Model Context Protocol) lets AI interact with real applications. Instead of just generating text, your AI can create designs in Canva, analyze data in Jupyter, browse the web, and execute code - all through conversation.
-
-
-
- **Supported OS**:
- - [Windows 10+](/docs/desktop/install/windows#compatibility)
- - [macOS 12+](/docs/desktop/install/mac#compatibility)
- - [Linux (Ubuntu 20.04+)](/docs/desktop/install/linux)
-
- **Hardware**:
- - Minimum: 8GB RAM, 10GB storage
- - Recommended: 16GB RAM, GPU (NVIDIA/AMD/Intel/Apple), 50GB storage
-
-
-
- Honestly? It's ambitious and uncertain. We believe the combination of rapidly improving open models, better consumer hardware, community innovation, and specialized models working together can eventually rival closed platforms. But this is a multi-year journey with no guarantees. What we can guarantee is that we'll keep building in the open, with the community, towards this goal.
-
-
-
- Right now, Jan can:
- - Run models like Llama, Mistral, and our own Jan models locally
- - Connect to cloud providers if you want more power
- - Use MCP tools to create designs, analyze data, browse the web, and more
- - Work completely offline once models are downloaded
- - Provide an OpenAI-compatible API for developers
-
-
-
- **Local use**: Always free, no catches
- **Cloud models**: You pay providers directly (we add no markup)
- **Jan cloud**: Optional paid services coming 2025
-
- The core platform will always be free and open source.
-
-
-
- - Runs 100% offline once models are downloaded
- - All data stored locally in [Jan Data Folder](/docs/desktop/data-folder)
- - No telemetry without explicit consent
- - Open source code you can audit
-
-
- When using cloud providers through Jan, their privacy policies apply.
-
-
-
-
- Yes. Download directly or build from [source](https://github.com/menloresearch/jan). Jan Server for production deployments coming late 2025.
-
-
-
- - **Jan Web**: Beta late 2025
- - **Jan Mobile**: Late 2025
- - **Jan Server**: Late 2025
-
- All versions will sync seamlessly.
-
-
-
- - Code: [GitHub](https://github.com/menloresearch/jan)
- - Community: [Discord](https://discord.gg/FTk2MvZwJH)
- - Testing: Help evaluate models and report bugs
- - Documentation: Improve guides and tutorials
-
-
-
- Yes! We love hiring from our community. Check [Careers](https://menlo.bamboohr.com/careers).
-
+- [llama.cpp](https://github.com/ggerganov/llama.cpp) and [GGML](https://github.com/ggerganov/ggml) for efficient inference
+- [r/LocalLLaMA](https://www.reddit.com/r/LocalLLaMA/) for ideas, feedback, and debate
+- [Model Context Protocol](https://modelcontextprotocol.io) for MCP integrations
+- [PostHog](https://posthog.com/docs) for docs inspiration
+- The open-source community for contributions, bug reports, and improvements
diff --git a/docs/src/pages/docs/desktop/install/linux.mdx b/docs/src/pages/docs/desktop/install/linux.mdx
index 2d42a59f1..2d9d39f9f 100644
--- a/docs/src/pages/docs/desktop/install/linux.mdx
+++ b/docs/src/pages/docs/desktop/install/linux.mdx
@@ -1,11 +1,12 @@
---
title: Linux
-description: Get started quickly with Jan, an AI chat application that runs 100% offline on your desktop & mobile (*coming soon*).
+description: Download Jan on Linux to run AI models locally. Jan is a free, open-source ChatGPT alternative to run offline.
keywords:
[
Jan,
Customizable Intelligence, LLM,
local AI,
+ Jan on Linux,
privacy focus,
free and open source,
private and offline,
@@ -18,15 +19,17 @@ keywords:
installation,
"desktop"
]
+twitter:
+ card: summary_large_image
+ site: "@jandotai"
+ title: "Jan on Linux"
+ description: "Download Jan on Linux to run AI models locally. Jan is a free, open-source ChatGPT alternative to run offline."
---
-
import FAQBox from '@/components/FaqBox'
import { Tabs, Callout, Steps } from 'nextra/components'
import { Settings } from 'lucide-react'
-
-
# Linux Installation
Instructions for installing Jan on Linux.
@@ -244,7 +247,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
### Step 2: Enable GPU Acceleration
1. Navigate to **Settings** () > **Local Engine** > **Llama.cpp**
-2. Select appropriate backend in **llama-cpp Backend**. Details in our [guide](/docs/desktop/local-engines/llama-cpp).
+2. Select appropriate backend in **llama-cpp Backend**. Details in our [llama.cpp guide](/docs/desktop/llama-cpp).
CUDA offers better performance than Vulkan.
diff --git a/docs/src/pages/docs/desktop/install/mac.mdx b/docs/src/pages/docs/desktop/install/mac.mdx
index 827329d6e..b784f2ecf 100644
--- a/docs/src/pages/docs/desktop/install/mac.mdx
+++ b/docs/src/pages/docs/desktop/install/mac.mdx
@@ -1,11 +1,11 @@
---
title: Mac
-description: Get started quickly with Jan - a local AI that runs on your computer. Install Jan and pick your model to start chatting.
-keywords:
+description: Download Jan on Mac to run AI models locally. Jan is a free, open-source ChatGPT alternative to run offline.
[
Jan,
Customizable Intelligence, LLM,
local AI,
+ Jan on Mac,
privacy focus,
free and open source,
private and offline,
@@ -18,6 +18,11 @@ keywords:
installation,
"desktop"
]
+twitter:
+ card: summary_large_image
+ site: "@jandotai"
+ title: "Jan on Mac"
+ description: "Download Jan on Mac to run AI models locally. Jan is a free, open-source ChatGPT alternative to run offline."
---
import { Tabs } from 'nextra/components'
diff --git a/docs/src/pages/docs/desktop/install/windows.mdx b/docs/src/pages/docs/desktop/install/windows.mdx
index 2c56e2319..6e858a2b5 100644
--- a/docs/src/pages/docs/desktop/install/windows.mdx
+++ b/docs/src/pages/docs/desktop/install/windows.mdx
@@ -1,10 +1,11 @@
---
title: Windows
-description: Run AI models locally on your Windows machine with Jan. Quick setup guide for local inference and chat.
+description: Download Jan on Windows to run AI models locally. Jan is a free, open-source ChatGPT alternative to run offline.
keywords:
[
Jan,
Customizable Intelligence, LLM,
+ Jan on Windows,
local AI,
privacy focus,
free and open source,
@@ -18,6 +19,11 @@ keywords:
installation,
"desktop"
]
+twitter:
+ card: summary_large_image
+ site: "@jandotai"
+ title: "Jan on Windows"
+ description: "Download Jan on Windows to run AI models locally. Jan is a free, open-source ChatGPT alternative to run offline."
---
import { Tabs, Callout, Steps } from 'nextra/components'
diff --git a/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx b/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx
index b216f3b96..5f1446e42 100644
--- a/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx
+++ b/docs/src/pages/docs/desktop/jan-models/jan-nano-32.mdx
@@ -59,7 +59,7 @@ The model and its different model variants are fully supported by Jan.
## Using Jan-Nano-32k
**Step 1**
-Download Jan from [here](https://jan.ai/docs/desktop/).
+Download Jan from [here](https://jan.ai/download/).
**Step 2**
Go to the Hub Tab, search for Jan-Nano-Gguf, and click on the download button to the best model size for your system.
@@ -118,8 +118,8 @@ Here are some example queries to showcase Jan-Nano's web search capabilities:
- 4xA6000 for vllm server (inferencing)
- What frontend should I use?
- - Jan Beta (recommended) - Minimalistic and polished interface
- - Download link: https://jan.ai/docs/desktop/beta
+ - Jan (recommended)
+ - Download link: https://jan.ai/download
- Getting Jinja errors in LM Studio?
- Use Qwen3 template from other LM Studio compatible models
diff --git a/docs/src/pages/docs/desktop/server-examples/tabby.mdx b/docs/src/pages/docs/desktop/server-examples/tabby.mdx
index 917f40550..f25c89dab 100644
--- a/docs/src/pages/docs/desktop/server-examples/tabby.mdx
+++ b/docs/src/pages/docs/desktop/server-examples/tabby.mdx
@@ -90,7 +90,7 @@ Refer to the following documentation to install the Tabby extension on your favo
Tabby offers an [Answer Engine](https://tabby.tabbyml.com/docs/administration/answer-engine/) on the homepage,
which can leverage the Jan LLM and related contexts like code, documentation, and web pages to answer user questions.
-Simply open the Tabby homepage at [localhost:8080](http://localhost:8080) and ask your questions.
+Simply open the Tabby homepage at http://localhost:8080 and ask your questions.
### IDE Chat Sidebar
diff --git a/docs/src/pages/docs/desktop/settings.mdx b/docs/src/pages/docs/desktop/settings.mdx
index 6bc750f43..cd4d01ede 100644
--- a/docs/src/pages/docs/desktop/settings.mdx
+++ b/docs/src/pages/docs/desktop/settings.mdx
@@ -108,7 +108,7 @@ You can help improve Jan by sharing anonymous usage data:
2. You can change this setting at any time
-Read more about that we collect with opt-in users at [Privacy](/docs/desktop/privacy).
+Read more about that we collect with opt-in users at [Privacy](/privacy).
@@ -141,7 +141,7 @@ This action cannot be undone.
### Jan Data Folder
-Jan stores your data locally in your own filesystem in a universal file format. See detailed [Jan Folder Structure](docs/data-folder#folder-structure).
+Jan stores your data locally in your own filesystem in a universal file format. See detailed [Jan Folder Structure](/docs/desktop/data-folder#directory-structure).
**1. Open Jan Data Folder**
diff --git a/docs/src/pages/docs/desktop/troubleshooting.mdx b/docs/src/pages/docs/desktop/troubleshooting.mdx
index 16bbdfa9a..6d6c02703 100644
--- a/docs/src/pages/docs/desktop/troubleshooting.mdx
+++ b/docs/src/pages/docs/desktop/troubleshooting.mdx
@@ -328,14 +328,14 @@ This command ensures that the necessary permissions are granted for Jan's instal
When you start a chat with a model and encounter a **Failed to Fetch** or **Something's Amiss** error, here are some possible solutions to resolve it:
**1. Check System & Hardware Requirements**
-- Hardware dependencies: Ensure your device meets all [hardware requirements](docs/desktop/troubleshooting#step-1-verify-hardware-and-system-requirements)
-- OS: Ensure your operating system meets the minimum requirements ([Mac](/docs/desktop/install/mac#minimum-requirements), [Windows](/docs/desktop/install/windows#compatibility), [Linux](/docs/desktop/install/linux#compatibility))
+- Hardware dependencies: Ensure your device meets all [hardware requirements](troubleshooting)
+- OS: Ensure your operating system meets the minimum requirements ([Mac](https://www.jan.ai/docs/desktop/install/mac#minimum-requirements), [Windows](/windows#compatibility), [Linux](https://www.jan.ai/docs/desktop/install/linux#compatibility)
- RAM: Choose models that use less than 80% of your available RAM
- For 8GB systems: Use models under 6GB
- For 16GB systems: Use models under 13GB
**2. Check Model Parameters**
-- In **Engine Settings** in right sidebar, check your `ngl` ([number of GPU layers](/docs/desktop/models/model-parameters#engine-parameters)) setting to see if it's too high
+- In **Engine Settings** in right sidebar, check your `ngl` ([number of GPU layers](/docs/desktop/model-parameters)) setting to see if it's too high
- Start with a lower NGL value and increase gradually based on your GPU memory
**3. Port Conflicts**
diff --git a/docs/src/pages/handbook/_meta.json b/docs/src/pages/handbook/_meta.json
index 482ca4f93..4a44a889f 100644
--- a/docs/src/pages/handbook/_meta.json
+++ b/docs/src/pages/handbook/_meta.json
@@ -1,5 +1,4 @@
{
"index": "Overview",
- "open-superintelligence": "Open Superintelligence",
- "betting-on-open-source": "Betting on Open-Source"
+ "why": "Why does Jan exist?"
}
diff --git a/docs/src/pages/handbook/index.mdx b/docs/src/pages/handbook/index.mdx
index 2c64eff72..64f0abdf8 100644
--- a/docs/src/pages/handbook/index.mdx
+++ b/docs/src/pages/handbook/index.mdx
@@ -18,31 +18,6 @@ Jan's Handbook is a [living document](https://en.wikipedia.org/wiki/Living_docum
## Why does Jan exist?
-### [Open Superintelligence](/handbook/open-superintelligence)
-Building superintelligence that belongs to everyone, not just a few tech giants. We believe the future of AI should be open, accessible, and owned by the people who use it.
-
-### [Betting on Open-Source](/handbook/betting-on-open-source)
+- [Open Superintelligence](/handbook/open-superintelligence) - Building superintelligence that belongs to everyone, not just a few tech giants. We believe the future of AI should be open, accessible, and owned by the people who use it.
+- [Betting on Open-Source](/handbook/betting-on-open-source)
Why we're betting on open-source as the future of AI and technology. Open-source has consistently won in the long term, and AI will be no different.
-
----
-
-## Quick Links
-
-- **For the curious**: Start with [Open Superintelligence](/handbook/open-superintelligence)
-- **For developers**: Learn about [Betting on Open-Source](/handbook/betting-on-open-source)
-- **For contributors**: Check out our [GitHub](https://github.com/menloresearch/jan) and [Discord](https://discord.gg/FTk2MvZwJH)
-
-## Our North Star
-
-We're building superintelligence that:
-
-- **Works anywhere**: From your laptop to your data center
-- **Belongs to you**: Download it, own it, modify it
-- **Scales infinitely**: One person or ten thousand, same platform
-- **Improves constantly**: Community-driven development
-
-This isn't just about making AI accessible. It's about ensuring the most transformative technology in human history can be owned by those who use it.
-
----
-
-_"The future of AI isn't about choosing between local or cloud. It's about having both, and everything in between, working perfectly together."_
diff --git a/docs/src/pages/handbook/why/_meta.json b/docs/src/pages/handbook/why/_meta.json
new file mode 100644
index 000000000..b201b2e5f
--- /dev/null
+++ b/docs/src/pages/handbook/why/_meta.json
@@ -0,0 +1,4 @@
+{
+ "open-superintelligence": "Why Jan exists",
+ "betting-on-open-source": "Why we're betting on open-source"
+}
diff --git a/docs/src/pages/handbook/betting-on-open-source.mdx b/docs/src/pages/handbook/why/betting-on-open-source.mdx
similarity index 73%
rename from docs/src/pages/handbook/betting-on-open-source.mdx
rename to docs/src/pages/handbook/why/betting-on-open-source.mdx
index a0560d53e..bac971cbc 100644
--- a/docs/src/pages/handbook/betting-on-open-source.mdx
+++ b/docs/src/pages/handbook/why/betting-on-open-source.mdx
@@ -1,11 +1,11 @@
---
-title: "Why Open-Source"
+title: "Why Jan is betting on Open-Source"
description: "Why we're betting on open-source."
---
# Why Open-Source
-AI today is concentrated in the hands of a few companies. They ask for trust, while keeping the levers of control hidden. We think that's a mistake.
+AI today is concentrated in the hands of [a few companies](https://stratechery.com/2025/tech-philosophy-and-ai-opportunity/). They ask for trust, while keeping the levers of control hidden. We think that's a mistake.
When you depend on one vendor, your future is tied to their roadmap, their politics, their survival. If they get acquired, pivot, or shut down; you're stuck.
@@ -16,9 +16,9 @@ Depending on a closed vendor means giving up more than flexibility:
AI has become critical infrastructure. Nations, enterprises, even small teams rely on it to think and decide. And yet, control sits with a few vendors who decide the terms of access. We believe that's not control. That's dependency dressed up as convenience. One of the most powerful invention is being steered by a handful of executives. Their values shape what billions can say, build, or ask.
-*This cannot stand. It must be changed.*
+This can't stand. It must be changed.
-## Jan's Bet
+## How we see
We don't believe the future of AI should be dictated by a few firms in San Francisco, Beijing, or anywhere else.
@@ -30,4 +30,4 @@ That's why we're building Jan, a full product suite:
- Jan Server
- Hub, Store, evals, guardrails, the ecosystem around it
-The goal is to be the open-source replacement for ChatGPT and other BigAI products, with models and tools you can run, own, and trust.
+The goal is to be the [open-source replacement for ChatGPT](https://jan.ai/) and other BigAI products, with models and tools you can run, own, and trust.
diff --git a/docs/src/pages/handbook/open-superintelligence.mdx b/docs/src/pages/handbook/why/open-superintelligence.mdx
similarity index 67%
rename from docs/src/pages/handbook/open-superintelligence.mdx
rename to docs/src/pages/handbook/why/open-superintelligence.mdx
index 5174f712b..68ab46311 100644
--- a/docs/src/pages/handbook/open-superintelligence.mdx
+++ b/docs/src/pages/handbook/why/open-superintelligence.mdx
@@ -5,9 +5,13 @@ description: "Short answer: Open Superintelligence."
# Why does Jan exist?
-> Short answer: Open Superintelligence.
+import { Callout } from 'nextra/components'
-In 1879, Edison lit a single street in [Menlo Park](https://en.wikipedia.org/wiki/Menlo_Park,_California). What mattered wasn't the bulb. It was that power could reach homes, schools, and factories.
+
+Short answer: Open Superintelligence.
+
+
+In 1879, [Edison](https://en.wikipedia.org/wiki/Thomas_Edison) lit a single street in [Menlo Park](https://en.wikipedia.org/wiki/Menlo_Park,_California). What mattered wasn't the bulb. It was that power could reach homes, schools, and factories.
Electricity changed the world only when it became universal. Standard plugs, cheap generation, lines everywhere. People stopped talking about electricity and started using light, cold chains, and machines.
@@ -19,13 +23,13 @@ Jan exists to push intelligence toward the first path: Open Superintelligence yo
> The world is made, and can be remade.
-Every industrial wave redefined critical aspects of our daily lives:
-- Factories introduced shift clocks and wage rhythms
-- Steam gave way to electricity and standardized parts
-- Rail, telegraph, and later networks changed how decisions travel
-- Each wave pulled new bargains into being skills, schools, safety nets, labor law
+Every industrial wave redefined new defaults of our daily lives:
+- [Factories](https://en.wikipedia.org/wiki/Factory) created the modern job
+- [Electricity](https://en.wikipedia.org/wiki/Electricity) created the modern home
+- [Railroads](https://en.wikipedia.org/wiki/Rail_transport#History) and [telegraphs](https://en.wikipedia.org/wiki/Telegraphy#History) created the modern nation
+- [The Internet](https://en.wikipedia.org/wiki/Internet) created the modern world
-So what we're interested in is who is going to write the new defaults and share in the gains.
+Open Superintelligence will create what comes next. What we're interested in is who is going to write the new defaults and share in the gains.
Technology doesn’t choose its path, people do. Power accrues to whoever designs, deploys, and profits from the system:
- If intelligence is closed and centralized, the gains concentrate
diff --git a/docs/src/pages/post/_assets/chatgpt-alternative-jan.jpeg b/docs/src/pages/post/_assets/chatgpt-alternative-jan.jpeg
new file mode 100644
index 000000000..c4e18913a
Binary files /dev/null and b/docs/src/pages/post/_assets/chatgpt-alternative-jan.jpeg differ
diff --git a/docs/src/pages/post/_assets/claude.jpeg b/docs/src/pages/post/_assets/claude.jpeg
new file mode 100644
index 000000000..1b5dc1158
Binary files /dev/null and b/docs/src/pages/post/_assets/claude.jpeg differ
diff --git a/docs/src/pages/post/_assets/gemini.jpeg b/docs/src/pages/post/_assets/gemini.jpeg
new file mode 100644
index 000000000..acd333607
Binary files /dev/null and b/docs/src/pages/post/_assets/gemini.jpeg differ
diff --git a/docs/src/pages/post/_assets/is-chatgpt-down.jpg b/docs/src/pages/post/_assets/is-chatgpt-down.jpg
new file mode 100644
index 000000000..2a515d344
Binary files /dev/null and b/docs/src/pages/post/_assets/is-chatgpt-down.jpg differ
diff --git a/docs/src/pages/post/_assets/lm-studio.jpeg b/docs/src/pages/post/_assets/lm-studio.jpeg
new file mode 100644
index 000000000..ee6ee3825
Binary files /dev/null and b/docs/src/pages/post/_assets/lm-studio.jpeg differ
diff --git a/docs/src/pages/post/_assets/perplexity.jpeg b/docs/src/pages/post/_assets/perplexity.jpeg
new file mode 100644
index 000000000..6a73f9b55
Binary files /dev/null and b/docs/src/pages/post/_assets/perplexity.jpeg differ
diff --git a/docs/src/pages/post/benchmarking-nvidia-tensorrt-llm.mdx b/docs/src/pages/post/benchmarking-nvidia-tensorrt-llm.mdx
index 0d4bc9aa2..9fa67ea07 100644
--- a/docs/src/pages/post/benchmarking-nvidia-tensorrt-llm.mdx
+++ b/docs/src/pages/post/benchmarking-nvidia-tensorrt-llm.mdx
@@ -17,7 +17,7 @@ Jan now supports [NVIDIA TensorRT-LLM](https://github.com/NVIDIA/TensorRT-LLM) i
We've been excited for TensorRT-LLM for a while, and [had a lot of fun implementing it](https://github.com/menloresearch/nitro-tensorrt-llm). As part of the process, we've run some benchmarks, to see how TensorRT-LLM fares on consumer hardware (e.g. [4090s](https://www.nvidia.com/en-us/geforce/graphics-cards/40-series/), [3090s](https://www.nvidia.com/en-us/geforce/graphics-cards/30-series/)) we commonly see in the [Jan's hardware community](https://discord.com/channels/1107178041848909847/1201834752206974996).
- **Give it a try!** Jan's [TensorRT-LLM extension](/docs/desktop/built-in/tensorrt-llm) is available in Jan v0.4.9 and up ([see more](/docs/desktop/built-in/tensorrt-llm)). We precompiled some TensorRT-LLM models for you to try: `Mistral 7b`, `TinyLlama-1.1b`, `TinyJensen-1.1b` 😂
+ **Give it a try!** Jan's TensorRT-LLM extension is available in Jan v0.4.9. We precompiled some TensorRT-LLM models for you to try: `Mistral 7b`, `TinyLlama-1.1b`, `TinyJensen-1.1b` 😂
Bugs or feedback? Let us know on [GitHub](https://github.com/menloresearch/jan) or via [Discord](https://discord.com/channels/1107178041848909847/1201832734704795688).
diff --git a/docs/src/pages/post/chatgpt-alternatives.mdx b/docs/src/pages/post/chatgpt-alternatives.mdx
new file mode 100644
index 000000000..208bda1bc
--- /dev/null
+++ b/docs/src/pages/post/chatgpt-alternatives.mdx
@@ -0,0 +1,120 @@
+---
+title: "ChatGPT alternatives that actually replace it"
+description: "See the best ChatGPT alternatives in 2025. We've listed tools that are alternatives to ChatGPT."
+tags: AI, ChatGPT alternative, ChatGPT alternatives, alternative to chatgpt, Jan, local AI, privacy, open source, offline AI
+categories: guides
+date: 2025-09-29
+ogImage: _assets/chatgpt-alternative-jan.jpeg
+twitter:
+ card: summary_large_image
+ site: "@jandotai"
+ title: "ChatGPT alternatives that actually replace it."
+ description: "See the best ChatGPT alternatives in 2025. We've listed tools that are alternatives to ChatGPT."
+ image: _assets/chatgpt-alternative-jan.jpeg
+---
+import { Callout } from 'nextra/components'
+import CTABlog from '@/components/Blog/CTA'
+
+# Best ChatGPT Alternatives
+
+ChatGPT works well, but it always needs internet, has usage limits, and isn't private.
+
+If you want options that fit different needs, offline use, privacy, or specialized tasks, see the best alternatives to ChatGPT available for specific use cases.
+
+## Comparison: ChatGPT Alternatives
+
+| ChatGPT Alternative | Offline | Key Strength | Best For |
+| ------------------------- | ------- | ---------------------------- | -------------------------- |
+| **[Jan](https://jan.ai)** | Yes | Runs Cloud + Offline, open-source | Best overall ChatGPT replacement |
+| Claude | - | Strong writing and reasoning | Creative text & code |
+| Gemini | - | Integrated with Google | Research tasks, image generation |
+| Perplexity | - | Fast, with cited answers | Research and fact-checking |
+| LM Studio | Yes | Runs open models on PC | Coding and experiments |
+
+### Jan is the best ChatGPT alternative
+
+
+*Jan as an open-source alternative to ChatGPT*
+
+Jan is the most complete ChatGPT alternative available today. It enables:
+- Use AI in online & offline (even on a plain)
+- Agentic actions supported
+- MCP servers supported for tools
+
+Unlike ChatGPT, it runs on your computer, which means:
+- Offline AI capabilities (see [Offline ChatGPT post](https://www.jan.ai/post/offline-chatgpt-alternative) for details)
+- 100% private
+- Open-source & Free
+
+ Jan is an [open-source replacement for ChatGPT.](https://www.jan.ai/)
+
+### Claude is the most notable online alternative
+
+
+Claude has become the main online rival to ChatGPT. It stands out for writing, reasoning, and coding.
+
+- Handles very long documents and context well
+- Strong for essays, research papers, and structured text
+- Popular with developers for code explanations and debugging
+- Cloud-only, no offline mode
+- Filters outputs heavily, sometimes too restrictive
+
+### Gemini is the Google's integrated alternative
+
+
+Gemini ties directly into Google’s apps and search. Great for users in the Google ecosystem.
+
+- Built into Gmail, Docs, and Google Search
+- Good for real-time research and fact-checking
+- Strong at pulling web context into answers
+- Requires Google account, fully online
+- Privacy concerns: all tied to Google services
+
+### Perplexity is the research-focused alternative
+
+
+Perplexity is built for fact-checking and quick research, not creativity.
+
+- Always cites sources for answers
+- Strong at summarizing current web info
+- Very fast for Q&A style use
+- Limited in creativity and open-ended writing
+- Cloud-only, daily free usage caps
+
+### LM Studio is the experimental alternative
+
+
+
+LM Studio is not a ChatGPT replacement but a local tool for running open models.
+
+- Lets you test and run open-source models on PC
+- Offline by default, works without internet
+- Flexible setup for developers and technical users
+- Requires decent hardware (RAM/VRAM)
+
+LM Studio is not beginner-friendly compared to Jan.
+
+## Choosing the right ChatGPT alternative for you:
+
+- Best overall replacement: [Jan](https://www.jan.ai/)
+- For writing & storytelling: Claude
+- For research & web knowledge: Perplexity or Gemini
+- For productivity & office work: Microsoft Copilot
+- For experimentation with open-source models for technical people: LM Studio
+
+Most ChatGPT alternatives are still cloud-based and limited. If you want full privacy, offline use, and no restrictions, the best ChatGPT alternative is [Jan](https://www.jan.ai/).
+
+### Can I use ChatGPT offline?
+No. ChatGPT always requires internet. For offline AI, use Jan.
+
+### What’s the best free ChatGPT alternative?
+Jan is free, open-source, and runs offline. Others like Claude or Perplexity have limited free tiers but are cloud-based.
+
+### Which ChatGPT alternative is best for writing?
+Claude is strong for essays, reports, and structured writing. You could use [open-source models](https://www.jan.ai/post/run-ai-models-locally) in Jan too.
+
+### Which ChatGPT alternative is best for research?
+Perplexity and Gemini pull real-time web data with citations.
+
+### What’s the closest full replacement to ChatGPT?
+Jan. It runs locally, works offline, and feels like ChatGPT without restrictions.
\ No newline at end of file
diff --git a/docs/src/pages/post/deepresearch.mdx b/docs/src/pages/post/deepresearch.mdx
index 11edd4f04..f3f1c0ee7 100644
--- a/docs/src/pages/post/deepresearch.mdx
+++ b/docs/src/pages/post/deepresearch.mdx
@@ -125,8 +125,8 @@ any version with Model Context Protocol in it (>`v0.6.3`).
**The Key: Assistants + Tools**
-Running deep research in Jan can be accomplished by combining [custom assistants](https://jan.ai/docs/assistants)
-with [MCP search tools](https://jan.ai/docs/desktop/mcp-examples/search/exa). This pairing allows any model—local or
+Running deep research in Jan can be accomplished by combining [custom assistants](https://jan.ai/docs/desktop/assistants)
+with [MCP search tools](https://jan.ai/docs/mcp-examples/search/exa). This pairing allows any model—local or
cloud—to follow a systematic research workflow, to create a report similar to that of other providers, with some
visible limitations (for now).
diff --git a/docs/src/pages/post/is-chatgpt-down-use-jan.mdx b/docs/src/pages/post/is-chatgpt-down-use-jan.mdx
new file mode 100644
index 000000000..bed499d19
--- /dev/null
+++ b/docs/src/pages/post/is-chatgpt-down-use-jan.mdx
@@ -0,0 +1,124 @@
+---
+title: "If ChatGPT is down, switch to AI that never goes down"
+description: "Check if ChatGPT down right now, and learn how to use AI that never goes down."
+tags: AI, ChatGPT down, ChatGPT alternative, Jan, local AI, offline AI, ChatGPT at capacity
+categories: guides
+date: 2025-09-30
+ogImage: _assets/is-chatgpt-down.jpg
+twitter:
+ card: summary_large_image
+ site: "@jandotai"
+ title: "Realtime Status Checker: Is ChatGPT down?"
+ description: "Check if ChatGPT is down right now with our real-time status checker, and learn how to use AI that never goes offline."
+ image: _assets/is-chatgpt-down.jpg
+---
+import { Callout } from 'nextra/components'
+import CTABlog from '@/components/Blog/CTA'
+import { OpenAIStatusChecker } from '@/components/OpenAIStatusChecker'
+
+# If ChatGPT is down, switch to AI that never goes down
+
+If you're seeing ChatGPT is down, it could a good signal to switch to [Jan](https://www.jan.ai/), AI that never goes down.
+
+## 🔴 Realtime Status Checker: Is ChatGPT down?
+
+This live tracker shows if ChatGPT is down right now.
+
+
+
+### ChatGPT Status Indicators
+
+
+
+
+
+ Operational
+
+
All systems are functioning normally with no reported issues.
+
+
+
+
+
+ Degraded Performance
+
+
Services are running but may be slower than usual.
+
+
+
+
+
+ Partial Outage
+
+
Some features or regions may be experiencing issues.
+
+
+
+
+
+ Major Outage
+
+
Significant service disruption affecting most users.
+
+
+
+## Skip the downtime with Jan
+
+When ChatGPT is down, Jan keeps working. Jan is an open-source ChatGPT alternative that runs on your computer - no servers, no outages, no waiting.
+
+
+*Jan works even when ChatGPT doesn't.*
+
+### Why Jan never goes down:
+- **Runs locally** - No dependency on external servers
+- **Always available** - Works offline, even on flights
+- **No capacity limits** - Uses your computer's resources
+- **100% private** - Your conversations stay on your device
+
+### Get started in 3 mins:
+1. Download Jan: [jan.ai](https://jan.ai)
+2. Install a model: Choose from Jan, Qwen, or other top models
+3. Start chatting: Similar design as ChatGPT, but always available if you use local models
+
+
+**Pro tip:** Keep both ChatGPT and Jan. You'll never lose productivity to outages again.
+
+
+Jan runs AI models locally, so you don't need internet access. That means Jan is unaffected when ChatGPT is down.
+
+### Why does ChatGPT goes down?
+There could be multiple reasons:
+- Too many users at once
+- Data center or API downtime
+- Planned or uplanned updates
+- Limited in some locations
+
+ChatGPT depends on OpenAI’s servers. If those go down, so does ChatGPT. Jan users don't affect by ChatGPT's outage.
+
+### Common ChatGPT Errors
+
+When ChatGPT experiences issues, you might see these error messages:
+
+- "ChatGPT is at capacity right now": Too many users online, try again later
+- "Error in message stream": Connection problems with OpenAI servers
+- "Something went wrong": General server error, refresh and retry
+- "Network error": Internet connectivity issues on your end or OpenAI's
+- "Rate limit exceeded": Too many requests sent, wait before trying again
+- "This model is currently overloaded": High demand for specific model
+
+## Quick answers about ChatGPT status
+
+### Is ChatGPT down today?
+Check the ChatGPT realtime status above. If ChatGPT is down, you'll see it here.
+
+### Why is ChatGPT down?
+Usually server overload, maintenance, or outages at OpenAI.
+
+### What does “ChatGPT is at capacity” mean?
+Too many users are online at the same time. You’ll need to wait or switch to Jan instead.
+
+### Is ChatGPT shutting down?
+No, ChatGPT isn’t shutting down. Outages are temporary.
+
+### Can I use ChatGPT offline?
+No. ChatGPT always requires internet. For [offline AI](https://www.jan.ai/post/offline-chatgpt-alternative), use [Jan](https://jan.ai).
\ No newline at end of file
diff --git a/docs/src/pages/post/offline-chatgpt-alternative.mdx b/docs/src/pages/post/offline-chatgpt-alternative.mdx
index d73bec712..6f16b0334 100644
--- a/docs/src/pages/post/offline-chatgpt-alternative.mdx
+++ b/docs/src/pages/post/offline-chatgpt-alternative.mdx
@@ -1,7 +1,7 @@
---
title: "Offline ChatGPT: You can't run ChatGPT offline, do this instead"
-description: "Learn how to use AI offline with Jan - a free, open-source alternative to ChatGPT that works 100% offline on your computer."
-tags: AI, ChatGPT alternative, offline AI, Jan, local AI, privacy
+description: "Use offline AI with Jan, a free & open-source alternative to ChatGPT that runs 100% offline."
+tags: AI, chatgpt offline, ChatGPT alternative, offline AI, Jan, local AI, privacy
categories: guides
date: 2025-02-08
ogImage: _assets/offline-chatgpt-alternatives-jan.jpg
@@ -9,7 +9,7 @@ twitter:
card: summary_large_image
site: "@jandotai"
title: "Offline ChatGPT: You can't run ChatGPT offline, do this instead"
- description: "Want to use ChatGPT offline? Learn how to run AI models locally with Jan - free, open-source, and works without internet."
+ description: "Use offline AI with Jan, a free & open-source alternative to ChatGPT that runs 100% offline."
image: _assets/offline-chatgpt-alternatives-jan.jpg
---
import { Callout } from 'nextra/components'
@@ -17,16 +17,20 @@ import CTABlog from '@/components/Blog/CTA'
# Offline ChatGPT: You can't run ChatGPT offline, do this instead
-ChatGPT is a cloud-based service that requires internet access. However, it's not the only way to use AI. You can run AI models offline on your device with [Jan](https://jan.ai/). It's completely free, open-source, and gives you 100% offline capability. You can even use AI on a plane!
+ChatGPT itself can't run offline. ChatGPT can't run offline. You can’t download it. It always needs internet, because it runs on OpenAI's servers.
-
+If you want offline AI, you need local models. The easiest way: [Jan, an open-source replacement of ChatGPT](https://jan.ai/). It's free, open-source, and works 100% offline. With Jan, you can even use AI on a plane.
+
+
**Quick Summary:**
-- ChatGPT always needs internet - it can't run offline
-- Jan lets you run AI models 100% offline on your computer
-- It's free and open-source
-- Works on Mac, Windows, and Linux
+- ChatGPT always needs internet - no offline mode
+- Use Jan to use AI models 100% offline
+- It's free & open-source, and works on Mac, Windows, and Linux
+## How to use AI offline?
+Offline AI means the model runs on your computer. So no internet needed, 100% private, and data never leaves your device. With Jan you can run offline AI models locally.
+
## Jan as an offline ChatGPT alternative

@@ -42,20 +46,22 @@ Go to [jan.ai](https://jan.ai) and download the version for your computer (Mac,
### 2. Download an AI model
-You'll need an AI model to use AI offline, so download a model from Jan. Once it's on your computer, you don't need internet anymore.
+You'll need an AI model to use AI offline, so download a model from Jan. Once it's on your computer, you don't need internet anymore. You can also use GPT models via Jan - check [running gpt-oss locally](https://www.jan.ai/post/run-gpt-oss-locally) post to see it.

*Select an AI model that matches your needs and computer capabilities*
-
-**Which model should you choose?**
+### Which model should you choose?
- For most computers: Try Mistral 7B or DeepSeek - they're similar to ChatGPT 3.5
- For older computers: Use smaller 3B models
- For gaming PCs: You can try larger 13B models
+
Don't worry about choosing - Jan will automatically recommend models that work well on your computer.
+If you'd like to learn more about local AI, check [how to run AI models locally as a beginner](https://www.jan.ai/post/run-ai-models-locally) article.
+
### 3. Start using AI offline

@@ -71,12 +77,7 @@ Once downloaded, you can use AI anywhere, anytime:
## How to chat with your docs in Jan?
-To chat with your docs in Jan, you need to activate experimental mode.
-
-
-*Turn on experimental mode in settings to chat with your docs*
-
-After activating experimental mode, simply add your files and ask questions about them.
+Simply add your files and ask questions about them.

*Chat with your documents privately - no internet needed*
@@ -97,17 +98,17 @@ Local AI makes possible offline AI use, so Jan is going to be your first step to
4. **No Server Issues:** No more "ChatGPT is at capacity"
5. **Your Choice of Models:** Use newer models as they come out
-**"Is it really free? What's the catch?"**
+### "Is Jan really free? What's the catch?"
Yes, it's completely free and open source. Jan is built by developers who believe in making AI accessible to everyone.
-**"How does it compare to ChatGPT?"**
+### How does Jan compare to ChatGPT?"
Modern open-source models like DeepSeek and Mistral are very capable. While they might not match GPT-4, they're perfect for most tasks and getting better every month.
-**"Do I need a powerful computer?"**
+### "Do I need a powerful computer?"
If your computer is from the last 5 years, it will likely work fine. You need about 8GB of RAM and 10GB of free space for comfortable usage.
-**"What about my privacy?"**
-Everything stays on your computer. Your conversations, documents, and data never leave your device unless you choose to share them.
+### "What about my privacy?"
+Everything stays on your computer with Jan. Your conversations, documents, and data never leave your device unless you choose to share them.
Want to learn more about the technical side? Check our detailed [guide on running AI models locally](/post/run-ai-models-locally). It's not required to [use AI offline](https://jan.ai/) but helps understand how it all works.
@@ -116,3 +117,20 @@ Want to learn more about the technical side? Check our detailed [guide on runnin
[Join our Discord community](https://discord.gg/Exe46xPMbK) for support and tips on using Jan as your offline ChatGPT alternative.
+
+### FAQ
+
+#### Can I download ChatGPT for offline use?
+No. ChatGPT is cloud-only.
+
+#### How to use ChatGPT offline?
+You can't. ChatGPT has no offline mode. Use Jan instead for a ChatGPT-like offline experience.
+
+#### Does ChatGPT have internet access?
+Yes. It runs in the cloud.
+
+#### What's the best way to use AI offline?
+Download Jan and run models like Mistral, DeepSeek, or GPT-OSS locally.
+
+#### What's GPT offline?
+OpenAI has open-source models you can run locally but not via ChatGPT. One of them is [gpt-oss](https://www.jan.ai/post/run-gpt-oss-locally) and you can run it via Jan.
\ No newline at end of file
diff --git a/extensions-web/package.json b/extensions-web/package.json
index c6517bde0..232ba13fa 100644
--- a/extensions-web/package.json
+++ b/extensions-web/package.json
@@ -22,16 +22,16 @@
},
"devDependencies": {
"@janhq/core": "workspace:*",
- "typescript": "^5.3.3",
- "vite": "^5.0.0",
- "vitest": "^2.0.0",
- "zustand": "^5.0.8"
+ "typescript": "5.9.2",
+ "vite": "5.4.20",
+ "vitest": "2.1.9",
+ "zustand": "5.0.8"
},
"peerDependencies": {
"@janhq/core": "*",
- "zustand": "^5.0.0"
+ "zustand": "5.0.3"
},
"dependencies": {
- "@modelcontextprotocol/sdk": "^1.17.5"
+ "@modelcontextprotocol/sdk": "1.17.5"
}
}
diff --git a/extensions-web/src/jan-provider-web/provider.ts b/extensions-web/src/jan-provider-web/provider.ts
index dfdfe01b4..cfbe18e2e 100644
--- a/extensions-web/src/jan-provider-web/provider.ts
+++ b/extensions-web/src/jan-provider-web/provider.ts
@@ -16,6 +16,9 @@ import {
import { janApiClient, JanChatMessage } from './api'
import { janProviderStore } from './store'
+// Jan models support tools via MCP
+const JAN_MODEL_CAPABILITIES = ['tools'] as const
+
export default class JanProviderWeb extends AIEngine {
readonly provider = 'jan'
private activeSessions: Map = new Map()
@@ -24,6 +27,9 @@ export default class JanProviderWeb extends AIEngine {
console.log('Loading Jan Provider Extension...')
try {
+ // Check and clear invalid Jan models (capabilities mismatch)
+ this.validateJanModelsLocalStorage()
+
// Initialize authentication and fetch models
await janApiClient.initialize()
console.log('Jan Provider Extension loaded successfully')
@@ -35,6 +41,54 @@ export default class JanProviderWeb extends AIEngine {
super.onLoad()
}
+ // Verify Jan models capabilities in localStorage
+ private validateJanModelsLocalStorage() {
+ try {
+ console.log("Validating Jan models in localStorage...")
+ const storageKey = 'model-provider'
+ const data = localStorage.getItem(storageKey)
+ if (!data) return
+
+ const parsed = JSON.parse(data)
+ if (!parsed?.state?.providers) return
+
+ // Check if any Jan model has incorrect capabilities
+ let hasInvalidModel = false
+
+ for (const provider of parsed.state.providers) {
+ if (provider.provider === 'jan' && provider.models) {
+ for (const model of provider.models) {
+ console.log(`Checking Jan model: ${model.id}`, model.capabilities)
+ if (JSON.stringify(model.capabilities) !== JSON.stringify(JAN_MODEL_CAPABILITIES)) {
+ hasInvalidModel = true
+ console.log(`Found invalid Jan model: ${model.id}, clearing localStorage`)
+ break
+ }
+ }
+ }
+ if (hasInvalidModel) break
+ }
+
+ // If any invalid model found, just clear the storage
+ if (hasInvalidModel) {
+ // Force clear the storage
+ localStorage.removeItem(storageKey)
+ // Verify it's actually removed
+ const afterRemoval = localStorage.getItem(storageKey)
+ // If still present, try setting to empty state
+ if (afterRemoval) {
+ // Try alternative clearing method
+ localStorage.setItem(storageKey, JSON.stringify({ state: { providers: [] }, version: parsed.version || 3 }))
+ }
+ console.log('Cleared model-provider from localStorage due to invalid Jan capabilities')
+ // Force a page reload to ensure clean state
+ window.location.reload()
+ }
+ } catch (error) {
+ console.error('Failed to check Jan models:', error)
+ }
+ }
+
override async onUnload() {
console.log('Unloading Jan Provider Extension...')
@@ -64,7 +118,7 @@ export default class JanProviderWeb extends AIEngine {
path: undefined, // Remote model, no local path
owned_by: model.owned_by,
object: model.object,
- capabilities: ['tools'], // Jan models support both tools via MCP
+ capabilities: [...JAN_MODEL_CAPABILITIES],
}
: undefined
)
@@ -85,7 +139,7 @@ export default class JanProviderWeb extends AIEngine {
path: undefined, // Remote model, no local path
owned_by: model.owned_by,
object: model.object,
- capabilities: ['tools'], // Jan models support both tools via MCP
+ capabilities: [...JAN_MODEL_CAPABILITIES],
}))
} catch (error) {
console.error('Failed to list Jan models:', error)
@@ -332,6 +386,12 @@ export default class JanProviderWeb extends AIEngine {
)
}
+ async update(modelId: string, model: Partial): Promise {
+ throw new Error(
+ `Update operation not supported for remote Jan API model: ${modelId}`
+ )
+ }
+
async import(modelId: string, _opts: ImportOptions): Promise {
throw new Error(
`Import operation not supported for remote Jan API model: ${modelId}`
diff --git a/extensions-web/src/shared/auth/service.ts b/extensions-web/src/shared/auth/service.ts
index ecedb4d62..1895ff8c4 100644
--- a/extensions-web/src/shared/auth/service.ts
+++ b/extensions-web/src/shared/auth/service.ts
@@ -48,6 +48,18 @@ export class JanAuthService {
* Called on app load to check existing session
*/
async initialize(): Promise {
+ // Ensure refreshtoken is valid (in case of expired session or secret change)
+ try {
+ await refreshToken()
+ } catch (error) {
+ console.log('Failed to refresh token on init:', error)
+ // If refresh fails, logout to clear any invalid state
+ console.log('Logging out and clearing auth state to clear invalid session...')
+ await logoutUser()
+ this.clearAuthState()
+ this.authBroadcast.broadcastLogout()
+ }
+ // Authentication state check
try {
if (!this.isAuthenticated()) {
// Not authenticated - ensure guest access
diff --git a/extensions/assistant-extension/package.json b/extensions/assistant-extension/package.json
index f17d42588..fd98b79ce 100644
--- a/extensions/assistant-extension/package.json
+++ b/extensions/assistant-extension/package.json
@@ -12,11 +12,11 @@
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install"
},
"devDependencies": {
- "cpx": "^1.5.0",
- "rimraf": "^6.0.1",
+ "cpx": "1.5.0",
+ "rimraf": "6.0.1",
"rolldown": "1.0.0-beta.1",
- "run-script-os": "^1.1.6",
- "typescript": "^5.3.3"
+ "run-script-os": "1.1.6",
+ "typescript": "5.9.2"
},
"dependencies": {
"@janhq/core": "../../core/package.tgz",
diff --git a/extensions/conversational-extension/package.json b/extensions/conversational-extension/package.json
index 8e3392ada..603677516 100644
--- a/extensions/conversational-extension/package.json
+++ b/extensions/conversational-extension/package.json
@@ -15,11 +15,11 @@
"./main": "./dist/module.js"
},
"devDependencies": {
- "cpx": "^1.5.0",
- "rimraf": "^6.0.1",
+ "cpx": "1.5.0",
+ "rimraf": "6.0.1",
"rolldown": "1.0.0-beta.1",
"ts-loader": "^9.5.0",
- "typescript": "^5.7.2"
+ "typescript": "5.9.2"
},
"dependencies": {
"@janhq/core": "../../core/package.tgz"
diff --git a/extensions/download-extension/package.json b/extensions/download-extension/package.json
index f15f12bdb..2f93977d7 100644
--- a/extensions/download-extension/package.json
+++ b/extensions/download-extension/package.json
@@ -12,12 +12,12 @@
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install"
},
"devDependencies": {
- "cpx": "^1.5.0",
- "rimraf": "^6.0.1",
+ "cpx": "1.5.0",
+ "rimraf": "6.0.1",
"rolldown": "1.0.0-beta.1",
- "run-script-os": "^1.1.6",
+ "run-script-os": "1.1.6",
"typescript": "5.8.3",
- "vitest": "^3.0.6"
+ "vitest": "3.2.4"
},
"files": [
"dist/*",
@@ -26,7 +26,7 @@
],
"dependencies": {
"@janhq/core": "../../core/package.tgz",
- "@tauri-apps/api": "^2.5.0"
+ "@tauri-apps/api": "2.8.0"
},
"bundleDependencies": [],
"installConfig": {
diff --git a/extensions/llamacpp-extension/package.json b/extensions/llamacpp-extension/package.json
index 585365130..b6b7b01cd 100644
--- a/extensions/llamacpp-extension/package.json
+++ b/extensions/llamacpp-extension/package.json
@@ -17,24 +17,24 @@
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
- "@vitest/ui": "^3.2.4",
- "cpx": "^1.5.0",
- "jsdom": "^26.1.0",
- "rimraf": "^3.0.2",
+ "@vitest/ui": "2.1.9",
+ "cpx": "1.5.0",
+ "jsdom": "26.1.0",
+ "rimraf": "3.0.2",
"rolldown": "1.0.0-beta.1",
"ts-loader": "^9.5.0",
- "typescript": "^5.7.2",
- "vitest": "^3.2.4"
+ "typescript": "5.9.2",
+ "vitest": "3.2.4"
},
"dependencies": {
"@janhq/core": "../../core/package.tgz",
"@janhq/tauri-plugin-hardware-api": "link:../../src-tauri/plugins/tauri-plugin-hardware",
"@janhq/tauri-plugin-llamacpp-api": "link:../../src-tauri/plugins/tauri-plugin-llamacpp",
- "@tauri-apps/api": "^2.5.0",
- "@tauri-apps/plugin-http": "^2.5.1",
+ "@tauri-apps/api": "2.8.0",
+ "@tauri-apps/plugin-http": "2.5.0",
"@tauri-apps/plugin-log": "^2.6.0",
"fetch-retry": "^5.0.6",
- "ulidx": "^2.3.0"
+ "ulidx": "2.4.1"
},
"engines": {
"node": ">=18.0.0"
diff --git a/extensions/llamacpp-extension/src/backend.ts b/extensions/llamacpp-extension/src/backend.ts
index d60ecc138..a313e01c6 100644
--- a/extensions/llamacpp-extension/src/backend.ts
+++ b/extensions/llamacpp-extension/src/backend.ts
@@ -1,9 +1,8 @@
import { getJanDataFolderPath, fs, joinPath, events } from '@janhq/core'
import { invoke } from '@tauri-apps/api/core'
-import { getProxyConfig } from './util'
+import { getProxyConfig, basenameNoExt } from './util'
import { dirname, basename } from '@tauri-apps/api/path'
import { getSystemInfo } from '@janhq/tauri-plugin-hardware-api'
-
/*
* Reads currently installed backends in janDataFolderPath
*
@@ -73,10 +72,7 @@ async function fetchRemoteSupportedBackends(
if (!name.startsWith(prefix)) continue
- const backend = name
- .replace(prefix, '')
- .replace('.tar.gz', '')
- .replace('.zip', '')
+ const backend = basenameNoExt(name).slice(prefix.length)
if (supportedBackends.includes(backend)) {
remote.push({ version, backend })
diff --git a/extensions/llamacpp-extension/src/index.ts b/extensions/llamacpp-extension/src/index.ts
index 78e7c04f3..07d49cd53 100644
--- a/extensions/llamacpp-extension/src/index.ts
+++ b/extensions/llamacpp-extension/src/index.ts
@@ -1155,6 +1155,49 @@ export default class llamacpp_extension extends AIEngine {
}
}
+ /**
+ * Update a model with new information.
+ * @param modelId
+ * @param model
+ */
+ async update(modelId: string, model: Partial): Promise {
+ const modelFolderPath = await joinPath([
+ await this.getProviderPath(),
+ 'models',
+ modelId,
+ ])
+ const modelConfig = await invoke('read_yaml', {
+ path: await joinPath([modelFolderPath, 'model.yml']),
+ })
+ const newFolderPath = await joinPath([
+ await this.getProviderPath(),
+ 'models',
+ model.id,
+ ])
+ // Check if newFolderPath exists
+ if (await fs.existsSync(newFolderPath)) {
+ throw new Error(`Model with ID ${model.id} already exists`)
+ }
+ const newModelConfigPath = await joinPath([newFolderPath, 'model.yml'])
+ await fs.mv(modelFolderPath, newFolderPath).then(() =>
+ // now replace what values have previous model name with format
+ invoke('write_yaml', {
+ data: {
+ ...modelConfig,
+ model_path: modelConfig?.model_path?.replace(
+ `${this.providerId}/models/${modelId}`,
+ `${this.providerId}/models/${model.id}`
+ ),
+ mmproj_path: modelConfig?.mmproj_path?.replace(
+ `${this.providerId}/models/${modelId}`,
+ `${this.providerId}/models/${model.id}`
+ ),
+ },
+ savePath: newModelConfigPath,
+ })
+ )
+ }
+
override async import(modelId: string, opts: ImportOptions): Promise {
const isValidModelId = (id: string) => {
// only allow alphanumeric, underscore, hyphen, and dot characters in modelId
diff --git a/extensions/llamacpp-extension/src/util.ts b/extensions/llamacpp-extension/src/util.ts
index 1511eafec..b72766579 100644
--- a/extensions/llamacpp-extension/src/util.ts
+++ b/extensions/llamacpp-extension/src/util.ts
@@ -1,3 +1,23 @@
+// File path utilities
+export function basenameNoExt(filePath: string): string {
+ const VALID_EXTENSIONS = [".tar.gz", ".zip"];
+
+ // handle VALID extensions first
+ for (const ext of VALID_EXTENSIONS) {
+ if (filePath.toLowerCase().endsWith(ext)) {
+ return filePath.slice(0, -ext.length);
+ }
+ }
+
+ // fallback: remove only the last extension
+ const lastDotIndex = filePath.lastIndexOf('.');
+ if (lastDotIndex > 0) {
+ return filePath.slice(0, lastDotIndex);
+ }
+
+ return filePath;
+}
+
// Zustand proxy state structure
interface ProxyState {
proxyEnabled: boolean
diff --git a/extensions/llamacpp-extension/tsconfig.json b/extensions/llamacpp-extension/tsconfig.json
index 6db951c9e..34d31fe4a 100644
--- a/extensions/llamacpp-extension/tsconfig.json
+++ b/extensions/llamacpp-extension/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "target": "es2016",
+ "target": "es2018",
"module": "ES6",
"moduleResolution": "node",
"outDir": "./dist",
diff --git a/extensions/yarn.lock b/extensions/yarn.lock
index 49ed702db..9196aa06f 100644
--- a/extensions/yarn.lock
+++ b/extensions/yarn.lock
@@ -92,13 +92,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/aix-ppc64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/aix-ppc64@npm:0.24.2"
- conditions: os=aix & cpu=ppc64
- languageName: node
- linkType: hard
-
"@esbuild/aix-ppc64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/aix-ppc64@npm:0.25.9"
@@ -106,13 +99,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/android-arm64@npm:0.24.2"
- conditions: os=android & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/android-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/android-arm64@npm:0.25.9"
@@ -120,13 +106,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/android-arm@npm:0.24.2"
- conditions: os=android & cpu=arm
- languageName: node
- linkType: hard
-
"@esbuild/android-arm@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/android-arm@npm:0.25.9"
@@ -134,13 +113,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/android-x64@npm:0.24.2"
- conditions: os=android & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/android-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/android-x64@npm:0.25.9"
@@ -148,13 +120,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/darwin-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/darwin-arm64@npm:0.24.2"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/darwin-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/darwin-arm64@npm:0.25.9"
@@ -162,13 +127,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/darwin-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/darwin-x64@npm:0.24.2"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/darwin-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/darwin-x64@npm:0.25.9"
@@ -176,13 +134,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/freebsd-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/freebsd-arm64@npm:0.24.2"
- conditions: os=freebsd & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/freebsd-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/freebsd-arm64@npm:0.25.9"
@@ -190,13 +141,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/freebsd-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/freebsd-x64@npm:0.24.2"
- conditions: os=freebsd & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/freebsd-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/freebsd-x64@npm:0.25.9"
@@ -204,13 +148,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-arm64@npm:0.24.2"
- conditions: os=linux & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/linux-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-arm64@npm:0.25.9"
@@ -218,13 +155,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-arm@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-arm@npm:0.24.2"
- conditions: os=linux & cpu=arm
- languageName: node
- linkType: hard
-
"@esbuild/linux-arm@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-arm@npm:0.25.9"
@@ -232,13 +162,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-ia32@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-ia32@npm:0.24.2"
- conditions: os=linux & cpu=ia32
- languageName: node
- linkType: hard
-
"@esbuild/linux-ia32@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-ia32@npm:0.25.9"
@@ -246,13 +169,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-loong64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-loong64@npm:0.24.2"
- conditions: os=linux & cpu=loong64
- languageName: node
- linkType: hard
-
"@esbuild/linux-loong64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-loong64@npm:0.25.9"
@@ -260,13 +176,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-mips64el@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-mips64el@npm:0.24.2"
- conditions: os=linux & cpu=mips64el
- languageName: node
- linkType: hard
-
"@esbuild/linux-mips64el@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-mips64el@npm:0.25.9"
@@ -274,13 +183,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-ppc64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-ppc64@npm:0.24.2"
- conditions: os=linux & cpu=ppc64
- languageName: node
- linkType: hard
-
"@esbuild/linux-ppc64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-ppc64@npm:0.25.9"
@@ -288,13 +190,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-riscv64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-riscv64@npm:0.24.2"
- conditions: os=linux & cpu=riscv64
- languageName: node
- linkType: hard
-
"@esbuild/linux-riscv64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-riscv64@npm:0.25.9"
@@ -302,13 +197,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-s390x@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-s390x@npm:0.24.2"
- conditions: os=linux & cpu=s390x
- languageName: node
- linkType: hard
-
"@esbuild/linux-s390x@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-s390x@npm:0.25.9"
@@ -316,13 +204,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/linux-x64@npm:0.24.2"
- conditions: os=linux & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/linux-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/linux-x64@npm:0.25.9"
@@ -330,13 +211,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/netbsd-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/netbsd-arm64@npm:0.24.2"
- conditions: os=netbsd & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/netbsd-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/netbsd-arm64@npm:0.25.9"
@@ -344,13 +218,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/netbsd-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/netbsd-x64@npm:0.24.2"
- conditions: os=netbsd & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/netbsd-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/netbsd-x64@npm:0.25.9"
@@ -358,13 +225,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/openbsd-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/openbsd-arm64@npm:0.24.2"
- conditions: os=openbsd & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/openbsd-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/openbsd-arm64@npm:0.25.9"
@@ -372,13 +232,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/openbsd-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/openbsd-x64@npm:0.24.2"
- conditions: os=openbsd & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/openbsd-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/openbsd-x64@npm:0.25.9"
@@ -393,13 +246,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/sunos-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/sunos-x64@npm:0.24.2"
- conditions: os=sunos & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/sunos-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/sunos-x64@npm:0.25.9"
@@ -407,13 +253,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-arm64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/win32-arm64@npm:0.24.2"
- conditions: os=win32 & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/win32-arm64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/win32-arm64@npm:0.25.9"
@@ -421,13 +260,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-ia32@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/win32-ia32@npm:0.24.2"
- conditions: os=win32 & cpu=ia32
- languageName: node
- linkType: hard
-
"@esbuild/win32-ia32@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/win32-ia32@npm:0.25.9"
@@ -435,13 +267,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-x64@npm:0.24.2":
- version: 0.24.2
- resolution: "@esbuild/win32-x64@npm:0.24.2"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/win32-x64@npm:0.25.9":
version: 0.25.9
resolution: "@esbuild/win32-x64@npm:0.25.9"
@@ -493,12 +318,12 @@ __metadata:
resolution: "@janhq/assistant-extension@workspace:assistant-extension"
dependencies:
"@janhq/core": ../../core/package.tgz
- cpx: "npm:^1.5.0"
- rimraf: "npm:^6.0.1"
+ cpx: "npm:1.5.0"
+ rimraf: "npm:6.0.1"
rolldown: "npm:1.0.0-beta.1"
- run-script-os: "npm:^1.1.6"
+ run-script-os: "npm:1.1.6"
ts-loader: "npm:^9.5.0"
- typescript: "npm:^5.3.3"
+ typescript: "npm:5.9.2"
languageName: unknown
linkType: soft
@@ -507,11 +332,11 @@ __metadata:
resolution: "@janhq/conversational-extension@workspace:conversational-extension"
dependencies:
"@janhq/core": ../../core/package.tgz
- cpx: "npm:^1.5.0"
- rimraf: "npm:^6.0.1"
+ cpx: "npm:1.5.0"
+ rimraf: "npm:6.0.1"
rolldown: "npm:1.0.0-beta.1"
ts-loader: "npm:^9.5.0"
- typescript: "npm:^5.7.2"
+ typescript: "npm:5.9.2"
languageName: unknown
linkType: soft
@@ -560,13 +385,13 @@ __metadata:
resolution: "@janhq/download-extension@workspace:download-extension"
dependencies:
"@janhq/core": ../../core/package.tgz
- "@tauri-apps/api": "npm:^2.5.0"
- cpx: "npm:^1.5.0"
- rimraf: "npm:^6.0.1"
+ "@tauri-apps/api": "npm:2.8.0"
+ cpx: "npm:1.5.0"
+ rimraf: "npm:6.0.1"
rolldown: "npm:1.0.0-beta.1"
- run-script-os: "npm:^1.1.6"
+ run-script-os: "npm:1.1.6"
typescript: "npm:5.8.3"
- vitest: "npm:^3.0.6"
+ vitest: "npm:3.2.4"
languageName: unknown
linkType: soft
@@ -577,19 +402,19 @@ __metadata:
"@janhq/core": ../../core/package.tgz
"@janhq/tauri-plugin-hardware-api": "link:../../src-tauri/plugins/tauri-plugin-hardware"
"@janhq/tauri-plugin-llamacpp-api": "link:../../src-tauri/plugins/tauri-plugin-llamacpp"
- "@tauri-apps/api": "npm:^2.5.0"
- "@tauri-apps/plugin-http": "npm:^2.5.1"
+ "@tauri-apps/api": "npm:2.8.0"
+ "@tauri-apps/plugin-http": "npm:2.5.0"
"@tauri-apps/plugin-log": "npm:^2.6.0"
- "@vitest/ui": "npm:^3.2.4"
- cpx: "npm:^1.5.0"
+ "@vitest/ui": "npm:2.1.9"
+ cpx: "npm:1.5.0"
fetch-retry: "npm:^5.0.6"
- jsdom: "npm:^26.1.0"
- rimraf: "npm:^3.0.2"
+ jsdom: "npm:26.1.0"
+ rimraf: "npm:3.0.2"
rolldown: "npm:1.0.0-beta.1"
ts-loader: "npm:^9.5.0"
- typescript: "npm:^5.7.2"
- ulidx: "npm:^2.3.0"
- vitest: "npm:^3.2.4"
+ typescript: "npm:5.9.2"
+ ulidx: "npm:2.4.1"
+ vitest: "npm:3.2.4"
languageName: unknown
linkType: soft
@@ -745,13 +570,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-android-arm-eabi@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-android-arm-eabi@npm:4.34.8"
- conditions: os=android & cpu=arm
- languageName: node
- linkType: hard
-
"@rollup/rollup-android-arm-eabi@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-android-arm-eabi@npm:4.50.1"
@@ -759,13 +577,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-android-arm64@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-android-arm64@npm:4.34.8"
- conditions: os=android & cpu=arm64
- languageName: node
- linkType: hard
-
"@rollup/rollup-android-arm64@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-android-arm64@npm:4.50.1"
@@ -773,13 +584,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-darwin-arm64@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-darwin-arm64@npm:4.34.8"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
"@rollup/rollup-darwin-arm64@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-darwin-arm64@npm:4.50.1"
@@ -787,13 +591,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-darwin-x64@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-darwin-x64@npm:4.34.8"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
"@rollup/rollup-darwin-x64@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-darwin-x64@npm:4.50.1"
@@ -801,13 +598,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-freebsd-arm64@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-freebsd-arm64@npm:4.34.8"
- conditions: os=freebsd & cpu=arm64
- languageName: node
- linkType: hard
-
"@rollup/rollup-freebsd-arm64@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-freebsd-arm64@npm:4.50.1"
@@ -815,13 +605,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-freebsd-x64@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-freebsd-x64@npm:4.34.8"
- conditions: os=freebsd & cpu=x64
- languageName: node
- linkType: hard
-
"@rollup/rollup-freebsd-x64@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-freebsd-x64@npm:4.50.1"
@@ -829,13 +612,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm-gnueabihf@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.8"
- conditions: os=linux & cpu=arm & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-arm-gnueabihf@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.50.1"
@@ -843,13 +619,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm-musleabihf@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.34.8"
- conditions: os=linux & cpu=arm & libc=musl
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-arm-musleabihf@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.50.1"
@@ -857,13 +626,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm64-gnu@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.34.8"
- conditions: os=linux & cpu=arm64 & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-arm64-gnu@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.50.1"
@@ -871,13 +633,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm64-musl@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-arm64-musl@npm:4.34.8"
- conditions: os=linux & cpu=arm64 & libc=musl
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-arm64-musl@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.50.1"
@@ -885,13 +640,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-loongarch64-gnu@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.34.8"
- conditions: os=linux & cpu=loong64 & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-loongarch64-gnu@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.50.1"
@@ -899,13 +647,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.8"
- conditions: os=linux & cpu=ppc64 & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-ppc64-gnu@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.50.1"
@@ -913,13 +654,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-riscv64-gnu@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.34.8"
- conditions: os=linux & cpu=riscv64 & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-riscv64-gnu@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.50.1"
@@ -934,13 +668,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-s390x-gnu@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.34.8"
- conditions: os=linux & cpu=s390x & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-s390x-gnu@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.50.1"
@@ -948,13 +675,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-x64-gnu@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-x64-gnu@npm:4.34.8"
- conditions: os=linux & cpu=x64 & libc=glibc
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-x64-gnu@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.50.1"
@@ -962,13 +682,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-linux-x64-musl@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-linux-x64-musl@npm:4.34.8"
- conditions: os=linux & cpu=x64 & libc=musl
- languageName: node
- linkType: hard
-
"@rollup/rollup-linux-x64-musl@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-linux-x64-musl@npm:4.50.1"
@@ -983,13 +696,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-win32-arm64-msvc@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.34.8"
- conditions: os=win32 & cpu=arm64
- languageName: node
- linkType: hard
-
"@rollup/rollup-win32-arm64-msvc@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.50.1"
@@ -997,13 +703,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-win32-ia32-msvc@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.34.8"
- conditions: os=win32 & cpu=ia32
- languageName: node
- linkType: hard
-
"@rollup/rollup-win32-ia32-msvc@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.50.1"
@@ -1011,13 +710,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-win32-x64-msvc@npm:4.34.8":
- version: 4.34.8
- resolution: "@rollup/rollup-win32-x64-msvc@npm:4.34.8"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
"@rollup/rollup-win32-x64-msvc@npm:4.50.1":
version: 4.50.1
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.50.1"
@@ -1025,26 +717,19 @@ __metadata:
languageName: node
linkType: hard
-"@tauri-apps/api@npm:^2.5.0":
- version: 2.6.0
- resolution: "@tauri-apps/api@npm:2.6.0"
- checksum: 10c0/211353d951c7e3e5298f074ec762b5853ff0cdee261478c27db1e450fcf3d6f2c03a616483abbf9dfc79f13c6dfcfa7db0b790c1384c113951c0d694809f05ef
- languageName: node
- linkType: hard
-
-"@tauri-apps/api@npm:^2.8.0":
+"@tauri-apps/api@npm:2.8.0, @tauri-apps/api@npm:^2.6.0, @tauri-apps/api@npm:^2.8.0":
version: 2.8.0
resolution: "@tauri-apps/api@npm:2.8.0"
checksum: 10c0/fb111e4d7572372997b440ebe6879543fa8c4765151878e3fddfbfe809b18da29eed142ce83061d14a9ca6d896b3266dc8a4927c642d71cdc0b4277dc7e3aabf
languageName: node
linkType: hard
-"@tauri-apps/plugin-http@npm:^2.5.1":
- version: 2.5.2
- resolution: "@tauri-apps/plugin-http@npm:2.5.2"
+"@tauri-apps/plugin-http@npm:2.5.0":
+ version: 2.5.0
+ resolution: "@tauri-apps/plugin-http@npm:2.5.0"
dependencies:
- "@tauri-apps/api": "npm:^2.8.0"
- checksum: 10c0/14ca96a1f3cca03a7f391bc04e3d4cb693bd56595ce01b9ce037342733b428c4ca781aa573968352332361fe7c3a438be7603db4d03f681db90b890daaa3e152
+ "@tauri-apps/api": "npm:^2.6.0"
+ checksum: 10c0/eed47bb2adf012cde4409c4decae30e6b759f5828cb959cf43fc34c5fdfe68e6670f14f1134c8c4c941bc3fdb00e312772ebd72ec94e15c56ed1b7fbd47dd91c
languageName: node
linkType: hard
@@ -1082,13 +767,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.0":
- version: 1.0.6
- resolution: "@types/estree@npm:1.0.6"
- checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a
- languageName: node
- linkType: hard
-
"@types/estree@npm:1.0.8":
version: 1.0.8
resolution: "@types/estree@npm:1.0.8"
@@ -1096,15 +774,10 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/expect@npm:3.0.6":
- version: 3.0.6
- resolution: "@vitest/expect@npm:3.0.6"
- dependencies:
- "@vitest/spy": "npm:3.0.6"
- "@vitest/utils": "npm:3.0.6"
- chai: "npm:^5.2.0"
- tinyrainbow: "npm:^2.0.0"
- checksum: 10c0/1273d80d3f523dd390016d89c037e6088688342cc1961f1b0b8b54103f94212c7f6efa275c263fbcfc77e1adcf0fc9faa7285782b85eb4fe49a3bc999e7a61d4
+"@types/estree@npm:^1.0.0":
+ version: 1.0.6
+ resolution: "@types/estree@npm:1.0.6"
+ checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a
languageName: node
linkType: hard
@@ -1121,25 +794,6 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/mocker@npm:3.0.6":
- version: 3.0.6
- resolution: "@vitest/mocker@npm:3.0.6"
- dependencies:
- "@vitest/spy": "npm:3.0.6"
- estree-walker: "npm:^3.0.3"
- magic-string: "npm:^0.30.17"
- peerDependencies:
- msw: ^2.4.9
- vite: ^5.0.0 || ^6.0.0
- peerDependenciesMeta:
- msw:
- optional: true
- vite:
- optional: true
- checksum: 10c0/41911fbdf2c6afe099aa8d039079495dfd3dec2cd13e660fbc43488457181065c043d889ed17395bbc76e29e7253bcffbe9ad6a2fb407be33929470089e0b06b
- languageName: node
- linkType: hard
-
"@vitest/mocker@npm:3.2.4":
version: 3.2.4
resolution: "@vitest/mocker@npm:3.2.4"
@@ -1159,12 +813,12 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/pretty-format@npm:3.0.6, @vitest/pretty-format@npm:^3.0.6":
- version: 3.0.6
- resolution: "@vitest/pretty-format@npm:3.0.6"
+"@vitest/pretty-format@npm:2.1.9":
+ version: 2.1.9
+ resolution: "@vitest/pretty-format@npm:2.1.9"
dependencies:
- tinyrainbow: "npm:^2.0.0"
- checksum: 10c0/339b47598f2c77da0d0b7d373c2ceb94995d6154cd30b7de778bbf396d21c570de0be765f1d66793d2a30a6cc673a471be45f093a074acb8a1a71d7665713dd9
+ tinyrainbow: "npm:^1.2.0"
+ checksum: 10c0/155f9ede5090eabed2a73361094bb35ed4ec6769ae3546d2a2af139166569aec41bb80e031c25ff2da22b71dd4ed51e5468e66a05e6aeda5f14b32e30bc18f00
languageName: node
linkType: hard
@@ -1177,16 +831,6 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/runner@npm:3.0.6":
- version: 3.0.6
- resolution: "@vitest/runner@npm:3.0.6"
- dependencies:
- "@vitest/utils": "npm:3.0.6"
- pathe: "npm:^2.0.3"
- checksum: 10c0/a20cd27d6c91947866b35080db7b8f2fc4568c62878d4175cad38914c2bb769c49791be8601d5ffe27c80cefbc0310e6c0b4256c621581daecdc508d60270d31
- languageName: node
- linkType: hard
-
"@vitest/runner@npm:3.2.4":
version: 3.2.4
resolution: "@vitest/runner@npm:3.2.4"
@@ -1198,17 +842,6 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/snapshot@npm:3.0.6":
- version: 3.0.6
- resolution: "@vitest/snapshot@npm:3.0.6"
- dependencies:
- "@vitest/pretty-format": "npm:3.0.6"
- magic-string: "npm:^0.30.17"
- pathe: "npm:^2.0.3"
- checksum: 10c0/9baf575d23ef262de6ff180dca156ccd327c02a507d8380b3d59d3b714e3754c45aa588aaa57e3a115cec572a5dd552b8613736d14ac3759b98e068bfe220bed
- languageName: node
- linkType: hard
-
"@vitest/snapshot@npm:3.2.4":
version: 3.2.4
resolution: "@vitest/snapshot@npm:3.2.4"
@@ -1220,15 +853,6 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/spy@npm:3.0.6":
- version: 3.0.6
- resolution: "@vitest/spy@npm:3.0.6"
- dependencies:
- tinyspy: "npm:^3.0.2"
- checksum: 10c0/575cf28a370b9f9909e54578460a14234eddf449621b0d28f0fb22b872d2c5302c7ea7df39b680836efc729a1290fa562eee129cef73c5223dfe5b58e6a13b1b
- languageName: node
- linkType: hard
-
"@vitest/spy@npm:3.2.4":
version: 3.2.4
resolution: "@vitest/spy@npm:3.2.4"
@@ -1238,31 +862,31 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/ui@npm:^3.2.4":
- version: 3.2.4
- resolution: "@vitest/ui@npm:3.2.4"
+"@vitest/ui@npm:2.1.9":
+ version: 2.1.9
+ resolution: "@vitest/ui@npm:2.1.9"
dependencies:
- "@vitest/utils": "npm:3.2.4"
+ "@vitest/utils": "npm:2.1.9"
fflate: "npm:^0.8.2"
- flatted: "npm:^3.3.3"
- pathe: "npm:^2.0.3"
- sirv: "npm:^3.0.1"
- tinyglobby: "npm:^0.2.14"
- tinyrainbow: "npm:^2.0.0"
+ flatted: "npm:^3.3.1"
+ pathe: "npm:^1.1.2"
+ sirv: "npm:^3.0.0"
+ tinyglobby: "npm:^0.2.10"
+ tinyrainbow: "npm:^1.2.0"
peerDependencies:
- vitest: 3.2.4
- checksum: 10c0/c3de1b757905d050706c7ab0199185dd8c7e115f2f348b8d5a7468528c6bf90c2c46096e8901602349ac04f5ba83ac23cd98c38827b104d5151cf8ba21739a0c
+ vitest: 2.1.9
+ checksum: 10c0/b091f5afd5e7327d1dfc37e26af16d58066bd6c37ec0a1547796f1843eff3170c59062243475fb250ca36d8d7c7293ab78b36b2d112d7839ba8331625ab9b1d3
languageName: node
linkType: hard
-"@vitest/utils@npm:3.0.6":
- version: 3.0.6
- resolution: "@vitest/utils@npm:3.0.6"
+"@vitest/utils@npm:2.1.9":
+ version: 2.1.9
+ resolution: "@vitest/utils@npm:2.1.9"
dependencies:
- "@vitest/pretty-format": "npm:3.0.6"
- loupe: "npm:^3.1.3"
- tinyrainbow: "npm:^2.0.0"
- checksum: 10c0/6b0e89e26c96fcfd825e0795f586336df6a02524a11e9ac3e576b7ed9738a9e4b69cd79d0b69b23c195cc4c6bdd907f1d8f7aa79a4ee0cb85393c94a1aa85267
+ "@vitest/pretty-format": "npm:2.1.9"
+ loupe: "npm:^3.1.2"
+ tinyrainbow: "npm:^1.2.0"
+ checksum: 10c0/81a346cd72b47941f55411f5df4cc230e5f740d1e97e0d3f771b27f007266fc1f28d0438582f6409ea571bc0030ed37f684c64c58d1947d6298d770c21026fdf
languageName: node
linkType: hard
@@ -1684,7 +1308,7 @@ __metadata:
languageName: node
linkType: hard
-"cpx@npm:^1.5.0":
+"cpx@npm:1.5.0":
version: 1.5.0
resolution: "cpx@npm:1.5.0"
dependencies:
@@ -1736,7 +1360,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:4, debug@npm:^4.3.4, debug@npm:^4.4.0":
+"debug@npm:4, debug@npm:^4.3.4":
version: 4.4.0
resolution: "debug@npm:4.4.0"
dependencies:
@@ -1886,13 +1510,6 @@ __metadata:
languageName: node
linkType: hard
-"es-module-lexer@npm:^1.6.0":
- version: 1.6.0
- resolution: "es-module-lexer@npm:1.6.0"
- checksum: 10c0/667309454411c0b95c476025929881e71400d74a746ffa1ff4cb450bd87f8e33e8eef7854d68e401895039ac0bac64e7809acbebb6253e055dd49ea9e3ea9212
- languageName: node
- linkType: hard
-
"es-module-lexer@npm:^1.7.0":
version: 1.7.0
resolution: "es-module-lexer@npm:1.7.0"
@@ -1900,92 +1517,6 @@ __metadata:
languageName: node
linkType: hard
-"esbuild@npm:^0.24.2":
- version: 0.24.2
- resolution: "esbuild@npm:0.24.2"
- dependencies:
- "@esbuild/aix-ppc64": "npm:0.24.2"
- "@esbuild/android-arm": "npm:0.24.2"
- "@esbuild/android-arm64": "npm:0.24.2"
- "@esbuild/android-x64": "npm:0.24.2"
- "@esbuild/darwin-arm64": "npm:0.24.2"
- "@esbuild/darwin-x64": "npm:0.24.2"
- "@esbuild/freebsd-arm64": "npm:0.24.2"
- "@esbuild/freebsd-x64": "npm:0.24.2"
- "@esbuild/linux-arm": "npm:0.24.2"
- "@esbuild/linux-arm64": "npm:0.24.2"
- "@esbuild/linux-ia32": "npm:0.24.2"
- "@esbuild/linux-loong64": "npm:0.24.2"
- "@esbuild/linux-mips64el": "npm:0.24.2"
- "@esbuild/linux-ppc64": "npm:0.24.2"
- "@esbuild/linux-riscv64": "npm:0.24.2"
- "@esbuild/linux-s390x": "npm:0.24.2"
- "@esbuild/linux-x64": "npm:0.24.2"
- "@esbuild/netbsd-arm64": "npm:0.24.2"
- "@esbuild/netbsd-x64": "npm:0.24.2"
- "@esbuild/openbsd-arm64": "npm:0.24.2"
- "@esbuild/openbsd-x64": "npm:0.24.2"
- "@esbuild/sunos-x64": "npm:0.24.2"
- "@esbuild/win32-arm64": "npm:0.24.2"
- "@esbuild/win32-ia32": "npm:0.24.2"
- "@esbuild/win32-x64": "npm:0.24.2"
- dependenciesMeta:
- "@esbuild/aix-ppc64":
- optional: true
- "@esbuild/android-arm":
- optional: true
- "@esbuild/android-arm64":
- optional: true
- "@esbuild/android-x64":
- optional: true
- "@esbuild/darwin-arm64":
- optional: true
- "@esbuild/darwin-x64":
- optional: true
- "@esbuild/freebsd-arm64":
- optional: true
- "@esbuild/freebsd-x64":
- optional: true
- "@esbuild/linux-arm":
- optional: true
- "@esbuild/linux-arm64":
- optional: true
- "@esbuild/linux-ia32":
- optional: true
- "@esbuild/linux-loong64":
- optional: true
- "@esbuild/linux-mips64el":
- optional: true
- "@esbuild/linux-ppc64":
- optional: true
- "@esbuild/linux-riscv64":
- optional: true
- "@esbuild/linux-s390x":
- optional: true
- "@esbuild/linux-x64":
- optional: true
- "@esbuild/netbsd-arm64":
- optional: true
- "@esbuild/netbsd-x64":
- optional: true
- "@esbuild/openbsd-arm64":
- optional: true
- "@esbuild/openbsd-x64":
- optional: true
- "@esbuild/sunos-x64":
- optional: true
- "@esbuild/win32-arm64":
- optional: true
- "@esbuild/win32-ia32":
- optional: true
- "@esbuild/win32-x64":
- optional: true
- bin:
- esbuild: bin/esbuild
- checksum: 10c0/5a25bb08b6ba23db6e66851828d848bd3ff87c005a48c02d83e38879058929878a6baa5a414e1141faee0d1dece3f32b5fbc2a87b82ed6a7aa857cf40359aeb5
- languageName: node
- linkType: hard
-
"esbuild@npm:^0.25.0":
version: 0.25.9
resolution: "esbuild@npm:0.25.9"
@@ -2117,13 +1648,6 @@ __metadata:
languageName: node
linkType: hard
-"expect-type@npm:^1.1.0":
- version: 1.1.0
- resolution: "expect-type@npm:1.1.0"
- checksum: 10c0/5af0febbe8fe18da05a6d51e3677adafd75213512285408156b368ca471252565d5ca6e59e4bddab25121f3cfcbbebc6a5489f8cc9db131cc29e69dcdcc7ae15
- languageName: node
- linkType: hard
-
"expect-type@npm:^1.2.1":
version: 1.2.2
resolution: "expect-type@npm:1.2.2"
@@ -2263,7 +1787,7 @@ __metadata:
languageName: node
linkType: hard
-"flatted@npm:^3.3.3":
+"flatted@npm:^3.3.1":
version: 3.3.3
resolution: "flatted@npm:3.3.3"
checksum: 10c0/e957a1c6b0254aa15b8cce8533e24165abd98fadc98575db082b786b5da1b7d72062b81bfdcd1da2f4d46b6ed93bec2434e62333e9b4261d79ef2e75a10dd538
@@ -2860,7 +2384,7 @@ __metadata:
languageName: node
linkType: hard
-"jsdom@npm:^26.1.0":
+"jsdom@npm:26.1.0":
version: 26.1.0
resolution: "jsdom@npm:26.1.0"
dependencies:
@@ -2925,14 +2449,14 @@ __metadata:
languageName: node
linkType: hard
-"loupe@npm:^3.1.0, loupe@npm:^3.1.3":
+"loupe@npm:^3.1.0":
version: 3.1.3
resolution: "loupe@npm:3.1.3"
checksum: 10c0/f5dab4144254677de83a35285be1b8aba58b3861439ce4ba65875d0d5f3445a4a496daef63100ccf02b2dbc25bf58c6db84c9cb0b96d6435331e9d0a33b48541
languageName: node
linkType: hard
-"loupe@npm:^3.1.4":
+"loupe@npm:^3.1.2, loupe@npm:^3.1.4":
version: 3.2.1
resolution: "loupe@npm:3.2.1"
checksum: 10c0/910c872cba291309664c2d094368d31a68907b6f5913e989d301b5c25f30e97d76d77f23ab3bf3b46d0f601ff0b6af8810c10c31b91d2c6b2f132809ca2cc705
@@ -3236,15 +2760,6 @@ __metadata:
languageName: node
linkType: hard
-"nanoid@npm:^3.3.8":
- version: 3.3.8
- resolution: "nanoid@npm:3.3.8"
- bin:
- nanoid: bin/nanoid.cjs
- checksum: 10c0/4b1bb29f6cfebf3be3bc4ad1f1296fb0a10a3043a79f34fbffe75d1621b4318319211cd420549459018ea3592f0d2f159247a6f874911d6d26eaaadda2478120
- languageName: node
- linkType: hard
-
"nanomatch@npm:^1.2.9":
version: 1.2.13
resolution: "nanomatch@npm:1.2.13"
@@ -3449,6 +2964,13 @@ __metadata:
languageName: node
linkType: hard
+"pathe@npm:^1.1.2":
+ version: 1.1.2
+ resolution: "pathe@npm:1.1.2"
+ checksum: 10c0/64ee0a4e587fb0f208d9777a6c56e4f9050039268faaaaecd50e959ef01bf847b7872785c36483fa5cdcdbdfdb31fef2ff222684d4fc21c330ab60395c681897
+ languageName: node
+ linkType: hard
+
"pathe@npm:^2.0.3":
version: 2.0.3
resolution: "pathe@npm:2.0.3"
@@ -3491,17 +3013,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:^8.5.2":
- version: 8.5.3
- resolution: "postcss@npm:8.5.3"
- dependencies:
- nanoid: "npm:^3.3.8"
- picocolors: "npm:^1.1.1"
- source-map-js: "npm:^1.2.1"
- checksum: 10c0/b75510d7b28c3ab728c8733dd01538314a18c52af426f199a3c9177e63eb08602a3938bfb66b62dc01350b9aed62087eabbf229af97a1659eb8d3513cec823b3
- languageName: node
- linkType: hard
-
"postcss@npm:^8.5.6":
version: 8.5.6
resolution: "postcss@npm:8.5.6"
@@ -3682,7 +3193,7 @@ __metadata:
languageName: node
linkType: hard
-"rimraf@npm:^3.0.2":
+"rimraf@npm:3.0.2":
version: 3.0.2
resolution: "rimraf@npm:3.0.2"
dependencies:
@@ -3693,6 +3204,18 @@ __metadata:
languageName: node
linkType: hard
+"rimraf@npm:6.0.1":
+ version: 6.0.1
+ resolution: "rimraf@npm:6.0.1"
+ dependencies:
+ glob: "npm:^11.0.0"
+ package-json-from-dist: "npm:^1.0.0"
+ bin:
+ rimraf: dist/esm/bin.mjs
+ checksum: 10c0/b30b6b072771f0d1e73b4ca5f37bb2944ee09375be9db5f558fcd3310000d29dfcfa93cf7734d75295ad5a7486dc8e40f63089ced1722a664539ffc0c3ece8c6
+ languageName: node
+ linkType: hard
+
"rimraf@npm:^5.0.5":
version: 5.0.10
resolution: "rimraf@npm:5.0.10"
@@ -3704,18 +3227,6 @@ __metadata:
languageName: node
linkType: hard
-"rimraf@npm:^6.0.1":
- version: 6.0.1
- resolution: "rimraf@npm:6.0.1"
- dependencies:
- glob: "npm:^11.0.0"
- package-json-from-dist: "npm:^1.0.0"
- bin:
- rimraf: dist/esm/bin.mjs
- checksum: 10c0/b30b6b072771f0d1e73b4ca5f37bb2944ee09375be9db5f558fcd3310000d29dfcfa93cf7734d75295ad5a7486dc8e40f63089ced1722a664539ffc0c3ece8c6
- languageName: node
- linkType: hard
-
"rolldown@npm:1.0.0-beta.1":
version: 1.0.0-beta.1
resolution: "rolldown@npm:1.0.0-beta.1"
@@ -3769,78 +3280,6 @@ __metadata:
languageName: node
linkType: hard
-"rollup@npm:^4.30.1":
- version: 4.34.8
- resolution: "rollup@npm:4.34.8"
- dependencies:
- "@rollup/rollup-android-arm-eabi": "npm:4.34.8"
- "@rollup/rollup-android-arm64": "npm:4.34.8"
- "@rollup/rollup-darwin-arm64": "npm:4.34.8"
- "@rollup/rollup-darwin-x64": "npm:4.34.8"
- "@rollup/rollup-freebsd-arm64": "npm:4.34.8"
- "@rollup/rollup-freebsd-x64": "npm:4.34.8"
- "@rollup/rollup-linux-arm-gnueabihf": "npm:4.34.8"
- "@rollup/rollup-linux-arm-musleabihf": "npm:4.34.8"
- "@rollup/rollup-linux-arm64-gnu": "npm:4.34.8"
- "@rollup/rollup-linux-arm64-musl": "npm:4.34.8"
- "@rollup/rollup-linux-loongarch64-gnu": "npm:4.34.8"
- "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.34.8"
- "@rollup/rollup-linux-riscv64-gnu": "npm:4.34.8"
- "@rollup/rollup-linux-s390x-gnu": "npm:4.34.8"
- "@rollup/rollup-linux-x64-gnu": "npm:4.34.8"
- "@rollup/rollup-linux-x64-musl": "npm:4.34.8"
- "@rollup/rollup-win32-arm64-msvc": "npm:4.34.8"
- "@rollup/rollup-win32-ia32-msvc": "npm:4.34.8"
- "@rollup/rollup-win32-x64-msvc": "npm:4.34.8"
- "@types/estree": "npm:1.0.6"
- fsevents: "npm:~2.3.2"
- dependenciesMeta:
- "@rollup/rollup-android-arm-eabi":
- optional: true
- "@rollup/rollup-android-arm64":
- optional: true
- "@rollup/rollup-darwin-arm64":
- optional: true
- "@rollup/rollup-darwin-x64":
- optional: true
- "@rollup/rollup-freebsd-arm64":
- optional: true
- "@rollup/rollup-freebsd-x64":
- optional: true
- "@rollup/rollup-linux-arm-gnueabihf":
- optional: true
- "@rollup/rollup-linux-arm-musleabihf":
- optional: true
- "@rollup/rollup-linux-arm64-gnu":
- optional: true
- "@rollup/rollup-linux-arm64-musl":
- optional: true
- "@rollup/rollup-linux-loongarch64-gnu":
- optional: true
- "@rollup/rollup-linux-powerpc64le-gnu":
- optional: true
- "@rollup/rollup-linux-riscv64-gnu":
- optional: true
- "@rollup/rollup-linux-s390x-gnu":
- optional: true
- "@rollup/rollup-linux-x64-gnu":
- optional: true
- "@rollup/rollup-linux-x64-musl":
- optional: true
- "@rollup/rollup-win32-arm64-msvc":
- optional: true
- "@rollup/rollup-win32-ia32-msvc":
- optional: true
- "@rollup/rollup-win32-x64-msvc":
- optional: true
- fsevents:
- optional: true
- bin:
- rollup: dist/bin/rollup
- checksum: 10c0/b9e711e33413112fbb761107c3fddc4561dfc74335c393542a829a85ccfb2763bfd17bf2422d84a2e9bee7646e5367018973e97005fdf64e49c2e209612f0eb6
- languageName: node
- linkType: hard
-
"rollup@npm:^4.43.0":
version: 4.50.1
resolution: "rollup@npm:4.50.1"
@@ -3932,7 +3371,7 @@ __metadata:
languageName: node
linkType: hard
-"run-script-os@npm:^1.1.6":
+"run-script-os@npm:1.1.6":
version: 1.1.6
resolution: "run-script-os@npm:1.1.6"
bin:
@@ -4048,7 +3487,7 @@ __metadata:
languageName: node
linkType: hard
-"sirv@npm:^3.0.1":
+"sirv@npm:^3.0.0":
version: 3.0.2
resolution: "sirv@npm:3.0.2"
dependencies:
@@ -4206,13 +3645,6 @@ __metadata:
languageName: node
linkType: hard
-"std-env@npm:^3.8.0":
- version: 3.8.0
- resolution: "std-env@npm:3.8.0"
- checksum: 10c0/f560a2902fd0fa3d648d7d0acecbd19d664006f7372c1fba197ed4c216b4c9e48db6e2769b5fe1616d42a9333c9f066c5011935035e85c59f45dc4f796272040
- languageName: node
- linkType: hard
-
"std-env@npm:^3.9.0":
version: 3.9.0
resolution: "std-env@npm:3.9.0"
@@ -4345,7 +3777,7 @@ __metadata:
languageName: node
linkType: hard
-"tinyglobby@npm:^0.2.14, tinyglobby@npm:^0.2.15":
+"tinyglobby@npm:^0.2.10, tinyglobby@npm:^0.2.14, tinyglobby@npm:^0.2.15":
version: 0.2.15
resolution: "tinyglobby@npm:0.2.15"
dependencies:
@@ -4355,13 +3787,6 @@ __metadata:
languageName: node
linkType: hard
-"tinypool@npm:^1.0.2":
- version: 1.0.2
- resolution: "tinypool@npm:1.0.2"
- checksum: 10c0/31ac184c0ff1cf9a074741254fe9ea6de95026749eb2b8ec6fd2b9d8ca94abdccda731f8e102e7f32e72ed3b36d32c6975fd5f5523df3f1b6de6c3d8dfd95e63
- languageName: node
- linkType: hard
-
"tinypool@npm:^1.1.1":
version: 1.1.1
resolution: "tinypool@npm:1.1.1"
@@ -4369,6 +3794,13 @@ __metadata:
languageName: node
linkType: hard
+"tinyrainbow@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "tinyrainbow@npm:1.2.0"
+ checksum: 10c0/7f78a4b997e5ba0f5ecb75e7ed786f30bab9063716e7dff24dd84013fb338802e43d176cb21ed12480561f5649a82184cf31efb296601a29d38145b1cdb4c192
+ languageName: node
+ linkType: hard
+
"tinyrainbow@npm:^2.0.0":
version: 2.0.0
resolution: "tinyrainbow@npm:2.0.0"
@@ -4376,13 +3808,6 @@ __metadata:
languageName: node
linkType: hard
-"tinyspy@npm:^3.0.2":
- version: 3.0.2
- resolution: "tinyspy@npm:3.0.2"
- checksum: 10c0/55ffad24e346622b59292e097c2ee30a63919d5acb7ceca87fc0d1c223090089890587b426e20054733f97a58f20af2c349fb7cc193697203868ab7ba00bcea0
- languageName: node
- linkType: hard
-
"tinyspy@npm:^4.0.3":
version: 4.0.3
resolution: "tinyspy@npm:4.0.3"
@@ -4506,13 +3931,13 @@ __metadata:
languageName: node
linkType: hard
-"typescript@npm:^5.3.3, typescript@npm:^5.7.2":
- version: 5.7.2
- resolution: "typescript@npm:5.7.2"
+"typescript@npm:5.9.2":
+ version: 5.9.2
+ resolution: "typescript@npm:5.9.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
- checksum: 10c0/a873118b5201b2ef332127ef5c63fb9d9c155e6fdbe211cbd9d8e65877283797cca76546bad742eea36ed7efbe3424a30376818f79c7318512064e8625d61622
+ checksum: 10c0/cd635d50f02d6cf98ed42de2f76289701c1ec587a363369255f01ed15aaf22be0813226bff3c53e99d971f9b540e0b3cc7583dbe05faded49b1b0bed2f638a18
languageName: node
linkType: hard
@@ -4526,17 +3951,17 @@ __metadata:
languageName: node
linkType: hard
-"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin, typescript@patch:typescript@npm%3A^5.7.2#optional!builtin":
- version: 5.7.2
- resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5"
+"typescript@patch:typescript@npm%3A5.9.2#optional!builtin":
+ version: 5.9.2
+ resolution: "typescript@patch:typescript@npm%3A5.9.2#optional!builtin::version=5.9.2&hash=5786d5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
- checksum: 10c0/f3b8082c9d1d1629a215245c9087df56cb784f9fb6f27b5d55577a20e68afe2a889c040aacff6d27e35be165ecf9dca66e694c42eb9a50b3b2c451b36b5675cb
+ checksum: 10c0/34d2a8e23eb8e0d1875072064d5e1d9c102e0bdce56a10a25c0b917b8aa9001a9cf5c225df12497e99da107dc379360bc138163c66b55b95f5b105b50578067e
languageName: node
linkType: hard
-"ulidx@npm:^2.3.0":
+"ulidx@npm:2.4.1, ulidx@npm:^2.3.0":
version: 2.4.1
resolution: "ulidx@npm:2.4.1"
dependencies:
@@ -4606,21 +4031,6 @@ __metadata:
languageName: node
linkType: hard
-"vite-node@npm:3.0.6":
- version: 3.0.6
- resolution: "vite-node@npm:3.0.6"
- dependencies:
- cac: "npm:^6.7.14"
- debug: "npm:^4.4.0"
- es-module-lexer: "npm:^1.6.0"
- pathe: "npm:^2.0.3"
- vite: "npm:^5.0.0 || ^6.0.0"
- bin:
- vite-node: vite-node.mjs
- checksum: 10c0/bfef19ac659b453c31fc00b42f8d08b3f7539092f67b0b02504dc2f802af1fe9bcf3531a4ecd248bf8ce2f00b7f4b9a67e20cdd57c2e50d9ff8cea5ff941bedd
- languageName: node
- linkType: hard
-
"vite-node@npm:3.2.4":
version: 3.2.4
resolution: "vite-node@npm:3.2.4"
@@ -4636,58 +4046,6 @@ __metadata:
languageName: node
linkType: hard
-"vite@npm:^5.0.0 || ^6.0.0":
- version: 6.1.1
- resolution: "vite@npm:6.1.1"
- dependencies:
- esbuild: "npm:^0.24.2"
- fsevents: "npm:~2.3.3"
- postcss: "npm:^8.5.2"
- rollup: "npm:^4.30.1"
- peerDependencies:
- "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0
- jiti: ">=1.21.0"
- less: "*"
- lightningcss: ^1.21.0
- sass: "*"
- sass-embedded: "*"
- stylus: "*"
- sugarss: "*"
- terser: ^5.16.0
- tsx: ^4.8.1
- yaml: ^2.4.2
- dependenciesMeta:
- fsevents:
- optional: true
- peerDependenciesMeta:
- "@types/node":
- optional: true
- jiti:
- optional: true
- less:
- optional: true
- lightningcss:
- optional: true
- sass:
- optional: true
- sass-embedded:
- optional: true
- stylus:
- optional: true
- sugarss:
- optional: true
- terser:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
- bin:
- vite: bin/vite.js
- checksum: 10c0/4ec5ddc9436951a68b213cd59c2a157663ef423658c387400774582ea33da40dcae18e55f3adb3b629173e2183b10d49db8370bc51a0aa89797e4ca5a34702a0
- languageName: node
- linkType: hard
-
"vite@npm:^5.0.0 || ^6.0.0 || ^7.0.0-0":
version: 7.1.5
resolution: "vite@npm:7.1.5"
@@ -4743,60 +4101,7 @@ __metadata:
languageName: node
linkType: hard
-"vitest@npm:^3.0.6":
- version: 3.0.6
- resolution: "vitest@npm:3.0.6"
- dependencies:
- "@vitest/expect": "npm:3.0.6"
- "@vitest/mocker": "npm:3.0.6"
- "@vitest/pretty-format": "npm:^3.0.6"
- "@vitest/runner": "npm:3.0.6"
- "@vitest/snapshot": "npm:3.0.6"
- "@vitest/spy": "npm:3.0.6"
- "@vitest/utils": "npm:3.0.6"
- chai: "npm:^5.2.0"
- debug: "npm:^4.4.0"
- expect-type: "npm:^1.1.0"
- magic-string: "npm:^0.30.17"
- pathe: "npm:^2.0.3"
- std-env: "npm:^3.8.0"
- tinybench: "npm:^2.9.0"
- tinyexec: "npm:^0.3.2"
- tinypool: "npm:^1.0.2"
- tinyrainbow: "npm:^2.0.0"
- vite: "npm:^5.0.0 || ^6.0.0"
- vite-node: "npm:3.0.6"
- why-is-node-running: "npm:^2.3.0"
- peerDependencies:
- "@edge-runtime/vm": "*"
- "@types/debug": ^4.1.12
- "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0
- "@vitest/browser": 3.0.6
- "@vitest/ui": 3.0.6
- happy-dom: "*"
- jsdom: "*"
- peerDependenciesMeta:
- "@edge-runtime/vm":
- optional: true
- "@types/debug":
- optional: true
- "@types/node":
- optional: true
- "@vitest/browser":
- optional: true
- "@vitest/ui":
- optional: true
- happy-dom:
- optional: true
- jsdom:
- optional: true
- bin:
- vitest: vitest.mjs
- checksum: 10c0/e50a08f8508a7dbda1ea985b2ba05483ab6f87e100a9388c6c4bc47ee76fcdebe89b33db320df177ea6d198fc50e98eb4b9650bb9d314dd8a7bfe885659b3d42
- languageName: node
- linkType: hard
-
-"vitest@npm:^3.2.4":
+"vitest@npm:3.2.4":
version: 3.2.4
resolution: "vitest@npm:3.2.4"
dependencies:
diff --git a/mise.toml b/mise.toml
deleted file mode 100644
index e52d230a8..000000000
--- a/mise.toml
+++ /dev/null
@@ -1,286 +0,0 @@
-[tools]
-node = "20"
-rust = "1.85.1"
-sccache = "latest"
-
-[env]
-_.path = ['./node_modules/.bin']
-RUSTC_WRAPPER="sccache"
-
-
-# ============================================================================
-# CORE SETUP AND CONFIGURATION TASKS
-# ============================================================================
-
-[tasks.config-yarn]
-description = "Configure yarn version and settings"
-run = [
- "corepack enable",
- "corepack prepare yarn@4.5.3 --activate",
- "yarn --version",
- "yarn config set -H enableImmutableInstalls false"
-]
-
-[tasks.install]
-description = "Install dependencies"
-depends = ["config-yarn"]
-run = "yarn install"
-sources = ['package.json', 'yarn.lock']
-outputs = ['node_modules']
-
-[tasks.build-tauri-plugin-api]
-description = "Build Tauri plugin API"
-depends = ["install"]
-run = "yarn build:tauri:plugin:api"
-sources = ['src-tauri/plugins/**/*']
-outputs = [
- 'src-tauri/plugins/tauri-plugin-hardware/dist-js',
- 'src-tauri/plugins/tauri-plugin-llamacpp/dist-js',
-]
-
-[tasks.build-core]
-description = "Build core package"
-depends = ["build-tauri-plugin-api"]
-run = "yarn build:core"
-sources = ['core/**/*']
-outputs = ['core/dist']
-
-[tasks.build-extensions]
-description = "Build extensions"
-depends = ["build-core"]
-run = "yarn build:extensions && yarn build:extensions-web"
-sources = ['extensions/**/*']
-outputs = ['pre-install/*.tgz']
-
-[tasks.install-and-build]
-description = "Install dependencies and build core and extensions (matches Makefile)"
-depends = ["build-extensions"]
-
-# ============================================================================
-# DEVELOPMENT TASKS
-# ============================================================================
-
-[tasks.dev]
-description = "Start development server (matches Makefile)"
-depends = ["install-and-build"]
-run = [
- "yarn download:bin",
- "yarn dev"
-]
-
-[tasks.dev-tauri]
-description = "Start development server with Tauri (DEPRECATED - matches Makefile)"
-depends = ["install-and-build"]
-run = [
- "yarn download:bin",
- "yarn dev:tauri"
-]
-
-# ============================================================================
-# WEB APPLICATION DEVELOPMENT TASKS
-# ============================================================================
-
-[tasks.dev-web-app]
-description = "Start web application development server (matches Makefile)"
-depends = ["build-core"]
-run = "yarn dev:web-app"
-
-[tasks.build-web-app]
-description = "Build web application (matches Makefile)"
-depends = ["build-core"]
-run = "yarn build:web-app"
-
-[tasks.serve-web-app]
-description = "Serve built web application"
-run = "yarn serve:web-app"
-
-[tasks.build-serve-web-app]
-description = "Build and serve web application (matches Makefile)"
-depends = ["build-web-app"]
-run = "yarn serve:web-app"
-
-# ============================================================================
-# BUILD TASKS
-# ============================================================================
-
-[tasks.install-rust-targets]
-description = "Install required Rust targets for MacOS universal builds"
-run = '''
-#!/usr/bin/env bash
-# Check if we're on macOS
-if [[ "$OSTYPE" == "darwin"* ]]; then
- echo "Detected macOS, installing universal build targets..."
- rustup target add x86_64-apple-darwin
- rustup target add aarch64-apple-darwin
- echo "Rust targets installed successfully!"
-fi
-'''
-
-[tasks.build]
-description = "Build complete application (matches Makefile)"
-depends = ["install-rust-targets", "install-and-build"]
-run = [
- "yarn download:bin",
- "yarn build"
-]
-
-# ============================================================================
-# QUALITY ASSURANCE TASKS
-# ============================================================================
-
-[tasks.lint]
-description = "Run linting (matches Makefile)"
-depends = ["build-extensions"]
-run = "yarn lint"
-
-# ============================================================================
-# RUST TEST COMPONENTS
-# ============================================================================
-
-[tasks.test-rust-main]
-description = "Test main src-tauri package"
-run = "cargo test --manifest-path src-tauri/Cargo.toml --no-default-features --features test-tauri -- --test-threads=1"
-
-[tasks.test-rust-hardware]
-description = "Test hardware plugin"
-run = "cargo test --manifest-path src-tauri/plugins/tauri-plugin-hardware/Cargo.toml"
-
-[tasks.test-rust-llamacpp]
-description = "Test llamacpp plugin"
-run = "cargo test --manifest-path src-tauri/plugins/tauri-plugin-llamacpp/Cargo.toml"
-
-[tasks.test-rust-utils]
-description = "Test utils package"
-run = "cargo test --manifest-path src-tauri/utils/Cargo.toml"
-
-[tasks.test-rust]
-description = "Run all Rust tests"
-depends = ["test-rust-main", "test-rust-hardware", "test-rust-llamacpp", "test-rust-utils"]
-
-# ============================================================================
-# JS TEST COMPONENTS
-# ============================================================================
-
-[tasks.test-js-setup]
-description = "Setup for JS tests"
-run = [
- "yarn download:bin",
- "yarn download:lib",
- "yarn copy:assets:tauri",
- "yarn build:icon"
-]
-
-[tasks.test-js]
-description = "Run JS tests"
-depends = ["test-js-setup"]
-run = "yarn test"
-
-# ============================================================================
-# COMBINED TEST TASKS
-# ============================================================================
-
-[tasks.test]
-description = "Run complete test suite (matches Makefile)"
-depends = ["lint", "test-js", "test-rust"]
-
-# ============================================================================
-# PARALLEL-FRIENDLY QUALITY ASSURANCE TASKS
-# ============================================================================
-
-[tasks.lint-only]
-description = "Run linting only (parallel-friendly)"
-depends = ["build-extensions"]
-run = "yarn lint"
-hide = true
-
-[tasks.test-only]
-description = "Run tests only (parallel-friendly)"
-depends = ["build-extensions", "test-js", "test-rust"]
-hide = true
-
-[tasks.qa-parallel]
-description = "Run linting and testing in parallel"
-depends = ["lint-only", "test-only"]
-
-# ============================================================================
-# UTILITY TASKS
-# ============================================================================
-
-[tasks.clean]
-description = "Clean all build artifacts and dependencies (cross-platform - matches Makefile)"
-run = '''
-#!/usr/bin/env bash
-echo "Cleaning build artifacts and dependencies..."
-
-# Platform detection and cleanup (matches Makefile exactly)
-if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
- # Windows cleanup using PowerShell (matches Makefile)
- powershell -Command "Get-ChildItem -Path . -Include node_modules, .next, dist, build, out, .turbo, .yarn -Recurse -Directory | Remove-Item -Recurse -Force" 2>/dev/null || true
- powershell -Command "Get-ChildItem -Path . -Include package-lock.json, tsconfig.tsbuildinfo -Recurse -File | Remove-Item -Recurse -Force" 2>/dev/null || true
- powershell -Command "Remove-Item -Recurse -Force ./pre-install/*.tgz" 2>/dev/null || true
- powershell -Command "Remove-Item -Recurse -Force ./extensions/*/*.tgz" 2>/dev/null || true
- powershell -Command "Remove-Item -Recurse -Force ./electron/pre-install/*.tgz" 2>/dev/null || true
- powershell -Command "Remove-Item -Recurse -Force ./src-tauri/resources" 2>/dev/null || true
- powershell -Command "Remove-Item -Recurse -Force ./src-tauri/target" 2>/dev/null || true
- powershell -Command "if (Test-Path \"\$(\$env:USERPROFILE)\\jan\\extensions\\\") { Remove-Item -Path \"\$(\$env:USERPROFILE)\\jan\\extensions\" -Recurse -Force }" 2>/dev/null || true
-elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
- # Linux cleanup (matches Makefile)
- find . -name "node_modules" -type d -prune -exec rm -rf '{}' + 2>/dev/null || true
- find . -name ".next" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "dist" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "build" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "out" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name ".turbo" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name ".yarn" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "package-lock.json" -type f -exec rm -rf '{}' + 2>/dev/null || true
- rm -rf ./pre-install/*.tgz 2>/dev/null || true
- rm -rf ./extensions/*/*.tgz 2>/dev/null || true
- rm -rf ./electron/pre-install/*.tgz 2>/dev/null || true
- rm -rf ./src-tauri/resources 2>/dev/null || true
- rm -rf ./src-tauri/target 2>/dev/null || true
- rm -rf ~/jan/extensions 2>/dev/null || true
- rm -rf "~/.cache/jan*" 2>/dev/null || true
- rm -rf "./.cache" 2>/dev/null || true
-else
- # macOS cleanup (matches Makefile)
- find . -name "node_modules" -type d -prune -exec rm -rf '{}' + 2>/dev/null || true
- find . -name ".next" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "dist" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "build" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "out" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name ".turbo" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name ".yarn" -type d -exec rm -rf '{}' + 2>/dev/null || true
- find . -name "package-lock.json" -type f -exec rm -rf '{}' + 2>/dev/null || true
- rm -rf ./pre-install/*.tgz 2>/dev/null || true
- rm -rf ./extensions/*/*.tgz 2>/dev/null || true
- rm -rf ./electron/pre-install/*.tgz 2>/dev/null || true
- rm -rf ./src-tauri/resources 2>/dev/null || true
- rm -rf ./src-tauri/target 2>/dev/null || true
- rm -rf ~/jan/extensions 2>/dev/null || true
- rm -rf ~/Library/Caches/jan* 2>/dev/null || true
-fi
-
-echo "Clean completed!"
-'''
-
-[tasks.all]
-description = "Default target - shows available commands (matches Makefile)"
-run = "echo 'Specify a target to run. Use: mise tasks'"
-
-# ============================================================================
-# DEVELOPMENT WORKFLOW SHORTCUTS
-# ============================================================================
-
-[tasks.setup]
-description = "Complete development setup"
-depends = ["install-and-build"]
-alias = "init"
-
-[tasks.ci]
-description = "Run CI pipeline (lint + test sequentially)"
-depends = ["test"]
-
-[tasks.ci-parallel]
-description = "Run CI pipeline (lint + test in parallel)"
-depends = ["qa-parallel"]
-alias = "ci-fast"
diff --git a/package.json b/package.json
index 5efd4db37..d191e9f44 100644
--- a/package.json
+++ b/package.json
@@ -36,8 +36,8 @@
"download:lib": "node ./scripts/download-lib.mjs",
"download:bin": "node ./scripts/download-bin.mjs",
"download:windows-installer": "node ./scripts/download-win-installer-deps.mjs",
- "build:tauri:win32": "yarn download:bin && yarn download:lib && yarn download:windows-installer && yarn tauri build",
- "build:tauri:linux": "yarn download:bin && yarn download:lib && NO_STRIP=1 ./src-tauri/build-utils/shim-linuxdeploy.sh yarn tauri build && ./src-tauri/build-utils/buildAppImage.sh",
+ "build:tauri:win32": "yarn download:bin && yarn download:windows-installer && yarn tauri build",
+ "build:tauri:linux": "yarn download:bin && NO_STRIP=1 ./src-tauri/build-utils/shim-linuxdeploy.sh yarn tauri build && ./src-tauri/build-utils/buildAppImage.sh",
"build:tauri:darwin": "yarn download:bin && yarn tauri build --target universal-apple-darwin",
"build:tauri": "yarn build:icon && yarn copy:assets:tauri && run-script-os",
"build:tauri:plugin:api": "cd src-tauri/plugins && yarn install && yarn workspaces foreach -Apt run build",
diff --git a/scripts/download-bin.mjs b/scripts/download-bin.mjs
index 36e17b3f0..39eb9ae87 100644
--- a/scripts/download-bin.mjs
+++ b/scripts/download-bin.mjs
@@ -1,4 +1,3 @@
-console.log('Script is running')
// scripts/download.js
import https from 'https'
import fs, { copyFile, mkdirSync } from 'fs'
@@ -69,7 +68,10 @@ function getPlatformArch() {
arch === 'arm64' ? 'aarch64-apple-darwin' : 'x86_64-apple-darwin'
} else if (platform === 'linux') {
bunPlatform = arch === 'arm64' ? 'linux-aarch64' : 'linux-x64'
- uvPlatform = arch === 'arm64' ? 'aarch64-unknown-linux-gnu' : 'x86_64-unknown-linux-gnu'
+ uvPlatform =
+ arch === 'arm64'
+ ? 'aarch64-unknown-linux-gnu'
+ : 'x86_64-unknown-linux-gnu'
} else if (platform === 'win32') {
bunPlatform = 'windows-x64' // Bun has limited Windows support
uvPlatform = 'x86_64-pc-windows-msvc'
@@ -81,6 +83,10 @@ function getPlatformArch() {
}
async function main() {
+ if (process.env.SKIP_BINARIES) {
+ console.log('Skipping binaries download.')
+ process.exit(0)
+ }
console.log('Starting main function')
const platform = os.platform()
const { bunPlatform, uvPlatform } = getPlatformArch()
@@ -124,29 +130,45 @@ async function main() {
if (err) {
console.log('Add execution permission failed!', err)
}
- });
+ })
if (platform === 'darwin') {
- copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-x86_64-apple-darwin'), (err) => {
- if (err) {
- console.log("Error Found:", err);
- }
- })
- copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-aarch64-apple-darwin'), (err) => {
- if (err) {
- console.log("Error Found:", err);
- }
- })
- copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-universal-apple-darwin'), (err) => {
+ copyFile(
+ path.join(binDir, 'bun'),
+ path.join(binDir, 'bun-x86_64-apple-darwin'),
+ (err) => {
if (err) {
- console.log("Error Found:", err);
+ console.log('Error Found:', err)
}
- })
- } else if (platform === 'linux') {
- copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-x86_64-unknown-linux-gnu'), (err) => {
- if (err) {
- console.log("Error Found:", err);
}
- })
+ )
+ copyFile(
+ path.join(binDir, 'bun'),
+ path.join(binDir, 'bun-aarch64-apple-darwin'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
+ }
+ )
+ copyFile(
+ path.join(binDir, 'bun'),
+ path.join(binDir, 'bun-universal-apple-darwin'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
+ }
+ )
+ } else if (platform === 'linux') {
+ copyFile(
+ path.join(binDir, 'bun'),
+ path.join(binDir, 'bun-x86_64-unknown-linux-gnu'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
+ }
+ )
}
} catch (err) {
// Expect EEXIST error
@@ -157,11 +179,15 @@ async function main() {
path.join(binDir)
)
if (platform === 'win32') {
- copyFile(path.join(binDir, 'bun.exe'), path.join(binDir, 'bun-x86_64-pc-windows-msvc.exe'), (err) => {
- if (err) {
- console.log("Error Found:", err);
+ copyFile(
+ path.join(binDir, 'bun.exe'),
+ path.join(binDir, 'bun-x86_64-pc-windows-msvc.exe'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
}
- })
+ )
}
} catch (err) {
// Expect EEXIST error
@@ -176,52 +202,66 @@ async function main() {
await decompress(uvPath, tempBinDir)
}
try {
- copySync(
- path.join(tempBinDir, `uv-${uvPlatform}`, 'uv'),
- path.join(binDir)
- )
+ copySync(path.join(tempBinDir, `uv-${uvPlatform}`, 'uv'), path.join(binDir))
fs.chmod(path.join(binDir, 'uv'), 0o755, (err) => {
if (err) {
console.log('Add execution permission failed!', err)
}
- });
+ })
if (platform === 'darwin') {
- copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-x86_64-apple-darwin'), (err) => {
- if (err) {
- console.log("Error Found:", err);
+ copyFile(
+ path.join(binDir, 'uv'),
+ path.join(binDir, 'uv-x86_64-apple-darwin'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
}
- })
- copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-aarch64-apple-darwin'), (err) => {
- if (err) {
- console.log("Error Found:", err);
+ )
+ copyFile(
+ path.join(binDir, 'uv'),
+ path.join(binDir, 'uv-aarch64-apple-darwin'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
}
- })
- copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-universal-apple-darwin'), (err) => {
- if (err) {
- console.log("Error Found:", err);
+ )
+ copyFile(
+ path.join(binDir, 'uv'),
+ path.join(binDir, 'uv-universal-apple-darwin'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
}
- })
+ )
} else if (platform === 'linux') {
- copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-x86_64-unknown-linux-gnu'), (err) => {
- if (err) {
- console.log("Error Found:", err);
+ copyFile(
+ path.join(binDir, 'uv'),
+ path.join(binDir, 'uv-x86_64-unknown-linux-gnu'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
}
- })
+ )
}
} catch (err) {
// Expect EEXIST error
}
try {
- copySync(
- path.join(tempBinDir, 'uv.exe'),
- path.join(binDir)
- )
+ copySync(path.join(tempBinDir, 'uv.exe'), path.join(binDir))
if (platform === 'win32') {
- copyFile(path.join(binDir, 'uv.exe'), path.join(binDir, 'uv-x86_64-pc-windows-msvc.exe'), (err) => {
- if (err) {
- console.log("Error Found:", err);
+ copyFile(
+ path.join(binDir, 'uv.exe'),
+ path.join(binDir, 'uv-x86_64-pc-windows-msvc.exe'),
+ (err) => {
+ if (err) {
+ console.log('Error Found:', err)
+ }
}
- })
+ )
}
} catch (err) {
// Expect EEXIST error
diff --git a/scripts/download-lib.mjs b/scripts/download-lib.mjs
deleted file mode 100644
index d2086b36e..000000000
--- a/scripts/download-lib.mjs
+++ /dev/null
@@ -1,86 +0,0 @@
-console.log('Script is running')
-// scripts/download-lib.mjs
-import https from 'https'
-import fs, { mkdirSync } from 'fs'
-import os from 'os'
-import path from 'path'
-import { copySync } from 'cpx'
-
-function download(url, dest) {
- return new Promise((resolve, reject) => {
- console.log(`Downloading ${url} to ${dest}`)
- const file = fs.createWriteStream(dest)
- https
- .get(url, (response) => {
- console.log(`Response status code: ${response.statusCode}`)
- if (
- response.statusCode >= 300 &&
- response.statusCode < 400 &&
- response.headers.location
- ) {
- // Handle redirect
- const redirectURL = response.headers.location
- console.log(`Redirecting to ${redirectURL}`)
- download(redirectURL, dest).then(resolve, reject) // Recursive call
- return
- } else if (response.statusCode !== 200) {
- reject(`Failed to get '${url}' (${response.statusCode})`)
- return
- }
- response.pipe(file)
- file.on('finish', () => {
- file.close(resolve)
- })
- })
- .on('error', (err) => {
- fs.unlink(dest, () => reject(err.message))
- })
- })
-}
-
-async function main() {
- console.log('Starting main function')
- const platform = os.platform() // 'darwin', 'linux', 'win32'
- const arch = os.arch() // 'x64', 'arm64', etc.
-
- if (arch != 'x64') return
-
- let filename
- if (platform == 'linux')
- filename = 'libvulkan.so'
- else if (platform == 'win32')
- filename = 'vulkan-1.dll'
- else
- return
-
- const url = `https://catalog.jan.ai/${filename}`
-
- const libDir = 'src-tauri/resources/lib'
- const tempDir = 'scripts/dist'
-
- try {
- mkdirSync('scripts/dist')
- } catch (err) {
- // Expect EEXIST error if the directory already exists
- }
-
- console.log(`Downloading libvulkan...`)
- const savePath = path.join(tempDir, filename)
- if (!fs.existsSync(savePath)) {
- await download(url, savePath)
- }
-
- // copy to tauri resources
- try {
- copySync(savePath, libDir)
- } catch (err) {
- // Expect EEXIST error
- }
-
- console.log('Downloads completed.')
-}
-
-main().catch((err) => {
- console.error('Error:', err)
- process.exit(1)
-})
diff --git a/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml b/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
index eb74d32d1..7475fb353 100644
--- a/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
@@ -11,7 +11,7 @@ exclude = ["/examples", "/dist-js", "/guest-js", "/node_modules"]
links = "tauri-plugin-hardware"
[dependencies]
-ash = "0.38.0"
+vulkano = "0.34"
libc = "0.2"
log = "0.4"
nvml-wrapper = "0.10.0"
diff --git a/src-tauri/plugins/tauri-plugin-hardware/src/commands.rs b/src-tauri/plugins/tauri-plugin-hardware/src/commands.rs
index 56e78f1c1..ac13eb7f2 100644
--- a/src-tauri/plugins/tauri-plugin-hardware/src/commands.rs
+++ b/src-tauri/plugins/tauri-plugin-hardware/src/commands.rs
@@ -1,14 +1,12 @@
use crate::{
- helpers::get_jan_libvulkan_path,
types::{CpuStaticInfo, SystemInfo, SystemUsage},
vendor::{nvidia, vulkan},
SYSTEM_INFO,
};
use sysinfo::System;
-use tauri::Runtime;
#[tauri::command]
-pub fn get_system_info(app: tauri::AppHandle) -> SystemInfo {
+pub fn get_system_info() -> SystemInfo {
SYSTEM_INFO
.get_or_init(|| {
let mut system = System::new();
@@ -19,15 +17,7 @@ pub fn get_system_info(app: tauri::AppHandle) -> SystemInfo {
gpu_map.insert(gpu.uuid.clone(), gpu);
}
- // try system vulkan first
- let paths = vec!["".to_string(), get_jan_libvulkan_path(app.clone())];
- let mut vulkan_gpus = vec![];
- for path in paths {
- vulkan_gpus = vulkan::get_vulkan_gpus(&path);
- if !vulkan_gpus.is_empty() {
- break;
- }
- }
+ let vulkan_gpus = vulkan::get_vulkan_gpus();
for gpu in vulkan_gpus {
match gpu_map.get_mut(&gpu.uuid) {
@@ -64,7 +54,7 @@ pub fn get_system_info(app: tauri::AppHandle) -> SystemInfo {
}
#[tauri::command]
-pub fn get_system_usage(app: tauri::AppHandle) -> SystemUsage {
+pub fn get_system_usage() -> SystemUsage {
let mut system = System::new();
system.refresh_memory();
@@ -81,7 +71,7 @@ pub fn get_system_usage(app: tauri::AppHandle) -> SystemUsage {
cpu: cpu_usage,
used_memory: system.used_memory() / 1024 / 1024, // bytes to MiB,
total_memory: system.total_memory() / 1024 / 1024, // bytes to MiB,
- gpus: get_system_info(app.clone())
+ gpus: get_system_info()
.gpus
.iter()
.map(|gpu| gpu.get_usage())
diff --git a/src-tauri/plugins/tauri-plugin-hardware/src/helpers.rs b/src-tauri/plugins/tauri-plugin-hardware/src/helpers.rs
deleted file mode 100644
index 22bcc8669..000000000
--- a/src-tauri/plugins/tauri-plugin-hardware/src/helpers.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-use tauri::{path::BaseDirectory, Manager, Runtime};
-
-pub fn get_jan_libvulkan_path(app: tauri::AppHandle) -> String {
- let lib_name = if cfg!(target_os = "windows") {
- "vulkan-1.dll"
- } else if cfg!(target_os = "linux") {
- "libvulkan.so"
- } else {
- return "".to_string();
- };
-
- // NOTE: this does not work in test mode (mock app)
- match app.path().resolve(
- format!("resources/lib/{}", lib_name),
- BaseDirectory::Resource,
- ) {
- Ok(lib_path) => lib_path.to_string_lossy().to_string(),
- Err(_) => "".to_string(),
- }
-}
diff --git a/src-tauri/plugins/tauri-plugin-hardware/src/lib.rs b/src-tauri/plugins/tauri-plugin-hardware/src/lib.rs
index 228a3731e..3a069892e 100644
--- a/src-tauri/plugins/tauri-plugin-hardware/src/lib.rs
+++ b/src-tauri/plugins/tauri-plugin-hardware/src/lib.rs
@@ -2,12 +2,10 @@ mod commands;
mod constants;
pub mod cpu;
pub mod gpu;
-mod helpers;
mod types;
pub mod vendor;
pub use constants::*;
-pub use helpers::*;
pub use types::*;
use std::sync::OnceLock;
diff --git a/src-tauri/plugins/tauri-plugin-hardware/src/tests.rs b/src-tauri/plugins/tauri-plugin-hardware/src/tests.rs
index 1d4975104..f27554579 100644
--- a/src-tauri/plugins/tauri-plugin-hardware/src/tests.rs
+++ b/src-tauri/plugins/tauri-plugin-hardware/src/tests.rs
@@ -4,15 +4,13 @@ use tauri::test::mock_app;
#[test]
fn test_system_info() {
- let app = mock_app();
- let info = get_system_info(app.handle().clone());
+ let info = get_system_info();
println!("System Static Info: {:?}", info);
}
#[test]
fn test_system_usage() {
- let app = mock_app();
- let usage = get_system_usage(app.handle().clone());
+ let usage = get_system_usage();
println!("System Usage Info: {:?}", usage);
}
@@ -23,23 +21,23 @@ mod cpu_tests {
#[test]
fn test_cpu_static_info_new() {
let cpu_info = CpuStaticInfo::new();
-
+
// Test that all fields are populated
assert!(!cpu_info.name.is_empty());
assert_ne!(cpu_info.name, "unknown"); // Should have detected a CPU name
assert!(cpu_info.core_count > 0);
assert!(!cpu_info.arch.is_empty());
-
+
// Architecture should be one of the expected values
assert!(
- cpu_info.arch == "aarch64" ||
- cpu_info.arch == "arm64" ||
- cpu_info.arch == "x86_64" ||
- cpu_info.arch == std::env::consts::ARCH
+ cpu_info.arch == "aarch64"
+ || cpu_info.arch == "arm64"
+ || cpu_info.arch == "x86_64"
+ || cpu_info.arch == std::env::consts::ARCH
);
-
+
// Extensions should be a valid list (can be empty on non-x86)
-
+
println!("CPU Info: {:?}", cpu_info);
}
@@ -48,7 +46,7 @@ mod cpu_tests {
// Test that multiple calls return consistent information
let info1 = CpuStaticInfo::new();
let info2 = CpuStaticInfo::new();
-
+
assert_eq!(info1.name, info2.name);
assert_eq!(info1.core_count, info2.core_count);
assert_eq!(info1.arch, info2.arch);
@@ -72,19 +70,41 @@ mod cpu_tests {
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
fn test_x86_extensions() {
let cpu_info = CpuStaticInfo::new();
-
+
// On x86/x86_64, we should always have at least FPU
assert!(cpu_info.extensions.contains(&"fpu".to_string()));
-
+
// Check that all extensions are valid x86 feature names
let valid_extensions = [
- "fpu", "mmx", "sse", "sse2", "sse3", "ssse3", "sse4_1", "sse4_2",
- "pclmulqdq", "avx", "avx2", "avx512_f", "avx512_dq", "avx512_ifma",
- "avx512_pf", "avx512_er", "avx512_cd", "avx512_bw", "avx512_vl",
- "avx512_vbmi", "avx512_vbmi2", "avx512_vnni", "avx512_bitalg",
- "avx512_vpopcntdq", "avx512_vp2intersect", "aes", "f16c"
+ "fpu",
+ "mmx",
+ "sse",
+ "sse2",
+ "sse3",
+ "ssse3",
+ "sse4_1",
+ "sse4_2",
+ "pclmulqdq",
+ "avx",
+ "avx2",
+ "avx512_f",
+ "avx512_dq",
+ "avx512_ifma",
+ "avx512_pf",
+ "avx512_er",
+ "avx512_cd",
+ "avx512_bw",
+ "avx512_vl",
+ "avx512_vbmi",
+ "avx512_vbmi2",
+ "avx512_vnni",
+ "avx512_bitalg",
+ "avx512_vpopcntdq",
+ "avx512_vp2intersect",
+ "aes",
+ "f16c",
];
-
+
for ext in &cpu_info.extensions {
assert!(
valid_extensions.contains(&ext.as_str()),
@@ -98,7 +118,7 @@ mod cpu_tests {
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
fn test_non_x86_extensions() {
let cpu_info = CpuStaticInfo::new();
-
+
// On non-x86 architectures, extensions should be empty
assert!(cpu_info.extensions.is_empty());
}
@@ -106,15 +126,15 @@ mod cpu_tests {
#[test]
fn test_arch_detection() {
let cpu_info = CpuStaticInfo::new();
-
+
// Architecture should be a valid string
assert!(!cpu_info.arch.is_empty());
-
+
// Should be one of the common architectures
let common_archs = ["x86_64", "aarch64", "arm", "arm64", "x86"];
let is_common_arch = common_archs.iter().any(|&arch| cpu_info.arch == arch);
let is_compile_time_arch = cpu_info.arch == std::env::consts::ARCH;
-
+
assert!(
is_common_arch || is_compile_time_arch,
"Unexpected architecture: {}",
@@ -125,11 +145,11 @@ mod cpu_tests {
#[test]
fn test_cpu_info_serialization() {
let cpu_info = CpuStaticInfo::new();
-
+
// Test that the struct can be serialized (since it derives Serialize)
let serialized = serde_json::to_string(&cpu_info);
assert!(serialized.is_ok());
-
+
let json_str = serialized.unwrap();
assert!(json_str.contains("name"));
assert!(json_str.contains("core_count"));
diff --git a/src-tauri/plugins/tauri-plugin-hardware/src/vendor/tests.rs b/src-tauri/plugins/tauri-plugin-hardware/src/vendor/tests.rs
index 0a641c089..d6213840b 100644
--- a/src-tauri/plugins/tauri-plugin-hardware/src/vendor/tests.rs
+++ b/src-tauri/plugins/tauri-plugin-hardware/src/vendor/tests.rs
@@ -12,7 +12,7 @@ fn test_get_nvidia_gpus() {
#[test]
fn test_get_vulkan_gpus() {
- let gpus = vulkan::get_vulkan_gpus("");
+ let gpus = vulkan::get_vulkan_gpus();
for (i, gpu) in gpus.iter().enumerate() {
println!("GPU {}:", i);
println!(" {:?}", gpu);
diff --git a/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/commands.rs b/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/commands.rs
index c636fa8bd..03e949eba 100644
--- a/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/commands.rs
+++ b/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/commands.rs
@@ -3,7 +3,6 @@ use super::utils::{estimate_kv_cache_internal, read_gguf_metadata_internal};
use crate::gguf::types::{KVCacheError, KVCacheEstimate, ModelSupportStatus};
use std::collections::HashMap;
use std::fs;
-use tauri::Runtime;
use tauri_plugin_hardware::get_system_info;
/// Read GGUF metadata from a model file
#[tauri::command]
@@ -49,16 +48,15 @@ pub async fn get_model_size(path: String) -> Result {
}
#[tauri::command]
-pub async fn is_model_supported(
+pub async fn is_model_supported(
path: String,
ctx_size: Option,
- app_handle: tauri::AppHandle,
) -> Result {
// Get model size
let model_size = get_model_size(path.clone()).await?;
// Get system info
- let system_info = get_system_info(app_handle.clone());
+ let system_info = get_system_info();
log::info!("modelSize: {}", model_size);
diff --git a/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/model_planner.rs b/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/model_planner.rs
index 118894871..14642af60 100644
--- a/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/model_planner.rs
+++ b/src-tauri/plugins/tauri-plugin-llamacpp/src/gguf/model_planner.rs
@@ -3,7 +3,6 @@ use crate::gguf::utils::estimate_kv_cache_internal;
use crate::gguf::utils::read_gguf_metadata_internal;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
-use tauri::Runtime;
use tauri_plugin_hardware::get_system_info;
#[derive(Serialize, Deserialize, Clone, Debug)]
@@ -27,15 +26,14 @@ pub enum ModelMode {
}
#[tauri::command]
-pub async fn plan_model_load(
+pub async fn plan_model_load(
path: String,
memory_mode: String,
mmproj_path: Option,
requested_ctx: Option,
- app: tauri::AppHandle,
) -> Result {
let model_size = get_model_size(path.clone()).await?;
- let sys_info = get_system_info(app.clone());
+ let sys_info = get_system_info();
let gguf = read_gguf_metadata_internal(path.clone()).await?;
let mut mmproj_size: u64 = 0;
diff --git a/src-tauri/src/core/downloads/helpers.rs b/src-tauri/src/core/downloads/helpers.rs
index ab6979575..d3d8f6b7c 100644
--- a/src-tauri/src/core/downloads/helpers.rs
+++ b/src-tauri/src/core/downloads/helpers.rs
@@ -465,7 +465,11 @@ async fn download_single_file(
.await
.map_err(err_to_string)?;
- log::info!("Started downloading: {}", item.url);
+ // Decode URL for better readability in logs
+ let decoded_url = url::Url::parse(&item.url)
+ .map(|u| u.to_string())
+ .unwrap_or_else(|_| item.url.clone());
+ log::info!("Started downloading: {}", decoded_url);
let client = _get_client_for_item(item, &header_map).map_err(err_to_string)?;
let mut download_delta = 0u64;
let mut initial_progress = 0u64;
@@ -584,7 +588,11 @@ async fn download_single_file(
.await
.map_err(err_to_string)?;
- log::info!("Finished downloading: {}", item.url);
+ // Decode URL for better readability in logs
+ let decoded_url = url::Url::parse(&item.url)
+ .map(|u| u.to_string())
+ .unwrap_or_else(|_| item.url.clone());
+ log::info!("Finished downloading: {}", decoded_url);
Ok(save_path.to_path_buf())
}
diff --git a/src-tauri/src/core/filesystem/commands.rs b/src-tauri/src/core/filesystem/commands.rs
index 389b3d1c9..fe44052b8 100644
--- a/src-tauri/src/core/filesystem/commands.rs
+++ b/src-tauri/src/core/filesystem/commands.rs
@@ -33,6 +33,22 @@ pub fn mkdir(app_handle: tauri::AppHandle, args: Vec) ->
fs::create_dir_all(&path).map_err(|e| e.to_string())
}
+#[tauri::command]
+pub fn mv(app_handle: tauri::AppHandle, args: Vec) -> Result<(), String> {
+ if args.len() < 2 || args[0].is_empty() || args[1].is_empty() {
+ return Err("mv error: Invalid argument - source and destination required".to_string());
+ }
+
+ let source = resolve_path(app_handle.clone(), &args[0]);
+ let destination = resolve_path(app_handle, &args[1]);
+
+ if !source.exists() {
+ return Err("mv error: Source path does not exist".to_string());
+ }
+
+ fs::rename(&source, &destination).map_err(|e| e.to_string())
+}
+
#[tauri::command]
pub fn join_path(
app_handle: tauri::AppHandle,
diff --git a/src-tauri/src/core/mcp/helpers.rs b/src-tauri/src/core/mcp/helpers.rs
index 80a8b5f86..7f8565e39 100644
--- a/src-tauri/src/core/mcp/helpers.rs
+++ b/src-tauri/src/core/mcp/helpers.rs
@@ -25,7 +25,7 @@ use crate::core::{
mcp::models::McpServerConfig,
state::{AppState, RunningServiceEnum, SharedMcpServers},
};
-use jan_utils::can_override_npx;
+use jan_utils::{can_override_npx, can_override_uvx};
/// Calculate exponential backoff delay with jitter
///
@@ -627,19 +627,20 @@ async fn schedule_mcp_start_task(
}
} else {
let mut cmd = Command::new(config_params.command.clone());
- if config_params.command.clone() == "npx" && can_override_npx() {
+ let bun_x_path = format!("{}/bun", bin_path.display());
+ if config_params.command.clone() == "npx" && can_override_npx(bun_x_path.clone()) {
let mut cache_dir = app_path.clone();
cache_dir.push(".npx");
- let bun_x_path = format!("{}/bun", bin_path.display());
cmd = Command::new(bun_x_path);
cmd.arg("x");
cmd.env("BUN_INSTALL", cache_dir.to_str().unwrap().to_string());
}
- if config_params.command.clone() == "uvx" {
+
+ let uv_path = format!("{}/uv", bin_path.display());
+ if config_params.command.clone() == "uvx" && can_override_uvx(uv_path.clone()) {
let mut cache_dir = app_path.clone();
cache_dir.push(".uvx");
- let bun_x_path = format!("{}/uv", bin_path.display());
- cmd = Command::new(bun_x_path);
+ cmd = Command::new(uv_path);
cmd.arg("tool");
cmd.arg("run");
cmd.env("UV_CACHE_DIR", cache_dir.to_str().unwrap().to_string());
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 169ee5b19..d7ff7693c 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -51,6 +51,7 @@ pub fn run() {
core::filesystem::commands::readdir_sync,
core::filesystem::commands::read_file_sync,
core::filesystem::commands::rm,
+ core::filesystem::commands::mv,
core::filesystem::commands::file_stat,
core::filesystem::commands::write_file_sync,
core::filesystem::commands::write_yaml,
@@ -141,8 +142,7 @@ pub fn run() {
#[cfg(all(feature = "deep-link", any(windows, target_os = "linux")))]
{
use tauri_plugin_deep_link::DeepLinkExt;
- // Register the deep-link scheme programmatically
- app.deep_link().register("jan")?;
+ app.deep_link().register_all()?;
}
setup_mcp(app);
Ok(())
diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.json
index 552217384..55c11b1f8 100644
--- a/src-tauri/tauri.linux.conf.json
+++ b/src-tauri/tauri.linux.conf.json
@@ -10,13 +10,11 @@
"linux": {
"appimage": {
"bundleMediaFramework": false,
- "files": {
- }
+ "files": {}
},
"deb": {
"files": {
- "usr/bin/bun": "resources/bin/bun",
- "usr/lib/Jan/resources/lib/libvulkan.so": "resources/lib/libvulkan.so"
+ "usr/bin/bun": "resources/bin/bun"
}
}
}
diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.json
index 1030563ee..a1438c385 100644
--- a/src-tauri/tauri.windows.conf.json
+++ b/src-tauri/tauri.windows.conf.json
@@ -7,7 +7,11 @@
"bundle": {
"targets": ["nsis"],
- "resources": ["resources/pre-install/**/*", "resources/lib/vulkan-1.dll", "resources/lib/vc_redist.x64.exe", "resources/LICENSE"],
+ "resources": [
+ "resources/pre-install/**/*",
+ "resources/lib/vc_redist.x64.exe",
+ "resources/LICENSE"
+ ],
"externalBin": ["resources/bin/bun", "resources/bin/uv"],
"windows": {
"nsis": {
diff --git a/src-tauri/utils/src/system.rs b/src-tauri/utils/src/system.rs
index d4ebc79af..cf281b3cb 100644
--- a/src-tauri/utils/src/system.rs
+++ b/src-tauri/utils/src/system.rs
@@ -1,5 +1,5 @@
-/// Checks AVX2 CPU support for npx override with bun binary
-pub fn can_override_npx() -> bool {
+/// Checks if npx can be overridden with bun binary
+pub fn can_override_npx(bun_path: String) -> bool {
// We need to check the CPU for the AVX2 instruction support if we are running under MacOS
// with Intel CPU. We can override `npx` command with `bun` only if CPU is
// supporting AVX2, otherwise we need to use default `npx` binary
@@ -13,10 +13,31 @@ pub fn can_override_npx() -> bool {
return false; // we cannot override npx with bun binary
}
}
-
+ // Check if bun_path exists
+ if !std::path::Path::new(bun_path.as_str()).exists() {
+ #[cfg(feature = "logging")]
+ log::warn!(
+ "bun binary not found at '{}', default npx binary will be used",
+ bun_path
+ );
+ return false;
+ }
true // by default, we can override npx with bun binary
}
+/// Checks if uv_path exists and determines if uvx can be overridden with the uv binary
+pub fn can_override_uvx(uv_path: String) -> bool {
+ if !std::path::Path::new(uv_path.as_str()).exists() {
+ #[cfg(feature = "logging")]
+ log::warn!(
+ "uv binary not found at '{}', default uvx binary will be used",
+ uv_path
+ );
+ return false;
+ }
+ true // by default, we can override uvx with uv binary
+}
+
/// Setup library paths for different operating systems
pub fn setup_library_path(library_path: Option<&str>, command: &mut tokio::process::Command) {
if let Some(lib_path) = library_path {
diff --git a/web-app/package.json b/web-app/package.json
index 79d5e7134..da7849f87 100644
--- a/web-app/package.json
+++ b/web-app/package.json
@@ -18,112 +18,112 @@
"build:serve:web": "yarn build:web && yarn serve:web"
},
"dependencies": {
- "@dnd-kit/core": "^6.3.1",
- "@dnd-kit/modifiers": "^9.0.0",
- "@dnd-kit/sortable": "^10.0.0",
+ "@dnd-kit/core": "6.3.1",
+ "@dnd-kit/modifiers": "9.0.0",
+ "@dnd-kit/sortable": "10.0.0",
"@jan/extensions-web": "link:../extensions-web",
"@janhq/core": "link:../core",
- "@radix-ui/react-accordion": "^1.2.10",
- "@radix-ui/react-avatar": "^1.1.10",
- "@radix-ui/react-dialog": "^1.1.14",
- "@radix-ui/react-dropdown-menu": "^2.1.15",
- "@radix-ui/react-hover-card": "^1.1.14",
- "@radix-ui/react-popover": "^1.1.13",
- "@radix-ui/react-progress": "^1.1.4",
- "@radix-ui/react-radio-group": "^1.3.7",
- "@radix-ui/react-slider": "^1.3.2",
- "@radix-ui/react-slot": "^1.2.0",
- "@radix-ui/react-switch": "^1.2.2",
- "@radix-ui/react-tooltip": "^1.2.4",
- "@tabler/icons-react": "^3.33.0",
- "@tailwindcss/vite": "^4.1.4",
- "@tanstack/react-router": "^1.116.0",
- "@tanstack/react-router-devtools": "^1.121.34",
- "@tanstack/react-virtual": "^3.13.12",
- "@tauri-apps/api": "^2.8.0",
+ "@radix-ui/react-accordion": "1.2.11",
+ "@radix-ui/react-avatar": "1.1.10",
+ "@radix-ui/react-dialog": "1.1.15",
+ "@radix-ui/react-dropdown-menu": "2.1.16",
+ "@radix-ui/react-hover-card": "1.1.14",
+ "@radix-ui/react-popover": "1.1.14",
+ "@radix-ui/react-progress": "1.1.4",
+ "@radix-ui/react-radio-group": "1.3.8",
+ "@radix-ui/react-slider": "1.3.2",
+ "@radix-ui/react-slot": "1.2.0",
+ "@radix-ui/react-switch": "1.2.2",
+ "@radix-ui/react-tooltip": "1.2.4",
+ "@tabler/icons-react": "3.34.0",
+ "@tailwindcss/vite": "4.1.4",
+ "@tanstack/react-router": "1.117.0",
+ "@tanstack/react-router-devtools": "1.121.34",
+ "@tanstack/react-virtual": "3.13.12",
+ "@tauri-apps/api": "2.8.0",
"@tauri-apps/plugin-deep-link": "2.4.3",
- "@tauri-apps/plugin-dialog": "^2.2.1",
- "@tauri-apps/plugin-http": "^2.2.1",
- "@tauri-apps/plugin-opener": "^2.2.7",
- "@tauri-apps/plugin-os": "^2.2.1",
- "@tauri-apps/plugin-updater": "^2.7.1",
- "@types/react-syntax-highlighter": "^15.5.13",
- "@types/uuid": "^10.0.0",
- "@uiw/react-textarea-code-editor": "^3.1.1",
- "class-variance-authority": "^0.7.1",
- "culori": "^4.0.1",
- "emoji-picker-react": "^4.12.2",
- "framer-motion": "^12.23.12",
- "fuse.js": "^7.1.0",
- "fzf": "^0.5.2",
- "i18next": "^25.0.1",
- "katex": "^0.16.22",
- "lodash.clonedeep": "^4.5.0",
- "lodash.debounce": "^4.0.8",
- "lucide-react": "^0.536.0",
- "motion": "^12.10.5",
- "next-themes": "^0.4.6",
- "posthog-js": "^1.246.0",
- "react": "^19.0.0",
- "react-colorful": "^5.6.1",
- "react-dom": "^19.0.0",
- "react-i18next": "^15.5.1",
- "react-joyride": "^2.9.3",
- "react-markdown": "^10.1.0",
- "react-resizable-panels": "^3.0.3",
- "react-syntax-highlighter": "^15.6.1",
- "react-syntax-highlighter-virtualized-renderer": "^1.1.0",
- "react-textarea-autosize": "^8.5.9",
- "rehype-katex": "^7.0.1",
- "rehype-raw": "^7.0.0",
- "remark-breaks": "^4.0.0",
- "remark-emoji": "^5.0.1",
- "remark-gfm": "^4.0.1",
- "remark-math": "^6.0.0",
- "sonner": "^2.0.3",
- "tailwindcss": "^4.1.4",
+ "@tauri-apps/plugin-dialog": "2.2.2",
+ "@tauri-apps/plugin-http": "2.5.0",
+ "@tauri-apps/plugin-opener": "2.3.0",
+ "@tauri-apps/plugin-os": "2.2.1",
+ "@tauri-apps/plugin-updater": "2.8.1",
+ "@types/react-syntax-highlighter": "15.5.13",
+ "@types/uuid": "10.0.0",
+ "@uiw/react-textarea-code-editor": "3.1.1",
+ "class-variance-authority": "0.7.1",
+ "culori": "4.0.1",
+ "emoji-picker-react": "4.12.2",
+ "framer-motion": "12.23.12",
+ "fuse.js": "7.1.0",
+ "fzf": "0.5.2",
+ "i18next": "25.0.2",
+ "katex": "0.16.22",
+ "lodash.clonedeep": "4.5.0",
+ "lodash.debounce": "4.0.8",
+ "lucide-react": "0.536.0",
+ "motion": "12.18.1",
+ "next-themes": "0.4.6",
+ "posthog-js": "1.255.1",
+ "react": "19.0.0",
+ "react-colorful": "5.6.1",
+ "react-dom": "19.0.0",
+ "react-i18next": "15.5.1",
+ "react-joyride": "2.9.3",
+ "react-markdown": "10.1.0",
+ "react-resizable-panels": "3.0.5",
+ "react-syntax-highlighter": "15.6.1",
+ "react-syntax-highlighter-virtualized-renderer": "1.1.0",
+ "react-textarea-autosize": "8.5.9",
+ "rehype-katex": "7.0.1",
+ "rehype-raw": "7.0.0",
+ "remark-breaks": "4.0.0",
+ "remark-emoji": "5.0.1",
+ "remark-gfm": "4.0.1",
+ "remark-math": "6.0.0",
+ "sonner": "2.0.5",
+ "tailwindcss": "4.1.4",
"token.js": "npm:token.js-fork@0.7.27",
- "tw-animate-css": "^1.2.7",
- "ulidx": "^2.4.1",
- "unified": "^11.0.5",
- "uuid": "^11.1.0",
- "vaul": "^1.1.2",
- "zustand": "^5.0.3"
+ "tw-animate-css": "1.2.8",
+ "ulidx": "2.4.1",
+ "unified": "11.0.5",
+ "uuid": "11.1.0",
+ "vaul": "1.1.2",
+ "zustand": "5.0.3"
},
"devDependencies": {
- "@eslint/js": "^9.22.0",
- "@tanstack/router-plugin": "^1.116.1",
- "@testing-library/dom": "^10.4.0",
- "@testing-library/jest-dom": "^6.6.3",
- "@testing-library/react": "^16.3.0",
- "@testing-library/user-event": "^14.6.1",
- "@types/culori": "^2.1.1",
- "@types/istanbul-lib-report": "^3",
- "@types/istanbul-reports": "^3",
- "@types/lodash.clonedeep": "^4",
- "@types/lodash.debounce": "^4",
- "@types/node": "^22.14.1",
- "@types/react": "^19.0.10",
- "@types/react-dom": "^19.0.4",
- "@vitejs/plugin-react": "^4.3.4",
+ "@eslint/js": "8.57.0",
+ "@tanstack/router-plugin": "1.117.0",
+ "@testing-library/dom": "10.4.1",
+ "@testing-library/jest-dom": "6.8.0",
+ "@testing-library/react": "16.3.0",
+ "@testing-library/user-event": "14.6.1",
+ "@types/culori": "2.1.1",
+ "@types/istanbul-lib-report": "3.0.3",
+ "@types/istanbul-reports": "3.0.4",
+ "@types/lodash.clonedeep": "4.5.9",
+ "@types/lodash.debounce": "4.0.9",
+ "@types/node": "22.14.1",
+ "@types/react": "19.1.2",
+ "@types/react-dom": "19.1.2",
+ "@vitejs/plugin-react": "4.4.1",
"@vitest/coverage-v8": "3.2.4",
- "clsx": "^2.1.1",
- "eslint": "^9.22.0",
- "eslint-plugin-react-hooks": "^5.2.0",
- "eslint-plugin-react-refresh": "^0.4.19",
- "globals": "^16.0.0",
- "istanbul-api": "^3.0.0",
- "istanbul-lib-coverage": "^3.2.2",
- "istanbul-lib-report": "^3.0.1",
- "istanbul-reports": "^3.1.7",
- "jsdom": "^26.1.0",
- "serve": "^14.2.4",
- "tailwind-merge": "^3.3.1",
- "typescript": "~5.8.3",
- "typescript-eslint": "^8.26.1",
- "vite": "^6.3.0",
- "vite-plugin-node-polyfills": "^0.23.0",
- "vite-plugin-pwa": "^1.0.3",
- "vitest": "^3.1.3"
+ "clsx": "2.1.1",
+ "eslint": "9.25.1",
+ "eslint-plugin-react-hooks": "5.2.0",
+ "eslint-plugin-react-refresh": "0.4.20",
+ "globals": "16.0.0",
+ "istanbul-api": "3.0.0",
+ "istanbul-lib-coverage": "2.0.5",
+ "istanbul-lib-report": "2.0.8",
+ "istanbul-reports": "3.1.7",
+ "jsdom": "26.1.0",
+ "serve": "14.2.5",
+ "tailwind-merge": "3.3.1",
+ "typescript": "5.9.2",
+ "typescript-eslint": "8.31.0",
+ "vite": "6.3.2",
+ "vite-plugin-node-polyfills": "0.23.0",
+ "vite-plugin-pwa": "1.0.3",
+ "vitest": "3.2.4"
}
}
diff --git a/web-app/src/containers/DropdownModelProvider.tsx b/web-app/src/containers/DropdownModelProvider.tsx
index 8f9ea35a8..a8614f89d 100644
--- a/web-app/src/containers/DropdownModelProvider.tsx
+++ b/web-app/src/containers/DropdownModelProvider.tsx
@@ -6,7 +6,7 @@ import {
PopoverTrigger,
} from '@/components/ui/popover'
import { useModelProvider } from '@/hooks/useModelProvider'
-import { cn, getProviderTitle } from '@/lib/utils'
+import { cn, getProviderTitle, getModelDisplayName } from '@/lib/utils'
import { highlightFzfMatch } from '@/utils/highlight'
import Capabilities from './Capabilities'
import { IconSettings, IconX } from '@tabler/icons-react'
@@ -240,7 +240,7 @@ const DropdownModelProvider = ({
// Update display model when selection changes
useEffect(() => {
if (selectedProvider && selectedModel) {
- setDisplayModel(selectedModel.id)
+ setDisplayModel(getModelDisplayName(selectedModel))
} else {
setDisplayModel(t('common:selectAModel'))
}
@@ -326,7 +326,7 @@ const DropdownModelProvider = ({
// Create Fzf instance for fuzzy search
const fzfInstance = useMemo(() => {
return new Fzf(searchableItems, {
- selector: (item) => item.model.id.toLowerCase(),
+ selector: (item) => `${getModelDisplayName(item.model)} ${item.model.id}`.toLowerCase(),
})
}, [searchableItems])
@@ -390,7 +390,7 @@ const DropdownModelProvider = ({
const handleSelect = useCallback(
async (searchableModel: SearchableModel) => {
// Immediately update display to prevent double-click issues
- setDisplayModel(searchableModel.model.id)
+ setDisplayModel(getModelDisplayName(searchableModel.model))
setSearchValue('')
setOpen(false)
@@ -576,7 +576,7 @@ const DropdownModelProvider = ({
/>