fengming 0.3.10 → 0.3.11

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 (761) hide show
  1. package/dist/build-info.json +2 -2
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/cli-startup-metadata.json +8 -8
  4. package/dist/control-ui/assets/{activity-D-mnRThU.js → activity-wgT0-JR0.js} +2 -2
  5. package/dist/control-ui/assets/{agents-U_KSP5I_.js → agents-DG5PobrT.js} +2 -2
  6. package/dist/control-ui/assets/{channels-ohK9_G1O.js → channels-CX28oM42.js} +2 -2
  7. package/dist/control-ui/assets/{cron-6ZCzfU29.js → cron-B8ixwBqU.js} +2 -2
  8. package/dist/control-ui/assets/{debug-CSsDLg_s.js → debug-CnkYZUXy.js} +2 -2
  9. package/dist/control-ui/assets/{index-jUDczxhd.js → index-DQRZJKbO.js} +4 -4
  10. package/dist/control-ui/assets/{instances-782ZoDT4.js → instances-BE3mV1JC.js} +2 -2
  11. package/dist/control-ui/assets/{nodes-BMX16BKM.js → nodes-Cou4PWRX.js} +2 -2
  12. package/dist/control-ui/assets/{sessions-jLGSApYa.js → sessions-DpAaBT21.js} +2 -2
  13. package/dist/control-ui/assets/{skills-DweBwUhs.js → skills-DjA_j_20.js} +2 -2
  14. package/dist/control-ui/assets/{workboard-BsU-FXIo.js → workboard-BFnvbS0k.js} +2 -2
  15. package/dist/control-ui/index.html +1 -1
  16. package/dist/control-ui/sw.js +1 -1
  17. package/dist/gateway/protocol/index.d.ts +1 -1
  18. package/dist/{index-AZzJCgph.d.ts → index-DuDY3bCZ.d.ts} +2 -2
  19. package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
  20. package/dist/plugin-sdk/agent-config-primitives.d.ts +1 -1
  21. package/dist/plugin-sdk/{bundled-channel-config-schema-Dfn3b8sF.d.ts → bundled-channel-config-schema-BPFNnbwu.d.ts} +23 -23
  22. package/dist/plugin-sdk/bundled-channel-config-schema.d.ts +3 -3
  23. package/dist/plugin-sdk/channel-config-primitives.d.ts +2 -2
  24. package/dist/plugin-sdk/channel-config-schema-legacy.d.ts +3 -3
  25. package/dist/plugin-sdk/channel-config-schema.d.ts +2 -2
  26. package/dist/plugin-sdk/channel-core.d.ts +1 -1
  27. package/dist/plugin-sdk/channel-plugin-common.d.ts +1 -1
  28. package/dist/plugin-sdk/compat.d.ts +2 -2
  29. package/dist/plugin-sdk/{config-schema-DUddICQM.d.ts → config-schema-D7cABQ6o.d.ts} +1 -1
  30. package/dist/plugin-sdk/config-schema.d.ts +2 -2
  31. package/dist/plugin-sdk/core.d.ts +1 -1
  32. package/dist/plugin-sdk/discord.d.ts +2 -2
  33. package/dist/plugin-sdk/tts-runtime.d.ts +1 -1
  34. package/dist/plugin-sdk/{zod-schema.core-B4_b2R5K.d.ts → zod-schema.core-CwBNqcXp.d.ts} +1 -1
  35. package/package.json +4 -409
  36. package/CHANGELOG.md +0 -42
  37. package/THIRD_PARTY_NOTICES.md +0 -37
  38. package/docs/.i18n/README.md +0 -81
  39. package/docs/.i18n/ar-navigation.json +0 -18
  40. package/docs/.i18n/de-navigation.json +0 -18
  41. package/docs/.i18n/es-navigation.json +0 -18
  42. package/docs/.i18n/fr-navigation.json +0 -18
  43. package/docs/.i18n/glossary.ar.json +0 -78
  44. package/docs/.i18n/glossary.de.json +0 -78
  45. package/docs/.i18n/glossary.es.json +0 -78
  46. package/docs/.i18n/glossary.fa.json +0 -78
  47. package/docs/.i18n/glossary.fr.json +0 -78
  48. package/docs/.i18n/glossary.id.json +0 -78
  49. package/docs/.i18n/glossary.it.json +0 -78
  50. package/docs/.i18n/glossary.ja-JP.json +0 -98
  51. package/docs/.i18n/glossary.ko.json +0 -78
  52. package/docs/.i18n/glossary.nl.json +0 -78
  53. package/docs/.i18n/glossary.pl.json +0 -78
  54. package/docs/.i18n/glossary.pt-BR.json +0 -78
  55. package/docs/.i18n/glossary.th.json +0 -78
  56. package/docs/.i18n/glossary.tr.json +0 -78
  57. package/docs/.i18n/glossary.uk.json +0 -78
  58. package/docs/.i18n/glossary.vi.json +0 -78
  59. package/docs/.i18n/glossary.zh-CN.json +0 -1122
  60. package/docs/.i18n/glossary.zh-TW.json +0 -78
  61. package/docs/.i18n/id-navigation.json +0 -18
  62. package/docs/.i18n/it-navigation.json +0 -18
  63. package/docs/.i18n/ja-navigation.json +0 -18
  64. package/docs/.i18n/ko-navigation.json +0 -18
  65. package/docs/.i18n/pl-navigation.json +0 -18
  66. package/docs/.i18n/pt-BR-navigation.json +0 -18
  67. package/docs/.i18n/tr-navigation.json +0 -18
  68. package/docs/.i18n/translation-workflow.md +0 -111
  69. package/docs/.i18n/zh-Hans-navigation.json +0 -552
  70. package/docs/AGENTS.md +0 -36
  71. package/docs/CLAUDE.md +0 -1
  72. package/docs/agent-runtime-architecture.md +0 -48
  73. package/docs/announcements/bluebubbles-imessage.md +0 -79
  74. package/docs/auth-credential-semantics.md +0 -124
  75. package/docs/automation/auth-monitoring.md +0 -11
  76. package/docs/automation/clawflow.md +0 -12
  77. package/docs/automation/cron-jobs.md +0 -534
  78. package/docs/automation/cron-vs-heartbeat.md +0 -11
  79. package/docs/automation/gmail-pubsub.md +0 -11
  80. package/docs/automation/hooks.md +0 -387
  81. package/docs/automation/index.md +0 -135
  82. package/docs/automation/poll.md +0 -12
  83. package/docs/automation/standing-orders.md +0 -250
  84. package/docs/automation/taskflow.md +0 -155
  85. package/docs/automation/tasks.md +0 -374
  86. package/docs/automation/troubleshooting.md +0 -12
  87. package/docs/automation/webhook.md +0 -12
  88. package/docs/brave-search.md +0 -11
  89. package/docs/channels/access-groups.md +0 -201
  90. package/docs/channels/ambient-room-events.md +0 -214
  91. package/docs/channels/bot-loop-protection.md +0 -131
  92. package/docs/channels/broadcast-groups.md +0 -472
  93. package/docs/channels/channel-routing.md +0 -162
  94. package/docs/channels/clickclack.md +0 -138
  95. package/docs/channels/discord.md +0 -1758
  96. package/docs/channels/feishu.md +0 -650
  97. package/docs/channels/googlechat.md +0 -284
  98. package/docs/channels/group-messages.md +0 -95
  99. package/docs/channels/groups.md +0 -524
  100. package/docs/channels/imessage-from-bluebubbles.md +0 -259
  101. package/docs/channels/imessage.md +0 -839
  102. package/docs/channels/index.md +0 -64
  103. package/docs/channels/irc.md +0 -253
  104. package/docs/channels/line.md +0 -243
  105. package/docs/channels/location.md +0 -71
  106. package/docs/channels/matrix-migration.md +0 -370
  107. package/docs/channels/matrix-presentation.md +0 -77
  108. package/docs/channels/matrix-push-rules.md +0 -150
  109. package/docs/channels/matrix.md +0 -921
  110. package/docs/channels/mattermost.md +0 -542
  111. package/docs/channels/msteams.md +0 -1096
  112. package/docs/channels/nextcloud-talk.md +0 -176
  113. package/docs/channels/nostr.md +0 -253
  114. package/docs/channels/pairing.md +0 -214
  115. package/docs/channels/qqbot.md +0 -314
  116. package/docs/channels/signal.md +0 -417
  117. package/docs/channels/slack.md +0 -1623
  118. package/docs/channels/synology-chat.md +0 -187
  119. package/docs/channels/telegram.md +0 -1124
  120. package/docs/channels/tlon.md +0 -296
  121. package/docs/channels/troubleshooting.md +0 -162
  122. package/docs/channels/twitch.md +0 -431
  123. package/docs/channels/wechat.md +0 -171
  124. package/docs/channels/whatsapp.md +0 -796
  125. package/docs/channels/yuanbao.md +0 -416
  126. package/docs/channels/zalo.md +0 -253
  127. package/docs/channels/zalouser.md +0 -217
  128. package/docs/ci.md +0 -657
  129. package/docs/clawhub/publishing.md +0 -96
  130. package/docs/cli/acp.md +0 -370
  131. package/docs/cli/agent.md +0 -109
  132. package/docs/cli/agents.md +0 -253
  133. package/docs/cli/approvals.md +0 -190
  134. package/docs/cli/backup.md +0 -98
  135. package/docs/cli/browser.md +0 -307
  136. package/docs/cli/channels.md +0 -154
  137. package/docs/cli/clawbot.md +0 -25
  138. package/docs/cli/commitments.md +0 -90
  139. package/docs/cli/completion.md +0 -39
  140. package/docs/cli/config.md +0 -504
  141. package/docs/cli/configure.md +0 -77
  142. package/docs/cli/crestodian.md +0 -337
  143. package/docs/cli/cron.md +0 -304
  144. package/docs/cli/daemon.md +0 -67
  145. package/docs/cli/dashboard.md +0 -33
  146. package/docs/cli/devices.md +0 -240
  147. package/docs/cli/directory.md +0 -68
  148. package/docs/cli/dns.md +0 -53
  149. package/docs/cli/docs.md +0 -63
  150. package/docs/cli/doctor.md +0 -241
  151. package/docs/cli/flows.md +0 -52
  152. package/docs/cli/gateway.md +0 -572
  153. package/docs/cli/health.md +0 -43
  154. package/docs/cli/hooks.md +0 -345
  155. package/docs/cli/index.md +0 -400
  156. package/docs/cli/infer.md +0 -364
  157. package/docs/cli/logs.md +0 -68
  158. package/docs/cli/mcp.md +0 -529
  159. package/docs/cli/memory.md +0 -183
  160. package/docs/cli/message.md +0 -317
  161. package/docs/cli/migrate.md +0 -334
  162. package/docs/cli/models.md +0 -239
  163. package/docs/cli/node.md +0 -177
  164. package/docs/cli/nodes.md +0 -76
  165. package/docs/cli/onboard.md +0 -250
  166. package/docs/cli/pairing.md +0 -77
  167. package/docs/cli/path.md +0 -511
  168. package/docs/cli/plugins.md +0 -459
  169. package/docs/cli/policy.md +0 -886
  170. package/docs/cli/proxy.md +0 -89
  171. package/docs/cli/qr.md +0 -56
  172. package/docs/cli/reset.md +0 -39
  173. package/docs/cli/sandbox.md +0 -208
  174. package/docs/cli/secrets.md +0 -202
  175. package/docs/cli/security.md +0 -136
  176. package/docs/cli/sessions.md +0 -164
  177. package/docs/cli/setup.md +0 -59
  178. package/docs/cli/skills.md +0 -122
  179. package/docs/cli/status.md +0 -45
  180. package/docs/cli/system.md +0 -89
  181. package/docs/cli/tasks.md +0 -111
  182. package/docs/cli/transcripts.md +0 -151
  183. package/docs/cli/tui.md +0 -91
  184. package/docs/cli/uninstall.md +0 -44
  185. package/docs/cli/update.md +0 -243
  186. package/docs/cli/voicecall.md +0 -204
  187. package/docs/cli/webhooks.md +0 -117
  188. package/docs/cli/wiki.md +0 -256
  189. package/docs/concepts/active-memory.md +0 -856
  190. package/docs/concepts/agent-loop.md +0 -185
  191. package/docs/concepts/agent-runtimes.md +0 -276
  192. package/docs/concepts/agent-workspace.md +0 -230
  193. package/docs/concepts/agent.md +0 -140
  194. package/docs/concepts/architecture.md +0 -154
  195. package/docs/concepts/channel-docking.md +0 -145
  196. package/docs/concepts/commitments.md +0 -150
  197. package/docs/concepts/compaction.md +0 -203
  198. package/docs/concepts/context-engine.md +0 -347
  199. package/docs/concepts/context.md +0 -199
  200. package/docs/concepts/delegate-architecture.md +0 -319
  201. package/docs/concepts/dreaming.md +0 -264
  202. package/docs/concepts/experimental-features.md +0 -109
  203. package/docs/concepts/features.md +0 -91
  204. package/docs/concepts/fengming-sdk.md +0 -323
  205. package/docs/concepts/mantis-slack-desktop-runbook.md +0 -231
  206. package/docs/concepts/mantis.md +0 -744
  207. package/docs/concepts/markdown-formatting.md +0 -139
  208. package/docs/concepts/memory-builtin.md +0 -148
  209. package/docs/concepts/memory-honcho.md +0 -144
  210. package/docs/concepts/memory-qmd.md +0 -271
  211. package/docs/concepts/memory-search.md +0 -167
  212. package/docs/concepts/memory.md +0 -299
  213. package/docs/concepts/message-lifecycle-refactor.md +0 -1126
  214. package/docs/concepts/messages.md +0 -214
  215. package/docs/concepts/model-failover.md +0 -384
  216. package/docs/concepts/model-providers.md +0 -719
  217. package/docs/concepts/models.md +0 -371
  218. package/docs/concepts/multi-agent.md +0 -625
  219. package/docs/concepts/oauth.md +0 -198
  220. package/docs/concepts/parallel-specialist-lanes.md +0 -127
  221. package/docs/concepts/personal-agent-benchmark-pack.md +0 -74
  222. package/docs/concepts/presence.md +0 -117
  223. package/docs/concepts/progress-drafts.md +0 -406
  224. package/docs/concepts/qa-e2e-automation.md +0 -947
  225. package/docs/concepts/qa-matrix.md +0 -139
  226. package/docs/concepts/queue-steering.md +0 -90
  227. package/docs/concepts/queue.md +0 -136
  228. package/docs/concepts/retry.md +0 -86
  229. package/docs/concepts/session-pruning.md +0 -104
  230. package/docs/concepts/session-tool.md +0 -188
  231. package/docs/concepts/session.md +0 -164
  232. package/docs/concepts/soul.md +0 -116
  233. package/docs/concepts/streaming.md +0 -257
  234. package/docs/concepts/system-prompt.md +0 -328
  235. package/docs/concepts/timezone.md +0 -47
  236. package/docs/concepts/typebox.md +0 -309
  237. package/docs/concepts/typing-indicators.md +0 -88
  238. package/docs/concepts/usage-tracking.md +0 -66
  239. package/docs/date-time.md +0 -126
  240. package/docs/debug/node-issue.md +0 -90
  241. package/docs/diagnostics/flags.md +0 -182
  242. package/docs/docs.json +0 -1862
  243. package/docs/fengming-agent-runtime.md +0 -82
  244. package/docs/gateway/authentication.md +0 -256
  245. package/docs/gateway/background-process.md +0 -147
  246. package/docs/gateway/bonjour.md +0 -303
  247. package/docs/gateway/bridge-protocol.md +0 -97
  248. package/docs/gateway/cli-backends.md +0 -439
  249. package/docs/gateway/config-agents.md +0 -1525
  250. package/docs/gateway/config-channels.md +0 -945
  251. package/docs/gateway/config-tools.md +0 -774
  252. package/docs/gateway/configuration-examples.md +0 -704
  253. package/docs/gateway/configuration-reference.md +0 -1391
  254. package/docs/gateway/configuration.md +0 -739
  255. package/docs/gateway/diagnostics.md +0 -213
  256. package/docs/gateway/discovery.md +0 -154
  257. package/docs/gateway/doctor.md +0 -575
  258. package/docs/gateway/gateway-lock.md +0 -37
  259. package/docs/gateway/health.md +0 -73
  260. package/docs/gateway/heartbeat.md +0 -498
  261. package/docs/gateway/index.md +0 -383
  262. package/docs/gateway/local-model-services.md +0 -205
  263. package/docs/gateway/local-models.md +0 -355
  264. package/docs/gateway/logging.md +0 -149
  265. package/docs/gateway/multiple-gateways.md +0 -178
  266. package/docs/gateway/network-model.md +0 -15
  267. package/docs/gateway/openai-http-api.md +0 -378
  268. package/docs/gateway/openresponses-http-api.md +0 -347
  269. package/docs/gateway/openshell.md +0 -316
  270. package/docs/gateway/opentelemetry.md +0 -433
  271. package/docs/gateway/operator-scopes.md +0 -119
  272. package/docs/gateway/pairing.md +0 -207
  273. package/docs/gateway/prometheus.md +0 -249
  274. package/docs/gateway/protocol.md +0 -826
  275. package/docs/gateway/remote-gateway-readme.md +0 -169
  276. package/docs/gateway/remote.md +0 -280
  277. package/docs/gateway/sandbox-vs-tool-policy-vs-elevated.md +0 -148
  278. package/docs/gateway/sandboxing.md +0 -546
  279. package/docs/gateway/secrets-plan-contract.md +0 -159
  280. package/docs/gateway/secrets.md +0 -805
  281. package/docs/gateway/security/audit-checks.md +0 -127
  282. package/docs/gateway/security/exposure-runbook.md +0 -212
  283. package/docs/gateway/security/index.md +0 -1343
  284. package/docs/gateway/security/secure-file-operations.md +0 -76
  285. package/docs/gateway/security/shrinkwrap.md +0 -111
  286. package/docs/gateway/tailscale.md +0 -156
  287. package/docs/gateway/tools-invoke-http-api.md +0 -169
  288. package/docs/gateway/troubleshooting.md +0 -877
  289. package/docs/gateway/trusted-proxy-auth.md +0 -483
  290. package/docs/help/debugging.md +0 -341
  291. package/docs/help/environment.md +0 -233
  292. package/docs/help/faq-first-run.md +0 -870
  293. package/docs/help/faq-models.md +0 -556
  294. package/docs/help/faq.md +0 -2041
  295. package/docs/help/index.md +0 -39
  296. package/docs/help/scripts.md +0 -56
  297. package/docs/help/testing-live.md +0 -587
  298. package/docs/help/testing-updates-plugins.md +0 -299
  299. package/docs/help/testing.md +0 -977
  300. package/docs/help/troubleshooting.md +0 -449
  301. package/docs/index.md +0 -196
  302. package/docs/install/ansible.md +0 -233
  303. package/docs/install/azure.md +0 -315
  304. package/docs/install/bun.md +0 -59
  305. package/docs/install/clawdock.md +0 -112
  306. package/docs/install/development-channels.md +0 -148
  307. package/docs/install/digitalocean.md +0 -174
  308. package/docs/install/docker-vm-runtime.md +0 -154
  309. package/docs/install/docker.md +0 -564
  310. package/docs/install/exe-dev.md +0 -201
  311. package/docs/install/fly.md +0 -524
  312. package/docs/install/gcp.md +0 -418
  313. package/docs/install/hetzner.md +0 -285
  314. package/docs/install/hostinger.md +0 -98
  315. package/docs/install/index.md +0 -232
  316. package/docs/install/installer.md +0 -447
  317. package/docs/install/kubernetes.md +0 -196
  318. package/docs/install/macos-vm.md +0 -281
  319. package/docs/install/migrating-claude.md +0 -165
  320. package/docs/install/migrating-hermes.md +0 -178
  321. package/docs/install/migrating.md +0 -137
  322. package/docs/install/nix.md +0 -112
  323. package/docs/install/node.md +0 -142
  324. package/docs/install/northflank.mdx +0 -44
  325. package/docs/install/oracle.md +0 -218
  326. package/docs/install/podman.md +0 -216
  327. package/docs/install/railway.mdx +0 -92
  328. package/docs/install/raspberry-pi.md +0 -234
  329. package/docs/install/render.mdx +0 -167
  330. package/docs/install/uninstall.md +0 -131
  331. package/docs/install/updating.md +0 -284
  332. package/docs/install/upstash.md +0 -96
  333. package/docs/logging.md +0 -320
  334. package/docs/nav-tabs-underline.js +0 -100
  335. package/docs/network.md +0 -72
  336. package/docs/nodes/audio.md +0 -216
  337. package/docs/nodes/camera.md +0 -166
  338. package/docs/nodes/images.md +0 -77
  339. package/docs/nodes/index.md +0 -439
  340. package/docs/nodes/location-command.md +0 -102
  341. package/docs/nodes/media-understanding.md +0 -495
  342. package/docs/nodes/talk.md +0 -160
  343. package/docs/nodes/troubleshooting.md +0 -123
  344. package/docs/nodes/voicewake.md +0 -93
  345. package/docs/perplexity.md +0 -11
  346. package/docs/plan/codex-context-engine-harness.md +0 -624
  347. package/docs/plan/ui-channels.md +0 -284
  348. package/docs/platforms/digitalocean.md +0 -12
  349. package/docs/platforms/easyrunner.md +0 -109
  350. package/docs/platforms/index.md +0 -51
  351. package/docs/platforms/linux.md +0 -141
  352. package/docs/platforms/mac/bundled-gateway.md +0 -79
  353. package/docs/platforms/mac/canvas.md +0 -128
  354. package/docs/platforms/mac/child-process.md +0 -72
  355. package/docs/platforms/mac/dev-setup.md +0 -112
  356. package/docs/platforms/mac/health.md +0 -39
  357. package/docs/platforms/mac/icon.md +0 -36
  358. package/docs/platforms/mac/logging.md +0 -62
  359. package/docs/platforms/mac/menu-bar.md +0 -93
  360. package/docs/platforms/mac/peekaboo.md +0 -96
  361. package/docs/platforms/mac/permissions.md +0 -73
  362. package/docs/platforms/mac/remote.md +0 -123
  363. package/docs/platforms/mac/signing.md +0 -52
  364. package/docs/platforms/mac/skills.md +0 -43
  365. package/docs/platforms/mac/voice-overlay.md +0 -66
  366. package/docs/platforms/mac/voicewake.md +0 -73
  367. package/docs/platforms/mac/webchat.md +0 -54
  368. package/docs/platforms/mac/xpc.md +0 -66
  369. package/docs/platforms/oracle.md +0 -12
  370. package/docs/platforms/raspberry-pi.md +0 -13
  371. package/docs/platforms/windows.md +0 -286
  372. package/docs/plugins/adding-capabilities.md +0 -146
  373. package/docs/plugins/admin-http-rpc.md +0 -216
  374. package/docs/plugins/agent-tools.md +0 -13
  375. package/docs/plugins/architecture-internals.md +0 -1196
  376. package/docs/plugins/architecture.md +0 -483
  377. package/docs/plugins/building-extensions.md +0 -13
  378. package/docs/plugins/building-plugins.md +0 -335
  379. package/docs/plugins/bundles.md +0 -310
  380. package/docs/plugins/cli-backend-plugins.md +0 -310
  381. package/docs/plugins/codex-computer-use.md +0 -297
  382. package/docs/plugins/codex-harness-reference.md +0 -470
  383. package/docs/plugins/codex-harness-runtime.md +0 -268
  384. package/docs/plugins/codex-harness.md +0 -780
  385. package/docs/plugins/codex-native-plugins.md +0 -276
  386. package/docs/plugins/community.md +0 -77
  387. package/docs/plugins/compatibility.md +0 -167
  388. package/docs/plugins/copilot.md +0 -356
  389. package/docs/plugins/dependency-resolution.md +0 -176
  390. package/docs/plugins/google-meet.md +0 -1737
  391. package/docs/plugins/hooks.md +0 -484
  392. package/docs/plugins/install-overrides.md +0 -80
  393. package/docs/plugins/manage-plugins.md +0 -210
  394. package/docs/plugins/manifest.md +0 -1457
  395. package/docs/plugins/memory-lancedb.md +0 -385
  396. package/docs/plugins/memory-wiki.md +0 -529
  397. package/docs/plugins/message-presentation.md +0 -473
  398. package/docs/plugins/oc-path.md +0 -166
  399. package/docs/plugins/plugin-inventory.md +0 -189
  400. package/docs/plugins/plugin-permission-requests.md +0 -193
  401. package/docs/plugins/reference/acpx.md +0 -23
  402. package/docs/plugins/reference/admin-http-rpc.md +0 -23
  403. package/docs/plugins/reference/alibaba.md +0 -23
  404. package/docs/plugins/reference/amazon-bedrock-mantle.md +0 -23
  405. package/docs/plugins/reference/amazon-bedrock.md +0 -23
  406. package/docs/plugins/reference/anthropic-vertex.md +0 -19
  407. package/docs/plugins/reference/anthropic.md +0 -23
  408. package/docs/plugins/reference/arcee.md +0 -23
  409. package/docs/plugins/reference/azure-speech.md +0 -23
  410. package/docs/plugins/reference/bonjour.md +0 -19
  411. package/docs/plugins/reference/brave.md +0 -23
  412. package/docs/plugins/reference/browser.md +0 -23
  413. package/docs/plugins/reference/byteplus.md +0 -19
  414. package/docs/plugins/reference/canvas.md +0 -19
  415. package/docs/plugins/reference/cerebras.md +0 -23
  416. package/docs/plugins/reference/chutes.md +0 -23
  417. package/docs/plugins/reference/clickclack.md +0 -23
  418. package/docs/plugins/reference/cloudflare-ai-gateway.md +0 -23
  419. package/docs/plugins/reference/codex-supervisor.md +0 -27
  420. package/docs/plugins/reference/codex.md +0 -23
  421. package/docs/plugins/reference/comfy.md +0 -23
  422. package/docs/plugins/reference/copilot-proxy.md +0 -19
  423. package/docs/plugins/reference/copilot.md +0 -23
  424. package/docs/plugins/reference/deepgram.md +0 -23
  425. package/docs/plugins/reference/deepinfra.md +0 -23
  426. package/docs/plugins/reference/deepseek.md +0 -23
  427. package/docs/plugins/reference/diagnostics-otel.md +0 -19
  428. package/docs/plugins/reference/diagnostics-prometheus.md +0 -19
  429. package/docs/plugins/reference/diffs-language-pack.md +0 -19
  430. package/docs/plugins/reference/diffs.md +0 -19
  431. package/docs/plugins/reference/discord.md +0 -23
  432. package/docs/plugins/reference/document-extract.md +0 -23
  433. package/docs/plugins/reference/duckduckgo.md +0 -23
  434. package/docs/plugins/reference/elevenlabs.md +0 -23
  435. package/docs/plugins/reference/exa.md +0 -23
  436. package/docs/plugins/reference/fal.md +0 -23
  437. package/docs/plugins/reference/feishu.md +0 -23
  438. package/docs/plugins/reference/file-transfer.md +0 -19
  439. package/docs/plugins/reference/firecrawl.md +0 -23
  440. package/docs/plugins/reference/fireworks.md +0 -23
  441. package/docs/plugins/reference/github-copilot.md +0 -23
  442. package/docs/plugins/reference/gmi.md +0 -23
  443. package/docs/plugins/reference/google-meet.md +0 -23
  444. package/docs/plugins/reference/google.md +0 -23
  445. package/docs/plugins/reference/googlechat.md +0 -23
  446. package/docs/plugins/reference/gradium.md +0 -23
  447. package/docs/plugins/reference/groq.md +0 -23
  448. package/docs/plugins/reference/huggingface.md +0 -23
  449. package/docs/plugins/reference/imessage.md +0 -23
  450. package/docs/plugins/reference/inworld.md +0 -23
  451. package/docs/plugins/reference/irc.md +0 -23
  452. package/docs/plugins/reference/kilocode.md +0 -23
  453. package/docs/plugins/reference/kimi.md +0 -23
  454. package/docs/plugins/reference/line.md +0 -23
  455. package/docs/plugins/reference/litellm.md +0 -23
  456. package/docs/plugins/reference/llm-task.md +0 -19
  457. package/docs/plugins/reference/lmstudio.md +0 -23
  458. package/docs/plugins/reference/lobster.md +0 -19
  459. package/docs/plugins/reference/matrix.md +0 -23
  460. package/docs/plugins/reference/mattermost.md +0 -23
  461. package/docs/plugins/reference/memory-core.md +0 -19
  462. package/docs/plugins/reference/memory-lancedb.md +0 -23
  463. package/docs/plugins/reference/memory-wiki.md +0 -23
  464. package/docs/plugins/reference/microsoft-foundry.md +0 -19
  465. package/docs/plugins/reference/microsoft.md +0 -19
  466. package/docs/plugins/reference/migrate-claude.md +0 -19
  467. package/docs/plugins/reference/migrate-hermes.md +0 -19
  468. package/docs/plugins/reference/minimax.md +0 -23
  469. package/docs/plugins/reference/mistral.md +0 -23
  470. package/docs/plugins/reference/moonshot.md +0 -23
  471. package/docs/plugins/reference/msteams.md +0 -23
  472. package/docs/plugins/reference/nextcloud-talk.md +0 -23
  473. package/docs/plugins/reference/nostr.md +0 -23
  474. package/docs/plugins/reference/novita.md +0 -23
  475. package/docs/plugins/reference/nvidia.md +0 -23
  476. package/docs/plugins/reference/oc-path.md +0 -23
  477. package/docs/plugins/reference/ollama.md +0 -23
  478. package/docs/plugins/reference/open-prose.md +0 -19
  479. package/docs/plugins/reference/openai.md +0 -23
  480. package/docs/plugins/reference/opencode-go.md +0 -23
  481. package/docs/plugins/reference/opencode.md +0 -23
  482. package/docs/plugins/reference/openrouter.md +0 -23
  483. package/docs/plugins/reference/openshell.md +0 -19
  484. package/docs/plugins/reference/perplexity.md +0 -23
  485. package/docs/plugins/reference/pixverse.md +0 -23
  486. package/docs/plugins/reference/policy.md +0 -72
  487. package/docs/plugins/reference/qa-channel.md +0 -23
  488. package/docs/plugins/reference/qa-lab.md +0 -19
  489. package/docs/plugins/reference/qa-matrix.md +0 -19
  490. package/docs/plugins/reference/qianfan.md +0 -23
  491. package/docs/plugins/reference/qqbot.md +0 -23
  492. package/docs/plugins/reference/qwen.md +0 -23
  493. package/docs/plugins/reference/runway.md +0 -23
  494. package/docs/plugins/reference/searxng.md +0 -19
  495. package/docs/plugins/reference/senseaudio.md +0 -23
  496. package/docs/plugins/reference/sglang.md +0 -23
  497. package/docs/plugins/reference/signal.md +0 -23
  498. package/docs/plugins/reference/skill-workshop.md +0 -23
  499. package/docs/plugins/reference/slack.md +0 -23
  500. package/docs/plugins/reference/stepfun.md +0 -23
  501. package/docs/plugins/reference/synology-chat.md +0 -23
  502. package/docs/plugins/reference/synthetic.md +0 -23
  503. package/docs/plugins/reference/tavily.md +0 -23
  504. package/docs/plugins/reference/telegram.md +0 -23
  505. package/docs/plugins/reference/tencent.md +0 -23
  506. package/docs/plugins/reference/tlon.md +0 -23
  507. package/docs/plugins/reference/together.md +0 -23
  508. package/docs/plugins/reference/tokenjuice.md +0 -23
  509. package/docs/plugins/reference/tts-local-cli.md +0 -19
  510. package/docs/plugins/reference/twitch.md +0 -23
  511. package/docs/plugins/reference/venice.md +0 -23
  512. package/docs/plugins/reference/vercel-ai-gateway.md +0 -23
  513. package/docs/plugins/reference/vllm.md +0 -23
  514. package/docs/plugins/reference/voice-call.md +0 -23
  515. package/docs/plugins/reference/volcengine.md +0 -23
  516. package/docs/plugins/reference/voyage.md +0 -19
  517. package/docs/plugins/reference/vydra.md +0 -23
  518. package/docs/plugins/reference/web-readability.md +0 -19
  519. package/docs/plugins/reference/webhooks.md +0 -23
  520. package/docs/plugins/reference/whatsapp.md +0 -23
  521. package/docs/plugins/reference/workboard.md +0 -23
  522. package/docs/plugins/reference/xai.md +0 -23
  523. package/docs/plugins/reference/xiaomi.md +0 -23
  524. package/docs/plugins/reference/zai.md +0 -23
  525. package/docs/plugins/reference/zalo.md +0 -23
  526. package/docs/plugins/reference/zalouser.md +0 -24
  527. package/docs/plugins/reference.md +0 -145
  528. package/docs/plugins/sdk-agent-harness.md +0 -338
  529. package/docs/plugins/sdk-channel-inbound.md +0 -70
  530. package/docs/plugins/sdk-channel-ingress.md +0 -137
  531. package/docs/plugins/sdk-channel-message.md +0 -18
  532. package/docs/plugins/sdk-channel-outbound.md +0 -113
  533. package/docs/plugins/sdk-channel-plugins.md +0 -765
  534. package/docs/plugins/sdk-channel-turn.md +0 -9
  535. package/docs/plugins/sdk-entrypoints.md +0 -344
  536. package/docs/plugins/sdk-migration.md +0 -979
  537. package/docs/plugins/sdk-overview.md +0 -511
  538. package/docs/plugins/sdk-provider-plugins.md +0 -846
  539. package/docs/plugins/sdk-runtime.md +0 -676
  540. package/docs/plugins/sdk-setup.md +0 -550
  541. package/docs/plugins/sdk-subpaths.md +0 -391
  542. package/docs/plugins/sdk-testing.md +0 -403
  543. package/docs/plugins/skill-workshop.md +0 -713
  544. package/docs/plugins/tool-plugins.md +0 -411
  545. package/docs/plugins/voice-call.md +0 -942
  546. package/docs/plugins/webhooks.md +0 -192
  547. package/docs/plugins/workboard.md +0 -252
  548. package/docs/plugins/zalouser.md +0 -86
  549. package/docs/prose.md +0 -137
  550. package/docs/providers/alibaba.md +0 -158
  551. package/docs/providers/anthropic.md +0 -381
  552. package/docs/providers/arcee.md +0 -144
  553. package/docs/providers/azure-speech.md +0 -119
  554. package/docs/providers/bedrock-mantle.md +0 -211
  555. package/docs/providers/bedrock.md +0 -414
  556. package/docs/providers/cerebras.md +0 -130
  557. package/docs/providers/chutes.md +0 -153
  558. package/docs/providers/claude-max-api-proxy.md +0 -191
  559. package/docs/providers/cloudflare-ai-gateway.md +0 -119
  560. package/docs/providers/comfy.md +0 -362
  561. package/docs/providers/deepgram.md +0 -184
  562. package/docs/providers/deepinfra.md +0 -92
  563. package/docs/providers/deepseek.md +0 -146
  564. package/docs/providers/ds4.md +0 -309
  565. package/docs/providers/elevenlabs.md +0 -130
  566. package/docs/providers/fal.md +0 -240
  567. package/docs/providers/fireworks.md +0 -144
  568. package/docs/providers/github-copilot.md +0 -257
  569. package/docs/providers/gmi.md +0 -92
  570. package/docs/providers/google.md +0 -472
  571. package/docs/providers/gradium.md +0 -123
  572. package/docs/providers/groq.md +0 -171
  573. package/docs/providers/huggingface.md +0 -235
  574. package/docs/providers/index.md +0 -105
  575. package/docs/providers/inferrs.md +0 -272
  576. package/docs/providers/inworld.md +0 -120
  577. package/docs/providers/kilocode.md +0 -135
  578. package/docs/providers/litellm.md +0 -234
  579. package/docs/providers/lmstudio.md +0 -224
  580. package/docs/providers/minimax.md +0 -505
  581. package/docs/providers/mistral.md +0 -235
  582. package/docs/providers/models.md +0 -64
  583. package/docs/providers/moonshot.md +0 -413
  584. package/docs/providers/novita.md +0 -92
  585. package/docs/providers/nvidia.md +0 -158
  586. package/docs/providers/ollama-cloud.md +0 -115
  587. package/docs/providers/ollama.md +0 -1225
  588. package/docs/providers/openai.md +0 -1093
  589. package/docs/providers/opencode-go.md +0 -123
  590. package/docs/providers/opencode.md +0 -149
  591. package/docs/providers/openrouter.md +0 -349
  592. package/docs/providers/perplexity-provider.md +0 -123
  593. package/docs/providers/pixverse.md +0 -165
  594. package/docs/providers/qianfan.md +0 -132
  595. package/docs/providers/qwen-oauth.md +0 -115
  596. package/docs/providers/qwen.md +0 -364
  597. package/docs/providers/runway.md +0 -103
  598. package/docs/providers/senseaudio.md +0 -68
  599. package/docs/providers/sglang.md +0 -161
  600. package/docs/providers/stepfun.md +0 -229
  601. package/docs/providers/synthetic.md +0 -154
  602. package/docs/providers/tencent.md +0 -130
  603. package/docs/providers/together.md +0 -140
  604. package/docs/providers/venice.md +0 -312
  605. package/docs/providers/vercel-ai-gateway.md +0 -128
  606. package/docs/providers/vllm.md +0 -407
  607. package/docs/providers/volcengine.md +0 -199
  608. package/docs/providers/vydra.md +0 -180
  609. package/docs/providers/xai.md +0 -571
  610. package/docs/providers/xiaomi.md +0 -262
  611. package/docs/providers/zai.md +0 -224
  612. package/docs/refactor/access.md +0 -9
  613. package/docs/refactor/acp.md +0 -298
  614. package/docs/refactor/canvas.md +0 -131
  615. package/docs/refactor/database-first.md +0 -2256
  616. package/docs/refactor/ingress-core.md +0 -341
  617. package/docs/reference/AGENTS.default.md +0 -131
  618. package/docs/reference/RELEASING.md +0 -799
  619. package/docs/reference/api-usage-costs.md +0 -208
  620. package/docs/reference/application-modernization-plan.md +0 -208
  621. package/docs/reference/code-mode.md +0 -773
  622. package/docs/reference/credits.md +0 -33
  623. package/docs/reference/device-models.md +0 -50
  624. package/docs/reference/fengming-sdk-api-design.md +0 -390
  625. package/docs/reference/full-release-validation.md +0 -202
  626. package/docs/reference/memory-config.md +0 -604
  627. package/docs/reference/prompt-caching.md +0 -358
  628. package/docs/reference/release-performance-sweep.md +0 -360
  629. package/docs/reference/rich-output-protocol.md +0 -101
  630. package/docs/reference/rpc.md +0 -43
  631. package/docs/reference/secret-placeholder-conventions.md +0 -33
  632. package/docs/reference/secretref-credential-surface.md +0 -159
  633. package/docs/reference/secretref-user-supplied-credentials-matrix.json +0 -663
  634. package/docs/reference/session-management-compaction.md +0 -474
  635. package/docs/reference/templates/AGENTS.dev.md +0 -90
  636. package/docs/reference/templates/AGENTS.md +0 -227
  637. package/docs/reference/templates/BOOT.md +0 -16
  638. package/docs/reference/templates/BOOTSTRAP.md +0 -66
  639. package/docs/reference/templates/CLAUDE.md +0 -1
  640. package/docs/reference/templates/HEARTBEAT.md +0 -24
  641. package/docs/reference/templates/IDENTITY.dev.md +0 -52
  642. package/docs/reference/templates/IDENTITY.md +0 -34
  643. package/docs/reference/templates/SOUL.dev.md +0 -82
  644. package/docs/reference/templates/SOUL.md +0 -49
  645. package/docs/reference/templates/TOOLS.dev.md +0 -29
  646. package/docs/reference/templates/TOOLS.md +0 -51
  647. package/docs/reference/templates/USER.dev.md +0 -23
  648. package/docs/reference/templates/USER.md +0 -28
  649. package/docs/reference/test.md +0 -247
  650. package/docs/reference/token-use.md +0 -246
  651. package/docs/reference/transcript-hygiene.md +0 -214
  652. package/docs/reference/wizard.md +0 -252
  653. package/docs/security/CONTRIBUTING-THREAT-MODEL.md +0 -101
  654. package/docs/security/THREAT-MODEL-ATLAS.md +0 -611
  655. package/docs/security/formal-verification.md +0 -170
  656. package/docs/security/incident-response.md +0 -59
  657. package/docs/security/network-proxy.md +0 -268
  658. package/docs/snippets/plugin-publish/minimal-fengming.plugin.json +0 -12
  659. package/docs/snippets/plugin-publish/minimal-package.json +0 -16
  660. package/docs/specs/claw-supervisor.md +0 -247
  661. package/docs/start/bootstrapping.md +0 -49
  662. package/docs/start/docs-directory.md +0 -69
  663. package/docs/start/fengming.md +0 -252
  664. package/docs/start/getting-started.md +0 -152
  665. package/docs/start/hubs.md +0 -201
  666. package/docs/start/lore.md +0 -223
  667. package/docs/start/onboarding-overview.md +0 -72
  668. package/docs/start/onboarding.md +0 -98
  669. package/docs/start/quickstart.md +0 -25
  670. package/docs/start/setup.md +0 -178
  671. package/docs/start/showcase.md +0 -363
  672. package/docs/start/wizard-cli-automation.md +0 -232
  673. package/docs/start/wizard-cli-reference.md +0 -331
  674. package/docs/start/wizard.md +0 -141
  675. package/docs/style.css +0 -137
  676. package/docs/superpowers/specs/2026-04-22-tweakcn-custom-theme-import-design.md +0 -316
  677. package/docs/tools/acp-agents-setup.md +0 -351
  678. package/docs/tools/acp-agents.md +0 -854
  679. package/docs/tools/agent-send.md +0 -130
  680. package/docs/tools/apply-patch.md +0 -64
  681. package/docs/tools/brave-search.md +0 -139
  682. package/docs/tools/browser-control.md +0 -391
  683. package/docs/tools/browser-linux-troubleshooting.md +0 -173
  684. package/docs/tools/browser-login.md +0 -77
  685. package/docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md +0 -219
  686. package/docs/tools/browser.md +0 -810
  687. package/docs/tools/btw.md +0 -159
  688. package/docs/tools/capability-cookbook.md +0 -12
  689. package/docs/tools/clawhub.md +0 -5
  690. package/docs/tools/code-execution.md +0 -173
  691. package/docs/tools/creating-skills.md +0 -158
  692. package/docs/tools/diffs.md +0 -525
  693. package/docs/tools/duckduckgo-search.md +0 -109
  694. package/docs/tools/elevated.md +0 -128
  695. package/docs/tools/exa-search.md +0 -152
  696. package/docs/tools/exec-approvals-advanced.md +0 -444
  697. package/docs/tools/exec-approvals.md +0 -494
  698. package/docs/tools/exec.md +0 -285
  699. package/docs/tools/firecrawl.md +0 -155
  700. package/docs/tools/gemini-search.md +0 -114
  701. package/docs/tools/goal.md +0 -217
  702. package/docs/tools/grok-search.md +0 -129
  703. package/docs/tools/image-generation.md +0 -493
  704. package/docs/tools/index.md +0 -178
  705. package/docs/tools/kimi-search.md +0 -105
  706. package/docs/tools/llm-task.md +0 -137
  707. package/docs/tools/lobster.md +0 -365
  708. package/docs/tools/loop-detection.md +0 -154
  709. package/docs/tools/media-overview.md +0 -160
  710. package/docs/tools/minimax-search.md +0 -102
  711. package/docs/tools/multi-agent-sandbox-tools.md +0 -409
  712. package/docs/tools/music-generation.md +0 -372
  713. package/docs/tools/ollama-search.md +0 -153
  714. package/docs/tools/pdf.md +0 -213
  715. package/docs/tools/perplexity-search.md +0 -220
  716. package/docs/tools/plugin.md +0 -363
  717. package/docs/tools/reactions.md +0 -100
  718. package/docs/tools/searxng-search.md +0 -141
  719. package/docs/tools/skills-config.md +0 -195
  720. package/docs/tools/skills.md +0 -569
  721. package/docs/tools/slash-commands.md +0 -487
  722. package/docs/tools/steer.md +0 -77
  723. package/docs/tools/subagents.md +0 -651
  724. package/docs/tools/tavily.md +0 -162
  725. package/docs/tools/thinking.md +0 -142
  726. package/docs/tools/tokenjuice.md +0 -84
  727. package/docs/tools/tool-search.md +0 -269
  728. package/docs/tools/trajectory.md +0 -229
  729. package/docs/tools/tts.md +0 -1009
  730. package/docs/tools/video-generation.md +0 -555
  731. package/docs/tools/web-fetch.md +0 -210
  732. package/docs/tools/web.md +0 -461
  733. package/docs/tts.md +0 -11
  734. package/docs/vps.md +0 -139
  735. package/docs/web/control-ui.md +0 -512
  736. package/docs/web/dashboard.md +0 -107
  737. package/docs/web/index.md +0 -133
  738. package/docs/web/tui.md +0 -250
  739. package/docs/web/webchat.md +0 -102
  740. package/npm-shrinkwrap.json +0 -12861
  741. package/patches/.gitkeep +0 -0
  742. package/patches/@agentclientprotocol__claude-agent-acp@0.37.0.patch +0 -41
  743. package/pnpm-workspace.yaml +0 -120
  744. package/scripts/crabbox-wrapper.mjs +0 -2004
  745. package/scripts/lib/official-external-channel-catalog.json +0 -560
  746. package/scripts/lib/official-external-plugin-catalog.json +0 -264
  747. package/scripts/lib/official-external-provider-catalog.json +0 -158
  748. package/scripts/lib/package-dist-imports.mjs +0 -171
  749. package/scripts/npm-runner.mjs +0 -91
  750. package/scripts/postinstall-bundled-plugins.mjs +0 -978
  751. package/scripts/preinstall-package-manager-warning.mjs +0 -64
  752. package/scripts/prepare-git-hooks.mjs +0 -72
  753. package/scripts/windows-cmd-helpers.mjs +0 -22
  754. package/skills/batch/SKILL.md +0 -118
  755. package/skills/code-review/SKILL.md +0 -107
  756. package/skills/debug/SKILL.md +0 -83
  757. package/skills/loop/SKILL.md +0 -118
  758. package/skills/run/SKILL.md +0 -79
  759. package/skills/run-skill-generator/SKILL.md +0 -179
  760. package/skills/verify/SKILL.md +0 -103
  761. package/src/agents/templates/HEARTBEAT.md +0 -3
