mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-12-21 23:56:00 +08:00
Compare commits
2 Commits
dependabot
...
812c1c770c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
812c1c770c | ||
|
|
54e3753d93 |
@@ -81,9 +81,3 @@ SILICONFLOW_API_KEY=
|
|||||||
|
|
||||||
### siliconflow Api url (optional)
|
### siliconflow Api url (optional)
|
||||||
SILICONFLOW_URL=
|
SILICONFLOW_URL=
|
||||||
|
|
||||||
### 302.AI Api key (optional)
|
|
||||||
AI302_API_KEY=
|
|
||||||
|
|
||||||
### 302.AI Api url (optional)
|
|
||||||
AI302_URL=
|
|
||||||
|
|||||||
58
README.md
58
README.md
@@ -4,12 +4,16 @@
|
|||||||
<img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/>
|
<img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<h1 align="center">NextChat</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
<h1 align="center">NextChat (ChatGPT Next Web)</h1>
|
||||||
|
|
||||||
English / [简体中文](./README_CN.md)
|
English / [简体中文](./README_CN.md)
|
||||||
|
|
||||||
<a href="https://trendshift.io/repositories/5973" target="_blank"><img src="https://trendshift.io/api/badge/repositories/5973" alt="ChatGPTNextWeb%2FChatGPT-Next-Web | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
<a href="https://trendshift.io/repositories/5973" target="_blank"><img src="https://trendshift.io/api/badge/repositories/5973" alt="ChatGPTNextWeb%2FChatGPT-Next-Web | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
||||||
|
|
||||||
|
|
||||||
✨ Light and Fast AI Assistant,with Claude, DeepSeek, GPT4 & Gemini Pro support.
|
✨ Light and Fast AI Assistant,with Claude, DeepSeek, GPT4 & Gemini Pro support.
|
||||||
|
|
||||||
[![Saas][Saas-image]][saas-url]
|
[![Saas][Saas-image]][saas-url]
|
||||||
@@ -18,49 +22,41 @@ English / [简体中文](./README_CN.md)
|
|||||||
[![MacOS][MacOS-image]][download-url]
|
[![MacOS][MacOS-image]][download-url]
|
||||||
[![Linux][Linux-image]][download-url]
|
[![Linux][Linux-image]][download-url]
|
||||||
|
|
||||||
[NextChatAI](https://nextchat.club?utm_source=readme) / [iOS APP](https://apps.apple.com/us/app/nextchat-ai/id6743085599) / [Web App Demo](https://app.nextchat.club) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [Enterprise Edition](#enterprise-edition)
|
[NextChatAI](https://nextchat.dev/chat?utm_source=readme) / [Web App Demo](https://app.nextchat.dev) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases)
|
||||||
|
[NextChatAI](https://nextchat.club?utm_source=readme) / [Web App Demo](https://app.nextchat.dev) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [Discord](https://discord.gg/YCkeafCafC) / [Enterprise Edition](#enterprise-edition) / [Twitter](https://twitter.com/NextChatDev)
|
||||||
|
|
||||||
|
|
||||||
[saas-url]: https://nextchat.club?utm_source=readme
|
[saas-url]: https://nextchat.club?utm_source=readme
|
||||||
[saas-image]: https://img.shields.io/badge/NextChat-Saas-green?logo=microsoftedge
|
[saas-image]: https://img.shields.io/badge/NextChat-Saas-green?logo=microsoftedge
|
||||||
[web-url]: https://app.nextchat.club/
|
[web-url]: https://app.nextchat.dev/
|
||||||
[download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases
|
[download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases
|
||||||
[Web-image]: https://img.shields.io/badge/Web-PWA-orange?logo=microsoftedge
|
[Web-image]: https://img.shields.io/badge/Web-PWA-orange?logo=microsoftedge
|
||||||
[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows
|
[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows
|
||||||
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple
|
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple
|
||||||
[Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu
|
[Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu
|
||||||
|
|
||||||
[<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://vercel.com/button" alt="Deploy on Vercel" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/ChatGPTNextWeb/NextChat)
|
[<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://vercel.com/button" alt="Deploy on Vercel" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/ChatGPTNextWeb/NextChat)
|
||||||
|
|
||||||
[<img src="https://github.com/user-attachments/assets/903482d4-3e87-4134-9af1-f2588fa90659" height="50" width="" >](https://monica.im/?utm=nxcrp)
|
[<img src="https://github.com/user-attachments/assets/903482d4-3e87-4134-9af1-f2588fa90659" height="50" width="" >](https://monica.im/?utm=nxcrp)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## ❤️ Sponsor AI API
|
## 🥳 Cheer for DeepSeek, China's AI star!
|
||||||
|
> Purpose-Built UI for DeepSeek Reasoner Model
|
||||||
|
|
||||||
<a href='https://302.ai/'>
|
<img src="https://github.com/user-attachments/assets/f3952210-3af1-4dc0-9b81-40eaa4847d9a"/>
|
||||||
<img src="https://github.com/user-attachments/assets/a03edf82-2031-4f23-bdb8-bfc0bfd168a4" width="100%" alt="icon"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
[302.AI](https://302.ai/) is a pay-as-you-go AI application platform that offers the most comprehensive AI APIs and online applications available.
|
|
||||||
|
|
||||||
## 🥳 Cheer for NextChat iOS Version Online!
|
|
||||||
|
|
||||||
> [👉 Click Here to Install Now](https://apps.apple.com/us/app/nextchat-ai/id6743085599)
|
|
||||||
|
|
||||||
> [❤️ Source Code Coming Soon](https://github.com/ChatGPTNextWeb/NextChat-iOS)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## 🫣 NextChat Support MCP !
|
|
||||||
|
|
||||||
|
## 🫣 NextChat Support MCP !
|
||||||
> Before build, please set env ENABLE_MCP=true
|
> Before build, please set env ENABLE_MCP=true
|
||||||
|
|
||||||
<img src="https://github.com/user-attachments/assets/d8851f40-4e36-4335-b1a4-ec1e11488c7e"/>
|
<img src="https://github.com/user-attachments/assets/d8851f40-4e36-4335-b1a4-ec1e11488c7e"/>
|
||||||
|
|
||||||
|
|
||||||
## Enterprise Edition
|
## Enterprise Edition
|
||||||
|
|
||||||
Meeting Your Company's Privatization and Customization Deployment Requirements:
|
Meeting Your Company's Privatization and Customization Deployment Requirements:
|
||||||
|
|
||||||
- **Brand Customization**: Tailored VI/UI to seamlessly align with your corporate brand image.
|
- **Brand Customization**: Tailored VI/UI to seamlessly align with your corporate brand image.
|
||||||
- **Resource Integration**: Unified configuration and management of dozens of AI resources by company administrators, ready for use by team members.
|
- **Resource Integration**: Unified configuration and management of dozens of AI resources by company administrators, ready for use by team members.
|
||||||
- **Permission Control**: Clearly defined member permissions, resource permissions, and knowledge base permissions, all controlled via a corporate-grade Admin Panel.
|
- **Permission Control**: Clearly defined member permissions, resource permissions, and knowledge base permissions, all controlled via a corporate-grade Admin Panel.
|
||||||
@@ -77,6 +73,7 @@ For enterprise inquiries, please contact: **business@nextchat.dev**
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Deploy for free with one-click** on Vercel in under 1 minute
|
- **Deploy for free with one-click** on Vercel in under 1 minute
|
||||||
@@ -112,11 +109,10 @@ For enterprise inquiries, please contact: **business@nextchat.dev**
|
|||||||
- [ ] local knowledge base
|
- [ ] local knowledge base
|
||||||
|
|
||||||
## What's New
|
## What's New
|
||||||
|
|
||||||
- 🚀 v2.15.8 Now supports Realtime Chat [#5672](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5672)
|
- 🚀 v2.15.8 Now supports Realtime Chat [#5672](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5672)
|
||||||
- 🚀 v2.15.4 The Application supports using Tauri fetch LLM API, MORE SECURITY! [#5379](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5379)
|
- 🚀 v2.15.4 The Application supports using Tauri fetch LLM API, MORE SECURITY! [#5379](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5379)
|
||||||
- 🚀 v2.15.0 Now supports Plugins! Read this: [NextChat-Awesome-Plugins](https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins)
|
- 🚀 v2.15.0 Now supports Plugins! Read this: [NextChat-Awesome-Plugins](https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins)
|
||||||
- 🚀 v2.14.0 Now supports Artifacts & SD
|
- 🚀 v2.14.0 Now supports Artifacts & SD
|
||||||
- 🚀 v2.10.1 support Google Gemini Pro model.
|
- 🚀 v2.10.1 support Google Gemini Pro model.
|
||||||
- 🚀 v2.9.11 you can use azure endpoint now.
|
- 🚀 v2.9.11 you can use azure endpoint now.
|
||||||
- 🚀 v2.8 now we have a client that runs across all platforms!
|
- 🚀 v2.8 now we have a client that runs across all platforms!
|
||||||
@@ -316,12 +312,10 @@ To control custom models, use `+` to add a custom model, use `-` to hide a model
|
|||||||
User `-all` to disable all default models, `+all` to enable all default models.
|
User `-all` to disable all default models, `+all` to enable all default models.
|
||||||
|
|
||||||
For Azure: use `modelName@Azure=deploymentName` to customize model name and deployment name.
|
For Azure: use `modelName@Azure=deploymentName` to customize model name and deployment name.
|
||||||
|
|
||||||
> Example: `+gpt-3.5-turbo@Azure=gpt35` will show option `gpt35(Azure)` in model list.
|
> Example: `+gpt-3.5-turbo@Azure=gpt35` will show option `gpt35(Azure)` in model list.
|
||||||
> If you only can use Azure model, `-all,+gpt-3.5-turbo@Azure=gpt35` will `gpt35(Azure)` the only option in model list.
|
> If you only can use Azure model, `-all,+gpt-3.5-turbo@Azure=gpt35` will `gpt35(Azure)` the only option in model list.
|
||||||
|
|
||||||
For ByteDance: use `modelName@bytedance=deploymentName` to customize model name and deployment name.
|
For ByteDance: use `modelName@bytedance=deploymentName` to customize model name and deployment name.
|
||||||
|
|
||||||
> Example: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx` will show option `Doubao-lite-4k(ByteDance)` in model list.
|
> Example: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx` will show option `Doubao-lite-4k(ByteDance)` in model list.
|
||||||
|
|
||||||
### `DEFAULT_MODEL` (optional)
|
### `DEFAULT_MODEL` (optional)
|
||||||
@@ -338,9 +332,8 @@ Add additional models to have vision capabilities, beyond the default pattern ma
|
|||||||
### `WHITE_WEBDAV_ENDPOINTS` (optional)
|
### `WHITE_WEBDAV_ENDPOINTS` (optional)
|
||||||
|
|
||||||
You can use this option if you want to increase the number of webdav service addresses you are allowed to access, as required by the format:
|
You can use this option if you want to increase the number of webdav service addresses you are allowed to access, as required by the format:
|
||||||
|
|
||||||
- Each address must be a complete endpoint
|
- Each address must be a complete endpoint
|
||||||
> `https://xxxx/yyy`
|
> `https://xxxx/yyy`
|
||||||
- Multiple addresses are connected by ', '
|
- Multiple addresses are connected by ', '
|
||||||
|
|
||||||
### `DEFAULT_INPUT_TEMPLATE` (optional)
|
### `DEFAULT_INPUT_TEMPLATE` (optional)
|
||||||
@@ -355,6 +348,7 @@ Stability API key.
|
|||||||
|
|
||||||
Customize Stability API url.
|
Customize Stability API url.
|
||||||
|
|
||||||
|
|
||||||
### `ENABLE_MCP` (optional)
|
### `ENABLE_MCP` (optional)
|
||||||
|
|
||||||
Enable MCP(Model Context Protocol)Feature
|
Enable MCP(Model Context Protocol)Feature
|
||||||
@@ -367,20 +361,13 @@ SiliconFlow API Key.
|
|||||||
|
|
||||||
SiliconFlow API URL.
|
SiliconFlow API URL.
|
||||||
|
|
||||||
### `AI302_API_KEY` (optional)
|
|
||||||
|
|
||||||
302.AI API Key.
|
|
||||||
|
|
||||||
### `AI302_URL` (optional)
|
|
||||||
|
|
||||||
302.AI API URL.
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
NodeJS >= 18, Docker >= 20
|
NodeJS >= 18, Docker >= 20
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
||||||
|
|
||||||
Before starting development, you must create a new `.env.local` file at project root, and place your api key into it:
|
Before starting development, you must create a new `.env.local` file at project root, and place your api key into it:
|
||||||
@@ -404,6 +391,7 @@ yarn dev
|
|||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
|
|
||||||
### Docker (Recommended)
|
### Docker (Recommended)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -461,6 +449,8 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
|
|||||||
- [How to use Vercel (No English)](./docs/vercel-cn.md)
|
- [How to use Vercel (No English)](./docs/vercel-cn.md)
|
||||||
- [User Manual (Only Chinese, WIP)](./docs/user-manual-cn.md)
|
- [User Manual (Only Chinese, WIP)](./docs/user-manual-cn.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Translation
|
## Translation
|
||||||
|
|
||||||
If you want to add a new translation, read this [document](./docs/translation.md).
|
If you want to add a new translation, read this [document](./docs/translation.md).
|
||||||
@@ -471,6 +461,8 @@ If you want to add a new translation, read this [document](./docs/translation.md
|
|||||||
|
|
||||||
## Special Thanks
|
## Special Thanks
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Contributors
|
### Contributors
|
||||||
|
|
||||||
<a href="https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/graphs/contributors">
|
<a href="https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/graphs/contributors">
|
||||||
|
|||||||
28
README_CN.md
28
README_CN.md
@@ -10,22 +10,13 @@
|
|||||||
|
|
||||||
[NextChatAI](https://nextchat.club?utm_source=readme) / [企业版](#%E4%BC%81%E4%B8%9A%E7%89%88) / [演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N)
|
[NextChatAI](https://nextchat.club?utm_source=readme) / [企业版](#%E4%BC%81%E4%B8%9A%E7%89%88) / [演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N)
|
||||||
|
|
||||||
[<img src="https://vercel.com/button" alt="Deploy on Zeabur" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[<img src="https://vercel.com/button" alt="Deploy on Zeabur" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Sponsor AI API
|
|
||||||
|
|
||||||
<a href='https://302.ai/'>
|
|
||||||
<img src="https://github.com/user-attachments/assets/d8c0c513-1e18-4d3b-a2a9-ff3696aec0d4" width="100%" alt="icon"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
[302.AI](https://302.ai/) 是一个按需付费的AI应用平台,提供市面上最全的AI API和AI在线应用。
|
|
||||||
|
|
||||||
## 企业版
|
## 企业版
|
||||||
|
|
||||||
满足您公司私有化部署和定制需求
|
满足您公司私有化部署和定制需求
|
||||||
|
|
||||||
- **品牌定制**:企业量身定制 VI/UI,与企业品牌形象无缝契合
|
- **品牌定制**:企业量身定制 VI/UI,与企业品牌形象无缝契合
|
||||||
- **资源集成**:由企业管理人员统一配置和管理数十种 AI 资源,团队成员开箱即用
|
- **资源集成**:由企业管理人员统一配置和管理数十种 AI 资源,团队成员开箱即用
|
||||||
- **权限管理**:成员权限、资源权限、知识库权限层级分明,企业级 Admin Panel 统一控制
|
- **权限管理**:成员权限、资源权限、知识库权限层级分明,企业级 Admin Panel 统一控制
|
||||||
@@ -38,6 +29,7 @@
|
|||||||
|
|
||||||
<img width="300" src="https://github.com/user-attachments/assets/bb29a11d-ff75-48a8-b1f8-d2d7238cf987">
|
<img width="300" src="https://github.com/user-attachments/assets/bb29a11d-ff75-48a8-b1f8-d2d7238cf987">
|
||||||
|
|
||||||
|
|
||||||
## 开始使用
|
## 开始使用
|
||||||
|
|
||||||
1. 准备好你的 [OpenAI API Key](https://platform.openai.com/account/api-keys);
|
1. 准备好你的 [OpenAI API Key](https://platform.openai.com/account/api-keys);
|
||||||
@@ -209,6 +201,7 @@ DeepSeek Api Key.
|
|||||||
|
|
||||||
DeepSeek Api Url.
|
DeepSeek Api Url.
|
||||||
|
|
||||||
|
|
||||||
### `HIDE_USER_API_KEY` (可选)
|
### `HIDE_USER_API_KEY` (可选)
|
||||||
|
|
||||||
如果你不想让用户自行填入 API Key,将此环境变量设置为 1 即可。
|
如果你不想让用户自行填入 API Key,将此环境变量设置为 1 即可。
|
||||||
@@ -228,9 +221,8 @@ DeepSeek Api Url.
|
|||||||
### `WHITE_WEBDAV_ENDPOINTS` (可选)
|
### `WHITE_WEBDAV_ENDPOINTS` (可选)
|
||||||
|
|
||||||
如果你想增加允许访问的webdav服务地址,可以使用该选项,格式要求:
|
如果你想增加允许访问的webdav服务地址,可以使用该选项,格式要求:
|
||||||
|
|
||||||
- 每一个地址必须是一个完整的 endpoint
|
- 每一个地址必须是一个完整的 endpoint
|
||||||
> `https://xxxx/xxx`
|
> `https://xxxx/xxx`
|
||||||
- 多个地址以`,`相连
|
- 多个地址以`,`相连
|
||||||
|
|
||||||
### `CUSTOM_MODELS` (可选)
|
### `CUSTOM_MODELS` (可选)
|
||||||
@@ -241,14 +233,13 @@ DeepSeek Api Url.
|
|||||||
用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。
|
用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。
|
||||||
|
|
||||||
在Azure的模式下,支持使用`modelName@Azure=deploymentName`的方式配置模型名称和部署名称(deploy-name)
|
在Azure的模式下,支持使用`modelName@Azure=deploymentName`的方式配置模型名称和部署名称(deploy-name)
|
||||||
|
|
||||||
> 示例:`+gpt-3.5-turbo@Azure=gpt35`这个配置会在模型列表显示一个`gpt35(Azure)`的选项。
|
> 示例:`+gpt-3.5-turbo@Azure=gpt35`这个配置会在模型列表显示一个`gpt35(Azure)`的选项。
|
||||||
> 如果你只能使用Azure模式,那么设置 `-all,+gpt-3.5-turbo@Azure=gpt35` 则可以让对话的默认使用 `gpt35(Azure)`
|
> 如果你只能使用Azure模式,那么设置 `-all,+gpt-3.5-turbo@Azure=gpt35` 则可以让对话的默认使用 `gpt35(Azure)`
|
||||||
|
|
||||||
在ByteDance的模式下,支持使用`modelName@bytedance=deploymentName`的方式配置模型名称和部署名称(deploy-name)
|
在ByteDance的模式下,支持使用`modelName@bytedance=deploymentName`的方式配置模型名称和部署名称(deploy-name)
|
||||||
|
|
||||||
> 示例: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx`这个配置会在模型列表显示一个`Doubao-lite-4k(ByteDance)`的选项
|
> 示例: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx`这个配置会在模型列表显示一个`Doubao-lite-4k(ByteDance)`的选项
|
||||||
|
|
||||||
|
|
||||||
### `DEFAULT_MODEL` (可选)
|
### `DEFAULT_MODEL` (可选)
|
||||||
|
|
||||||
更改默认模型
|
更改默认模型
|
||||||
@@ -284,14 +275,6 @@ SiliconFlow API Key.
|
|||||||
|
|
||||||
SiliconFlow API URL.
|
SiliconFlow API URL.
|
||||||
|
|
||||||
### `AI302_API_KEY` (optional)
|
|
||||||
|
|
||||||
302.AI API Key.
|
|
||||||
|
|
||||||
### `AI302_URL` (optional)
|
|
||||||
|
|
||||||
302.AI API URL.
|
|
||||||
|
|
||||||
## 开发
|
## 开发
|
||||||
|
|
||||||
点击下方按钮,开始二次开发:
|
点击下方按钮,开始二次开发:
|
||||||
@@ -316,7 +299,6 @@ BASE_URL=https://b.nextweb.fun/api/proxy
|
|||||||
## 部署
|
## 部署
|
||||||
|
|
||||||
### 宝塔面板部署
|
### 宝塔面板部署
|
||||||
|
|
||||||
> [简体中文 > 如何通过宝塔一键部署](./docs/bt-cn.md)
|
> [简体中文 > 如何通过宝塔一键部署](./docs/bt-cn.md)
|
||||||
|
|
||||||
### 容器部署 (推荐)
|
### 容器部署 (推荐)
|
||||||
|
|||||||
36
README_JA.md
36
README_JA.md
@@ -7,22 +7,14 @@
|
|||||||
|
|
||||||
[NextChatAI](https://nextchat.club?utm_source=readme) / [企業版](#企業版) / [デモ](https://chat-gpt-next-web.vercel.app/) / [フィードバック](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [Discordに参加](https://discord.gg/zrhvHCr79N)
|
[NextChatAI](https://nextchat.club?utm_source=readme) / [企業版](#企業版) / [デモ](https://chat-gpt-next-web.vercel.app/) / [フィードバック](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [Discordに参加](https://discord.gg/zrhvHCr79N)
|
||||||
|
|
||||||
[<img src="https://vercel.com/button" alt="Zeaburでデプロイ" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Zeaburでデプロイ" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Gitpodで開く" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[<img src="https://vercel.com/button" alt="Zeaburでデプロイ" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Zeaburでデプロイ" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Gitpodで開く" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Sponsor AI API
|
|
||||||
|
|
||||||
<a href='https://302.ai/'>
|
|
||||||
<img src="https://github.com/user-attachments/assets/6cf24233-1010-43e0-9a83-a11159866175" width="100%" alt="icon"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
[302.AI](https://302.ai/) は、オンデマンドで支払うAIアプリケーションプラットフォームで、最も安全なAI APIとAIオンラインアプリケーションを提供します。
|
|
||||||
|
|
||||||
## 企業版
|
## 企業版
|
||||||
|
|
||||||
あなたの会社のプライベートデプロイとカスタマイズのニーズに応える
|
あなたの会社のプライベートデプロイとカスタマイズのニーズに応える
|
||||||
|
|
||||||
- **ブランドカスタマイズ**:企業向けに特別に設計された VI/UI、企業ブランドイメージとシームレスにマッチ
|
- **ブランドカスタマイズ**:企業向けに特別に設計された VI/UI、企業ブランドイメージとシームレスにマッチ
|
||||||
- **リソース統合**:企業管理者が数十種類のAIリソースを統一管理、チームメンバーはすぐに使用可能
|
- **リソース統合**:企業管理者が数十種類のAIリソースを統一管理、チームメンバーはすぐに使用可能
|
||||||
- **権限管理**:メンバーの権限、リソースの権限、ナレッジベースの権限を明確にし、企業レベルのAdmin Panelで統一管理
|
- **権限管理**:メンバーの権限、リソースの権限、ナレッジベースの権限を明確にし、企業レベルのAdmin Panelで統一管理
|
||||||
@@ -33,6 +25,7 @@
|
|||||||
|
|
||||||
企業版のお問い合わせ: **business@nextchat.dev**
|
企業版のお問い合わせ: **business@nextchat.dev**
|
||||||
|
|
||||||
|
|
||||||
## 始めに
|
## 始めに
|
||||||
|
|
||||||
1. [OpenAI API Key](https://platform.openai.com/account/api-keys)を準備する;
|
1. [OpenAI API Key](https://platform.openai.com/account/api-keys)を準備する;
|
||||||
@@ -47,6 +40,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
## 更新を維持する
|
## 更新を維持する
|
||||||
|
|
||||||
もし上記の手順に従ってワンクリックでプロジェクトをデプロイした場合、「更新があります」というメッセージが常に表示されることがあります。これは、Vercel がデフォルトで新しいプロジェクトを作成するためで、本プロジェクトを fork していないことが原因です。そのため、正しく更新を検出できません。
|
もし上記の手順に従ってワンクリックでプロジェクトをデプロイした場合、「更新があります」というメッセージが常に表示されることがあります。これは、Vercel がデフォルトで新しいプロジェクトを作成するためで、本プロジェクトを fork していないことが原因です。そのため、正しく更新を検出できません。
|
||||||
@@ -57,6 +51,7 @@
|
|||||||
- ページ右上の fork ボタンを使って、本プロジェクトを fork する
|
- ページ右上の fork ボタンを使って、本プロジェクトを fork する
|
||||||
- Vercel で再度選択してデプロイする、[詳細な手順はこちらを参照してください](./docs/vercel-ja.md)。
|
- Vercel で再度選択してデプロイする、[詳細な手順はこちらを参照してください](./docs/vercel-ja.md)。
|
||||||
|
|
||||||
|
|
||||||
### 自動更新を開く
|
### 自動更新を開く
|
||||||
|
|
||||||
> Upstream Sync の実行エラーが発生した場合は、[手動で Sync Fork](./README_JA.md#手動でコードを更新する) してください!
|
> Upstream Sync の実行エラーが発生した場合は、[手動で Sync Fork](./README_JA.md#手動でコードを更新する) してください!
|
||||||
@@ -67,12 +62,15 @@
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
### 手動でコードを更新する
|
### 手動でコードを更新する
|
||||||
|
|
||||||
手動で即座に更新したい場合は、[GitHub のドキュメント](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)を参照して、fork したプロジェクトを上流のコードと同期する方法を確認してください。
|
手動で即座に更新したい場合は、[GitHub のドキュメント](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)を参照して、fork したプロジェクトを上流のコードと同期する方法を確認してください。
|
||||||
|
|
||||||
このプロジェクトをスターまたはウォッチしたり、作者をフォローすることで、新機能の更新通知をすぐに受け取ることができます。
|
このプロジェクトをスターまたはウォッチしたり、作者をフォローすることで、新機能の更新通知をすぐに受け取ることができます。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ページアクセスパスワードを設定する
|
## ページアクセスパスワードを設定する
|
||||||
|
|
||||||
> パスワードを設定すると、ユーザーは設定ページでアクセスコードを手動で入力しない限り、通常のチャットができず、未承認の状態であることを示すメッセージが表示されます。
|
> パスワードを設定すると、ユーザーは設定ページでアクセスコードを手動で入力しない限り、通常のチャットができず、未承認の状態であることを示すメッセージが表示されます。
|
||||||
@@ -87,6 +85,7 @@ code1,code2,code3
|
|||||||
|
|
||||||
この環境変数を追加または変更した後、**プロジェクトを再デプロイ**して変更を有効にしてください。
|
この環境変数を追加または変更した後、**プロジェクトを再デプロイ**して変更を有効にしてください。
|
||||||
|
|
||||||
|
|
||||||
## 環境変数
|
## 環境変数
|
||||||
|
|
||||||
> 本プロジェクトのほとんどの設定は環境変数で行います。チュートリアル:[Vercel の環境変数を変更する方法](./docs/vercel-ja.md)。
|
> 本プロジェクトのほとんどの設定は環境変数で行います。チュートリアル:[Vercel の環境変数を変更する方法](./docs/vercel-ja.md)。
|
||||||
@@ -197,9 +196,8 @@ ByteDance API の URL。
|
|||||||
### `WHITE_WEBDAV_ENDPOINTS` (オプション)
|
### `WHITE_WEBDAV_ENDPOINTS` (オプション)
|
||||||
|
|
||||||
アクセス許可を与える WebDAV サービスのアドレスを追加したい場合、このオプションを使用します。フォーマット要件:
|
アクセス許可を与える WebDAV サービスのアドレスを追加したい場合、このオプションを使用します。フォーマット要件:
|
||||||
|
|
||||||
- 各アドレスは完全なエンドポイントでなければなりません。
|
- 各アドレスは完全なエンドポイントでなければなりません。
|
||||||
> `https://xxxx/xxx`
|
> `https://xxxx/xxx`
|
||||||
- 複数のアドレスは `,` で接続します。
|
- 複数のアドレスは `,` で接続します。
|
||||||
|
|
||||||
### `CUSTOM_MODELS` (オプション)
|
### `CUSTOM_MODELS` (オプション)
|
||||||
@@ -210,11 +208,9 @@ ByteDance API の URL。
|
|||||||
モデルリストを管理します。`+` でモデルを追加し、`-` でモデルを非表示にし、`モデル名=表示名` でモデルの表示名をカスタマイズし、カンマで区切ります。
|
モデルリストを管理します。`+` でモデルを追加し、`-` でモデルを非表示にし、`モデル名=表示名` でモデルの表示名をカスタマイズし、カンマで区切ります。
|
||||||
|
|
||||||
Azure モードでは、`modelName@Azure=deploymentName` 形式でモデル名とデプロイ名(deploy-name)を設定できます。
|
Azure モードでは、`modelName@Azure=deploymentName` 形式でモデル名とデプロイ名(deploy-name)を設定できます。
|
||||||
|
|
||||||
> 例:`+gpt-3.5-turbo@Azure=gpt35` この設定でモデルリストに `gpt35(Azure)` のオプションが表示されます。
|
> 例:`+gpt-3.5-turbo@Azure=gpt35` この設定でモデルリストに `gpt35(Azure)` のオプションが表示されます。
|
||||||
|
|
||||||
ByteDance モードでは、`modelName@bytedance=deploymentName` 形式でモデル名とデプロイ名(deploy-name)を設定できます。
|
ByteDance モードでは、`modelName@bytedance=deploymentName` 形式でモデル名とデプロイ名(deploy-name)を設定できます。
|
||||||
|
|
||||||
> 例: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx` この設定でモデルリストに `Doubao-lite-4k(ByteDance)` のオプションが表示されます。
|
> 例: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx` この設定でモデルリストに `Doubao-lite-4k(ByteDance)` のオプションが表示されます。
|
||||||
|
|
||||||
### `DEFAULT_MODEL` (オプション)
|
### `DEFAULT_MODEL` (オプション)
|
||||||
@@ -232,13 +228,6 @@ ByteDance モードでは、`modelName@bytedance=deploymentName` 形式でモデ
|
|||||||
|
|
||||||
『設定』の『ユーザー入力前処理』の初期設定に使用するテンプレートをカスタマイズします。
|
『設定』の『ユーザー入力前処理』の初期設定に使用するテンプレートをカスタマイズします。
|
||||||
|
|
||||||
### `AI302_API_KEY` (オプション)
|
|
||||||
|
|
||||||
302.AI API キー.
|
|
||||||
|
|
||||||
### `AI302_URL` (オプション)
|
|
||||||
|
|
||||||
302.AI API の URL.
|
|
||||||
|
|
||||||
## 開発
|
## 開発
|
||||||
|
|
||||||
@@ -252,12 +241,14 @@ ByteDance モードでは、`modelName@bytedance=deploymentName` 形式でモデ
|
|||||||
OPENAI_API_KEY=<your api key here>
|
OPENAI_API_KEY=<your api key here>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### ローカル開発
|
### ローカル開発
|
||||||
|
|
||||||
1. Node.js 18 と Yarn をインストールします。具体的な方法は ChatGPT にお尋ねください。
|
1. Node.js 18 と Yarn をインストールします。具体的な方法は ChatGPT にお尋ねください。
|
||||||
2. `yarn install && yarn dev` を実行します。⚠️ 注意:このコマンドはローカル開発用であり、デプロイには使用しないでください。
|
2. `yarn install && yarn dev` を実行します。⚠️ 注意:このコマンドはローカル開発用であり、デプロイには使用しないでください。
|
||||||
3. ローカルでデプロイしたい場合は、`yarn install && yarn build && yarn start` コマンドを使用してください。プロセスを守るために pm2 を使用することもできます。詳細は ChatGPT にお尋ねください。
|
3. ローカルでデプロイしたい場合は、`yarn install && yarn build && yarn start` コマンドを使用してください。プロセスを守るために pm2 を使用することもできます。詳細は ChatGPT にお尋ねください。
|
||||||
|
|
||||||
|
|
||||||
## デプロイ
|
## デプロイ
|
||||||
|
|
||||||
### コンテナデプロイ(推奨)
|
### コンテナデプロイ(推奨)
|
||||||
@@ -294,6 +285,7 @@ docker run -d -p 3000:3000 \
|
|||||||
|
|
||||||
他の環境変数を指定する必要がある場合は、上記のコマンドに `-e 環境変数=環境変数値` を追加して指定してください。
|
他の環境変数を指定する必要がある場合は、上記のコマンドに `-e 環境変数=環境変数値` を追加して指定してください。
|
||||||
|
|
||||||
|
|
||||||
### ローカルデプロイ
|
### ローカルデプロイ
|
||||||
|
|
||||||
コンソールで以下のコマンドを実行します:
|
コンソールで以下のコマンドを実行します:
|
||||||
@@ -304,6 +296,7 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
|
|||||||
|
|
||||||
⚠️ 注意:インストール中に問題が発生した場合は、Docker を使用してデプロイしてください。
|
⚠️ 注意:インストール中に問題が発生した場合は、Docker を使用してデプロイしてください。
|
||||||
|
|
||||||
|
|
||||||
## 謝辞
|
## 謝辞
|
||||||
|
|
||||||
### 寄付者
|
### 寄付者
|
||||||
@@ -318,6 +311,7 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
|
|||||||
|
|
||||||
- [one-api](https://github.com/songquanpeng/one-api): 一つのプラットフォームで大規模モデルのクォータ管理を提供し、市場に出回っているすべての主要な大規模言語モデルをサポートします。
|
- [one-api](https://github.com/songquanpeng/one-api): 一つのプラットフォームで大規模モデルのクォータ管理を提供し、市場に出回っているすべての主要な大規模言語モデルをサポートします。
|
||||||
|
|
||||||
|
|
||||||
## オープンソースライセンス
|
## オープンソースライセンス
|
||||||
|
|
||||||
[MIT](https://opensource.org/license/mit/)
|
[MIT](https://opensource.org/license/mit/)
|
||||||
|
|||||||
492
README_KO.md
492
README_KO.md
@@ -1,492 +0,0 @@
|
|||||||
<div align="center">
|
|
||||||
|
|
||||||
<a href='https://nextchat.club'>
|
|
||||||
<img src="https://github.com/user-attachments/assets/83bdcc07-ae5e-4954-a53a-ac151ba6ccf3" width="1000" alt="icon"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<h1 align="center">NextChat</h1>
|
|
||||||
|
|
||||||
영어 / [简体中文](./README_CN.md)
|
|
||||||
|
|
||||||
<a href="https://trendshift.io/repositories/5973" target="_blank">
|
|
||||||
<img src="https://trendshift.io/api/badge/repositories/5973" alt="ChatGPTNextWeb%2FChatGPT-Next-Web | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
✨ 빠르고 가벼운 AI 어시스턴트, Claude, DeepSeek, GPT-4, Gemini Pro 지원
|
|
||||||
|
|
||||||
[![Saas][Saas-image]][saas-url]
|
|
||||||
[![Web][Web-image]][web-url]
|
|
||||||
[![Windows][Windows-image]][download-url]
|
|
||||||
[![MacOS][MacOS-image]][download-url]
|
|
||||||
[![Linux][Linux-image]][download-url]
|
|
||||||
|
|
||||||
[NextChatAI 웹사이트](https://nextchat.club?utm_source=readme) / [iOS 앱](https://apps.apple.com/us/app/nextchat-ai/id6743085599) / [웹 데모](https://app.nextchat.club) / [데스크톱 앱](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [엔터프라이즈 버전](#enterprise-edition)
|
|
||||||
|
|
||||||
[saas-url]: https://nextchat.club?utm_source=readme
|
|
||||||
[saas-image]: https://img.shields.io/badge/NextChat-Saas-green?logo=microsoftedge
|
|
||||||
[web-url]: https://app.nextchat.club/
|
|
||||||
[download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases
|
|
||||||
[Web-image]: https://img.shields.io/badge/Web-PWA-orange?logo=microsoftedge
|
|
||||||
[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows
|
|
||||||
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple
|
|
||||||
[Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu
|
|
||||||
|
|
||||||
[<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://vercel.com/button" alt="Deploy on Vercel" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/ChatGPTNextWeb/NextChat)
|
|
||||||
|
|
||||||
[<img src="https://github.com/user-attachments/assets/903482d4-3e87-4134-9af1-f2588fa90659" height="50" width="" >](https://monica.im/?utm=nxcrp)
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## ❤️ AI API 후원사
|
|
||||||
|
|
||||||
<a href='https://302.ai/'>
|
|
||||||
<img src="https://github.com/user-attachments/assets/a03edf82-2031-4f23-bdb8-bfc0bfd168a4" width="100%" alt="icon"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
[302.AI](https://302.ai/)는 사용한 만큼만 비용을 지불하는 AI 애플리케이션 플랫폼으로, 다양한 AI API 및 온라인 애플리케이션을 제공합니다.
|
|
||||||
|
|
||||||
## 🥳 NextChat iOS 버전 출시!
|
|
||||||
|
|
||||||
> 👉 [지금 설치하기](https://apps.apple.com/us/app/nextchat-ai/id6743085599)
|
|
||||||
|
|
||||||
> ❤️ [소스 코드 곧 공개 예정](https://github.com/ChatGPTNextWeb/NextChat-iOS)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## 🫣 NextChat, MCP 지원!
|
|
||||||
|
|
||||||
> 빌드 전 환경 변수(env) `ENABLE_MCP=true` 설정 필요
|
|
||||||
|
|
||||||
<img src="https://github.com/user-attachments/assets/d8851f40-4e36-4335-b1a4-ec1e11488c7e" />
|
|
||||||
|
|
||||||
## 엔터프라이즈 버전
|
|
||||||
|
|
||||||
회사 내부 시스템에 맞춘 프라이빗 배포 및 맞춤형 커스터마이징 지원:
|
|
||||||
|
|
||||||
- **브랜드 커스터마이징**: 기업 이미지에 맞는 UI/UX 테마 적용
|
|
||||||
- **리소스 통합 관리**: 다양한 AI 모델을 통합하여 팀원이 손쉽게 사용 가능
|
|
||||||
- **권한 제어**: 관리자 패널을 통한 멤버·리소스·지식 베이스 권한 설정
|
|
||||||
- **지식 통합**: 사내 문서 및 데이터와 AI를 결합한 맞춤형 답변 제공
|
|
||||||
- **보안 감사**: 민감한 질문 차단 및 모든 기록 추적 가능
|
|
||||||
- **프라이빗 배포 지원**: 주요 클라우드 서비스에 맞춘 배포 옵션
|
|
||||||
- **지속적 업데이트**: 멀티모달 등 최신 AI 기능 지속 반영
|
|
||||||
|
|
||||||
엔터프라이즈 문의: **business@nextchat.dev**
|
|
||||||
|
|
||||||
## 🖼️ 스크린샷
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## 주요 기능 소개
|
|
||||||
|
|
||||||
- Vercel에서 원클릭 무료 배포 (1분 내 완성)
|
|
||||||
- 모든 OS(Linux/Windows/MacOS)에서 사용 가능한 클라이언트 (~5MB) [지금 다운 받기](https://github.com/Yidadaa/ChatGPT-Next-Web/releases)
|
|
||||||
- 자체 LLM 서버와 완벽 호환. [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) 또는 [LocalAI](https://github.com/go-skynet/LocalAI)와 함께 사용하는 것을 추천
|
|
||||||
- 개인 정보 보호: 모든 대화 기록은 브라우저에만 저장
|
|
||||||
- Markdown 지원: LaTex, Mermaid, 코드 하이라이팅 등
|
|
||||||
- 반응형 디자인, 다크 모드, PWA 지원
|
|
||||||
- 빠른 초기 로딩 속도 (~100kb), 스트리밍 응답
|
|
||||||
- 프롬프트 템플릿 생성/공유/디버깅 지원 (v2)
|
|
||||||
- v2: 프롬프트 템플릿 기반 도구 생성, 공유, 디버깅 가능
|
|
||||||
- 고급 프롬프트 내장 [awesome-chatgpt-prompts-zh](https://github.com/PlexPt/awesome-chatgpt-prompts-zh) and [awesome-chatgpt-prompts](https://github.com/f/awesome-chatgpt-prompts)
|
|
||||||
- 긴 대화 내용 자동 압축 저장으로 토큰 절약
|
|
||||||
- I18n: English, 简体中文, 繁体中文, 日本語, Français, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština, 한국어, Indonesia
|
|
||||||
|
|
||||||
<div align="center">
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## 개발 로드맵
|
|
||||||
|
|
||||||
- [x] 시스템 프롬프트: 사용자가 정의한 프롬프트를 시스템 프롬프트로 고정하기 [#138](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/138)
|
|
||||||
- [x] 사용자 프롬프트: 사용자 정의 프롬프트를 편집 및 저장하여 리스트로 관리 가능
|
|
||||||
- [x] 프롬프트 템플릿: 사전 정의된 인컨텍스트 프롬프트로 새 채팅 생성 [#993](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/993)
|
|
||||||
- [x] 이미지로 공유하거나 ShareGPT로 공유 [#1741](https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1741)
|
|
||||||
- [x] Tauri 기반 데스크톱 앱
|
|
||||||
- [x] 자체 모델 호스팅: [RWKV-Runner](https://github.com/josStorer/RWKV-Runner), [LocalAI](https://github.com/go-skynet/LocalAI) 등 서버 배포 모델들과 완벽 호환 (llama, gpt4all, rwkv, vicuna, koala, gpt4all-j, cerebras, falcon, dolly 등)
|
|
||||||
- [x] 아티팩트: 생성된 콘텐츠 및 웹페이지를 별도 창으로 미리보기, 복사, 공유 가능 [#5092](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/5092)
|
|
||||||
- [x] 플러그인: 웹 검색, 계산기, 기타 외부 API 기능 지원 [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) [#5353](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5353)
|
|
||||||
- [x] 실시간 채팅 지원 [#5672](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5672)
|
|
||||||
- [ ] 로컬 지식 베이스 지원 예정
|
|
||||||
|
|
||||||
## 🚀 최근 업데이트
|
|
||||||
|
|
||||||
- 🚀 v2.15.8 실시간 채팅 지원 [#5672](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5672)
|
|
||||||
- 🚀 v2.15.4 Tauri 기반 LLM API 호출 기능 추가 → 보안 강화 [#5379](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5379)
|
|
||||||
- 🚀 v2.15.0 플러그인 기능 추가 → [NextChat-Awesome-Plugins](https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins)
|
|
||||||
- 🚀 v2.14.0 아티팩트 및 Stable Diffusion 기능 추가
|
|
||||||
- 🚀 v2.10.1 Google Gemini Pro 모델 지원
|
|
||||||
- 🚀 v2.9.11 Azure Endpoint 사용 가능
|
|
||||||
- 🚀 v2.8 모든 플랫폼에서 실행 가능한 클라이언트 출시
|
|
||||||
- 🚀 v2.7 대화 내용을 이미지로, 또는 ShareGPT로 공유 가능
|
|
||||||
- 🚀 v2.0 릴리즈: 프롬프트 템플릿 생성 및 아이디어 구현 가능! → [ChatGPT Prompt Engineering Tips](https://www.allabtai.com/prompt-engineering-tips-zero-one-and-few-shot-prompting/)
|
|
||||||
|
|
||||||
## 시작하기
|
|
||||||
|
|
||||||
1. [OpenAI API 키](https://platform.openai.com/account/api-keys)를 발급받습니다.
|
|
||||||
2.
|
|
||||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web) 버튼을 클릭해 Vercel에 배포합니다. `CODE`는 페이지 비밀번호라는 점을 기억하세요.
|
|
||||||
|
|
||||||
3. Enjoy :)
|
|
||||||
|
|
||||||
## FAQ
|
|
||||||
|
|
||||||
[FAQ](./docs/faq-ko.md)
|
|
||||||
|
|
||||||
## 최신 상태 유지 (Keep Updated)
|
|
||||||
|
|
||||||
Vercel로 배포한 경우, "Updates Available" 메시지가 계속 나타날 수 있습니다. 이는 프로젝트를 포크하지 않고 새로 생성했기 때문입니다.
|
|
||||||
|
|
||||||
다음 절차에 따라 다시 배포를 권장합니다:
|
|
||||||
|
|
||||||
1. 기존 레포 삭제
|
|
||||||
2. 우측 상단 "Fork" 버튼 클릭 → 포크 생성
|
|
||||||
3. 포크된 프로젝트를 다시 Vercel에 배포
|
|
||||||
→ [자세한 튜토리얼 보기](./docs/vercel-ko.md)
|
|
||||||
|
|
||||||
### 자동 업데이트 활성화 (Enable Automatic Updates)
|
|
||||||
|
|
||||||
> Upstream Sync 오류 발생 시, [수동으로 코드 업데이트](./README_KO.md#manually-updating-code)하세요.
|
|
||||||
|
|
||||||
프로젝트 포크 후에는 GitHub의 제약으로 인해 Actions 페이지에서 아래 항목들을 수동으로 활성화해야 합니다:
|
|
||||||
|
|
||||||
- `Workflows`
|
|
||||||
- `Upstream Sync Action`
|
|
||||||
|
|
||||||
이후 매 시간 자동으로 업데이트됩니다:
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
### 수동 업데이트 방법 (Manually Updating Code)
|
|
||||||
|
|
||||||
즉시 업데이트가 필요한 경우, [깃헙 문서](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)를 참고해 포크된 프로젝트를 upstream code와 동기화하세요.
|
|
||||||
|
|
||||||
릴리스 알림을 원하시면 star 또는 watch를 눌러주세요.
|
|
||||||
|
|
||||||
## 접근 비밀번호 설정 (Access Password)
|
|
||||||
|
|
||||||
이 프로젝트는 제한된 접근 제어를 제공합니다.
|
|
||||||
Vercel 환경 변수에 `CODE`를 다음 형식으로 추가하세요. value는 ,를 통해 구분된 비밀번호여야 합니다.:
|
|
||||||
|
|
||||||
```
|
|
||||||
code1,code2,code3
|
|
||||||
```
|
|
||||||
|
|
||||||
수정 후 반드시 다시 배포해야 적용됩니다.
|
|
||||||
|
|
||||||
## 환경 변수 (Environment Variables)
|
|
||||||
|
|
||||||
### `CODE` (선택 사항)
|
|
||||||
|
|
||||||
접속 비밀번호. 쉼표로 구분합니다.
|
|
||||||
|
|
||||||
### `OPENAI_API_KEY` (필수)
|
|
||||||
|
|
||||||
당신의 OpenAI API 키, 여러 개를 사용하려면 쉼표로 연결합니다.
|
|
||||||
|
|
||||||
### `BASE_URL` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: `https://api.openai.com`
|
|
||||||
|
|
||||||
> 예시: `http://your-openai-proxy.com`
|
|
||||||
|
|
||||||
OpenAI API 요청의 기본 URL을 재정의합니다.
|
|
||||||
|
|
||||||
### `OPENAI_ORG_ID` (선택 사항)
|
|
||||||
|
|
||||||
OpenAI organization ID를 지정합니다.
|
|
||||||
|
|
||||||
### `AZURE_URL` (선택 사항)
|
|
||||||
|
|
||||||
> 예시: https://{azure-resource-url}/openai
|
|
||||||
|
|
||||||
Azure 배포 URL입니다.
|
|
||||||
|
|
||||||
### `AZURE_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Azure API 키입니다.
|
|
||||||
|
|
||||||
### `AZURE_API_VERSION` (선택 사항)
|
|
||||||
|
|
||||||
Azure API 버전입니다. [Azure 문서](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)에서 확인할 수 있습니다.
|
|
||||||
|
|
||||||
### `GOOGLE_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Google Gemini Pro API 키입니다.
|
|
||||||
|
|
||||||
### `GOOGLE_URL` (선택 사항)
|
|
||||||
|
|
||||||
Google Gemini Pro API URL입니다.
|
|
||||||
|
|
||||||
### `ANTHROPIC_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Anthropic Claude API 키입니다.
|
|
||||||
|
|
||||||
### `ANTHROPIC_API_VERSION` (선택 사항)
|
|
||||||
|
|
||||||
Anthropic Claude API 버전입니다.
|
|
||||||
|
|
||||||
### `ANTHROPIC_URL` (선택 사항)
|
|
||||||
|
|
||||||
Anthropic Claude API URL입니다.
|
|
||||||
|
|
||||||
### `BAIDU_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Baidu API 키입니다.
|
|
||||||
|
|
||||||
### `BAIDU_SECRET_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Baidu Secret 키입니다.
|
|
||||||
|
|
||||||
### `BAIDU_URL` (선택 사항)
|
|
||||||
|
|
||||||
Baidu API URL입니다.
|
|
||||||
|
|
||||||
### `BYTEDANCE_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
ByteDance API 키입니다.
|
|
||||||
|
|
||||||
### `BYTEDANCE_URL` (선택 사항)
|
|
||||||
|
|
||||||
ByteDance API URL입니다.
|
|
||||||
|
|
||||||
### `ALIBABA_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Alibaba Cloud API 키입니다.
|
|
||||||
|
|
||||||
### `ALIBABA_URL` (선택 사항)
|
|
||||||
|
|
||||||
Alibaba Cloud API URL입니다.
|
|
||||||
|
|
||||||
### `IFLYTEK_URL` (선택 사항)
|
|
||||||
|
|
||||||
iflytek API URL입니다.
|
|
||||||
|
|
||||||
### `IFLYTEK_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
iflytek API 키입니다.
|
|
||||||
|
|
||||||
### `IFLYTEK_API_SECRET` (선택 사항)
|
|
||||||
|
|
||||||
iflytek API 시크릿입니다.
|
|
||||||
|
|
||||||
### `CHATGLM_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
ChatGLM API 키입니다.
|
|
||||||
|
|
||||||
### `CHATGLM_URL` (선택 사항)
|
|
||||||
|
|
||||||
ChatGLM API URL입니다.
|
|
||||||
|
|
||||||
### `DEEPSEEK_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
DeepSeek API 키입니다.
|
|
||||||
|
|
||||||
### `DEEPSEEK_URL` (선택 사항)
|
|
||||||
|
|
||||||
DeepSeek API URL입니다.
|
|
||||||
|
|
||||||
### `HIDE_USER_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: 비어 있음
|
|
||||||
|
|
||||||
사용자가 자신의 API 키를 입력하지 못하게 하려면 이 값을 1로 설정하세요.
|
|
||||||
|
|
||||||
### `DISABLE_GPT4` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: 비어 있음
|
|
||||||
|
|
||||||
사용자가 GPT-4를 사용하지 못하게 하려면 이 값을 1로 설정하세요.
|
|
||||||
|
|
||||||
### `ENABLE_BALANCE_QUERY` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: 비어 있음
|
|
||||||
|
|
||||||
사용자가 쿼리 잔액을 조회할 수 있도록 하려면 이 값을 1로 설정하세요.
|
|
||||||
|
|
||||||
### `DISABLE_FAST_LINK` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: 비어 있음
|
|
||||||
|
|
||||||
URL에서 설정을 파싱하는 기능을 비활성화하려면 이 값을 1로 설정하세요.
|
|
||||||
|
|
||||||
### `CUSTOM_MODELS` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: 비어 있음
|
|
||||||
> 예시: `+llama,+claude-2,-gpt-3.5-turbo,gpt-4-1106-preview=gpt-4-turbo`
|
|
||||||
이는 `llama`, `claude-2`를 모델 리스트에 추가하고, `gpt-3.5-turbo`를 제거하며, `gpt-4-1106-preview`를 `gpt-4-turbo`로 표시합니다.
|
|
||||||
|
|
||||||
사용자 지정 모델 제어 시 `+`는 추가, `-`는 제거, `이름=표시이름`은 모델명 커스터마이징을 의미합니다. 쉼표로 구분하세요.
|
|
||||||
|
|
||||||
- `-all`은 기본 모델을 모두 비활성화
|
|
||||||
- `+all`은 기본 모델을 모두 활성화
|
|
||||||
|
|
||||||
Azure 용법 예시: `modelName@Azure=deploymentName` → 배포 이름을 커스터마이징 가능
|
|
||||||
> 예시: `+gpt-3.5-turbo@Azure=gpt35` → 리스트에 `gpt35(Azure)` 표시됨
|
|
||||||
> Azure 모델만 사용할 경우: `-all,+gpt-3.5-turbo@Azure=gpt35`
|
|
||||||
|
|
||||||
ByteDance 용법 예시: `modelName@bytedance=deploymentName`
|
|
||||||
> 예시: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx` → `Doubao-lite-4k(ByteDance)`로 표시됨
|
|
||||||
|
|
||||||
### `DEFAULT_MODEL` (선택 사항)
|
|
||||||
|
|
||||||
기본 모델을 변경합니다.
|
|
||||||
|
|
||||||
### `VISION_MODELS` (선택 사항)
|
|
||||||
|
|
||||||
> 기본값: 비어 있음
|
|
||||||
> 예시: `gpt-4-vision,claude-3-opus,my-custom-model`
|
|
||||||
위의 모델들에 시각 기능을 부여합니다 (기본적으로 `"vision"`, `"claude-3"`, `"gemini-1.5"` 키워드를 포함한 모델은 자동 인식됨). 기본 모델 외에도 모델을 추가할 수 있습니다. 쉼표로 구분하세요.
|
|
||||||
|
|
||||||
### `WHITE_WEBDAV_ENDPOINTS` (선택 사항)
|
|
||||||
|
|
||||||
접속 허용할 WebDAV 서비스 주소를 늘리고자 할 때 사용합니다.
|
|
||||||
|
|
||||||
- 각 주소는 완전한 endpoint 여야 함: `https://xxxx/yyy`
|
|
||||||
- 여러 주소는 `,`로 구분
|
|
||||||
|
|
||||||
### `DEFAULT_INPUT_TEMPLATE` (선택 사항)
|
|
||||||
|
|
||||||
설정 메뉴의 사용자 입력 전처리 구성 항목 초기화 시 사용할 기본 템플릿을 설정합니다.
|
|
||||||
|
|
||||||
### `STABILITY_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
Stability API 키입니다.
|
|
||||||
|
|
||||||
### `STABILITY_URL` (선택 사항)
|
|
||||||
|
|
||||||
Stability API URL을 커스터마이징합니다.
|
|
||||||
|
|
||||||
### `ENABLE_MCP` (선택 사항)
|
|
||||||
|
|
||||||
MCP (Model Context Protocol) 기능을 활성화합니다.
|
|
||||||
|
|
||||||
### `SILICONFLOW_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
SiliconFlow API 키입니다.
|
|
||||||
|
|
||||||
### `SILICONFLOW_URL` (선택 사항)
|
|
||||||
|
|
||||||
SiliconFlow API URL입니다.
|
|
||||||
|
|
||||||
### `AI302_API_KEY` (선택 사항)
|
|
||||||
|
|
||||||
302.AI API 키입니다.
|
|
||||||
|
|
||||||
### `AI302_URL` (선택 사항)
|
|
||||||
|
|
||||||
302.AI API URL입니다.
|
|
||||||
|
|
||||||
## 요구 사항 (Requirements)
|
|
||||||
|
|
||||||
NodeJS >= 18, Docker >= 20
|
|
||||||
|
|
||||||
## 개발 (Development)
|
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
|
||||||
|
|
||||||
개발을 시작하기 전에 프로젝트 루트에 `.env.local` 파일을 만들고, 아래와 같이 API 키를 입력하세요:
|
|
||||||
|
|
||||||
```
|
|
||||||
OPENAI_API_KEY=<여기에 API 키 입력>
|
|
||||||
|
|
||||||
# OpenAI 서비스를 사용할 수 없는 경우 아래 BASE_URL 사용
|
|
||||||
BASE_URL=https://chatgpt1.nextweb.fun/api/proxy
|
|
||||||
```
|
|
||||||
|
|
||||||
### 로컬 개발 실행
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# 1. Node.js와 Yarn을 먼저 설치
|
|
||||||
# 2. `.env.local` 파일에 환경 변수 설정
|
|
||||||
# 3. 실행
|
|
||||||
yarn install
|
|
||||||
yarn dev
|
|
||||||
```
|
|
||||||
|
|
||||||
## 배포 (Deployment)
|
|
||||||
|
|
||||||
### Docker (권장)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
docker pull yidadaa/chatgpt-next-web
|
|
||||||
|
|
||||||
docker run -d -p 3000:3000 \
|
|
||||||
-e OPENAI_API_KEY=sk-xxxx \
|
|
||||||
-e CODE=your-password \
|
|
||||||
yidadaa/chatgpt-next-web
|
|
||||||
```
|
|
||||||
|
|
||||||
서비스에 프록시를 사용하려면:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
docker run -d -p 3000:3000 \
|
|
||||||
-e OPENAI_API_KEY=sk-xxxx \
|
|
||||||
-e CODE=your-password \
|
|
||||||
-e PROXY_URL=http://localhost:7890 \
|
|
||||||
yidadaa/chatgpt-next-web
|
|
||||||
```
|
|
||||||
|
|
||||||
프록시에 인증이 필요한 경우:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
-e PROXY_URL="http://127.0.0.1:7890 user pass"
|
|
||||||
```
|
|
||||||
|
|
||||||
MCP를 활성화하려면:
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run -d -p 3000:3000 \
|
|
||||||
-e OPENAI_API_KEY=sk-xxxx \
|
|
||||||
-e CODE=your-password \
|
|
||||||
-e ENABLE_MCP=true \
|
|
||||||
yidadaa/chatgpt-next-web
|
|
||||||
```
|
|
||||||
|
|
||||||
### 로컬 배포
|
|
||||||
|
|
||||||
콘솔에서 다음 명령을 실행하세요.
|
|
||||||
|
|
||||||
```shell
|
|
||||||
bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
|
|
||||||
```
|
|
||||||
|
|
||||||
⚠️ 참고: 설치 중에 문제가 발생하면 Docker 배포를 사용하세요.
|
|
||||||
|
|
||||||
## 채팅 기록 동기화 (UpStash)
|
|
||||||
|
|
||||||
| [简体中文](./docs/synchronise-chat-logs-cn.md) | [English](./docs/synchronise-chat-logs-en.md) | [Italiano](./docs/synchronise-chat-logs-es.md) | [日本語](./docs/synchronise-chat-logs-ja.md) | [한국어](./docs/synchronise-chat-logs-ko.md)
|
|
||||||
|
|
||||||
## 문서 (Documentation)
|
|
||||||
|
|
||||||
> 더 많은 문서는 [docs](./docs) 디렉토리를 참고하세요.
|
|
||||||
|
|
||||||
- [Cloudflare 배포 가이드 (폐기됨)](./docs/cloudflare-pages-ko.md)
|
|
||||||
- [자주 묻는 질문](./docs/faq-ko.md)
|
|
||||||
- [새 번역 추가 방법](./docs/translation.md)
|
|
||||||
- [Vercel 사용법 (중문)](./docs/vercel-cn.md)
|
|
||||||
- [사용자 매뉴얼 (중문, 작성 중)](./docs/user-manual-cn.md)
|
|
||||||
|
|
||||||
## 번역 (Translation)
|
|
||||||
|
|
||||||
새로운 번역을 추가하고 싶다면, [이 문서](./docs/translation.md)를 읽어보세요.
|
|
||||||
|
|
||||||
## 후원 (Donation)
|
|
||||||
|
|
||||||
[Buy Me a Coffee](https://www.buymeacoffee.com/yidadaa)
|
|
||||||
|
|
||||||
## 특별 감사 (Special Thanks)
|
|
||||||
|
|
||||||
### 기여자 (Contributors)
|
|
||||||
|
|
||||||
<a href="https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/graphs/contributors">
|
|
||||||
<img src="https://contrib.rocks/image?repo=ChatGPTNextWeb/ChatGPT-Next-Web" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
## 라이선스 (LICENSE)
|
|
||||||
|
|
||||||
[MIT](https://opensource.org/license/mit/)
|
|
||||||
128
app/api/302ai.ts
128
app/api/302ai.ts
@@ -1,128 +0,0 @@
|
|||||||
import { getServerSideConfig } from "@/app/config/server";
|
|
||||||
import {
|
|
||||||
AI302_BASE_URL,
|
|
||||||
ApiPath,
|
|
||||||
ModelProvider,
|
|
||||||
ServiceProvider,
|
|
||||||
} from "@/app/constant";
|
|
||||||
import { prettyObject } from "@/app/utils/format";
|
|
||||||
import { NextRequest, NextResponse } from "next/server";
|
|
||||||
import { auth } from "@/app/api/auth";
|
|
||||||
import { isModelNotavailableInServer } from "@/app/utils/model";
|
|
||||||
|
|
||||||
const serverConfig = getServerSideConfig();
|
|
||||||
|
|
||||||
export async function handle(
|
|
||||||
req: NextRequest,
|
|
||||||
{ params }: { params: { path: string[] } },
|
|
||||||
) {
|
|
||||||
console.log("[302.AI Route] params ", params);
|
|
||||||
|
|
||||||
if (req.method === "OPTIONS") {
|
|
||||||
return NextResponse.json({ body: "OK" }, { status: 200 });
|
|
||||||
}
|
|
||||||
|
|
||||||
const authResult = auth(req, ModelProvider["302.AI"]);
|
|
||||||
if (authResult.error) {
|
|
||||||
return NextResponse.json(authResult, {
|
|
||||||
status: 401,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
const response = await request(req);
|
|
||||||
return response;
|
|
||||||
} catch (e) {
|
|
||||||
console.error("[302.AI] ", e);
|
|
||||||
return NextResponse.json(prettyObject(e));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function request(req: NextRequest) {
|
|
||||||
const controller = new AbortController();
|
|
||||||
|
|
||||||
// alibaba use base url or just remove the path
|
|
||||||
let path = `${req.nextUrl.pathname}`.replaceAll(ApiPath["302.AI"], "");
|
|
||||||
|
|
||||||
let baseUrl = serverConfig.ai302Url || AI302_BASE_URL;
|
|
||||||
|
|
||||||
if (!baseUrl.startsWith("http")) {
|
|
||||||
baseUrl = `https://${baseUrl}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (baseUrl.endsWith("/")) {
|
|
||||||
baseUrl = baseUrl.slice(0, -1);
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log("[Proxy] ", path);
|
|
||||||
console.log("[Base Url]", baseUrl);
|
|
||||||
|
|
||||||
const timeoutId = setTimeout(
|
|
||||||
() => {
|
|
||||||
controller.abort();
|
|
||||||
},
|
|
||||||
10 * 60 * 1000,
|
|
||||||
);
|
|
||||||
|
|
||||||
const fetchUrl = `${baseUrl}${path}`;
|
|
||||||
const fetchOptions: RequestInit = {
|
|
||||||
headers: {
|
|
||||||
"Content-Type": "application/json",
|
|
||||||
Authorization: req.headers.get("Authorization") ?? "",
|
|
||||||
},
|
|
||||||
method: req.method,
|
|
||||||
body: req.body,
|
|
||||||
redirect: "manual",
|
|
||||||
// @ts-ignore
|
|
||||||
duplex: "half",
|
|
||||||
signal: controller.signal,
|
|
||||||
};
|
|
||||||
|
|
||||||
// #1815 try to refuse some request to some models
|
|
||||||
if (serverConfig.customModels && req.body) {
|
|
||||||
try {
|
|
||||||
const clonedBody = await req.text();
|
|
||||||
fetchOptions.body = clonedBody;
|
|
||||||
|
|
||||||
const jsonBody = JSON.parse(clonedBody) as { model?: string };
|
|
||||||
|
|
||||||
// not undefined and is false
|
|
||||||
if (
|
|
||||||
isModelNotavailableInServer(
|
|
||||||
serverConfig.customModels,
|
|
||||||
jsonBody?.model as string,
|
|
||||||
ServiceProvider["302.AI"] as string,
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
return NextResponse.json(
|
|
||||||
{
|
|
||||||
error: true,
|
|
||||||
message: `you are not allowed to use ${jsonBody?.model} model`,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
status: 403,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
}
|
|
||||||
} catch (e) {
|
|
||||||
console.error(`[302.AI] filter`, e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
const res = await fetch(fetchUrl, fetchOptions);
|
|
||||||
|
|
||||||
// to prevent browser prompt for credentials
|
|
||||||
const newHeaders = new Headers(res.headers);
|
|
||||||
newHeaders.delete("www-authenticate");
|
|
||||||
// to disable nginx buffering
|
|
||||||
newHeaders.set("X-Accel-Buffering", "no");
|
|
||||||
|
|
||||||
return new Response(res.body, {
|
|
||||||
status: res.status,
|
|
||||||
statusText: res.statusText,
|
|
||||||
headers: newHeaders,
|
|
||||||
});
|
|
||||||
} finally {
|
|
||||||
clearTimeout(timeoutId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -15,7 +15,6 @@ import { handle as siliconflowHandler } from "../../siliconflow";
|
|||||||
import { handle as xaiHandler } from "../../xai";
|
import { handle as xaiHandler } from "../../xai";
|
||||||
import { handle as chatglmHandler } from "../../glm";
|
import { handle as chatglmHandler } from "../../glm";
|
||||||
import { handle as proxyHandler } from "../../proxy";
|
import { handle as proxyHandler } from "../../proxy";
|
||||||
import { handle as ai302Handler } from "../../302ai";
|
|
||||||
|
|
||||||
async function handle(
|
async function handle(
|
||||||
req: NextRequest,
|
req: NextRequest,
|
||||||
@@ -53,8 +52,6 @@ async function handle(
|
|||||||
return siliconflowHandler(req, { params });
|
return siliconflowHandler(req, { params });
|
||||||
case ApiPath.OpenAI:
|
case ApiPath.OpenAI:
|
||||||
return openaiHandler(req, { params });
|
return openaiHandler(req, { params });
|
||||||
case ApiPath["302.AI"]:
|
|
||||||
return ai302Handler(req, { params });
|
|
||||||
default:
|
default:
|
||||||
return proxyHandler(req, { params });
|
return proxyHandler(req, { params });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ import { DeepSeekApi } from "./platforms/deepseek";
|
|||||||
import { XAIApi } from "./platforms/xai";
|
import { XAIApi } from "./platforms/xai";
|
||||||
import { ChatGLMApi } from "./platforms/glm";
|
import { ChatGLMApi } from "./platforms/glm";
|
||||||
import { SiliconflowApi } from "./platforms/siliconflow";
|
import { SiliconflowApi } from "./platforms/siliconflow";
|
||||||
import { Ai302Api } from "./platforms/ai302";
|
|
||||||
|
|
||||||
export const ROLES = ["system", "user", "assistant"] as const;
|
export const ROLES = ["system", "user", "assistant"] as const;
|
||||||
export type MessageRole = (typeof ROLES)[number];
|
export type MessageRole = (typeof ROLES)[number];
|
||||||
@@ -41,11 +40,6 @@ export interface MultimodalContent {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface MultimodalContentForAlibaba {
|
|
||||||
text?: string;
|
|
||||||
image?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface RequestMessage {
|
export interface RequestMessage {
|
||||||
role: MessageRole;
|
role: MessageRole;
|
||||||
content: string | MultimodalContent[];
|
content: string | MultimodalContent[];
|
||||||
@@ -174,9 +168,6 @@ export class ClientApi {
|
|||||||
case ModelProvider.SiliconFlow:
|
case ModelProvider.SiliconFlow:
|
||||||
this.llm = new SiliconflowApi();
|
this.llm = new SiliconflowApi();
|
||||||
break;
|
break;
|
||||||
case ModelProvider["302.AI"]:
|
|
||||||
this.llm = new Ai302Api();
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
this.llm = new ChatGPTApi();
|
this.llm = new ChatGPTApi();
|
||||||
}
|
}
|
||||||
@@ -269,7 +260,6 @@ export function getHeaders(ignoreHeaders: boolean = false) {
|
|||||||
const isChatGLM = modelConfig.providerName === ServiceProvider.ChatGLM;
|
const isChatGLM = modelConfig.providerName === ServiceProvider.ChatGLM;
|
||||||
const isSiliconFlow =
|
const isSiliconFlow =
|
||||||
modelConfig.providerName === ServiceProvider.SiliconFlow;
|
modelConfig.providerName === ServiceProvider.SiliconFlow;
|
||||||
const isAI302 = modelConfig.providerName === ServiceProvider["302.AI"];
|
|
||||||
const isEnabledAccessControl = accessStore.enabledAccessControl();
|
const isEnabledAccessControl = accessStore.enabledAccessControl();
|
||||||
const apiKey = isGoogle
|
const apiKey = isGoogle
|
||||||
? accessStore.googleApiKey
|
? accessStore.googleApiKey
|
||||||
@@ -295,8 +285,6 @@ export function getHeaders(ignoreHeaders: boolean = false) {
|
|||||||
? accessStore.iflytekApiKey && accessStore.iflytekApiSecret
|
? accessStore.iflytekApiKey && accessStore.iflytekApiSecret
|
||||||
? accessStore.iflytekApiKey + ":" + accessStore.iflytekApiSecret
|
? accessStore.iflytekApiKey + ":" + accessStore.iflytekApiSecret
|
||||||
: ""
|
: ""
|
||||||
: isAI302
|
|
||||||
? accessStore.ai302ApiKey
|
|
||||||
: accessStore.openaiApiKey;
|
: accessStore.openaiApiKey;
|
||||||
return {
|
return {
|
||||||
isGoogle,
|
isGoogle,
|
||||||
@@ -311,7 +299,6 @@ export function getHeaders(ignoreHeaders: boolean = false) {
|
|||||||
isXAI,
|
isXAI,
|
||||||
isChatGLM,
|
isChatGLM,
|
||||||
isSiliconFlow,
|
isSiliconFlow,
|
||||||
isAI302,
|
|
||||||
apiKey,
|
apiKey,
|
||||||
isEnabledAccessControl,
|
isEnabledAccessControl,
|
||||||
};
|
};
|
||||||
@@ -340,7 +327,6 @@ export function getHeaders(ignoreHeaders: boolean = false) {
|
|||||||
isXAI,
|
isXAI,
|
||||||
isChatGLM,
|
isChatGLM,
|
||||||
isSiliconFlow,
|
isSiliconFlow,
|
||||||
isAI302,
|
|
||||||
apiKey,
|
apiKey,
|
||||||
isEnabledAccessControl,
|
isEnabledAccessControl,
|
||||||
} = getConfig();
|
} = getConfig();
|
||||||
@@ -391,8 +377,6 @@ export function getClientApi(provider: ServiceProvider): ClientApi {
|
|||||||
return new ClientApi(ModelProvider.ChatGLM);
|
return new ClientApi(ModelProvider.ChatGLM);
|
||||||
case ServiceProvider.SiliconFlow:
|
case ServiceProvider.SiliconFlow:
|
||||||
return new ClientApi(ModelProvider.SiliconFlow);
|
return new ClientApi(ModelProvider.SiliconFlow);
|
||||||
case ServiceProvider["302.AI"]:
|
|
||||||
return new ClientApi(ModelProvider["302.AI"]);
|
|
||||||
default:
|
default:
|
||||||
return new ClientApi(ModelProvider.GPT);
|
return new ClientApi(ModelProvider.GPT);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,287 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import {
|
|
||||||
ApiPath,
|
|
||||||
AI302_BASE_URL,
|
|
||||||
DEFAULT_MODELS,
|
|
||||||
AI302,
|
|
||||||
} from "@/app/constant";
|
|
||||||
import {
|
|
||||||
useAccessStore,
|
|
||||||
useAppConfig,
|
|
||||||
useChatStore,
|
|
||||||
ChatMessageTool,
|
|
||||||
usePluginStore,
|
|
||||||
} from "@/app/store";
|
|
||||||
import { preProcessImageContent, streamWithThink } from "@/app/utils/chat";
|
|
||||||
import {
|
|
||||||
ChatOptions,
|
|
||||||
getHeaders,
|
|
||||||
LLMApi,
|
|
||||||
LLMModel,
|
|
||||||
SpeechOptions,
|
|
||||||
} from "../api";
|
|
||||||
import { getClientConfig } from "@/app/config/client";
|
|
||||||
import {
|
|
||||||
getMessageTextContent,
|
|
||||||
getMessageTextContentWithoutThinking,
|
|
||||||
isVisionModel,
|
|
||||||
getTimeoutMSByModel,
|
|
||||||
} from "@/app/utils";
|
|
||||||
import { RequestPayload } from "./openai";
|
|
||||||
|
|
||||||
import { fetch } from "@/app/utils/stream";
|
|
||||||
export interface Ai302ListModelResponse {
|
|
||||||
object: string;
|
|
||||||
data: Array<{
|
|
||||||
id: string;
|
|
||||||
object: string;
|
|
||||||
root: string;
|
|
||||||
}>;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Ai302Api implements LLMApi {
|
|
||||||
private disableListModels = false;
|
|
||||||
|
|
||||||
path(path: string): string {
|
|
||||||
const accessStore = useAccessStore.getState();
|
|
||||||
|
|
||||||
let baseUrl = "";
|
|
||||||
|
|
||||||
if (accessStore.useCustomConfig) {
|
|
||||||
baseUrl = accessStore.ai302Url;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (baseUrl.length === 0) {
|
|
||||||
const isApp = !!getClientConfig()?.isApp;
|
|
||||||
const apiPath = ApiPath["302.AI"];
|
|
||||||
baseUrl = isApp ? AI302_BASE_URL : apiPath;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (baseUrl.endsWith("/")) {
|
|
||||||
baseUrl = baseUrl.slice(0, baseUrl.length - 1);
|
|
||||||
}
|
|
||||||
if (
|
|
||||||
!baseUrl.startsWith("http") &&
|
|
||||||
!baseUrl.startsWith(ApiPath["302.AI"])
|
|
||||||
) {
|
|
||||||
baseUrl = "https://" + baseUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log("[Proxy Endpoint] ", baseUrl, path);
|
|
||||||
|
|
||||||
return [baseUrl, path].join("/");
|
|
||||||
}
|
|
||||||
|
|
||||||
extractMessage(res: any) {
|
|
||||||
return res.choices?.at(0)?.message?.content ?? "";
|
|
||||||
}
|
|
||||||
|
|
||||||
speech(options: SpeechOptions): Promise<ArrayBuffer> {
|
|
||||||
throw new Error("Method not implemented.");
|
|
||||||
}
|
|
||||||
|
|
||||||
async chat(options: ChatOptions) {
|
|
||||||
const visionModel = isVisionModel(options.config.model);
|
|
||||||
const messages: ChatOptions["messages"] = [];
|
|
||||||
for (const v of options.messages) {
|
|
||||||
if (v.role === "assistant") {
|
|
||||||
const content = getMessageTextContentWithoutThinking(v);
|
|
||||||
messages.push({ role: v.role, content });
|
|
||||||
} else {
|
|
||||||
const content = visionModel
|
|
||||||
? await preProcessImageContent(v.content)
|
|
||||||
: getMessageTextContent(v);
|
|
||||||
messages.push({ role: v.role, content });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const modelConfig = {
|
|
||||||
...useAppConfig.getState().modelConfig,
|
|
||||||
...useChatStore.getState().currentSession().mask.modelConfig,
|
|
||||||
...{
|
|
||||||
model: options.config.model,
|
|
||||||
providerName: options.config.providerName,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
const requestPayload: RequestPayload = {
|
|
||||||
messages,
|
|
||||||
stream: options.config.stream,
|
|
||||||
model: modelConfig.model,
|
|
||||||
temperature: modelConfig.temperature,
|
|
||||||
presence_penalty: modelConfig.presence_penalty,
|
|
||||||
frequency_penalty: modelConfig.frequency_penalty,
|
|
||||||
top_p: modelConfig.top_p,
|
|
||||||
// max_tokens: Math.max(modelConfig.max_tokens, 1024),
|
|
||||||
// Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore.
|
|
||||||
};
|
|
||||||
|
|
||||||
console.log("[Request] openai payload: ", requestPayload);
|
|
||||||
|
|
||||||
const shouldStream = !!options.config.stream;
|
|
||||||
const controller = new AbortController();
|
|
||||||
options.onController?.(controller);
|
|
||||||
|
|
||||||
try {
|
|
||||||
const chatPath = this.path(AI302.ChatPath);
|
|
||||||
const chatPayload = {
|
|
||||||
method: "POST",
|
|
||||||
body: JSON.stringify(requestPayload),
|
|
||||||
signal: controller.signal,
|
|
||||||
headers: getHeaders(),
|
|
||||||
};
|
|
||||||
|
|
||||||
// console.log(chatPayload);
|
|
||||||
|
|
||||||
// Use extended timeout for thinking models as they typically require more processing time
|
|
||||||
const requestTimeoutId = setTimeout(
|
|
||||||
() => controller.abort(),
|
|
||||||
getTimeoutMSByModel(options.config.model),
|
|
||||||
);
|
|
||||||
|
|
||||||
if (shouldStream) {
|
|
||||||
const [tools, funcs] = usePluginStore
|
|
||||||
.getState()
|
|
||||||
.getAsTools(
|
|
||||||
useChatStore.getState().currentSession().mask?.plugin || [],
|
|
||||||
);
|
|
||||||
return streamWithThink(
|
|
||||||
chatPath,
|
|
||||||
requestPayload,
|
|
||||||
getHeaders(),
|
|
||||||
tools as any,
|
|
||||||
funcs,
|
|
||||||
controller,
|
|
||||||
// parseSSE
|
|
||||||
(text: string, runTools: ChatMessageTool[]) => {
|
|
||||||
// console.log("parseSSE", text, runTools);
|
|
||||||
const json = JSON.parse(text);
|
|
||||||
const choices = json.choices as Array<{
|
|
||||||
delta: {
|
|
||||||
content: string | null;
|
|
||||||
tool_calls: ChatMessageTool[];
|
|
||||||
reasoning_content: string | null;
|
|
||||||
};
|
|
||||||
}>;
|
|
||||||
const tool_calls = choices[0]?.delta?.tool_calls;
|
|
||||||
if (tool_calls?.length > 0) {
|
|
||||||
const index = tool_calls[0]?.index;
|
|
||||||
const id = tool_calls[0]?.id;
|
|
||||||
const args = tool_calls[0]?.function?.arguments;
|
|
||||||
if (id) {
|
|
||||||
runTools.push({
|
|
||||||
id,
|
|
||||||
type: tool_calls[0]?.type,
|
|
||||||
function: {
|
|
||||||
name: tool_calls[0]?.function?.name as string,
|
|
||||||
arguments: args,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
// @ts-ignore
|
|
||||||
runTools[index]["function"]["arguments"] += args;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const reasoning = choices[0]?.delta?.reasoning_content;
|
|
||||||
const content = choices[0]?.delta?.content;
|
|
||||||
|
|
||||||
// Skip if both content and reasoning_content are empty or null
|
|
||||||
if (
|
|
||||||
(!reasoning || reasoning.length === 0) &&
|
|
||||||
(!content || content.length === 0)
|
|
||||||
) {
|
|
||||||
return {
|
|
||||||
isThinking: false,
|
|
||||||
content: "",
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
if (reasoning && reasoning.length > 0) {
|
|
||||||
return {
|
|
||||||
isThinking: true,
|
|
||||||
content: reasoning,
|
|
||||||
};
|
|
||||||
} else if (content && content.length > 0) {
|
|
||||||
return {
|
|
||||||
isThinking: false,
|
|
||||||
content: content,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
isThinking: false,
|
|
||||||
content: "",
|
|
||||||
};
|
|
||||||
},
|
|
||||||
// processToolMessage, include tool_calls message and tool call results
|
|
||||||
(
|
|
||||||
requestPayload: RequestPayload,
|
|
||||||
toolCallMessage: any,
|
|
||||||
toolCallResult: any[],
|
|
||||||
) => {
|
|
||||||
// @ts-ignore
|
|
||||||
requestPayload?.messages?.splice(
|
|
||||||
// @ts-ignore
|
|
||||||
requestPayload?.messages?.length,
|
|
||||||
0,
|
|
||||||
toolCallMessage,
|
|
||||||
...toolCallResult,
|
|
||||||
);
|
|
||||||
},
|
|
||||||
options,
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
const res = await fetch(chatPath, chatPayload);
|
|
||||||
clearTimeout(requestTimeoutId);
|
|
||||||
|
|
||||||
const resJson = await res.json();
|
|
||||||
const message = this.extractMessage(resJson);
|
|
||||||
options.onFinish(message, res);
|
|
||||||
}
|
|
||||||
} catch (e) {
|
|
||||||
console.log("[Request] failed to make a chat request", e);
|
|
||||||
options.onError?.(e as Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
async usage() {
|
|
||||||
return {
|
|
||||||
used: 0,
|
|
||||||
total: 0,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
async models(): Promise<LLMModel[]> {
|
|
||||||
if (this.disableListModels) {
|
|
||||||
return DEFAULT_MODELS.slice();
|
|
||||||
}
|
|
||||||
|
|
||||||
const res = await fetch(this.path(AI302.ListModelPath), {
|
|
||||||
method: "GET",
|
|
||||||
headers: {
|
|
||||||
...getHeaders(),
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const resJson = (await res.json()) as Ai302ListModelResponse;
|
|
||||||
const chatModels = resJson.data;
|
|
||||||
console.log("[Models]", chatModels);
|
|
||||||
|
|
||||||
if (!chatModels) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
let seq = 1000; //同 Constant.ts 中的排序保持一致
|
|
||||||
return chatModels.map((m) => ({
|
|
||||||
name: m.id,
|
|
||||||
available: true,
|
|
||||||
sorted: seq++,
|
|
||||||
provider: {
|
|
||||||
id: "ai302",
|
|
||||||
providerName: "302.AI",
|
|
||||||
providerType: "ai302",
|
|
||||||
sorted: 15,
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -7,10 +7,7 @@ import {
|
|||||||
ChatMessageTool,
|
ChatMessageTool,
|
||||||
usePluginStore,
|
usePluginStore,
|
||||||
} from "@/app/store";
|
} from "@/app/store";
|
||||||
import {
|
import { streamWithThink } from "@/app/utils/chat";
|
||||||
preProcessImageContentForAlibabaDashScope,
|
|
||||||
streamWithThink,
|
|
||||||
} from "@/app/utils/chat";
|
|
||||||
import {
|
import {
|
||||||
ChatOptions,
|
ChatOptions,
|
||||||
getHeaders,
|
getHeaders,
|
||||||
@@ -18,14 +15,12 @@ import {
|
|||||||
LLMModel,
|
LLMModel,
|
||||||
SpeechOptions,
|
SpeechOptions,
|
||||||
MultimodalContent,
|
MultimodalContent,
|
||||||
MultimodalContentForAlibaba,
|
|
||||||
} from "../api";
|
} from "../api";
|
||||||
import { getClientConfig } from "@/app/config/client";
|
import { getClientConfig } from "@/app/config/client";
|
||||||
import {
|
import {
|
||||||
getMessageTextContent,
|
getMessageTextContent,
|
||||||
getMessageTextContentWithoutThinking,
|
getMessageTextContentWithoutThinking,
|
||||||
getTimeoutMSByModel,
|
getTimeoutMSByModel,
|
||||||
isVisionModel,
|
|
||||||
} from "@/app/utils";
|
} from "@/app/utils";
|
||||||
import { fetch } from "@/app/utils/stream";
|
import { fetch } from "@/app/utils/stream";
|
||||||
|
|
||||||
@@ -94,6 +89,14 @@ export class QwenApi implements LLMApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async chat(options: ChatOptions) {
|
async chat(options: ChatOptions) {
|
||||||
|
const messages = options.messages.map((v) => ({
|
||||||
|
role: v.role,
|
||||||
|
content:
|
||||||
|
v.role === "assistant"
|
||||||
|
? getMessageTextContentWithoutThinking(v)
|
||||||
|
: getMessageTextContent(v),
|
||||||
|
}));
|
||||||
|
|
||||||
const modelConfig = {
|
const modelConfig = {
|
||||||
...useAppConfig.getState().modelConfig,
|
...useAppConfig.getState().modelConfig,
|
||||||
...useChatStore.getState().currentSession().mask.modelConfig,
|
...useChatStore.getState().currentSession().mask.modelConfig,
|
||||||
@@ -102,21 +105,6 @@ export class QwenApi implements LLMApi {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const visionModel = isVisionModel(options.config.model);
|
|
||||||
|
|
||||||
const messages: ChatOptions["messages"] = [];
|
|
||||||
for (const v of options.messages) {
|
|
||||||
const content = (
|
|
||||||
visionModel
|
|
||||||
? await preProcessImageContentForAlibabaDashScope(v.content)
|
|
||||||
: v.role === "assistant"
|
|
||||||
? getMessageTextContentWithoutThinking(v)
|
|
||||||
: getMessageTextContent(v)
|
|
||||||
) as any;
|
|
||||||
|
|
||||||
messages.push({ role: v.role, content });
|
|
||||||
}
|
|
||||||
|
|
||||||
const shouldStream = !!options.config.stream;
|
const shouldStream = !!options.config.stream;
|
||||||
const requestPayload: RequestPayload = {
|
const requestPayload: RequestPayload = {
|
||||||
model: modelConfig.model,
|
model: modelConfig.model,
|
||||||
@@ -141,7 +129,7 @@ export class QwenApi implements LLMApi {
|
|||||||
"X-DashScope-SSE": shouldStream ? "enable" : "disable",
|
"X-DashScope-SSE": shouldStream ? "enable" : "disable",
|
||||||
};
|
};
|
||||||
|
|
||||||
const chatPath = this.path(Alibaba.ChatPath(modelConfig.model));
|
const chatPath = this.path(Alibaba.ChatPath);
|
||||||
const chatPayload = {
|
const chatPayload = {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(requestPayload),
|
body: JSON.stringify(requestPayload),
|
||||||
@@ -174,7 +162,7 @@ export class QwenApi implements LLMApi {
|
|||||||
const json = JSON.parse(text);
|
const json = JSON.parse(text);
|
||||||
const choices = json.output.choices as Array<{
|
const choices = json.output.choices as Array<{
|
||||||
message: {
|
message: {
|
||||||
content: string | null | MultimodalContentForAlibaba[];
|
content: string | null;
|
||||||
tool_calls: ChatMessageTool[];
|
tool_calls: ChatMessageTool[];
|
||||||
reasoning_content: string | null;
|
reasoning_content: string | null;
|
||||||
};
|
};
|
||||||
@@ -224,9 +212,7 @@ export class QwenApi implements LLMApi {
|
|||||||
} else if (content && content.length > 0) {
|
} else if (content && content.length > 0) {
|
||||||
return {
|
return {
|
||||||
isThinking: false,
|
isThinking: false,
|
||||||
content: Array.isArray(content)
|
content: content,
|
||||||
? content.map((item) => item.text).join(",")
|
|
||||||
: content,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ export class ClaudeApi implements LLMApi {
|
|||||||
let chunkJson:
|
let chunkJson:
|
||||||
| undefined
|
| undefined
|
||||||
| {
|
| {
|
||||||
type: "content_block_delta" | "content_block_stop" | "message_delta" | "message_stop";
|
type: "content_block_delta" | "content_block_stop";
|
||||||
content_block?: {
|
content_block?: {
|
||||||
type: "tool_use";
|
type: "tool_use";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -234,20 +234,11 @@ export class ClaudeApi implements LLMApi {
|
|||||||
type: "text_delta" | "input_json_delta";
|
type: "text_delta" | "input_json_delta";
|
||||||
text?: string;
|
text?: string;
|
||||||
partial_json?: string;
|
partial_json?: string;
|
||||||
stop_reason?: string;
|
|
||||||
};
|
};
|
||||||
index: number;
|
index: number;
|
||||||
};
|
};
|
||||||
chunkJson = JSON.parse(text);
|
chunkJson = JSON.parse(text);
|
||||||
|
|
||||||
// Handle refusal stop reason in message_delta
|
|
||||||
if (chunkJson?.delta?.stop_reason === "refusal") {
|
|
||||||
// Return a message to display to the user
|
|
||||||
const refusalMessage = "\n\n[Assistant refused to respond. Please modify your request and try again.]";
|
|
||||||
options.onError?.(new Error("Content policy violation: " + refusalMessage));
|
|
||||||
return refusalMessage;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (chunkJson?.content_block?.type == "tool_use") {
|
if (chunkJson?.content_block?.type == "tool_use") {
|
||||||
index += 1;
|
index += 1;
|
||||||
const id = chunkJson?.content_block.id;
|
const id = chunkJson?.content_block.id;
|
||||||
|
|||||||
@@ -75,25 +75,6 @@ export class DeepSeekApi implements LLMApi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检测并修复消息顺序,确保除system外的第一个消息是user
|
|
||||||
const filteredMessages: ChatOptions["messages"] = [];
|
|
||||||
let hasFoundFirstUser = false;
|
|
||||||
|
|
||||||
for (const msg of messages) {
|
|
||||||
if (msg.role === "system") {
|
|
||||||
// Keep all system messages
|
|
||||||
filteredMessages.push(msg);
|
|
||||||
} else if (msg.role === "user") {
|
|
||||||
// User message directly added
|
|
||||||
filteredMessages.push(msg);
|
|
||||||
hasFoundFirstUser = true;
|
|
||||||
} else if (hasFoundFirstUser) {
|
|
||||||
// After finding the first user message, all subsequent non-system messages are retained.
|
|
||||||
filteredMessages.push(msg);
|
|
||||||
}
|
|
||||||
// If hasFoundFirstUser is false and it is not a system message, it will be skipped.
|
|
||||||
}
|
|
||||||
|
|
||||||
const modelConfig = {
|
const modelConfig = {
|
||||||
...useAppConfig.getState().modelConfig,
|
...useAppConfig.getState().modelConfig,
|
||||||
...useChatStore.getState().currentSession().mask.modelConfig,
|
...useChatStore.getState().currentSession().mask.modelConfig,
|
||||||
@@ -104,7 +85,7 @@ export class DeepSeekApi implements LLMApi {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const requestPayload: RequestPayload = {
|
const requestPayload: RequestPayload = {
|
||||||
messages: filteredMessages,
|
messages,
|
||||||
stream: options.config.stream,
|
stream: options.config.stream,
|
||||||
model: modelConfig.model,
|
model: modelConfig.model,
|
||||||
temperature: modelConfig.temperature,
|
temperature: modelConfig.temperature,
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export interface OpenAIListModelResponse {
|
|||||||
|
|
||||||
export interface RequestPayload {
|
export interface RequestPayload {
|
||||||
messages: {
|
messages: {
|
||||||
role: "developer" | "system" | "user" | "assistant";
|
role: "system" | "user" | "assistant";
|
||||||
content: string | MultimodalContent[];
|
content: string | MultimodalContent[];
|
||||||
}[];
|
}[];
|
||||||
stream?: boolean;
|
stream?: boolean;
|
||||||
@@ -198,9 +198,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
const isDalle3 = _isDalle3(options.config.model);
|
const isDalle3 = _isDalle3(options.config.model);
|
||||||
const isO1OrO3 =
|
const isO1OrO3 =
|
||||||
options.config.model.startsWith("o1") ||
|
options.config.model.startsWith("o1") ||
|
||||||
options.config.model.startsWith("o3") ||
|
options.config.model.startsWith("o3");
|
||||||
options.config.model.startsWith("o4-mini");
|
|
||||||
const isGpt5 = options.config.model.startsWith("gpt-5");
|
|
||||||
if (isDalle3) {
|
if (isDalle3) {
|
||||||
const prompt = getMessageTextContent(
|
const prompt = getMessageTextContent(
|
||||||
options.messages.slice(-1)?.pop() as any,
|
options.messages.slice(-1)?.pop() as any,
|
||||||
@@ -231,7 +229,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
messages,
|
messages,
|
||||||
stream: options.config.stream,
|
stream: options.config.stream,
|
||||||
model: modelConfig.model,
|
model: modelConfig.model,
|
||||||
temperature: (!isO1OrO3 && !isGpt5) ? modelConfig.temperature : 1,
|
temperature: !isO1OrO3 ? modelConfig.temperature : 1,
|
||||||
presence_penalty: !isO1OrO3 ? modelConfig.presence_penalty : 0,
|
presence_penalty: !isO1OrO3 ? modelConfig.presence_penalty : 0,
|
||||||
frequency_penalty: !isO1OrO3 ? modelConfig.frequency_penalty : 0,
|
frequency_penalty: !isO1OrO3 ? modelConfig.frequency_penalty : 0,
|
||||||
top_p: !isO1OrO3 ? modelConfig.top_p : 1,
|
top_p: !isO1OrO3 ? modelConfig.top_p : 1,
|
||||||
@@ -239,28 +237,13 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
// Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore.
|
// Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore.
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isGpt5) {
|
// O1 使用 max_completion_tokens 控制token数 (https://platform.openai.com/docs/guides/reasoning#controlling-costs)
|
||||||
// Remove max_tokens if present
|
if (isO1OrO3) {
|
||||||
delete requestPayload.max_tokens;
|
|
||||||
// Add max_completion_tokens (or max_completion_tokens if that's what you meant)
|
|
||||||
requestPayload["max_completion_tokens"] = modelConfig.max_tokens;
|
|
||||||
|
|
||||||
} else if (isO1OrO3) {
|
|
||||||
// by default the o1/o3 models will not attempt to produce output that includes markdown formatting
|
|
||||||
// manually add "Formatting re-enabled" developer message to encourage markdown inclusion in model responses
|
|
||||||
// (https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reasoning?tabs=python-secure#markdown-output)
|
|
||||||
requestPayload["messages"].unshift({
|
|
||||||
role: "developer",
|
|
||||||
content: "Formatting re-enabled",
|
|
||||||
});
|
|
||||||
|
|
||||||
// o1/o3 uses max_completion_tokens to control the number of tokens (https://platform.openai.com/docs/guides/reasoning#controlling-costs)
|
|
||||||
requestPayload["max_completion_tokens"] = modelConfig.max_tokens;
|
requestPayload["max_completion_tokens"] = modelConfig.max_tokens;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// add max_tokens to vision model
|
// add max_tokens to vision model
|
||||||
if (visionModel && !isO1OrO3 && ! isGpt5) {
|
if (visionModel) {
|
||||||
requestPayload["max_tokens"] = Math.max(modelConfig.max_tokens, 4000);
|
requestPayload["max_tokens"] = Math.max(modelConfig.max_tokens, 4000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,11 +29,11 @@ type HTMLPreviewProps = {
|
|||||||
onLoad?: (title?: string) => void;
|
onLoad?: (title?: string) => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type HTMLPreviewHandler = {
|
export type HTMLPreviewHander = {
|
||||||
reload: () => void;
|
reload: () => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const HTMLPreview = forwardRef<HTMLPreviewHandler, HTMLPreviewProps>(
|
export const HTMLPreview = forwardRef<HTMLPreviewHander, HTMLPreviewProps>(
|
||||||
function HTMLPreview(props, ref) {
|
function HTMLPreview(props, ref) {
|
||||||
const iframeRef = useRef<HTMLIFrameElement>(null);
|
const iframeRef = useRef<HTMLIFrameElement>(null);
|
||||||
const [frameId, setFrameId] = useState<string>(nanoid());
|
const [frameId, setFrameId] = useState<string>(nanoid());
|
||||||
@@ -207,7 +207,7 @@ export function Artifacts() {
|
|||||||
const [code, setCode] = useState("");
|
const [code, setCode] = useState("");
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
const [fileName, setFileName] = useState("");
|
const [fileName, setFileName] = useState("");
|
||||||
const previewRef = useRef<HTMLPreviewHandler>(null);
|
const previewRef = useRef<HTMLPreviewHander>(null);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (id) {
|
if (id) {
|
||||||
|
|||||||
@@ -66,11 +66,11 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) {
|
|||||||
LlmIcon = BotIconGemma;
|
LlmIcon = BotIconGemma;
|
||||||
} else if (modelName.startsWith("claude")) {
|
} else if (modelName.startsWith("claude")) {
|
||||||
LlmIcon = BotIconClaude;
|
LlmIcon = BotIconClaude;
|
||||||
} else if (modelName.includes("llama")) {
|
} else if (modelName.toLowerCase().includes("llama")) {
|
||||||
LlmIcon = BotIconMeta;
|
LlmIcon = BotIconMeta;
|
||||||
} else if (modelName.startsWith("mixtral") || modelName.startsWith("codestral")) {
|
} else if (modelName.startsWith("mixtral")) {
|
||||||
LlmIcon = BotIconMistral;
|
LlmIcon = BotIconMistral;
|
||||||
} else if (modelName.includes("deepseek")) {
|
} else if (modelName.toLowerCase().includes("deepseek")) {
|
||||||
LlmIcon = BotIconDeepseek;
|
LlmIcon = BotIconDeepseek;
|
||||||
} else if (modelName.startsWith("moonshot")) {
|
} else if (modelName.startsWith("moonshot")) {
|
||||||
LlmIcon = BotIconMoonshot;
|
LlmIcon = BotIconMoonshot;
|
||||||
@@ -85,7 +85,7 @@ export function Avatar(props: { model?: ModelType; avatar?: string }) {
|
|||||||
} else if (modelName.startsWith("doubao") || modelName.startsWith("ep-")) {
|
} else if (modelName.startsWith("doubao") || modelName.startsWith("ep-")) {
|
||||||
LlmIcon = BotIconDoubao;
|
LlmIcon = BotIconDoubao;
|
||||||
} else if (
|
} else if (
|
||||||
modelName.includes("glm") ||
|
modelName.toLowerCase().includes("glm") ||
|
||||||
modelName.startsWith("cogview-") ||
|
modelName.startsWith("cogview-") ||
|
||||||
modelName.startsWith("cogvideox-")
|
modelName.startsWith("cogvideox-")
|
||||||
) {
|
) {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import { showImageModal, FullScreen } from "./ui-lib";
|
|||||||
import {
|
import {
|
||||||
ArtifactsShareButton,
|
ArtifactsShareButton,
|
||||||
HTMLPreview,
|
HTMLPreview,
|
||||||
HTMLPreviewHandler,
|
HTMLPreviewHander,
|
||||||
} from "./artifacts";
|
} from "./artifacts";
|
||||||
import { useChatStore } from "../store";
|
import { useChatStore } from "../store";
|
||||||
import { IconButton } from "./button";
|
import { IconButton } from "./button";
|
||||||
@@ -73,7 +73,7 @@ export function Mermaid(props: { code: string }) {
|
|||||||
|
|
||||||
export function PreCode(props: { children: any }) {
|
export function PreCode(props: { children: any }) {
|
||||||
const ref = useRef<HTMLPreElement>(null);
|
const ref = useRef<HTMLPreElement>(null);
|
||||||
const previewRef = useRef<HTMLPreviewHandler>(null);
|
const previewRef = useRef<HTMLPreviewHander>(null);
|
||||||
const [mermaidCode, setMermaidCode] = useState("");
|
const [mermaidCode, setMermaidCode] = useState("");
|
||||||
const [htmlCode, setHtmlCode] = useState("");
|
const [htmlCode, setHtmlCode] = useState("");
|
||||||
const { height } = useWindowSize();
|
const { height } = useWindowSize();
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ import {
|
|||||||
ChatGLM,
|
ChatGLM,
|
||||||
DeepSeek,
|
DeepSeek,
|
||||||
SiliconFlow,
|
SiliconFlow,
|
||||||
AI302,
|
|
||||||
} from "../constant";
|
} from "../constant";
|
||||||
import { Prompt, SearchService, usePromptStore } from "../store/prompt";
|
import { Prompt, SearchService, usePromptStore } from "../store/prompt";
|
||||||
import { ErrorBoundary } from "./error";
|
import { ErrorBoundary } from "./error";
|
||||||
@@ -1459,46 +1458,6 @@ export function Settings() {
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
const ai302ConfigComponent = accessStore.provider === ServiceProvider["302.AI"] && (
|
|
||||||
<>
|
|
||||||
<ListItem
|
|
||||||
title={Locale.Settings.Access.AI302.Endpoint.Title}
|
|
||||||
subTitle={
|
|
||||||
Locale.Settings.Access.AI302.Endpoint.SubTitle +
|
|
||||||
AI302.ExampleEndpoint
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
aria-label={Locale.Settings.Access.AI302.Endpoint.Title}
|
|
||||||
type="text"
|
|
||||||
value={accessStore.ai302Url}
|
|
||||||
placeholder={AI302.ExampleEndpoint}
|
|
||||||
onChange={(e) =>
|
|
||||||
accessStore.update(
|
|
||||||
(access) => (access.ai302Url = e.currentTarget.value),
|
|
||||||
)
|
|
||||||
}
|
|
||||||
></input>
|
|
||||||
</ListItem>
|
|
||||||
<ListItem
|
|
||||||
title={Locale.Settings.Access.AI302.ApiKey.Title}
|
|
||||||
subTitle={Locale.Settings.Access.AI302.ApiKey.SubTitle}
|
|
||||||
>
|
|
||||||
<PasswordInput
|
|
||||||
aria-label={Locale.Settings.Access.AI302.ApiKey.Title}
|
|
||||||
value={accessStore.ai302ApiKey}
|
|
||||||
type="text"
|
|
||||||
placeholder={Locale.Settings.Access.AI302.ApiKey.Placeholder}
|
|
||||||
onChange={(e) => {
|
|
||||||
accessStore.update(
|
|
||||||
(access) => (access.ai302ApiKey = e.currentTarget.value),
|
|
||||||
);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</ListItem>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<div className="window-header" data-tauri-drag-region>
|
<div className="window-header" data-tauri-drag-region>
|
||||||
@@ -1863,7 +1822,6 @@ export function Settings() {
|
|||||||
{XAIConfigComponent}
|
{XAIConfigComponent}
|
||||||
{chatglmConfigComponent}
|
{chatglmConfigComponent}
|
||||||
{siliconflowConfigComponent}
|
{siliconflowConfigComponent}
|
||||||
{ai302ConfigComponent}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -88,10 +88,6 @@ declare global {
|
|||||||
SILICONFLOW_URL?: string;
|
SILICONFLOW_URL?: string;
|
||||||
SILICONFLOW_API_KEY?: string;
|
SILICONFLOW_API_KEY?: string;
|
||||||
|
|
||||||
// 302.AI only
|
|
||||||
AI302_URL?: string;
|
|
||||||
AI302_API_KEY?: string;
|
|
||||||
|
|
||||||
// custom template for preprocessing user input
|
// custom template for preprocessing user input
|
||||||
DEFAULT_INPUT_TEMPLATE?: string;
|
DEFAULT_INPUT_TEMPLATE?: string;
|
||||||
|
|
||||||
@@ -167,7 +163,6 @@ export const getServerSideConfig = () => {
|
|||||||
const isXAI = !!process.env.XAI_API_KEY;
|
const isXAI = !!process.env.XAI_API_KEY;
|
||||||
const isChatGLM = !!process.env.CHATGLM_API_KEY;
|
const isChatGLM = !!process.env.CHATGLM_API_KEY;
|
||||||
const isSiliconFlow = !!process.env.SILICONFLOW_API_KEY;
|
const isSiliconFlow = !!process.env.SILICONFLOW_API_KEY;
|
||||||
const isAI302 = !!process.env.AI302_API_KEY;
|
|
||||||
// const apiKeyEnvVar = process.env.OPENAI_API_KEY ?? "";
|
// const apiKeyEnvVar = process.env.OPENAI_API_KEY ?? "";
|
||||||
// const apiKeys = apiKeyEnvVar.split(",").map((v) => v.trim());
|
// const apiKeys = apiKeyEnvVar.split(",").map((v) => v.trim());
|
||||||
// const randomIndex = Math.floor(Math.random() * apiKeys.length);
|
// const randomIndex = Math.floor(Math.random() * apiKeys.length);
|
||||||
@@ -251,10 +246,6 @@ export const getServerSideConfig = () => {
|
|||||||
siliconFlowUrl: process.env.SILICONFLOW_URL,
|
siliconFlowUrl: process.env.SILICONFLOW_URL,
|
||||||
siliconFlowApiKey: getApiKey(process.env.SILICONFLOW_API_KEY),
|
siliconFlowApiKey: getApiKey(process.env.SILICONFLOW_API_KEY),
|
||||||
|
|
||||||
isAI302,
|
|
||||||
ai302Url: process.env.AI302_URL,
|
|
||||||
ai302ApiKey: getApiKey(process.env.AI302_API_KEY),
|
|
||||||
|
|
||||||
gtmId: process.env.GTM_ID,
|
gtmId: process.env.GTM_ID,
|
||||||
gaId: process.env.GA_ID || DEFAULT_GA_ID,
|
gaId: process.env.GA_ID || DEFAULT_GA_ID,
|
||||||
|
|
||||||
|
|||||||
139
app/constant.ts
139
app/constant.ts
@@ -25,7 +25,7 @@ export const ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/";
|
|||||||
|
|
||||||
export const TENCENT_BASE_URL = "https://hunyuan.tencentcloudapi.com";
|
export const TENCENT_BASE_URL = "https://hunyuan.tencentcloudapi.com";
|
||||||
|
|
||||||
export const MOONSHOT_BASE_URL = "https://api.moonshot.ai";
|
export const MOONSHOT_BASE_URL = "https://api.moonshot.cn";
|
||||||
export const IFLYTEK_BASE_URL = "https://spark-api-open.xf-yun.com";
|
export const IFLYTEK_BASE_URL = "https://spark-api-open.xf-yun.com";
|
||||||
|
|
||||||
export const DEEPSEEK_BASE_URL = "https://api.deepseek.com";
|
export const DEEPSEEK_BASE_URL = "https://api.deepseek.com";
|
||||||
@@ -36,8 +36,6 @@ export const CHATGLM_BASE_URL = "https://open.bigmodel.cn";
|
|||||||
|
|
||||||
export const SILICONFLOW_BASE_URL = "https://api.siliconflow.cn";
|
export const SILICONFLOW_BASE_URL = "https://api.siliconflow.cn";
|
||||||
|
|
||||||
export const AI302_BASE_URL = "https://api.302.ai";
|
|
||||||
|
|
||||||
export const CACHE_URL_PREFIX = "/api/cache";
|
export const CACHE_URL_PREFIX = "/api/cache";
|
||||||
export const UPLOAD_URL = `${CACHE_URL_PREFIX}/upload`;
|
export const UPLOAD_URL = `${CACHE_URL_PREFIX}/upload`;
|
||||||
|
|
||||||
@@ -74,7 +72,6 @@ export enum ApiPath {
|
|||||||
ChatGLM = "/api/chatglm",
|
ChatGLM = "/api/chatglm",
|
||||||
DeepSeek = "/api/deepseek",
|
DeepSeek = "/api/deepseek",
|
||||||
SiliconFlow = "/api/siliconflow",
|
SiliconFlow = "/api/siliconflow",
|
||||||
"302.AI" = "/api/302ai",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum SlotID {
|
export enum SlotID {
|
||||||
@@ -133,7 +130,6 @@ export enum ServiceProvider {
|
|||||||
ChatGLM = "ChatGLM",
|
ChatGLM = "ChatGLM",
|
||||||
DeepSeek = "DeepSeek",
|
DeepSeek = "DeepSeek",
|
||||||
SiliconFlow = "SiliconFlow",
|
SiliconFlow = "SiliconFlow",
|
||||||
"302.AI" = "302.AI",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
|
// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
|
||||||
@@ -160,7 +156,6 @@ export enum ModelProvider {
|
|||||||
ChatGLM = "ChatGLM",
|
ChatGLM = "ChatGLM",
|
||||||
DeepSeek = "DeepSeek",
|
DeepSeek = "DeepSeek",
|
||||||
SiliconFlow = "SiliconFlow",
|
SiliconFlow = "SiliconFlow",
|
||||||
"302.AI" = "302.AI",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Stability = {
|
export const Stability = {
|
||||||
@@ -226,12 +221,7 @@ export const ByteDance = {
|
|||||||
|
|
||||||
export const Alibaba = {
|
export const Alibaba = {
|
||||||
ExampleEndpoint: ALIBABA_BASE_URL,
|
ExampleEndpoint: ALIBABA_BASE_URL,
|
||||||
ChatPath: (modelName: string) => {
|
ChatPath: "v1/services/aigc/text-generation/generation",
|
||||||
if (modelName.includes("vl") || modelName.includes("omni")) {
|
|
||||||
return "v1/services/aigc/multimodal-generation/generation";
|
|
||||||
}
|
|
||||||
return `v1/services/aigc/text-generation/generation`;
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Tencent = {
|
export const Tencent = {
|
||||||
@@ -271,13 +261,6 @@ export const SiliconFlow = {
|
|||||||
ListModelPath: "v1/models?&sub_type=chat",
|
ListModelPath: "v1/models?&sub_type=chat",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const AI302 = {
|
|
||||||
ExampleEndpoint: AI302_BASE_URL,
|
|
||||||
ChatPath: "v1/chat/completions",
|
|
||||||
EmbeddingsPath: "jina/v1/embeddings",
|
|
||||||
ListModelPath: "v1/models?llm=1",
|
|
||||||
};
|
|
||||||
|
|
||||||
export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang
|
export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang
|
||||||
// export const DEFAULT_SYSTEM_TEMPLATE = `
|
// export const DEFAULT_SYSTEM_TEMPLATE = `
|
||||||
// You are ChatGPT, a large language model trained by {{ServiceProvider}}.
|
// You are ChatGPT, a large language model trained by {{ServiceProvider}}.
|
||||||
@@ -429,14 +412,6 @@ export const KnowledgeCutOffDate: Record<string, string> = {
|
|||||||
"gpt-4-turbo": "2023-12",
|
"gpt-4-turbo": "2023-12",
|
||||||
"gpt-4-turbo-2024-04-09": "2023-12",
|
"gpt-4-turbo-2024-04-09": "2023-12",
|
||||||
"gpt-4-turbo-preview": "2023-12",
|
"gpt-4-turbo-preview": "2023-12",
|
||||||
"gpt-4.1": "2024-06",
|
|
||||||
"gpt-4.1-2025-04-14": "2024-06",
|
|
||||||
"gpt-4.1-mini": "2024-06",
|
|
||||||
"gpt-4.1-mini-2025-04-14": "2024-06",
|
|
||||||
"gpt-4.1-nano": "2024-06",
|
|
||||||
"gpt-4.1-nano-2025-04-14": "2024-06",
|
|
||||||
"gpt-4.5-preview": "2023-10",
|
|
||||||
"gpt-4.5-preview-2025-02-27": "2023-10",
|
|
||||||
"gpt-4o": "2023-10",
|
"gpt-4o": "2023-10",
|
||||||
"gpt-4o-2024-05-13": "2023-10",
|
"gpt-4o-2024-05-13": "2023-10",
|
||||||
"gpt-4o-2024-08-06": "2023-10",
|
"gpt-4o-2024-08-06": "2023-10",
|
||||||
@@ -478,22 +453,17 @@ export const DEFAULT_TTS_VOICES = [
|
|||||||
export const VISION_MODEL_REGEXES = [
|
export const VISION_MODEL_REGEXES = [
|
||||||
/vision/,
|
/vision/,
|
||||||
/gpt-4o/,
|
/gpt-4o/,
|
||||||
/gpt-4\.1/,
|
/claude-3/,
|
||||||
/claude.*[34]/,
|
|
||||||
/gemini-1\.5/,
|
/gemini-1\.5/,
|
||||||
/gemini-exp/,
|
/gemini-exp/,
|
||||||
/gemini-2\.[05]/,
|
/gemini-2\.0/,
|
||||||
/learnlm/,
|
/learnlm/,
|
||||||
/qwen-vl/,
|
/qwen-vl/,
|
||||||
/qwen2-vl/,
|
/qwen2-vl/,
|
||||||
/gpt-4-turbo(?!.*preview)/,
|
/gpt-4-turbo(?!.*preview)/, // Matches "gpt-4-turbo" but not "gpt-4-turbo-preview"
|
||||||
/^dall-e-3$/,
|
/^dall-e-3$/, // Matches exactly "dall-e-3"
|
||||||
/glm-4v/,
|
/glm-4v/,
|
||||||
/vl/i,
|
/vl/i,
|
||||||
/o3/,
|
|
||||||
/o4-mini/,
|
|
||||||
/grok-4/i,
|
|
||||||
/gpt-5/
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
|
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
|
||||||
@@ -510,19 +480,6 @@ const openaiModels = [
|
|||||||
"gpt-4-32k-0613",
|
"gpt-4-32k-0613",
|
||||||
"gpt-4-turbo",
|
"gpt-4-turbo",
|
||||||
"gpt-4-turbo-preview",
|
"gpt-4-turbo-preview",
|
||||||
"gpt-4.1",
|
|
||||||
"gpt-4.1-2025-04-14",
|
|
||||||
"gpt-4.1-mini",
|
|
||||||
"gpt-4.1-mini-2025-04-14",
|
|
||||||
"gpt-4.1-nano",
|
|
||||||
"gpt-4.1-nano-2025-04-14",
|
|
||||||
"gpt-4.5-preview",
|
|
||||||
"gpt-4.5-preview-2025-02-27",
|
|
||||||
"gpt-5-chat",
|
|
||||||
"gpt-5-mini",
|
|
||||||
"gpt-5-nano",
|
|
||||||
"gpt-5",
|
|
||||||
"gpt-5-chat-2025-01-01-preview",
|
|
||||||
"gpt-4o",
|
"gpt-4o",
|
||||||
"gpt-4o-2024-05-13",
|
"gpt-4o-2024-05-13",
|
||||||
"gpt-4o-2024-08-06",
|
"gpt-4o-2024-08-06",
|
||||||
@@ -537,20 +494,23 @@ const openaiModels = [
|
|||||||
"o1-mini",
|
"o1-mini",
|
||||||
"o1-preview",
|
"o1-preview",
|
||||||
"o3-mini",
|
"o3-mini",
|
||||||
"o3",
|
|
||||||
"o4-mini",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const googleModels = [
|
const googleModels = [
|
||||||
|
"gemini-1.0-pro", // Deprecated on 2/15/2025
|
||||||
"gemini-1.5-pro-latest",
|
"gemini-1.5-pro-latest",
|
||||||
"gemini-1.5-pro",
|
"gemini-1.5-pro",
|
||||||
"gemini-1.5-pro-002",
|
"gemini-1.5-pro-002",
|
||||||
|
"gemini-1.5-pro-exp-0827",
|
||||||
"gemini-1.5-flash-latest",
|
"gemini-1.5-flash-latest",
|
||||||
"gemini-1.5-flash-8b-latest",
|
"gemini-1.5-flash-8b-latest",
|
||||||
"gemini-1.5-flash",
|
"gemini-1.5-flash",
|
||||||
"gemini-1.5-flash-8b",
|
"gemini-1.5-flash-8b",
|
||||||
"gemini-1.5-flash-002",
|
"gemini-1.5-flash-002",
|
||||||
|
"gemini-1.5-flash-exp-0827",
|
||||||
"learnlm-1.5-pro-experimental",
|
"learnlm-1.5-pro-experimental",
|
||||||
|
"gemini-exp-1114",
|
||||||
|
"gemini-exp-1121",
|
||||||
"gemini-exp-1206",
|
"gemini-exp-1206",
|
||||||
"gemini-2.0-flash",
|
"gemini-2.0-flash",
|
||||||
"gemini-2.0-flash-exp",
|
"gemini-2.0-flash-exp",
|
||||||
@@ -560,8 +520,6 @@ const googleModels = [
|
|||||||
"gemini-2.0-flash-thinking-exp-01-21",
|
"gemini-2.0-flash-thinking-exp-01-21",
|
||||||
"gemini-2.0-pro-exp",
|
"gemini-2.0-pro-exp",
|
||||||
"gemini-2.0-pro-exp-02-05",
|
"gemini-2.0-pro-exp-02-05",
|
||||||
"gemini-2.5-pro-preview-06-05",
|
|
||||||
"gemini-2.5-pro"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const anthropicModels = [
|
const anthropicModels = [
|
||||||
@@ -577,10 +535,6 @@ const anthropicModels = [
|
|||||||
"claude-3-5-sonnet-20240620",
|
"claude-3-5-sonnet-20240620",
|
||||||
"claude-3-5-sonnet-20241022",
|
"claude-3-5-sonnet-20241022",
|
||||||
"claude-3-5-sonnet-latest",
|
"claude-3-5-sonnet-latest",
|
||||||
"claude-3-7-sonnet-20250219",
|
|
||||||
"claude-3-7-sonnet-latest",
|
|
||||||
"claude-sonnet-4-20250514",
|
|
||||||
"claude-opus-4-20250514",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const baiduModels = [
|
const baiduModels = [
|
||||||
@@ -614,9 +568,6 @@ const alibabaModes = [
|
|||||||
"qwen-max-0403",
|
"qwen-max-0403",
|
||||||
"qwen-max-0107",
|
"qwen-max-0107",
|
||||||
"qwen-max-longcontext",
|
"qwen-max-longcontext",
|
||||||
"qwen-omni-turbo",
|
|
||||||
"qwen-vl-plus",
|
|
||||||
"qwen-vl-max",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const tencentModels = [
|
const tencentModels = [
|
||||||
@@ -629,18 +580,7 @@ const tencentModels = [
|
|||||||
"hunyuan-vision",
|
"hunyuan-vision",
|
||||||
];
|
];
|
||||||
|
|
||||||
const moonshotModels = [
|
const moonshotModes = ["moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k"];
|
||||||
"moonshot-v1-auto",
|
|
||||||
"moonshot-v1-8k",
|
|
||||||
"moonshot-v1-32k",
|
|
||||||
"moonshot-v1-128k",
|
|
||||||
"moonshot-v1-8k-vision-preview",
|
|
||||||
"moonshot-v1-32k-vision-preview",
|
|
||||||
"moonshot-v1-128k-vision-preview",
|
|
||||||
"kimi-thinking-preview",
|
|
||||||
"kimi-k2-0711-preview",
|
|
||||||
"kimi-latest",
|
|
||||||
];
|
|
||||||
|
|
||||||
const iflytekModels = [
|
const iflytekModels = [
|
||||||
"general",
|
"general",
|
||||||
@@ -661,23 +601,6 @@ const xAIModes = [
|
|||||||
"grok-2-vision-1212",
|
"grok-2-vision-1212",
|
||||||
"grok-2-vision",
|
"grok-2-vision",
|
||||||
"grok-2-vision-latest",
|
"grok-2-vision-latest",
|
||||||
"grok-3-mini-fast-beta",
|
|
||||||
"grok-3-mini-fast",
|
|
||||||
"grok-3-mini-fast-latest",
|
|
||||||
"grok-3-mini-beta",
|
|
||||||
"grok-3-mini",
|
|
||||||
"grok-3-mini-latest",
|
|
||||||
"grok-3-fast-beta",
|
|
||||||
"grok-3-fast",
|
|
||||||
"grok-3-fast-latest",
|
|
||||||
"grok-3-beta",
|
|
||||||
"grok-3",
|
|
||||||
"grok-3-latest",
|
|
||||||
"grok-4",
|
|
||||||
"grok-4-0709",
|
|
||||||
"grok-4-fast-non-reasoning",
|
|
||||||
"grok-4-fast-reasoning",
|
|
||||||
"grok-code-fast-1",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const chatglmModels = [
|
const chatglmModels = [
|
||||||
@@ -717,31 +640,6 @@ const siliconflowModels = [
|
|||||||
"Pro/deepseek-ai/DeepSeek-V3",
|
"Pro/deepseek-ai/DeepSeek-V3",
|
||||||
];
|
];
|
||||||
|
|
||||||
const ai302Models = [
|
|
||||||
"deepseek-chat",
|
|
||||||
"gpt-4o",
|
|
||||||
"chatgpt-4o-latest",
|
|
||||||
"llama3.3-70b",
|
|
||||||
"deepseek-reasoner",
|
|
||||||
"gemini-2.0-flash",
|
|
||||||
"claude-3-7-sonnet-20250219",
|
|
||||||
"claude-3-7-sonnet-latest",
|
|
||||||
"grok-3-beta",
|
|
||||||
"grok-3-mini-beta",
|
|
||||||
"gpt-4.1",
|
|
||||||
"gpt-4.1-mini",
|
|
||||||
"o3",
|
|
||||||
"o4-mini",
|
|
||||||
"qwen3-235b-a22b",
|
|
||||||
"qwen3-32b",
|
|
||||||
"gemini-2.5-pro-preview-05-06",
|
|
||||||
"llama-4-maverick",
|
|
||||||
"gemini-2.5-flash",
|
|
||||||
"claude-sonnet-4-20250514",
|
|
||||||
"claude-opus-4-20250514",
|
|
||||||
"gemini-2.5-pro",
|
|
||||||
];
|
|
||||||
|
|
||||||
let seq = 1000; // 内置的模型序号生成器从1000开始
|
let seq = 1000; // 内置的模型序号生成器从1000开始
|
||||||
export const DEFAULT_MODELS = [
|
export const DEFAULT_MODELS = [
|
||||||
...openaiModels.map((name) => ({
|
...openaiModels.map((name) => ({
|
||||||
@@ -832,7 +730,7 @@ export const DEFAULT_MODELS = [
|
|||||||
sorted: 8,
|
sorted: 8,
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
...moonshotModels.map((name) => ({
|
...moonshotModes.map((name) => ({
|
||||||
name,
|
name,
|
||||||
available: true,
|
available: true,
|
||||||
sorted: seq++,
|
sorted: seq++,
|
||||||
@@ -898,17 +796,6 @@ export const DEFAULT_MODELS = [
|
|||||||
sorted: 14,
|
sorted: 14,
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
...ai302Models.map((name) => ({
|
|
||||||
name,
|
|
||||||
available: true,
|
|
||||||
sorted: seq++,
|
|
||||||
provider: {
|
|
||||||
id: "ai302",
|
|
||||||
providerName: "302.AI",
|
|
||||||
providerType: "ai302",
|
|
||||||
sorted: 15,
|
|
||||||
},
|
|
||||||
})),
|
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export const CHAT_PAGE_SIZE = 15;
|
export const CHAT_PAGE_SIZE = 15;
|
||||||
|
|||||||
@@ -416,17 +416,6 @@ const ar: PartialLocaleType = {
|
|||||||
SubTitle: "مثال:",
|
SubTitle: "مثال:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "مفتاح 302.AI API",
|
|
||||||
SubTitle: "استخدم مفتاح 302.AI API مخصص",
|
|
||||||
Placeholder: "مفتاح 302.AI API",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "عنوان الواجهة",
|
|
||||||
SubTitle: "مثال:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "اسم النموذج المخصص",
|
Title: "اسم النموذج المخصص",
|
||||||
SubTitle: "أضف خيارات نموذج مخصص، مفصولة بفواصل إنجليزية",
|
SubTitle: "أضف خيارات نموذج مخصص، مفصولة بفواصل إنجليزية",
|
||||||
|
|||||||
@@ -423,17 +423,6 @@ const bn: PartialLocaleType = {
|
|||||||
SubTitle: "উদাহরণ:",
|
SubTitle: "উদাহরণ:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "ইন্টারফেস কী",
|
|
||||||
SubTitle: "স্বনির্ধারিত 302.AI API কী ব্যবহার করুন",
|
|
||||||
Placeholder: "302.AI API কী",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "ইন্টারফেস ঠিকানা",
|
|
||||||
SubTitle: "উদাহরণ:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "স্বনির্ধারিত মডেল নাম",
|
Title: "স্বনির্ধারিত মডেল নাম",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -538,17 +538,6 @@ const cn = {
|
|||||||
Title: "自定义模型名",
|
Title: "自定义模型名",
|
||||||
SubTitle: "增加自定义模型可选项,使用英文逗号隔开",
|
SubTitle: "增加自定义模型可选项,使用英文逗号隔开",
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "接口密钥",
|
|
||||||
SubTitle: "使用自定义302.AI API Key",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "接口地址",
|
|
||||||
SubTitle: "样例:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
Model: "模型 (model)",
|
Model: "模型 (model)",
|
||||||
|
|||||||
@@ -423,17 +423,6 @@ const cs: PartialLocaleType = {
|
|||||||
SubTitle: "Příklad:",
|
SubTitle: "Příklad:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Rozhraní klíč",
|
|
||||||
SubTitle: "Použijte vlastní 302.AI API Key",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Adresa rozhraní",
|
|
||||||
SubTitle: "Příklad:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Vlastní názvy modelů",
|
Title: "Vlastní názvy modelů",
|
||||||
SubTitle: "Přidejte možnosti vlastních modelů, oddělené čárkami",
|
SubTitle: "Přidejte možnosti vlastních modelů, oddělené čárkami",
|
||||||
|
|||||||
@@ -517,17 +517,6 @@ const da: PartialLocaleType = {
|
|||||||
SubTitle: "Vælg et niveau for indholdskontrol",
|
SubTitle: "Vælg et niveau for indholdskontrol",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "302.AI API Key",
|
|
||||||
SubTitle: "Brug en custom 302.AI API Key",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Endpoint-adresse",
|
|
||||||
SubTitle: "Eksempel: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Model: "Model",
|
Model: "Model",
|
||||||
CompressModel: {
|
CompressModel: {
|
||||||
|
|||||||
@@ -434,17 +434,6 @@ const de: PartialLocaleType = {
|
|||||||
SubTitle: "Beispiel:",
|
SubTitle: "Beispiel:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Schnittstellenschlüssel",
|
|
||||||
SubTitle: "Verwenden Sie einen benutzerdefinierten 302.AI API-Schlüssel",
|
|
||||||
Placeholder: "302.AI API-Schlüssel",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Endpunktadresse",
|
|
||||||
SubTitle: "Beispiel:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Benutzerdefinierter Modellname",
|
Title: "Benutzerdefinierter Modellname",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -543,17 +543,6 @@ const en: LocaleType = {
|
|||||||
SubTitle: "Select a safety filtering level",
|
SubTitle: "Select a safety filtering level",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "302.AI API Key",
|
|
||||||
SubTitle: "Use a custom 302.AI API Key",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Endpoint Address",
|
|
||||||
SubTitle: "Example: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
Model: "Model",
|
Model: "Model",
|
||||||
|
|||||||
@@ -436,17 +436,6 @@ const es: PartialLocaleType = {
|
|||||||
SubTitle: "Ejemplo:",
|
SubTitle: "Ejemplo:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Clave de interfaz",
|
|
||||||
SubTitle: "Usa una clave API de 302.AI personalizada",
|
|
||||||
Placeholder: "Clave API de 302.AI",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Dirección del endpoint",
|
|
||||||
SubTitle: "Ejemplo:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Nombre del modelo personalizado",
|
Title: "Nombre del modelo personalizado",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -435,17 +435,6 @@ const fr: PartialLocaleType = {
|
|||||||
SubTitle: "Exemple :",
|
SubTitle: "Exemple :",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Clé d'interface",
|
|
||||||
SubTitle: "Utiliser une clé API 302.AI personnalisée",
|
|
||||||
Placeholder: "Clé API 302.AI",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Adresse de l'endpoint",
|
|
||||||
SubTitle: "Exemple :",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Nom du modèle personnalisé",
|
Title: "Nom du modèle personnalisé",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -424,17 +424,6 @@ const id: PartialLocaleType = {
|
|||||||
SubTitle: "Contoh:",
|
SubTitle: "Contoh:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Kunci Antarmuka",
|
|
||||||
SubTitle: "Gunakan 302.AI API Key kustom",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Alamat Antarmuka",
|
|
||||||
SubTitle: "Contoh:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Nama Model Kustom",
|
Title: "Nama Model Kustom",
|
||||||
SubTitle: "Tambahkan opsi model kustom, pisahkan dengan koma",
|
SubTitle: "Tambahkan opsi model kustom, pisahkan dengan koma",
|
||||||
|
|||||||
@@ -436,17 +436,6 @@ const it: PartialLocaleType = {
|
|||||||
SubTitle: "Esempio:",
|
SubTitle: "Esempio:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Chiave dell'interfaccia",
|
|
||||||
SubTitle: "Utilizza una chiave API 302.AI personalizzata",
|
|
||||||
Placeholder: "Chiave API 302.AI",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Indirizzo dell'interfaccia",
|
|
||||||
SubTitle: "Esempio:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Nome del modello personalizzato",
|
Title: "Nome del modello personalizzato",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -420,17 +420,6 @@ const jp: PartialLocaleType = {
|
|||||||
SubTitle: "例:",
|
SubTitle: "例:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "APIキー",
|
|
||||||
SubTitle: "カスタム302.AI APIキーを使用",
|
|
||||||
Placeholder: "302.AI APIキー",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "エンドポイント",
|
|
||||||
SubTitle: "例:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "カスタムモデル名",
|
Title: "カスタムモデル名",
|
||||||
SubTitle: "カスタムモデルの選択肢を追加、英語のカンマで区切る",
|
SubTitle: "カスタムモデルの選択肢を追加、英語のカンマで区切る",
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ const ko: PartialLocaleType = {
|
|||||||
Error: {
|
Error: {
|
||||||
Unauthorized: isApp
|
Unauthorized: isApp
|
||||||
? `😆 대화 중 문제가 발생했습니다, 걱정하지 마세요:
|
? `😆 대화 중 문제가 발생했습니다, 걱정하지 마세요:
|
||||||
\\ 1️⃣ 세팅 없이 시작하고 싶다면, [여기를 클릭하여 즉시 대화를 시작하세요 🚀](${SAAS_CHAT_UTM_URL})
|
\\ 1️⃣ 제로 구성으로 시작하고 싶다면, [여기를 클릭하여 즉시 대화를 시작하세요 🚀](${SAAS_CHAT_UTM_URL})
|
||||||
\\ 2️⃣ 자신의 OpenAI 리소스를 사용하고 싶다면, [여기를 클릭하여](/#/settings) 설정을 수정하세요 ⚙️`
|
\\ 2️⃣ 자신의 OpenAI 리소스를 사용하고 싶다면, [여기를 클릭하여](/#/settings) 설정을 수정하세요 ⚙️`
|
||||||
: `😆 대화 중 문제가 발생했습니다, 걱정하지 마세요:
|
: `😆 대화 중 문제가 발생했습니다, 걱정하지 마세요:
|
||||||
\ 1️⃣ 세팅 없이 시작하고 싶다면, [여기를 클릭하여 즉시 대화를 시작하세요 🚀](${SAAS_CHAT_UTM_URL})
|
\ 1️⃣ 제로 구성으로 시작하고 싶다면, [여기를 클릭하여 즉시 대화를 시작하세요 🚀](${SAAS_CHAT_UTM_URL})
|
||||||
\ 2️⃣ 개인 배포 버전을 사용하고 있다면, [여기를 클릭하여](/#/auth) 접근 키를 입력하세요 🔑
|
\ 2️⃣ 개인 배포 버전을 사용하고 있다면, [여기를 클릭하여](/#/auth) 접근 키를 입력하세요 🔑
|
||||||
\ 3️⃣ 자신의 OpenAI 리소스를 사용하고 싶다면, [여기를 클릭하여](/#/settings) 설정을 수정하세요 ⚙️
|
\ 3️⃣ 자신의 OpenAI 리소스를 사용하고 싶다면, [여기를 클릭하여](/#/settings) 설정을 수정하세요 ⚙️
|
||||||
`,
|
`,
|
||||||
@@ -27,7 +27,7 @@ const ko: PartialLocaleType = {
|
|||||||
Return: "돌아가기",
|
Return: "돌아가기",
|
||||||
SaasTips: "설정이 너무 복잡합니다. 즉시 사용하고 싶습니다.",
|
SaasTips: "설정이 너무 복잡합니다. 즉시 사용하고 싶습니다.",
|
||||||
TopTips:
|
TopTips:
|
||||||
"🥳 NextChat AI 출시 기념 할인: 지금 OpenAI o1, GPT-4o, Claude-3.5 및 최신 대형 모델을 사용해보세요!",
|
"🥳 NextChat AI 출시 기념 할인, 지금 OpenAI o1, GPT-4o, Claude-3.5 및 최신 대형 모델을 해제하세요",
|
||||||
},
|
},
|
||||||
ChatItem: {
|
ChatItem: {
|
||||||
ChatItemCount: (count: number) => `${count} 개의 대화`,
|
ChatItemCount: (count: number) => `${count} 개의 대화`,
|
||||||
@@ -53,11 +53,8 @@ const ko: PartialLocaleType = {
|
|||||||
PinToastAction: "보기",
|
PinToastAction: "보기",
|
||||||
Delete: "삭제",
|
Delete: "삭제",
|
||||||
Edit: "편집",
|
Edit: "편집",
|
||||||
FullScreen: "전체 화면",
|
|
||||||
RefreshTitle: "제목 새로고침",
|
RefreshTitle: "제목 새로고침",
|
||||||
RefreshToast: "제목 새로고침 요청이 전송되었습니다",
|
RefreshToast: "제목 새로고침 요청이 전송되었습니다",
|
||||||
Speech: "재생",
|
|
||||||
StopSpeech: "정지",
|
|
||||||
},
|
},
|
||||||
Commands: {
|
Commands: {
|
||||||
new: "새 채팅",
|
new: "새 채팅",
|
||||||
@@ -65,7 +62,6 @@ const ko: PartialLocaleType = {
|
|||||||
next: "다음 채팅",
|
next: "다음 채팅",
|
||||||
prev: "이전 채팅",
|
prev: "이전 채팅",
|
||||||
clear: "컨텍스트 지우기",
|
clear: "컨텍스트 지우기",
|
||||||
fork: "채팅 복사",
|
|
||||||
del: "채팅 삭제",
|
del: "채팅 삭제",
|
||||||
},
|
},
|
||||||
InputActions: {
|
InputActions: {
|
||||||
@@ -92,22 +88,11 @@ const ko: PartialLocaleType = {
|
|||||||
return inputHints + ",/ 자동 완성,: 명령어 입력";
|
return inputHints + ",/ 자동 완성,: 명령어 입력";
|
||||||
},
|
},
|
||||||
Send: "전송",
|
Send: "전송",
|
||||||
StartSpeak: "재생 시작",
|
|
||||||
StopSpeak: "재생 정지",
|
|
||||||
Config: {
|
Config: {
|
||||||
Reset: "기억 지우기",
|
Reset: "기억 지우기",
|
||||||
SaveAs: "마스크로 저장",
|
SaveAs: "마스크로 저장",
|
||||||
},
|
},
|
||||||
IsContext: "프롬프트 설정",
|
IsContext: "프롬프트 설정",
|
||||||
ShortcutKey: {
|
|
||||||
Title: "키보드 단축키",
|
|
||||||
newChat: "새 채팅 열기",
|
|
||||||
focusInput: "입력 필드 포커스",
|
|
||||||
copyLastMessage: "마지막 답변 복사",
|
|
||||||
copyLastCode: "마지막 코드 블록 복사",
|
|
||||||
showShortcutKey: "단축키 보기",
|
|
||||||
clearContext: "컨텍스트 지우기",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Export: {
|
Export: {
|
||||||
Title: "채팅 기록 공유",
|
Title: "채팅 기록 공유",
|
||||||
@@ -129,13 +114,9 @@ const ko: PartialLocaleType = {
|
|||||||
Preview: "미리보기",
|
Preview: "미리보기",
|
||||||
},
|
},
|
||||||
Image: {
|
Image: {
|
||||||
Toast: "스크린샷 생성 중...",
|
Toast: "스크린샷 생성 중",
|
||||||
Modal: "길게 누르거나 오른쪽 클릭하여 이미지를 저장하십시오.",
|
Modal: "길게 누르거나 오른쪽 클릭하여 이미지를 저장하십시오.",
|
||||||
},
|
},
|
||||||
Artifacts: {
|
|
||||||
Title: "공유 아티팩트",
|
|
||||||
Error: "공유 오류",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Select: {
|
Select: {
|
||||||
Search: "메시지 검색",
|
Search: "메시지 검색",
|
||||||
@@ -160,7 +141,7 @@ const ko: PartialLocaleType = {
|
|||||||
Settings: {
|
Settings: {
|
||||||
Title: "설정",
|
Title: "설정",
|
||||||
SubTitle: "모든 설정 옵션",
|
SubTitle: "모든 설정 옵션",
|
||||||
ShowPassword: "비밀번호 보기",
|
|
||||||
Danger: {
|
Danger: {
|
||||||
Reset: {
|
Reset: {
|
||||||
Title: "모든 설정 초기화",
|
Title: "모든 설정 초기화",
|
||||||
@@ -206,10 +187,8 @@ const ko: PartialLocaleType = {
|
|||||||
IsChecking: "업데이트 확인 중...",
|
IsChecking: "업데이트 확인 중...",
|
||||||
FoundUpdate: (x: string) => `새 버전 발견: ${x}`,
|
FoundUpdate: (x: string) => `새 버전 발견: ${x}`,
|
||||||
GoToUpdate: "업데이트로 이동",
|
GoToUpdate: "업데이트로 이동",
|
||||||
Success: "업데이트 성공",
|
|
||||||
Failed: "업데이트 실패",
|
|
||||||
},
|
},
|
||||||
SendKey: "키 전송",
|
SendKey: "전송 키",
|
||||||
Theme: "테마",
|
Theme: "테마",
|
||||||
TightBorder: "테두리 없는 모드",
|
TightBorder: "테두리 없는 모드",
|
||||||
SendPreviewBubble: {
|
SendPreviewBubble: {
|
||||||
@@ -242,7 +221,7 @@ const ko: PartialLocaleType = {
|
|||||||
},
|
},
|
||||||
ProxyUrl: {
|
ProxyUrl: {
|
||||||
Title: "프록시 주소",
|
Title: "프록시 주소",
|
||||||
SubTitle: "이 프로젝트에서 제공하는 CORS 프록시만 해당",
|
SubTitle: "이 프로젝트에서 제공하는 교차 출처 프록시만 해당",
|
||||||
},
|
},
|
||||||
|
|
||||||
WebDav: {
|
WebDav: {
|
||||||
@@ -316,7 +295,7 @@ const ko: PartialLocaleType = {
|
|||||||
Title: "NextChat AI 사용하기",
|
Title: "NextChat AI 사용하기",
|
||||||
Label: "(가장 비용 효율적인 솔루션)",
|
Label: "(가장 비용 효율적인 솔루션)",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
"NextChat에 의해 공식적으로 유지 관리되며, 설정 없이 즉시 사용할 수 있으며, OpenAI o1, GPT-4o, Claude-3.5와 같은 최신 대형 모델을 지원합니다",
|
"NextChat에 의해 공식적으로 유지 관리되며, 제로 구성으로 즉시 사용할 수 있으며, OpenAI o1, GPT-4o, Claude-3.5와 같은 최신 대형 모델을 지원합니다",
|
||||||
ChatNow: "지금 채팅하기",
|
ChatNow: "지금 채팅하기",
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -416,22 +395,6 @@ const ko: PartialLocaleType = {
|
|||||||
SubTitle: "커스터마이즈는 .env에서 설정",
|
SubTitle: "커스터마이즈는 .env에서 설정",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Tencent: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Tencent API 키",
|
|
||||||
SubTitle: "커스텀 Tencent API 키 사용",
|
|
||||||
Placeholder: "Tencent API 키",
|
|
||||||
},
|
|
||||||
SecretKey: {
|
|
||||||
Title: "Tencent Secret 키",
|
|
||||||
SubTitle: "커스텀 Tencent Secret 키 사용",
|
|
||||||
Placeholder: "Tencent Secret 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "지원되지 않음, .env에서 설정",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
ByteDance: {
|
ByteDance: {
|
||||||
ApiKey: {
|
ApiKey: {
|
||||||
Title: "엔드포인트 키",
|
Title: "엔드포인트 키",
|
||||||
@@ -454,103 +417,10 @@ const ko: PartialLocaleType = {
|
|||||||
SubTitle: "예: ",
|
SubTitle: "예: ",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Moonshot: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Moonshot API 키",
|
|
||||||
SubTitle: "커스텀 Moonshot API 키 사용",
|
|
||||||
Placeholder: "Moonshot API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
DeepSeek: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "DeepSeek API 키",
|
|
||||||
SubTitle: "커스텀 DeepSeek API 키 사용",
|
|
||||||
Placeholder: "DeepSeek API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
XAI: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "XAI API 키",
|
|
||||||
SubTitle: "커스텀 XAI API 키 사용",
|
|
||||||
Placeholder: "XAI API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
ChatGLM: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "ChatGLM API 키",
|
|
||||||
SubTitle: "커스텀 ChatGLM API 키 사용",
|
|
||||||
Placeholder: "ChatGLM API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
SiliconFlow: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "SiliconFlow API 키",
|
|
||||||
SubTitle: "커스텀 SiliconFlow API 키 사용",
|
|
||||||
Placeholder: "SiliconFlow API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Stability: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Stability API 키",
|
|
||||||
SubTitle: "커스텀 Stability API 키 사용",
|
|
||||||
Placeholder: "Stability API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Iflytek: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Iflytek API 키",
|
|
||||||
SubTitle: "커스텀 Iflytek API 키 사용",
|
|
||||||
Placeholder: "Iflytek API 키",
|
|
||||||
},
|
|
||||||
ApiSecret: {
|
|
||||||
Title: "Iflytek API Secret",
|
|
||||||
SubTitle: "커스텀 Iflytek API Secret 키 사용",
|
|
||||||
Placeholder: "Iflytek API Secret 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "커스텀 모델 이름",
|
Title: "커스텀 모델 이름",
|
||||||
SubTitle: "커스텀 모델 옵션 추가, 영어 쉼표로 구분",
|
SubTitle: "커스텀 모델 옵션 추가, 영어 쉼표로 구분",
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "엔드포인트 키",
|
|
||||||
SubTitle: "커스텀 302.AI API 키 사용",
|
|
||||||
Placeholder: "302.AI API 키",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트 주소",
|
|
||||||
SubTitle: "예: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
Model: "모델 (model)",
|
Model: "모델 (model)",
|
||||||
@@ -578,67 +448,13 @@ const ko: PartialLocaleType = {
|
|||||||
Title: "빈도 벌점 (frequency_penalty)",
|
Title: "빈도 벌점 (frequency_penalty)",
|
||||||
SubTitle: "값이 클수록 중복 단어 감소 가능성 높음",
|
SubTitle: "값이 클수록 중복 단어 감소 가능성 높음",
|
||||||
},
|
},
|
||||||
TTS: {
|
|
||||||
Enable: {
|
|
||||||
Title: "TTS 활성화",
|
|
||||||
SubTitle: "TTS 서비스 활성화",
|
|
||||||
},
|
|
||||||
Autoplay: {
|
|
||||||
Title: "자동 재생 활성화",
|
|
||||||
SubTitle:
|
|
||||||
"자동으로 음성을 생성하고 재생, 먼저 TTS 스위치를 활성화해야 함",
|
|
||||||
},
|
|
||||||
Model: "모델",
|
|
||||||
Voice: {
|
|
||||||
Title: "음성",
|
|
||||||
SubTitle: "음성을 생성할 때 사용할 음성",
|
|
||||||
},
|
|
||||||
Speed: {
|
|
||||||
Title: "속도",
|
|
||||||
SubTitle: "생성된 음성의 속도",
|
|
||||||
},
|
|
||||||
Engine: "TTS Engine",
|
|
||||||
},
|
|
||||||
Realtime: {
|
|
||||||
Enable: {
|
|
||||||
Title: "실시간 채팅",
|
|
||||||
SubTitle: "실시간 채팅 기능 활성화",
|
|
||||||
},
|
|
||||||
Provider: {
|
|
||||||
Title: "모델 제공업체",
|
|
||||||
SubTitle: "다른 제공업체 간 전환",
|
|
||||||
},
|
|
||||||
Model: {
|
|
||||||
Title: "모델",
|
|
||||||
SubTitle: "모델 선택",
|
|
||||||
},
|
|
||||||
ApiKey: {
|
|
||||||
Title: "API 키",
|
|
||||||
SubTitle: "API 키",
|
|
||||||
Placeholder: "API 키",
|
|
||||||
},
|
|
||||||
Azure: {
|
|
||||||
Endpoint: {
|
|
||||||
Title: "엔드포인트",
|
|
||||||
SubTitle: "엔드포인트",
|
|
||||||
},
|
|
||||||
Deployment: {
|
|
||||||
Title: "배포 이름",
|
|
||||||
SubTitle: "배포 이름",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Temperature: {
|
|
||||||
Title: "무작위성 (temperature)",
|
|
||||||
SubTitle: "값이 클수록 응답이 더 무작위적",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
Store: {
|
Store: {
|
||||||
DefaultTopic: "새 채팅",
|
DefaultTopic: "새 채팅",
|
||||||
BotHello: "무엇을 도와드릴까요?",
|
BotHello: "무엇을 도와드릴까요?",
|
||||||
Error: "오류가 발생했습니다. 나중에 다시 시도해 주세요.",
|
Error: "오류가 발생했습니다. 나중에 다시 시도해 주세요.",
|
||||||
Prompt: {
|
Prompt: {
|
||||||
History: (content: string) => "이전 채팅 요약: " + content,
|
History: (content: string) => "이것은 이전 채팅 요약입니다: " + content,
|
||||||
Topic:
|
Topic:
|
||||||
"네 글자에서 다섯 글자로 이 문장의 간략한 주제를 반환하세요. 설명이나 문장 부호, 어미, 불필요한 텍스트, 굵은 글씨는 필요 없습니다. 주제가 없다면 '잡담'이라고만 반환하세요.",
|
"네 글자에서 다섯 글자로 이 문장의 간략한 주제를 반환하세요. 설명이나 문장 부호, 어미, 불필요한 텍스트, 굵은 글씨는 필요 없습니다. 주제가 없다면 '잡담'이라고만 반환하세요.",
|
||||||
Summarize:
|
Summarize:
|
||||||
@@ -660,11 +476,8 @@ const ko: PartialLocaleType = {
|
|||||||
Clear: "컨텍스트가 지워졌습니다.",
|
Clear: "컨텍스트가 지워졌습니다.",
|
||||||
Revert: "컨텍스트 복원",
|
Revert: "컨텍스트 복원",
|
||||||
},
|
},
|
||||||
Discovery: {
|
Plugin: {
|
||||||
Name: "디스커버리",
|
Name: "플러그인",
|
||||||
},
|
|
||||||
Mcp: {
|
|
||||||
Name: "MCP 플러그인",
|
|
||||||
},
|
},
|
||||||
FineTuned: {
|
FineTuned: {
|
||||||
Sysmessage: "당신은 보조자입니다.",
|
Sysmessage: "당신은 보조자입니다.",
|
||||||
@@ -676,7 +489,7 @@ const ko: PartialLocaleType = {
|
|||||||
Search: "검색어 입력",
|
Search: "검색어 입력",
|
||||||
NoResult: "결과를 찾을 수 없습니다",
|
NoResult: "결과를 찾을 수 없습니다",
|
||||||
NoData: "데이터가 없습니다",
|
NoData: "데이터가 없습니다",
|
||||||
Loading: "로딩 중...",
|
Loading: "로딩 중",
|
||||||
|
|
||||||
SubTitle: (count: number) => `${count}개의 결과를 찾았습니다`,
|
SubTitle: (count: number) => `${count}개의 결과를 찾았습니다`,
|
||||||
},
|
},
|
||||||
@@ -684,47 +497,6 @@ const ko: PartialLocaleType = {
|
|||||||
View: "보기",
|
View: "보기",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Plugin: {
|
|
||||||
Name: "플러그인",
|
|
||||||
Page: {
|
|
||||||
Title: "플러그인",
|
|
||||||
SubTitle: (count: number) => `${count} 개의 플러그인`,
|
|
||||||
Search: "플러그인 검색",
|
|
||||||
Create: "새로 만들기",
|
|
||||||
Find: "github에서 멋진 플러그인을 찾을 수 있습니다: ",
|
|
||||||
},
|
|
||||||
Item: {
|
|
||||||
Info: (count: number) => `${count} 개의 메서드`,
|
|
||||||
View: "보기",
|
|
||||||
Edit: "편집",
|
|
||||||
Delete: "삭제",
|
|
||||||
DeleteConfirm: "삭제하시겠습니까?",
|
|
||||||
},
|
|
||||||
Auth: {
|
|
||||||
None: "없음",
|
|
||||||
Basic: "기본",
|
|
||||||
Bearer: "Bearer",
|
|
||||||
Custom: "커스텀",
|
|
||||||
CustomHeader: "파라미터 이름",
|
|
||||||
Token: "토큰",
|
|
||||||
Proxy: "프록시 사용",
|
|
||||||
ProxyDescription: "CORS 오류 해결을 위해 프록시 사용",
|
|
||||||
Location: "위치",
|
|
||||||
LocationHeader: "헤더",
|
|
||||||
LocationQuery: "쿼리",
|
|
||||||
LocationBody: "바디",
|
|
||||||
},
|
|
||||||
EditModal: {
|
|
||||||
Title: (readonly: boolean) =>
|
|
||||||
`플러그인 편집 ${readonly ? "(읽기 전용)" : ""}`,
|
|
||||||
Download: "다운로드",
|
|
||||||
Auth: "인증 유형",
|
|
||||||
Content: "OpenAPI Schema",
|
|
||||||
Load: "URL에서 로드",
|
|
||||||
Method: "메서드",
|
|
||||||
Error: "OpenAPI Schema 오류",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Mask: {
|
Mask: {
|
||||||
Name: "마스크",
|
Name: "마스크",
|
||||||
Page: {
|
Page: {
|
||||||
@@ -804,61 +576,6 @@ const ko: PartialLocaleType = {
|
|||||||
Topic: "주제",
|
Topic: "주제",
|
||||||
Time: "시간",
|
Time: "시간",
|
||||||
},
|
},
|
||||||
SdPanel: {
|
|
||||||
Prompt: "프롬프트",
|
|
||||||
NegativePrompt: "부정적 프롬프트",
|
|
||||||
PleaseInput: (name: string) => `${name}을 입력하세요`,
|
|
||||||
AspectRatio: "비율",
|
|
||||||
ImageStyle: "이미지 스타일",
|
|
||||||
OutFormat: "출력 형식",
|
|
||||||
AIModel: "AI 모델",
|
|
||||||
ModelVersion: "모델 버전",
|
|
||||||
Submit: "제출",
|
|
||||||
ParamIsRequired: (name: string) => `${name}은 필수 입력 항목입니다`,
|
|
||||||
Styles: {
|
|
||||||
D3Model: "3d-model",
|
|
||||||
AnalogFilm: "analog-film",
|
|
||||||
Anime: "anime",
|
|
||||||
Cinematic: "cinematic",
|
|
||||||
ComicBook: "comic-book",
|
|
||||||
DigitalArt: "digital-art",
|
|
||||||
Enhance: "enhance",
|
|
||||||
FantasyArt: "fantasy-art",
|
|
||||||
Isometric: "isometric",
|
|
||||||
LineArt: "line-art",
|
|
||||||
LowPoly: "low-poly",
|
|
||||||
ModelingCompound: "modeling-compound",
|
|
||||||
NeonPunk: "neon-punk",
|
|
||||||
Origami: "origami",
|
|
||||||
Photographic: "photographic",
|
|
||||||
PixelArt: "pixel-art",
|
|
||||||
TileTexture: "tile-texture",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Sd: {
|
|
||||||
SubTitle: (count: number) => `${count} 개의 이미지`,
|
|
||||||
Actions: {
|
|
||||||
Params: "파라미터 보기",
|
|
||||||
Copy: "프롬프트 복사",
|
|
||||||
Delete: "삭제",
|
|
||||||
Retry: "다시 시도",
|
|
||||||
ReturnHome: "홈으로 돌아가기",
|
|
||||||
History: "기록",
|
|
||||||
},
|
|
||||||
EmptyRecord: "아직 이미지가 없습니다",
|
|
||||||
Status: {
|
|
||||||
Name: "상태",
|
|
||||||
Success: "성공",
|
|
||||||
Error: "오류",
|
|
||||||
Wait: "대기",
|
|
||||||
Running: "실행 중",
|
|
||||||
},
|
|
||||||
Danger: {
|
|
||||||
Delete: "삭제하시겠습니까?",
|
|
||||||
},
|
|
||||||
GenerateParams: "파라미터 생성",
|
|
||||||
Detail: "상세",
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default ko;
|
export default ko;
|
||||||
|
|||||||
@@ -433,17 +433,6 @@ const no: PartialLocaleType = {
|
|||||||
Title: "Egendefinert modellnavn",
|
Title: "Egendefinert modellnavn",
|
||||||
SubTitle: "Legg til egendefinerte modellalternativer, skill med komma",
|
SubTitle: "Legg til egendefinerte modellalternativer, skill med komma",
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "API-nøkkel",
|
|
||||||
SubTitle: "Bruk egendefinert 302.AI API-nøkkel",
|
|
||||||
Placeholder: "302.AI API-nøkkel",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "API-adresse",
|
|
||||||
SubTitle: "Eksempel:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
Model: "Modell",
|
Model: "Modell",
|
||||||
|
|||||||
@@ -359,17 +359,6 @@ const pt: PartialLocaleType = {
|
|||||||
SubTitle: "Verifique sua versão API do console Anthropic",
|
SubTitle: "Verifique sua versão API do console Anthropic",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Chave API 302.AI",
|
|
||||||
SubTitle: "Use uma chave API 302.AI personalizada",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Endpoint Address",
|
|
||||||
SubTitle: "Exemplo: ",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Modelos Personalizados",
|
Title: "Modelos Personalizados",
|
||||||
SubTitle: "Opções de modelo personalizado, separados por vírgula",
|
SubTitle: "Opções de modelo personalizado, separados por vírgula",
|
||||||
|
|||||||
@@ -426,17 +426,6 @@ const ru: PartialLocaleType = {
|
|||||||
SubTitle: "Пример:",
|
SubTitle: "Пример:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Ключ интерфейса",
|
|
||||||
SubTitle: "Использовать пользовательский 302.AI API-ключ",
|
|
||||||
Placeholder: "302.AI API-ключ",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Адрес интерфейса",
|
|
||||||
SubTitle: "Пример:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Название пользовательской модели",
|
Title: "Название пользовательской модели",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -381,17 +381,6 @@ const sk: PartialLocaleType = {
|
|||||||
SubTitle: "Vyberte špecifickú verziu časti",
|
SubTitle: "Vyberte špecifickú verziu časti",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "API kľúč",
|
|
||||||
SubTitle: "Použiť vlastný API kľúč 302.AI",
|
|
||||||
Placeholder: "302.AI API kľúč",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Adresa koncového bodu",
|
|
||||||
SubTitle: "Príklad:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
Model: "Model",
|
Model: "Model",
|
||||||
|
|||||||
@@ -426,17 +426,6 @@ const tr: PartialLocaleType = {
|
|||||||
SubTitle: "Örnek:",
|
SubTitle: "Örnek:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "API Anahtarı",
|
|
||||||
SubTitle: "Özelleştirilmiş 302.AI API Anahtarı kullanın",
|
|
||||||
Placeholder: "302.AI API Anahtarı",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "API Adresi",
|
|
||||||
SubTitle: "Örnek:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Özelleştirilmiş Model Adı",
|
Title: "Özelleştirilmiş Model Adı",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -382,17 +382,6 @@ const tw = {
|
|||||||
SubTitle: "選擇一個特定的 API 版本",
|
SubTitle: "選擇一個特定的 API 版本",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "API 金鑰",
|
|
||||||
SubTitle: "使用自訂 302.AI API 金鑰",
|
|
||||||
Placeholder: "302.AI API 金鑰",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "端點位址",
|
|
||||||
SubTitle: "範例:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "自訂模型名稱",
|
Title: "自訂模型名稱",
|
||||||
SubTitle: "增加自訂模型可選擇項目,使用英文逗號隔開",
|
SubTitle: "增加自訂模型可選擇項目,使用英文逗號隔開",
|
||||||
|
|||||||
@@ -422,17 +422,6 @@ const vi: PartialLocaleType = {
|
|||||||
SubTitle: "Ví dụ:",
|
SubTitle: "Ví dụ:",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
AI302: {
|
|
||||||
ApiKey: {
|
|
||||||
Title: "Khóa API 302.AI",
|
|
||||||
SubTitle: "Sử dụng khóa API 302.AI tùy chỉnh",
|
|
||||||
Placeholder: "302.AI API Key",
|
|
||||||
},
|
|
||||||
Endpoint: {
|
|
||||||
Title: "Địa chỉ giao diện",
|
|
||||||
SubTitle: "Ví dụ:",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
Title: "Tên mô hình tùy chỉnh",
|
Title: "Tên mô hình tùy chỉnh",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ import {
|
|||||||
XAI_BASE_URL,
|
XAI_BASE_URL,
|
||||||
CHATGLM_BASE_URL,
|
CHATGLM_BASE_URL,
|
||||||
SILICONFLOW_BASE_URL,
|
SILICONFLOW_BASE_URL,
|
||||||
AI302_BASE_URL,
|
|
||||||
} from "../constant";
|
} from "../constant";
|
||||||
import { getHeaders } from "../client/api";
|
import { getHeaders } from "../client/api";
|
||||||
import { getClientConfig } from "../config/client";
|
import { getClientConfig } from "../config/client";
|
||||||
@@ -60,8 +59,6 @@ const DEFAULT_SILICONFLOW_URL = isApp
|
|||||||
? SILICONFLOW_BASE_URL
|
? SILICONFLOW_BASE_URL
|
||||||
: ApiPath.SiliconFlow;
|
: ApiPath.SiliconFlow;
|
||||||
|
|
||||||
const DEFAULT_AI302_URL = isApp ? AI302_BASE_URL : ApiPath["302.AI"];
|
|
||||||
|
|
||||||
const DEFAULT_ACCESS_STATE = {
|
const DEFAULT_ACCESS_STATE = {
|
||||||
accessCode: "",
|
accessCode: "",
|
||||||
useCustomConfig: false,
|
useCustomConfig: false,
|
||||||
@@ -135,10 +132,6 @@ const DEFAULT_ACCESS_STATE = {
|
|||||||
siliconflowUrl: DEFAULT_SILICONFLOW_URL,
|
siliconflowUrl: DEFAULT_SILICONFLOW_URL,
|
||||||
siliconflowApiKey: "",
|
siliconflowApiKey: "",
|
||||||
|
|
||||||
// 302.AI
|
|
||||||
ai302Url: DEFAULT_AI302_URL,
|
|
||||||
ai302ApiKey: "",
|
|
||||||
|
|
||||||
// server config
|
// server config
|
||||||
needCode: true,
|
needCode: true,
|
||||||
hideUserApiKey: false,
|
hideUserApiKey: false,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
UPLOAD_URL,
|
UPLOAD_URL,
|
||||||
REQUEST_TIMEOUT_MS,
|
REQUEST_TIMEOUT_MS,
|
||||||
} from "@/app/constant";
|
} from "@/app/constant";
|
||||||
import { MultimodalContent, RequestMessage } from "@/app/client/api";
|
import { RequestMessage } from "@/app/client/api";
|
||||||
import Locale from "@/app/locales";
|
import Locale from "@/app/locales";
|
||||||
import {
|
import {
|
||||||
EventStreamContentType,
|
EventStreamContentType,
|
||||||
@@ -70,9 +70,8 @@ export function compressImage(file: Blob, maxSize: number): Promise<string> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function preProcessImageContentBase(
|
export async function preProcessImageContent(
|
||||||
content: RequestMessage["content"],
|
content: RequestMessage["content"],
|
||||||
transformImageUrl: (url: string) => Promise<{ [key: string]: any }>,
|
|
||||||
) {
|
) {
|
||||||
if (typeof content === "string") {
|
if (typeof content === "string") {
|
||||||
return content;
|
return content;
|
||||||
@@ -82,7 +81,7 @@ export async function preProcessImageContentBase(
|
|||||||
if (part?.type == "image_url" && part?.image_url?.url) {
|
if (part?.type == "image_url" && part?.image_url?.url) {
|
||||||
try {
|
try {
|
||||||
const url = await cacheImageToBase64Image(part?.image_url?.url);
|
const url = await cacheImageToBase64Image(part?.image_url?.url);
|
||||||
result.push(await transformImageUrl(url));
|
result.push({ type: part.type, image_url: { url } });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error processing image URL:", error);
|
console.error("Error processing image URL:", error);
|
||||||
}
|
}
|
||||||
@@ -93,23 +92,6 @@ export async function preProcessImageContentBase(
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function preProcessImageContent(
|
|
||||||
content: RequestMessage["content"],
|
|
||||||
) {
|
|
||||||
return preProcessImageContentBase(content, async (url) => ({
|
|
||||||
type: "image_url",
|
|
||||||
image_url: { url },
|
|
||||||
})) as Promise<MultimodalContent[] | string>;
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function preProcessImageContentForAlibabaDashScope(
|
|
||||||
content: RequestMessage["content"],
|
|
||||||
) {
|
|
||||||
return preProcessImageContentBase(content, async (url) => ({
|
|
||||||
image: url,
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
const imageCaches: Record<string, string> = {};
|
const imageCaches: Record<string, string> = {};
|
||||||
export function cacheImageToBase64Image(imageUrl: string) {
|
export function cacheImageToBase64Image(imageUrl: string) {
|
||||||
if (imageUrl.includes(CACHE_URL_PREFIX)) {
|
if (imageUrl.includes(CACHE_URL_PREFIX)) {
|
||||||
|
|||||||
@@ -34,6 +34,6 @@
|
|||||||
12. "저장 후 배포"를 클릭합니다.
|
12. "저장 후 배포"를 클릭합니다.
|
||||||
13. 호환성 플래그를 입력해야 하므로 "배포 취소"를 클릭합니다.
|
13. 호환성 플래그를 입력해야 하므로 "배포 취소"를 클릭합니다.
|
||||||
14. "빌드 설정", "기능"으로 이동하여 "호환성 플래그"를 찾습니다.
|
14. "빌드 설정", "기능"으로 이동하여 "호환성 플래그"를 찾습니다.
|
||||||
15. "프로덕션 호환성 플래그 구성" 및 "프리뷰 호환성 플래그 구성"에서 "nodejs_compat"를 입력합니다.
|
"프로덕션 호환성 플래그 구성" 및 "프리뷰 호환성 플래그 구성"에서 "nodejs_compat"를 입력합니다.
|
||||||
16. "배포"로 이동하여 "배포 다시 시도"를 클릭합니다.
|
16. "배포"로 이동하여 "배포 다시 시도"를 클릭합니다.
|
||||||
17. 즐기세요!
|
17. 즐기세요!
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
3. 프로젝트를 선택합니다.
|
3. 프로젝트를 선택합니다.
|
||||||
|
|
||||||

|

|
||||||
1. Git 리포지토리 가져오기에서 chatgpt-next-web을 검색합니다.
|
1. Git 리포지토리 가져오기에서 chatgpt-next-web을 검색합니다. 2. 새 포크를 선택합니다;
|
||||||
2. 새로 포크된 프로젝트를 선택하고 가져오기를 클릭합니다.
|
2. 새로 포크된 프로젝트를 선택하고 가져오기를 클릭합니다.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -15,8 +15,6 @@ const config: Config = {
|
|||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
"^@/(.*)$": "<rootDir>/$1",
|
"^@/(.*)$": "<rootDir>/$1",
|
||||||
},
|
},
|
||||||
extensionsToTreatAsEsm: [".ts", ".tsx"],
|
|
||||||
injectGlobals: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
|
// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
|
||||||
|
|||||||
@@ -1,22 +1,24 @@
|
|||||||
// Learn more: https://github.com/testing-library/jest-dom
|
// Learn more: https://github.com/testing-library/jest-dom
|
||||||
import "@testing-library/jest-dom";
|
import "@testing-library/jest-dom";
|
||||||
import { jest } from "@jest/globals";
|
|
||||||
|
|
||||||
global.fetch = jest.fn(() =>
|
global.fetch = jest.fn(() =>
|
||||||
Promise.resolve({
|
Promise.resolve({
|
||||||
ok: true,
|
ok: true,
|
||||||
status: 200,
|
status: 200,
|
||||||
json: () => Promise.resolve([]),
|
json: () => Promise.resolve({}),
|
||||||
headers: new Headers(),
|
headers: new Headers(),
|
||||||
redirected: false,
|
redirected: false,
|
||||||
statusText: "OK",
|
statusText: "OK",
|
||||||
type: "basic",
|
type: "basic",
|
||||||
url: "",
|
url: "",
|
||||||
|
clone: function () {
|
||||||
|
return this;
|
||||||
|
},
|
||||||
body: null,
|
body: null,
|
||||||
bodyUsed: false,
|
bodyUsed: false,
|
||||||
arrayBuffer: () => Promise.resolve(new ArrayBuffer(0)),
|
arrayBuffer: () => Promise.resolve(new ArrayBuffer(0)),
|
||||||
blob: () => Promise.resolve(new Blob()),
|
blob: () => Promise.resolve(new Blob()),
|
||||||
formData: () => Promise.resolve(new FormData()),
|
formData: () => Promise.resolve(new FormData()),
|
||||||
text: () => Promise.resolve(""),
|
text: () => Promise.resolve(""),
|
||||||
} as Response),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -17,13 +17,13 @@
|
|||||||
"prompts": "node ./scripts/fetch-prompts.mjs",
|
"prompts": "node ./scripts/fetch-prompts.mjs",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev",
|
"proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev",
|
||||||
"test": "node --no-warnings --experimental-vm-modules $(yarn bin jest) --watch",
|
"test": "jest --watch",
|
||||||
"test:ci": "node --no-warnings --experimental-vm-modules $(yarn bin jest) --ci"
|
"test:ci": "jest --ci"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortaine/fetch-event-source": "^3.0.6",
|
"@fortaine/fetch-event-source": "^3.0.6",
|
||||||
"@hello-pangea/dnd": "^16.5.0",
|
"@hello-pangea/dnd": "^16.5.0",
|
||||||
"@modelcontextprotocol/sdk": "^1.24.0",
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
||||||
"@next/third-parties": "^14.1.0",
|
"@next/third-parties": "^14.1.0",
|
||||||
"@svgr/webpack": "^6.5.1",
|
"@svgr/webpack": "^6.5.1",
|
||||||
"@vercel/analytics": "^0.1.11",
|
"@vercel/analytics": "^0.1.11",
|
||||||
|
|||||||
@@ -2,16 +2,16 @@
|
|||||||
{
|
{
|
||||||
"id": "dalle3",
|
"id": "dalle3",
|
||||||
"name": "Dalle3",
|
"name": "Dalle3",
|
||||||
"schema": "https://ghp.ci/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/dalle/openapi.json"
|
"schema": "https://cdn.jsdelivr.net/gh/ChatGPTNextWeb/NextChat-Awesome-Plugins@main/plugins/dalle/openapi.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "arxivsearch",
|
"id": "arxivsearch",
|
||||||
"name": "ArxivSearch",
|
"name": "ArxivSearch",
|
||||||
"schema": "https://ghp.ci/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/arxivsearch/openapi.json"
|
"schema": "https://cdn.jsdelivr.net/gh/ChatGPTNextWeb/NextChat-Awesome-Plugins@main/plugins/arxivsearch/openapi.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "duckduckgolite",
|
"id": "duckduckgolite",
|
||||||
"name": "DuckDuckGoLiteSearch",
|
"name": "DuckDuckGoLiteSearch",
|
||||||
"schema": "https://ghp.ci/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/duckduckgolite/openapi.json"
|
"schema": "https://cdn.jsdelivr.net/gh/ChatGPTNextWeb/NextChat-Awesome-Plugins@main/plugins/duckduckgolite/openapi.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,13 @@
|
|||||||
import fetch from "node-fetch";
|
import fetch from "node-fetch";
|
||||||
import fs from "fs/promises";
|
import fs from "fs/promises";
|
||||||
|
|
||||||
const RAW_FILE_URL = "https://raw.githubusercontent.com/";
|
const MIRRORF_FILE_URL = "https://cdn.jsdelivr.net/gh/";
|
||||||
const MIRRORF_FILE_URL = "http://raw.fgit.ml/";
|
|
||||||
|
|
||||||
const RAW_CN_URL = "PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh.json";
|
const RAW_CN_URL = "PlexPt/awesome-chatgpt-prompts-zh@main/prompts-zh.json";
|
||||||
const CN_URL = MIRRORF_FILE_URL + RAW_CN_URL;
|
const CN_URL = MIRRORF_FILE_URL + RAW_CN_URL;
|
||||||
const RAW_TW_URL = "PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh-TW.json";
|
const RAW_TW_URL = "PlexPt/awesome-chatgpt-prompts-zh@main/prompts-zh-TW.json";
|
||||||
const TW_URL = MIRRORF_FILE_URL + RAW_TW_URL;
|
const TW_URL = MIRRORF_FILE_URL + RAW_TW_URL;
|
||||||
const RAW_EN_URL = "f/awesome-chatgpt-prompts/main/prompts.csv";
|
const RAW_EN_URL = "f/awesome-chatgpt-prompts@main/prompts.csv";
|
||||||
const EN_URL = MIRRORF_FILE_URL + RAW_EN_URL;
|
const EN_URL = MIRRORF_FILE_URL + RAW_EN_URL;
|
||||||
const FILE = "./public/prompts.json";
|
const FILE = "./public/prompts.json";
|
||||||
|
|
||||||
@@ -84,11 +83,11 @@ async function fetchEN() {
|
|||||||
async function main() {
|
async function main() {
|
||||||
Promise.all([fetchCN(), fetchTW(), fetchEN()])
|
Promise.all([fetchCN(), fetchTW(), fetchEN()])
|
||||||
.then(([cn, tw, en]) => {
|
.then(([cn, tw, en]) => {
|
||||||
fs.writeFile(FILE, JSON.stringify({ cn, tw, en }));
|
fs.writeFile(FILE, JSON.stringify({ cn, tw, en }, null, 2));
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.error("[Fetch] failed to fetch prompts");
|
console.error("[Fetch] failed to fetch prompts");
|
||||||
fs.writeFile(FILE, JSON.stringify({ cn: [], tw: [], en: [] }));
|
fs.writeFile(FILE, JSON.stringify({ cn: [], tw: [], en: [] }, null, 2));
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
console.log("[Fetch] saved to " + FILE);
|
console.log("[Fetch] saved to " + FILE);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "NextChat",
|
"productName": "NextChat",
|
||||||
"version": "2.16.1"
|
"version": "2.15.8"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { jest } from "@jest/globals";
|
|
||||||
import { isVisionModel } from "../app/utils";
|
import { isVisionModel } from "../app/utils";
|
||||||
|
|
||||||
describe("isVisionModel", () => {
|
describe("isVisionModel", () => {
|
||||||
|
|||||||
560
yarn.lock
560
yarn.lock
@@ -1797,25 +1797,14 @@
|
|||||||
"@jridgewell/resolve-uri" "3.1.0"
|
"@jridgewell/resolve-uri" "3.1.0"
|
||||||
"@jridgewell/sourcemap-codec" "1.4.14"
|
"@jridgewell/sourcemap-codec" "1.4.14"
|
||||||
|
|
||||||
"@modelcontextprotocol/sdk@^1.24.0":
|
"@modelcontextprotocol/sdk@^1.0.4":
|
||||||
version "1.24.0"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.24.0.tgz#3bd1d539490d1d4228537ab815b8d854bc0e3143"
|
resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.0.4.tgz#34ad1edd3db7dd7154e782312dfb29d2d0c11d21"
|
||||||
integrity sha512-D8h5KXY2vHFW8zTuxn2vuZGN0HGrQ5No6LkHwlEA9trVgNdPL3TF1dSqKA7Dny6BbBYKSW/rOBDXdC8KJAjUCg==
|
integrity sha512-C+jw1lF6HSGzs7EZpzHbXfzz9rj9him4BaoumlTciW/IDDgIpweF/qiCWKlP02QKg5PPcgY6xY2WCt5y2tpYow==
|
||||||
dependencies:
|
dependencies:
|
||||||
ajv "^8.17.1"
|
|
||||||
ajv-formats "^3.0.1"
|
|
||||||
content-type "^1.0.5"
|
content-type "^1.0.5"
|
||||||
cors "^2.8.5"
|
|
||||||
cross-spawn "^7.0.5"
|
|
||||||
eventsource "^3.0.2"
|
|
||||||
eventsource-parser "^3.0.0"
|
|
||||||
express "^5.0.1"
|
|
||||||
express-rate-limit "^7.5.0"
|
|
||||||
jose "^6.1.1"
|
|
||||||
pkce-challenge "^5.0.0"
|
|
||||||
raw-body "^3.0.0"
|
raw-body "^3.0.0"
|
||||||
zod "^3.25 || ^4.0"
|
zod "^3.23.8"
|
||||||
zod-to-json-schema "^3.25.0"
|
|
||||||
|
|
||||||
"@next/env@14.1.1":
|
"@next/env@14.1.1":
|
||||||
version "14.1.1"
|
version "14.1.1"
|
||||||
@@ -2647,14 +2636,6 @@ abab@^2.0.6:
|
|||||||
resolved "https://registry.npmmirror.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291"
|
resolved "https://registry.npmmirror.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291"
|
||||||
integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==
|
integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==
|
||||||
|
|
||||||
accepts@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/accepts/-/accepts-2.0.0.tgz#bbcf4ba5075467f3f2131eab3cffc73c2f5d7895"
|
|
||||||
integrity sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==
|
|
||||||
dependencies:
|
|
||||||
mime-types "^3.0.0"
|
|
||||||
negotiator "^1.0.0"
|
|
||||||
|
|
||||||
acorn-globals@^7.0.0:
|
acorn-globals@^7.0.0:
|
||||||
version "7.0.1"
|
version "7.0.1"
|
||||||
resolved "https://registry.npmmirror.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3"
|
resolved "https://registry.npmmirror.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3"
|
||||||
@@ -2710,13 +2691,6 @@ aggregate-error@^3.0.0:
|
|||||||
clean-stack "^2.0.0"
|
clean-stack "^2.0.0"
|
||||||
indent-string "^4.0.0"
|
indent-string "^4.0.0"
|
||||||
|
|
||||||
ajv-formats@^3.0.1:
|
|
||||||
version "3.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-3.0.1.tgz#3d5dc762bca17679c3c2ea7e90ad6b7532309578"
|
|
||||||
integrity sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==
|
|
||||||
dependencies:
|
|
||||||
ajv "^8.0.0"
|
|
||||||
|
|
||||||
ajv-keywords@^3.5.2:
|
ajv-keywords@^3.5.2:
|
||||||
version "3.5.2"
|
version "3.5.2"
|
||||||
resolved "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
|
resolved "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
|
||||||
@@ -2732,16 +2706,6 @@ ajv@^6.12.4, ajv@^6.12.5:
|
|||||||
json-schema-traverse "^0.4.1"
|
json-schema-traverse "^0.4.1"
|
||||||
uri-js "^4.2.2"
|
uri-js "^4.2.2"
|
||||||
|
|
||||||
ajv@^8.0.0, ajv@^8.17.1:
|
|
||||||
version "8.17.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
|
|
||||||
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
|
|
||||||
dependencies:
|
|
||||||
fast-deep-equal "^3.1.3"
|
|
||||||
fast-uri "^3.0.1"
|
|
||||||
json-schema-traverse "^1.0.0"
|
|
||||||
require-from-string "^2.0.2"
|
|
||||||
|
|
||||||
ansi-escapes@^4.2.1, ansi-escapes@^4.3.0:
|
ansi-escapes@^4.2.1, ansi-escapes@^4.3.0:
|
||||||
version "4.3.2"
|
version "4.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
|
||||||
@@ -3015,21 +2979,6 @@ binary-extensions@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
||||||
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
||||||
|
|
||||||
body-parser@^2.2.1:
|
|
||||||
version "2.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.2.1.tgz#6df606b0eb0a6e3f783dde91dde182c24c82438c"
|
|
||||||
integrity sha512-nfDwkulwiZYQIGwxdy0RUmowMhKcFVcYXUU7m4QlKYim1rUtg83xm2yjZ40QjDuc291AJjjeSc9b++AWHSgSHw==
|
|
||||||
dependencies:
|
|
||||||
bytes "^3.1.2"
|
|
||||||
content-type "^1.0.5"
|
|
||||||
debug "^4.4.3"
|
|
||||||
http-errors "^2.0.0"
|
|
||||||
iconv-lite "^0.7.0"
|
|
||||||
on-finished "^2.4.1"
|
|
||||||
qs "^6.14.0"
|
|
||||||
raw-body "^3.0.1"
|
|
||||||
type-is "^2.0.1"
|
|
||||||
|
|
||||||
boolbase@^1.0.0:
|
boolbase@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||||
@@ -3099,19 +3048,11 @@ busboy@1.6.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
streamsearch "^1.1.0"
|
streamsearch "^1.1.0"
|
||||||
|
|
||||||
bytes@^3.1.2, bytes@~3.1.2:
|
bytes@3.1.2:
|
||||||
version "3.1.2"
|
version "3.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
|
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
|
||||||
integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==
|
integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==
|
||||||
|
|
||||||
call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6"
|
|
||||||
integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==
|
|
||||||
dependencies:
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
function-bind "^1.1.2"
|
|
||||||
|
|
||||||
call-bind@^1.0.0, call-bind@^1.0.2:
|
call-bind@^1.0.0, call-bind@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
|
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
|
||||||
@@ -3120,14 +3061,6 @@ call-bind@^1.0.0, call-bind@^1.0.2:
|
|||||||
function-bind "^1.1.1"
|
function-bind "^1.1.1"
|
||||||
get-intrinsic "^1.0.2"
|
get-intrinsic "^1.0.2"
|
||||||
|
|
||||||
call-bound@^1.0.2:
|
|
||||||
version "1.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a"
|
|
||||||
integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==
|
|
||||||
dependencies:
|
|
||||||
call-bind-apply-helpers "^1.0.2"
|
|
||||||
get-intrinsic "^1.3.0"
|
|
||||||
|
|
||||||
callsites@^3.0.0:
|
callsites@^3.0.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
|
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
|
||||||
@@ -3144,9 +3077,9 @@ camelcase@^6.2.0:
|
|||||||
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
|
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
|
||||||
|
|
||||||
caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001503, caniuse-lite@^1.0.30001579, caniuse-lite@^1.0.30001646:
|
caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001503, caniuse-lite@^1.0.30001579, caniuse-lite@^1.0.30001646:
|
||||||
version "1.0.30001724"
|
version "1.0.30001692"
|
||||||
resolved "https://mirrors.huaweicloud.com/repository/npm/caniuse-lite/-/caniuse-lite-1.0.30001724.tgz"
|
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001692.tgz"
|
||||||
integrity sha512-WqJo7p0TbHDOythNTqYujmaJTvtYRZrjpP8TCvH6Vb9CYJerJNKamKzIWOM4BkQatWj9H2lYulpdAQNBe7QhNA==
|
integrity sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==
|
||||||
|
|
||||||
ccount@^2.0.0:
|
ccount@^2.0.0:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
@@ -3361,11 +3294,6 @@ concurrently@^8.2.2:
|
|||||||
tree-kill "^1.2.2"
|
tree-kill "^1.2.2"
|
||||||
yargs "^17.7.2"
|
yargs "^17.7.2"
|
||||||
|
|
||||||
content-disposition@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.1.tgz#a8b7bbeb2904befdfb6787e5c0c086959f605f9b"
|
|
||||||
integrity sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q==
|
|
||||||
|
|
||||||
content-type@^1.0.5:
|
content-type@^1.0.5:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
|
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
|
||||||
@@ -3381,16 +3309,6 @@ convert-source-map@^2.0.0:
|
|||||||
resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
|
resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
|
||||||
integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==
|
integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==
|
||||||
|
|
||||||
cookie-signature@^1.2.1:
|
|
||||||
version "1.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.2.2.tgz#57c7fc3cc293acab9fec54d73e15690ebe4a1793"
|
|
||||||
integrity sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==
|
|
||||||
|
|
||||||
cookie@^0.7.1:
|
|
||||||
version "0.7.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7"
|
|
||||||
integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==
|
|
||||||
|
|
||||||
core-js-compat@^3.25.1:
|
core-js-compat@^3.25.1:
|
||||||
version "3.29.1"
|
version "3.29.1"
|
||||||
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.29.1.tgz#15c0fb812ea27c973c18d425099afa50b934b41b"
|
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.29.1.tgz#15c0fb812ea27c973c18d425099afa50b934b41b"
|
||||||
@@ -3398,14 +3316,6 @@ core-js-compat@^3.25.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
browserslist "^4.21.5"
|
browserslist "^4.21.5"
|
||||||
|
|
||||||
cors@^2.8.5:
|
|
||||||
version "2.8.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29"
|
|
||||||
integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==
|
|
||||||
dependencies:
|
|
||||||
object-assign "^4"
|
|
||||||
vary "^1"
|
|
||||||
|
|
||||||
cose-base@^1.0.0:
|
cose-base@^1.0.0:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.npmmirror.com/cose-base/-/cose-base-1.0.3.tgz#650334b41b869578a543358b80cda7e0abe0a60a"
|
resolved "https://registry.npmmirror.com/cose-base/-/cose-base-1.0.3.tgz#650334b41b869578a543358b80cda7e0abe0a60a"
|
||||||
@@ -3456,10 +3366,10 @@ cross-env@^7.0.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
cross-spawn "^7.0.1"
|
cross-spawn "^7.0.1"
|
||||||
|
|
||||||
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3, cross-spawn@^7.0.5:
|
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
||||||
version "7.0.6"
|
version "7.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
|
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
||||||
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
|
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
|
||||||
dependencies:
|
dependencies:
|
||||||
path-key "^3.1.0"
|
path-key "^3.1.0"
|
||||||
shebang-command "^2.0.0"
|
shebang-command "^2.0.0"
|
||||||
@@ -3883,13 +3793,6 @@ debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ms "2.1.2"
|
ms "2.1.2"
|
||||||
|
|
||||||
debug@^4.3.5, debug@^4.4.0, debug@^4.4.3:
|
|
||||||
version "4.4.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a"
|
|
||||||
integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==
|
|
||||||
dependencies:
|
|
||||||
ms "^2.1.3"
|
|
||||||
|
|
||||||
decimal.js@^10.4.2:
|
decimal.js@^10.4.2:
|
||||||
version "10.4.3"
|
version "10.4.3"
|
||||||
resolved "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23"
|
resolved "https://registry.npmmirror.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23"
|
||||||
@@ -3960,7 +3863,7 @@ delayed-stream@~1.0.0:
|
|||||||
resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
|
resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
|
||||||
integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
|
integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
|
||||||
|
|
||||||
depd@^2.0.0, depd@~2.0.0:
|
depd@2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
|
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
|
||||||
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==
|
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==
|
||||||
@@ -4068,25 +3971,11 @@ domutils@^2.8.0:
|
|||||||
domelementtype "^2.2.0"
|
domelementtype "^2.2.0"
|
||||||
domhandler "^4.2.0"
|
domhandler "^4.2.0"
|
||||||
|
|
||||||
dunder-proto@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a"
|
|
||||||
integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==
|
|
||||||
dependencies:
|
|
||||||
call-bind-apply-helpers "^1.0.1"
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
gopd "^1.2.0"
|
|
||||||
|
|
||||||
eastasianwidth@^0.2.0:
|
eastasianwidth@^0.2.0:
|
||||||
version "0.2.0"
|
version "0.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
|
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
|
||||||
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
|
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
|
||||||
|
|
||||||
ee-first@1.1.1:
|
|
||||||
version "1.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
|
|
||||||
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==
|
|
||||||
|
|
||||||
electron-to-chromium@^1.4.284:
|
electron-to-chromium@^1.4.284:
|
||||||
version "1.4.345"
|
version "1.4.345"
|
||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.345.tgz#c90b7183b39245cddf0e990337469063bfced6f0"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.345.tgz#c90b7183b39245cddf0e990337469063bfced6f0"
|
||||||
@@ -4129,11 +4018,6 @@ emoji-regex@^9.2.2:
|
|||||||
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
|
||||||
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
|
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
|
||||||
|
|
||||||
encodeurl@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58"
|
|
||||||
integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==
|
|
||||||
|
|
||||||
enhanced-resolve@^5.12.0:
|
enhanced-resolve@^5.12.0:
|
||||||
version "5.12.0"
|
version "5.12.0"
|
||||||
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634"
|
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634"
|
||||||
@@ -4207,16 +4091,6 @@ es-abstract@^1.19.0, es-abstract@^1.20.4:
|
|||||||
unbox-primitive "^1.0.2"
|
unbox-primitive "^1.0.2"
|
||||||
which-typed-array "^1.1.9"
|
which-typed-array "^1.1.9"
|
||||||
|
|
||||||
es-define-property@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa"
|
|
||||||
integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==
|
|
||||||
|
|
||||||
es-errors@^1.3.0:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f"
|
|
||||||
integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==
|
|
||||||
|
|
||||||
es-get-iterator@^1.1.2:
|
es-get-iterator@^1.1.2:
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6"
|
resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6"
|
||||||
@@ -4237,13 +4111,6 @@ es-module-lexer@^1.2.1:
|
|||||||
resolved "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-1.3.0.tgz#6be9c9e0b4543a60cd166ff6f8b4e9dae0b0c16f"
|
resolved "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-1.3.0.tgz#6be9c9e0b4543a60cd166ff6f8b4e9dae0b0c16f"
|
||||||
integrity sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==
|
integrity sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==
|
||||||
|
|
||||||
es-object-atoms@^1.0.0, es-object-atoms@^1.1.1:
|
|
||||||
version "1.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1"
|
|
||||||
integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==
|
|
||||||
dependencies:
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
|
|
||||||
es-set-tostringtag@^2.0.1:
|
es-set-tostringtag@^2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8"
|
resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8"
|
||||||
@@ -4308,11 +4175,6 @@ escalade@^3.1.2:
|
|||||||
resolved "https://registry.npmmirror.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27"
|
resolved "https://registry.npmmirror.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27"
|
||||||
integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==
|
integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==
|
||||||
|
|
||||||
escape-html@^1.0.3:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
|
|
||||||
integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==
|
|
||||||
|
|
||||||
escape-string-regexp@^1.0.5:
|
escape-string-regexp@^1.0.5:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||||
@@ -4472,14 +4334,14 @@ eslint-plugin-react@^7.31.7:
|
|||||||
|
|
||||||
eslint-plugin-unused-imports@^3.2.0:
|
eslint-plugin-unused-imports@^3.2.0:
|
||||||
version "3.2.0"
|
version "3.2.0"
|
||||||
resolved "https://mirrors.huaweicloud.com/repository/npm/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.2.0.tgz#63a98c9ad5f622cd9f830f70bc77739f25ccfe0d"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.2.0.tgz#63a98c9ad5f622cd9f830f70bc77739f25ccfe0d"
|
||||||
integrity sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==
|
integrity sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint-rule-composer "^0.3.0"
|
eslint-rule-composer "^0.3.0"
|
||||||
|
|
||||||
eslint-rule-composer@^0.3.0:
|
eslint-rule-composer@^0.3.0:
|
||||||
version "0.3.0"
|
version "0.3.0"
|
||||||
resolved "https://mirrors.huaweicloud.com/repository/npm/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
|
resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
|
||||||
integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==
|
integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==
|
||||||
|
|
||||||
eslint-scope@5.1.1:
|
eslint-scope@5.1.1:
|
||||||
@@ -4589,28 +4451,11 @@ esutils@^2.0.2:
|
|||||||
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
|
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
|
||||||
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
|
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
|
||||||
|
|
||||||
etag@^1.8.1:
|
|
||||||
version "1.8.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
|
|
||||||
integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==
|
|
||||||
|
|
||||||
events@^3.2.0:
|
events@^3.2.0:
|
||||||
version "3.3.0"
|
version "3.3.0"
|
||||||
resolved "https://registry.npmmirror.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
|
resolved "https://registry.npmmirror.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
|
||||||
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
|
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
|
||||||
|
|
||||||
eventsource-parser@^3.0.0, eventsource-parser@^3.0.1:
|
|
||||||
version "3.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/eventsource-parser/-/eventsource-parser-3.0.6.tgz#292e165e34cacbc936c3c92719ef326d4aeb4e90"
|
|
||||||
integrity sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==
|
|
||||||
|
|
||||||
eventsource@^3.0.2:
|
|
||||||
version "3.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-3.0.7.tgz#1157622e2f5377bb6aef2114372728ba0c156989"
|
|
||||||
integrity sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==
|
|
||||||
dependencies:
|
|
||||||
eventsource-parser "^3.0.1"
|
|
||||||
|
|
||||||
exec-sh@^0.2.0:
|
exec-sh@^0.2.0:
|
||||||
version "0.2.2"
|
version "0.2.2"
|
||||||
resolved "https://registry.npmmirror.com/exec-sh/-/exec-sh-0.2.2.tgz#2a5e7ffcbd7d0ba2755bdecb16e5a427dfbdec36"
|
resolved "https://registry.npmmirror.com/exec-sh/-/exec-sh-0.2.2.tgz#2a5e7ffcbd7d0ba2755bdecb16e5a427dfbdec36"
|
||||||
@@ -4664,45 +4509,6 @@ expect@^29.0.0, expect@^29.7.0:
|
|||||||
jest-message-util "^29.7.0"
|
jest-message-util "^29.7.0"
|
||||||
jest-util "^29.7.0"
|
jest-util "^29.7.0"
|
||||||
|
|
||||||
express-rate-limit@^7.5.0:
|
|
||||||
version "7.5.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.5.1.tgz#8c3a42f69209a3a1c969890070ece9e20a879dec"
|
|
||||||
integrity sha512-7iN8iPMDzOMHPUYllBEsQdWVB6fPDMPqwjBaFrgr4Jgr/+okjvzAy+UHlYYL/Vs0OsOrMkwS6PJDkFlJwoxUnw==
|
|
||||||
|
|
||||||
express@^5.0.1:
|
|
||||||
version "5.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/express/-/express-5.2.1.tgz#8f21d15b6d327f92b4794ecf8cb08a72f956ac04"
|
|
||||||
integrity sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==
|
|
||||||
dependencies:
|
|
||||||
accepts "^2.0.0"
|
|
||||||
body-parser "^2.2.1"
|
|
||||||
content-disposition "^1.0.0"
|
|
||||||
content-type "^1.0.5"
|
|
||||||
cookie "^0.7.1"
|
|
||||||
cookie-signature "^1.2.1"
|
|
||||||
debug "^4.4.0"
|
|
||||||
depd "^2.0.0"
|
|
||||||
encodeurl "^2.0.0"
|
|
||||||
escape-html "^1.0.3"
|
|
||||||
etag "^1.8.1"
|
|
||||||
finalhandler "^2.1.0"
|
|
||||||
fresh "^2.0.0"
|
|
||||||
http-errors "^2.0.0"
|
|
||||||
merge-descriptors "^2.0.0"
|
|
||||||
mime-types "^3.0.0"
|
|
||||||
on-finished "^2.4.1"
|
|
||||||
once "^1.4.0"
|
|
||||||
parseurl "^1.3.3"
|
|
||||||
proxy-addr "^2.0.7"
|
|
||||||
qs "^6.14.0"
|
|
||||||
range-parser "^1.2.1"
|
|
||||||
router "^2.2.0"
|
|
||||||
send "^1.1.0"
|
|
||||||
serve-static "^2.2.0"
|
|
||||||
statuses "^2.0.1"
|
|
||||||
type-is "^2.0.1"
|
|
||||||
vary "^1.1.2"
|
|
||||||
|
|
||||||
extend@^3.0.0:
|
extend@^3.0.0:
|
||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
|
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
|
||||||
@@ -4739,11 +4545,6 @@ fast-levenshtein@^2.0.6:
|
|||||||
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
|
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
|
||||||
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
|
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
|
||||||
|
|
||||||
fast-uri@^3.0.1:
|
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.0.tgz#66eecff6c764c0df9b762e62ca7edcfb53b4edfa"
|
|
||||||
integrity sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==
|
|
||||||
|
|
||||||
fastq@^1.6.0:
|
fastq@^1.6.0:
|
||||||
version "1.15.0"
|
version "1.15.0"
|
||||||
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a"
|
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a"
|
||||||
@@ -4787,18 +4588,6 @@ fill-range@^7.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
to-regex-range "^5.0.1"
|
to-regex-range "^5.0.1"
|
||||||
|
|
||||||
finalhandler@^2.1.0:
|
|
||||||
version "2.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.1.tgz#a2c517a6559852bcdb06d1f8bd7f51b68fad8099"
|
|
||||||
integrity sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==
|
|
||||||
dependencies:
|
|
||||||
debug "^4.4.0"
|
|
||||||
encodeurl "^2.0.0"
|
|
||||||
escape-html "^1.0.3"
|
|
||||||
on-finished "^2.4.1"
|
|
||||||
parseurl "^1.3.3"
|
|
||||||
statuses "^2.0.1"
|
|
||||||
|
|
||||||
find-up@^4.0.0, find-up@^4.1.0:
|
find-up@^4.0.0, find-up@^4.1.0:
|
||||||
version "4.1.0"
|
version "4.1.0"
|
||||||
resolved "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
|
resolved "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
|
||||||
@@ -4866,16 +4655,6 @@ formdata-polyfill@^4.0.10:
|
|||||||
dependencies:
|
dependencies:
|
||||||
fetch-blob "^3.1.2"
|
fetch-blob "^3.1.2"
|
||||||
|
|
||||||
forwarded@0.2.0:
|
|
||||||
version "0.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
|
|
||||||
integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==
|
|
||||||
|
|
||||||
fresh@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4"
|
|
||||||
integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==
|
|
||||||
|
|
||||||
fs.realpath@^1.0.0:
|
fs.realpath@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
||||||
@@ -4940,35 +4719,11 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@
|
|||||||
has "^1.0.3"
|
has "^1.0.3"
|
||||||
has-symbols "^1.0.3"
|
has-symbols "^1.0.3"
|
||||||
|
|
||||||
get-intrinsic@^1.2.5, get-intrinsic@^1.3.0:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01"
|
|
||||||
integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==
|
|
||||||
dependencies:
|
|
||||||
call-bind-apply-helpers "^1.0.2"
|
|
||||||
es-define-property "^1.0.1"
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
es-object-atoms "^1.1.1"
|
|
||||||
function-bind "^1.1.2"
|
|
||||||
get-proto "^1.0.1"
|
|
||||||
gopd "^1.2.0"
|
|
||||||
has-symbols "^1.1.0"
|
|
||||||
hasown "^2.0.2"
|
|
||||||
math-intrinsics "^1.1.0"
|
|
||||||
|
|
||||||
get-package-type@^0.1.0:
|
get-package-type@^0.1.0:
|
||||||
version "0.1.0"
|
version "0.1.0"
|
||||||
resolved "https://registry.npmmirror.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
|
resolved "https://registry.npmmirror.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
|
||||||
integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==
|
integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==
|
||||||
|
|
||||||
get-proto@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1"
|
|
||||||
integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==
|
|
||||||
dependencies:
|
|
||||||
dunder-proto "^1.0.1"
|
|
||||||
es-object-atoms "^1.0.0"
|
|
||||||
|
|
||||||
get-stream@^6.0.0, get-stream@^6.0.1:
|
get-stream@^6.0.0, get-stream@^6.0.1:
|
||||||
version "6.0.1"
|
version "6.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
||||||
@@ -5086,11 +4841,6 @@ gopd@^1.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
get-intrinsic "^1.1.3"
|
get-intrinsic "^1.1.3"
|
||||||
|
|
||||||
gopd@^1.2.0:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1"
|
|
||||||
integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==
|
|
||||||
|
|
||||||
graceful-fs@^4.1.2, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.9:
|
graceful-fs@^4.1.2, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.9:
|
||||||
version "4.2.11"
|
version "4.2.11"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
|
||||||
@@ -5133,11 +4883,6 @@ has-symbols@^1.0.2, has-symbols@^1.0.3:
|
|||||||
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8"
|
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8"
|
||||||
integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==
|
integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==
|
||||||
|
|
||||||
has-symbols@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338"
|
|
||||||
integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==
|
|
||||||
|
|
||||||
has-tostringtag@^1.0.0:
|
has-tostringtag@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"
|
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"
|
||||||
@@ -5281,16 +5026,16 @@ html-to-image@^1.11.11:
|
|||||||
resolved "https://registry.npmmirror.com/html-to-image/-/html-to-image-1.11.11.tgz#c0f8a34dc9e4b97b93ff7ea286eb8562642ebbea"
|
resolved "https://registry.npmmirror.com/html-to-image/-/html-to-image-1.11.11.tgz#c0f8a34dc9e4b97b93ff7ea286eb8562642ebbea"
|
||||||
integrity sha512-9gux8QhvjRO/erSnDPv28noDZcPZmYE7e1vFsBLKLlRlKDSqNJYebj6Qz1TGd5lsRV+X+xYyjCKjuZdABinWjA==
|
integrity sha512-9gux8QhvjRO/erSnDPv28noDZcPZmYE7e1vFsBLKLlRlKDSqNJYebj6Qz1TGd5lsRV+X+xYyjCKjuZdABinWjA==
|
||||||
|
|
||||||
http-errors@^2.0.0, http-errors@~2.0.1:
|
http-errors@2.0.0:
|
||||||
version "2.0.1"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.1.tgz#36d2f65bc909c8790018dd36fb4d93da6caae06b"
|
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3"
|
||||||
integrity sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==
|
integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
depd "~2.0.0"
|
depd "2.0.0"
|
||||||
inherits "~2.0.4"
|
inherits "2.0.4"
|
||||||
setprototypeof "~1.2.0"
|
setprototypeof "1.2.0"
|
||||||
statuses "~2.0.2"
|
statuses "2.0.1"
|
||||||
toidentifier "~1.0.1"
|
toidentifier "1.0.1"
|
||||||
|
|
||||||
http-proxy-agent@^5.0.0:
|
http-proxy-agent@^5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
@@ -5331,13 +5076,6 @@ iconv-lite@0.6, iconv-lite@0.6.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
safer-buffer ">= 2.1.2 < 3.0.0"
|
safer-buffer ">= 2.1.2 < 3.0.0"
|
||||||
|
|
||||||
iconv-lite@^0.7.0, iconv-lite@~0.7.0:
|
|
||||||
version "0.7.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.0.tgz#c50cd80e6746ca8115eb98743afa81aa0e147a3e"
|
|
||||||
integrity sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==
|
|
||||||
dependencies:
|
|
||||||
safer-buffer ">= 2.1.2 < 3.0.0"
|
|
||||||
|
|
||||||
idb-keyval@^6.2.1:
|
idb-keyval@^6.2.1:
|
||||||
version "6.2.1"
|
version "6.2.1"
|
||||||
resolved "https://registry.npmmirror.com/idb-keyval/-/idb-keyval-6.2.1.tgz#94516d625346d16f56f3b33855da11bfded2db33"
|
resolved "https://registry.npmmirror.com/idb-keyval/-/idb-keyval-6.2.1.tgz#94516d625346d16f56f3b33855da11bfded2db33"
|
||||||
@@ -5387,7 +5125,7 @@ inflight@^1.0.4:
|
|||||||
once "^1.3.0"
|
once "^1.3.0"
|
||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
inherits@2, inherits@~2.0.4:
|
inherits@2, inherits@2.0.4:
|
||||||
version "2.0.4"
|
version "2.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
||||||
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
||||||
@@ -5416,11 +5154,6 @@ internmap@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/internmap/-/internmap-1.0.1.tgz#0017cc8a3b99605f0302f2b198d272e015e5df95"
|
resolved "https://registry.yarnpkg.com/internmap/-/internmap-1.0.1.tgz#0017cc8a3b99605f0302f2b198d272e015e5df95"
|
||||||
integrity sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==
|
integrity sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==
|
||||||
|
|
||||||
ipaddr.js@1.9.1:
|
|
||||||
version "1.9.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3"
|
|
||||||
integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==
|
|
||||||
|
|
||||||
is-arguments@^1.1.1:
|
is-arguments@^1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b"
|
resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b"
|
||||||
@@ -5560,11 +5293,6 @@ is-potential-custom-element-name@^1.0.1:
|
|||||||
resolved "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5"
|
resolved "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5"
|
||||||
integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==
|
integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==
|
||||||
|
|
||||||
is-promise@^4.0.0:
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3"
|
|
||||||
integrity sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==
|
|
||||||
|
|
||||||
is-regex@^1.1.4:
|
is-regex@^1.1.4:
|
||||||
version "1.1.4"
|
version "1.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
|
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
|
||||||
@@ -6084,11 +5812,6 @@ jest@^29.7.0:
|
|||||||
import-local "^3.0.2"
|
import-local "^3.0.2"
|
||||||
jest-cli "^29.7.0"
|
jest-cli "^29.7.0"
|
||||||
|
|
||||||
jose@^6.1.1:
|
|
||||||
version "6.1.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/jose/-/jose-6.1.3.tgz#8453d7be88af7bb7d64a0481d6a35a0145ba3ea5"
|
|
||||||
integrity sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==
|
|
||||||
|
|
||||||
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
|
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
|
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
|
||||||
@@ -6161,11 +5884,6 @@ json-schema-traverse@^0.4.1:
|
|||||||
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
|
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
|
||||||
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
|
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
|
||||||
|
|
||||||
json-schema-traverse@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"
|
|
||||||
integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==
|
|
||||||
|
|
||||||
json-stable-stringify-without-jsonify@^1.0.1:
|
json-stable-stringify-without-jsonify@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
|
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
|
||||||
@@ -6435,11 +6153,6 @@ marked@^4.0.14:
|
|||||||
resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3"
|
resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3"
|
||||||
integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==
|
integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==
|
||||||
|
|
||||||
math-intrinsics@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9"
|
|
||||||
integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==
|
|
||||||
|
|
||||||
mdast-util-definitions@^5.0.0:
|
mdast-util-definitions@^5.0.0:
|
||||||
version "5.1.2"
|
version "5.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz#9910abb60ac5d7115d6819b57ae0bcef07a3f7a7"
|
resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz#9910abb60ac5d7115d6819b57ae0bcef07a3f7a7"
|
||||||
@@ -6592,21 +6305,11 @@ mdn-data@2.0.14:
|
|||||||
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
|
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
|
||||||
integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==
|
integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==
|
||||||
|
|
||||||
media-typer@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561"
|
|
||||||
integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==
|
|
||||||
|
|
||||||
memoize-one@^6.0.0:
|
memoize-one@^6.0.0:
|
||||||
version "6.0.0"
|
version "6.0.0"
|
||||||
resolved "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045"
|
resolved "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045"
|
||||||
integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==
|
integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==
|
||||||
|
|
||||||
merge-descriptors@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-2.0.0.tgz#ea922f660635a2249ee565e0449f951e6b603808"
|
|
||||||
integrity sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==
|
|
||||||
|
|
||||||
merge-stream@^2.0.0:
|
merge-stream@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
|
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
|
||||||
@@ -6949,11 +6652,6 @@ mime-db@1.52.0:
|
|||||||
resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
|
resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
|
||||||
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
|
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
|
||||||
|
|
||||||
mime-db@^1.54.0:
|
|
||||||
version "1.54.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5"
|
|
||||||
integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==
|
|
||||||
|
|
||||||
mime-types@^2.1.12, mime-types@^2.1.27:
|
mime-types@^2.1.12, mime-types@^2.1.27:
|
||||||
version "2.1.35"
|
version "2.1.35"
|
||||||
resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
|
resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
|
||||||
@@ -6961,13 +6659,6 @@ mime-types@^2.1.12, mime-types@^2.1.27:
|
|||||||
dependencies:
|
dependencies:
|
||||||
mime-db "1.52.0"
|
mime-db "1.52.0"
|
||||||
|
|
||||||
mime-types@^3.0.0, mime-types@^3.0.1:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.2.tgz#39002d4182575d5af036ffa118100f2524b2e2ab"
|
|
||||||
integrity sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==
|
|
||||||
dependencies:
|
|
||||||
mime-db "^1.54.0"
|
|
||||||
|
|
||||||
mimic-fn@^2.1.0:
|
mimic-fn@^2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
|
||||||
@@ -7005,7 +6696,7 @@ ms@2.1.2:
|
|||||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
||||||
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
||||||
|
|
||||||
ms@^2.1.1, ms@^2.1.3:
|
ms@^2.1.1:
|
||||||
version "2.1.3"
|
version "2.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
|
||||||
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
||||||
@@ -7025,11 +6716,6 @@ natural-compare@^1.4.0:
|
|||||||
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
||||||
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
||||||
|
|
||||||
negotiator@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a"
|
|
||||||
integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==
|
|
||||||
|
|
||||||
neo-async@^2.6.2:
|
neo-async@^2.6.2:
|
||||||
version "2.6.2"
|
version "2.6.2"
|
||||||
resolved "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
|
resolved "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
|
||||||
@@ -7128,7 +6814,7 @@ nwsapi@^2.2.2:
|
|||||||
resolved "https://registry.npmmirror.com/nwsapi/-/nwsapi-2.2.12.tgz#fb6af5c0ec35b27b4581eb3bbad34ec9e5c696f8"
|
resolved "https://registry.npmmirror.com/nwsapi/-/nwsapi-2.2.12.tgz#fb6af5c0ec35b27b4581eb3bbad34ec9e5c696f8"
|
||||||
integrity sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==
|
integrity sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==
|
||||||
|
|
||||||
object-assign@^4, object-assign@^4.1.1:
|
object-assign@^4.1.1:
|
||||||
version "4.1.1"
|
version "4.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
|
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
|
||||||
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
|
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
|
||||||
@@ -7138,11 +6824,6 @@ object-inspect@^1.12.3, object-inspect@^1.9.0:
|
|||||||
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9"
|
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9"
|
||||||
integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==
|
integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==
|
||||||
|
|
||||||
object-inspect@^1.13.3:
|
|
||||||
version "1.13.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213"
|
|
||||||
integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==
|
|
||||||
|
|
||||||
object-is@^1.1.5:
|
object-is@^1.1.5:
|
||||||
version "1.1.5"
|
version "1.1.5"
|
||||||
resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac"
|
resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac"
|
||||||
@@ -7201,14 +6882,7 @@ object.values@^1.1.6:
|
|||||||
define-properties "^1.1.4"
|
define-properties "^1.1.4"
|
||||||
es-abstract "^1.20.4"
|
es-abstract "^1.20.4"
|
||||||
|
|
||||||
on-finished@^2.4.1:
|
once@^1.3.0:
|
||||||
version "2.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f"
|
|
||||||
integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==
|
|
||||||
dependencies:
|
|
||||||
ee-first "1.1.1"
|
|
||||||
|
|
||||||
once@^1.3.0, once@^1.4.0:
|
|
||||||
version "1.4.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||||
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
|
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
|
||||||
@@ -7319,11 +6993,6 @@ parse5@^7.0.0, parse5@^7.1.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
entities "^4.4.0"
|
entities "^4.4.0"
|
||||||
|
|
||||||
parseurl@^1.3.3:
|
|
||||||
version "1.3.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
|
|
||||||
integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==
|
|
||||||
|
|
||||||
path-exists@^4.0.0:
|
path-exists@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
|
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
|
||||||
@@ -7349,11 +7018,6 @@ path-parse@^1.0.7:
|
|||||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
||||||
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
||||||
|
|
||||||
path-to-regexp@^8.0.0:
|
|
||||||
version "8.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.3.0.tgz#aa818a6981f99321003a08987d3cec9c3474cd1f"
|
|
||||||
integrity sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==
|
|
||||||
|
|
||||||
path-type@^4.0.0:
|
path-type@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
|
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
|
||||||
@@ -7384,11 +7048,6 @@ pirates@^4.0.4:
|
|||||||
resolved "https://registry.npmmirror.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9"
|
resolved "https://registry.npmmirror.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9"
|
||||||
integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==
|
integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==
|
||||||
|
|
||||||
pkce-challenge@^5.0.0:
|
|
||||||
version "5.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/pkce-challenge/-/pkce-challenge-5.0.1.tgz#3b4446865b17b1745e9ace2016a31f48ddf6230d"
|
|
||||||
integrity sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==
|
|
||||||
|
|
||||||
pkg-dir@^4.2.0:
|
pkg-dir@^4.2.0:
|
||||||
version "4.2.0"
|
version "4.2.0"
|
||||||
resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
|
resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
|
||||||
@@ -7462,14 +7121,6 @@ property-information@^6.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.2.0.tgz#b74f522c31c097b5149e3c3cb8d7f3defd986a1d"
|
resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.2.0.tgz#b74f522c31c097b5149e3c3cb8d7f3defd986a1d"
|
||||||
integrity sha512-kma4U7AFCTwpqq5twzC1YVIDXSqg6qQK6JN0smOw8fgRy1OkMi0CYSzFmsy6dnqSenamAtj0CyXMUJ1Mf6oROg==
|
integrity sha512-kma4U7AFCTwpqq5twzC1YVIDXSqg6qQK6JN0smOw8fgRy1OkMi0CYSzFmsy6dnqSenamAtj0CyXMUJ1Mf6oROg==
|
||||||
|
|
||||||
proxy-addr@^2.0.7:
|
|
||||||
version "2.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"
|
|
||||||
integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==
|
|
||||||
dependencies:
|
|
||||||
forwarded "0.2.0"
|
|
||||||
ipaddr.js "1.9.1"
|
|
||||||
|
|
||||||
proxy-from-env@^1.1.0:
|
proxy-from-env@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
|
resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
|
||||||
@@ -7495,13 +7146,6 @@ pure-rand@^6.0.0:
|
|||||||
resolved "https://registry.npmmirror.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2"
|
resolved "https://registry.npmmirror.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2"
|
||||||
integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==
|
integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==
|
||||||
|
|
||||||
qs@^6.14.0:
|
|
||||||
version "6.14.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.0.tgz#c63fa40680d2c5c941412a0e899c89af60c0a930"
|
|
||||||
integrity sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==
|
|
||||||
dependencies:
|
|
||||||
side-channel "^1.1.0"
|
|
||||||
|
|
||||||
querystringify@^2.1.1:
|
querystringify@^2.1.1:
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
resolved "https://registry.npmmirror.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"
|
resolved "https://registry.npmmirror.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"
|
||||||
@@ -7524,20 +7168,15 @@ randombytes@^2.1.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
safe-buffer "^5.1.0"
|
safe-buffer "^5.1.0"
|
||||||
|
|
||||||
range-parser@^1.2.1:
|
raw-body@^3.0.0:
|
||||||
version "1.2.1"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
|
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.0.tgz#25b3476f07a51600619dae3fe82ddc28a36e5e0f"
|
||||||
integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
|
integrity sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==
|
||||||
|
|
||||||
raw-body@^3.0.0, raw-body@^3.0.1:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.2.tgz#3e3ada5ae5568f9095d84376fd3a49b8fb000a51"
|
|
||||||
integrity sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
bytes "~3.1.2"
|
bytes "3.1.2"
|
||||||
http-errors "~2.0.1"
|
http-errors "2.0.0"
|
||||||
iconv-lite "~0.7.0"
|
iconv-lite "0.6.3"
|
||||||
unpipe "~1.0.0"
|
unpipe "1.0.0"
|
||||||
|
|
||||||
react-dom@^18.2.0:
|
react-dom@^18.2.0:
|
||||||
version "18.2.0"
|
version "18.2.0"
|
||||||
@@ -7767,11 +7406,6 @@ require-directory@^2.1.1:
|
|||||||
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
|
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
|
||||||
integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
|
integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
|
||||||
|
|
||||||
require-from-string@^2.0.2:
|
|
||||||
version "2.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"
|
|
||||||
integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==
|
|
||||||
|
|
||||||
requires-port@^1.0.0:
|
requires-port@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
|
resolved "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
|
||||||
@@ -7861,17 +7495,6 @@ robust-predicates@^3.0.0:
|
|||||||
resolved "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.1.tgz#ecde075044f7f30118682bd9fb3f123109577f9a"
|
resolved "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.1.tgz#ecde075044f7f30118682bd9fb3f123109577f9a"
|
||||||
integrity sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==
|
integrity sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==
|
||||||
|
|
||||||
router@^2.2.0:
|
|
||||||
version "2.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/router/-/router-2.2.0.tgz#019be620b711c87641167cc79b99090f00b146ef"
|
|
||||||
integrity sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==
|
|
||||||
dependencies:
|
|
||||||
debug "^4.4.0"
|
|
||||||
depd "^2.0.0"
|
|
||||||
is-promise "^4.0.0"
|
|
||||||
parseurl "^1.3.3"
|
|
||||||
path-to-regexp "^8.0.0"
|
|
||||||
|
|
||||||
"rt-client@https://github.com/Azure-Samples/aoai-realtime-audio-sdk/releases/download/js/v0.5.0/rt-client-0.5.0.tgz":
|
"rt-client@https://github.com/Azure-Samples/aoai-realtime-audio-sdk/releases/download/js/v0.5.0/rt-client-0.5.0.tgz":
|
||||||
version "0.5.0"
|
version "0.5.0"
|
||||||
resolved "https://github.com/Azure-Samples/aoai-realtime-audio-sdk/releases/download/js/v0.5.0/rt-client-0.5.0.tgz#abf2e9a850201e3571b8d36830f77bc52af3de9b"
|
resolved "https://github.com/Azure-Samples/aoai-realtime-audio-sdk/releases/download/js/v0.5.0/rt-client-0.5.0.tgz#abf2e9a850201e3571b8d36830f77bc52af3de9b"
|
||||||
@@ -7979,23 +7602,6 @@ semver@^7.5.4:
|
|||||||
dependencies:
|
dependencies:
|
||||||
lru-cache "^6.0.0"
|
lru-cache "^6.0.0"
|
||||||
|
|
||||||
send@^1.1.0, send@^1.2.0:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/send/-/send-1.2.0.tgz#32a7554fb777b831dfa828370f773a3808d37212"
|
|
||||||
integrity sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==
|
|
||||||
dependencies:
|
|
||||||
debug "^4.3.5"
|
|
||||||
encodeurl "^2.0.0"
|
|
||||||
escape-html "^1.0.3"
|
|
||||||
etag "^1.8.1"
|
|
||||||
fresh "^2.0.0"
|
|
||||||
http-errors "^2.0.0"
|
|
||||||
mime-types "^3.0.1"
|
|
||||||
ms "^2.1.3"
|
|
||||||
on-finished "^2.4.1"
|
|
||||||
range-parser "^1.2.1"
|
|
||||||
statuses "^2.0.1"
|
|
||||||
|
|
||||||
serialize-javascript@^6.0.1:
|
serialize-javascript@^6.0.1:
|
||||||
version "6.0.1"
|
version "6.0.1"
|
||||||
resolved "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c"
|
resolved "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c"
|
||||||
@@ -8003,17 +7609,7 @@ serialize-javascript@^6.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
randombytes "^2.1.0"
|
randombytes "^2.1.0"
|
||||||
|
|
||||||
serve-static@^2.2.0:
|
setprototypeof@1.2.0:
|
||||||
version "2.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.0.tgz#9c02564ee259bdd2251b82d659a2e7e1938d66f9"
|
|
||||||
integrity sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==
|
|
||||||
dependencies:
|
|
||||||
encodeurl "^2.0.0"
|
|
||||||
escape-html "^1.0.3"
|
|
||||||
parseurl "^1.3.3"
|
|
||||||
send "^1.2.0"
|
|
||||||
|
|
||||||
setprototypeof@~1.2.0:
|
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
|
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
|
||||||
integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==
|
integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==
|
||||||
@@ -8035,35 +7631,6 @@ shell-quote@^1.8.1:
|
|||||||
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680"
|
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680"
|
||||||
integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==
|
integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==
|
||||||
|
|
||||||
side-channel-list@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad"
|
|
||||||
integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==
|
|
||||||
dependencies:
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
object-inspect "^1.13.3"
|
|
||||||
|
|
||||||
side-channel-map@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42"
|
|
||||||
integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==
|
|
||||||
dependencies:
|
|
||||||
call-bound "^1.0.2"
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
get-intrinsic "^1.2.5"
|
|
||||||
object-inspect "^1.13.3"
|
|
||||||
|
|
||||||
side-channel-weakmap@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz#11dda19d5368e40ce9ec2bdc1fb0ecbc0790ecea"
|
|
||||||
integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==
|
|
||||||
dependencies:
|
|
||||||
call-bound "^1.0.2"
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
get-intrinsic "^1.2.5"
|
|
||||||
object-inspect "^1.13.3"
|
|
||||||
side-channel-map "^1.0.1"
|
|
||||||
|
|
||||||
side-channel@^1.0.4:
|
side-channel@^1.0.4:
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
|
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
|
||||||
@@ -8073,17 +7640,6 @@ side-channel@^1.0.4:
|
|||||||
get-intrinsic "^1.0.2"
|
get-intrinsic "^1.0.2"
|
||||||
object-inspect "^1.9.0"
|
object-inspect "^1.9.0"
|
||||||
|
|
||||||
side-channel@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9"
|
|
||||||
integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==
|
|
||||||
dependencies:
|
|
||||||
es-errors "^1.3.0"
|
|
||||||
object-inspect "^1.13.3"
|
|
||||||
side-channel-list "^1.0.0"
|
|
||||||
side-channel-map "^1.0.1"
|
|
||||||
side-channel-weakmap "^1.0.2"
|
|
||||||
|
|
||||||
signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:
|
signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:
|
||||||
version "3.0.7"
|
version "3.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
|
||||||
@@ -8188,10 +7744,10 @@ stack-utils@^2.0.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
escape-string-regexp "^2.0.0"
|
escape-string-regexp "^2.0.0"
|
||||||
|
|
||||||
statuses@^2.0.1, statuses@~2.0.2:
|
statuses@2.0.1:
|
||||||
version "2.0.2"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.2.tgz#8f75eecef765b5e1cfcdc080da59409ed424e382"
|
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63"
|
||||||
integrity sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==
|
integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==
|
||||||
|
|
||||||
stop-iteration-iterator@^1.0.0:
|
stop-iteration-iterator@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
@@ -8471,7 +8027,7 @@ to-regex-range@^5.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-number "^7.0.0"
|
is-number "^7.0.0"
|
||||||
|
|
||||||
toidentifier@~1.0.1:
|
toidentifier@1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
|
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
|
||||||
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==
|
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==
|
||||||
@@ -8589,15 +8145,6 @@ type-fest@^0.21.3:
|
|||||||
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
|
||||||
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
|
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
|
||||||
|
|
||||||
type-is@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97"
|
|
||||||
integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==
|
|
||||||
dependencies:
|
|
||||||
content-type "^1.0.5"
|
|
||||||
media-typer "^1.1.0"
|
|
||||||
mime-types "^3.0.0"
|
|
||||||
|
|
||||||
typed-array-length@^1.0.4:
|
typed-array-length@^1.0.4:
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb"
|
resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb"
|
||||||
@@ -8609,7 +8156,7 @@ typed-array-length@^1.0.4:
|
|||||||
|
|
||||||
typescript@5.2.2:
|
typescript@5.2.2:
|
||||||
version "5.2.2"
|
version "5.2.2"
|
||||||
resolved "https://mirrors.huaweicloud.com/repository/npm/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
|
||||||
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
|
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
|
||||||
|
|
||||||
unbox-primitive@^1.0.2:
|
unbox-primitive@^1.0.2:
|
||||||
@@ -8727,7 +8274,7 @@ universalify@^0.2.0:
|
|||||||
resolved "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
|
resolved "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
|
||||||
integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==
|
integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==
|
||||||
|
|
||||||
unpipe@~1.0.0:
|
unpipe@1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
|
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
|
||||||
integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==
|
integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==
|
||||||
@@ -8815,11 +8362,6 @@ v8-to-istanbul@^9.0.1:
|
|||||||
"@types/istanbul-lib-coverage" "^2.0.1"
|
"@types/istanbul-lib-coverage" "^2.0.1"
|
||||||
convert-source-map "^2.0.0"
|
convert-source-map "^2.0.0"
|
||||||
|
|
||||||
vary@^1, vary@^1.1.2:
|
|
||||||
version "1.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
|
|
||||||
integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==
|
|
||||||
|
|
||||||
vfile-location@^4.0.0:
|
vfile-location@^4.0.0:
|
||||||
version "4.1.0"
|
version "4.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.1.0.tgz#69df82fb9ef0a38d0d02b90dd84620e120050dd0"
|
resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.1.0.tgz#69df82fb9ef0a38d0d02b90dd84620e120050dd0"
|
||||||
@@ -9090,21 +8632,11 @@ yocto-queue@^0.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
|
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
|
||||||
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
|
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
|
||||||
|
|
||||||
zod-to-json-schema@^3.25.0:
|
zod@^3.23.8, zod@^3.24.1:
|
||||||
version "3.25.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/zod-to-json-schema/-/zod-to-json-schema-3.25.0.tgz#df504c957c4fb0feff467c74d03e6aab0b013e1c"
|
|
||||||
integrity sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==
|
|
||||||
|
|
||||||
zod@^3.24.1:
|
|
||||||
version "3.24.1"
|
version "3.24.1"
|
||||||
resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.1.tgz#27445c912738c8ad1e9de1bea0359fa44d9d35ee"
|
resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.1.tgz#27445c912738c8ad1e9de1bea0359fa44d9d35ee"
|
||||||
integrity sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==
|
integrity sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==
|
||||||
|
|
||||||
"zod@^3.25 || ^4.0":
|
|
||||||
version "4.1.13"
|
|
||||||
resolved "https://registry.yarnpkg.com/zod/-/zod-4.1.13.tgz#93699a8afe937ba96badbb0ce8be6033c0a4b6b1"
|
|
||||||
integrity sha512-AvvthqfqrAhNH9dnfmrfKzX5upOdjUVJYFqNSlkmGf64gRaTzlPwz99IHYnVs28qYAybvAlBV+H7pn0saFY4Ig==
|
|
||||||
|
|
||||||
zustand@^4.3.8:
|
zustand@^4.3.8:
|
||||||
version "4.3.8"
|
version "4.3.8"
|
||||||
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.8.tgz#37113df8e9e1421b0be1b2dca02b49b76210e7c4"
|
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.8.tgz#37113df8e9e1421b0be1b2dca02b49b76210e7c4"
|
||||||
|
|||||||
Reference in New Issue
Block a user