foliko 1.0.83 → 1.0.85

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 (168) hide show
  1. package/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
  2. package/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
  3. package/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
  4. package/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
  5. package/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
  6. package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
  7. package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
  8. package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  9. package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  10. package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  11. package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  12. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  13. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  14. package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  15. package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
  16. package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  17. package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  18. package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  19. package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  20. package/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
  21. package/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
  22. package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  23. package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  24. package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
  25. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  26. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  27. package/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
  28. package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +1067 -0
  29. package/.agent/.shared/ui-ux-pro-max/scripts/search.py +106 -0
  30. package/.agent/ARCHITECTURE.md +288 -0
  31. package/.agent/agents/ambient-agent.md +57 -0
  32. package/.agent/agents/debugger.md +55 -0
  33. package/.agent/agents/email-assistant.md +49 -0
  34. package/.agent/agents/file-manager.md +42 -0
  35. package/.agent/agents/python-developer.md +60 -0
  36. package/.agent/agents/scheduler.md +59 -0
  37. package/.agent/agents/web-developer.md +45 -0
  38. package/.agent/data/default.json +355 -6
  39. package/.agent/data/plugins-state.json +185 -146
  40. package/.agent/data/puppeteer-sessions/undefined.json +6 -0
  41. package/.agent/mcp_config.json +0 -1
  42. package/.agent/mcp_config_updated.json +12 -0
  43. package/.agent/plugins/puppeteer-plugin/README.md +147 -0
  44. package/.agent/plugins/puppeteer-plugin/index.js +1418 -0
  45. package/.agent/plugins/puppeteer-plugin/package.json +9 -0
  46. package/.agent/plugins.json +5 -14
  47. package/.agent/rules/GEMINI.md +273 -0
  48. package/.agent/rules/allow-rule.md +77 -0
  49. package/.agent/rules/log-rule.md +83 -0
  50. package/.agent/rules/security-rule.md +93 -0
  51. package/.agent/scripts/auto_preview.py +148 -0
  52. package/.agent/scripts/checklist.py +217 -0
  53. package/.agent/scripts/session_manager.py +120 -0
  54. package/.agent/scripts/verify_all.py +327 -0
  55. package/.agent/skills/api-patterns/SKILL.md +81 -0
  56. package/.agent/skills/api-patterns/api-style.md +42 -0
  57. package/.agent/skills/api-patterns/auth.md +24 -0
  58. package/.agent/skills/api-patterns/documentation.md +26 -0
  59. package/.agent/skills/api-patterns/graphql.md +41 -0
  60. package/.agent/skills/api-patterns/rate-limiting.md +31 -0
  61. package/.agent/skills/api-patterns/response.md +37 -0
  62. package/.agent/skills/api-patterns/rest.md +40 -0
  63. package/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
  64. package/.agent/skills/api-patterns/security-testing.md +122 -0
  65. package/.agent/skills/api-patterns/trpc.md +41 -0
  66. package/.agent/skills/api-patterns/versioning.md +22 -0
  67. package/.agent/skills/app-builder/SKILL.md +75 -0
  68. package/.agent/skills/app-builder/agent-coordination.md +71 -0
  69. package/.agent/skills/app-builder/feature-building.md +53 -0
  70. package/.agent/skills/app-builder/project-detection.md +34 -0
  71. package/.agent/skills/app-builder/scaffolding.md +118 -0
  72. package/.agent/skills/app-builder/tech-stack.md +40 -0
  73. package/.agent/skills/app-builder/templates/SKILL.md +39 -0
  74. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  75. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  76. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  77. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  78. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  79. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  80. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  81. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  82. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  83. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  84. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  85. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  86. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  87. package/.agent/skills/architecture/SKILL.md +55 -0
  88. package/.agent/skills/architecture/context-discovery.md +43 -0
  89. package/.agent/skills/architecture/examples.md +94 -0
  90. package/.agent/skills/architecture/pattern-selection.md +68 -0
  91. package/.agent/skills/architecture/patterns-reference.md +50 -0
  92. package/.agent/skills/architecture/trade-off-analysis.md +77 -0
  93. package/.agent/skills/clean-code/SKILL.md +201 -0
  94. package/.agent/skills/doc.md +177 -0
  95. package/.agent/skills/frontend-design/SKILL.md +418 -0
  96. package/.agent/skills/frontend-design/animation-guide.md +331 -0
  97. package/.agent/skills/frontend-design/color-system.md +311 -0
  98. package/.agent/skills/frontend-design/decision-trees.md +418 -0
  99. package/.agent/skills/frontend-design/motion-graphics.md +306 -0
  100. package/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  101. package/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
  102. package/.agent/skills/frontend-design/typography-system.md +345 -0
  103. package/.agent/skills/frontend-design/ux-psychology.md +1116 -0
  104. package/.agent/skills/frontend-design/visual-effects.md +383 -0
  105. package/.agent/skills/i18n-localization/SKILL.md +154 -0
  106. package/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  107. package/.agent/skills/mcp-builder/SKILL.md +176 -0
  108. package/.agent/skills/web-design-guidelines/SKILL.md +57 -0
  109. package/.agent/workflows/brainstorm.md +113 -0
  110. package/.agent/workflows/create.md +59 -0
  111. package/.agent/workflows/debug.md +103 -0
  112. package/.agent/workflows/deploy.md +176 -0
  113. package/.agent/workflows/enhance.md +63 -0
  114. package/.agent/workflows/orchestrate.md +237 -0
  115. package/.agent/workflows/plan.md +89 -0
  116. package/.agent/workflows/preview.md +81 -0
  117. package/.agent/workflows/simple-test.md +42 -0
  118. package/.agent/workflows/status.md +86 -0
  119. package/.agent/workflows/structured-orchestrate.md +180 -0
  120. package/.agent/workflows/test.md +144 -0
  121. package/.agent/workflows/ui-ux-pro-max.md +296 -0
  122. package/.claude/settings.local.json +178 -171
  123. package/.env.example +56 -56
  124. package/cli/src/commands/plugin.js +482 -0
  125. package/cli/src/index.js +7 -0
  126. package/cli/src/utils/plugin-config.js +50 -0
  127. package/package.json +1 -1
  128. package/plugins/audit-plugin.js +2 -0
  129. package/plugins/extension-executor-plugin.js +38 -0
  130. package/plugins/plugin-manager-plugin.js +402 -0
  131. package/plugins/session-plugin.js +3 -3
  132. package/skills/find-skills/AGENTS.md +162 -162
  133. package/skills/find-skills/SKILL.md +133 -133
  134. package/skills/foliko-dev/SKILL.md +563 -563
  135. package/skills/plugin-guide/SKILL.md +139 -0
  136. package/skills/python-plugin-dev/SKILL.md +238 -238
  137. package/src/core/agent-chat.js +103 -45
  138. package/src/core/framework.js +42 -1
  139. package/src/executors/mcp-executor.js +33 -0
  140. package/src/utils/index.js +153 -0
  141. package/xhs_auth.json +268 -0
  142. package/.agent/agents/code-assistant.json +0 -14
  143. package/.agent/agents/email-assistant.json +0 -14
  144. package/.agent/agents/file-assistant.json +0 -15
  145. package/.agent/agents/system-assistant.json +0 -15
  146. package/.agent/agents/web-assistant.json +0 -12
  147. package/.agent/data/ambient/goals.json +0 -50
  148. package/.agent/data/ambient/memories.json +0 -7
  149. package/.agent/data/scheduler/tasks.json +0 -1
  150. package/.agent/package.json +0 -8
  151. package/.agent/plugins/__pycache__/test_plugin.cpython-312.pyc +0 -0
  152. package/.agent/plugins/system-info/index.js +0 -387
  153. package/.agent/plugins/system-info/package.json +0 -4
  154. package/.agent/plugins/system-info/test.js +0 -40
  155. package/.agent/plugins/test_plugin.py +0 -304
  156. package/.agent/python-scripts/test_sample.py +0 -24
  157. package/.agent/skills/sysinfo/SKILL.md +0 -38
  158. package/.agent/skills/sysinfo/system-info.sh +0 -130
  159. package/.agent/skills/workflow/SKILL.md +0 -324
  160. package/.agent/workflows/email-digest.json +0 -50
  161. package/.agent/workflows/file-backup.json +0 -21
  162. package/.agent/workflows/get-ip-notify.json +0 -32
  163. package/.agent/workflows/news-aggregator.json +0 -93
  164. package/.agent/workflows/news-dashboard-v2.json +0 -94
  165. package/.agent/workflows/notification-batch.json +0 -32
  166. package/reports/system-health-report-20260401.md +0 -79
  167. package/test/tool-registry-validation.test.js +0 -218
  168. package/test_report.md +0 -70
