foliko 1.1.2 → 1.1.4

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.
Files changed (205) hide show
  1. package/.agent/agents/code-assistant.json +14 -0
  2. package/.agent/agents/email-assistant.json +14 -0
  3. package/.agent/agents/file-assistant.json +15 -0
  4. package/.agent/agents/system-assistant.json +15 -0
  5. package/.agent/agents/web-assistant.json +12 -0
  6. package/.agent/data/ambient/goals.json +50 -0
  7. package/.agent/data/ambient/memories.json +7 -0
  8. package/.agent/data/default.json +3 -412
  9. package/.agent/data/plugins-state.json +174 -173
  10. package/.agent/data/scheduler/tasks.json +1 -0
  11. package/.agent/memory/core.md +1 -0
  12. package/.agent/memory/project/mnn93ogy-ypjn27.md +9 -0
  13. package/.agent/memory/project/mnn98fqy-5nhc1u.md +25 -0
  14. package/.agent/memory/reference/mnq3oenw-46haj6.md +63 -0
  15. package/.agent/memory/reference/mnq5qxm2-mjoooh.md +116 -0
  16. package/.agent/memory/user/mnm67t9m-x8rekk.md +9 -0
  17. package/.agent/memory/user/mnn5mmqh-w6aktx.md +11 -0
  18. package/.agent/memory/user/mnnbfhhn-dk1bd1.md +22 -0
  19. package/.agent/package.json +8 -0
  20. package/.agent/plugins/__pycache__/file_writer.cpython-312.pyc +0 -0
  21. package/.agent/plugins/daytona/README.md +89 -0
  22. package/.agent/plugins/daytona/index.js +377 -0
  23. package/.agent/plugins/daytona/package.json +12 -0
  24. package/.agent/plugins/marknative/README.md +134 -0
  25. package/.agent/plugins/marknative/fonts/SegoeUI Emoji.ttf +0 -0
  26. package/.agent/plugins/marknative/index.js +256 -0
  27. package/.agent/plugins/marknative/package.json +12 -0
  28. package/.agent/plugins/marknative/update-readme.js +134 -0
  29. package/.agent/plugins/poster-plugin/emojis/rocket.png +1 -0
  30. package/.agent/plugins/poster-plugin/fonts/SegoeUI Emoji.ttf +0 -0
  31. package/.agent/plugins/poster-plugin/src/elements/text.js +3 -1
  32. package/.agent/plugins/poster-plugin/src/fonts.js +10 -0
  33. package/.agent/plugins/poster-plugin/yarn.lock +1007 -0
  34. package/.agent/plugins/system-info/index.js +387 -0
  35. package/.agent/plugins/system-info/package.json +4 -0
  36. package/.agent/plugins/system-info/test.js +40 -0
  37. package/.agent/plugins.json +11 -5
  38. package/.agent/python-scripts/test_sample.py +24 -0
  39. package/.agent/sessions/cli_default.json +1869 -691
  40. package/.agent/skills/agent-browser/SKILL.md +311 -0
  41. package/.agent/skills/agent-browser/TEST_PLAN.md +200 -0
  42. package/.agent/skills/sysinfo/SKILL.md +38 -0
  43. package/.agent/skills/sysinfo/system-info.sh +130 -0
  44. package/.agent/skills/workflow/SKILL.md +324 -0
  45. package/.agent/weixin.json +6 -0
  46. package/.agent/workflows/email-digest.json +50 -0
  47. package/.agent/workflows/file-backup.json +21 -0
  48. package/.agent/workflows/get-ip-notify.json +32 -0
  49. package/.agent/workflows/news-aggregator.json +93 -0
  50. package/.agent/workflows/news-dashboard-v2.json +94 -0
  51. package/.agent/workflows/notification-batch.json +32 -0
  52. package/.claude/settings.local.json +1 -20
  53. package/.env.example +56 -56
  54. package/README.md +441 -441
  55. package/cli/src/commands/chat.js +22 -13
  56. package/cli/src/ui/chat-ui.js +50 -37
  57. package/output/emoji-segoe-test-v2.png +0 -0
  58. package/output/emoji-segoe-test.png +0 -0
  59. package/output/emoji-test.png +0 -0
  60. package/output/emoji-windows-test.png +0 -0
  61. package/output/foliko-emoji-poster.png +0 -0
  62. package/output/foliko-muji-poster-final.png +0 -0
  63. package/output/foliko-muji-poster-v2.png +0 -0
  64. package/output/foliko-muji-poster.png +0 -0
  65. package/output/foliko-share.png +0 -0
  66. package/output/progress-circle-test.png +0 -0
  67. package/output/vb-agent-poster.png +0 -0
  68. package/package.json +1 -2
  69. package/plugins/default-plugins.js +4 -3
  70. package/plugins/extension-executor-plugin.js +12 -91
  71. package/plugins/file-system-plugin.js +19 -4
  72. package/plugins/memory-plugin.js +33 -4
  73. package/plugins/subagent-plugin.js +14 -37
  74. package/plugins/weixin-plugin.js +40 -168
  75. package/skills/find-skills/AGENTS.md +162 -162
  76. package/skills/find-skills/SKILL.md +133 -133
  77. package/skills/poster-guide/SKILL.md +669 -1426
  78. package/src/core/agent-chat.js +439 -269
  79. package/src/core/agent.js +3 -6
  80. package/.agent/.shared/ui-ux-pro-max/data/charts.csv +0 -26
  81. package/.agent/.shared/ui-ux-pro-max/data/colors.csv +0 -97
  82. package/.agent/.shared/ui-ux-pro-max/data/icons.csv +0 -101
  83. package/.agent/.shared/ui-ux-pro-max/data/landing.csv +0 -31
  84. package/.agent/.shared/ui-ux-pro-max/data/products.csv +0 -97
  85. package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +0 -24
  86. package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +0 -45
  87. package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  88. package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
  89. package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +0 -53
  90. package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  91. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
  92. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
  93. package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  94. package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +0 -54
  95. package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +0 -61
  96. package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  97. package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  98. package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  99. package/.agent/.shared/ui-ux-pro-max/data/styles.csv +0 -59
  100. package/.agent/.shared/ui-ux-pro-max/data/typography.csv +0 -58
  101. package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
  102. package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  103. package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +0 -31
  104. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  105. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  106. package/.agent/.shared/ui-ux-pro-max/scripts/core.py +0 -258
  107. package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +0 -1067
  108. package/.agent/.shared/ui-ux-pro-max/scripts/search.py +0 -106
  109. package/.agent/ARCHITECTURE.md +0 -288
  110. package/.agent/agents/ambient-agent.md +0 -57
  111. package/.agent/agents/debugger.md +0 -55
  112. package/.agent/agents/email-assistant.md +0 -49
  113. package/.agent/agents/file-manager.md +0 -42
  114. package/.agent/agents/python-developer.md +0 -60
  115. package/.agent/agents/scheduler.md +0 -59
  116. package/.agent/agents/web-developer.md +0 -45
  117. package/.agent/data/puppeteer-sessions/undefined.json +0 -6
  118. package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
  119. package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
  120. package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
  121. package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
  122. package/.agent/mcp_config_updated.json +0 -12
  123. package/.agent/plugins/poster-plugin/fonts/NotoColorEmoji-Regular.ttf +0 -0
  124. package/.agent/plugins/puppeteer-plugin/README.md +0 -147
  125. package/.agent/plugins/puppeteer-plugin/index.js +0 -1418
  126. package/.agent/plugins/puppeteer-plugin/package.json +0 -9
  127. package/.agent/rules/GEMINI.md +0 -273
  128. package/.agent/rules/allow-rule.md +0 -77
  129. package/.agent/rules/log-rule.md +0 -83
  130. package/.agent/rules/security-rule.md +0 -93
  131. package/.agent/scripts/auto_preview.py +0 -148
  132. package/.agent/scripts/checklist.py +0 -217
  133. package/.agent/scripts/session_manager.py +0 -120
  134. package/.agent/scripts/verify_all.py +0 -327
  135. package/.agent/sessions/weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat.json +0 -11097
  136. package/.agent/skills/api-patterns/SKILL.md +0 -81
  137. package/.agent/skills/api-patterns/api-style.md +0 -42
  138. package/.agent/skills/api-patterns/auth.md +0 -24
  139. package/.agent/skills/api-patterns/documentation.md +0 -26
  140. package/.agent/skills/api-patterns/graphql.md +0 -41
  141. package/.agent/skills/api-patterns/rate-limiting.md +0 -31
  142. package/.agent/skills/api-patterns/response.md +0 -37
  143. package/.agent/skills/api-patterns/rest.md +0 -40
  144. package/.agent/skills/api-patterns/scripts/api_validator.py +0 -211
  145. package/.agent/skills/api-patterns/security-testing.md +0 -122
  146. package/.agent/skills/api-patterns/trpc.md +0 -41
  147. package/.agent/skills/api-patterns/versioning.md +0 -22
  148. package/.agent/skills/app-builder/SKILL.md +0 -75
  149. package/.agent/skills/app-builder/agent-coordination.md +0 -71
  150. package/.agent/skills/app-builder/feature-building.md +0 -53
  151. package/.agent/skills/app-builder/project-detection.md +0 -34
  152. package/.agent/skills/app-builder/scaffolding.md +0 -118
  153. package/.agent/skills/app-builder/tech-stack.md +0 -40
  154. package/.agent/skills/app-builder/templates/SKILL.md +0 -39
  155. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  156. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  157. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  158. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  159. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  160. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  161. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  162. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  163. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  164. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  165. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  166. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  167. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  168. package/.agent/skills/architecture/SKILL.md +0 -55
  169. package/.agent/skills/architecture/context-discovery.md +0 -43
  170. package/.agent/skills/architecture/examples.md +0 -94
  171. package/.agent/skills/architecture/pattern-selection.md +0 -68
  172. package/.agent/skills/architecture/patterns-reference.md +0 -50
  173. package/.agent/skills/architecture/trade-off-analysis.md +0 -77
  174. package/.agent/skills/clean-code/SKILL.md +0 -201
  175. package/.agent/skills/doc.md +0 -177
  176. package/.agent/skills/frontend-design/SKILL.md +0 -418
  177. package/.agent/skills/frontend-design/animation-guide.md +0 -331
  178. package/.agent/skills/frontend-design/color-system.md +0 -311
  179. package/.agent/skills/frontend-design/decision-trees.md +0 -418
  180. package/.agent/skills/frontend-design/motion-graphics.md +0 -306
  181. package/.agent/skills/frontend-design/scripts/accessibility_checker.py +0 -183
  182. package/.agent/skills/frontend-design/scripts/ux_audit.py +0 -722
  183. package/.agent/skills/frontend-design/typography-system.md +0 -345
  184. package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
  185. package/.agent/skills/frontend-design/visual-effects.md +0 -383
  186. package/.agent/skills/i18n-localization/SKILL.md +0 -154
  187. package/.agent/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  188. package/.agent/skills/mcp-builder/SKILL.md +0 -176
  189. package/.agent/skills/web-design-guidelines/SKILL.md +0 -57
  190. package/.agent/workflows/brainstorm.md +0 -113
  191. package/.agent/workflows/create.md +0 -59
  192. package/.agent/workflows/debug.md +0 -103
  193. package/.agent/workflows/deploy.md +0 -176
  194. package/.agent/workflows/enhance.md +0 -63
  195. package/.agent/workflows/orchestrate.md +0 -237
  196. package/.agent/workflows/plan.md +0 -89
  197. package/.agent/workflows/preview.md +0 -81
  198. package/.agent/workflows/simple-test.md +0 -42
  199. package/.agent/workflows/status.md +0 -86
  200. package/.agent/workflows/structured-orchestrate.md +0 -180
  201. package/.agent/workflows/test.md +0 -144
  202. package/.agent/workflows/ui-ux-pro-max.md +0 -296
  203. package/output/beef-love-poster.png +0 -0
  204. package/output/international-news-daily.png +0 -0
  205. package/poster-test-2.png +0 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "code-assistant",
