foliko 1.1.5 → 1.1.7

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 (249) hide show
  1. package/.agent/agents/code-assistant.json +17 -0
  2. package/.agent/agents/email-assistant.json +14 -0
  3. package/.agent/agents/file-assistant.json +18 -0
  4. package/.agent/agents/orchestrator-demo.md +53 -0
  5. package/.agent/agents/orchestrator.json +7 -0
  6. package/.agent/agents/system-assistant.json +15 -0
  7. package/.agent/agents/web-assistant.json +12 -0
  8. package/.agent/data/default.json +3 -412
  9. package/.agent/data/email/processed-emails.json +1 -0
  10. package/.agent/data/plugins-state.json +181 -172
  11. package/.agent/data/scheduler/tasks.json +1 -0
  12. package/.agent/data/web/web-config.json +5 -0
  13. package/.agent/mcp_config.json +6 -0
  14. package/.agent/memory/feedback/mnt7jrlt-d67qs7.md +15 -0
  15. package/.agent/memory/feedback/mnt88ja3-al4fuy.md +9 -0
  16. package/.agent/package.json +8 -0
  17. package/.agent/plugins/__pycache__/file_writer.cpython-312.pyc +0 -0
  18. package/.agent/plugins/daytona/README.md +89 -0
  19. package/.agent/plugins/daytona/index.js +377 -0
  20. package/.agent/plugins/daytona/package.json +12 -0
  21. package/.agent/plugins/marknative/README.md +134 -0
  22. package/.agent/plugins/marknative/fonts/SegoeUI Emoji.ttf +0 -0
  23. package/.agent/plugins/marknative/fonts.zip +0 -0
  24. package/.agent/plugins/marknative/index.js +256 -0
  25. package/.agent/plugins/marknative/package.json +12 -0
  26. package/.agent/plugins/poster-plugin/emojis/rocket.png +1 -0
  27. package/.agent/plugins/poster-plugin/src/index.js +29 -30
  28. package/.agent/plugins/poster-plugin/yarn.lock +1007 -0
  29. package/.agent/plugins/system-info/index.js +387 -0
  30. package/.agent/plugins/system-info/package.json +4 -0
  31. package/.agent/plugins/system-info/test.js +40 -0
  32. package/.agent/plugins/test-plugin.py +108 -0
  33. package/.agent/plugins.json +11 -5
  34. package/.agent/python-scripts/test_sample.py +24 -0
  35. package/.agent/sessions/cli_default.json +563 -840
  36. package/.agent/skills/agent-browser/SKILL.md +311 -0
  37. package/.agent/skills/agent-browser/TEST_PLAN.md +200 -0
  38. package/.agent/skills/sysinfo/SKILL.md +38 -0
  39. package/.agent/skills/sysinfo/system-info.sh +130 -0
  40. package/.agent/skills/workflow/SKILL.md +324 -0
  41. package/.agent/test-agent.js +35 -0
  42. package/.agent/weixin.json +6 -0
  43. package/.agent/workflows/email-digest.json +50 -0
  44. package/.agent/workflows/file-backup.json +21 -0
  45. package/.agent/workflows/get-ip-notify.json +32 -0
  46. package/.agent/workflows/news-aggregator.json +93 -0
  47. package/.agent/workflows/news-dashboard-v2.json +94 -0
  48. package/.agent/workflows/notification-batch.json +32 -0
  49. package/.claude/settings.local.json +1 -7
  50. package/.env.example +56 -56
  51. package/README.md +441 -441
  52. package/SPEC.md +735 -696
  53. package/output/zen_silence.png +0 -0
  54. package/package.json +2 -2
  55. package/plugins/ambient-agent/EventWatcher.js +33 -37
  56. package/plugins/ambient-agent/ExplorerLoop.js +338 -36
  57. package/plugins/ambient-agent/GoalManager.js +7 -3
  58. package/plugins/ambient-agent/StateStore.js +30 -1
  59. package/plugins/ambient-agent/constants.js +15 -1
  60. package/plugins/ambient-agent/index.js +26 -33
  61. package/plugins/coordinator-plugin.js +282 -0
  62. package/plugins/default-plugins.js +3 -3
  63. package/plugins/email/index.js +150 -36
  64. package/plugins/email/monitor.js +79 -5
  65. package/plugins/email/reply.js +15 -25
  66. package/plugins/extension-executor-plugin.js +160 -31
  67. package/plugins/file-system-plugin.js +57 -24
  68. package/plugins/memory-plugin.js +212 -94
  69. package/plugins/python-plugin-loader.js +79 -9
  70. package/plugins/scheduler-plugin.js +64 -24
  71. package/plugins/think-plugin.js +7 -2
  72. package/plugins/web-plugin.js +263 -4
  73. package/skills/ambient-agent/SKILL.md +342 -314
  74. package/skills/find-skills/AGENTS.md +162 -162
  75. package/skills/find-skills/SKILL.md +133 -133
  76. package/src/core/agent-chat.js +67 -12
  77. package/src/core/agent.js +325 -79
  78. package/src/core/coordinator-manager.js +341 -0
  79. package/src/core/framework.js +50 -0
  80. package/src/core/plugin-base.js +30 -17
  81. package/src/core/sub-agent-config.js +8 -1
  82. package/src/core/tool-registry.js +5 -5
  83. package/src/core/worker-agent.js +176 -0
  84. package/src/executors/mcp-executor.js +187 -25
  85. package/src/utils/id.js +5 -0
  86. package/system.md +3480 -0
  87. package/.agent/.shared/ui-ux-pro-max/data/charts.csv +0 -26
  88. package/.agent/.shared/ui-ux-pro-max/data/colors.csv +0 -97
  89. package/.agent/.shared/ui-ux-pro-max/data/icons.csv +0 -101
  90. package/.agent/.shared/ui-ux-pro-max/data/landing.csv +0 -31
  91. package/.agent/.shared/ui-ux-pro-max/data/products.csv +0 -97
  92. package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +0 -24
  93. package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +0 -45
  94. package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  95. package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
  96. package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +0 -53
  97. package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  98. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
  99. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
  100. package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  101. package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +0 -54
  102. package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +0 -61
  103. package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  104. package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  105. package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  106. package/.agent/.shared/ui-ux-pro-max/data/styles.csv +0 -59
  107. package/.agent/.shared/ui-ux-pro-max/data/typography.csv +0 -58
  108. package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
  109. package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  110. package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +0 -31
  111. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  112. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  113. package/.agent/.shared/ui-ux-pro-max/scripts/core.py +0 -258
  114. package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +0 -1067
  115. package/.agent/.shared/ui-ux-pro-max/scripts/search.py +0 -106
  116. package/.agent/ARCHITECTURE.md +0 -288
  117. package/.agent/agents/ambient-agent.md +0 -57
  118. package/.agent/agents/debugger.md +0 -55
  119. package/.agent/agents/email-assistant.md +0 -49
  120. package/.agent/agents/file-manager.md +0 -42
  121. package/.agent/agents/python-developer.md +0 -60
  122. package/.agent/agents/scheduler.md +0 -59
  123. package/.agent/agents/web-developer.md +0 -45
  124. package/.agent/data/puppeteer-sessions/undefined.json +0 -6
  125. package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
  126. package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
  127. package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
  128. package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
  129. package/.agent/mcp_config_updated.json +0 -12
  130. package/.agent/memory/feedback/mnrdq5ps-ekch6c.md +0 -9
  131. package/.agent/memory/feedback/mnrdvj5i-ca3dkd.md +0 -9
  132. package/.agent/memory/feedback/mnre365e-7s4zax.md +0 -9
  133. package/.agent/memory/feedback/mnre36jn-nkfgmp.md +0 -9
  134. package/.agent/memory/feedback/mnre3805-kjiq6h.md +0 -9
  135. package/.agent/memory/feedback/test-1775733060827.md +0 -6
  136. package/.agent/memory/project/mnqx54u5-loqtoe.md +0 -9
  137. package/.agent/memory/project/mnqx84cv-mx6dmd.md +0 -9
  138. package/.agent/memory/reference/mnre3cww-penbo1.md +0 -9
  139. package/.agent/plugins/poster-plugin/fonts/NotoColorEmoji-Regular.ttf +0 -0
  140. package/.agent/plugins/poster-plugin/fonts/Symbola_hint.ttf +0 -0
  141. package/.agent/plugins/puppeteer-plugin/README.md +0 -147
  142. package/.agent/plugins/puppeteer-plugin/index.js +0 -1418
  143. package/.agent/plugins/puppeteer-plugin/package.json +0 -9
  144. package/.agent/rules/GEMINI.md +0 -273
  145. package/.agent/rules/allow-rule.md +0 -77
  146. package/.agent/rules/log-rule.md +0 -83
  147. package/.agent/rules/security-rule.md +0 -93
  148. package/.agent/scripts/auto_preview.py +0 -148
  149. package/.agent/scripts/checklist.py +0 -217
  150. package/.agent/scripts/session_manager.py +0 -120
  151. package/.agent/scripts/verify_all.py +0 -327
  152. package/.agent/sessions/weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat.json +0 -11097
  153. package/.agent/skills/api-patterns/SKILL.md +0 -81
  154. package/.agent/skills/api-patterns/api-style.md +0 -42
  155. package/.agent/skills/api-patterns/auth.md +0 -24
  156. package/.agent/skills/api-patterns/documentation.md +0 -26
  157. package/.agent/skills/api-patterns/graphql.md +0 -41
  158. package/.agent/skills/api-patterns/rate-limiting.md +0 -31
  159. package/.agent/skills/api-patterns/response.md +0 -37
  160. package/.agent/skills/api-patterns/rest.md +0 -40
  161. package/.agent/skills/api-patterns/scripts/api_validator.py +0 -211
  162. package/.agent/skills/api-patterns/security-testing.md +0 -122
  163. package/.agent/skills/api-patterns/trpc.md +0 -41
  164. package/.agent/skills/api-patterns/versioning.md +0 -22
  165. package/.agent/skills/app-builder/SKILL.md +0 -75
  166. package/.agent/skills/app-builder/agent-coordination.md +0 -71
  167. package/.agent/skills/app-builder/feature-building.md +0 -53
  168. package/.agent/skills/app-builder/project-detection.md +0 -34
  169. package/.agent/skills/app-builder/scaffolding.md +0 -118
  170. package/.agent/skills/app-builder/tech-stack.md +0 -40
  171. package/.agent/skills/app-builder/templates/SKILL.md +0 -39
  172. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  173. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  174. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  175. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  176. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  177. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  178. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  179. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  180. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  181. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  182. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  183. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  184. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  185. package/.agent/skills/architecture/SKILL.md +0 -55
  186. package/.agent/skills/architecture/context-discovery.md +0 -43
  187. package/.agent/skills/architecture/examples.md +0 -94
  188. package/.agent/skills/architecture/pattern-selection.md +0 -68
  189. package/.agent/skills/architecture/patterns-reference.md +0 -50
  190. package/.agent/skills/architecture/trade-off-analysis.md +0 -77
  191. package/.agent/skills/clean-code/SKILL.md +0 -201
  192. package/.agent/skills/doc.md +0 -177
  193. package/.agent/skills/frontend-design/SKILL.md +0 -418
  194. package/.agent/skills/frontend-design/animation-guide.md +0 -331
  195. package/.agent/skills/frontend-design/color-system.md +0 -311
  196. package/.agent/skills/frontend-design/decision-trees.md +0 -418
  197. package/.agent/skills/frontend-design/motion-graphics.md +0 -306
  198. package/.agent/skills/frontend-design/scripts/accessibility_checker.py +0 -183
  199. package/.agent/skills/frontend-design/scripts/ux_audit.py +0 -722
  200. package/.agent/skills/frontend-design/typography-system.md +0 -345
  201. package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
  202. package/.agent/skills/frontend-design/visual-effects.md +0 -383
  203. package/.agent/skills/i18n-localization/SKILL.md +0 -154
  204. package/.agent/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  205. package/.agent/skills/mcp-builder/SKILL.md +0 -176
  206. package/.agent/skills/poster-design/SKILL.md +0 -385
  207. package/.agent/skills/web-design-guidelines/SKILL.md +0 -57
  208. package/.agent/workflows/brainstorm.md +0 -113
  209. package/.agent/workflows/create.md +0 -59
  210. package/.agent/workflows/debug.md +0 -103
  211. package/.agent/workflows/deploy.md +0 -176
  212. package/.agent/workflows/enhance.md +0 -63
  213. package/.agent/workflows/orchestrate.md +0 -237
  214. package/.agent/workflows/plan.md +0 -89
  215. package/.agent/workflows/preview.md +0 -81
  216. package/.agent/workflows/simple-test.md +0 -42
  217. package/.agent/workflows/status.md +0 -86
  218. package/.agent/workflows/structured-orchestrate.md +0 -180
  219. package/.agent/workflows/test.md +0 -144
  220. package/.agent/workflows/ui-ux-pro-max.md +0 -296
  221. package/37ua31lq.png +0 -0
  222. package/4ru0h1yo.png +0 -0
  223. package/55c90rsx.png +0 -0
  224. package/gud2mnws.png +0 -0
  225. package/output/poster_business.png.png +0 -0
  226. package/output/poster_business_product.png.png +0 -0
  227. package/output/poster_cyberpunk_neon.png.png +0 -0
  228. package/output/poster_festival.png.png +0 -0
  229. package/output/poster_foliko_personal.png.png +0 -0
  230. package/output/poster_french_romance.png.png +0 -0
  231. package/output/poster_guochao_landscape.png.png +0 -0
  232. package/output/poster_japanese_zen.png.png +0 -0
  233. package/output/poster_kawaii.png.png +0 -0
  234. package/output/poster_kawaii_hello.png.png +0 -0
  235. package/output/poster_luxury_gradient.png.png +0 -0
  236. package/output/poster_magazine_vogue.png.png +0 -0
  237. package/output/poster_minimal.png.png +0 -0
  238. package/output/poster_minimal_bw.png.png +0 -0
  239. package/output/poster_minimal_geometry.png.png +0 -0
  240. package/output/poster_pop_art.png.png +0 -0
  241. package/output/poster_sakura.png.png +0 -0
  242. package/output/poster_tech.png.png +0 -0
  243. package/output/poster_trendy.png.png +0 -0
  244. package/output/poster_vintage.png.png +0 -0
  245. package/output/poster_vintage_coffee.png.png +0 -0
  246. package/undefined.png +0 -0
  247. package/undefined.svg +0 -1
  248. package/xrrdyfr8.png +0 -0
  249. package/y9bfri9m.png +0 -0
