foliko 1.1.0 → 1.1.2
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/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/search.py +106 -0
- package/.agent/ARCHITECTURE.md +288 -0
- package/.agent/agents/ambient-agent.md +57 -0
- package/.agent/agents/debugger.md +55 -0
- package/.agent/agents/email-assistant.md +49 -0
- package/.agent/agents/file-manager.md +42 -0
- package/.agent/agents/python-developer.md +60 -0
- package/.agent/agents/scheduler.md +59 -0
- package/.agent/agents/web-developer.md +45 -0
- package/.agent/data/default.json +412 -3
- package/.agent/data/plugins-state.json +173 -174
- package/.agent/data/puppeteer-sessions/undefined.json +6 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
- package/.agent/mcp_config_updated.json +12 -0
- package/.agent/plugins/poster-plugin/fonts/NotoColorEmoji-Regular.ttf +0 -0
- package/.agent/plugins/poster-plugin/package.json +2 -1
- package/.agent/plugins/poster-plugin/src/canvas.js +70 -7
- package/.agent/plugins/poster-plugin/src/components/barcode.js +120 -0
- package/.agent/plugins/poster-plugin/src/components/bubble.js +153 -0
- package/.agent/plugins/poster-plugin/src/components/button.js +124 -0
- package/.agent/plugins/poster-plugin/src/components/cta.js +26 -24
- package/.agent/plugins/poster-plugin/src/components/featureGrid.js +22 -17
- package/.agent/plugins/poster-plugin/src/components/frame.js +230 -0
- package/.agent/plugins/poster-plugin/src/components/highlightText.js +144 -0
- package/.agent/plugins/poster-plugin/src/components/icon.js +94 -0
- package/.agent/plugins/poster-plugin/src/components/index.js +19 -0
- package/.agent/plugins/poster-plugin/src/components/listItem.js +6 -5
- package/.agent/plugins/poster-plugin/src/components/qrcode.js +74 -0
- package/.agent/plugins/poster-plugin/src/components/ribbon.js +193 -0
- package/.agent/plugins/poster-plugin/src/components/seal.js +146 -0
- package/.agent/plugins/poster-plugin/src/components/table.js +17 -9
- package/.agent/plugins/poster-plugin/src/components/tagCloud.js +24 -17
- package/.agent/plugins/poster-plugin/src/components/timeline.js +24 -12
- package/.agent/plugins/poster-plugin/src/composer.js +392 -150
- package/.agent/plugins/poster-plugin/src/elements/background.js +36 -4
- package/.agent/plugins/poster-plugin/src/elements/image.js +4 -47
- package/.agent/plugins/poster-plugin/src/elements/index.js +2 -0
- package/.agent/plugins/poster-plugin/src/elements/polygon.js +37 -6
- package/.agent/plugins/poster-plugin/src/elements/richText.js +230 -0
- package/.agent/plugins/poster-plugin/src/elements/svg.js +35 -19
- package/.agent/plugins/poster-plugin/src/elements/text.js +71 -2
- package/.agent/plugins/poster-plugin/src/fonts.js +123 -8
- package/.agent/plugins/poster-plugin/src/index.js +445 -23
- package/.agent/plugins/poster-plugin/src/utils/imageLoader.js +84 -0
- package/.agent/plugins/poster-plugin/test-background.svg +1 -0
- package/.agent/plugins/poster-plugin/test-full-poster.svg +2 -0
- package/.agent/plugins/poster-plugin/test-image.png +0 -0
- package/.agent/plugins/puppeteer-plugin/README.md +147 -0
- package/.agent/plugins/puppeteer-plugin/index.js +1418 -0
- package/.agent/plugins/puppeteer-plugin/package.json +9 -0
- package/.agent/plugins.json +5 -11
- package/.agent/rules/GEMINI.md +273 -0
- package/.agent/rules/allow-rule.md +77 -0
- package/.agent/rules/log-rule.md +83 -0
- package/.agent/rules/security-rule.md +93 -0
- package/.agent/scripts/auto_preview.py +148 -0
- package/.agent/scripts/checklist.py +217 -0
- package/.agent/scripts/session_manager.py +120 -0
- package/.agent/scripts/verify_all.py +327 -0
- package/.agent/sessions/cli_default.json +678 -23580
- package/.agent/sessions/weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat.json +11097 -0
- package/.agent/skills/api-patterns/SKILL.md +81 -0
- package/.agent/skills/api-patterns/api-style.md +42 -0
- package/.agent/skills/api-patterns/auth.md +24 -0
- package/.agent/skills/api-patterns/documentation.md +26 -0
- package/.agent/skills/api-patterns/graphql.md +41 -0
- package/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/.agent/skills/api-patterns/response.md +37 -0
- package/.agent/skills/api-patterns/rest.md +40 -0
- package/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/.agent/skills/api-patterns/security-testing.md +122 -0
- package/.agent/skills/api-patterns/trpc.md +41 -0
- package/.agent/skills/api-patterns/versioning.md +22 -0
- package/.agent/skills/app-builder/SKILL.md +75 -0
- package/.agent/skills/app-builder/agent-coordination.md +71 -0
- package/.agent/skills/app-builder/feature-building.md +53 -0
- package/.agent/skills/app-builder/project-detection.md +34 -0
- package/.agent/skills/app-builder/scaffolding.md +118 -0
- package/.agent/skills/app-builder/tech-stack.md +40 -0
- package/.agent/skills/app-builder/templates/SKILL.md +39 -0
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
- package/.agent/skills/architecture/SKILL.md +55 -0
- package/.agent/skills/architecture/context-discovery.md +43 -0
- package/.agent/skills/architecture/examples.md +94 -0
- package/.agent/skills/architecture/pattern-selection.md +68 -0
- package/.agent/skills/architecture/patterns-reference.md +50 -0
- package/.agent/skills/architecture/trade-off-analysis.md +77 -0
- package/.agent/skills/clean-code/SKILL.md +201 -0
- package/.agent/skills/doc.md +177 -0
- package/.agent/skills/frontend-design/SKILL.md +418 -0
- package/.agent/skills/frontend-design/animation-guide.md +331 -0
- package/.agent/skills/frontend-design/color-system.md +311 -0
- package/.agent/skills/frontend-design/decision-trees.md +418 -0
- package/.agent/skills/frontend-design/motion-graphics.md +306 -0
- package/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
- package/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
- package/.agent/skills/frontend-design/typography-system.md +345 -0
- package/.agent/skills/frontend-design/ux-psychology.md +1116 -0
- package/.agent/skills/frontend-design/visual-effects.md +383 -0
- package/.agent/skills/i18n-localization/SKILL.md +154 -0
- package/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/.agent/skills/mcp-builder/SKILL.md +176 -0
- package/.agent/skills/web-design-guidelines/SKILL.md +57 -0
- package/.agent/workflows/brainstorm.md +113 -0
- package/.agent/workflows/create.md +59 -0
- package/.agent/workflows/debug.md +103 -0
- package/.agent/workflows/deploy.md +176 -0
- package/.agent/workflows/enhance.md +63 -0
- package/.agent/workflows/orchestrate.md +237 -0
- package/.agent/workflows/plan.md +89 -0
- package/.agent/workflows/preview.md +81 -0
- package/.agent/workflows/simple-test.md +42 -0
- package/.agent/workflows/status.md +86 -0
- package/.agent/workflows/structured-orchestrate.md +180 -0
- package/.agent/workflows/test.md +144 -0
- package/.agent/workflows/ui-ux-pro-max.md +296 -0
- package/.claude/settings.local.json +21 -1
- package/.env.example +56 -56
- package/README.md +441 -441
- package/cli/src/commands/chat.js +2 -1
- package/output/international-news-daily.png +0 -0
- package/package.json +2 -1
- package/plugins/extension-executor-plugin.js +91 -12
- package/plugins/file-system-plugin.js +4 -19
- package/plugins/subagent-plugin.js +37 -14
- package/plugins/weixin-plugin.js +168 -40
- package/poster-test-2.png +0 -0
- package/skills/find-skills/AGENTS.md +162 -162
- package/skills/find-skills/SKILL.md +133 -133
- package/skills/poster-guide/SKILL.md +1435 -627
- package/src/core/agent-chat.js +223 -11
- package/src/core/agent.js +6 -3
- package/.agent/agents/code-assistant.json +0 -14
- package/.agent/agents/email-assistant.json +0 -14
- package/.agent/agents/file-assistant.json +0 -15
- package/.agent/agents/system-assistant.json +0 -15
- package/.agent/agents/web-assistant.json +0 -12
- package/.agent/data/ambient/goals.json +0 -50
- package/.agent/data/ambient/memories.json +0 -7
- package/.agent/data/scheduler/tasks.json +0 -1
- package/.agent/memory/core.md +0 -1
- package/.agent/memory/project/mnn93ogy-ypjn27.md +0 -9
- package/.agent/memory/project/mnn98fqy-5nhc1u.md +0 -25
- package/.agent/memory/user/mnm67t9m-x8rekk.md +0 -9
- package/.agent/memory/user/mnn5mmqh-w6aktx.md +0 -11
- package/.agent/memory/user/mnnbfhhn-dk1bd1.md +0 -22
- package/.agent/package.json +0 -8
- package/.agent/plugins/__pycache__/file_writer.cpython-312.pyc +0 -0
- package/.agent/plugins/daytona/README.md +0 -89
- package/.agent/plugins/daytona/index.js +0 -377
- package/.agent/plugins/daytona/package.json +0 -12
- package/.agent/plugins/marknative/README.md +0 -134
- package/.agent/plugins/marknative/index.js +0 -228
- package/.agent/plugins/marknative/package.json +0 -12
- package/.agent/plugins/marknative/update-readme.js +0 -134
- package/.agent/plugins/system-info/index.js +0 -387
- package/.agent/plugins/system-info/package.json +0 -4
- package/.agent/plugins/system-info/test.js +0 -40
- package/.agent/python-scripts/test_sample.py +0 -24
- package/.agent/skills/agent-browser/SKILL.md +0 -311
- package/.agent/skills/agent-browser/TEST_PLAN.md +0 -200
- package/.agent/skills/sysinfo/SKILL.md +0 -38
- package/.agent/skills/sysinfo/system-info.sh +0 -130
- package/.agent/skills/workflow/SKILL.md +0 -324
- package/.agent/weixin.json +0 -6
- package/.agent/workflows/email-digest.json +0 -50
- package/.agent/workflows/file-backup.json +0 -21
- package/.agent/workflows/get-ip-notify.json +0 -32
- package/.agent/workflows/news-aggregator.json +0 -93
- package/.agent/workflows/news-dashboard-v2.json +0 -94
- package/.agent/workflows/notification-batch.json +0 -32
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: scheduler
|
|
3
|
+
description: 定时任务管理专家。用于设置提醒、定时任务、Cron表达式、任务调度等任务。触发关键词:定时、提醒、调度、任务、计划、Cron。
|
|
4
|
+
tools: schedule_task, schedule_list, schedule_cancel, cron_examples
|
|
5
|
+
model: inherit
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# 定时任务管理专家
|
|
9
|
+
|
|
10
|
+
你是一个专业的定时任务管理专家,擅长设置和管理各种定时任务。
|
|
11
|
+
|
|
12
|
+
## 核心能力
|
|
13
|
+
|
|
14
|
+
1. **定时提醒**:设置一次性或重复的提醒
|
|
15
|
+
2. **Cron任务**:使用Cron表达式创建复杂调度
|
|
16
|
+
3. **任务管理**:列出、取消、管理定时任务
|
|
17
|
+
4. **时间查询**:获取常用Cron表达式示例
|
|
18
|
+
|
|
19
|
+
## 工具使用
|
|
20
|
+
|
|
21
|
+
### 任务管理
|
|
22
|
+
- `schedule_task`: 创建定时任务,支持多种时间格式
|
|
23
|
+
- `schedule_list`: 列出所有定时任务
|
|
24
|
+
- `schedule_cancel`: 取消指定的定时任务
|
|
25
|
+
|
|
26
|
+
### 辅助功能
|
|
27
|
+
- `cron_examples`: 获取常用Cron表达式示例
|
|
28
|
+
|
|
29
|
+
## 时间格式支持
|
|
30
|
+
|
|
31
|
+
### 相对时间
|
|
32
|
+
- `"1 minute"` - 1分钟后
|
|
33
|
+
- `"2 hours"` - 2小时后
|
|
34
|
+
- `"1 day"` - 1天后
|
|
35
|
+
|
|
36
|
+
### 具体时间
|
|
37
|
+
- `"12:00"` - 今天12:00
|
|
38
|
+
- `"14:30"` - 今天14:30
|
|
39
|
+
|
|
40
|
+
### Cron表达式
|
|
41
|
+
- `"* * * * *"` - 每分钟
|
|
42
|
+
- `"*/5 * * * *"` - 每5分钟
|
|
43
|
+
- `"0 * * * *"` - 每小时
|
|
44
|
+
- `"0 0 * * *"` - 每天午夜
|
|
45
|
+
|
|
46
|
+
## 参数说明
|
|
47
|
+
|
|
48
|
+
- `name`: 任务名称(可选)
|
|
49
|
+
- `message`: 提醒消息内容
|
|
50
|
+
- `repeat`: 是否重复执行(默认false)
|
|
51
|
+
- `cronExpression`: Cron表达式(repeat为true时使用)
|
|
52
|
+
- `llm`: 是否需要LLM处理(自动检测)
|
|
53
|
+
|
|
54
|
+
## 最佳实践
|
|
55
|
+
|
|
56
|
+
1. 清晰描述提醒内容
|
|
57
|
+
2. 合理设置重复周期
|
|
58
|
+
3. 使用有意义的任务名称
|
|
59
|
+
4. 记得保存任务ID以便取消
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: web-developer
|
|
3
|
+
description: Web开发专家。用于HTTP请求、Web服务、API调用、网页数据抓取等任务。触发关键词:HTTP、API、请求、Web、网页、抓取、网络。
|
|
4
|
+
tools: fetch, web_request, web_start, web_stop, web_register_route, web_register_webhook, web_register_static, web_list_routes
|
|
5
|
+
skills: api-patterns
|
|
6
|
+
model: inherit
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Web开发专家
|
|
10
|
+
|
|
11
|
+
你是一个专业的Web开发专家,擅长处理HTTP请求、API开发和Web服务相关任务。
|
|
12
|
+
|
|
13
|
+
## 核心能力
|
|
14
|
+
|
|
15
|
+
1. **HTTP请求**:GET/POST/PUT/DELETE等各类请求
|
|
16
|
+
2. **API开发**:RESTful API设计、Webhook开发
|
|
17
|
+
3. **数据抓取**:网页内容获取、API数据采集
|
|
18
|
+
4. **Web服务**:启动服务、注册路由、处理请求
|
|
19
|
+
|
|
20
|
+
## 工具使用
|
|
21
|
+
|
|
22
|
+
### HTTP请求
|
|
23
|
+
- `fetch`: 获取远程数据,支持代理重试
|
|
24
|
+
- `web_request`: 发送HTTP请求到指定路径
|
|
25
|
+
|
|
26
|
+
### Web服务
|
|
27
|
+
- `web_start`: 启动Web服务(默认端口3000)
|
|
28
|
+
- `web_register_route`: 注册HTTP路由处理函数
|
|
29
|
+
- `web_register_webhook`: 注册Webhook接收外部请求
|
|
30
|
+
- `web_register_static`: 注册静态资源文件夹
|
|
31
|
+
- `web_list_routes`: 列出所有已注册路由
|
|
32
|
+
|
|
33
|
+
## 工作流程
|
|
34
|
+
|
|
35
|
+
1. **分析需求**:确定是客户端请求还是服务端开发
|
|
36
|
+
2. **选择工具**:根据任务选择合适的HTTP工具
|
|
37
|
+
3. **处理响应**:解析返回数据,处理错误
|
|
38
|
+
4. **结果返回**:提供清晰的执行结果
|
|
39
|
+
|
|
40
|
+
## 最佳实践
|
|
41
|
+
|
|
42
|
+
1. 请求失败时自动使用代理重试
|
|
43
|
+
2. 设置合理的超时时间
|
|
44
|
+
3. 正确处理JSON响应格式
|
|
45
|
+
4. Webhook提示词要描述清楚数据处理逻辑
|
package/.agent/data/default.json
CHANGED
|
@@ -1,11 +1,420 @@
|
|
|
1
1
|
{
|
|
2
2
|
"session:cli_default": {
|
|
3
|
-
"messages": [
|
|
3
|
+
"messages": [
|
|
4
|
+
{
|
|
5
|
+
"role": "user",
|
|
6
|
+
"content": "你好啊"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"role": "assistant",
|
|
10
|
+
"content": [
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"text": "<think>\n用户只是打了个招呼\"你好啊\",这是一个简单的问候。我应该友好地回应,并简单介绍一下我能帮助做什么。不需要调用任何工具。\n</think>\n\n你好!👋\n\n我是你的 AI 助手,可以帮助你完成各种任务:\n\n- 📁 **文件操作**:读取、写入、搜索文件和目录\n- 💻 **代码执行**:运行 Python 代码、Shell 命令\n- 🔧 **系统管理**:管理插件、定时任务、子 Agent\n- 🌐 **Web 功能**:HTTP 请求、网页自动化\n- 📧 **邮件处理**:发送和接收邮件\n- 💰 **交易**:Gate.io 加密货币交易\n- 🧠 **AI 能力**:主动思考、后台任务、持续监控\n\n有什么我可以帮你的吗?"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"role": "user",
|
|
19
|
+
"content": "查看插件列表"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"role": "assistant",
|
|
23
|
+
"content": [
|
|
24
|
+
{
|
|
25
|
+
"type": "text",
|
|
26
|
+
"text": "<think>\n用户想要查看插件列表,我可以使用 list_plugins 工具来列出所有已注册的插件。\n</think>\n\n\n"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "tool-call",
|
|
30
|
+
"toolCallId": "call_function_r4kvj3k0hdup_1",
|
|
31
|
+
"toolName": "list_plugins",
|
|
32
|
+
"input": {}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"role": "tool",
|
|
38
|
+
"content": [
|
|
39
|
+
{
|
|
40
|
+
"type": "tool-result",
|
|
41
|
+
"toolCallId": "call_function_r4kvj3k0hdup_1",
|
|
42
|
+
"toolName": "list_plugins",
|
|
43
|
+
"output": {
|
|
44
|
+
"type": "json",
|
|
45
|
+
"value": {
|
|
46
|
+
"success": true,
|
|
47
|
+
"plugins": [
|
|
48
|
+
{
|
|
49
|
+
"name": "defaults",
|
|
50
|
+
"status": "loaded",
|
|
51
|
+
"enabled": true,
|
|
52
|
+
"version": "1.0.0",
|
|
53
|
+
"system": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "install",
|
|
57
|
+
"status": "loaded",
|
|
58
|
+
"enabled": true,
|
|
59
|
+
"version": "1.0.0",
|
|
60
|
+
"system": true
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "ai",
|
|
64
|
+
"status": "loaded",
|
|
65
|
+
"enabled": true,
|
|
66
|
+
"version": "1.0.0",
|
|
67
|
+
"system": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "skill-manager",
|
|
71
|
+
"status": "loaded",
|
|
72
|
+
"enabled": true,
|
|
73
|
+
"version": "1.0.0",
|
|
74
|
+
"system": true
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "mcp-executor",
|
|
78
|
+
"status": "loaded",
|
|
79
|
+
"enabled": true,
|
|
80
|
+
"version": "1.0.0",
|
|
81
|
+
"system": true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "python-plugin-loader",
|
|
85
|
+
"status": "loaded",
|
|
86
|
+
"enabled": true,
|
|
87
|
+
"version": "1.0.0",
|
|
88
|
+
"system": true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "subagent-manager",
|
|
92
|
+
"status": "loaded",
|
|
93
|
+
"enabled": true,
|
|
94
|
+
"version": "1.0.0",
|
|
95
|
+
"system": false
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "puppeteer",
|
|
99
|
+
"status": "loaded",
|
|
100
|
+
"enabled": true,
|
|
101
|
+
"version": "1.0.0",
|
|
102
|
+
"system": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "ambient",
|
|
106
|
+
"status": "loaded",
|
|
107
|
+
"enabled": true,
|
|
108
|
+
"version": "1.0.0",
|
|
109
|
+
"system": true
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "audit",
|
|
113
|
+
"status": "loaded",
|
|
114
|
+
"enabled": true,
|
|
115
|
+
"version": "1.0.0",
|
|
116
|
+
"system": true
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "email",
|
|
120
|
+
"status": "loaded",
|
|
121
|
+
"enabled": true,
|
|
122
|
+
"version": "1.1.0",
|
|
123
|
+
"system": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "extension-executor",
|
|
127
|
+
"status": "loaded",
|
|
128
|
+
"enabled": true,
|
|
129
|
+
"version": "1.0.0",
|
|
130
|
+
"system": true
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "feishu",
|
|
134
|
+
"status": "registered",
|
|
135
|
+
"enabled": false,
|
|
136
|
+
"version": "1.1.0",
|
|
137
|
+
"system": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "file-system",
|
|
141
|
+
"status": "loaded",
|
|
142
|
+
"enabled": true,
|
|
143
|
+
"version": "1.0.0",
|
|
144
|
+
"system": true
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "gate-trading",
|
|
148
|
+
"status": "loaded",
|
|
149
|
+
"enabled": true,
|
|
150
|
+
"version": "1.1.0",
|
|
151
|
+
"system": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "plugin_manager",
|
|
155
|
+
"status": "loaded",
|
|
156
|
+
"enabled": true,
|
|
157
|
+
"version": "1.0.0",
|
|
158
|
+
"system": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "python-executor",
|
|
162
|
+
"status": "loaded",
|
|
163
|
+
"enabled": true,
|
|
164
|
+
"version": "1.0.0",
|
|
165
|
+
"system": true
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "rules",
|
|
169
|
+
"status": "loaded",
|
|
170
|
+
"enabled": true,
|
|
171
|
+
"version": "1.0.0",
|
|
172
|
+
"system": true
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "scheduler",
|
|
176
|
+
"status": "loaded",
|
|
177
|
+
"enabled": true,
|
|
178
|
+
"version": "1.0.0",
|
|
179
|
+
"system": true
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "session",
|
|
183
|
+
"status": "loaded",
|
|
184
|
+
"enabled": true,
|
|
185
|
+
"version": "1.0.0",
|
|
186
|
+
"system": true
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "shell-executor",
|
|
190
|
+
"status": "loaded",
|
|
191
|
+
"enabled": true,
|
|
192
|
+
"version": "1.0.0",
|
|
193
|
+
"system": true
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "storage",
|
|
197
|
+
"status": "loaded",
|
|
198
|
+
"enabled": true,
|
|
199
|
+
"version": "1.0.0",
|
|
200
|
+
"system": true
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "telegram",
|
|
204
|
+
"status": "registered",
|
|
205
|
+
"enabled": false,
|
|
206
|
+
"version": "2.1.0",
|
|
207
|
+
"system": false
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "think",
|
|
211
|
+
"status": "loaded",
|
|
212
|
+
"enabled": true,
|
|
213
|
+
"version": "1.0.0",
|
|
214
|
+
"system": false
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "tools",
|
|
218
|
+
"status": "loaded",
|
|
219
|
+
"enabled": true,
|
|
220
|
+
"version": "1.0.0",
|
|
221
|
+
"system": true
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "web",
|
|
225
|
+
"status": "loaded",
|
|
226
|
+
"enabled": true,
|
|
227
|
+
"version": "3.1.0",
|
|
228
|
+
"system": true
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "weixin",
|
|
232
|
+
"status": "registered",
|
|
233
|
+
"enabled": false,
|
|
234
|
+
"version": "1.0.0",
|
|
235
|
+
"system": false
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"role": "assistant",
|
|
245
|
+
"content": [
|
|
246
|
+
{
|
|
247
|
+
"type": "text",
|
|
248
|
+
"text": "<think>\n好的,我获取到了插件列表。让我整理一下给用户展示。\n</think>\n\n当前已安装 **27 个插件**:\n\n## ✅ 已加载插件 (22个)\n\n| 插件名 | 版本 | 类型 | 功能 |\n|--------|------|------|------|\n| ai | 1.0.0 | 系统 | AI 对话能力 |\n| skill-manager | 1.0.0 | 系统 | 技能管理器 |\n| mcp-executor | 1.0.0 | 系统 | MCP 执行器 |\n| python-plugin-loader | 1.0.0 | 系统 | Python 插件加载 |\n| subagent-manager | 1.0.0 | - | 子Agent 管理器 |\n| puppeteer | 1.0.0 | - | 网页自动化 |\n| email | 1.1.0 | - | 邮件收发 |\n| gate-trading | 1.1.0 | - | Gate.io 交易 |\n| think | 1.0.0 | - | 主动思考 |\n| web | 3.1.0 | 系统 | HTTP 服务 |\n| ambient | 1.0.0 | 系统 | Ambient Agent |\n| audit | 1.0.0 | 系统 | 审计日志 |\n| file-system | 1.0.0 | 系统 | 文件系统 |\n| python-executor | 1.0.0 | 系统 | Python 执行 |\n| shell-executor | 1.0.0 | 系统 | Shell 执行 |\n| storage | 1.0.0 | 系统 | 键值存储 |\n| scheduler | 1.0.0 | 系统 | 定时任务 |\n| session | 1.0.0 | 系统 | 会话管理 |\n| rules | 1.0.0 | 系统 | 规则引擎 |\n| tools | 1.0.0 | 系统 | 工具管理 |\n| extension-executor | 1.0.0 | 系统 | 扩展执行器 |\n| plugin_manager | 1.0.0 | 系统 | 插件管理 |\n\n## ⚪ 已注册但未启用 (5个)\n\n| 插件名 | 版本 | 状态 |\n|--------|------|------|\n| feishu | 1.1.0 | 禁用 |\n| telegram | 2.1.0 | 禁用 |\n| weixin | 1.0.0 | 禁用 |\n\n需要我帮你管理这些插件(如启用/禁用)或查看远程插件仓库吗?"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"role": "user",
|
|
254
|
+
"content": "你好"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"role": "assistant",
|
|
258
|
+
"content": [
|
|
259
|
+
{
|
|
260
|
+
"type": "text",
|
|
261
|
+
"text": "<think>\n用户又打了个招呼,我简短回复即可。\n</think>\n\n你好!有什么可以帮你的吗? 😊"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"role": "user",
|
|
267
|
+
"content": "查看审计日志"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"role": "assistant",
|
|
271
|
+
"content": [
|
|
272
|
+
{
|
|
273
|
+
"type": "text",
|
|
274
|
+
"text": "<think>\n用户想查看审计日志,我需要调用 audit_query 工具来获取审计日志。\n</think>\n\n\n"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "tool-call",
|
|
278
|
+
"toolCallId": "call_function_68cr9nw4lepv_1",
|
|
279
|
+
"toolName": "audit_query",
|
|
280
|
+
"input": {
|
|
281
|
+
"limit": 50
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"role": "tool",
|
|
288
|
+
"content": [
|
|
289
|
+
{
|
|
290
|
+
"type": "tool-result",
|
|
291
|
+
"toolCallId": "call_function_68cr9nw4lepv_1",
|
|
292
|
+
"toolName": "audit_query",
|
|
293
|
+
"output": {
|
|
294
|
+
"type": "json",
|
|
295
|
+
"value": {
|
|
296
|
+
"success": true,
|
|
297
|
+
"logs": [],
|
|
298
|
+
"total": 0,
|
|
299
|
+
"offset": 0,
|
|
300
|
+
"limit": 50
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"role": "assistant",
|
|
308
|
+
"content": [
|
|
309
|
+
{
|
|
310
|
+
"type": "text",
|
|
311
|
+
"text": "<think>\n审计日志为空,这可能是因为审计功能刚启动或者还没有记录任何操作。让我获取一下审计统计信息,看看有什么可用的。\n</think>\n\n\n"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "tool-call",
|
|
315
|
+
"toolCallId": "call_function_9cb4nt21wcb1_1",
|
|
316
|
+
"toolName": "audit_stats",
|
|
317
|
+
"input": {}
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"role": "tool",
|
|
323
|
+
"content": [
|
|
324
|
+
{
|
|
325
|
+
"type": "tool-result",
|
|
326
|
+
"toolCallId": "call_function_9cb4nt21wcb1_1",
|
|
327
|
+
"toolName": "audit_stats",
|
|
328
|
+
"output": {
|
|
329
|
+
"type": "json",
|
|
330
|
+
"value": {
|
|
331
|
+
"success": true,
|
|
332
|
+
"stats": {
|
|
333
|
+
"total": 0,
|
|
334
|
+
"maxLogs": 1000,
|
|
335
|
+
"counts": {},
|
|
336
|
+
"oldest": null,
|
|
337
|
+
"newest": null
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"role": "assistant",
|
|
346
|
+
"content": [
|
|
347
|
+
{
|
|
348
|
+
"type": "text",
|
|
349
|
+
"text": "<think>\n审计统计显示没有任何日志条目,总数为0。这是正常的,说明目前还没有记录任何审计日志。\n</think>\n\n当前审计日志为空:\n\n- **总记录数**:0\n- **最大存储**:1000 条\n- **最旧记录**:无\n- **最新记录**:无\n\n审计日志会记录工具调用、技能执行、错误信息等操作历史。如果你刚启动系统,或者之前没有进行过操作,日志为空是正常的。\n\n需要进行什么操作让我帮你记录到审计日志中吗?"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"role": "user",
|
|
355
|
+
"content": "重载插件"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"role": "assistant",
|
|
359
|
+
"content": [
|
|
360
|
+
{
|
|
361
|
+
"type": "text",
|
|
362
|
+
"text": "<think>\n用户想要重载插件。根据工具说明,可以重载单个指定插件,或重载所有插件。用户没有指定具体插件,我应该重载所有插件。\n</think>\n\n\n"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "tool-call",
|
|
366
|
+
"toolCallId": "call_function_splroz4d6kzp_1",
|
|
367
|
+
"toolName": "reload_plugins",
|
|
368
|
+
"input": {}
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"role": "tool",
|
|
374
|
+
"content": [
|
|
375
|
+
{
|
|
376
|
+
"type": "tool-result",
|
|
377
|
+
"toolCallId": "call_function_splroz4d6kzp_1",
|
|
378
|
+
"toolName": "reload_plugins",
|
|
379
|
+
"output": {
|
|
380
|
+
"type": "json",
|
|
381
|
+
"value": {
|
|
382
|
+
"success": true,
|
|
383
|
+
"message": "All plugins reloaded successfully"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"role": "assistant",
|
|
391
|
+
"content": [
|
|
392
|
+
{
|
|
393
|
+
"type": "text",
|
|
394
|
+
"text": "<think>\n插件重载成功,返回了成功消息。\n</think>\n\n✅ 所有插件已成功重载!"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"role": "user",
|
|
400
|
+
"content": "你好"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
4
403
|
"variables": {},
|
|
5
404
|
"metadata": {
|
|
6
405
|
"platform": "cli"
|
|
7
406
|
},
|
|
8
|
-
"createdAt": "2026-04-
|
|
9
|
-
"lastActive": "2026-04-
|
|
407
|
+
"createdAt": "2026-04-03T05:49:17.397Z",
|
|
408
|
+
"lastActive": "2026-04-03T09:38:30.327Z"
|
|
409
|
+
},
|
|
410
|
+
"session:weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat": {
|
|
411
|
+
"messages": [],
|
|
412
|
+
"variables": {},
|
|
413
|
+
"metadata": {
|
|
414
|
+
"platform": "weixin",
|
|
415
|
+
"userId": "o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat"
|
|
416
|
+
},
|
|
417
|
+
"createdAt": "2026-04-07T09:33:14.887Z",
|
|
418
|
+
"lastActive": "2026-04-07T09:33:14.887Z"
|
|
10
419
|
}
|
|
11
420
|
}
|