@next-open-ai/openclawx 0.8.36 → 0.8.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -42
- package/apps/desktop/renderer/dist/assets/index-BHY1xIZQ.css +10 -0
- package/apps/desktop/renderer/dist/assets/index-DQxlVuBe.js +93 -0
- package/apps/desktop/renderer/dist/index.html +2 -2
- package/dist/cli/cli.js +29 -0
- package/dist/cli/extension-cmd.d.ts +15 -0
- package/dist/cli/extension-cmd.js +107 -0
- package/dist/core/agent/agent-dir.d.ts +6 -0
- package/dist/core/agent/agent-dir.js +8 -0
- package/dist/core/agent/agent-manager.d.ts +13 -0
- package/dist/core/agent/agent-manager.js +77 -7
- package/dist/core/agent/proxy/adapters/claude-code-adapter.d.ts +2 -0
- package/dist/core/agent/proxy/adapters/claude-code-adapter.js +186 -0
- package/dist/core/agent/proxy/adapters/local-adapter.js +3 -1
- package/dist/core/agent/proxy/adapters/opencode-adapter.js +65 -29
- package/dist/core/agent/proxy/adapters/opencode-local-runner.js +9 -0
- package/dist/core/agent/proxy/index.js +2 -0
- package/dist/core/agent/token-usage-log-extension.d.ts +14 -0
- package/dist/core/agent/token-usage-log-extension.js +61 -0
- package/dist/core/config/desktop-config.d.ts +24 -2
- package/dist/core/config/desktop-config.js +87 -10
- package/dist/core/config/provider-support-default.js +26 -0
- package/dist/core/extensions/index.d.ts +1 -0
- package/dist/core/extensions/index.js +1 -0
- package/dist/core/extensions/load.d.ts +11 -0
- package/dist/core/extensions/load.js +101 -0
- package/dist/core/local-llm-server/index.d.ts +32 -0
- package/dist/core/local-llm-server/index.js +126 -0
- package/dist/core/local-llm-server/llm-context.d.ts +60 -0
- package/dist/core/local-llm-server/llm-context.js +221 -0
- package/dist/core/local-llm-server/model-resolve.d.ts +20 -0
- package/dist/core/local-llm-server/model-resolve.js +58 -0
- package/dist/core/local-llm-server/server.d.ts +1 -0
- package/dist/core/local-llm-server/server.js +235 -0
- package/dist/core/mcp/adapter.d.ts +4 -2
- package/dist/core/mcp/adapter.js +10 -4
- package/dist/core/mcp/index.d.ts +2 -0
- package/dist/core/mcp/index.js +1 -0
- package/dist/core/mcp/operator.d.ts +2 -0
- package/dist/core/mcp/operator.js +1 -1
- package/dist/core/memory/local-embedding.d.ts +4 -3
- package/dist/core/memory/local-embedding.js +43 -3
- package/dist/core/tools/index.d.ts +1 -0
- package/dist/core/tools/index.js +1 -0
- package/dist/core/tools/truncate-result.d.ts +14 -0
- package/dist/core/tools/truncate-result.js +27 -0
- package/dist/core/tools/web-search/create-web-search-tool.d.ts +17 -0
- package/dist/core/tools/web-search/create-web-search-tool.js +87 -0
- package/dist/core/tools/web-search/index.d.ts +4 -0
- package/dist/core/tools/web-search/index.js +2 -0
- package/dist/core/tools/web-search/providers/brave.d.ts +2 -0
- package/dist/core/tools/web-search/providers/brave.js +87 -0
- package/dist/core/tools/web-search/providers/duck-duck-scrape.d.ts +2 -0
- package/dist/core/tools/web-search/providers/duck-duck-scrape.js +47 -0
- package/dist/core/tools/web-search/providers/index.d.ts +5 -0
- package/dist/core/tools/web-search/providers/index.js +13 -0
- package/dist/core/tools/web-search/types.d.ts +35 -0
- package/dist/core/tools/web-search/types.js +4 -0
- package/dist/gateway/methods/agent-chat.js +74 -42
- package/dist/gateway/methods/run-scheduled-task.js +2 -0
- package/dist/gateway/server.js +54 -1
- package/dist/server/agent-config/agent-config.controller.d.ts +1 -1
- package/dist/server/agent-config/agent-config.service.d.ts +17 -3
- package/dist/server/agent-config/agent-config.service.js +23 -0
- package/dist/server/config/config.controller.d.ts +84 -4
- package/dist/server/config/config.controller.js +135 -3
- package/dist/server/config/config.module.js +3 -2
- package/dist/server/config/config.service.d.ts +14 -0
- package/dist/server/config/local-models.service.d.ts +52 -0
- package/dist/server/config/local-models.service.js +211 -0
- package/package.json +3 -1
- package/presets/preset-agents.json +121 -91
- package/presets/recommended-local-models.json +42 -0
- package/presets/workspaces/finance-expert/skills/akshare-helper/SKILL.md +9 -0
- package/presets/workspaces/office-automation/skills/rpa-helper/SKILL.md +9 -0
- package/presets/workspaces/self-media-bot/skills/self-media-tools/SKILL.md +9 -0
- package/apps/desktop/renderer/dist/assets/index-BGHtXhm3.js +0 -89
- package/apps/desktop/renderer/dist/assets/index-CB2-m4ae.css +0 -10
|
@@ -1,94 +1,124 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
2
|
+
"presetVersion": "1.0",
|
|
3
|
+
"agents": [
|
|
4
|
+
{
|
|
5
|
+
"id": "default",
|
|
6
|
+
"name": "主智能体",
|
|
7
|
+
"workspace": "default",
|
|
8
|
+
"systemPrompt": "我是你的私人智能助手,全能且乐于助人。无论是日常问答、文档撰写、数据整理还是代码协助,我都能为你提供专业的支持。我会用清晰、友好的语言与你交流,并尽力给出最准确的解答。",
|
|
9
|
+
"icon": "default",
|
|
10
|
+
"runnerType": "local",
|
|
11
|
+
"useLongMemory": true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "opencode",
|
|
15
|
+
"name": "OpenCode",
|
|
16
|
+
"workspace": "opencode",
|
|
17
|
+
"systemPrompt": "我是 OpenCode 代理智能体,通过 OpenCode 官方服务为你提供编程与代码协助,支持 /init、/undo、/redo、/share、/help 等指令。",
|
|
18
|
+
"icon": "code",
|
|
19
|
+
"runnerType": "opencode",
|
|
20
|
+
"opencode": {
|
|
21
|
+
"mode": "local",
|
|
22
|
+
"port": 4096,
|
|
23
|
+
"model": "opencode/minimax-m2.5-free"
|
|
24
|
+
},
|
|
25
|
+
"useLongMemory": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "coze-proxy",
|
|
29
|
+
"name": "Coze 代理",
|
|
30
|
+
"workspace": "coze-proxy",
|
|
31
|
+
"systemPrompt": "我是 Coze 代理智能体,将对话转发至 Coze 平台 Bot。使用前请在设置中填写正确的 Bot ID 与 Access Token。",
|
|
32
|
+
"icon": "star",
|
|
33
|
+
"runnerType": "coze",
|
|
34
|
+
"coze": {
|
|
35
|
+
"region": "cn",
|
|
36
|
+
"cn": {
|
|
37
|
+
"botId": "placeholder-bot-id",
|
|
38
|
+
"apiKey": "placeholder-pat-token"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"useLongMemory": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "file-assistant",
|
|
45
|
+
"name": "文件助手",
|
|
46
|
+
"workspace": "file-assistant",
|
|
47
|
+
"systemPrompt": "你是本地文件管理助手,擅长搜索、整理、格式转换和内容提取。操作前先确认路径和意图,不要删除未经用户确认的文件。",
|
|
48
|
+
"icon": "folder",
|
|
49
|
+
"runnerType": "local",
|
|
50
|
+
"useLongMemory": true
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "doc-assistant",
|
|
54
|
+
"name": "文档助手",
|
|
55
|
+
"workspace": "doc-assistant",
|
|
56
|
+
"systemPrompt": "你是专业的文档排版与生成助手,精通各类文档(如 Word、PDF、Markdown、Excel、PPT 脚本)的格式和规范。你可以帮助用户从现有文档中提取信息,或者根据用户需求生成结构完整、格式精美的专业文档和报告。生成文档前,请先明确目标格式、受众和核心内容。",
|
|
57
|
+
"icon": "📝",
|
|
58
|
+
"runnerType": "local",
|
|
59
|
+
"useLongMemory": true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "finance-expert",
|
|
63
|
+
"name": "金融专家",
|
|
64
|
+
"workspace": "finance-expert",
|
|
65
|
+
"systemPrompt": "你是金融数据分析专家,擅长通过 akshare 等工具获取行情、财报、资金流向等数据,并进行分析与解读。请注明数据来源与时效,结论仅供参考不构成投资建议。",
|
|
66
|
+
"icon": "star",
|
|
67
|
+
"runnerType": "local",
|
|
68
|
+
"useLongMemory": true,
|
|
69
|
+
"mcpServers": {
|
|
70
|
+
"akshare-tools": {
|
|
71
|
+
"command": "npx",
|
|
72
|
+
"args": ["-y", "akshare-tools"],
|
|
73
|
+
"env": {}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "self-media-bot",
|
|
79
|
+
"name": "自媒体运营机器人",
|
|
80
|
+
"workspace": "self-media-bot",
|
|
81
|
+
"systemPrompt": "你是自媒体运营助手,协助内容创作、排版与多平台发布。支持通过文颜 MCP 将 Markdown 排版并发布至微信公众号、知乎、今日头条等,以及头条自动发布。使用前请确认用户已配置好对应环境变量(如 WECHAT_APP_ID、WECHAT_APP_SECRET 等)。",
|
|
82
|
+
"icon": "✏️",
|
|
83
|
+
"runnerType": "local",
|
|
84
|
+
"useLongMemory": true,
|
|
85
|
+
"mcpServers": {
|
|
86
|
+
"文颜 MCP": {
|
|
87
|
+
"command": "npx",
|
|
88
|
+
"args": ["-y", "@wenyan-md/mcp"],
|
|
89
|
+
"env": {}
|
|
83
90
|
},
|
|
84
|
-
{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
"头条自动发布 MCP": {
|
|
92
|
+
"command": "npx",
|
|
93
|
+
"args": ["-y", "toutiao-publish-mcp"],
|
|
94
|
+
"env": {}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "office-automation",
|
|
100
|
+
"name": "办公自动化",
|
|
101
|
+
"workspace": "office-automation",
|
|
102
|
+
"systemPrompt": "你是办公自动化助手,通过影刀 RPA 执行桌面自动化流程,如打开应用、填表、批量处理等。使用前请确认本机已安装影刀 RPA 并配置好 MCP 所需环境变量(如 RPA_MODEL、SHADOWBOT_PATH、USER_FOLDER 等)。",
|
|
103
|
+
"icon": "terminal",
|
|
104
|
+
"runnerType": "local",
|
|
105
|
+
"useLongMemory": true,
|
|
106
|
+
"mcpServers": {
|
|
107
|
+
"影刀 RPA MCP Server": {
|
|
108
|
+
"command": "npx",
|
|
109
|
+
"args": ["-y", "yingdao-mcp-server"],
|
|
110
|
+
"env": {}
|
|
92
111
|
}
|
|
93
|
-
|
|
94
|
-
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "morning-briefing",
|
|
116
|
+
"name": "早报机器人",
|
|
117
|
+
"workspace": "morning-briefing",
|
|
118
|
+
"systemPrompt": "你是AI早报机器人,专门生成每日早报与资讯简报。你可以抓取并汇总新闻、RSS与网页内容,整理成结构清晰的早报(含标题、要点摘要、来源链接)。请注明信息来源与时间。适合在每日固定时间生成今日要闻、行业动态或用户指定主题的简报。",
|
|
119
|
+
"icon": "📰",
|
|
120
|
+
"runnerType": "local",
|
|
121
|
+
"useLongMemory": true
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"presetVersion": "1.0",
|
|
3
|
+
"description": "推荐本地 GGUF 模型列表,用于「模型管理」备下载与已安装展示。版本升级时可在此增删改,以支持更合适的模型。",
|
|
4
|
+
"models": [
|
|
5
|
+
{
|
|
6
|
+
"id": "hf:Qwen/Qwen3-4B-GGUF/Qwen3-4B-Q4_K_M.gguf",
|
|
7
|
+
"name": "Qwen3 4B Q4_K_M",
|
|
8
|
+
"type": "llm",
|
|
9
|
+
"sizeHint": "~2.5GB"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "hf:Qwen/Qwen3-7B-GGUF/Qwen3-7B-Q4_K_M.gguf",
|
|
13
|
+
"name": "Qwen3 7B Q4_K_M",
|
|
14
|
+
"type": "llm",
|
|
15
|
+
"sizeHint": "~4.5GB"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "hf:Qwen/Qwen3-14B-GGUF/Qwen3-14B-Q4_K_M.gguf",
|
|
19
|
+
"name": "Qwen3 14B Q4_K_M",
|
|
20
|
+
"type": "llm",
|
|
21
|
+
"sizeHint": "~8.5GB"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "hf:ggml-org/embeddinggemma-300M-GGUF/embeddinggemma-300M-Q8_0.gguf",
|
|
25
|
+
"name": "EmbeddingGemma 300M Q8 (768维)",
|
|
26
|
+
"type": "embedding",
|
|
27
|
+
"sizeHint": "~300MB"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "hf:gpustack/bge-m3-GGUF/bge-m3-Q8_0.gguf",
|
|
31
|
+
"name": "BGE-M3 Q8 多语言 (1024维)",
|
|
32
|
+
"type": "embedding",
|
|
33
|
+
"sizeHint": "~1.2GB"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "hf:mixedbread-ai/mxbai-embed-large-v1-GGUF/mxbai-embed-large-v1-f16.gguf",
|
|
37
|
+
"name": "MxBai Embed Large v1 (1024维)",
|
|
38
|
+
"type": "embedding",
|
|
39
|
+
"sizeHint": "~670MB"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: self-media-tools
|
|
3
|
+
description: 使用文颜 MCP 将 Markdown 排版并发布至微信公众号、知乎、今日头条等;使用头条自动发布 MCP 发布内容。需配置 WECHAT_APP_ID、WECHAT_APP_SECRET 等环境变量。
|
|
4
|
+
allowed-tools: 文颜 MCP、头条自动发布 MCP 暴露的工具
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 自媒体运营工具
|
|
8
|
+
|
|
9
|
+
当用户需要排版并发布到公众号/知乎/头条,或使用头条自动发布时,调用对应 MCP。使用前请确认用户已配置好各平台凭证。
|