3
+ "description": "代码助手 - 专业的编程和代码分析助手",
4
+ "instructions": "你是一个专业的代码助手,精通多种编程语言和开发技术。\n\n【核心能力】\n- 代码编写、调试和优化\n- 代码审查和重构建议\n- 多种编程语言支持(Python、JavaScript、TypeScript、Java等)\n- 代码问题诊断和解决\n- 解释复杂代码逻辑\n\n【工作原则】\n- 提供清晰、规范的代码\n- 包含必要的注释说明\n- 考虑代码性能和安全性\n- 遵循最佳实践",
5
+ "tools": [
6
+ "read_file",
7
+ "write_file",
8
+ "modify_file",
9
+ "search_file",
10
+ "python-execute",
11
+ "execute_command",
12
+ "shell"
13
+ ]
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "email-assistant",
3
+ "description": "邮件助手 - 专业的邮件管理助手",
4
+ "instructions": "你是一个专业的邮件助手,擅长邮件的读写、筛选和管理。\n\n【核心能力】\n- 读取和回复邮件\n- 发送新邮件(支持附件)\n- 邮件搜索和筛选\n- 邮件摘要生成\n- 批量邮件处理\n\n【工作原则】\n- 保持邮件格式规范\n- 回复内容专业得体\n- 保护隐私信息\n- 及时处理重要邮件",
5
+ "tools": [
6
+ "email_read",
7
+ "email_send",
8
+ "email_mark_read",
9
+ "email_delete",
10
+ "email_unread_count",
11
+ "email_configure",
12
+ "notification_send"
13
+ ]
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "file-assistant",
3
+ "description": "文件助手 - 专业的文件管理和操作助手",
4
+ "instructions": "你是一个专业的文件助手,擅长文件操作、目录管理、文件搜索和内容编辑。\n\n【核心能力】\n- 读取、创建、编辑、删除文件和目录\n- 搜索文件内容和文件名称\n- 批量文件操作\n- 文件内容分析和提取\n\n【工作原则】\n- 执行操作前确认路径正确\n- 危险操作(如删除)需要谨慎\n- 保持文件编码一致性\n- 重要文件操作前可创建备份",
5
+ "tools": [
6
+ "read_file",
7
+ "write_file",
8
+ "delete_file",
9
+ "modify_file",
10
+ "search_file",
11
+ "read_directory",
12
+ "create_directory",
13
+ "execute_command"
14
+ ]
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "system-assistant",
3
+ "description": "系统助手 - 专业的系统信息监控和管理助手",
4
+ "instructions": "你是一个专业的系统助手,精通系统信息监控和基础管理。\n\n【核心能力】\n- CPU、内存、磁盘使用情况监控\n- 网络接口信息查询\n- 系统运行状态分析\n- 性能问题诊断\n- 定时监控和报告\n\n【工作原则】\n- 提供清晰的数据展示\n- 发现异常及时提醒\n- 给出合理的优化建议\n- 保护系统安全",
5
+ "tools": [
6
+ "get_basic_info",
7
+ "get_cpu_info",
8
+ "get_memory_info",
9
+ "get_disk_info",
10
+ "get_network_info",
11
+ "get_full_system_info",
12
+ "notification_send",
13
+ "schedule_task"
14
+ ]
15
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "web-assistant",
3
+ "description": "网络助手 - 专业的网络数据获取和处理助手",
4
+ "instructions": "你是一个专业的网络助手,精通网络数据获取和处理。\n\n【核心能力】\n- HTTP请求发送(GET/POST/PUT/DELETE等)\n- 网页内容抓取和解析\n- API调用和数据处理\n- JSON/XML数据解析\n- 网络问题诊断\n\n【工作原则】\n- 遵守网站使用协议\n- 合理控制请求频率\n- 数据处理规范\n- 异常情况妥善处理",
5
+ "tools": [
6
+ "fetch",
7
+ "web_request",
8
+ "execute_command",
9
+ "python-execute",
10
+ "notification_send"
11
+ ]
12
+ }
@@ -0,0 +1,50 @@
1
+ [
2
+ {
3
+ "id": "041f34d6-8ada-4a0f-932d-147f8476a830",
4
+ "title": "邮箱监控与自动回复",
5
+ "description": "监控邮箱,收到新邮件时自动分析内容并回复,无需用户确认",
6
+ "priority": 8,
7
+ "state": "active",
8
+ "actions": [
9
+ {
10
+ "type": "tool",
11
+ "name": "email_auto_reply",
12
+ "args": {
13
+ "to": "${event.to}",
14
+ "subject": "${event.subject}",
15
+ "body": "${event.text}",
16
+ "from": "${event.from}",
17
+ "messageId": "${event.messageId}"
18
+ }
19
+ }
20
+ ],
21
+ "_originalActions": [
22
+ {
23
+ "type": "tool",
24
+ "name": "email_auto_reply",
25
+ "args": {
26
+ "to": "${event.to}",
27
+ "subject": "${event.subject}",
28
+ "body": "${event.text}",
29
+ "from": "${event.from}",
30
+ "messageId": "${event.messageId}"
31
+ }
32
+ }
33
+ ],
34
+ "conditions": {
35
+ "events": [
36
+ "email:received"
37
+ ]
38
+ },
39
+ "createdAt": "2026-03-29T18:15:42.180Z",
40
+ "updatedAt": "2026-03-29T19:00:39.406Z",
41
+ "activatedAt": "2026-03-29T18:15:44.186Z",
42
+ "completedAt": "2026-03-29T18:54:56.861Z",
43
+ "failedAt": null,
44
+ "attempts": 11,
45
+ "maxAttempts": 10,
46
+ "consecutiveSameActions": 0,
47
+ "lastActionId": null,
48
+ "eventsReceived": []
49
+ }
50
+ ]
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "key": "test_memory",
4
+ "content": "Ambient Agent 测试记忆 - 创建时间: 2026-03-29,系统运行正常",
5
+ "timestamp": "2026-03-29T14:53:03.801Z"
6
+ }
7
+ ]
@@ -1,420 +1,11 @@
1
1
  {
2
2
  "session:cli_default": {
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
- ],
403
- "variables": {},
404
- "metadata": {
405
- "platform": "cli"
406
- },
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
3
  "messages": [],
412
4
  "variables": {},
413
5
  "metadata": {
414
- "platform": "weixin",
415
- "userId": "o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat"
6
+ "platform": "cli"
416
7
  },
417
- "createdAt": "2026-04-07T09:33:14.887Z",
418
- "lastActive": "2026-04-07T09:33:14.887Z"
8
+ "createdAt": "2026-04-06T11:30:16.479Z",
9
+ "lastActive": "2026-04-06T11:30:16.479Z"
419
10
  }
420
11
  }