foliko 1.1.66 → 1.1.67

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 (198) hide show
  1. package/.agent/agents/network-requester.md +44 -0
  2. package/.agent/agents/poster-designer.md +52 -0
  3. package/.agent/agents/ui-designer.md +1 -1
  4. package/.agent/data/default.json +45 -407
  5. package/.agent/data/email/processed-emails.json +1 -0
  6. package/.agent/data/plugins-state.json +99 -215
  7. package/.agent/data/web/web-config.json +5 -0
  8. package/.agent/data/weixin/images/file_1776188148383jpg +0 -0
  9. package/.agent/data/weixin/images/file_1776188458326.jpg +0 -0
  10. package/.agent/data/weixin/images/file_1776188689423.jpg +0 -0
  11. package/.agent/data/weixin/images/file_1776188813604.jpg +0 -0
  12. package/.agent/data/weixin/images/file_1776189097450.jpg +0 -0
  13. package/.agent/data/weixin/videos/file_1776188318431.mp4 +0 -0
  14. package/.agent/mcp_config.json +5 -17
  15. package/.agent/memory/user/mof6gk94-kneeuh.md +9 -0
  16. package/.agent/package.json +4 -2
  17. package/.agent/plugins/marknative/README.md +134 -0
  18. package/.agent/plugins/marknative/fonts/SegoeUI Emoji.ttf +0 -0
  19. package/.agent/plugins/marknative/fonts.zip +0 -0
  20. package/.agent/plugins/marknative/index.js +256 -0
  21. package/.agent/plugins/marknative/package.json +12 -0
  22. package/.agent/plugins/test-plugin.py +99 -0
  23. package/.agent/plugins.json +11 -5
  24. package/.agent/python-scripts/test_sample.py +24 -0
  25. package/.agent/sessions/cli_default.json +85 -858
  26. package/.agent/skills/agent-browser/SKILL.md +311 -0
  27. package/.agent/skills/agent-browser/TEST_PLAN.md +200 -0
  28. package/.agent/skills/sysinfo/SKILL.md +38 -0
  29. package/.agent/skills/sysinfo/system-info.sh +130 -0
  30. package/.agent/skills/workflow/SKILL.md +324 -0
  31. package/.agent/test-agent.js +35 -0
  32. package/.agent/weixin.json +6 -0
  33. package/.agent/workflows/email-digest.json +50 -0
  34. package/.agent/workflows/file-backup.json +21 -0
  35. package/.agent/workflows/get-ip-notify.json +32 -0
  36. package/.agent/workflows/news-aggregator.json +93 -0
  37. package/.agent/workflows/news-dashboard-v2.json +94 -0
  38. package/.agent/workflows/notification-batch.json +32 -0
  39. package/.env.example +56 -56
  40. package/README.md +441 -441
  41. package/cli/src/commands/chat.js +16 -27
  42. package/cli/src/index.js +0 -1
  43. package/cli/src/ui/chat-ui.js +165 -84
  44. package/cli/src/ui/footer-bar.js +32 -7
  45. package/cli/src/ui/message-bubble.js +2 -24
  46. package/package.json +1 -1
  47. package/plugins/audit-plugin.js +7 -11
  48. package/plugins/coordinator-plugin.js +12 -14
  49. package/plugins/default-plugins.js +1 -12
  50. package/plugins/extension-executor-plugin.js +2 -2
  51. package/plugins/file-system-plugin.js +50 -68
  52. package/plugins/gate-trading.js +10 -10
  53. package/plugins/install-plugin.js +3 -3
  54. package/plugins/memory-plugin.js +11 -8
  55. package/plugins/plugin-manager-plugin.js +11 -9
  56. package/plugins/qq-plugin.js +8 -8
  57. package/plugins/rules-plugin.js +7 -7
  58. package/plugins/scheduler-plugin.js +18 -22
  59. package/plugins/session-plugin.js +14 -14
  60. package/plugins/storage-plugin.js +10 -11
  61. package/plugins/subagent-plugin.js +9 -13
  62. package/plugins/think-plugin.js +59 -63
  63. package/plugins/tools-plugin.js +8 -8
  64. package/plugins/weixin-plugin.js +5 -5
  65. package/skills/find-skills/AGENTS.md +162 -162
  66. package/skills/find-skills/SKILL.md +133 -133
  67. package/src/capabilities/skill-manager.js +15 -23
  68. package/src/capabilities/workflow-engine.js +2 -2
  69. package/src/core/agent-chat.js +26 -70
  70. package/src/core/agent.js +27 -17
  71. package/src/core/chat-session.js +161 -7
  72. package/src/core/context-compressor.js +181 -6
  73. package/src/core/framework.js +6 -125
  74. package/src/core/plugin-base.js +5 -7
  75. package/src/core/subagent.js +135 -16
  76. package/src/core/tool-executor.js +70 -2
  77. package/src/executors/mcp-executor.js +10 -12
  78. package/src/utils/chat-queue.js +22 -11
  79. package/src/utils/retry.js +22 -168
  80. package/website_v2/styles/animations.css +7 -7
  81. package/.agent/.shared/ui-ux-pro-max/data/charts.csv +0 -26
  82. package/.agent/.shared/ui-ux-pro-max/data/colors.csv +0 -97
  83. package/.agent/.shared/ui-ux-pro-max/data/icons.csv +0 -101
  84. package/.agent/.shared/ui-ux-pro-max/data/landing.csv +0 -31
  85. package/.agent/.shared/ui-ux-pro-max/data/products.csv +0 -97
  86. package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +0 -24
  87. package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +0 -45
  88. package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  89. package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
  90. package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +0 -53
  91. package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  92. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
  93. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
  94. package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  95. package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +0 -54
  96. package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +0 -61
  97. package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  98. package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  99. package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  100. package/.agent/.shared/ui-ux-pro-max/data/styles.csv +0 -59
  101. package/.agent/.shared/ui-ux-pro-max/data/typography.csv +0 -58
  102. package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
  103. package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  104. package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +0 -31
  105. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  106. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  107. package/.agent/.shared/ui-ux-pro-max/scripts/core.py +0 -258
  108. package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +0 -1067
  109. package/.agent/.shared/ui-ux-pro-max/scripts/search.py +0 -106
  110. package/.agent/ARCHITECTURE.md +0 -288
  111. package/.agent/data/ambient/goals.json +0 -1
  112. package/.agent/data/puppeteer-sessions/undefined.json +0 -6
  113. package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
  114. package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
  115. package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
  116. package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
  117. package/.agent/memory/feedback/mnygjgox-ualjip.md +0 -11
  118. package/.agent/memory/feedback/mnzugpej-esdwsr.md +0 -9
  119. package/.agent/memory/feedback/mo2quxke-saxs56.md +0 -9
  120. package/.agent/memory/feedback/mo9l6nw9-sm1ye2.md +0 -13
  121. package/.agent/memory/feedback/mo9uxkb3-bbxz3x.md +0 -9
  122. package/.agent/memory/feedback/mo9wpqy0-ftsez9.md +0 -13
  123. package/.agent/memory/feedback/mo9x2ps4-p7huqq.md +0 -11
  124. package/.agent/memory/feedback/mo9x2uay-z7ndjn.md +0 -9
  125. package/.agent/memory/feedback/mo9x2y7d-9wecyx.md +0 -9
  126. package/.agent/memory/feedback/mo9x39q3-nn7myt.md +0 -9
  127. package/.agent/memory/feedback/mo9xfir9-4g8a8j.md +0 -9
  128. package/.agent/memory/feedback/mo9xfui8-ujqrc6.md +0 -9
  129. package/.agent/memory/feedback/mocnx1wx-qtxxlh.md +0 -9
  130. package/.agent/memory/project/mnqx54u5-loqtoe.md +0 -9
  131. package/.agent/memory/project/mnqx84cv-mx6dmd.md +0 -9
  132. package/.agent/memory/project/mnsacuyr-hgtk5n.md +0 -20
  133. package/.agent/memory/project/mnu5hy2x-bjsg7u.md +0 -9
  134. package/.agent/memory/project/mny28ot4-8qe9au.md +0 -9
  135. package/.agent/memory/project/mnztftxj-af82rh.md +0 -9
  136. package/.agent/memory/project/mo0y04d0-bmaefl.md +0 -9
  137. package/.agent/memory/project/mo2iztxb-3c7v81.md +0 -9
  138. package/.agent/memory/project/mo2ssa5x-tpi1p3.md +0 -9
  139. package/.agent/memory/reference/mnre3cww-penbo1.md +0 -9
  140. package/.agent/memory/reference/mns9wn48-luerua.md +0 -14
  141. package/.agent/memory/reference/mns9yz5c-thc2s0.md +0 -16
  142. package/.agent/memory/reference/mnsfy4um-910f1o.md +0 -23
  143. package/.agent/memory/reference/mnsg37dp-lmfj18.md +0 -32
  144. package/.agent/memory/reference/mnsll60q-0j911u.md +0 -36
  145. package/.agent/memory/reference/mnsmlb5y-nej31u.md +0 -16
  146. package/.agent/memory/reference/mnssle72-yrot96.md +0 -9
  147. package/.agent/memory/reference/mnygj8nb-bjthmc.md +0 -20
  148. package/.agent/memory/reference/mnzfvs4m-ufyg9a.md +0 -12
  149. package/.agent/memory/user/mnsfuon6-l416q1.md +0 -21
  150. package/.agent/memory/user/mnsg9kut-95m7rf.md +0 -20
  151. package/.agent/memory/user/mnu2eo1v-yy6fhe.md +0 -9
  152. package/.agent/memory/user/mnu2etuo-8u8jk8.md +0 -9
  153. package/.agent/memory/user/mnx0rk6g-gsznjj.md +0 -9
  154. package/.agent/memory/user/mnyf1riz-4yo5yz.md +0 -9
  155. package/.agent/memory/user/mnzuh4cw-zvee8w.md +0 -13
  156. package/.agent/memory/user/mnzvewyj-jl67cq.md +0 -9
  157. package/.agent/memory/user/mnzwh9xo-43ys3f.md +0 -9
  158. package/.agent/memory/user/mo0ycvpn-eebsxc.md +0 -9
  159. package/.agent/memory/user/mo2k8c8n-132r2u.md +0 -9
  160. package/.agent/memory/user/mo6y2dei-5cf537.md +0 -13
  161. package/.agent/memory/user/mo9xsdo6-8vylww.md +0 -13
  162. package/.agent/plugins/puppeteer-plugin/README.md +0 -147
  163. package/.agent/plugins/puppeteer-plugin/index.js +0 -1422
  164. package/.agent/plugins/puppeteer-plugin/package.json +0 -9
  165. package/.agent/rules/GEMINI.md +0 -273
  166. package/.agent/rules/allow-rule.md +0 -77
  167. package/.agent/rules/log-rule.md +0 -83
  168. package/.agent/rules/security-rule.md +0 -93
  169. package/.agent/scripts/auto_preview.py +0 -148
  170. package/.agent/scripts/checklist.py +0 -217
  171. package/.agent/scripts/session_manager.py +0 -120
  172. package/.agent/scripts/verify_all.py +0 -327
  173. package/.agent/sessions/test-session.json +0 -16
  174. package/.agent/sessions/weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat.json +0 -25
  175. package/.agent/skills/doc.md +0 -177
  176. package/.agent/skills/fk-poster/SKILL.md +0 -1129
  177. package/.agent/skills/fkbuilder/SKILL.md +0 -730
  178. package/.agent/skills/mmx-cli/SKILL.md +0 -169
  179. package/.agent/workflows/brainstorm.md +0 -113
  180. package/.agent/workflows/create.md +0 -59
  181. package/.agent/workflows/debug.md +0 -103
  182. package/.agent/workflows/deploy.md +0 -176
  183. package/.agent/workflows/enhance.md +0 -63
  184. package/.agent/workflows/orchestrate.md +0 -237
  185. package/.agent/workflows/plan.md +0 -89
  186. package/.agent/workflows/preview.md +0 -81
  187. package/.agent/workflows/simple-test.md +0 -42
  188. package/.agent/workflows/status.md +0 -86
  189. package/.agent/workflows/structured-orchestrate.md +0 -180
  190. package/.agent/workflows/test.md +0 -144
  191. package/.agent/workflows/ui-ux-pro-max.md +0 -296
  192. package/check-requires.js +0 -82
  193. package/cli/src/ui/status-bar.js +0 -177
  194. package/cli/src/utils/debounce.js +0 -106
  195. package/plugins/data-splitter-plugin.js +0 -323
  196. package/src/core/constants.js +0 -198
  197. package/src/utils/data-splitter.js +0 -345
  198. package/src/utils/message-validator.js +0 -283