@@ -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提示词要描述清楚数据处理逻辑
@@ -1,6 +1,355 @@
1
1
  {
2
2
  "session:cli_default": {
3
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
+ },
4
353
  {
5
354
  "role": "user",
6
355
  "content": "重载插件"
@@ -10,11 +359,11 @@
10
359
  "content": [
11
360
  {
12
361
  "type": "text",
13
- "text": "<think>\n用户要求重载插件,我应该使用 reload_plugins 工具来重载所有插件。\n</think>\n\n\n"
362
+ "text": "<think>\n用户想要重载插件。根据工具说明,可以重载单个指定插件,或重载所有插件。用户没有指定具体插件,我应该重载所有插件。\n</think>\n\n\n"
14
363
  },
15
364
  {
16
365
  "type": "tool-call",
17
- "toolCallId": "call_function_tbhoqvyak3hz_1",
366
+ "toolCallId": "call_function_splroz4d6kzp_1",
18
367
  "toolName": "reload_plugins",
19
368
  "input": {}
20
369
  }
@@ -25,7 +374,7 @@
25
374
  "content": [
26
375
  {
27
376
  "type": "tool-result",
28
- "toolCallId": "call_function_tbhoqvyak3hz_1",
377
+ "toolCallId": "call_function_splroz4d6kzp_1",
29
378
  "toolName": "reload_plugins",
30
379
  "output": {
31
380
  "type": "json",
@@ -42,7 +391,7 @@
42
391
  "content": [
43
392
  {
44
393
  "type": "text",
45
- "text": "<think>\n插件重载成功了。\n</think>\n\n所有插件已成功重载。"
394
+ "text": "<think>\n插件重载成功,返回了成功消息。\n</think>\n\n✅ 所有插件已成功重载!"
46
395
  }
47
396
  ]
48
397
  }
@@ -51,7 +400,7 @@
51
400
  "metadata": {
52
401
  "platform": "cli"
53
402
  },
54
- "createdAt": "2026-04-02T15:17:17.270Z",
55
- "lastActive": "2026-04-02T15:17:43.695Z"
403
+ "createdAt": "2026-04-03T05:49:17.397Z",
404
+ "lastActive": "2026-04-03T06:33:54.559Z"
56
405
  }
57
406
  }