同步完整源码 - 2026-05-25

This commit is contained in:
xiaoxue
2026-05-25 00:32:15 +08:00
commit e5bf3bb195
413 changed files with 126720 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# VuePress 默认临时文件目录
.vuepress/.temp
# VuePress 默认缓存目录
.vuepress/.cache
# VuePress 默认构建生成的静态文件目录
.vuepress/dist
+51
View File
@@ -0,0 +1,51 @@
import { viteBundler } from '@vuepress/bundler-vite'
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress'
export default defineUserConfig({
bundler: viteBundler(),
theme: defaultTheme({
// 默认主题配置
navbar: [
{
text: '首页',
link: '/',
},
],
sidebar: [
{
text: '项目介绍',
link: '/',
},
{
text: '指南',
children: [
{
text: '快速开始',
link: '/guide/quick-start.md',
},
{
text: '安装MCP',
link: '/guide/mcp.md',
},
{
text: '内置MCP',
link: '/guide/builtin-mcp.md',
},
{
text: '进阶',
link: '/guide/advanced.md',
children: [
{
text: '变量',
link: '/guide/var.md',
},
],
},
],
},
],
}),
port: 18080,
})
+12
View File
@@ -0,0 +1,12 @@
---
lang: zh-CN
title: HyperChat
description:
---
# HyperChat
HyperChat 设计理念是:
* 1.一个开源的Chat客户端,支持MCP,可以使用各家LLM的API,实现最好的Chat体验。
* 2.实现本机Agent + 任务系统,由AI帮忙完成任务。
+27
View File
@@ -0,0 +1,27 @@
这个项目在3个月前就开始开发了,去年`Claude`才出MCP协议的时候,我就觉这个很厉害,然后,当时`Claude`账号立马也被封了,就搞了这个开源项目,目标是最佳的Chat体验+实现AI生产力。
介绍一下这个Chat项目的核心吧:我理解的 `Agent =智能(大模型)+Tool+记忆`。所以这样才能帮人完成任务`Task`来实现生产力,这个软件也是贯彻这思想。
1. HyperChat添加Agent时候,支持选择MCP Tool,通过系统提示词,定义Agent![image](https://github.com/user-attachments/assets/3fa6ec84-7e29-4df1-a149-3f672332629d)
2. 支持添加Task,定时通过发送消息的方式,调用Agent完成任务,同时支持Web Api方式调用 ![image](https://github.com/user-attachments/assets/de5328f9-3b7c-483d-956f-c76aebd564cd)
3. 支持Agent Call Agent,把Agent看做一个智能体,同时通过内置的MCP,通过发消息的方式,调用另一个Agent(比如,这个4o-mini,本来答不对9.8和9.11的,但是,我要他call `Gemini Think` Agent回答,他就会了。) ![image](https://github.com/user-attachments/assets/4201af2d-8fe2-427a-8ca4-a25595fc2aa8)
这就是这个软件是核心了,虽然他是一个Chat软件,但是核心是Agent,创建Agent和它聊天+调用工具。ps:我上面说的`Agent =智能(大模型)+Tool+记忆`,还有记忆没有很好的解决,目前没啥好用的办法,RAG的知识库实在是不咋地,以后会关注技术进步。
HyperChat特点
1. 一切皆MCP的概念,内置了4个常用的MCP,把知识库封装成MCP,别的应该没这么搞
- 常用工具(网页+谷歌+Bing搜索+获取时间)
- 知识库,(使用那个知识库都可以让大模型选择,还可以让它把内容添加到知识库)
- Agent相关 (支持Call Agent,新建Task)
- 命令行 (命令行MCP,为什么内置?这个mcp很难安装,你可以让他执行命令 or ssh,很好用)![image](https://github.com/user-attachments/assets/954c6eaf-7c38-47de-bccd-a89dc48ef438)
2. 基于Web,可以脱离electron,可以用命令行运行`npx -y @dadigua/hyper-chat`,或者docker。
- 支持了H5适配,可以端口映射,通过Web在任何设备访问,包括手机。
- 可设置访问密码,安全访问。
- 可以通过Web接口调用软件的功能,比如,你可以把它当成一个MCP Tool网关
3. 极致的Chat理念,现在其他的Chat软件输入框一大堆按钮,我总是感觉这样不太对劲,比如连个网搜索,还要点一下联网搜索按钮,首先我认为应该是模型决定回答这个问题是不是要联网么,这里我把搜索封装一个MCP工具,让模型决定是否调用工具,如何模型决定错了,我加上提示词让他记得使用工具。`就像龙珠里面许愿一样,发送消息就够了。`所以这里我想到了必须支持快速输入提示词,HyperChat通过一个@,可以快速输入Agent名称+快速输入短语,完成提示词 ![image](https://github.com/user-attachments/assets/0b42b361-a85e-40b3-9604-37b67be59f13)![image](https://github.com/user-attachments/assets/2a38f7bc-41fe-4360-bc74-aabddbdc73de)
+10
View File
@@ -0,0 +1,10 @@
---
lang: zh-CN
title: 高级用法
description:
---
#### HyperChat 高级用法
* 变量使用
* 定时任务
+29
View File
@@ -0,0 +1,29 @@
---
lang: zh-CN
title: 内置MCP
description: 内置MCP的安装和使用指南
---
#### HyperChat 内置MCP目前有5个
为了帮助大家使用,以下是内置MCP的详细介绍:
![alt text](image-13.png)
### 1. **hyper_tools**
hypertools 内置3个工具
- current_time: 获取当前时间
- fetch 打开页面,获取页面数据
- search 使用搜索引擎搜索,支持谷歌和必应
#### hyper_tools设置
![alt text](image-15.png)
* Web_Tools_Platform可以设置,使用chrome打开页面,或者electron打开页面,或者禁用关于网页相关的内容。
![alt text](image-17.png)
* SearchEngine,设置搜索引擎,支持谷歌和必应
![alt text](image-16.png)
* 其他还可以设置,是否调用远程的chrome打开网页,等
### 2. **hyper_knowledge_base**
这个是内置知识库相关的mcp,可以通过mcp添加知识库内容,不过,内置的知识库还是实验版本,可以等以后完善。
### 3. **hyper_agent**
Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

+42
View File
@@ -0,0 +1,42 @@
---
lang: zh-CN
title: MCP安装
description:
---
#### HyperChat 安装MCP,支持`stdio`,`sse`,`streamableHttp`,支持启用,禁用,同步MCP。
#### 点击添加
![alt text](image-7.png)
### stdio类型的添加
HyperChat添加mcp,和其他的客户端一样,只是把,`command` 和 `args` ,放在一起填入,用空格分开。如图,一一对应。
```
{
"command": "npx",
"args": [
"-y",
"@amap/amap-maps-mcp-server"
],
"env": {
"AMAP_MAPS_API_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxx"
},
}
```
![alt text](image-8.png)
### `sse`和`streamableHttp`类型的添加
![alt text](image-9.png)
### MCP启用,禁用
![alt text](image-10.png)
### MCP同步
通过MCP,同步这mcp配置
![alt text](image-12.png)
+23
View File
@@ -0,0 +1,23 @@
---
lang: zh-CN
title: 快速开始
description:
---
### 添加LLM的ApiKey.
![alt text](image.png)
![alt text](image-3.png)
#### 工具模式,一般默认就行。标准,用tools参数传递工具,如果,类似开源的大模型,Qwen3,通过返回的内容里的`<tooluse>`通过正则表达式获取参数,这种方式类似cline。
![alt text](image-2.png)
#### 点击提交,会帮你测试llm的能力
![alt text](image-4.png)
#### 开始聊天
![alt text](image-1.png)
View File