@@ -0,0 +1,17 @@
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
+ "subagent_list",
14
+ "subagent_call",
15
+ "file-assistant"
16
+ ]
17
+ }
@@ -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,18 @@
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
+ "subagent_list",
15
+ "subagent_call",
16
+ "code-assistant"
17
+ ]
18
+ }
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: orchestrator-demo
3
+ type: demo
4
+ description: 演示任务 - 子Agent调用子Agent的完整流程
5
+ ---
6
+
7
+ # 演示任务:子Agent调用子Agent
8
+
9
+ ## 任务场景
10
+
11
+ 用户请求:分析 Foliko 项目的代码质量,并生成一份报告
12
+
13
+ ## 执行流程
14
+
15
+ ```
16
+ 主Agent → orchestrator (任务编排者)
17
+ ↓ 分解任务
18
+ ├→ file-assistant (扫描项目结构)
19
+ │ ↓ 发现文件
20
+ └→ code-assistant (分析代码质量)
21
+ ↓ 分析完成
22
+ ← orchestrator (汇总报告)
23
+ ```
24
+
25
+ ## 测试步骤
26
+
27
+ ### 1. 查看所有子Agent
28
+
29
+ ```bash
30
+ # 调用 subagent_list 工具
31
+ ```
32
+
33
+ ### 2. 委托给 orchestrator
34
+
35
+ ```
36
+ 请分析 Foliko 项目(位于 D:\Code\foliko)的代码质量:
37
+ 1. 首先扫描项目结构
38
+ 2. 然后分析核心代码
39
+ 3. 最后汇总报告
40
+ ```
41
+
42
+ ### 3. 直接测试子Agent调用链
43
+
44
+ ```
45
+ 请使用 file-assistant 分析项目目录结构,然后使用 code-assistant 分析其中某个核心文件的代码质量。
46
+ ```
47
+
48
+ ## 预期结果
49
+
50
+ - orchestrator 能列出所有子Agent
51
+ - orchestrator 能调用 file-assistant 和 code-assistant
52
+ - code-assistant 能调用 file-assistant(查看代码)
53
+ - 最终返回完整的分析报告
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "orchestrator",
3
+ "role": "任务编排者",
4
+ "description": "任务编排专家 - 负责分解复杂任务并协调多个子Agent工作",
5
+ "parentTools": ["subagent_list", "subagent_call", "read_file"],
6
+ "tools": {}
7
+ }
@@ -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
+ }
@@ -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
  }
@@ -0,0 +1 @@
1
+ ["<709921775831304@mail.yandex.ru>","<164041775831815@mail.yandex.ru>","<1453131775832337@mail.yandex.ru>","1224161775832900@mail.yandex.ru","659171775833135@mail.yandex.ru","300181775834203@mail.yandex.ru","2939231775834764@mail.yandex.ru","1443171775835448@mail.yandex.ru","1647161775839441@mail.yandex.ru","807111775840146@mail.yandex.ru","1317101775840554@mail.yandex.ru","859941775840854@mail.yandex.ru","41131775841292@mail.yandex.ru","341691775841865@mail.yandex.ru","170181775842337@mail.yandex.ru","18581775842668@mail.yandex.ru","3899221775842970@mail.yandex.ru","386541775843216@mail.yandex.ru","408111775843932@mail.yandex.ru","<408111775843932@mail.yandex.ru>","2304111775844462@mail.yandex.ru","<2304111775844462@mail.yandex.ru>"]