feat: 支持开关指定内置插件

This commit is contained in:
Hk-Gosuto
2023-09-04 21:59:42 +08:00
parent c5cc16ca09
commit c9c5ab2a9b
17 changed files with 909 additions and 8 deletions

32
app/plugins/cn.ts Normal file
View File

@@ -0,0 +1,32 @@
import { BuiltinPlugin } from "./typing";
export const CN_PLUGINS: BuiltinPlugin[] = [
{
name: "搜索引擎",
toolName: "web-search",
lang: "cn",
description: "搜索引擎的网络搜索功能工具。",
builtin: true,
createdAt: 1693744292000,
enable: true,
},
{
name: "计算器",
toolName: "calculator",
lang: "cn",
description: "计算器是一个用于计算数学表达式的工具。",
builtin: true,
createdAt: 1693744292000,
enable: true,
},
{
name: "网页浏览器",
toolName: "web-browser",
lang: "cn",
description:
"一个用于与网页进行交互的工具,可以从网页中提取信息或总结其内容。",
builtin: true,
createdAt: 1693744292000,
enable: true,
},
];