@@ -10,58 +10,40 @@
10
10
  "ai": {
11
11
  "enabled": true
12
12
  },
13
- "storage": {
14
- "enabled": true,
15
- "config": {
16
- "type": "json",
17
- "path": ".agent/data",
18
- "namespace": "default"
19
- }
20
- },
21
- "tools": {
22
- "enabled": true,
23
- "config": {}
24
- },
25
- "workflow": {
13
+ "skill-manager": {
26
14
  "enabled": true,
27
15
  "config": {}
28
16
  },
29
- "skill-manager": {
17
+ "mcp": {
30
18
  "enabled": true,
31
19
  "config": {}
32
20
  },
33
- "mcp-executor": {
21
+ "python-plugin-loader": {
34
22
  "enabled": true,
35
23
  "config": {}
36
24
  },
37
- "shell-executor": {
25
+ "subagent-manager": {
38
26
  "enabled": true,
39
27
  "config": {
40
- "timeout": 60000,
41
- "workingDir": "D:\\code\\vb-agent"
28
+ "agentsDir": "D:\\Code\\foliko\\.agent\\agents"
42
29
  }
43
30
  },
44
- "python-executor": {
31
+ "marknative": {
45
32
  "enabled": true,
46
- "config": {
47
- "pythonPath": "python",
48
- "timeout": 120000,
49
- "baseDir": ".agent/python-scripts",
50
- "pipPath": null
51
- }
33
+ "config": {}
52
34
  },
53
- "session": {
35
+ "poster": {
36
+ "enabled": true,
37
+ "config": {}
38
+ },
39
+ "ambient": {
54
40
  "enabled": true,
55
41
  "config": {
56
- "sessionTTL": 1800000,
57
- "maxSessions": 100,
58
- "maxHistoryLength": 150,
59
- "autoCleanup": true,
60
- "cleanupInterval": 300000,
61
- "persistToStorage": true,
62
- "onSessionStart": null,
63
- "onSessionEnd": null,
64
- "onSessionCreated": null
42
+ "enabled": true,
43
+ "tickInterval": 5000,
44
+ "cooldownPeriod": 3000,
45
+ "persistencePath": ".agent/data/ambient",
46
+ "defaultGoals": []
65
47
  }
66
48
  },
67
49
  "audit": {
@@ -72,244 +54,146 @@
72
54
  "logDir": ".agent/logs"
73
55
  }
74
56
  },
75
- "rules": {
76
- "enabled": true,
77
- "config": {
78
- "rulesDir": ".agent/rules",
79
- "autoLoad": true
80
- }
57
+ "coordinator": {
58
+ "enabled": false,
59
+ "config": {}
81
60
  },
82
- "scheduler": {
83
- "enabled": true,
84
- "config": {
85
- "checkInterval": 1000,
86
- "persistencePath": ".agent/data/scheduler"
87
- }
61
+ "email": {
62
+ "enabled": false,
63
+ "config": {}
88
64
  },
89
- "file-system": {
65
+ "extension-executor": {
90
66
  "enabled": true,
91
67
  "config": {}
92
68
  },
93
- "think": {
94
- "enabled": true,
69
+ "feishu": {
70
+ "enabled": false,
95
71
  "config": {
96
- "autoReflect": false,
97
- "reflectDelay": 2000,
98
- "maxReflectDepth": 3,
99
- "enableContinuous": false
72
+ "appId": "cli_a90e8b47db235bdb",
73
+ "appSecret": "Vmfy9gXWtYQtec36uY3B8ecr1QEZO2N8",
74
+ "allowedUsers": []
100
75
  }
101
76
  },
102
- "python-plugin-loader": {
77
+ "file-system": {
103
78
  "enabled": true,
104
79
  "config": {}
105
80
  },
106
- "telegram": {
107
- "enabled": false,
108
- "config": {
109
- "botToken": "1980700161:AAHQQxKRAyg6-MuOTZDIj7x9WjEdIaGhK5I",
110
- "allowedChats": [],
111
- "groupMode": false,
112
- "prefix": "/",
113
- "systemPrompt": "你是一个有帮助的AI助手。"
114
- }
115
- },
116
- "weixin": {
81
+ "gate-trading": {
117
82
  "enabled": false,
118
- "config": {
119
- "forceLogin": false,
120
- "qrcodeTerminal": true,
121
- "allowedUsers": [],
122
- "systemPrompt": "你是一个有帮助的AI助手。回复内容不要使用markdown格式文本"
123
- }
124
- },
125
- "email": {
126
- "enabled": true,
127
83
  "config": {}
128
84
  },
129
- "subagent-manager": {
85
+ "memory": {
130
86
  "enabled": true,
131
87
  "config": {
132
- "agentsDir": "D:\\code\\vb-agent\\.agent\\agents",
133
- "agents": [
134
- {
135
- "name": "code-archaeologist",
136
- "description": "Expert in legacy code, refactoring, and understanding undocumented systems. Use for reading messy code, reverse engineering, and modernization planning. Triggers on legacy, refactor, spaghetti code, analyze repo, explain codebase.",
137
- "tools": "Read, Grep, Glob, Edit, Write",
138
- "model": "inherit",
139
- "skills": "clean-code, refactoring-patterns, code-review-checklist",
140
- "_fromDir": true
141
- },
142
- {
143
- "name": "data-analyst",
144
- "description": "Expert in data analysis, visualization, statistics, and Python data processing. Use for pandas, matplotlib, CSV analysis, statistical tests, and generating charts. Triggers on analyze data, chart, plot, statistics, csv, excel, pandas, matplotlib, correlation, trend.",
145
- "tools": "Read, Write, Glob, Grep, PythonExecute, PythonScript, PipInstall, Bash",
146
- "model": "inherit",
147
- "skills": "python-data, statistics-basics, visualization-patterns",
148
- "_fromDir": true
149
- },
150
- {
151
- "name": "devops-engineer",
152
- "description": "Expert in deployment, server management, CI/CD, and production operations. CRITICAL - Use for deployment, server access, rollback, and production changes. HIGH RISK operations. Triggers on deploy, production, server, pm2, ssh, release, rollback, ci/cd.",
153
- "tools": "Read, Grep, Glob, Bash, Edit, Write",
154
- "model": "inherit",
155
- "skills": "clean-code, deployment-procedures, server-management, powershell-windows, bash-linux",
156
- "_fromDir": true
157
- },
158
- {
159
- "name": "email-admin",
160
- "description": "Email management expert for sending, reading, configuring emails, and monitoring inbox. Use for composing emails, checking unread messages, setting up email watches, configuring SMTP/IMAP, and email automation. Triggers on email, mail, inbox, smtp, imap, send email, read email, unread.",
161
- "tools": "Read, Write, Edit, Glob, Grep, Bash, Shell, ExecuteCommand, EmailSend, EmailRead, EmailConfigure, EmailWatch, EmailUnreadCount, EmailMarkRead, EmailDelete, EmailAutoReply, Fetch",
162
- "model": "inherit",
163
- "skills": "clean-code",
164
- "_fromDir": true
165
- },
166
- {
167
- "name": "frontend-specialist",
168
- "description": "Senior Frontend Architect who builds maintainable React/Next.js systems with performance-first mindset. Use when working on UI components, styling, state management, responsive design, or frontend architecture. Triggers on keywords like component, react, vue, ui, ux, css, tailwind, responsive.",
169
- "tools": "Read, Grep, Glob, Bash, Edit, Write",
170
- "model": "inherit",
171
- "skills": "clean-code, nextjs-react-expert, web-design-guidelines, tailwind-patterns, frontend-design, lint-and-validate",
172
- "_fromDir": true
173
- },
174
- {
175
- "name": "product-manager",
176
- "description": "Expert in product requirements, user stories, and acceptance criteria. Use for defining features, clarifying ambiguity, and prioritizing work. Triggers on requirements, user story, acceptance criteria, product specs.",
177
- "tools": "Read, Grep, Glob, Bash",
178
- "model": "inherit",
179
- "skills": "plan-writing, brainstorming, clean-code",
180
- "_fromDir": true
181
- },
182
- {
183
- "name": "python-developer",
184
- "description": "Expert in Python development including web frameworks (FastAPI, Flask, Django), data processing (pandas, numpy), automation scripts, and API development. Triggers on python, fastapi, flask, django, pandas, numpy, pip, virtualenv, pytest, script, automation.",
185
- "tools": "Read, Write, Glob, Grep, SearchFile, PythonExecute, PythonScript, PipInstall, Bash",
186
- "model": "inherit",
187
- "skills": "python-patterns, fastapi-guide, pandas-cookbook",
188
- "_fromDir": true
189
- },
190
- {
191
- "name": "security-auditor",
192
- "description": "Elite cybersecurity expert. Think like an attacker, defend like an expert. OWASP 2025, supply chain security, zero trust architecture. Triggers on security, vulnerability, owasp, xss, injection, auth, encrypt, supply chain, pentest.",
193
- "tools": "Read, Grep, Glob, Bash, Edit, Write",
194
- "model": "inherit",
195
- "skills": "clean-code, vulnerability-scanner, red-team-tactics, api-patterns",
196
- "_fromDir": true
197
- }
88
+ "memoryDir": ".agent/memory",
89
+ "autoExtract": true,
90
+ "extractOnTopics": [
91
+ "provider",
92
+ "preference",
93
+ "setting",
94
+ "user"
198
95
  ]
199
96
  }
200
97
  },
201
- "web": {
98
+ "plugin_manager": {
202
99
  "enabled": true,
203
100
  "config": {}
204
101
  },
205
- "feishu": {
206
- "enabled": false,
102
+ "python-executor": {
103
+ "enabled": true,
207
104
  "config": {
208
- "allowedUsers": []
105
+ "pythonPath": "python",
106
+ "timeout": 120000,
107
+ "baseDir": ".agent/python-scripts",
108
+ "pipPath": null
209
109
  }
210
110
  },
211
- "test-subagent": {
111
+ "rules": {
212
112
  "enabled": true,
213
- "config": {}
113
+ "config": {
114
+ "rulesDir": ".agent/rules",
115
+ "autoLoad": true
116
+ }
214
117
  },
215
- "system-info": {
118
+ "scheduler": {
216
119
  "enabled": true,
217
- "config": {}
120
+ "config": {
121
+ "checkInterval": 1000,
122
+ "persistencePath": ".agent/data/scheduler"
123
+ }
218
124
  },
219
- "proactive-agent": {
125
+ "session": {
220
126
  "enabled": true,
221
127
  "config": {
222
- "autoStart": false,
223
- "exploreInterval": 30000,
224
- "maxNoProgress": 5,
225
- "maxIterations": 20,
226
- "enableReflection": true,
227
- "maxConcurrentGoals": 3,
228
- "quiet": false,
229
- "reflectionThreshold": 2
128
+ "sessionTTL": 1800000,
129
+ "maxSessions": 100,
130
+ "maxHistoryLength": 150,
131
+ "autoCleanup": false,
132
+ "cleanupInterval": 300000,
133
+ "persistToStorage": true,
134
+ "onSessionStart": null,
135
+ "onSessionEnd": null,
136
+ "onSessionCreated": null
230
137
  }
231
138
  },
232
- "test-plugin": {
139
+ "shell-executor": {
233
140
  "enabled": true,
234
- "config": {}
141
+ "config": {
142
+ "timeout": 60000,
143
+ "workingDir": "D:\\Code\\foliko"
144
+ }
235
145
  },
236
- "ambient": {
146
+ "storage": {
237
147
  "enabled": true,
238
148
  "config": {
239
- "enabled": true,
240
- "tickInterval": 5000,
241
- "cooldownPeriod": 3000,
242
- "persistencePath": ".agent/data/ambient",
243
- "defaultGoals": [],
244
- "llmCallTimeout": 30000,
245
- "actionTimeout": 20000
149
+ "type": "json",
150
+ "path": ".agent/data",
151
+ "namespace": "default"
246
152
  }
247
153
  },
248
- "puppeteer": {
154
+ "telegram": {
249
155
  "enabled": false,
250
- "config": {}
251
- },
252
- "subagents": {
253
- "enabled": true,
254
156
  "config": {
255
- "agentsDir": "D:\\code\\vb-agent\\.agent\\agents",
256
- "agents": []
157
+ "botToken": "\"1980700161:AAHQQxKRAyg6-MuOTZDIj7x9WjEdIaGhK5I\"",
158
+ "allowedChats": [],
159
+ "groupMode": false,
160
+ "prefix": "/"
257
161
  }
258
162
  },
259
- "extension-executor": {
260
- "enabled": true,
261
- "config": {}
262
- },
263
- "gate-trading": {
264
- "enabled": true,
265
- "config": {}
266
- },
267
- "plugin_manager": {
268
- "enabled": true,
269
- "config": {}
270
- },
271
- "memory": {
163
+ "think": {
272
164
  "enabled": true,
273
165
  "config": {
274
- "memoryDir": ".agent/memory",
275
- "autoExtract": true,
276
- "extractOnTopics": [
277
- "provider",
278
- "preference",
279
- "setting",
280
- "user"
281
- ]
166
+ "autoReflect": false,
167
+ "reflectDelay": 2000,
168
+ "maxReflectDepth": 3,
169
+ "enableContinuous": false
282
170
  }
283
171
  },
284
- "poster": {
285
- "enabled": true,
286
- "config": {}
287
- },
288
- "coordinator": {
172
+ "tools": {
289
173
  "enabled": true,
290
174
  "config": {}
291
175
  },
292
- "mcp": {
176
+ "web": {
293
177
  "enabled": true,
294
178
  "config": {}
295
179
  },
296
- "qq": {
180
+ "weixin": {
297
181
  "enabled": false,
298
182
  "config": {
299
- "allowedUsers": [],
300
- "markdownSupport": true
183
+ "forceLogin": false,
184
+ "qrcodeTerminal": true,
185
+ "allowedUsers": []
301
186
  }
302
187
  },
303
- "mmx-speaker": {
304
- "enabled": true,
305
- "config": {}
306
- },
307
- "data-splitter": {
308
- "enabled": true,
188
+ "qq": {
189
+ "enabled": false,
309
190
  "config": {
310
- "autoSplitThreshold": 50000,
311
- "chunkSize": 60000,
312
- "maxConcurrent": 3
191
+ "appId": "102888416",
192
+ "clientSecret": "acfimrw28FMUdmw6HSer4IWl0GXo6Oh0",
193
+ "allowedUsers": [],
194
+ "markdownSupport": false,
195
+ "appID": "102888416",
196
+ "token": "acfimrw28FMUdmw6HSer4IWl0GXo6Oh0"
313
197
  }
314
198
  }
315
199
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "routes": [],
3
+ "webhooks": [],
4
+ "statics": []
5
+ }
@@ -1,25 +1,13 @@
1
1
  {
2
2
  "mcpServers": {
3
- "MiniMax": {
4
- "enabled": false,
5
- "command": "uvx",
6
- "args": [
7
- "minimax-coding-plan-mcp",
8
- "--native-tls"
9
- ],
10
- "env": {
11
- "MINIMAX_API_KEY": "sk-cp-k4JUC_eWvysnX4pbEYQxOFfcbPvLBijQMMhaGhgUt39MKlJ0M_-dUwLX1M799LgPx3h_QoliFpFcAdUICv9uCsmx9RWvAknNHLsHAs5napDs_5IhFJPUE24",
12
- "MINIMAX_API_HOST": "https://api.minimaxi.com",
13
- "UV_NATIVE_TLS": "1",
14
- "PIP_TRUSTED_HOST": "pypi.org"
15
- }
16
- },
17
3
  "designmd": {
18
- "enabled": true,
4
+ "enabled":false,
19
5
  "command": "npx",
20
- "args": ["designmd-mcp"],
6
+ "args": [
7
+ "designmd-mcp"
8
+ ],
21
9
  "env": {
22
- "DESIGNMD_API_KEY": "dk_00a999b238a66600625b17535aa78b158d4a0c2c"
10
+ "DESIGNMD_API_KEY": "dk_a840970283f38bab0bf34b9109a293c8bef0a59c"
23
11
  }
24
12
  }
25
13
  }
@@ -0,0 +1,9 @@
1
+ ---
2
+ id: "mof6gk94-kneeuh"
3
+ name: "测试记忆-第5条消息"
4
+ type: "user"
5
+ project: "null"
6
+ tags: [测试, 验证]
7
+ created: "2026-04-26"
8
+ ---
9
+ 这是第5条消息的测试记忆,用于验证记忆存储功能。时间: 2026-04-26 10:56
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "dependencies": {
3
- "@chnak/speak": "^1.0.1",
4
- "mmx-cli": "^1.0.15"
3
+ "imap": "^0.8.19",
4
+ "mailparser": "^3.9.4",
5
+ "node-telegram-bot-api": "^0.67.0",
6
+ "nodemailer": "^8.0.3"
5
7
  }
6
8
  }
@@ -0,0 +1,134 @@
1
+ # MarkNative Plugin
2
+
3
+ 将 Markdown 转换为 PNG/SVG 图片的 Foliko 插件。基于 [marknative](https://github.com/liyown/marknative) 项目。
4
+
5
+ ## 特性
6
+
7
+ - **原生渲染**: 不需要浏览器,使用原生 2D canvas API
8
+ - **多种格式**: 支持 PNG 和 SVG 输出
9
+ - **丰富主题**: 10 种内置主题(浅色/深色)
10
+ - **代码高亮**: 支持代码块语法高亮
11
+ - **分页支持**: 自动分页处理长文档
12
+ - **双重模式**: 支持本地运行和 Daytona 沙箱运行
13
+
14
+ ## 安装依赖
15
+
16
+ ### 方式一:本地安装
17
+ ```bash
18
+ cd .agent/plugins/marknative
19
+ npm install
20
+ ```
21
+
22
+ ### 方式二:使用 Daytona 沙箱
23
+ 确保已配置 Daytona 插件,插件将自动在沙箱中运行。
24
+
25
+ ## 工具列表
26
+
27
+ ### marknative_render
28
+ 将 Markdown 渲染为图片(Base64 编码返回)
29
+
30
+ 参数:
31
+ - `markdown`: Markdown 内容(必填)
32
+ - `format`: 输出格式 (png/svg)
33
+ - `theme`: 主题名称
34
+ - `singlePage`: 是否单页输出
35
+ - `codeTheme`: 代码高亮主题
36
+ - `useSandbox`: 是否强制使用沙箱执行
37
+
38
+ ### marknative_render_to_file
39
+ 将 Markdown 渲染为图片并保存到文件
40
+
41
+ 参数:
42
+ - `markdown`: Markdown 内容(必填)
43
+ - `outputPath`: 输出文件路径(必填)
44
+ - `format`: 输出格式
45
+ - `theme`: 主题名称
46
+ - `codeTheme`: 代码高亮主题
47
+
48
+ ### marknative_preview
49
+ 预览渲染效果(返回第一页 Base64)
50
+
51
+ 参数:
52
+ - `markdown`: Markdown 内容(必填)
53
+ - `theme`: 主题名称
54
+ - `codeTheme`: 代码高亮主题
55
+
56
+ ### marknative_get_themes
57
+ 获取所有可用主题和代码高亮主题列表
58
+
59
+ ### marknative_status
60
+ 检查插件状态
61
+
62
+ ## 可用主题
63
+
64
+ | 主题 | 描述 |
65
+ |------|------|
66
+ | default | 默认主题(浅色) |
67
+ | github | GitHub 风格 |
68
+ | solarized | Solarized 风格 |
69
+ | sepia | 复古纸张风格 |
70
+ | rose | 玫瑰粉风格 |
71
+ | dark | 深色主题 |
72
+ | nord | Nord 风格 |
73
+ | dracula | Dracula 风格 |
74
+ | ocean | 海洋风格 |
75
+ | forest | 森林风格 |
76
+
77
+ ## 代码高亮主题
78
+
79
+ 支持 Shiki 主题:`github-light`, `github-dark`, `nord`, `dracula`, `solarized-light`, `solarized-dark`, `monokai` 等。
80
+
81
+ ## 使用示例
82
+
83
+ ```javascript
84
+ // 1. 检查状态
85
+ marknative_status({})
86
+
87
+ // 2. 渲染为 Base64 图片
88
+ marknative_render({
89
+ markdown: '# Hello\n\nThis is **markdown** to image!',
90
+ format: 'png',
91
+ theme: 'github'
92
+ })
93
+
94
+ // 3. 保存为文件
95
+ marknative_render_to_file({
96
+ markdown: '# Document\n\nContent here...',
97
+ outputPath: './output.png',
98
+ theme: 'dark'
99
+ })
100
+
101
+ // 4. 预览
102
+ marknative_preview({
103
+ markdown: '# Preview\n\nTest content',
104
+ theme: 'nord'
105
+ })
106
+
107
+ // 5. 获取主题列表
108
+ marknative_get_themes({})
109
+ ```
110
+
111
+ ## 完整示例
112
+
113
+ ```javascript
114
+ // 渲染带有代码高亮的文档
115
+ marknative_render({
116
+ markdown: `# 示例代码
117
+
118
+ \`\`\`javascript
119
+ function hello() {
120
+ console.log('Hello, World!');
121
+ }
122
+ \`\`\`
123
+
124
+ **支持语法高亮!**
125
+ `,
126
+ format: 'png',
127
+ theme: 'dark',
128
+ codeTheme: 'github-dark'
129
+ })
130
+ ```
131
+
132
+ ## 许可证
133
+
134
+ MIT