package/docs/help/faq.md DELETED
@@ -1,2041 +0,0 @@
1
- ---
2
- summary: "Frequently asked questions about FengMing setup, configuration, and usage"
3
- read_when:
4
- - Answering common setup, install, onboarding, or runtime support questions
5
- - Triaging user-reported issues before deeper debugging
6
- title: "FAQ"
7
- ---
8
-
9
- Quick answers plus deeper troubleshooting for real-world setups (local dev, VPS, multi-agent, OAuth/API keys, model failover). For runtime diagnostics, see [Troubleshooting](/gateway/troubleshooting). For the full config reference, see [Configuration](/gateway/configuration).
10
-
11
- ## First 60 seconds if something is broken
12
-
13
- 1. **Quick status (first check)**
14
-
15
- ```bash
16
- fengming status
17
- ```
18
-
19
- Fast local summary: OS + update, gateway/service reachability, agents/sessions, provider config + runtime issues (when gateway is reachable).
20
-
21
- 2. **Pasteable report (safe to share)**
22
-
23
- ```bash
24
- fengming status --all
25
- ```
26
-
27
- Read-only diagnosis with log tail (tokens redacted).
28
-
29
- 3. **Daemon + port state**
30
-
31
- ```bash
32
- fengming gateway status
33
- ```
34
-
35
- Shows supervisor runtime vs RPC reachability, the probe target URL, and which config the service likely used.
36
-
37
- 4. **Deep probes**
38
-
39
- ```bash
40
- fengming status --deep
41
- ```
42
-
43
- Runs a live gateway health probe, including channel probes when supported
44
- (requires a reachable gateway). See [Health](/gateway/health).
45
-
46
- 5. **Tail the latest log**
47
-
48
- ```bash
49
- fengming logs --follow
50
- ```
51
-
52
- If RPC is down, fall back to:
53
-
54
- ```bash
55
- tail -f "$(ls -t /tmp/fengming/fengming-*.log | head -1)"
56
- ```
57
-
58
- File logs are separate from service logs; see [Logging](/logging) and [Troubleshooting](/gateway/troubleshooting).
59
-
60
- 6. **Run the doctor (repairs)**
61
-
62
- ```bash
63
- fengming doctor
64
- ```
65
-
66
- Repairs/migrates config/state + runs health checks. See [Doctor](/gateway/doctor).
67
-
68
- 7. **Gateway snapshot**
69
-
70
- ```bash
71
- fengming health --json
72
- fengming health --verbose # shows the target URL + config path on errors
73
- ```
74
-
75
- Asks the running gateway for a full snapshot (WS-only). See [Health](/gateway/health).
76
-
77
- ## Quick start and first-run setup
78
-
79
- First-run Q&A — install, onboard, auth routes, subscriptions, initial failures —
80
- lives on the [First-run FAQ](/help/faq-first-run).
81
-
82
- ## What is FengMing?
83
-
84
- <AccordionGroup>
85
- <Accordion title="What is FengMing, in one paragraph?">
86
- FengMing is a personal AI assistant you run on your own devices. It replies on the messaging surfaces you already use (WhatsApp, Telegram, Slack, Mattermost, Discord, Google Chat, Signal, iMessage, WebChat, and bundled channel plugins such as QQ Bot) and can also do voice + a live Canvas on supported platforms. The **Gateway** is the always-on control plane; the assistant is the product.
87
- </Accordion>
88
-
89
- <Accordion title="Value proposition">
90
- FengMing is not "just a Claude wrapper." It's a **local-first control plane** that lets you run a
91
- capable assistant on **your own hardware**, reachable from the chat apps you already use, with
92
- stateful sessions, memory, and tools - without handing control of your workflows to a hosted
93
- SaaS.
94
-
95
- Highlights:
96
-
97
- - **Your devices, your data:** run the Gateway wherever you want (Mac, Linux, VPS) and keep the
98
- workspace + session history local.
99
- - **Real channels, not a web sandbox:** WhatsApp/Telegram/Slack/Discord/Signal/iMessage/etc,
100
- plus mobile voice and Canvas on supported platforms.
101
- - **Model-agnostic:** use Anthropic, OpenAI, MiniMax, OpenRouter, etc., with per-agent routing
102
- and failover.
103
- - **Local-only option:** run local models so **all data can stay on your device** if you want.
104
- - **Multi-agent routing:** separate agents per channel, account, or task, each with its own
105
- workspace and defaults.
106
- - **Open source and hackable:** inspect, extend, and self-host without vendor lock-in.
107
-
108
- Docs: [Gateway](/gateway), [Channels](/channels), [Multi-agent](/concepts/multi-agent),
109
- [Memory](/concepts/memory).
110
-
111
- </Accordion>
112
-
113
- <Accordion title="I just set it up - what should I do first?">
114
- Good first projects:
115
-
116
- - Build a website (WordPress, Shopify, or a simple static site).
117
- - Prototype a mobile app (outline, screens, API plan).
118
- - Organize files and folders (cleanup, naming, tagging).
119
- - Connect Gmail and automate summaries or follow ups.
120
-
121
- It can handle large tasks, but it works best when you split them into phases and
122
- use sub agents for parallel work.
123
-
124
- </Accordion>
125
-
126
- <Accordion title="What are the top five everyday use cases for FengMing?">
127
- Everyday wins usually look like:
128
-
129
- - **Personal briefings:** summaries of inbox, calendar, and news you care about.
130
- - **Research and drafting:** quick research, summaries, and first drafts for emails or docs.
131
- - **Reminders and follow ups:** cron or heartbeat driven nudges and checklists.
132
- - **Browser automation:** filling forms, collecting data, and repeating web tasks.
133
- - **Cross device coordination:** send a task from your phone, let the Gateway run it on a server, and get the result back in chat.
134
-
135
- </Accordion>
136
-
137
- <Accordion title="Can FengMing help with lead gen, outreach, ads, and blogs for a SaaS?">
138
- Yes for **research, qualification, and drafting**. It can scan sites, build shortlists,
139
- summarize prospects, and write outreach or ad copy drafts.
140
-
141
- For **outreach or ad runs**, keep a human in the loop. Avoid spam, follow local laws and
142
- platform policies, and review anything before it is sent. The safest pattern is to let
143
- FengMing draft and you approve.
144
-
145
- Docs: [Security](/gateway/security).
146
-
147
- </Accordion>
148
-
149
- <Accordion title="What are the advantages vs Claude Code for web development?">
150
- FengMing is a **personal assistant** and coordination layer, not an IDE replacement. Use
151
- Claude Code or Codex for the fastest direct coding loop inside a repo. Use FengMing when you
152
- want durable memory, cross-device access, and tool orchestration.
153
-
154
- Advantages:
155
-
156
- - **Persistent memory + workspace** across sessions
157
- - **Multi-platform access** (WhatsApp, Telegram, TUI, WebChat)
158
- - **Tool orchestration** (browser, files, scheduling, hooks)
159
- - **Always-on Gateway** (run on a VPS, interact from anywhere)
160
- - **Nodes** for local browser/screen/camera/exec
161
-
162
- Showcase: [https://fengming.ai/showcase](https://fengming.ai/showcase)
163
-
164
- </Accordion>
165
- </AccordionGroup>
166
-
167
- ## Skills and automation
168
-
169
- <AccordionGroup>
170
- <Accordion title="How do I customize skills without keeping the repo dirty?">
171
- Use managed overrides instead of editing the repo copy. Put your changes in `~/.fengming/skills/<name>/SKILL.md` (or add a folder via `skills.load.extraDirs` in `~/.fengming/fengming.json`). Precedence is `<workspace>/skills` → `<workspace>/.agents/skills` → `~/.agents/skills` → `~/.fengming/skills` → bundled → `skills.load.extraDirs`, so managed overrides still win over bundled skills without touching git. If you need the skill installed globally but only visible to some agents, keep the shared copy in `~/.fengming/skills` and control visibility with `agents.defaults.skills` and `agents.list[].skills`. Only upstream-worthy edits should live in the repo and go out as PRs.
172
- </Accordion>
173
-
174
- <Accordion title="Can I load skills from a custom folder?">
175
- Yes. Add extra directories via `skills.load.extraDirs` in `~/.fengming/fengming.json` (lowest precedence). Default precedence is `<workspace>/skills` → `<workspace>/.agents/skills` → `~/.agents/skills` → `~/.fengming/skills` → bundled → `skills.load.extraDirs`. `clawhub` installs into `./skills` by default, which FengMing treats as `<workspace>/skills` on the next session. If the skill should only be visible to certain agents, pair that with `agents.defaults.skills` or `agents.list[].skills`.
176
- </Accordion>
177
-
178
- <Accordion title="How can I use different models for different tasks?">
179
- Today the supported patterns are:
180
-
181
- - **Cron jobs**: isolated jobs can set a `model` override per job.
182
- - **Sub-agents**: route tasks to separate agents with different default models.
183
- - **On-demand switch**: use `/model` to switch the current session model at any time.
184
-
185
- See [Cron jobs](/automation/cron-jobs), [Multi-Agent Routing](/concepts/multi-agent), and [Slash commands](/tools/slash-commands).
186
-
187
- </Accordion>
188
-
189
- <Accordion title="The bot freezes while doing heavy work. How do I offload that?">
190
- Use **sub-agents** for long or parallel tasks. Sub-agents run in their own session,
191
- return a summary, and keep your main chat responsive.
192
-
193
- Ask your bot to "spawn a sub-agent for this task" or use `/subagents`.
194
- Use `/status` in chat to see what the Gateway is doing right now (and whether it is busy).
195
-
196
- Token tip: long tasks and sub-agents both consume tokens. If cost is a concern, set a
197
- cheaper model for sub-agents via `agents.defaults.subagents.model`.
198
-
199
- Docs: [Sub-agents](/tools/subagents), [Background Tasks](/automation/tasks).
200
-
201
- </Accordion>
202
-
203
- <Accordion title="How do thread-bound subagent sessions work on Discord?">
204
- Use thread bindings. You can bind a Discord thread to a subagent or session target so follow-up messages in that thread stay on that bound session.
205
-
206
- Basic flow:
207
-
208
- - Spawn with `sessions_spawn` using `thread: true` (and optionally `mode: "session"` for persistent follow-up).
209
- - Or manually bind with `/focus <target>`.
210
- - Use `/agents` to inspect binding state.
211
- - Use `/session idle <duration|off>` and `/session max-age <duration|off>` to control auto-unfocus.
212
- - Use `/unfocus` to detach the thread.
213
-
214
- Required config:
215
-
216
- - Global defaults: `session.threadBindings.enabled`, `session.threadBindings.idleHours`, `session.threadBindings.maxAgeHours`.
217
- - Discord overrides: `channels.discord.threadBindings.enabled`, `channels.discord.threadBindings.idleHours`, `channels.discord.threadBindings.maxAgeHours`.
218
- - Auto-bind on spawn: `channels.discord.threadBindings.spawnSessions` defaults to `true`; set it to `false` to disable thread-bound session spawns.
219
-
220
- Docs: [Sub-agents](/tools/subagents), [Discord](/channels/discord), [Configuration Reference](/gateway/configuration-reference), [Slash commands](/tools/slash-commands).
221
-
222
- </Accordion>
223
-
224
- <Accordion title="A subagent finished, but the completion update went to the wrong place or never posted. What should I check?">
225
- Check the resolved requester route first:
226
-
227
- - Completion-mode subagent delivery prefers any bound thread or conversation route when one exists.
228
- - If the completion origin only carries a channel, FengMing falls back to the requester session's stored route (`lastChannel` / `lastTo` / `lastAccountId`) so direct delivery can still succeed.
229
- - If neither a bound route nor a usable stored route exists, direct delivery can fail and the result falls back to queued session delivery instead of posting immediately to chat.
230
- - Invalid or stale targets can still force queue fallback or final delivery failure.
231
- - If the child's last visible assistant reply is the exact silent token `NO_REPLY` / `no_reply`, or exactly `ANNOUNCE_SKIP`, FengMing intentionally suppresses the announce instead of posting stale earlier progress.
232
- - Tool/toolResult output is not promoted into child result text; the result is the child's latest visible assistant reply.
233
-
234
- Debug:
235
-
236
- ```bash
237
- fengming tasks show <runId-or-sessionKey>
238
- ```
239
-
240
- Docs: [Sub-agents](/tools/subagents), [Background Tasks](/automation/tasks), [Session Tools](/concepts/session-tool).
241
-
242
- </Accordion>
243
-
244
- <Accordion title="Cron or reminders do not fire. What should I check?">
245
- Cron runs inside the Gateway process. If the Gateway is not running continuously,
246
- scheduled jobs will not run.
247
-
248
- Checklist:
249
-
250
- - Confirm cron is enabled (`cron.enabled`) and `FENGMING_SKIP_CRON` is not set.
251
- - Check the Gateway is running 24/7 (no sleep/restarts).
252
- - Verify timezone settings for the job (`--tz` vs host timezone).
253
-
254
- Debug:
255
-
256
- ```bash
257
- fengming cron run <jobId>
258
- fengming cron runs --id <jobId> --limit 50
259
- ```
260
-
261
- Docs: [Cron jobs](/automation/cron-jobs), [Automation](/automation).
262
-
263
- </Accordion>
264
-
265
- <Accordion title="Cron fired, but nothing was sent to the channel. Why?">
266
- Check the delivery mode first:
267
-
268
- - `--no-deliver` / `delivery.mode: "none"` means no runner fallback send is expected.
269
- - Missing or invalid announce target (`channel` / `to`) means the runner skipped outbound delivery.
270
- - Channel auth failures (`unauthorized`, `Forbidden`) mean the runner tried to deliver but credentials blocked it.
271
- - A silent isolated result (`NO_REPLY` / `no_reply` only) is treated as intentionally non-deliverable, so the runner also suppresses queued fallback delivery.
272
-
273
- For isolated cron jobs, the agent can still send directly with the `message`
274
- tool when a chat route is available. `--announce` only controls the runner
275
- fallback path for final text that the agent did not already send.
276
-
277
- Debug:
278
-
279
- ```bash
280
- fengming cron runs --id <jobId> --limit 50
281
- fengming tasks show <runId-or-sessionKey>
282
- ```
283
-
284
- Docs: [Cron jobs](/automation/cron-jobs), [Background Tasks](/automation/tasks).
285
-
286
- </Accordion>
287
-
288
- <Accordion title="Why did an isolated cron run switch models or retry once?">
289
- That is usually the live model-switch path, not duplicate scheduling.
290
-
291
- Isolated cron can persist a runtime model handoff and retry when the active
292
- run throws `LiveSessionModelSwitchError`. The retry keeps the switched
293
- provider/model, and if the switch carried a new auth profile override, cron
294
- persists that too before retrying.
295
-
296
- Related selection rules:
297
-
298
- - Gmail hook model override wins first when applicable.
299
- - Then per-job `model`.
300
- - Then any stored cron-session model override.
301
- - Then the normal agent/default model selection.
302
-
303
- The retry loop is bounded. After the initial attempt plus 2 switch retries,
304
- cron aborts instead of looping forever.
305
-
306
- Debug:
307
-
308
- ```bash
309
- fengming cron runs --id <jobId> --limit 50
310
- fengming tasks show <runId-or-sessionKey>
311
- ```
312
-
313
- Docs: [Cron jobs](/automation/cron-jobs), [cron CLI](/cli/cron).
314
-
315
- </Accordion>
316
-
317
- <Accordion title="How do I install skills on Linux?">
318
- Use native `fengming skills` commands or drop skills into your workspace. The macOS Skills UI isn't available on Linux.
319
- Browse skills at [https://clawhub.ai](https://clawhub.ai).
320
-
321
- ```bash
322
- fengming skills search "calendar"
323
- fengming skills search --limit 20
324
- fengming skills install <skill-slug>
325
- fengming skills install <skill-slug> --version <version>
326
- fengming skills install <skill-slug> --force
327
- fengming skills install <skill-slug> --global
328
- fengming skills update --all
329
- fengming skills update --all --global
330
- fengming skills list --eligible
331
- fengming skills check
332
- ```
333
-
334
- Native `fengming skills install` writes into the active workspace `skills/`
335
- directory by default. Add `--global` to install into the shared managed
336
- skills directory for all local agents. Install the separate `clawhub` CLI
337
- only if you want to publish or sync your own skills. Use
338
- `agents.defaults.skills` or `agents.list[].skills` if you want to narrow
339
- which agents can see shared skills.
340
-
341
- </Accordion>
342
-
343
- <Accordion title="Can FengMing run tasks on a schedule or continuously in the background?">
344
- Yes. Use the Gateway scheduler:
345
-
346
- - **Cron jobs** for scheduled or recurring tasks (persist across restarts).
347
- - **Heartbeat** for "main session" periodic checks.
348
- - **Isolated jobs** for autonomous agents that post summaries or deliver to chats.
349
-
350
- Docs: [Cron jobs](/automation/cron-jobs), [Automation](/automation),
351
- [Heartbeat](/gateway/heartbeat).
352
-
353
- </Accordion>
354
-
355
- <Accordion title="Can I run Apple macOS-only skills from Linux?">
356
- Not directly. macOS skills are gated by `metadata.fengming.os` plus required binaries, and skills only appear in the system prompt when they are eligible on the **Gateway host**. On Linux, `darwin`-only skills (like `apple-notes`, `apple-reminders`, `things-mac`) will not load unless you override the gating.
357
-
358
- You have three supported patterns:
359
-
360
- **Option A - run the Gateway on a Mac (simplest).**
361
- Run the Gateway where the macOS binaries exist, then connect from Linux in [remote mode](#gateway-ports-already-running-and-remote-mode) or over Tailscale. The skills load normally because the Gateway host is macOS.
362
-
363
- **Option B - use a macOS node (no SSH).**
364
- Run the Gateway on Linux, pair a macOS node (menubar app), and set **Node Run Commands** to "Always Ask" or "Always Allow" on the Mac. FengMing can treat macOS-only skills as eligible when the required binaries exist on the node. The agent runs those skills via the `nodes` tool. If you choose "Always Ask", approving "Always Allow" in the prompt adds that command to the allowlist.
365
-
366
- **Option C - proxy macOS binaries over SSH (advanced).**
367
- Keep the Gateway on Linux, but make the required CLI binaries resolve to SSH wrappers that run on a Mac. Then override the skill to allow Linux so it stays eligible.
368
-
369
- 1. Create an SSH wrapper for the binary (example: `memo` for Apple Notes):
370
-
371
- ```bash
372
- #!/usr/bin/env bash
373
- set -euo pipefail
374
- exec ssh -T user@mac-host /opt/homebrew/bin/memo "$@"
375
- ```
376
-
377
- 2. Put the wrapper on `PATH` on the Linux host (for example `~/bin/memo`).
378
- 3. Override the skill metadata (workspace or `~/.fengming/skills`) to allow Linux:
379
-
380
- ```markdown
381
- ---
382
- name: apple-notes
383
- description: Manage Apple Notes via the memo CLI on macOS.
384
- metadata: { "fengming": { "os": ["darwin", "linux"], "requires": { "bins": ["memo"] } } }
385
- ---
386
- ```
387
-
388
- 4. Start a new session so the skills snapshot refreshes.
389
-
390
- </Accordion>
391
-
392
- <Accordion title="Do you have a Notion or HeyGen integration?">
393
- Not built-in today.
394
-
395
- Options:
396
-
397
- - **Custom skill / plugin:** best for reliable API access (Notion/HeyGen both have APIs).
398
- - **Browser automation:** works without code but is slower and more fragile.
399
-
400
- If you want to keep context per client (agency workflows), a simple pattern is:
401
-
402
- - One Notion page per client (context + preferences + active work).
403
- - Ask the agent to fetch that page at the start of a session.
404
-
405
- If you want a native integration, open a feature request or build a skill
406
- targeting those APIs.
407
-
408
- Install skills:
409
-
410
- ```bash
411
- fengming skills install <skill-slug>
412
- fengming skills update --all
413
- ```
414
-
415
- Native installs land in the active workspace `skills/` directory. For shared skills across all local agents, use `fengming skills install <slug> --global` (or place them manually in `~/.fengming/skills/<name>/SKILL.md`). If only some agents should see a shared install, configure `agents.defaults.skills` or `agents.list[].skills`. Some skills expect binaries installed via Homebrew; on Linux that means Linuxbrew (see the Homebrew Linux FAQ entry above). See [Skills](/tools/skills), [Skills config](/tools/skills-config), and [ClawHub](/tools/clawhub).
416
-
417
- </Accordion>
418
-
419
- <Accordion title="How do I use my existing signed-in Chrome with FengMing?">
420
- Use the built-in `user` browser profile, which attaches through Chrome DevTools MCP:
421
-
422
- ```bash
423
- fengming browser --browser-profile user tabs
424
- fengming browser --browser-profile user snapshot
425
- ```
426
-
427
- If you want a custom name, create an explicit MCP profile:
428
-
429
- ```bash
430
- fengming browser create-profile --name chrome-live --driver existing-session
431
- fengming browser --browser-profile chrome-live tabs
432
- ```
433
-
434
- This path can use the local host browser or a connected browser node. If the Gateway runs elsewhere, either run a node host on the browser machine or use remote CDP instead.
435
-
436
- Current limits on `existing-session` / `user`:
437
-
438
- - actions are ref-driven, not CSS-selector driven
439
- - uploads require `ref` / `inputRef` and currently support one file at a time
440
- - `responsebody`, PDF export, download interception, and batch actions still need a managed browser or raw CDP profile
441
-
442
- </Accordion>
443
- </AccordionGroup>
444
-
445
- ## Sandboxing and memory
446
-
447
- <AccordionGroup>
448
- <Accordion title="Is there a dedicated sandboxing doc?">
449
- Yes. See [Sandboxing](/gateway/sandboxing). For Docker-specific setup (full gateway in Docker or sandbox images), see [Docker](/install/docker).
450
- </Accordion>
451
-
452
- <Accordion title="Docker feels limited - how do I enable full features?">
453
- The default image is security-first and runs as the `node` user, so it does not
454
- include system packages, Homebrew, or bundled browsers. For a fuller setup:
455
-
456
- - Persist `/home/node` with `FENGMING_HOME_VOLUME` so caches survive.
457
- - Bake system deps into the image with `FENGMING_IMAGE_APT_PACKAGES`.
458
- - Install Playwright browsers via the bundled CLI:
459
- `node /app/node_modules/playwright-core/cli.js install chromium`
460
- - Set `PLAYWRIGHT_BROWSERS_PATH` and ensure the path is persisted.
461
-
462
- Docs: [Docker](/install/docker), [Browser](/tools/browser).
463
-
464
- </Accordion>
465
-
466
- <Accordion title="Can I keep DMs personal but make groups public/sandboxed with one agent?">
467
- Yes - if your private traffic is **DMs** and your public traffic is **groups**.
468
-
469
- Use `agents.defaults.sandbox.mode: "non-main"` so group/channel sessions (non-main keys) run in the configured sandbox backend, while the main DM session stays on-host. Docker is the default backend if you do not choose one. Then restrict what tools are available in sandboxed sessions via `tools.sandbox.tools`.
470
-
471
- Setup walkthrough + example config: [Groups: personal DMs + public groups](/channels/groups#pattern-personal-dms-public-groups-single-agent)
472
-
473
- Key config reference: [Gateway configuration](/gateway/config-agents#agentsdefaultssandbox)
474
-
475
- </Accordion>
476
-
477
- <Accordion title="How do I bind a host folder into the sandbox?">
478
- Set `agents.defaults.sandbox.docker.binds` to `["host:path:mode"]` (e.g., `"/home/user/src:/src:ro"`). Global + per-agent binds merge; per-agent binds are ignored when `scope: "shared"`. Use `:ro` for anything sensitive and remember binds bypass the sandbox filesystem walls.
479
-
480
- FengMing validates bind sources against both the normalized path and the canonical path resolved through the deepest existing ancestor. That means symlink-parent escapes still fail closed even when the last path segment does not exist yet, and allowed-root checks still apply after symlink resolution.
481
-
482
- See [Sandboxing](/gateway/sandboxing#custom-bind-mounts) and [Sandbox vs Tool Policy vs Elevated](/gateway/sandbox-vs-tool-policy-vs-elevated#bind-mounts-security-quick-check) for examples and safety notes.
483
-
484
- </Accordion>
485
-
486
- <Accordion title="How does memory work?">
487
- FengMing memory is just Markdown files in the agent workspace:
488
-
489
- - Daily notes in `memory/YYYY-MM-DD.md`
490
- - Curated long-term notes in `MEMORY.md` (main/private sessions only)
491
-
492
- FengMing also runs a **silent pre-compaction memory flush** to remind the model
493
- to write durable notes before auto-compaction. This only runs when the workspace
494
- is writable (read-only sandboxes skip it). See [Memory](/concepts/memory).
495
-
496
- </Accordion>
497
-
498
- <Accordion title="Memory keeps forgetting things. How do I make it stick?">
499
- Ask the bot to **write the fact to memory**. Long-term notes belong in `MEMORY.md`,
500
- short-term context goes into `memory/YYYY-MM-DD.md`.
501
-
502
- This is still an area we are improving. It helps to remind the model to store memories;
503
- it will know what to do. If it keeps forgetting, verify the Gateway is using the same
504
- workspace on every run.
505
-
506
- Docs: [Memory](/concepts/memory), [Agent workspace](/concepts/agent-workspace).
507
-
508
- </Accordion>
509
-
510
- <Accordion title="Does memory persist forever? What are the limits?">
511
- Memory files live on disk and persist until you delete them. The limit is your
512
- storage, not the model. The **session context** is still limited by the model
513
- context window, so long conversations can compact or truncate. That is why
514
- memory search exists - it pulls only the relevant parts back into context.
515
-
516
- Docs: [Memory](/concepts/memory), [Context](/concepts/context).
517
-
518
- </Accordion>
519
-
520
- <Accordion title="Does semantic memory search require an OpenAI API key?">
521
- Only if you use **OpenAI embeddings**. Codex OAuth covers chat/completions and
522
- does **not** grant embeddings access, so **signing in with Codex (OAuth or the
523
- Codex CLI login)** does not help for semantic memory search. OpenAI embeddings
524
- still need a real API key (`OPENAI_API_KEY` or `models.providers.openai.apiKey`).
525
-
526
- If you don't set a provider explicitly, FengMing uses OpenAI embeddings. Legacy
527
- configs that still say `memorySearch.provider = "auto"` resolve to OpenAI too.
528
- If no OpenAI API key is available, semantic memory search stays unavailable
529
- until you configure a key or choose another provider explicitly.
530
-
531
- If you'd rather stay local, set `memorySearch.provider = "local"` (and optionally
532
- `memorySearch.fallback = "none"`). If you want Gemini embeddings, set
533
- `memorySearch.provider = "gemini"` and provide `GEMINI_API_KEY` (or
534
- `memorySearch.remote.apiKey`). We support **OpenAI, OpenAI-compatible, Gemini,
535
- Voyage, Mistral, Bedrock, Ollama, LM Studio, GitHub Copilot, DeepInfra, or local**
536
- embedding models - see [Memory](/concepts/memory) for the setup details.
537
-
538
- </Accordion>
539
- </AccordionGroup>
540
-
541
- ## Where things live on disk
542
-
543
- <AccordionGroup>
544
- <Accordion title="Is all data used with FengMing saved locally?">
545
- No - **FengMing's state is local**, but **external services still see what you send them**.
546
-
547
- - **Local by default:** sessions, memory files, config, and workspace live on the Gateway host
548
- (`~/.fengming` + your workspace directory).
549
- - **Remote by necessity:** messages you send to model providers (Anthropic/OpenAI/etc.) go to
550
- their APIs, and chat platforms (WhatsApp/Telegram/Slack/etc.) store message data on their
551
- servers.
552
- - **You control the footprint:** using local models keeps prompts on your machine, but channel
553
- traffic still goes through the channel's servers.
554
-
555
- Related: [Agent workspace](/concepts/agent-workspace), [Memory](/concepts/memory).
556
-
557
- </Accordion>
558
-
559
- <Accordion title="Where does FengMing store its data?">
560
- Everything lives under `$FENGMING_STATE_DIR` (default: `~/.fengming`):
561
-
562
- | Path | Purpose |
563
- | --------------------------------------------------------------- | ------------------------------------------------------------------ |
564
- | `$FENGMING_STATE_DIR/fengming.json` | Main config (JSON5) |
565
- | `$FENGMING_STATE_DIR/credentials/oauth.json` | Legacy OAuth import (copied into auth profiles on first use) |
566
- | `$FENGMING_STATE_DIR/agents/<agentId>/agent/auth-profiles.json` | Auth profiles (OAuth, API keys, and optional `keyRef`/`tokenRef`) |
567
- | `$FENGMING_STATE_DIR/secrets.json` | Optional file-backed secret payload for `file` SecretRef providers |
568
- | `$FENGMING_STATE_DIR/agents/<agentId>/agent/auth.json` | Legacy compatibility file (static `api_key` entries scrubbed) |
569
- | `$FENGMING_STATE_DIR/credentials/` | Provider state (e.g. `whatsapp/<accountId>/creds.json`) |
570
- | `$FENGMING_STATE_DIR/agents/` | Per-agent state (agentDir + sessions) |
571
- | `$FENGMING_STATE_DIR/agents/<agentId>/sessions/` | Conversation history & state (per agent) |
572
- | `$FENGMING_STATE_DIR/agents/<agentId>/sessions/sessions.json` | Session metadata (per agent) |
573
-
574
- Legacy single-agent path: `~/.fengming/agent/*` (migrated by `fengming doctor`).
575
-
576
- Your **workspace** (AGENTS.md, memory files, skills, etc.) is separate and configured via `agents.defaults.workspace` (default: `~/.fengming/workspace`).
577
-
578
- </Accordion>
579
-
580
- <Accordion title="Where should AGENTS.md / SOUL.md / USER.md / MEMORY.md live?">
581
- These files live in the **agent workspace**, not `~/.fengming`.
582
-
583
- - **Workspace (per agent)**: `AGENTS.md`, `SOUL.md`, `IDENTITY.md`, `USER.md`,
584
- `MEMORY.md`, `memory/YYYY-MM-DD.md`, optional `HEARTBEAT.md`.
585
- Lowercase root `memory.md` is legacy repair input only; `fengming doctor --fix`
586
- can merge it into `MEMORY.md` when both files exist.
587
- - **State dir (`~/.fengming`)**: config, channel/provider state, auth profiles, sessions, logs,
588
- and shared skills (`~/.fengming/skills`).
589
-
590
- Default workspace is `~/.fengming/workspace`, configurable via:
591
-
592
- ```json5
593
- {
594
- agents: { defaults: { workspace: "~/.fengming/workspace" } },
595
- }
596
- ```
597
-
598
- If the bot "forgets" after a restart, confirm the Gateway is using the same
599
- workspace on every launch (and remember: remote mode uses the **gateway host's**
600
- workspace, not your local laptop).
601
-
602
- Tip: if you want a durable behavior or preference, ask the bot to **write it into
603
- AGENTS.md or MEMORY.md** rather than relying on chat history.
604
-
605
- See [Agent workspace](/concepts/agent-workspace) and [Memory](/concepts/memory).
606
-
607
- </Accordion>
608
-
609
- <Accordion title="Recommended backup strategy">
610
- Put your **agent workspace** in a **private** git repo and back it up somewhere
611
- private (for example GitHub private). This captures memory + AGENTS/SOUL/USER
612
- files, and lets you restore the assistant's "mind" later.
613
-
614
- Do **not** commit anything under `~/.fengming` (credentials, sessions, tokens, or encrypted secrets payloads).
615
- If you need a full restore, back up both the workspace and the state directory
616
- separately (see the migration question above).
617
-
618
- Docs: [Agent workspace](/concepts/agent-workspace).
619
-
620
- </Accordion>
621
-
622
- <Accordion title="How do I completely uninstall FengMing?">
623
- See the dedicated guide: [Uninstall](/install/uninstall).
624
- </Accordion>
625
-
626
- <Accordion title="Can agents work outside the workspace?">
627
- Yes. The workspace is the **default cwd** and memory anchor, not a hard sandbox.
628
- Relative paths resolve inside the workspace, but absolute paths can access other
629
- host locations unless sandboxing is enabled. If you need isolation, use
630
- [`agents.defaults.sandbox`](/gateway/sandboxing) or per-agent sandbox settings. If you
631
- want a repo to be the default working directory, point that agent's
632
- `workspace` to the repo root. The FengMing repo is just source code; keep the
633
- workspace separate unless you intentionally want the agent to work inside it.
634
-
635
- Example (repo as default cwd):
636
-
637
- ```json5
638
- {
639
- agents: {
640
- defaults: {
641
- workspace: "~/Projects/my-repo",
642
- },
643
- },
644
- }
645
- ```
646
-
647
- </Accordion>
648
-
649
- <Accordion title="Remote mode: where is the session store?">
650
- Session state is owned by the **gateway host**. If you're in remote mode, the session store you care about is on the remote machine, not your local laptop. See [Session management](/concepts/session).
651
- </Accordion>
652
- </AccordionGroup>
653
-
654
- ## Config basics
655
-
656
- <AccordionGroup>
657
- <Accordion title="What format is the config? Where is it?">
658
- FengMing reads an optional **JSON5** config from `$FENGMING_CONFIG_PATH` (default: `~/.fengming/fengming.json`):
659
-
660
- ```
661
- $FENGMING_CONFIG_PATH
662
- ```
663
-
664
- If the file is missing, it uses safe-ish defaults (including a default workspace of `~/.fengming/workspace`).
665
-
666
- </Accordion>
667
-
668
- <Accordion title='I set gateway.bind: "lan" (or "tailnet") and now nothing listens / the UI says unauthorized'>
669
- Non-loopback binds **require a valid gateway auth path**. In practice that means:
670
-
671
- - shared-secret auth: token or password
672
- - `gateway.auth.mode: "trusted-proxy"` behind a correctly configured identity-aware reverse proxy
673
-
674
- ```json5
675
- {
676
- gateway: {
677
- bind: "lan",
678
- auth: {
679
- mode: "token",
680
- token: "replace-me",
681
- },
682
- },
683
- }
684
- ```
685
-
686
- Notes:
687
-
688
- - `gateway.remote.token` / `.password` do **not** enable local gateway auth by themselves.
689
- - Local call paths can use `gateway.remote.*` as fallback only when `gateway.auth.*` is unset.
690
- - For password auth, set `gateway.auth.mode: "password"` plus `gateway.auth.password` (or `FENGMING_GATEWAY_PASSWORD`) instead.
691
- - If `gateway.auth.token` / `gateway.auth.password` is explicitly configured via SecretRef and unresolved, resolution fails closed (no remote fallback masking).
692
- - Shared-secret Control UI setups authenticate via `connect.params.auth.token` or `connect.params.auth.password` (stored in app/UI settings). Identity-bearing modes such as Tailscale Serve or `trusted-proxy` use request headers instead. Avoid putting shared secrets in URLs.
693
- - With `gateway.auth.mode: "trusted-proxy"`, same-host loopback reverse proxies require explicit `gateway.auth.trustedProxy.allowLoopback = true` and a loopback entry in `gateway.trustedProxies`.
694
-
695
- </Accordion>
696
-
697
- <Accordion title="Why do I need a token on localhost now?">
698
- FengMing enforces gateway auth by default, including loopback. In the normal default path that means token auth: if no explicit auth path is configured, gateway startup resolves to token mode and generates a runtime-only token for that startup, so **local WS clients must authenticate**. Configure `gateway.auth.token`, `gateway.auth.password`, `FENGMING_GATEWAY_TOKEN`, or `FENGMING_GATEWAY_PASSWORD` explicitly when clients need a stable secret across restarts. This blocks other local processes from calling the Gateway.
699
-
700
- If you prefer a different auth path, you can explicitly choose password mode (or, for identity-aware reverse proxies, `trusted-proxy`). If you **really** want open loopback, set `gateway.auth.mode: "none"` explicitly in your config. Doctor can generate a token for you any time: `fengming doctor --generate-gateway-token`.
701
-
702
- </Accordion>
703
-
704
- <Accordion title="Do I have to restart after changing config?">
705
- The Gateway watches the config and supports hot-reload:
706
-
707
- - `gateway.reload.mode: "hybrid"` (default): hot-apply safe changes, restart for critical ones
708
- - `hot`, `restart`, `off` are also supported
709
-
710
- </Accordion>
711
-
712
- <Accordion title="How do I disable funny CLI taglines?">
713
- Set `cli.banner.taglineMode` in config:
714
-
715
- ```json5
716
- {
717
- cli: {
718
- banner: {
719
- taglineMode: "off", // random | default | off
720
- },
721
- },
722
- }
723
- ```
724
-
725
- - `off`: hides tagline text but keeps the banner title/version line.
726
- - `default`: uses `All your chats, one FengMing.` every time.
727
- - `random`: rotating funny/seasonal taglines (default behavior).
728
- - If you want no banner at all, set env `FENGMING_HIDE_BANNER=1`.
729
-
730
- </Accordion>
731
-
732
- <Accordion title="How do I enable web search (and web fetch)?">
733
- `web_fetch` works without an API key. `web_search` depends on your selected
734
- provider:
735
-
736
- - API-backed providers such as Brave, Exa, Firecrawl, Gemini, Kimi, MiniMax Search, Perplexity, and Tavily require their normal API key setup.
737
- - Grok can reuse xAI OAuth from model auth, or fall back to `XAI_API_KEY` / plugin web-search config.
738
- - Ollama Web Search is key-free, but it uses your configured Ollama host and requires `ollama signin`.
739
- - DuckDuckGo is key-free, but it is an unofficial HTML-based integration.
740
- - SearXNG is key-free/self-hosted; configure `SEARXNG_BASE_URL` or `plugins.entries.searxng.config.webSearch.baseUrl`.
741
-
742
- **Recommended:** run `fengming configure --section web` and choose a provider.
743
- Environment alternatives:
744
-
745
- - Brave: `BRAVE_API_KEY`
746
- - Exa: `EXA_API_KEY`
747
- - Firecrawl: `FIRECRAWL_API_KEY`
748
- - Gemini: `GEMINI_API_KEY`
749
- - Grok: xAI OAuth, `XAI_API_KEY`
750
- - Kimi: `KIMI_API_KEY` or `MOONSHOT_API_KEY`
751
- - MiniMax Search: `MINIMAX_CODE_PLAN_KEY`, `MINIMAX_CODING_API_KEY`, or `MINIMAX_API_KEY`
752
- - Perplexity: `PERPLEXITY_API_KEY` or `OPENROUTER_API_KEY`
753
- - SearXNG: `SEARXNG_BASE_URL`
754
- - Tavily: `TAVILY_API_KEY`
755
-
756
- ```json5
757
- {
758
- plugins: {
759
- entries: {
760
- brave: {
761
- config: {
762
- webSearch: {
763
- apiKey: "BRAVE_API_KEY_HERE",
764
- },
765
- },
766
- },
767
- },
768
- },
769
- tools: {
770
- web: {
771
- search: {
772
- enabled: true,
773
- provider: "brave",
774
- maxResults: 5,
775
- },
776
- fetch: {
777
- enabled: true,
778
- provider: "firecrawl", // optional; omit for auto-detect
779
- },
780
- },
781
- },
782
- }
783
- ```
784
-
785
- Provider-specific web-search config now lives under `plugins.entries.<plugin>.config.webSearch.*`.
786
- Legacy `tools.web.search.*` provider paths still load temporarily for compatibility, but they should not be used for new configs.
787
- Firecrawl web-fetch fallback config lives under `plugins.entries.firecrawl.config.webFetch.*`.
788
-
789
- Notes:
790
-
791
- - If you use allowlists, add `web_search`/`web_fetch`/`x_search` or `group:web`.
792
- - `web_fetch` is enabled by default (unless explicitly disabled).
793
- - If `tools.web.fetch.provider` is omitted, FengMing auto-detects the first ready fetch fallback provider from available credentials. Today the bundled provider is Firecrawl.
794
- - Daemons read env vars from `~/.fengming/.env` (or the service environment).
795
-
796
- Docs: [Web tools](/tools/web).
797
-
798
- </Accordion>
799
-
800
- <Accordion title="config.apply wiped my config. How do I recover and avoid this?">
801
- `config.apply` replaces the **entire config**. If you send a partial object, everything
802
- else is removed.
803
-
804
- Current FengMing protects many accidental clobbers:
805
-
806
- - FengMing-owned config writes validate the full post-change config before writing.
807
- - Invalid or destructive FengMing-owned writes are rejected and saved as `fengming.json.rejected.*`.
808
- - If a direct edit breaks startup or hot reload, Gateway fails closed or skips the reload; it does not rewrite `fengming.json`.
809
- - `fengming doctor --fix` owns repair and can restore last-known-good while saving the rejected file as `fengming.json.clobbered.*`.
810
-
811
- Recover:
812
-
813
- - Check `fengming logs --follow` for `Invalid config at`, `Config write rejected:`, or `config reload skipped (invalid config)`.
814
- - Inspect the newest `fengming.json.clobbered.*` or `fengming.json.rejected.*` beside the active config.
815
- - Run `fengming config validate` and `fengming doctor --fix`.
816
- - Copy only the intended keys back with `fengming config set` or `config.patch`.
817
- - If you have no last-known-good or rejected payload, restore from backup, or re-run `fengming doctor` and reconfigure channels/models.
818
- - If this was unexpected, file a bug and include your last known config or any backup.
819
- - A local coding agent can often reconstruct a working config from logs or history.
820
-
821
- Avoid it:
822
-
823
- - Use `fengming config set` for small changes.
824
- - Use `fengming configure` for interactive edits.
825
- - Use `config.schema.lookup` first when you are not sure about an exact path or field shape; it returns a shallow schema node plus immediate child summaries for drill-down.
826
- - Use `config.patch` for partial RPC edits; keep `config.apply` for full-config replacement only.
827
- - If you are using the agent-facing `gateway` tool from an agent run, it will still reject writes to `tools.exec.ask` / `tools.exec.security` (including legacy `tools.bash.*` aliases that normalize to the same protected exec paths).
828
-
829
- Docs: [Config](/cli/config), [Configure](/cli/configure), [Gateway troubleshooting](/gateway/troubleshooting#gateway-rejected-invalid-config), [Doctor](/gateway/doctor).
830
-
831
- </Accordion>
832
-
833
- <Accordion title="How do I run a central Gateway with specialized workers across devices?">
834
- The common pattern is **one Gateway** (e.g. Raspberry Pi) plus **nodes** and **agents**:
835
-
836
- - **Gateway (central):** owns channels (Signal/WhatsApp), routing, and sessions.
837
- - **Nodes (devices):** Macs/iOS/Android connect as peripherals and expose local tools (`system.run`, `canvas`, `camera`).
838
- - **Agents (workers):** separate brains/workspaces for special roles (e.g. "Hetzner ops", "Personal data").
839
- - **Sub-agents:** spawn background work from a main agent when you want parallelism.
840
- - **TUI:** connect to the Gateway and switch agents/sessions.
841
-
842
- Docs: [Nodes](/nodes), [Remote access](/gateway/remote), [Multi-Agent Routing](/concepts/multi-agent), [Sub-agents](/tools/subagents), [TUI](/web/tui).
843
-
844
- </Accordion>
845
-
846
- <Accordion title="Can the FengMing browser run headless?">
847
- Yes. It's a config option:
848
-
849
- ```json5
850
- {
851
- browser: { headless: true },
852
- agents: {
853
- defaults: {
854
- sandbox: { browser: { headless: true } },
855
- },
856
- },
857
- }
858
- ```
859
-
860
- Default is `false` (headful). Headless is more likely to trigger anti-bot checks on some sites. See [Browser](/tools/browser).
861
-
862
- Headless uses the **same Chromium engine** and works for most automation (forms, clicks, scraping, logins). The main differences:
863
-
864
- - No visible browser window (use screenshots if you need visuals).
865
- - Some sites are stricter about automation in headless mode (CAPTCHAs, anti-bot).
866
- For example, X/Twitter often blocks headless sessions.
867
-
868
- </Accordion>
869
-
870
- <Accordion title="How do I use Brave for browser control?">
871
- Set `browser.executablePath` to your Brave binary (or any Chromium-based browser) and restart the Gateway.
872
- See the full config examples in [Browser](/tools/browser#use-brave-or-another-chromium-based-browser).
873
- </Accordion>
874
- </AccordionGroup>
875
-
876
- ## Remote gateways and nodes
877
-
878
- <AccordionGroup>
879
- <Accordion title="How do commands propagate between Telegram, the gateway, and nodes?">
880
- Telegram messages are handled by the **gateway**. The gateway runs the agent and
881
- only then calls nodes over the **Gateway WebSocket** when a node tool is needed:
882
-
883
- Telegram → Gateway → Agent → `node.*` → Node → Gateway → Telegram
884
-
885
- Nodes don't see inbound provider traffic; they only receive node RPC calls.
886
-
887
- </Accordion>
888
-
889
- <Accordion title="How can my agent access my computer if the Gateway is hosted remotely?">
890
- Short answer: **pair your computer as a node**. The Gateway runs elsewhere, but it can
891
- call `node.*` tools (screen, camera, system) on your local machine over the Gateway WebSocket.
892
-
893
- Typical setup:
894
-
895
- 1. Run the Gateway on the always-on host (VPS/home server).
896
- 2. Put the Gateway host + your computer on the same tailnet.
897
- 3. Ensure the Gateway WS is reachable (tailnet bind or SSH tunnel).
898
- 4. Open the macOS app locally and connect in **Remote over SSH** mode (or direct tailnet)
899
- so it can register as a node.
900
- 5. Approve the node on the Gateway:
901
-
902
- ```bash
903
- fengming devices list
904
- fengming devices approve <requestId>
905
- ```
906
-
907
- No separate TCP bridge is required; nodes connect over the Gateway WebSocket.
908
-
909
- Security reminder: pairing a macOS node allows `system.run` on that machine. Only
910
- pair devices you trust, and review [Security](/gateway/security).
911
-
912
- Docs: [Nodes](/nodes), [Gateway protocol](/gateway/protocol), [macOS remote mode](/platforms/mac/remote), [Security](/gateway/security).
913
-
914
- </Accordion>
915
-
916
- <Accordion title="Tailscale is connected but I get no replies. What now?">
917
- Check the basics:
918
-
919
- - Gateway is running: `fengming gateway status`
920
- - Gateway health: `fengming status`
921
- - Channel health: `fengming channels status`
922
-
923
- Then verify auth and routing:
924
-
925
- - If you use Tailscale Serve, make sure `gateway.auth.allowTailscale` is set correctly.
926
- - If you connect via SSH tunnel, confirm the local tunnel is up and points at the right port.
927
- - Confirm your allowlists (DM or group) include your account.
928
-
929
- Docs: [Tailscale](/gateway/tailscale), [Remote access](/gateway/remote), [Channels](/channels).
930
-
931
- </Accordion>
932
-
933
- <Accordion title="Can two FengMing instances talk to each other (local + VPS)?">
934
- Yes. There is no built-in "bot-to-bot" bridge, but you can wire it up in a few
935
- reliable ways:
936
-
937
- **Simplest:** use a normal chat channel both bots can access (Telegram/Slack/WhatsApp).
938
- Have Bot A send a message to Bot B, then let Bot B reply as usual.
939
-
940
- **CLI bridge (generic):** run a script that calls the other Gateway with
941
- `fengming agent --message ... --deliver`, targeting a chat where the other bot
942
- listens. If one bot is on a remote VPS, point your CLI at that remote Gateway
943
- via SSH/Tailscale (see [Remote access](/gateway/remote)).
944
-
945
- Example pattern (run from a machine that can reach the target Gateway):
946
-
947
- ```bash
948
- fengming agent --message "Hello from local bot" --deliver --channel telegram --reply-to <chat-id>
949
- ```
950
-
951
- Tip: add a guardrail so the two bots do not loop endlessly (mention-only, channel
952
- allowlists, or a "do not reply to bot messages" rule).
953
-
954
- Docs: [Remote access](/gateway/remote), [Agent CLI](/cli/agent), [Agent send](/tools/agent-send).
955
-
956
- </Accordion>
957
-
958
- <Accordion title="Do I need separate VPSes for multiple agents?">
959
- No. One Gateway can host multiple agents, each with its own workspace, model defaults,
960
- and routing. That is the normal setup and it is much cheaper and simpler than running
961
- one VPS per agent.
962
-
963
- Use separate VPSes only when you need hard isolation (security boundaries) or very
964
- different configs that you do not want to share. Otherwise, keep one Gateway and
965
- use multiple agents or sub-agents.
966
-
967
- </Accordion>
968
-
969
- <Accordion title="Is there a benefit to using a node on my personal laptop instead of SSH from a VPS?">
970
- Yes - nodes are the first-class way to reach your laptop from a remote Gateway, and they
971
- unlock more than shell access. The Gateway runs on macOS/Linux (Windows via WSL2) and is
972
- lightweight (a small VPS or Raspberry Pi-class box is fine; 4 GB RAM is plenty), so a common
973
- setup is an always-on host plus your laptop as a node.
974
-
975
- - **No inbound SSH required.** Nodes connect out to the Gateway WebSocket and use device pairing.
976
- - **Safer execution controls.** `system.run` is gated by node allowlists/approvals on that laptop.
977
- - **More device tools.** Nodes expose `canvas`, `camera`, and `screen` in addition to `system.run`.
978
- - **Local browser automation.** Keep the Gateway on a VPS, but run Chrome locally through a node host on the laptop, or attach to local Chrome on the host via Chrome MCP.
979
-
980
- SSH is fine for ad-hoc shell access, but nodes are simpler for ongoing agent workflows and
981
- device automation.
982
-
983
- Docs: [Nodes](/nodes), [Nodes CLI](/cli/nodes), [Browser](/tools/browser).
984
-
985
- </Accordion>
986
-
987
- <Accordion title="Do nodes run a gateway service?">
988
- No. Only **one gateway** should run per host unless you intentionally run isolated profiles (see [Multiple gateways](/gateway/multiple-gateways)). Nodes are peripherals that connect
989
- to the gateway (iOS/Android nodes, or macOS "node mode" in the menubar app). For headless node
990
- hosts and CLI control, see [Node host CLI](/cli/node).
991
-
992
- A full restart is required for `gateway`, `discovery`, and hosted plugin surface changes.
993
-
994
- </Accordion>
995
-
996
- <Accordion title="Is there an API / RPC way to apply config?">
997
- Yes.
998
-
999
- - `config.schema.lookup`: inspect one config subtree with its shallow schema node, matched UI hint, and immediate child summaries before writing
1000
- - `config.get`: fetch the current snapshot + hash
1001
- - `config.patch`: safe partial update (preferred for most RPC edits); hot-reloads when possible and restarts when required
1002
- - `config.apply`: validate + replace the full config; hot-reloads when possible and restarts when required
1003
- - The agent-facing `gateway` runtime tool still refuses to rewrite `tools.exec.ask` / `tools.exec.security`; legacy `tools.bash.*` aliases normalize to the same protected exec paths
1004
-
1005
- </Accordion>
1006
-
1007
- <Accordion title="Minimal sane config for a first install">
1008
- ```json5
1009
- {
1010
- agents: { defaults: { workspace: "~/.fengming/workspace" } },
1011
- channels: { whatsapp: { allowFrom: ["+15555550123"] } },
1012
- }
1013
- ```
1014
-
1015
- This sets your workspace and restricts who can trigger the bot.
1016
-
1017
- </Accordion>
1018
-
1019
- <Accordion title="How do I set up Tailscale on a VPS and connect from my Mac?">
1020
- Minimal steps:
1021
-
1022
- 1. **Install + login on the VPS**
1023
-
1024
- ```bash
1025
- curl -fsSL https://tailscale.com/install.sh | sh
1026
- sudo tailscale up
1027
- ```
1028
-
1029
- 2. **Install + login on your Mac**
1030
- - Use the Tailscale app and sign in to the same tailnet.
1031
- 3. **Enable MagicDNS (recommended)**
1032
- - In the Tailscale admin console, enable MagicDNS so the VPS has a stable name.
1033
- 4. **Use the tailnet hostname**
1034
- - SSH: `ssh user@your-vps.tailnet-xxxx.ts.net`
1035
- - Gateway WS: `ws://your-vps.tailnet-xxxx.ts.net:18789`
1036
-
1037
- If you want the Control UI without SSH, use Tailscale Serve on the VPS:
1038
-
1039
- ```bash
1040
- fengming gateway --tailscale serve
1041
- ```
1042
-
1043
- This keeps the gateway bound to loopback and exposes HTTPS via Tailscale. See [Tailscale](/gateway/tailscale).
1044
-
1045
- </Accordion>
1046
-
1047
- <Accordion title="How do I connect a Mac node to a remote Gateway (Tailscale Serve)?">
1048
- Serve exposes the **Gateway Control UI + WS**. Nodes connect over the same Gateway WS endpoint.
1049
-
1050
- Recommended setup:
1051
-
1052
- 1. **Make sure the VPS + Mac are on the same tailnet**.
1053
- 2. **Use the macOS app in Remote mode** (SSH target can be the tailnet hostname).
1054
- The app will tunnel the Gateway port and connect as a node.
1055
- 3. **Approve the node** on the gateway:
1056
-
1057
- ```bash
1058
- fengming devices list
1059
- fengming devices approve <requestId>
1060
- ```
1061
-
1062
- Docs: [Gateway protocol](/gateway/protocol), [Discovery](/gateway/discovery), [macOS remote mode](/platforms/mac/remote).
1063
-
1064
- </Accordion>
1065
-
1066
- <Accordion title="Should I install on a second laptop or just add a node?">
1067
- If you only need **local tools** (screen/camera/exec) on the second laptop, add it as a
1068
- **node**. That keeps a single Gateway and avoids duplicated config. Local node tools are
1069
- currently macOS-only, but we plan to extend them to other OSes.
1070
-
1071
- Install a second Gateway only when you need **hard isolation** or two fully separate bots.
1072
-
1073
- Docs: [Nodes](/nodes), [Nodes CLI](/cli/nodes), [Multiple gateways](/gateway/multiple-gateways).
1074
-
1075
- </Accordion>
1076
- </AccordionGroup>
1077
-
1078
- ## Env vars and .env loading
1079
-
1080
- <AccordionGroup>
1081
- <Accordion title="How does FengMing load environment variables?">
1082
- FengMing reads env vars from the parent process (shell, launchd/systemd, CI, etc.) and additionally loads:
1083
-
1084
- - `.env` from the current working directory
1085
- - a global fallback `.env` from `~/.fengming/.env` (aka `$FENGMING_STATE_DIR/.env`)
1086
-
1087
- Neither `.env` file overrides existing env vars.
1088
- Provider credential variables are an exception for workspace `.env`: keys such as
1089
- `GEMINI_API_KEY`, `XAI_API_KEY`, or `MISTRAL_API_KEY` are ignored from workspace
1090
- `.env` and should live in the process environment, `~/.fengming/.env`, or config `env`.
1091
-
1092
- You can also define inline env vars in config (applied only if missing from the process env):
1093
-
1094
- ```json5
1095
- {
1096
- env: {
1097
- OPENROUTER_API_KEY: "sk-or-...",
1098
- vars: { GROQ_API_KEY: "gsk-..." },
1099
- },
1100
- }
1101
- ```
1102
-
1103
- See [/environment](/help/environment) for full precedence and sources.
1104
-
1105
- </Accordion>
1106
-
1107
- <Accordion title="I started the Gateway via the service and my env vars disappeared. What now?">
1108
- Two common fixes:
1109
-
1110
- 1. Put the missing keys in `~/.fengming/.env` so they're picked up even when the service doesn't inherit your shell env.
1111
- 2. Enable shell import (opt-in convenience):
1112
-
1113
- ```json5
1114
- {
1115
- env: {
1116
- shellEnv: {
1117
- enabled: true,
1118
- timeoutMs: 15000,
1119
- },
1120
- },
1121
- }
1122
- ```
1123
-
1124
- This runs your login shell and imports only missing expected keys (never overrides). Env var equivalents:
1125
- `FENGMING_LOAD_SHELL_ENV=1`, `FENGMING_SHELL_ENV_TIMEOUT_MS=15000`.
1126
-
1127
- </Accordion>
1128
-
1129
- <Accordion title='I set COPILOT_GITHUB_TOKEN, but models status shows "Shell env: off." Why?'>
1130
- `fengming models status` reports whether **shell env import** is enabled. "Shell env: off"
1131
- does **not** mean your env vars are missing - it just means FengMing won't load
1132
- your login shell automatically.
1133
-
1134
- If the Gateway runs as a service (launchd/systemd), it won't inherit your shell
1135
- environment. Fix by doing one of these:
1136
-
1137
- 1. Put the token in `~/.fengming/.env`:
1138
-
1139
- ```
1140
- COPILOT_GITHUB_TOKEN=...
1141
- ```
1142
-
1143
- 2. Or enable shell import (`env.shellEnv.enabled: true`).
1144
- 3. Or add it to your config `env` block (applies only if missing).
1145
-
1146
- Then restart the gateway and recheck:
1147
-
1148
- ```bash
1149
- fengming models status
1150
- ```
1151
-
1152
- Copilot tokens are read from `COPILOT_GITHUB_TOKEN` (also `GH_TOKEN` / `GITHUB_TOKEN`).
1153
- See [/concepts/model-providers](/concepts/model-providers) and [/environment](/help/environment).
1154
-
1155
- </Accordion>
1156
- </AccordionGroup>
1157
-
1158
- ## Sessions and multiple chats
1159
-
1160
- <AccordionGroup>
1161
- <Accordion title="How do I start a fresh conversation?">
1162
- Send `/new` or `/reset` as a standalone message. See [Session management](/concepts/session).
1163
- </Accordion>
1164
-
1165
- <Accordion title="Do sessions reset automatically if I never send /new?">
1166
- Sessions can expire after `session.idleMinutes`, but this is **disabled by default** (default **0**).
1167
- Set it to a positive value to enable idle expiry. When enabled, the **next**
1168
- message after the idle period starts a fresh session id for that chat key.
1169
- This does not delete transcripts - it just starts a new session.
1170
-
1171
- ```json5
1172
- {
1173
- session: {
1174
- idleMinutes: 240,
1175
- },
1176
- }
1177
- ```
1178
-
1179
- </Accordion>
1180
-
1181
- <Accordion title="Is there a way to make a team of FengMing instances (one CEO and many agents)?">
1182
- Yes, via **multi-agent routing** and **sub-agents**. You can create one coordinator
1183
- agent and several worker agents with their own workspaces and models.
1184
-
1185
- That said, this is best seen as a **fun experiment**. It is token heavy and often
1186
- less efficient than using one bot with separate sessions. The typical model we
1187
- envision is one bot you talk to, with different sessions for parallel work. That
1188
- bot can also spawn sub-agents when needed.
1189
-
1190
- Docs: [Multi-agent routing](/concepts/multi-agent), [Sub-agents](/tools/subagents), [Agents CLI](/cli/agents).
1191
-
1192
- </Accordion>
1193
-
1194
- <Accordion title="Why did context get truncated mid-task? How do I prevent it?">
1195
- Session context is limited by the model window. Long chats, large tool outputs, or many
1196
- files can trigger compaction or truncation.
1197
-
1198
- What helps:
1199
-
1200
- - Ask the bot to summarize the current state and write it to a file.
1201
- - Use `/compact` before long tasks, and `/new` when switching topics.
1202
- - Keep important context in the workspace and ask the bot to read it back.
1203
- - Use sub-agents for long or parallel work so the main chat stays smaller.
1204
- - Pick a model with a larger context window if this happens often.
1205
-
1206
- </Accordion>
1207
-
1208
- <Accordion title="How do I completely reset FengMing but keep it installed?">
1209
- Use the reset command:
1210
-
1211
- ```bash
1212
- fengming reset
1213
- ```
1214
-
1215
- Non-interactive full reset:
1216
-
1217
- ```bash
1218
- fengming reset --scope full --yes --non-interactive
1219
- ```
1220
-
1221
- Then re-run setup:
1222
-
1223
- ```bash
1224
- fengming onboard --install-daemon
1225
- ```
1226
-
1227
- Notes:
1228
-
1229
- - Onboarding also offers **Reset** if it sees an existing config. See [Onboarding (CLI)](/start/wizard).
1230
- - If you used profiles (`--profile` / `FENGMING_PROFILE`), reset each state dir (defaults are `~/.fengming-<profile>`).
1231
- - Dev reset: `fengming gateway --dev --reset` (dev-only; wipes dev config + credentials + sessions + workspace).
1232
-
1233
- </Accordion>
1234
-
1235
- <Accordion title='I am getting "context too large" errors - how do I reset or compact?'>
1236
- Use one of these:
1237
-
1238
- - **Compact** (keeps the conversation but summarizes older turns):
1239
-
1240
- ```
1241
- /compact
1242
- ```
1243
-
1244
- or `/compact <instructions>` to guide the summary.
1245
-
1246
- - **Reset** (fresh session ID for the same chat key):
1247
-
1248
- ```
1249
- /new
1250
- /reset
1251
- ```
1252
-
1253
- If it keeps happening:
1254
-
1255
- - Enable or tune **session pruning** (`agents.defaults.contextPruning`) to trim old tool output.
1256
- - Use a model with a larger context window.
1257
-
1258
- Docs: [Compaction](/concepts/compaction), [Session pruning](/concepts/session-pruning), [Session management](/concepts/session).
1259
-
1260
- </Accordion>
1261
-
1262
- <Accordion title='Why am I seeing "LLM request rejected: messages.content.tool_use.input field required"?'>
1263
- This is a provider validation error: the model emitted a `tool_use` block without the required
1264
- `input`. It usually means the session history is stale or corrupted (often after long threads
1265
- or a tool/schema change).
1266
-
1267
- Fix: start a fresh session with `/new` (standalone message).
1268
-
1269
- </Accordion>
1270
-
1271
- <Accordion title="Why am I getting heartbeat messages every 30 minutes?">
1272
- Heartbeats run every **30m** by default (**1h** when using OAuth auth). Tune or disable them:
1273
-
1274
- ```json5
1275
- {
1276
- agents: {
1277
- defaults: {
1278
- heartbeat: {
1279
- every: "2h", // or "0m" to disable
1280
- },
1281
- },
1282
- },
1283
- }
1284
- ```
1285
-
1286
- If `HEARTBEAT.md` exists but is effectively empty (only blank lines and markdown
1287
- headers like `# Heading`), FengMing skips the heartbeat run to save API calls.
1288
- If the file is missing, the heartbeat still runs and the model decides what to do.
1289
-
1290
- Per-agent overrides use `agents.list[].heartbeat`. Docs: [Heartbeat](/gateway/heartbeat).
1291
-
1292
- </Accordion>
1293
-
1294
- <Accordion title='Do I need to add a "bot account" to a WhatsApp group?'>
1295
- No. FengMing runs on **your own account**, so if you're in the group, FengMing can see it.
1296
- By default, group replies are blocked until you allow senders (`groupPolicy: "allowlist"`).
1297
-
1298
- If you want only **you** to be able to trigger group replies:
1299
-
1300
- ```json5
1301
- {
1302
- channels: {
1303
- whatsapp: {
1304
- groupPolicy: "allowlist",
1305
- groupAllowFrom: ["+15551234567"],
1306
- },
1307
- },
1308
- }
1309
- ```
1310
-
1311
- </Accordion>
1312
-
1313
- <Accordion title="How do I get the JID of a WhatsApp group?">
1314
- Option 1 (fastest): tail logs and send a test message in the group:
1315
-
1316
- ```bash
1317
- fengming logs --follow --json
1318
- ```
1319
-
1320
- Look for `chatId` (or `from`) ending in `@g.us`, like:
1321
- `1234567890-1234567890@g.us`.
1322
-
1323
- Option 2 (if already configured/allowlisted): list groups from config:
1324
-
1325
- ```bash
1326
- fengming directory groups list --channel whatsapp
1327
- ```
1328
-
1329
- Docs: [WhatsApp](/channels/whatsapp), [Directory](/cli/directory), [Logs](/cli/logs).
1330
-
1331
- </Accordion>
1332
-
1333
- <Accordion title="Why does FengMing not reply in a group?">
1334
- Two common causes:
1335
-
1336
- - Mention gating is on (default). You must @mention the bot (or match `mentionPatterns`).
1337
- - You configured `channels.whatsapp.groups` without `"*"` and the group isn't allowlisted.
1338
-
1339
- See [Groups](/channels/groups) and [Group messages](/channels/group-messages).
1340
-
1341
- </Accordion>
1342
-
1343
- <Accordion title="Do groups/threads share context with DMs?">
1344
- Direct chats collapse to the main session by default. Groups/channels have their own session keys, and Telegram topics / Discord threads are separate sessions. See [Groups](/channels/groups) and [Group messages](/channels/group-messages).
1345
- </Accordion>
1346
-
1347
- <Accordion title="How many workspaces and agents can I create?">
1348
- No hard limits. Dozens (even hundreds) are fine, but watch for:
1349
-
1350
- - **Disk growth:** sessions + transcripts live under `~/.fengming/agents/<agentId>/sessions/`.
1351
- - **Token cost:** more agents means more concurrent model usage.
1352
- - **Ops overhead:** per-agent auth profiles, workspaces, and channel routing.
1353
-
1354
- Tips:
1355
-
1356
- - Keep one **active** workspace per agent (`agents.defaults.workspace`).
1357
- - Prune old sessions (delete JSONL or store entries) if disk grows.
1358
- - Use `fengming doctor` to spot stray workspaces and profile mismatches.
1359
-
1360
- </Accordion>
1361
-
1362
- <Accordion title="Can I run multiple bots or chats at the same time (Slack), and how should I set that up?">
1363
- Yes. Use **Multi-Agent Routing** to run multiple isolated agents and route inbound messages by
1364
- channel/account/peer. Slack is supported as a channel and can be bound to specific agents.
1365
-
1366
- Browser access is powerful but not "do anything a human can" - anti-bot, CAPTCHAs, and MFA can
1367
- still block automation. For the most reliable browser control, use local Chrome MCP on the host,
1368
- or use CDP on the machine that actually runs the browser.
1369
-
1370
- Best-practice setup:
1371
-
1372
- - Always-on Gateway host (VPS/Mac mini).
1373
- - One agent per role (bindings).
1374
- - Slack channel(s) bound to those agents.
1375
- - Local browser via Chrome MCP or a node when needed.
1376
-
1377
- Docs: [Multi-Agent Routing](/concepts/multi-agent), [Slack](/channels/slack),
1378
- [Browser](/tools/browser), [Nodes](/nodes).
1379
-
1380
- </Accordion>
1381
- </AccordionGroup>
1382
-
1383
- ## Models, failover, and auth profiles
1384
-
1385
- Model Q&A — defaults, selection, aliases, switching, failover, auth profiles —
1386
- lives on the [Models FAQ](/help/faq-models).
1387
-
1388
- ## Gateway: ports, "already running", and remote mode
1389
-
1390
- <AccordionGroup>
1391
- <Accordion title="What port does the Gateway use?">
1392
- `gateway.port` controls the single multiplexed port for WebSocket + HTTP (Control UI, hooks, etc.).
1393
-
1394
- Precedence:
1395
-
1396
- ```
1397
- --port > FENGMING_GATEWAY_PORT > gateway.port > default 18789
1398
- ```
1399
-
1400
- </Accordion>
1401
-
1402
- <Accordion title='Why does fengming gateway status say "Runtime: running" but "Connectivity probe: failed"?'>
1403
- Because "running" is the **supervisor's** view (launchd/systemd/schtasks). The connectivity probe is the CLI actually connecting to the gateway WebSocket.
1404
-
1405
- Use `fengming gateway status` and trust these lines:
1406
-
1407
- - `Probe target:` (the URL the probe actually used)
1408
- - `Listening:` (what's actually bound on the port)
1409
- - `Last gateway error:` (common root cause when the process is alive but the port isn't listening)
1410
-
1411
- </Accordion>
1412
-
1413
- <Accordion title='Why does fengming gateway status show "Config (cli)" and "Config (service)" different?'>
1414
- You're editing one config file while the service is running another (often a `--profile` / `FENGMING_STATE_DIR` mismatch).
1415
-
1416
- Fix:
1417
-
1418
- ```bash
1419
- fengming gateway install --force
1420
- ```
1421
-
1422
- Run that from the same `--profile` / environment you want the service to use.
1423
-
1424
- </Accordion>
1425
-
1426
- <Accordion title='What does "another gateway instance is already listening" mean?'>
1427
- FengMing enforces a runtime lock by binding the WebSocket listener immediately on startup (default `ws://127.0.0.1:18789`). If the bind fails with `EADDRINUSE`, it throws `GatewayLockError` indicating another instance is already listening.
1428
-
1429
- Fix: stop the other instance, free the port, or run with `fengming gateway --port <port>`.
1430
-
1431
- </Accordion>
1432
-
1433
- <Accordion title="How do I run FengMing in remote mode (client connects to a Gateway elsewhere)?">
1434
- Set `gateway.mode: "remote"` and point to a remote WebSocket URL, optionally with shared-secret remote credentials:
1435
-
1436
- ```json5
1437
- {
1438
- gateway: {
1439
- mode: "remote",
1440
- remote: {
1441
- url: "ws://gateway.tailnet:18789",
1442
- token: "your-token",
1443
- password: "your-password",
1444
- },
1445
- },
1446
- }
1447
- ```
1448
-
1449
- Notes:
1450
-
1451
- - `fengming gateway` only starts when `gateway.mode` is `local` (or you pass the override flag).
1452
- - The macOS app watches the config file and switches modes live when these values change.
1453
- - `gateway.remote.token` / `.password` are client-side remote credentials only; they do not enable local gateway auth by themselves.
1454
-
1455
- </Accordion>
1456
-
1457
- <Accordion title='The Control UI says "unauthorized" (or keeps reconnecting). What now?'>
1458
- Your gateway auth path and the UI's auth method do not match.
1459
-
1460
- Facts (from code):
1461
-
1462
- - The Control UI keeps the token in `sessionStorage` for the current browser tab session and selected gateway URL, so same-tab refreshes keep working without restoring long-lived localStorage token persistence.
1463
- - On `AUTH_TOKEN_MISMATCH`, trusted clients can attempt one bounded retry with a cached device token when the gateway returns retry hints (`canRetryWithDeviceToken=true`, `recommendedNextStep=retry_with_device_token`).
1464
- - That cached-token retry now reuses the cached approved scopes stored with the device token. Explicit `deviceToken` / explicit `scopes` callers still keep their requested scope set instead of inheriting cached scopes.
1465
- - Outside that retry path, connect auth precedence is explicit shared token/password first, then explicit `deviceToken`, then stored device token, then bootstrap token.
1466
- - Built-in setup-code bootstrap is node-only. After approval, it returns a node device token with `scopes: []` and does not return a handed-off operator token.
1467
-
1468
- Fix:
1469
-
1470
- - Fastest: `fengming dashboard` (prints + copies the dashboard URL, tries to open; shows SSH hint if headless).
1471
- - If you don't have a token yet: `fengming doctor --generate-gateway-token`.
1472
- - If remote, tunnel first: `ssh -N -L 18789:127.0.0.1:18789 user@host` then open `http://127.0.0.1:18789/`.
1473
- - Shared-secret mode: set `gateway.auth.token` / `FENGMING_GATEWAY_TOKEN` or `gateway.auth.password` / `FENGMING_GATEWAY_PASSWORD`, then paste the matching secret in Control UI settings.
1474
- - Tailscale Serve mode: make sure `gateway.auth.allowTailscale` is enabled and you are opening the Serve URL, not a raw loopback/tailnet URL that bypasses Tailscale identity headers.
1475
- - Trusted-proxy mode: make sure you are coming through the configured identity-aware proxy, not a raw gateway URL. Same-host loopback proxies also need `gateway.auth.trustedProxy.allowLoopback = true`.
1476
- - If mismatch persists after the one retry, rotate/re-approve the paired device token:
1477
- - `fengming devices list`
1478
- - `fengming devices rotate --device <id> --role operator`
1479
- - If that rotate call says it was denied, check two things:
1480
- - paired-device sessions can rotate only their **own** device unless they also have `operator.admin`
1481
- - explicit `--scope` values cannot exceed the caller's current operator scopes
1482
- - Still stuck? Run `fengming status --all` and follow [Troubleshooting](/gateway/troubleshooting). See [Dashboard](/web/dashboard) for auth details.
1483
-
1484
- </Accordion>
1485
-
1486
- <Accordion title="I set gateway.bind tailnet but it cannot bind and nothing listens">
1487
- `tailnet` bind picks a Tailscale IP from your network interfaces (100.64.0.0/10). If the machine isn't on Tailscale (or the interface is down), there's nothing to bind to.
1488
-
1489
- Fix:
1490
-
1491
- - Start Tailscale on that host (so it has a 100.x address), or
1492
- - Switch to `gateway.bind: "loopback"` / `"lan"`.
1493
-
1494
- Note: `tailnet` is explicit. `auto` prefers loopback; use `gateway.bind: "tailnet"` when you want a tailnet-only bind.
1495
-
1496
- </Accordion>
1497
-
1498
- <Accordion title="Can I run multiple Gateways on the same host?">
1499
- Usually no - one Gateway can run multiple messaging channels and agents. Use multiple Gateways only when you need redundancy (ex: rescue bot) or hard isolation.
1500
-
1501
- Yes, but you must isolate:
1502
-
1503
- - `FENGMING_CONFIG_PATH` (per-instance config)
1504
- - `FENGMING_STATE_DIR` (per-instance state)
1505
- - `agents.defaults.workspace` (workspace isolation)
1506
- - `gateway.port` (unique ports)
1507
-
1508
- Quick setup (recommended):
1509
-
1510
- - Use `fengming --profile <name> ...` per instance (auto-creates `~/.fengming-<name>`).
1511
- - Set a unique `gateway.port` in each profile config (or pass `--port` for manual runs).
1512
- - Install a per-profile service: `fengming --profile <name> gateway install`.
1513
-
1514
- Profiles also suffix service names (`ai.fengming.<profile>`; legacy `com.fengming.*`, `fengming-gateway-<profile>.service`, `FengMing Gateway (<profile>)`).
1515
- Full guide: [Multiple gateways](/gateway/multiple-gateways).
1516
-
1517
- </Accordion>
1518
-
1519
- <Accordion title='What does "invalid handshake" / code 1008 mean?'>
1520
- The Gateway is a **WebSocket server**, and it expects the very first message to
1521
- be a `connect` frame. If it receives anything else, it closes the connection
1522
- with **code 1008** (policy violation).
1523
-
1524
- Common causes:
1525
-
1526
- - You opened the **HTTP** URL in a browser (`http://...`) instead of a WS client.
1527
- - You used the wrong port or path.
1528
- - A proxy or tunnel stripped auth headers or sent a non-Gateway request.
1529
-
1530
- Quick fixes:
1531
-
1532
- 1. Use the WS URL: `ws://<host>:18789` (or `wss://...` if HTTPS).
1533
- 2. Don't open the WS port in a normal browser tab.
1534
- 3. If auth is on, include the token/password in the `connect` frame.
1535
-
1536
- If you're using the CLI or TUI, the URL should look like:
1537
-
1538
- ```
1539
- fengming tui --url ws://<host>:18789 --token <token>
1540
- ```
1541
-
1542
- Protocol details: [Gateway protocol](/gateway/protocol).
1543
-
1544
- </Accordion>
1545
- </AccordionGroup>
1546
-
1547
- ## Logging and debugging
1548
-
1549
- <AccordionGroup>
1550
- <Accordion title="Where are logs?">
1551
- File logs (structured):
1552
-
1553
- ```
1554
- /tmp/fengming/fengming-YYYY-MM-DD.log
1555
- ```
1556
-
1557
- You can set a stable path via `logging.file`. File log level is controlled by `logging.level`. Console verbosity is controlled by `--verbose` and `logging.consoleLevel`.
1558
-
1559
- Fastest log tail:
1560
-
1561
- ```bash
1562
- fengming logs --follow
1563
- ```
1564
-
1565
- Service/supervisor logs (when the gateway runs via launchd/systemd):
1566
-
1567
- - macOS launchd stdout: `~/Library/Logs/fengming/gateway.log` (profiles use `gateway-<profile>.log`; stderr is suppressed)
1568
- - Linux: `journalctl --user -u fengming-gateway[-<profile>].service -n 200 --no-pager`
1569
- - Windows: `schtasks /Query /TN "FengMing Gateway (<profile>)" /V /FO LIST`
1570
-
1571
- See [Troubleshooting](/gateway/troubleshooting) for more.
1572
-
1573
- </Accordion>
1574
-
1575
- <Accordion title="How do I start/stop/restart the Gateway service?">
1576
- Use the gateway helpers:
1577
-
1578
- ```bash
1579
- fengming gateway status
1580
- fengming gateway restart
1581
- ```
1582
-
1583
- If you run the gateway manually, `fengming gateway --force` can reclaim the port. See [Gateway](/gateway).
1584
-
1585
- </Accordion>
1586
-
1587
- <Accordion title="I closed my terminal on Windows - how do I restart FengMing?">
1588
- There are **two Windows install modes**:
1589
-
1590
- **1) WSL2 (recommended):** the Gateway runs inside Linux.
1591
-
1592
- Open PowerShell, enter WSL, then restart:
1593
-
1594
- ```powershell
1595
- wsl
1596
- fengming gateway status
1597
- fengming gateway restart
1598
- ```
1599
-
1600
- If you never installed the service, start it in the foreground:
1601
-
1602
- ```bash
1603
- fengming gateway run
1604
- ```
1605
-
1606
- **2) Native Windows (not recommended):** the Gateway runs directly in Windows.
1607
-
1608
- Open PowerShell and run:
1609
-
1610
- ```powershell
1611
- fengming gateway status
1612
- fengming gateway restart
1613
- ```
1614
-
1615
- If you run it manually (no service), use:
1616
-
1617
- ```powershell
1618
- fengming gateway run
1619
- ```
1620
-
1621
- Docs: [Windows (WSL2)](/platforms/windows), [Gateway service runbook](/gateway).
1622
-
1623
- </Accordion>
1624
-
1625
- <Accordion title="The Gateway is up but replies never arrive. What should I check?">
1626
- Start with a quick health sweep:
1627
-
1628
- ```bash
1629
- fengming status
1630
- fengming models status
1631
- fengming channels status
1632
- fengming logs --follow
1633
- ```
1634
-
1635
- Common causes:
1636
-
1637
- - Model auth not loaded on the **gateway host** (check `models status`).
1638
- - Channel pairing/allowlist blocking replies (check channel config + logs).
1639
- - WebChat/Dashboard is open without the right token.
1640
-
1641
- If you are remote, confirm the tunnel/Tailscale connection is up and that the
1642
- Gateway WebSocket is reachable.
1643
-
1644
- Docs: [Channels](/channels), [Troubleshooting](/gateway/troubleshooting), [Remote access](/gateway/remote).
1645
-
1646
- </Accordion>
1647
-
1648
- <Accordion title='"Disconnected from gateway: no reason" - what now?'>
1649
- This usually means the UI lost the WebSocket connection. Check:
1650
-
1651
- 1. Is the Gateway running? `fengming gateway status`
1652
- 2. Is the Gateway healthy? `fengming status`
1653
- 3. Does the UI have the right token? `fengming dashboard`
1654
- 4. If remote, is the tunnel/Tailscale link up?
1655
-
1656
- Then tail logs:
1657
-
1658
- ```bash
1659
- fengming logs --follow
1660
- ```
1661
-
1662
- Docs: [Dashboard](/web/dashboard), [Remote access](/gateway/remote), [Troubleshooting](/gateway/troubleshooting).
1663
-
1664
- </Accordion>
1665
-
1666
- <Accordion title="Telegram setMyCommands fails. What should I check?">
1667
- Start with logs and channel status:
1668
-
1669
- ```bash
1670
- fengming channels status
1671
- fengming channels logs --channel telegram
1672
- ```
1673
-
1674
- Then match the error:
1675
-
1676
- - `BOT_COMMANDS_TOO_MUCH`: the Telegram menu has too many entries. FengMing already trims to the Telegram limit and retries with fewer commands, but some menu entries still need to be dropped. Reduce plugin/skill/custom commands, or disable `channels.telegram.commands.native` if you do not need the menu.
1677
- - `TypeError: fetch failed`, `Network request for 'setMyCommands' failed!`, or similar network errors: if you are on a VPS or behind a proxy, confirm outbound HTTPS is allowed and DNS works for `api.telegram.org`.
1678
-
1679
- If the Gateway is remote, make sure you are looking at logs on the Gateway host.
1680
-
1681
- Docs: [Telegram](/channels/telegram), [Channel troubleshooting](/channels/troubleshooting).
1682
-
1683
- </Accordion>
1684
-
1685
- <Accordion title="TUI shows no output. What should I check?">
1686
- First confirm the Gateway is reachable and the agent can run:
1687
-
1688
- ```bash
1689
- fengming status
1690
- fengming models status
1691
- fengming logs --follow
1692
- ```
1693
-
1694
- In the TUI, use `/status` to see the current state. If you expect replies in a chat
1695
- channel, make sure delivery is enabled (`/deliver on`).
1696
-
1697
- Docs: [TUI](/web/tui), [Slash commands](/tools/slash-commands).
1698
-
1699
- </Accordion>
1700
-
1701
- <Accordion title="How do I completely stop then start the Gateway?">
1702
- If you installed the service:
1703
-
1704
- ```bash
1705
- fengming gateway stop
1706
- fengming gateway start
1707
- ```
1708
-
1709
- This stops/starts the **supervised service** (launchd on macOS, systemd on Linux).
1710
- Use this when the Gateway runs in the background as a daemon.
1711
-
1712
- If you're running in the foreground, stop with Ctrl-C, then:
1713
-
1714
- ```bash
1715
- fengming gateway run
1716
- ```
1717
-
1718
- Docs: [Gateway service runbook](/gateway).
1719
-
1720
- </Accordion>
1721
-
1722
- <Accordion title="ELI5: fengming gateway restart vs fengming gateway">
1723
- - `fengming gateway restart`: restarts the **background service** (launchd/systemd).
1724
- - `fengming gateway`: runs the gateway **in the foreground** for this terminal session.
1725
-
1726
- If you installed the service, use the gateway commands. Use `fengming gateway` when
1727
- you want a one-off, foreground run.
1728
-
1729
- </Accordion>
1730
-
1731
- <Accordion title="Fastest way to get more details when something fails">
1732
- Start the Gateway with `--verbose` to get more console detail. Then inspect the log file for channel auth, model routing, and RPC errors.
1733
- </Accordion>
1734
- </AccordionGroup>
1735
-
1736
- ## Media and attachments
1737
-
1738
- <AccordionGroup>
1739
- <Accordion title="My skill generated an image/PDF, but nothing was sent">
1740
- Outbound attachments from the agent must include a `MEDIA:<path-or-url>` line (on its own line). See [FengMing assistant setup](/start/fengming) and [Agent send](/tools/agent-send).
1741
-
1742
- CLI sending:
1743
-
1744
- ```bash
1745
- fengming message send --target +15555550123 --message "Here you go" --media /path/to/file.png
1746
- ```
1747
-
1748
- Also check:
1749
-
1750
- - The target channel supports outbound media and isn't blocked by allowlists.
1751
- - The file is within the provider's size limits (images are resized to max 2048px).
1752
- - `tools.fs.workspaceOnly=true` keeps local-path sends limited to workspace, temp/media-store, and sandbox-validated files.
1753
- - `tools.fs.workspaceOnly=false` lets `MEDIA:` send host-local files the agent can already read, but only for media plus safe document types (images, audio, video, PDF, and Office docs). Plain text and secret-like files are still blocked.
1754
-
1755
- See [Images](/nodes/images).
1756
-
1757
- </Accordion>
1758
- </AccordionGroup>
1759
-
1760
- ## Security and access control
1761
-
1762
- <AccordionGroup>
1763
- <Accordion title="Is it safe to expose FengMing to inbound DMs?">
1764
- Treat inbound DMs as untrusted input. Defaults are designed to reduce risk:
1765
-
1766
- - Default behavior on DM-capable channels is **pairing**:
1767
- - Unknown senders receive a pairing code; the bot does not process their message.
1768
- - Approve with: `fengming pairing approve --channel <channel> [--account <id>] <code>`
1769
- - Pending requests are capped at **3 per channel**; check `fengming pairing list --channel <channel> [--account <id>]` if a code didn't arrive.
1770
- - Opening DMs publicly requires explicit opt-in (`dmPolicy: "open"` and allowlist `"*"`).
1771
-
1772
- Run `fengming doctor` to surface risky DM policies.
1773
-
1774
- </Accordion>
1775
-
1776
- <Accordion title="Is prompt injection only a concern for public bots?">
1777
- No. Prompt injection is about **untrusted content**, not just who can DM the bot.
1778
- If your assistant reads external content (web search/fetch, browser pages, emails,
1779
- docs, attachments, pasted logs), that content can include instructions that try
1780
- to hijack the model. This can happen even if **you are the only sender**.
1781
-
1782
- The biggest risk is when tools are enabled: the model can be tricked into
1783
- exfiltrating context or calling tools on your behalf. Reduce the blast radius by:
1784
-
1785
- - using a read-only or tool-disabled "reader" agent to summarize untrusted content
1786
- - keeping `web_search` / `web_fetch` / `browser` off for tool-enabled agents
1787
- - treating decoded file/document text as untrusted too: OpenResponses
1788
- `input_file` and media-attachment extraction both wrap extracted text in
1789
- explicit external-content boundary markers instead of passing raw file text
1790
- - sandboxing and strict tool allowlists
1791
-
1792
- Details: [Security](/gateway/security).
1793
-
1794
- </Accordion>
1795
-
1796
- <Accordion title="Is FengMing less safe because it uses TypeScript/Node instead of Rust/WASM?">
1797
- Language and runtime matter, but they are not the main risk for a personal
1798
- agent. The practical FengMing risks are gateway exposure, who can message the
1799
- bot, prompt injection, tool scope, credential handling, browser access, exec
1800
- access, and third-party skill or plugin trust.
1801
-
1802
- Rust and WASM can provide stronger isolation for some classes of code, but
1803
- they do not solve prompt injection, bad allowlists, public gateway exposure,
1804
- overbroad tools, or a browser profile that is already logged in to sensitive
1805
- accounts. Treat those as the primary controls:
1806
-
1807
- - keep the Gateway private or authenticated
1808
- - use pairing and allowlists for DMs and groups
1809
- - deny or sandbox risky tools for untrusted inputs
1810
- - install only trusted plugins and skills
1811
- - run `fengming security audit --deep` after config changes
1812
-
1813
- Details: [Security](/gateway/security), [Sandboxing](/gateway/sandboxing).
1814
-
1815
- </Accordion>
1816
-
1817
- <Accordion title="I saw reports about exposed FengMing instances. What should I check?">
1818
- First check your actual deployment:
1819
-
1820
- ```bash
1821
- fengming security audit --deep
1822
- fengming gateway status
1823
- ```
1824
-
1825
- A safer baseline is:
1826
-
1827
- - Gateway bound to `loopback`, or exposed only through authenticated private
1828
- access such as a tailnet, SSH tunnel, token/password auth, or a correctly
1829
- configured trusted proxy
1830
- - DMs in `pairing` or `allowlist` mode
1831
- - groups allowlisted and mention-gated unless every member is trusted
1832
- - high-risk tools (`exec`, `browser`, `gateway`, `cron`) denied or tightly
1833
- scoped for agents that read untrusted content
1834
- - sandboxing enabled where tool execution needs a smaller blast radius
1835
-
1836
- Public binds without auth, open DMs/groups with tools, and exposed browser
1837
- control are the findings to fix first. Details:
1838
- [Security audit checklist](/gateway/security#security-audit-checklist).
1839
-
1840
- </Accordion>
1841
-
1842
- <Accordion title="Are ClawHub skills and third-party plugins safe to install?">
1843
- Treat third-party skills and plugins as code you are choosing to trust.
1844
- ClawHub skill pages expose scan state before install, and FengMing plugin
1845
- install/update flows run built-in dangerous-code checks, but scans are not a
1846
- complete security boundary.
1847
-
1848
- Safer pattern:
1849
-
1850
- - prefer trusted authors and pinned versions
1851
- - read the skill or plugin before enabling it
1852
- - keep plugin and skill allowlists narrow
1853
- - run untrusted-input workflows in a sandbox with minimal tools
1854
- - avoid giving third-party code broad filesystem, exec, browser, or secret access
1855
-
1856
- Details: [Skills](/tools/skills), [Plugins](/tools/plugin),
1857
- [Security](/gateway/security).
1858
-
1859
- </Accordion>
1860
-
1861
- <Accordion title="Should my bot have its own email, GitHub account, or phone number?">
1862
- Yes, for most setups. Isolating the bot with separate accounts and phone numbers
1863
- reduces the blast radius if something goes wrong. This also makes it easier to rotate
1864
- credentials or revoke access without impacting your personal accounts.
1865
-
1866
- Start small. Give access only to the tools and accounts you actually need, and expand
1867
- later if required.
1868
-
1869
- Docs: [Security](/gateway/security), [Pairing](/channels/pairing).
1870
-
1871
- </Accordion>
1872
-
1873
- <Accordion title="Can I give it autonomy over my text messages and is that safe?">
1874
- We do **not** recommend full autonomy over your personal messages. The safest pattern is:
1875
-
1876
- - Keep DMs in **pairing mode** or a tight allowlist.
1877
- - Use a **separate number or account** if you want it to message on your behalf.
1878
- - Let it draft, then **approve before sending**.
1879
-
1880
- If you want to experiment, do it on a dedicated account and keep it isolated. See
1881
- [Security](/gateway/security).
1882
-
1883
- </Accordion>
1884
-
1885
- <Accordion title="Can I use cheaper models for personal assistant tasks?">
1886
- Yes, **if** the agent is chat-only and the input is trusted. Smaller tiers are
1887
- more susceptible to instruction hijacking, so avoid them for tool-enabled agents
1888
- or when reading untrusted content. If you must use a smaller model, lock down
1889
- tools and run inside a sandbox. See [Security](/gateway/security).
1890
- </Accordion>
1891
-
1892
- <Accordion title="I ran /start in Telegram but did not get a pairing code">
1893
- Pairing codes are sent **only** when an unknown sender messages the bot and
1894
- `dmPolicy: "pairing"` is enabled. `/start` by itself doesn't generate a code.
1895
-
1896
- Check pending requests:
1897
-
1898
- ```bash
1899
- fengming pairing list telegram
1900
- ```
1901
-
1902
- If you want immediate access, allowlist your sender id or set `dmPolicy: "open"`
1903
- for that account.
1904
-
1905
- </Accordion>
1906
-
1907
- <Accordion title="WhatsApp: will it message my contacts? How does pairing work?">
1908
- No. Default WhatsApp DM policy is **pairing**. Unknown senders only get a pairing code and their message is **not processed**. FengMing only replies to chats it receives or to explicit sends you trigger.
1909
-
1910
- Approve pairing with:
1911
-
1912
- ```bash
1913
- fengming pairing approve whatsapp <code>
1914
- ```
1915
-
1916
- List pending requests:
1917
-
1918
- ```bash
1919
- fengming pairing list whatsapp
1920
- ```
1921
-
1922
- Wizard phone number prompt: it's used to set your **allowlist/owner** so your own DMs are permitted. It's not used for auto-sending. If you run on your personal WhatsApp number, use that number and enable `channels.whatsapp.selfChatMode`.
1923
-
1924
- </Accordion>
1925
- </AccordionGroup>
1926
-
1927
- ## Chat commands, aborting tasks, and "it will not stop"
1928
-
1929
- <AccordionGroup>
1930
- <Accordion title="How do I stop internal system messages from showing in chat?">
1931
- Most internal or tool messages only appear when **verbose**, **trace**, or **reasoning** is enabled
1932
- for that session.
1933
-
1934
- Fix in the chat where you see it:
1935
-
1936
- ```
1937
- /verbose off
1938
- /trace off
1939
- /reasoning off
1940
- ```
1941
-
1942
- If it is still noisy, check the session settings in the Control UI and set verbose
1943
- to **inherit**. Also confirm you are not using a bot profile with `verboseDefault` set
1944
- to `on` in config.
1945
-
1946
- Docs: [Thinking and verbose](/tools/thinking), [Security](/gateway/security/index#reasoning-and-verbose-output-in-groups).
1947
-
1948
- </Accordion>
1949
-
1950
- <Accordion title="How do I stop/cancel a running task?">
1951
- Send any of these **as a standalone message** (no slash):
1952
-
1953
- ```
1954
- stop
1955
- stop action
1956
- stop current action
1957
- stop run
1958
- stop current run
1959
- stop agent
1960
- stop the agent
1961
- stop fengming
1962
- fengming stop
1963
- stop don't do anything
1964
- stop do not do anything
1965
- stop doing anything
1966
- please stop
1967
- stop please
1968
- abort
1969
- esc
1970
- wait
1971
- exit
1972
- interrupt
1973
- ```
1974
-
1975
- These are abort triggers (not slash commands).
1976
-
1977
- For background processes (from the exec tool), you can ask the agent to run:
1978
-
1979
- ```
1980
- process action:kill sessionId:XXX
1981
- ```
1982
-
1983
- Slash commands overview: see [Slash commands](/tools/slash-commands).
1984
-
1985
- Most commands must be sent as a **standalone** message that starts with `/`, but a few shortcuts (like `/status`) also work inline for allowlisted senders.
1986
-
1987
- </Accordion>
1988
-
1989
- <Accordion title='How do I send a Discord message from Telegram? ("Cross-context messaging denied")'>
1990
- FengMing blocks **cross-provider** messaging by default. If a tool call is bound
1991
- to Telegram, it won't send to Discord unless you explicitly allow it.
1992
-
1993
- Enable cross-provider messaging for the agent:
1994
-
1995
- ```json5
1996
- {
1997
- tools: {
1998
- message: {
1999
- crossContext: {
2000
- allowAcrossProviders: true,
2001
- marker: { enabled: true, prefix: "[from {channel}] " },
2002
- },
2003
- },
2004
- },
2005
- }
2006
- ```
2007
-
2008
- Restart the gateway after editing config.
2009
-
2010
- </Accordion>
2011
-
2012
- <Accordion title='Why does it feel like the bot "ignores" rapid-fire messages?'>
2013
- Mid-run prompts are steered into the active run by default. Use `/queue` to choose active-run behavior:
2014
-
2015
- - `steer` - guide the active run at the next model boundary
2016
- - `followup` - queue messages and run them one at a time after the current run ends
2017
- - `collect` - queue compatible messages and reply once after the current run ends
2018
- - `interrupt` - abort current run and start fresh
2019
-
2020
- Default mode is `steer`. You can add options like `debounce:0.5s cap:25 drop:summarize` for queued modes. See [Command queue](/concepts/queue) and [Steering queue](/concepts/queue-steering).
2021
-
2022
- </Accordion>
2023
- </AccordionGroup>
2024
-
2025
- ## Miscellaneous
2026
-
2027
- <AccordionGroup>
2028
- <Accordion title='What is the default model for Anthropic with an API key?'>
2029
- In FengMing, credentials and model selection are separate. Setting `ANTHROPIC_API_KEY` (or storing an Anthropic API key in auth profiles) enables authentication, but the actual default model is whatever you configure in `agents.defaults.model.primary` (for example, `anthropic/claude-sonnet-4-6` or `anthropic/claude-opus-4-6`). If you see `No credentials found for profile "anthropic:default"`, it means the Gateway couldn't find Anthropic credentials in the expected `auth-profiles.json` for the agent that's running.
2030
- </Accordion>
2031
- </AccordionGroup>
2032
-
2033
- ---
2034
-
2035
- Still stuck? Ask in [Discord](https://discord.com/invite/clawd) or open a [GitHub discussion](https://github.com/fengming/fengming/discussions).
2036
-
2037
- ## Related
2038
-
2039
- - [First-run FAQ](/help/faq-first-run) — install, onboard, auth, subscriptions, early failures
2040
- - [Models FAQ](/help/faq-models) — model selection, failover, auth profiles
2041
- - [Troubleshooting](/help/troubleshooting) — symptom-first triage